/* ==========================================================================
   EDIT ONE INTERNATIONAL — Design System
   Layered on top of Bootstrap 5.3. Bootstrap handles grid, utilities and
   components; everything below is the brand.

   1. Tokens (light + dark)
   2. Base & typography
   3. Navigation
   4. Buttons & links
   5. Hero
   6. Surfaces, cards, sections
   7. Chat mock / product visuals
   8. Pricing
   9. Forms & auth
  10. Legal & account
  11. Motion
  12. Responsive
   ========================================================================== */

/* ==========================================================================
   1. TOKENS
   ========================================================================== */

:root {
  /* Brand -------------------------------------------------------------
     Signal green is the voice; clay and sand are the supporting hues.
     Neutrals carry a slight green bias so they read as chosen, not default. */
  --signal:      #00c48c;
  --signal-deep: #007a57;
  --clay:        #dd6b4d;
  --clay-soft:   #f0a48c;
  --sand:        #c8a96a;
  --rose:        #e05563;

  /* Light theme (default) --------------------------------------------- */
  --bg:            #f3f5f1;
  --bg-alt:        #e9ece6;
  --surface:       #fdfefc;
  --surface-2:     #f7f9f5;
  --surface-raised:#ffffff;
  --ink:           #0a0e0d;
  --ink-2:         #313937;
  --ink-3:         #666f6c;
  --ink-4:         #707975;
  --line:          rgba(10, 14, 13, 0.11);
  --line-soft:     rgba(10, 14, 13, 0.065);
  --accent:        #007a57;
  --accent-ink:    #ffffff;
  --accent-wash:   rgba(0, 122, 87, 0.10);
  --clay-ink:      #b8492a;
  --clay-wash:     rgba(221, 107, 77, 0.12);

  --shadow-sm: 0 1px 2px rgba(10,14,13,.05), 0 1px 3px rgba(10,14,13,.06);
  --shadow-md: 0 4px 12px rgba(10,14,13,.06), 0 12px 32px rgba(10,14,13,.07);
  --shadow-lg: 0 8px 24px rgba(10,14,13,.08), 0 32px 64px rgba(10,14,13,.10);
  --shadow-glow: 0 0 0 1px rgba(0,122,87,.16), 0 12px 40px rgba(0,122,87,.13);

  --grid-line: rgba(10, 14, 13, 0.05);
  --noise-opacity: 0.30;

  /* Type -------------------------------------------------------------- */
  --font-display: 'Bricolage Grotesque', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-sans: 'Instrument Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  /* Geometry ---------------------------------------------------------- */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 32px;
  --r-pill: 999px;

  --container: 1320px;
  --section-y: 50px;

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
}

[data-theme="dark"] {
  --bg:            #070b0a;
  --bg-alt:        #0c1211;
  --surface:       #0f1615;
  --surface-2:     #131b19;
  --surface-raised:#182120;
  --ink:           #f0f3f0;
  --ink-2:         #bec6c3;
  --ink-3:         #859090;
  --ink-4:         #6d7674;
  --line:          rgba(255, 255, 255, 0.10);
  --line-soft:     rgba(255, 255, 255, 0.055);
  --accent:        #00c48c;
  --accent-ink:    #04120d;
  --accent-wash:   rgba(0, 196, 140, 0.14);
  --clay-ink:      #f0a48c;
  --clay-wash:     rgba(221, 107, 77, 0.16);

  --shadow-sm: 0 1px 2px rgba(0,0,0,.4);
  --shadow-md: 0 8px 24px rgba(0,0,0,.45);
  --shadow-lg: 0 24px 64px rgba(0,0,0,.55);
  --shadow-glow: 0 0 0 1px rgba(0,196,140,.22), 0 16px 48px rgba(0,196,140,.15);

  --grid-line: rgba(255, 255, 255, 0.04);
  --noise-opacity: 0.55;

  color-scheme: dark;
}

/* System dark mode. Guarded so an explicit light choice still wins,
   and kept token-only so components never branch on the theme. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg:            #070b0a;
    --bg-alt:        #0c1211;
    --surface:       #0f1615;
    --surface-2:     #131b19;
    --surface-raised:#182120;
    --ink:           #f0f3f0;
    --ink-2:         #bec6c3;
    --ink-3:         #859090;
    --ink-4:         #6d7674;
    --line:          rgba(255, 255, 255, 0.10);
    --line-soft:     rgba(255, 255, 255, 0.055);
    --accent:        #00c48c;
    --accent-ink:    #04120d;
    --accent-wash:   rgba(0, 196, 140, 0.14);
    --clay-ink:      #f0a48c;
    --clay-wash:     rgba(221, 107, 77, 0.16);

    --shadow-sm: 0 1px 2px rgba(0,0,0,.4);
    --shadow-md: 0 8px 24px rgba(0,0,0,.45);
    --shadow-lg: 0 24px 64px rgba(0,0,0,.55);
    --shadow-glow: 0 0 0 1px rgba(0,196,140,.22), 0 16px 48px rgba(0,196,140,.15);

    --grid-line: rgba(255, 255, 255, 0.04);
    --noise-opacity: 0.55;

    color-scheme: dark;
  }
}


/* ==========================================================================
   2. BASE & TYPOGRAPHY
   ========================================================================== */

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  font-feature-settings: 'cv02','cv03','cv04','ss01';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color .4s var(--ease-out), color .4s var(--ease-out);
  overflow-x: hidden;
}

.container,
.container-x {
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  padding-right: calc(var(--bs-gutter-x, 1.5rem) * .5);
  padding-left: calc(var(--bs-gutter-x, 1.5rem) * .5);
}

