:root{--bg-main:#f6f8f5;--bg-alt:#eaece9;--bg-card:#ffffff;--text-main:#111d15;--text-muted:#3b4f41;--primary:#1b5e20;--primary-hover:#124116;--primary-light:rgba(27,94,32,0.1);--accent:#1b5e20;--border-color:#cdd9cf;--focus-ring:#d97706;--header-bg:rgba(246,248,245,0.92);--input-bg:#ffffff;--shadow-sm:0 2px 8px rgba(17,29,21,0.06);--shadow-md:0 8px 24px rgba(17,29,21,0.1);--radius:12px;--font-sans:system-ui,-apple-system,'Segoe UI',Roboto,sans-serif}
[data-theme="dark"],[data-theme="high-contrast"]{--bg-main:#0b140e;--bg-alt:#111e16;--bg-card:#16261c;--text-main:#ecf3ee;--text-muted:#a3b8aa;--primary:#4ade80;--primary-hover:#22c55e;--primary-light:rgba(74,222,128,0.14);--accent:#6ee7b7;--border-color:rgba(110,231,183,0.2);--focus-ring:#facc15;--header-bg:rgba(11,20,14,0.92);--input-bg:#0e1a12;--shadow-sm:0 4px 14px rgba(0,0,0,0.35);--shadow-md:0 12px 32px rgba(0,0,0,0.45)}


*, *::before, *::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  font-size: 16px;
}

/* Accessibility Skip Link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--focus-ring);
  color: #000;
  font-weight: 700;
  padding: 0.75rem 1.25rem;
  z-index: 9999;
  border-radius: var(--radius);
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 3px;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 1rem;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text-main);
}

.brand-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: var(--primary);
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.5px;
}

[data-theme="high-contrast"] .brand-badge {
  color: #000;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-text span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.main-nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.main-nav a {
  text-decoration: none;
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.95rem;
}

.main-nav a:hover {
  color: var(--primary);
  text-decoration: underline;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.35rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.btn-sm {
  padding: 0.45rem 0.9rem;
  font-size: 0.85rem;
}

.btn-block {
  width: 100%;
}

.btn-primary {
  background: var(--primary);
  color: #ffffff;
}

[data-theme="high-contrast"] .btn-primary {
  color: #000000;
}

.btn-primary:hover {
  background: var(--primary-hover);
}

.btn-secondary {
  background: var(--bg-alt);
  color: var(--text-main);
  border-color: var(--border-color);
}

.btn-outline {
  background: transparent;
  color: var(--text-main);
  border-color: var(--border-color);
}

.btn-outline:hover, .btn-secondary:hover {
  border-color: var(--primary);
}

/* Hero */
.hero {
  padding: 4rem 0 3.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: center;
}

.badge-row {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.pill {
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
}

.pill-green {
  background: var(--primary-light);
  color: var(--primary);
}

.pill-tech {
  background: var(--bg-alt);
  color: var(--text-main);
  border: 1px solid var(--border-color);
}

.hero h1 {
  font-size: clamp(1.9rem, 3.2vw, 2.75rem);
  line-height: 1.18;
  margin: 0 0 1.1rem;
}

.hero-lead {
  font-size: 1.08rem;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-color);
}

.stat-item dt {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.stat-item dd {
  margin: 0.2rem 0 0;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
}

/* Telemetry Card */
.hero-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
}

.card-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.9rem;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #2e7d32;
  display: inline-block;
}

.telemetry-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1.25rem 0;
}

.telemetry-box {
  background: var(--bg-main);
  padding: 0.9rem;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
}

.telemetry-label {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.telemetry-val {
  font-size: 1.2rem;
  color: var(--primary);
  margin: 0.25rem 0;
}

.telemetry-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.card-footer {
  font-size: 0.78rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border-color);
  padding-top: 0.75rem;
}

/* Sections */
.section {
  padding: 4rem 0;
}

.bg-alt {
  background-color: var(--bg-alt);
}

.section-header {
  max-width: 780px;
  margin-bottom: 2.5rem;
}

.eyebrow {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--primary);
  margin-bottom: 0.4rem;
}

.section-header h2 {
  font-size: clamp(1.55rem, 2.5vw, 2.15rem);
  margin: 0 0 0.75rem;
}

