/* ===== DESIGN TOKENS ===== */
:root, [data-theme="light"] {
  --text-xs:   clamp(0.75rem,  0.72rem + 0.14vw, 0.875rem);
  --text-sm:   clamp(0.875rem, 0.84rem + 0.17vw, 1rem);
  --text-base: clamp(1rem,     0.97rem + 0.18vw, 1.125rem);
  --text-lg:   clamp(1.15rem,  1rem    + 0.7vw,  1.5rem);
  --text-xl:   clamp(1.6rem,   1rem    + 2vw,    2.75rem);
  --text-2xl:  clamp(2.2rem,   1.2rem  + 3.5vw,  4.2rem);

  --s1:  0.25rem; --s2: 0.5rem;  --s3: 0.75rem;
  --s4:  1rem;    --s5: 1.25rem; --s6: 1.5rem;
  --s8:  2rem;    --s10: 2.5rem; --s12: 3rem;
  --s16: 4rem;    --s20: 5rem;

  --r-sm:   6px;
  --r-md:   12px;
  --r-lg:   18px;
  --r-xl:   24px;
  --r-pill: 999px;

  --bg:      #f6f5f1;
  --surf:    #fdfcf8;
  --surf-2:  #f1ede4;
  --surf-3:  #e8e2d8;
  --divider: rgba(24,22,16,.09);
  --border:  rgba(24,22,16,.12);

  --ink:     #18160f;
  --muted:   #5e6059;
  --faint:   #9aa09b;

  --green:       #0d7a6e;
  --green-h:     #085f55;
  --green-soft:  rgba(13,122,110,.10);

  --shadow-sm: 0 1px 4px rgba(14,20,16,.06);
  --shadow-md: 0 8px 28px rgba(14,20,16,.08);
  --shadow-lg: 0 20px 60px rgba(14,20,16,.11);

  --font-body:    'Satoshi', system-ui, sans-serif;
  --font-display: 'General Sans', 'Satoshi', system-ui, sans-serif;

  --content:        1080px;
  --content-narrow: 720px;
  --content-wide:   1240px;
}

[data-theme="dark"] {
  --bg:      #0e1110;
  --surf:    #151918;
  --surf-2:  #1c2220;
  --surf-3:  #242e2b;
  --divider: rgba(230,240,234,.07);
  --border:  rgba(230,240,234,.10);
  --ink:     #e8eeea;
  --muted:   #a6b0a8;
  --faint:   #687068;
  --green:       #4bbeb2;
  --green-h:     #78d6cc;
  --green-soft:  rgba(75,190,178,.11);
  --shadow-sm: 0 1px 4px rgba(0,0,0,.16);
  --shadow-md: 0 8px 28px rgba(0,0,0,.28);
  --shadow-lg: 0 20px 60px rgba(0,0,0,.40);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --bg:#0e1110;--surf:#151918;--surf-2:#1c2220;--surf-3:#242e2b;
    --divider:rgba(230,240,234,.07);--border:rgba(230,240,234,.10);
    --ink:#e8eeea;--muted:#a6b0a8;--faint:#687068;
    --green:#4bbeb2;--green-h:#78d6cc;--green-soft:rgba(75,190,178,.11);
    --shadow-sm:0 1px 4px rgba(0,0,0,.16);--shadow-md:0 8px 28px rgba(0,0,0,.28);--shadow-lg:0 20px 60px rgba(0,0,0,.40);
  }
}

/* ===== BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: 68px;
  hanging-punctuation: first last;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
}
body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  min-height: 100dvh;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
p, li { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.15; font-family: var(--font-display); }
a { color: inherit; }
::selection { background: var(--green-soft); }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: var(--r-sm); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ===== LAYOUT ===== */
.container {
  max-width: var(--content);
  margin-inline: auto;
  padding-inline: clamp(var(--s4), 4vw, var(--s10));
}
.container--narrow { max-width: var(--content-narrow); }
.container--wide   { max-width: var(--content-wide); }

/* ===== SKIP LINK ===== */
.skip-link {
  position: absolute; left: var(--s4); top: var(--s4); z-index: 9999;
  background: var(--green); color: #fff;
  padding: var(--s2) var(--s4); border-radius: var(--r-sm);
  font-weight: 700; transform: translateY(-160%); transition: transform .18s;
}
.skip-link:focus { transform: translateY(0); }