@media (min-width: 576px) {
  .container, .container-x {
    max-width: 540px;
  }
}
@media (min-width: 768px) {
  .container, .container-x {
    max-width: 720px;
  }
}
@media (min-width: 992px) {
  .container, .container-x {
    max-width: 960px;
  }
}
@media (min-width: 1200px) {
  .container, .container-x {
    max-width: 1140px;
  }
}
@media (min-width: 1400px) {
  .container, .container-x {
    max-width: 1320px;
  }
}

h1, h2, h3, h4, .display {
  font-family: var(--font-display);
  font-weight: 600;
  font-variation-settings: 'wdth' 100, 'opsz' 32;
  letter-spacing: -0.03em;
  line-height: 1.06;
  color: var(--ink);
  margin: 0 0 .5em;
}

h1, .h-hero { font-size: clamp(2.75rem, 6.6vw, 4.9rem); font-variation-settings: 'wdth' 100, 'opsz' 96; font-weight: 650; }
h2, .h-sec  { font-size: clamp(2.1rem, 4.4vw, 3.4rem); }
h3, .h-sub  { font-size: clamp(1.35rem, 2.1vw, 1.75rem); }

p { margin: 0 0 1.1em; color: var(--ink-2); }
.lead { font-size: clamp(1.06rem, 1.5vw, 1.28rem); line-height: 1.6; color: var(--ink-2); }

a { color: var(--accent); text-decoration: none; transition: color .2s, opacity .2s; }
a:hover { color: var(--accent); opacity: .78; }

strong, b { font-weight: 650; color: var(--ink); }

::selection { background: var(--accent); color: var(--accent-ink); }

/* Small caps label — the connective tissue of the whole layout */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-mono);
  font-size: .705rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 1.1rem;
}
.eyebrow::before {
  content: '';
  width: 22px; height: 1px;
  background: currentColor;
  opacity: .5;
}
.eyebrow.no-rule::before { display: none; }

.text-muted-2 { color: var(--ink-3) !important; }
.text-accent  { color: var(--accent) !important; }
.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }

/* Gradient headline treatment, used sparingly */
.grad-text {
  background: linear-gradient(103deg, var(--accent) 0%, var(--clay-ink) 62%, var(--accent) 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradShift 9s var(--ease-in-out) infinite;
}
@keyframes gradShift { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

.italic-accent { font-style: italic; color: var(--accent); }

/* ==========================================================================
   3. NAVIGATION
   ========================================================================== */

.announce {
  position: relative;
  z-index: 60;
  background: linear-gradient(90deg, var(--clay-wash), var(--accent-wash));
  border-bottom: 1px solid var(--line-soft);
  font-size: .845rem;
  color: var(--ink-2);
}
.announce .container-x { display: flex; align-items: center; justify-content: center; gap: .65rem; padding-block: .6rem; text-align: center; flex-wrap: wrap; }
.announce .pulse-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 var(--accent); animation: pulse 2.4s infinite; flex: none; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(0,196,140,.55); } 70% { box-shadow: 0 0 0 9px rgba(0,196,140,0); } 100% { box-shadow: 0 0 0 0 rgba(0,196,140,0); } }
.announce a { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

.site-nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background-color .3s, box-shadow .3s;
}
.site-nav.is-stuck { border-bottom-color: var(--line-soft); box-shadow: var(--shadow-sm); }
.site-nav .container-x { display: flex; align-items: center; gap: 1.5rem; height: 72px; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -.01em;
  flex: none;
  text-decoration: none;
  transition: transform .22s var(--ease-out), opacity .22s;
}
.brand:hover {
  color: var(--ink);
  opacity: .95;
  transform: translateY(-1px);
}
.brand-logo-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 12px;
  background: #ffffff;
  border: 1px solid rgba(10, 14, 13, 0.08);
  border-radius: var(--r-md);
  box-shadow: 0 2px 6px rgba(10, 14, 13, 0.04);
  transition: all .25s var(--ease-out);
}
.brand:hover .brand-logo-wrap {
  box-shadow: 0 4px 14px rgba(10, 14, 13, 0.08);
  border-color: rgba(10, 14, 13, 0.14);
}
.brand-logo {
  height: 50px;
  max-height: 50px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  display: block;
}