.section-header p {
  margin: 0;
  color: var(--text-muted);
}

/* Comparison Table */
.comparison-table-wrapper {
  overflow-x: auto;
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.comparison-table caption {
  text-align: left;
  padding: 1rem 1.25rem;
  font-weight: 700;
  border-bottom: 1px solid var(--border-color);
}

.comparison-table th,
.comparison-table td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border-color);
  vertical-align: top;
}

.comparison-table thead th {
  background: var(--bg-main);
  font-weight: 700;
}

.comparison-table .highlight-col {
  background: var(--primary-light);
}

/* Grid 3 */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.feature-card, .shop-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--primary-light);
  color: var(--primary);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.check-list {
  padding-left: 1.2rem;
  margin: 1rem 0 0;
}

.check-list li {
  margin-bottom: 0.5rem;
}

/* Calculator */
.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.calc-form, .calc-results, .order-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.45rem;
}

.form-group select,
.form-group input[type="text"],
.form-group input[type="email"] {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  font-size: 0.95rem;
  background: var(--bg-main);
  color: var(--text-main);
}

.form-group input[type="range"] {
  width: 100%;
}

.range-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.checkbox-group input[type="checkbox"] {
  margin-top: 0.3rem;
  width: 18px;
  height: 18px;
}

.checkbox-group label {
  margin: 0;
  font-weight: 400;
}

.checkbox-group label span {
  display: block;
  font-size: 0.84rem;
  color: var(--text-muted);
}

.result-highlight {
  background: var(--primary-light);
  border: 1px solid var(--primary);
  border-radius: 8px;
  padding: 1.25rem;
  margin-bottom: 1.25rem;
}

.result-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
}

.result-main-val {
  display: block;
  font-size: 2.2rem;
  color: var(--primary);
  margin: 0.2rem 0;
}

.result-sub {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.result-metrics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

.metric-card {
  background: var(--bg-main);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 0.85rem;
}

.metric-card span {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.metric-card strong {
  font-size: 1.05rem;
}

.text-green {
  color: var(--primary);
}

.technical-warning {
  background: #fff8e1;
  color: #3e2723;
  border-left: 4px solid #ff8f00;
  padding: 0.9rem;
  border-radius: 6px;
  font-size: 0.88rem;
  margin-bottom: 1.25rem;
}

/* FAQ Accordion */
.accordion-list {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 1rem 1.25rem;
}

.faq-item summary {
  font-weight: 700;
  cursor: pointer;
  font-size: 1.05rem;
}

.faq-body {
  padding-top: 0.85rem;
  color: var(--text-muted);
}

/* Shop */
.shop-cards {
  margin-bottom: 2.5rem;
}

.featured-card {
  border: 2px solid var(--primary);
}

.shop-badge {
  align-self: flex-start;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: var(--bg-alt);
  margin-bottom: 0.75rem;
}

.badge-accent {
  background: var(--primary);
  color: #fff;
}

[data-theme="high-contrast"] .badge-accent {
  color: #000;
}

.shop-price {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary);
  margin: 0.25rem 0 0.75rem;
}

.shop-price span {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--text-muted);
}

.shop-card .check-list {
  flex: 1;
  margin-bottom: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.order-feedback {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 8px;
  background: var(--primary-light);
  border: 1px solid var(--primary);
  font-weight: 600;
}

/* AI Bot Widget */
.bot-widget {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 900;
}

.bot-toggle-btn {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--primary);
  color: #fff;
  border: 2px solid var(--bg-card);
  border-radius: 999px;
  padding: 0.75rem 1.2rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: var(--shadow-md);
}

[data-theme="high-contrast"] .bot-toggle-btn {
  color: #000;
}

.bot-icon {
  background: rgba(255,255,255,0.2);
  padding: 0.2rem 0.45rem;
  border-radius: 6px;
  font-size: 0.8rem;
}