/* ===== HEADER ===== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  height: 64px;
  background: color-mix(in oklch, var(--bg) 85%, transparent);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--divider);
}
.nav {
  display: flex; align-items: center;
  height: 64px; gap: var(--s6);
}
.brand {
  display: flex; align-items: center; gap: var(--s2);
  font-family: var(--font-display); font-weight: 700;
  font-size: 1.05rem; text-decoration: none; color: var(--ink);
  flex-shrink: 0;
}
.brand-icon { color: var(--green); width: 22px; height: 22px; }
.nav-links {
  display: flex; gap: var(--s5); margin-left: auto;
}
.nav-links a {
  font-size: var(--text-sm); color: var(--muted); text-decoration: none;
  font-weight: 500; transition: color .16s;
}
.nav-links a:hover { color: var(--ink); }
.nav-right { display: flex; align-items: center; gap: var(--s3); flex-shrink: 0; margin-left: var(--s4); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: var(--s2);
  font-family: var(--font-body); font-weight: 600;
  font-size: var(--text-sm); line-height: 1;
  border-radius: var(--r-pill); text-decoration: none;
  cursor: pointer; border: none; white-space: nowrap;
  transition: background .16s, color .16s, box-shadow .16s, transform .12s;
}
.btn--primary {
  background: var(--green); color: #fff;
  padding: .7rem 1.4rem;
  box-shadow: 0 2px 8px color-mix(in oklch, var(--green) 35%, transparent);
}
.btn--primary:hover {
  background: var(--green-h); transform: translateY(-1px);
  box-shadow: 0 6px 18px color-mix(in oklch, var(--green) 35%, transparent);
}
.btn--ghost {
  background: transparent; color: var(--ink);
  border: 1px solid var(--border);
  padding: .66rem 1.3rem;
}
.btn--ghost:hover { background: var(--surf-2); transform: translateY(-1px); }
.btn--lg { font-size: var(--text-base); padding: .85rem 1.8rem; }
.btn--sm { font-size: var(--text-xs); padding: .5rem 1rem; }
.btn--white {
  background: #fff; color: var(--green);
  padding: .7rem 1.4rem;
  box-shadow: 0 2px 10px rgba(0,0,0,.10);
}
.btn--white:hover { background: #f4faf9; transform: translateY(-1px); }

/* ===== THEME TOGGLE ===== */
.theme-toggle {
  background: none; border: none; cursor: pointer;
  color: var(--muted); padding: var(--s2); border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  transition: color .16s, background .16s;
}
.theme-toggle:hover { color: var(--ink); background: var(--surf-2); }

/* ===== EYEBROW ===== */
.eyebrow {
  display: inline-flex; align-items: center; gap: var(--s2);
  font-size: var(--text-xs); font-weight: 700; color: var(--green);
  background: var(--green-soft); border-radius: var(--r-pill);
  padding: .28rem .9rem; margin-bottom: var(--s5);
  letter-spacing: .03em; text-transform: uppercase;
}
.section-label {
  font-size: var(--text-xs); font-weight: 700; color: var(--green);
  letter-spacing: .06em; text-transform: uppercase; margin-bottom: var(--s3);
}
.section-head { margin-bottom: var(--s10); max-width: 620px; }
.section-head h2 { font-size: var(--text-xl); font-weight: 700; margin-bottom: var(--s4); letter-spacing: -.02em; }
.section-head p { font-size: var(--text-base); color: var(--muted); max-width: 56ch; }

/* ===== SECTIONS ===== */
section { padding-block: clamp(var(--s10), 6vw, var(--s20)); }
.bg-surf { background: var(--surf); }
.bg-dark { background: var(--green); color: #fff; }

/* ===== HERO ===== */
.hero { padding-block: clamp(var(--s12), 9vw, var(--s20)); }
.hero-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: var(--s12); align-items: center;
}
.hero h1 {
  font-size: var(--text-2xl); font-weight: 700;
  color: var(--ink); letter-spacing: -.03em;
  margin-bottom: var(--s5);
}
.hero-lead {
  font-size: var(--text-lg); color: var(--muted);
  line-height: 1.6; margin-bottom: var(--s8); max-width: 50ch;
}
.hero-actions { display: flex; gap: var(--s3); flex-wrap: wrap; margin-bottom: var(--s6); }
.hero-note { font-size: var(--text-xs); color: var(--faint); }

/* mockup */
.mockup {
  background: var(--surf);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.mockup-bar {
  background: var(--surf-2);
  border-bottom: 1px solid var(--divider);
  padding: var(--s3) var(--s5);
  display: flex; align-items: center; gap: var(--s3);
}
.mockup-dots { display: flex; gap: 6px; }
.mockup-dots span { width: 10px; height: 10px; border-radius: 50%; background: var(--surf-3); }
.mockup-url {
  font-size: var(--text-xs); color: var(--faint);
  background: var(--surf-3); border-radius: var(--r-pill);
  padding: 3px 12px; margin-left: var(--s2);
}
.mockup-body { padding: var(--s5); }
.stat-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s3);
  margin-bottom: var(--s5);
}
.stat-card {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--r-md); padding: var(--s4);
}
.stat-card strong {
  display: block; font-size: var(--text-lg); font-weight: 700;
  font-family: var(--font-display); line-height: 1; margin-bottom: 3px;
}
.stat-card span { font-size: var(--text-xs); color: var(--muted); }
.stat-up { color: var(--green); font-size: var(--text-xs); font-weight: 600; }
.mockup-chart { height: 72px; }
.mockup-chart svg { width: 100%; height: 100%; }