[data-theme="dark"] .brand-logo-wrap,
.site-footer .brand-logo-wrap,
.auth-side .brand-logo-wrap {
  background: #ffffff;
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.nav-links { display: flex; align-items: center; gap: .25rem; margin-left: auto; }
.nav-links a {
  color: var(--ink-2); font-size: .915rem; font-weight: 480;
  padding: .5rem .8rem; border-radius: var(--r-sm);
  transition: color .2s, background-color .2s;
}
.nav-links a:hover { color: var(--ink); background: var(--line-soft); opacity: 1; }
.nav-links a.active { color: var(--ink); font-weight: 600; }

.nav-actions { display: flex; align-items: center; gap: .55rem; flex: none; }

.theme-toggle {
  width: 38px; height: 38px; border-radius: var(--r-sm);
  border: 1px solid var(--line); background: var(--surface);
  color: var(--ink-2); display: grid; place-items: center; cursor: pointer;
  transition: all .25s var(--ease-out);
}
.theme-toggle:hover { color: var(--ink); border-color: var(--ink-4); transform: translateY(-1px); }
.theme-toggle svg { width: 17px; height: 17px; }
.theme-toggle .icon-moon { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun { display: none; }
[data-theme="dark"] .theme-toggle .icon-moon { display: block; }

.nav-toggle { display: none; width: 40px; height: 38px; border: 1px solid var(--line); background: var(--surface); border-radius: var(--r-sm); color: var(--ink); cursor: pointer; }

/* ==========================================================================
   4. BUTTONS
   ========================================================================== */

.btn-x {
  --btn-bg: var(--ink);
  --btn-fg: var(--bg);
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .82rem 1.5rem;
  font-family: var(--font-sans); font-size: .945rem; font-weight: 570; letter-spacing: -.005em;
  line-height: 1.2;
  border: 1px solid transparent; border-radius: var(--r-pill);
  background: var(--btn-bg); color: var(--btn-fg);
  cursor: pointer; text-align: center; white-space: nowrap;
  transition: transform .22s var(--ease-out), box-shadow .22s var(--ease-out), background-color .22s, color .22s, border-color .22s;
  position: relative; overflow: hidden;
}
.btn-x:hover { color: var(--btn-fg); opacity: 1; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-x:active { transform: translateY(0); }
.btn-x svg { width: 16px; height: 16px; flex: none; transition: transform .25s var(--ease-out); }
.btn-x:hover svg.arrow { transform: translateX(3px); }

.btn-primary-x { --btn-bg: var(--accent); --btn-fg: var(--accent-ink); }
.btn-primary-x:hover { box-shadow: var(--shadow-glow); }
.btn-dark-x { --btn-bg: var(--ink); --btn-fg: var(--bg); }
.btn-ghost-x { --btn-bg: transparent; --btn-fg: var(--ink); border-color: var(--line); }
.btn-ghost-x:hover { border-color: var(--ink-4); background: var(--line-soft); box-shadow: none; }
.btn-soft-x { --btn-bg: var(--accent-wash); --btn-fg: var(--accent); }
.btn-lg-x { padding: 1.02rem 1.9rem; font-size: 1.01rem; }
.btn-sm-x { padding: .55rem 1.05rem; font-size: .855rem; }
.btn-block-x { width: 100%; }
.btn-x:disabled, .btn-x.is-loading { opacity: .6; pointer-events: none; }

.btn-x .spinner {
  width: 15px; height: 15px; border-radius: 50%;
  border: 2px solid currentColor; border-right-color: transparent;
  animation: spin .7s linear infinite; display: none;
}
.btn-x.is-loading .spinner { display: inline-block; }
.btn-x.is-loading .btn-label { opacity: .75; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Text link with animated underline */
.link-x { color: var(--ink); font-weight: 550; position: relative; display: inline-flex; align-items: center; gap: .4rem; }
.link-x::after { content:''; position: absolute; left: 0; bottom: -2px; height: 1px; width: 100%; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease-out); }
.link-x:hover { color: var(--ink); opacity: 1; }
.link-x:hover::after { transform: scaleX(1); transform-origin: left; }

/* ==========================================================================
   5. HERO
   ========================================================================== */

.hero { position: relative; padding-top: 50px; padding-bottom: 50px; overflow: hidden; }

.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-grid {
  position: absolute; inset: -1px;
  background-image: linear-gradient(var(--grid-line) 1px, transparent 1px),
                    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: radial-gradient(ellipse 80% 62% at 50% 32%, #000 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 80% 62% at 50% 32%, #000 30%, transparent 78%);
}
.hero-orb { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5; }
.hero-orb.a { width: 520px; height: 520px; top: -180px; left: -120px; background: radial-gradient(circle, var(--accent) 0%, transparent 70%); opacity: .22; animation: float 18s var(--ease-in-out) infinite; }
.hero-orb.b { width: 460px; height: 460px; top: -80px; right: -140px; background: radial-gradient(circle, var(--clay) 0%, transparent 70%); opacity: .18; animation: float 22s var(--ease-in-out) infinite reverse; }
@keyframes float { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(30px, 40px) scale(1.08); } }

.hero .container-x { position: relative; z-index: 1; }
.hero-grid-layout { display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr); gap: clamp(32px, 5vw, 72px); align-items: center; }

.hero-badge {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .38rem .5rem .38rem .38rem;
  border: 1px solid var(--line); border-radius: var(--r-pill);
  background: var(--surface); box-shadow: var(--shadow-sm);
  font-size: .8rem; color: var(--ink-2); margin-bottom: 1.6rem;
}
.hero-badge .chip {
  font-family: var(--font-mono); font-size: .66rem; letter-spacing: .09em; text-transform: uppercase;
  background: var(--accent); color: var(--accent-ink);
  padding: .24rem .55rem; border-radius: var(--r-pill); font-weight: 600;
}

.hero h1 { margin-bottom: .38em; }
.hero .lead { max-width: 46ch; margin-bottom: 2rem; }

.hero-cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 2.1rem; }

.hero-trust { display: flex; flex-wrap: wrap; gap: 1.4rem; padding-top: 1.5rem; border-top: 1px solid var(--line-soft); }
.hero-trust-item { display: flex; align-items: center; gap: .5rem; font-size: .855rem; color: var(--ink-3); }
.hero-trust-item svg { width: 15px; height: 15px; color: var(--accent); flex: none; }

/* Stat band ------------------------------------------------------------ */
.stat-band { border-block: 1px solid var(--line-soft); background: var(--bg-alt); }
.stat-band .container-x { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat-cell {
  padding: clamp(24px, 3.4vw, 40px) clamp(12px, 2vw, 28px);
  border-left: 1px solid var(--line-soft);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.stat-cell:first-child { border-left: 0; }
.stat-value { font-family: var(--font-display); font-weight:640; font-size: clamp(2rem, 3.6vw, 2.9rem); line-height: 1; color: var(--ink); letter-spacing: -.02em; text-align: center; }
.stat-label { font-size: .82rem; color: var(--ink-3); margin-top: .55rem; line-height: 1.4; text-align: center; }
.stat-note  { font-family: var(--font-mono); font-size: .64rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-4); margin-top: .5rem; text-align: center; }


/* ==========================================================================
   6. SURFACES, CARDS, SECTIONS
   ========================================================================== */

.section { padding-top: 50px; padding-bottom: 50px; position: relative; }
.section-alt { background: var(--bg-alt); }
.section-ink { background: var(--ink); color: #fff; }
.section-ink h2, .section-ink h3 { color: #fff; }
.section-ink p { color: rgba(255,255,255,.72); }
.section-ink .eyebrow { color: rgba(255,255,255,.55); }
[data-theme="dark"] .section-ink { background: #050608; }

.section-head { max-width: 720px; margin-bottom: clamp(38px, 5vw, 64px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow::before { display: none; }

.card-x {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(24px, 2.6vw, 34px);
  transition: transform .34s var(--ease-out), box-shadow .34s var(--ease-out), border-color .34s;
  position: relative; overflow: hidden;
  height: 100%;
}
.card-x:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--line); }
.card-x h3 { font-size: 1.32rem; margin-bottom: .55rem; }
.card-x p:last-child { margin-bottom: 0; }

.card-icon {
  width: 46px; height: 46px; border-radius: 13px;
  display: grid; place-items: center; margin-bottom: 0.65rem;
  margin-inline: auto;
  background: var(--accent-wash); color: var(--accent);
  border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent);
}
.card-icon svg { width: 21px; height: 21px; }
.card-icon.clay { background: var(--clay-wash); color: var(--clay-ink); border-color: color-mix(in srgb, var(--clay) 24%, transparent); }
.card-icon.sand { background: rgba(200,169,106,.15); color: var(--sand); border-color: rgba(200,169,106,.32); }

.card-num {
  font-family: var(--font-mono); font-size: .7rem; letter-spacing: .12em;
  color: var(--ink-4); margin-bottom: .9rem; display: block;
  text-align: center;
}

/* Bordered feature grid — no gaps, hairline dividers */
.grid-bordered { display: grid; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--surface); }
.grid-bordered > * { padding: clamp(24px, 2.8vw, 36px); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.grid-bordered.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid-bordered.cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid-bordered.cols-4 { grid-template-columns: repeat(4, 1fr); }

/* Marquee proof strip -------------------------------------------------- */
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 3.5rem; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee-item { display: flex; align-items: center; gap: .6rem; font-family: var(--font-display); font-size: 1.28rem; color: var(--ink-4); white-space: nowrap; letter-spacing: -.01em; }

/* Split feature rows --------------------------------------------------- */
.split { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: clamp(32px, 5vw, 76px); align-items: center; }
.split + .split { margin-top: clamp(56px, 7vw, 108px); }
.split.reverse > *:first-child { order: 2; }

/* Comparison table ----------------------------------------------------- */
.compare { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--surface); }
.compare-row { display: grid; grid-template-columns: 1.4fr 1fr 1fr; border-bottom: 1px solid var(--line-soft); }
.compare-row:last-child { border-bottom: 0; }
.compare-row > div { padding: 1.05rem 1.3rem; display: flex; align-items: center; gap: .5rem; font-size: .93rem; }
.compare-head { background: var(--bg-alt); font-weight: 600; }
.compare-head > div { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .11em; text-transform: uppercase; color: var(--ink-3); }
.compare-row > div:first-child { color: var(--ink); font-weight: 500; border-right: 1px solid var(--line-soft); }
.compare-row > div:nth-child(2) { color: var(--ink-3); border-right: 1px solid var(--line-soft); }
.compare-us { background: var(--accent-wash); color: var(--ink) !important; font-weight: 550; }
.tick { width: 17px; height: 17px; flex: none; color: var(--accent); }
.cross { width: 17px; height: 17px; flex: none; color: var(--ink-4); }

/* Process timeline ----------------------------------------------------- */
.timeline { position: relative; }
.timeline::before { content:''; position: absolute; left: 23px; top: 12px; bottom: 12px; width: 1px; background: linear-gradient(var(--line), var(--line), transparent); }
.tl-item { display: grid; grid-template-columns: 48px 1fr; gap: 1.5rem; padding-bottom: 2.4rem; position: relative; }
.tl-item:last-child { padding-bottom: 0; }
.tl-dot {
  width: 47px; height: 47px; border-radius: 50%;
  display: grid; place-items: center; flex: none;
  background: var(--surface); border: 1px solid var(--line);
  font-family: var(--font-mono); font-size: .8rem; color: var(--ink-2); font-weight: 500;
  position: relative; z-index: 1;
}
.tl-item.is-active .tl-dot { background: var(--accent); color: var(--accent-ink); border-color: transparent; box-shadow: var(--shadow-glow); }
.tl-body h3 { font-size: 1.22rem; margin-bottom: .4rem; }
.tl-meta { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .11em; text-transform: uppercase; color: var(--ink-4); margin-bottom: .5rem; }

/* Accordion ------------------------------------------------------------ */
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; background: none; border: 0; cursor: pointer; text-align: left;
  padding: 1.45rem 3rem 1.45rem 0; position: relative;
  font-family: var(--font-display); font-size: clamp(1.1rem, 1.7vw, 1.35rem); color: var(--ink);
  letter-spacing: -.01em; line-height: 1.35;
  transition: color .2s;
}
.faq-q:hover { color: var(--accent); }
.faq-q::after {
  content: ''; position: absolute; right: 4px; top: 50%; width: 13px; height: 13px;
  margin-top: -6px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 5v14M5 12h14' stroke='%23000' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 5v14M5 12h14' stroke='%23000' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") center/contain no-repeat;
  transition: transform .3s var(--ease-out);
}
.faq-item.open .faq-q::after { transform: rotate(135deg); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .38s var(--ease-out); }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p { padding-bottom: 1.5rem; max-width: 68ch; margin: 0; }

/* Quote / testimonial -------------------------------------------------- */
.quote-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(26px, 3vw, 38px); height: 100%; display: flex; flex-direction: column; }
.quote-card blockquote { font-family: var(--font-display); font-weight:500; font-size: 1.2rem; line-height: 1.45; color: var(--ink); margin: 0 0 1.5rem; letter-spacing: -.01em; }
.quote-mark { font-family: var(--font-display); font-weight: 700; font-size: 3rem; line-height: .6; color: var(--accent); opacity: .45; margin-bottom: .5rem; display: block; }
.quote-by { display: flex; align-items: center; gap: .8rem; margin-top: auto; }
.quote-avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-alt); border: 1px solid var(--line); font-size: .8rem; font-weight: 600; color: var(--ink-2); flex: none; overflow: hidden; }
.quote-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; display: block; }
.placeholder-flag { font-family: var(--font-mono); font-size: .6rem; letter-spacing: .1em; text-transform: uppercase; color: var(--sand); border: 1px dashed var(--sand); padding: .18rem .45rem; border-radius: 4px; display: inline-block; margin-bottom: .9rem; }