.bot-panel {
  position: absolute;
  bottom: 3.75rem;
  right: 0;
  width: min(380px, 92vw);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.bot-panel[hidden] {
  display: none;
}

.bot-header {
  background: var(--primary);
  color: #fff;
  padding: 0.9rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

[data-theme="high-contrast"] .bot-header {
  color: #000;
}

.bot-header span {
  display: block;
  font-size: 0.75rem;
  opacity: 0.9;
}

.bot-close-btn {
  background: transparent;
  border: none;
  color: inherit;
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
}

.bot-messages {
  padding: 1rem;
  max-height: 260px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.bot-msg {
  padding: 0.65rem 0.85rem;
  border-radius: 8px;
  font-size: 0.88rem;
}

.bot-msg-ai {
  background: var(--bg-alt);
  align-self: flex-start;
}

.bot-msg-user {
  background: var(--primary-light);
  align-self: flex-end;
  font-weight: 600;
}

.bot-quick-prompts {
  padding: 0.5rem 1rem;
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  border-top: 1px solid var(--border-color);
}

.chip-btn {
  font-size: 0.75rem;
  background: var(--bg-main);
  border: 1px solid var(--border-color);
  border-radius: 999px;
  padding: 0.25rem 0.6rem;
  cursor: pointer;
  color: var(--text-main);
}

.chip-btn:hover {
  border-color: var(--primary);
}

.bot-input-row {
  display: flex;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-top: 1px solid var(--border-color);
}

.bot-input-row input {
  flex: 1;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: 6px;
}

/* Footer */
.site-footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border-color);
  padding: 3rem 0;
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0;
}

.footer-links li {
  margin-bottom: 0.4rem;
}

.legal-page {
  max-width: 860px;
}

.legal-notice {
  background: #fff8e1;
  color: #3e2723;
  border-left: 4px solid #ff8f00;
  padding: 1rem;
  border-radius: 6px;
}

@media (max-width: 900px) {
  .hero-grid, .calc-grid, .grid-3, .footer-grid, .form-row {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}


/* Header & Menu Spacing Polish */
.site-header {
  padding: 0.85rem 0 !important;
  backdrop-filter: blur(10px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem !important;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem !important;
}
.main-nav ul {
  display: flex;
  align-items: center;
  gap: 1.5rem !important;
  margin: 0;
  padding: 0;
  list-style: none;
}
.main-nav a {
  padding: 0.45rem 0.75rem !important;
  border-radius: 6px;
  font-weight: 500;
  white-space: nowrap;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.main-nav a:hover {
  background-color: var(--primary-light);
}
a{color:var(--primary);text-decoration:underline;text-underline-offset:3px}a:hover{color:var(--primary-hover)}.footer-links a,.site-footer a{color:var(--text-main);text-decoration-color:var(--primary)}.site-header{background:var(--header-bg)!important;backdrop-filter:blur(12px)!important;border-bottom:1px solid var(--border-color)!important}.header-inner{min-height:74px!important;gap:1.25rem!important}.main-nav{overflow-x:auto;scrollbar-width:none}.main-nav ul{display:flex;align-items:center;gap:0.5rem!important;flex-wrap:nowrap!important}.main-nav a{color:var(--text-muted)!important;font-weight:500!important;padding:0.45rem 0.75rem!important;border-radius:8px;text-decoration:none!important;white-space:nowrap}.main-nav a:hover{color:var(--text-main)!important;background:var(--primary-light)!important}.header-actions{display:flex;align-items:center;gap:0.65rem;flex-shrink:0}.theme-switch-btn{display:inline-flex;align-items:center;gap:6px;background:var(--bg-alt);border:1px solid var(--border-color);border-radius:999px;padding:4px 8px;cursor:pointer;color:var(--text-main)}.theme-switch-track{width:34px;height:18px;background:var(--primary-light);border:1px solid var(--primary);border-radius:999px;position:relative}.theme-switch-knob{width:12px;height:12px;background:var(--primary);border-radius:50%;position:absolute;top:2px;left:3px;transition:transform 0.2s ease}[data-theme='dark'] .theme-switch-knob,[data-theme='high-contrast'] .theme-switch-knob{transform:translateX(14px)}input,select,textarea{background:var(--input-bg)!important;color:var(--text-main)!important;border:1px solid var(--border-color)!important;border-radius:8px!important;padding:0.6rem 0.8rem!important}@media(max-width:900px){.header-inner{flex-wrap:wrap!important;padding:0.6rem 1.25rem!important}.main-nav{order:3;width:100%;padding-top:0.4rem;border-top:1px solid var(--border-color)}}