/* ===== SOCIAL PROOF ===== */
.social-strip {
  display: flex; align-items: center; gap: var(--s8);
  flex-wrap: wrap; padding-block: var(--s8);
  border-top: 1px solid var(--divider);
}
.social-strip-label { font-size: var(--text-xs); color: var(--faint); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; flex-shrink: 0; }
.social-strip-logos { display: flex; gap: var(--s6); align-items: center; flex-wrap: wrap; }
.logo-badge {
  font-size: var(--text-xs); font-weight: 700; color: var(--muted);
  letter-spacing: .02em; opacity: .7;
}

/* ===== FEATURES ===== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--s5);
}
.feat {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--s6);
  transition: box-shadow .2s, transform .2s;
}
.feat:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.feat-icon {
  width: 38px; height: 38px;
  background: var(--green-soft);
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  color: var(--green); margin-bottom: var(--s4);
}
.feat h3 { font-size: var(--text-base); font-weight: 700; margin-bottom: var(--s3); }
.feat p  { font-size: var(--text-sm); color: var(--muted); line-height: 1.65; max-width: none; }

/* ===== TWO-COL SPLIT ===== */
.split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: var(--s12); align-items: center;
}
.split--reverse { }
.split-content h2 { font-size: var(--text-xl); font-weight: 700; margin-bottom: var(--s5); letter-spacing: -.02em; }
.split-content p  { font-size: var(--text-base); color: var(--muted); margin-bottom: var(--s5); max-width: 52ch; }
.check-list { list-style: none; display: flex; flex-direction: column; gap: var(--s3); }
.check-list li {
  display: flex; align-items: flex-start; gap: var(--s3);
  font-size: var(--text-sm); color: var(--muted);
}
.check-list li::before {
  content: ""; display: block; flex-shrink: 0;
  width: 18px; height: 18px; margin-top: 1px;
  background: var(--green-soft) url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 8.5l3 3 7-7' stroke='%230d7a6e' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat;
  border-radius: 50%;
}

/* ===== COMPARISON TABLE ===== */
.comp-table {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--surf);
}
.comp-head-row, .comp-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--s4);
  padding: var(--s4) var(--s6);
  align-items: center;
}
.comp-head-row {
  background: var(--surf-2);
  border-bottom: 1px solid var(--border);
  font-size: var(--text-xs); font-weight: 700; color: var(--faint);
  text-transform: uppercase; letter-spacing: .05em;
}
.comp-head-row span:nth-child(2) { color: var(--green); }
.comp-row { border-bottom: 1px solid var(--divider); font-size: var(--text-sm); }
.comp-row:last-child { border-bottom: none; }
.comp-row span:first-child { color: var(--muted); }
.comp-yes { color: var(--green); font-weight: 600; }
.comp-no  { color: var(--faint); }

/* ===== TESTIMONIALS ===== */
.testi-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--s5);
}
.testi {
  background: var(--surf);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--s6);
}
.testi blockquote {
  font-size: var(--text-base); color: var(--ink);
  line-height: 1.65; margin-bottom: var(--s5);
  font-style: italic; max-width: none;
}
.testi-author { display: flex; align-items: center; gap: var(--s3); }
.testi-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--green-soft); color: var(--green);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: var(--text-sm); flex-shrink: 0;
}
.testi-name { font-weight: 700; font-size: var(--text-sm); }
.testi-title { font-size: var(--text-xs); color: var(--muted); }

/* ===== STEPS ===== */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: var(--s6); }
.step {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: var(--s6);
}
.step-num {
  font-size: 2.2rem; font-weight: 800; font-family: var(--font-display);
  color: var(--green-soft); line-height: 1; margin-bottom: var(--s4);
}
.step h3 { font-size: var(--text-sm); font-weight: 700; margin-bottom: var(--s2); }
.step p  { font-size: var(--text-sm); color: var(--muted); line-height: 1.6; max-width: none; }