/* CTA panel ------------------------------------------------------------ */
.cta-panel {
  position: relative; overflow: hidden;
  border-radius: var(--r-xl);
  background: var(--ink); color: #fff;
  padding: clamp(38px, 5.5vw, 78px);
}
[data-theme="dark"] .cta-panel { background: linear-gradient(150deg, #101216 0%, #0a1b16 100%); border: 1px solid var(--line); }
.cta-panel h2 { color: #fff; }
.cta-panel p { color: rgba(255,255,255,.75); }
.cta-panel::before {
  content:''; position: absolute; width: 520px; height: 520px; border-radius: 50%;
  right: -140px; top: -180px; filter: blur(80px); opacity: .32;
  background: radial-gradient(circle, var(--accent), transparent 70%);
}
.cta-panel .container-inner { position: relative; z-index: 1; }

/* ==========================================================================
   7. CHAT MOCK  (the hero product visual)
   ========================================================================== */

.chat-mock {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: perspective(1600px) rotateY(-6deg) rotateX(2deg);
  transition: transform .7s var(--ease-out);
}
.chat-mock:hover { transform: perspective(1600px) rotateY(-2deg) rotateX(0.5deg) translateY(-4px); }

.chat-bar { display: flex; align-items: center; gap: .5rem; padding: .8rem 1.1rem; border-bottom: 1px solid var(--line-soft); background: var(--surface-2); }
.chat-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.chat-dot:nth-child(1) { background: #ff5f57; } .chat-dot:nth-child(2) { background: #febc2e; } .chat-dot:nth-child(3) { background: #28c840; }
.chat-title { margin-left: auto; font-family: var(--font-mono); font-size: .68rem; color: var(--ink-4); letter-spacing: .06em; }

.chat-body { padding: 1.25rem 1.35rem 1.5rem; }

.chat-user {
  display: flex; gap: .75rem; margin-bottom: 1.35rem;
}
.chat-avatar { width: 28px; height: 28px; border-radius: 50%; flex: none; display: grid; place-items: center; font-size: .68rem; font-weight: 600; background: var(--bg-alt); border: 1px solid var(--line); color: var(--ink-2); }
.chat-avatar.ai { background: var(--accent); color: var(--accent-ink); border-color: transparent; }
.chat-text { font-size: .93rem; color: var(--ink); line-height: 1.55; }

.chat-ai { display: flex; gap: .75rem; }
.chat-answer { font-size: .9rem; color: var(--ink-2); line-height: 1.6; }
.chat-answer .typing-line { display: block; height: 9px; border-radius: 4px; background: var(--line); margin-bottom: .5rem; animation: shimmer 2.2s var(--ease-in-out) infinite; }
.chat-answer .typing-line:nth-child(2) { width: 88%; animation-delay: .15s; }
.chat-answer .typing-line:nth-child(3) { width: 62%; animation-delay: .3s; }
@keyframes shimmer { 0%,100% { opacity: .55; } 50% { opacity: 1; } }

.sponsor-card {
  margin-top: 1rem; padding: .95rem 1rem;
  border: 1px solid color-mix(in srgb, var(--accent) 34%, transparent);
  border-radius: var(--r-md);
  background: var(--accent-wash);
  position: relative;
  animation: cardIn .8s var(--ease-out) .5s both;
}
@keyframes cardIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.sponsor-tag { font-family: var(--font-mono); font-size: .6rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: .5rem; display: flex; align-items: center; gap: .35rem; }
.sponsor-head { display: flex; gap: .75rem; align-items: flex-start; }
.sponsor-thumb { width: 42px; height: 42px; border-radius: 9px; flex: none; background: linear-gradient(135deg, var(--accent), var(--clay)); display: grid; place-items: center; color: #fff; font-family: var(--font-display); font-weight: 700; font-size: .96rem; }
.sponsor-title { font-size: .9rem; font-weight: 620; color: var(--ink); line-height: 1.3; margin-bottom: .18rem; }
.sponsor-desc { font-size: .8rem; color: var(--ink-3); line-height: 1.45; }
.sponsor-url { font-family: var(--font-mono); font-size: .68rem; color: var(--accent); margin-top: .45rem; display: inline-flex; align-items: center; gap: .3rem; }

.mock-caption { text-align: center; font-family: var(--font-mono); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-4); margin-top: 1.1rem; }

/* Share-of-answer meter ------------------------------------------------ */
.soa-row { display: grid; grid-template-columns: 130px 1fr 52px; align-items: center; gap: 1rem; padding: .72rem 0; border-bottom: 1px solid var(--line-soft); }
.soa-row:last-child { border-bottom: 0; }
.soa-name { font-size: .88rem; color: var(--ink-2); }
.soa-name.is-you { color: var(--ink); font-weight: 620; }
.soa-track { height: 8px; border-radius: var(--r-pill); background: var(--line-soft); overflow: hidden; }
.soa-fill { height: 100%; border-radius: var(--r-pill); background: var(--ink-4); width: 0; transition: width 1.4s var(--ease-out); }
.soa-row.is-you .soa-fill { background: linear-gradient(90deg, var(--accent), var(--clay)); }
.soa-val { font-family: var(--font-mono); font-size: .8rem; color: var(--ink-3); text-align: right; }
.soa-row.is-you .soa-val { color: var(--ink); font-weight: 600; }

/* ==========================================================================
   8. PRICING
   ========================================================================== */

.price-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 1.1rem; align-items: stretch; }

.price-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 1.9rem 1.6rem 1.7rem;
  display: flex; flex-direction: column; position: relative;
  transition: transform .34s var(--ease-out), box-shadow .34s var(--ease-out), border-color .3s;
}
.price-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.price-card.featured { border-color: var(--accent); box-shadow: var(--shadow-glow); }
.price-card.featured::before {
  content:''; position: absolute; inset: -1px; border-radius: var(--r-lg); pointer-events: none;
  background: linear-gradient(160deg, var(--accent-wash), transparent 55%);
}
.price-card > * { position: relative; }

.price-badge {
  position: absolute; top: -11px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: var(--accent-ink);
  font-family: var(--font-mono); font-size: .63rem; letter-spacing: .11em; text-transform: uppercase; font-weight: 600;
  padding: .3rem .75rem; border-radius: var(--r-pill); white-space: nowrap;
  z-index: 2;
}
.price-card:not(.featured) .price-badge { background: var(--ink); color: var(--bg); }

.price-name { font-family: var(--font-display); font-weight: 620; font-weight:620; font-size: 1.42rem; letter-spacing: -.01em; margin-bottom: .3rem; }
.price-tagline { font-size: .855rem; color: var(--ink-3); line-height: 1.5; min-height: 3.1em; margin-bottom: 1.25rem; }
.price-amount { display: flex; align-items: baseline; gap: .3rem; margin-bottom: .25rem; }
.price-amount .cur { font-size: 1.05rem; color: var(--ink-3); }
.price-amount .val { font-family: var(--font-display); font-weight:650; font-size: clamp(2.1rem, 3vw, 2.6rem); line-height: 1; letter-spacing: -.025em; }
.price-amount .per { font-size: .82rem; color: var(--ink-3); }
.price-compare { font-size: .8rem; color: var(--ink-4); text-decoration: line-through; margin-bottom: .3rem; }
.price-setup { font-size: .77rem; color: var(--ink-4); margin-bottom: 1.3rem; }
.price-spend { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .06em; color: var(--ink-3); background: var(--bg-alt); border: 1px solid var(--line-soft); padding: .4rem .65rem; border-radius: var(--r-sm); display: inline-block; margin-bottom: 1.3rem; }

.price-features { list-style: none; padding: 0; margin: 1.35rem 0 0; display: grid; gap: .62rem; }
.price-features li { display: grid; grid-template-columns: 17px 1fr; gap: .6rem; font-size: .865rem; color: var(--ink-2); line-height: 1.45; align-items: start; }
.price-features svg { width: 15px; height: 15px; color: var(--accent); margin-top: 3px; }
.price-cta { margin-top: 1.6rem; }
.price-foot { margin-top: auto; padding-top: 1.4rem; }

.price-note { text-align: center; font-size: .855rem; color: var(--ink-3); margin-top: 1.75rem; }

/* Trust row under pricing */
.trust-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem 2.4rem; margin-top: 2.4rem; padding-top: 2rem; border-top: 1px solid var(--line-soft); }
.trust-chip { display: flex; align-items: center; gap: .5rem; font-size: .85rem; color: var(--ink-3); }
.trust-chip svg { width: 17px; height: 17px; color: var(--accent); flex: none; }

/* ==========================================================================
   9. FORMS & AUTH
   ========================================================================== */

.form-label-x { display: block; font-size: .82rem; font-weight: 550; color: var(--ink-2); margin-bottom: .42rem; letter-spacing: -.005em; }
.form-label-x .req { color: var(--rose); }

.form-control-x, .form-select-x {
  width: 100%; padding: .78rem 1rem;
  background: var(--surface); color: var(--ink);
  border: 1px solid var(--line); border-radius: var(--r-md);
  font-family: var(--font-sans); font-size: .945rem; line-height: 1.4;
  transition: border-color .2s, box-shadow .2s, background-color .2s;
  appearance: none;
}
.form-control-x::placeholder { color: var(--ink-4); }
.form-control-x:focus, .form-select-x:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-wash);
  background: var(--surface);
}
.form-control-x.is-invalid, .form-select-x.is-invalid { border-color: var(--rose); }
textarea.form-control-x { min-height: 118px; resize: vertical; }
.form-select-x {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' stroke='%239a9da6' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center; background-size: 15px;
  padding-right: 2.6rem;
}
.invalid-note { font-size: .78rem; color: var(--rose); margin-top: .32rem; display: block; }
.field-hint { font-size: .78rem; color: var(--ink-4); margin-top: .32rem; }

.honeypot { position: absolute !important; left: -9999px !important; opacity: 0; height: 0; width: 0; }

.auth-wrap { min-height: calc(100vh - 72px); display: grid; grid-template-columns: 1fr 1fr; }
.auth-side { background: var(--ink); color: #fff; padding: clamp(36px, 5vw, 72px); display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; }
[data-theme="dark"] .auth-side { background: linear-gradient(160deg, #0c0e12, #0a1a15); border-right: 1px solid var(--line); }
.auth-side h2, .auth-side h3 { color: #fff; }
.auth-side p { color: rgba(255,255,255,.7); }
.auth-side::before { content:''; position: absolute; width: 460px; height: 460px; border-radius: 50%; left: -140px; bottom: -200px; filter: blur(80px); opacity: .3; background: radial-gradient(circle, var(--accent), transparent 70%); }
.auth-side > * { position: relative; z-index: 1; }
.auth-main { display: flex; align-items: center; justify-content: center; padding: clamp(32px, 5vw, 64px) clamp(20px, 4vw, 48px); }
.auth-card { width: 100%; max-width: 440px; }

.btn-google {
  width: 100%; display: inline-flex; align-items: center; justify-content: center; gap: .7rem;
  padding: .8rem 1.2rem; border: 1px solid var(--line); border-radius: var(--r-pill);
  background: var(--surface); color: var(--ink); font-size: .93rem; font-weight: 530;
  transition: all .22s var(--ease-out); cursor: pointer;
}
.btn-google:hover { color: var(--ink); opacity: 1; border-color: var(--ink-4); box-shadow: var(--shadow-sm); transform: translateY(-1px); }

.divider-or { display: flex; align-items: center; gap: 1rem; margin: 1.4rem 0; color: var(--ink-4); font-size: .78rem; }
.divider-or::before, .divider-or::after { content:''; flex: 1; height: 1px; background: var(--line); }

.auth-benefits { list-style: none; padding: 0; margin: 1.75rem 0 0; display: grid; gap: .85rem; }
.auth-benefits li { display: grid; grid-template-columns: 20px 1fr; gap: .7rem; font-size: .9rem; color: rgba(255,255,255,.78); align-items: start; }
.auth-benefits svg { width: 17px; height: 17px; color: var(--signal); margin-top: 3px; }

/* Checkout ------------------------------------------------------------- */
.checkout-grid { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(0,.85fr); gap: clamp(24px, 3.5vw, 48px); align-items: start; }
.summary-card { position: sticky; top: 96px; }
.summary-line { display: flex; justify-content: space-between; gap: 1rem; padding: .62rem 0; font-size: .91rem; color: var(--ink-2); }
.summary-line.total { border-top: 1px solid var(--line); margin-top: .5rem; padding-top: 1rem; font-size: 1.1rem; color: var(--ink); font-weight: 620; }
.secure-note { display: flex; align-items: flex-start; gap: .6rem; font-size: .78rem; color: var(--ink-3); background: var(--bg-alt); border: 1px solid var(--line-soft); padding: .8rem .95rem; border-radius: var(--r-md); margin-top: 1.2rem; }
.secure-note svg { width: 16px; height: 16px; color: var(--accent); flex: none; margin-top: 1px; }

.success-check { width: 74px; height: 74px; border-radius: 50%; background: var(--accent-wash); border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent); display: grid; place-items: center; margin: 0 auto 1.7rem; animation: popIn .55s var(--ease-out) both; }
.success-check svg { width: 34px; height: 34px; color: var(--accent); }
@keyframes popIn { from { transform: scale(.6); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* ==========================================================================
   10. LEGAL, ACCOUNT, FOOTER
   ========================================================================== */

.legal-body { max-width: 100%; width: 100%; }
.legal-body h2 { font-size: clamp(1.5rem, 2.4vw, 1.95rem); margin-top: 2.6rem; margin-bottom: .7rem; }
.legal-body h3 { font-size: 1.18rem; margin-top: 1.8rem; margin-bottom: .5rem; }
.legal-body p, .legal-body li { color: var(--ink-2); font-size: .965rem; line-height: 1.72; }
.legal-body ul, .legal-body ol { padding-left: 1.25rem; margin-bottom: 1.2rem; }
.legal-body li { margin-bottom: .5rem; }
.legal-toc { background: var(--bg-alt); border: 1px solid var(--line-soft); border-radius: var(--r-lg); padding: 1.5rem 1.7rem; margin-bottom: 2.4rem; }
.legal-toc ol { margin: 0; padding-left: 1.1rem; column-count: 2; column-gap: 2rem; }
.legal-toc li { margin-bottom: .4rem; font-size: .9rem; }

.site-footer { background: var(--ink); color: #ffffff; padding-block: clamp(48px, 6vw, 80px) 2rem; }
[data-theme="dark"] .site-footer { background: #050608; border-top: 1px solid var(--line); }
.site-footer h4 { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: #ffffff; margin-bottom: 1.1rem; font-weight: 600; opacity: 0.9; }
.site-footer a { color: #ffffff; font-size: .9rem; display: block; padding: .3rem 0; }
.site-footer a:hover { color: #ffffff; opacity: 0.8; }
.site-footer .brand { color: #ffffff; }
.site-footer .brand-text small { color: #ffffff; opacity: 0.85; }
.site-footer p, .site-footer address, .site-footer span { color: #ffffff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.15); margin-top: 3rem; padding-top: 1.6rem; display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; font-size: .82rem; color: #ffffff; }
.footer-seo { font-size: .78rem; color: #ffffff; line-height: 1.75; margin-top: 1.4rem; opacity: 0.85; }
.footer-seo a { display: inline; color: #ffffff; text-decoration: underline; opacity: 0.95; }

.whatsapp-fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 40;
  width: 54px; height: 54px; border-radius: 50%;
  background: #25d366; color: #fff; display: grid; place-items: center;
  box-shadow: 0 8px 24px rgba(37,211,102,.36);
  transition: transform .25s var(--ease-out);
}
.whatsapp-fab:hover { transform: scale(1.08) translateY(-2px); color: #fff; opacity: 1; }
.whatsapp-fab svg { width: 26px; height: 26px; }

/* Flash messages ------------------------------------------------------- */
.flash-stack { position: fixed; top: 84px; right: 20px; z-index: 90; display: grid; gap: .6rem; max-width: 380px; }
.flash {
  background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--accent);
  border-radius: var(--r-md); padding: .9rem 1.1rem; box-shadow: var(--shadow-lg);
  font-size: .89rem; color: var(--ink-2); display: flex; gap: .6rem; align-items: flex-start;
  animation: slideIn .4s var(--ease-out) both;
}
.flash.error { border-left-color: var(--rose); }
.flash.warning { border-left-color: var(--sand); }
@keyframes slideIn { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }

/* ==========================================================================
   11. MOTION
   ========================================================================== */

/* Visible by default. Only a JS-enabled document hides them to animate in,
   so the page is fully readable at rest, in a thumbnail, and without JS. */
[data-reveal] { opacity: 1; transform: none; }
.has-js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.has-js [data-reveal].revealed { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: .08s; }
[data-reveal][data-delay="2"] { transition-delay: .16s; }
[data-reveal][data-delay="3"] { transition-delay: .24s; }
[data-reveal][data-delay="4"] { transition-delay: .32s; }
[data-reveal][data-delay="5"] { transition-delay: .40s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .chat-mock { transform: none; }
}

/* ==========================================================================
   12. RESPONSIVE (All Desktop, Laptop, Tablet & Mobile Breakpoints)
   ========================================================================== */

/* Universal Overflow & Media Protection */
html, body {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  position: relative;
}

img, svg, video, iframe {
  max-width: 100%;
  height: auto;
}

/* Large Desktops (<= 1400px) */
@media (max-width: 1400px) {
  .hero-grid-layout {
    gap: clamp(24px, 4vw, 56px);
  }
}

/* Laptops & Desktops (<= 1199px) */
@media (max-width: 1199px) {
  .price-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
  }
  .grid-bordered.cols-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Tablets Landscape & Small Laptops (<= 991px) */
@media (max-width: 991px) {
  .hero-grid-layout {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero .lead {
    margin-inline: auto;
  }
  .hero-cta {
    justify-content: center;
  }
  .hero-trust {
    justify-content: center;
  }
  .chat-mock {
    transform: none;
    max-width: 540px;
    margin-inline: auto;
  }
  .split, .split.reverse > *:first-child {
    grid-template-columns: 1fr;
    order: initial;
  }
  .auth-wrap {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .auth-side {
    display: none;
  }
  .checkout-grid {
    grid-template-columns: 1fr;
  }
  .summary-card {
    position: static;
  }

  /* Mobile Navigation Drawer */
  .nav-links {
    display: none;
  }
  .nav-toggle {
    display: grid;
    place-items: center;
  }
  .site-nav.open .nav-links {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    padding: 1.2rem;
    gap: .35rem;
    box-shadow: var(--shadow-lg);
    z-index: 99;
  }
  .site-nav.open .nav-links a {
    padding: .85rem 1rem;
    font-size: 1rem;
    border-radius: var(--r-md);
  }

  .stat-band .container-x {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat-cell {
    border-left: 0;
    padding: 1.5rem 1rem;
    border-top: 1px solid var(--line-soft);
  }
  .stat-cell:nth-child(-n+2) {
    border-top: 0;
  }
  .stat-cell:nth-child(even) {
    padding-left: clamp(14px, 3vw, 24px);
    border-left: 1px solid var(--line-soft);
  }
  .legal-toc ol {
    column-count: 1;
  }
}

/* Mobile Devices & Tablets Portrait (<= 767px) */
@media (max-width: 767px) {
  .section {
    padding-top: 36px;
    padding-bottom: 36px;
  }
  .price-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin-inline: auto;
  }
  .grid-bordered.cols-3,
  .grid-bordered.cols-2,
  .grid-bordered.cols-4 {
    grid-template-columns: 1fr;
  }
  .grid-bordered > * {
    border-right: 0;
  }
  .compare-row {
    grid-template-columns: 1fr;
  }
  .compare-row > div {
    border-right: 0 !important;
  }
  .compare-row > div:first-child {
    background: var(--bg-alt);
    font-weight: 600;
  }
  .compare-head {
    display: none;
  }
  .flash-stack {
    left: 16px;
    right: 16px;
    max-width: none;
  }
  .hero-cta {
    flex-direction: column;
  }
  .hero-cta .btn-x {
    width: 100%;
  }
  .tl-item {
    grid-template-columns: 38px 1fr;
    gap: 1rem;
  }
  .tl-dot {
    width: 38px;
    height: 38px;
    font-size: .72rem;
  }
  .timeline::before {
    left: 18.5px;
  }
  .quote-card {
    padding: 1.5rem;
  }
  .cta-panel {
    padding: 2.2rem 1.4rem;
    text-align: center;
  }
}

/* Small Screen Phones (<= 575px) */
@media (max-width: 575px) {
  .site-nav .container-x {
    height: 64px;
    gap: 0.8rem;
  }
  .brand-logo-wrap {
    padding: 4px 8px;
  }
  .brand-logo {
    height: 38px;
    max-height: 38px;
    max-width: 140px;
  }
  .announce {
    font-size: 0.78rem;
    line-height: 1.4;
  }
  .announce .container-x {
    padding-block: 0.5rem;
  }
  .stat-band .container-x {
    grid-template-columns: 1fr;
  }
  .stat-cell {
    border-left: 0 !important;
    padding: 1.2rem 0;
    border-top: 1px solid var(--line-soft);
  }
  .stat-cell:first-child {
    border-top: 0;
  }
  .soa-row {
    grid-template-columns: 100px 1fr 45px;
    gap: 0.5rem;
    font-size: 0.82rem;
  }
  .whatsapp-fab {
    width: 48px;
    height: 48px;
    right: 16px;
    bottom: 16px;
  }
  .whatsapp-fab svg {
    width: 22px;
    height: 22px;
  }
  .legal-header-section,
  .page-header-section {
    padding-top: 24px;
    padding-bottom: 18px;
  }
}

/* Extra-Compact Phones (<= 375px) */
@media (max-width: 375px) {
  .brand-logo {
    height: 34px;
    max-width: 120px;
  }
  .theme-toggle,
  .nav-toggle {
    width: 34px;
    height: 34px;
  }
  .btn-sm-x {
    padding: 0.5rem 0.85rem;
    font-size: 0.82rem;
  }
  .hero h1 {
    font-size: 2.2rem;
  }
}