/* ===== FAQ ===== */
.faq-list { display: flex; flex-direction: column; gap: var(--s3); }
details.faq {
  background: var(--surf);
  border: 1px solid var(--border);
  border-radius: var(--r-md); overflow: hidden;
}
details.faq summary {
  padding: var(--s5) var(--s6);
  cursor: pointer; font-weight: 600; font-size: var(--text-sm);
  list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: var(--s4);
  transition: background .16s;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary:hover { background: var(--surf-2); }
details.faq summary::after {
  content: "";
  flex-shrink: 0; width: 20px; height: 20px;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 7.5l5 5 5-5' stroke='%235e6059' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
  transition: transform .2s;
}
details.faq[open] summary::after { transform: rotate(180deg); }
.faq-answer { padding: 0 var(--s6) var(--s5); font-size: var(--text-sm); color: var(--muted); line-height: 1.7; max-width: none; }

/* ===== CTA BLOCK ===== */
.cta-block {
  background: var(--green);
  border-radius: var(--r-xl);
  padding: clamp(var(--s8), 5vw, var(--s16));
  display: grid; grid-template-columns: 1fr auto;
  gap: var(--s8); align-items: center;
}
.cta-block h2 {
  font-size: var(--text-xl); font-weight: 700; color: #fff;
  letter-spacing: -.02em; margin-bottom: var(--s3);
}
.cta-block p { color: rgba(255,255,255,.78); font-size: var(--text-base); max-width: 52ch; }
.cta-actions { display: flex; gap: var(--s3); flex-wrap: wrap; flex-shrink: 0; }

/* ===== MODAL ===== */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(8,12,10,.6); backdrop-filter: blur(5px);
  display: flex; align-items: center; justify-content: center;
  padding: var(--s4);
  opacity: 0; pointer-events: none;
  transition: opacity .22s;
}
.modal-backdrop.open { opacity: 1; pointer-events: all; }
.modal {
  background: var(--surf);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--s8);
  width: 100%; max-width: 440px;
  position: relative;
  box-shadow: var(--shadow-lg);
  transform: translateY(14px) scale(.97);
  transition: transform .22s;
}
.modal-backdrop.open .modal { transform: translateY(0) scale(1); }
.modal-close {
  position: absolute; top: var(--s4); right: var(--s4);
  background: var(--surf-2); border: none; border-radius: 50%;
  width: 30px; height: 30px; cursor: pointer;
  color: var(--muted); font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  transition: background .16s, color .16s;
}
.modal-close:hover { background: var(--surf-3); color: var(--ink); }
.modal h3 { font-size: var(--text-lg); font-weight: 700; margin-bottom: var(--s2); }
.modal-sub { font-size: var(--text-sm); color: var(--muted); line-height: 1.6; margin-bottom: var(--s6); max-width: none; }
.lead-form { display: grid; gap: var(--s3); }
.lead-form input[type="email"] {
  width: 100%; font-family: var(--font-body);
  font-size: var(--text-sm); color: var(--ink);
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--r-md); padding: .72rem 1rem;
  transition: border-color .16s, box-shadow .16s;
}
.lead-form input[type="email"]:focus {
  outline: none; border-color: var(--green);
  box-shadow: 0 0 0 3px var(--green-soft);
}
.lead-form input::placeholder { color: var(--faint); }
.lead-form button[type="submit"] {
  width: 100%; background: var(--green); color: #fff;
  font-family: var(--font-body); font-weight: 700;
  font-size: var(--text-sm); border: none; cursor: pointer;
  border-radius: var(--r-md); padding: .78rem 1rem;
  transition: background .16s, transform .12s;
}
.lead-form button[type="submit"]:hover { background: var(--green-h); transform: translateY(-1px); }
.lead-form button:disabled { opacity: .6; pointer-events: none; }
.lead-legal { font-size: var(--text-xs); color: var(--faint); line-height: 1.5; }
.lead-ok {
  display: none; font-size: var(--text-sm); font-weight: 600;
  padding: var(--s4); border-radius: var(--r-md);
  background: #e8faf4; color: #086848;
}
[data-theme="dark"] .lead-ok { background: rgba(13,122,110,.2); color: var(--green); }

/* ===== FOOTER ===== */
footer {
  border-top: 1px solid var(--divider);
  padding-block: var(--s10);
}
.footer-grid {
  display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: var(--s10); margin-bottom: var(--s8);
}
.footer-about p { font-size: var(--text-sm); color: var(--muted); margin-top: var(--s3); max-width: 32ch; line-height: 1.65; }
.footer-col h4 { font-size: var(--text-sm); font-weight: 700; margin-bottom: var(--s4); }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: var(--s3); }
.footer-col a { font-size: var(--text-sm); color: var(--muted); text-decoration: none; transition: color .16s; }
.footer-col a:hover { color: var(--ink); }
.footer-bottom {
  border-top: 1px solid var(--divider);
  padding-top: var(--s6);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: var(--s4);
}
.footer-copy { font-size: var(--text-xs); color: var(--faint); }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero-inner   { grid-template-columns: 1fr; }
  .mockup       { display: none; }
  .split        { grid-template-columns: 1fr; }
  .cta-block    { grid-template-columns: 1fr; }
  .footer-grid  { grid-template-columns: 1fr 1fr; }
  .comp-head-row, .comp-row { grid-template-columns: 2fr 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .cta-actions  { flex-direction: column; align-items: flex-start; }
}
