/* SoGood landing & pricing — light theme, sogood.ai design system
   ─────────────────────────────────────────────────────────────────
   Sections:
     1. Tokens (:root)
     2. Reset & base
     3. Skip link
     4. Nav (brand · capsule center · login + signup)
     5. Hero (pricing pages)
     6. Plans (v1)
     7. Mock previews (doc / website / dashboard)
     8. Agents stack
     9. Includes list
    10. Compare table
    11. Top-up + Auto-topup
    12. FAQ
    13. Bottom CTA
    14. Footer
    15. Reveal animations
    16. Mobile media queries (consolidated)
*/

/* ─── 1. TOKENS ─────────────────────────────────────────────────── */
:root {
  /* surfaces */
  --bg: #ffffff;
  --bg-soft: #f1f6fb;
  --bg-mute: #edf3f8;
  --bg-deep: #e7f0f8;

  /* ink */
  --ink: #1b2a4a;
  --ink-2: #2a3854;
  --ink-3: #5a6a7e;
  --muted: #8a98ab;
  --line: #e5eaf0;
  --line-2: #d4dce7;
  --line-strong: #b6c2d2;

  /* brand sky-blue */
  --brand: #7ba7cc;
  --brand-hover: #95bcd9;
  --brand-muted: #e7f0f8;
  --brand-deep: #5a8db8;

  /* navy accent */
  --accent: #1b2a4a;
  --accent-hover: #121d35;

  /* gold highlight */
  --gold: #d99b3b;
  --gold-muted: #faeecf;
  --gold-fg: #2a1a04;

  /* status */
  --green: #3f9d70;
  --green-soft: #dcf1e5;
  --green-fg: #07180f;
  --red: #c54a5a;
  --red-soft: #fbe1e4;

  /* department palette */
  --dep-ceo: #1b2a4a;
  --dep-strat: #6d28d9;
  --dep-fin: #3f9d70;
  --dep-brand: #be185d;
  --dep-tech: #5a8db8;
  --dep-mkt: #d99b3b;
  --dep-sales: #c54a5a;
  --dep-ops: #0f766e;

  /* radii */
  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  /* shadows (navy-tinted) */
  --shadow-xs: 0 1px 2px 0 #1b2a4a0a;
  --shadow-sm: 0 1px 2px 0 #1b2a4a0a, 0 1px 3px 0 #1b2a4a0a;
  --shadow-md: 0 4px 8px -2px #1b2a4a0f, 0 8px 24px -8px #1b2a4a14;
  --shadow-lg: 0 8px 24px -8px #1b2a4a2e, 0 2px 6px -2px #1b2a4a1f;
  --shadow-xl: 0 12px 40px -12px #1b2a4a47;

  /* motion */
  --motion-fast: .14s;
  --motion-base: .2s;
  --ease-soft: cubic-bezier(.22, 1, .36, 1);

  /* typography */
  --font: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --serif: "Instrument Serif", "Times New Roman", Georgia, serif;
  --display: "Nunito", "Geist", -apple-system, sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

/* ─── 2. RESET & BASE ───────────────────────────────────────────── */
* { box-sizing: border-box; -webkit-font-smoothing: antialiased; }
html {
  scroll-behavior: smooth;
  /* Clears sticky nav (~55px desktop, ~73px mobile w/ 44px burger) + breathing room */
  scroll-padding-top: 110px;
}
@media (max-width: 540px) {
  html { scroll-padding-top: 96px; }
}
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  font-size: 16px;
  font-feature-settings: "ss01", "cv11";
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }
::selection { background: var(--ink); color: white; }

/* ─── 3. SKIP LINK ──────────────────────────────────────────────── */
.skip-link {
  position: absolute;
  left: -9999px;
}
.skip-link:focus {
  position: fixed;
  top: 8px; left: 8px;
  background: var(--ink);
  color: white;
  padding: 8px 14px;
  border-radius: 8px;
  z-index: 100;
}

/* ─── 4. NAV ────────────────────────────────────────────────────── */
/* Grid 1fr auto 1fr → nav-center is page-centered regardless of brand/nav-right widths */
.nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 18px 32px;
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  position: sticky;
  top: 0;
  z-index: 50;
}
.nav > .brand      { justify-self: start; grid-column: 1; }
.nav > .nav-center { justify-self: center; grid-column: 2; }
.nav > .nav-right  { justify-self: end; grid-column: 3; }

/* brand */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  letter-spacing: -0.025em;
  font-size: 18px;
  color: var(--ink);
  flex-shrink: 0;
}
.brand-icon {
  width: 18px; height: 18px;
  color: var(--ink);
  flex-shrink: 0;
}
.brand-text { color: var(--ink); }
.brand .dot { color: var(--gold); }

/* center capsule nav */
.nav-center {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px;
  flex-shrink: 0;
}
.nav-center a {
  color: var(--ink-3);
  font-size: 13px;
  font-weight: 500;
  padding: 7px 14px;
  border-radius: 999px;
  letter-spacing: -0.005em;
  transition: color var(--motion-fast), background var(--motion-fast);
}
.nav-center a:hover {
  color: var(--ink);
  background: rgba(255,255,255,.7);
}
.nav-center a.active {
  color: var(--ink);
  background: white;
  box-shadow: var(--shadow-sm);
}

/* right CTAs (signed-out) */
.nav-right {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.nav-cta-login {
  background: transparent;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 8px;
  transition: color var(--motion-fast);
}
.nav-cta-login:hover { color: var(--ink); }
.nav-cta-signup {
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 18px;
  border-radius: 999px;
  transition: all var(--motion-fast);
}
.nav-cta-signup:hover {
  background: var(--accent);
  color: white;
}

/* ─── 5. HERO (pricing pages) ──────────────────────────────────── */
.hero {
  max-width: 920px;
  margin: 88px auto 64px;
  padding: 0 24px;
  text-align: center;
  position: relative;
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 0.22em;
  font-weight: 700;
  color: var(--muted);
  margin: 0 0 16px;
  text-transform: uppercase;
}
.eyebrow.center { text-align: center; }
.hero h1, .pricing-h1 {
  font-size: clamp(38px, 6vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin: 0 0 22px;
  font-weight: 700;
}
.hero h1 em, .bottom-cta h2 em {
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.01em;
  position: relative;
  padding: 0 4px;
}
.hero h1 em::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 4px;
  height: 6px;
  background: var(--gold);
  opacity: .25;
  border-radius: 2px;
  z-index: -1;
}
.pricing-h1 .hero-rotate {
  display: inline-block;
  color: var(--brand);
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.01em;
}
.pricing-h1 .rotate-text {
  display: inline-block;
  transition: opacity .25s var(--ease-soft), transform .25s var(--ease-soft);
}
.pricing-h1 .rotate-text.swap {
  opacity: 0;
  transform: translateY(-6px);
}
.pricing-h1 .rotate-cursor {
  display: inline-block;
  width: 0.06em;
  height: 0.85em;
  background: currentColor;
  vertical-align: text-bottom;
  margin-left: 0.04em;
  margin-bottom: 0.08em;
  animation: blink 1s steps(2, end) infinite;
}
@keyframes blink { to { opacity: 0; } }
.lede {
  font-size: clamp(16px, 1.4vw, 19px);
  color: var(--ink-3);
  max-width: 640px;
  margin: 0 auto 36px;
  line-height: 1.55;
}

/* monthly/yearly toggle */
.hero-toggle {
  display: inline-flex;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  padding: 4px;
  border-radius: 999px;
  gap: 4px;
  box-shadow: var(--shadow-xs);
}
.pill {
  padding: 9px 20px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  transition: all .2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.pill.active {
  background: white;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.pill .save {
  display: inline-block;
  background: var(--green-soft);
  color: var(--green);
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 999px;
  letter-spacing: 0.02em;
}

/* ─── 6. PLANS (pricing v1) ────────────────────────────────────── */
.plans {
  max-width: 1280px;
  margin: 0 auto 80px;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}
.plan {
  position: relative;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 28px 26px 26px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .25s, transform .25s, border-color .25s;
}
.plan.featured {
  border-color: var(--ink);
  box-shadow: var(--shadow-lg);
  background: linear-gradient(180deg, #fffefb 0%, #ffffff 30%);
}
.plan-flag {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--ink);
  color: white;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  padding: 6px 12px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
}
.plan-head {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.tier {
  font-size: 11px;
  letter-spacing: 0.22em;
  font-weight: 700;
  color: var(--muted);
  margin: 0;
}
.plan h2 {
  font-size: 28px;
  margin: 4px 0 0;
  letter-spacing: -0.025em;
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
}
.tagline {
  color: var(--ink-3);
  font-size: 14px;
  margin: 4px 0 14px;
  line-height: 1.5;
  min-height: 42px;
}
.price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 0 0 6px;
}
.amount {
  font-size: 44px;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  transition: opacity .25s;
}
.amount.swap { opacity: 0; }
.per {
  color: var(--muted);
  font-size: 14px;
}
.billed {
  font-size: 12px;
  color: var(--muted);
  margin: 0 0 16px;
  min-height: 18px;
  transition: opacity .25s;
}
.billed.swap { opacity: 0; }

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 13px 16px;
  border-radius: 12px;
  border: 1px solid var(--line-2);
  background: white;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  transition: all .15s;
}
.cta:hover { background: var(--bg-soft); border-color: var(--ink-3); }
.cta .arr {
  transition: transform .15s;
  display: inline-block;
}
.cta:hover .arr { transform: translateX(2px); }
.cta.primary {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
}
.cta.primary:hover {
  background: #2a2a2d;
  border-color: #2a2a2d;
}
.cta.ghost {
  background: var(--bg-mute);
  color: var(--muted);
  cursor: default;
  border-color: transparent;
}
.cta.ghost:hover { background: var(--bg-mute); }

/* ─── 7. MOCK PREVIEWS ─────────────────────────────────────────── */
.preview {
  background: linear-gradient(180deg, var(--bg-mute) 0%, var(--bg-soft) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 16px;
  position: relative;
  overflow: hidden;
}
.preview::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 10% 0%, rgba(255,255,255,.6), transparent 50%),
    radial-gradient(circle at 90% 100%, rgba(123,167,204,.04), transparent 50%);
  pointer-events: none;
}
.preview-label {
  font-size: 10px;
  letter-spacing: 0.22em;
  font-weight: 700;
  color: var(--muted);
  margin: 0 0 12px;
  position: relative;
}

.mock {
  background: white;
  border-radius: 10px;
  border: 1px solid var(--line-2);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  position: relative;
}
.mock-header,
.mock-browser {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 12px;
  background: linear-gradient(180deg, #f7f6f1, #eeece5);
  border-bottom: 1px solid var(--line-2);
}
.mock-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--line-strong);
}
.mock-dot.red { background: #ff5f57; box-shadow: inset 0 0 0 1px rgba(0,0,0,.06); }
.mock-dot.yellow { background: #febc2e; box-shadow: inset 0 0 0 1px rgba(0,0,0,.06); }
.mock-dot.green { background: #28c840; box-shadow: inset 0 0 0 1px rgba(0,0,0,.06); }
.mock-tab,
.mock-addr {
  margin-left: 8px;
  font-size: 11px;
  color: var(--ink-3);
  font-family: var(--mono);
  letter-spacing: -0.01em;
}
.mock-icon {
  margin-left: auto;
  font-size: 12px;
  color: var(--muted);
}
.mock-addr {
  background: white;
  border: 1px solid var(--line-2);
  border-radius: 6px;
  padding: 3px 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: 1;
  max-width: 220px;
  margin-left: 10px;
}
.mock-lock { color: var(--green); font-size: 8px; }

/* document mock (Free) */
.doc-body {
  padding: 0;
  background: var(--bg-deep);
  position: relative;
}
.doc-page {
  background: white;
  margin: 14px 14px 0;
  padding: 18px 18px 16px;
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(27, 42, 74, .06);
  position: relative;
  z-index: 2;
}
.doc-meta {
  font-size: 9px;
  letter-spacing: 0.18em;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 8px;
}
.doc-h1 {
  font-size: 18px;
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
}
.doc-sub {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 12px;
}
.doc-divide {
  height: 1px;
  background: var(--line);
  margin: 10px 0;
}
.doc-row {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  padding: 4px 0;
}
.doc-row span { color: var(--muted); }
.doc-row b {
  color: var(--ink);
  font-weight: 600;
}
.doc-recommend {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 10px;
  background: var(--green-soft);
  border-radius: 6px;
  margin-top: 6px;
}
.doc-recommend span {
  font-size: 9px;
  letter-spacing: 0.18em;
  color: #1f5d3e;
  font-weight: 700;
}
.doc-recommend b {
  font-size: 14px;
  color: var(--green);
  font-weight: 700;
  letter-spacing: 0.04em;
}
.doc-bar {
  margin-top: 10px;
  height: 4px;
  background: var(--bg-mute);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}
.doc-bar i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--green), #6fc99b);
  border-radius: 999px;
}
.doc-bar span {
  position: absolute;
  right: 0;
  top: -16px;
  font-size: 10px;
  color: var(--muted);
  font-weight: 600;
}
.doc-page-stack {
  height: 14px;
  margin: 0 14px;
  border-radius: 0 0 4px 4px;
  position: relative;
  z-index: 1;
}
.doc-page-stack::before,
.doc-page-stack::after {
  content: "";
  position: absolute;
  left: 4px; right: 4px;
  height: 4px;
  background: white;
  border-radius: 0 0 4px 4px;
  box-shadow: 0 1px 2px rgba(27, 42, 74, .04);
}
.doc-page-stack::before { top: 0; }
.doc-page-stack::after { top: 6px; left: 8px; right: 8px; }

/* website mock (Pro) */
.mock-site-body { background: white; }
.site-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(8px);
}
.site-logo {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.site-logo b { color: var(--gold); }
.site-links {
  display: flex;
  gap: 8px;
}
.site-links i {
  display: block;
  width: 22px; height: 4px;
  background: var(--bg-mute);
  border-radius: 2px;
}
.site-cta-mini {
  background: var(--ink);
  color: white;
  font-size: 10px;
  padding: 5px 10px;
  border-radius: 6px;
  font-weight: 600;
}
.site-hero {
  padding: 26px 16px 24px;
  text-align: center;
  background: linear-gradient(180deg, #fafaf8, #ffffff);
  position: relative;
  overflow: hidden;
}
.site-hero::before {
  content: "";
  position: absolute;
  top: -40px; right: -40px;
  width: 140px; height: 140px;
  background: radial-gradient(circle, rgba(123,167,204,.12), transparent 70%);
  border-radius: 50%;
}
.site-tag {
  display: inline-block;
  font-size: 8px;
  letter-spacing: 0.22em;
  font-weight: 700;
  color: var(--gold);
  background: rgba(123,167,204,.08);
  padding: 3px 8px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.site-h1 {
  font-size: 22px;
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.025em;
  margin-bottom: 8px;
  line-height: 1.05;
}
.site-sub {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 14px;
}
.site-cta-row {
  display: inline-flex;
  gap: 6px;
}
.site-btn {
  display: inline-block;
  padding: 7px 14px;
  background: var(--ink);
  color: white;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.site-btn.ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line-2);
}
.site-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 14px 16px;
  background: white;
}
.site-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  position: relative;
}
.card-img {
  display: block;
  width: 100%;
  height: 38px;
  border-radius: 4px;
}
.card-img.c1 { background: linear-gradient(135deg, #f0c775, #d99b3b); }
.card-img.c2 { background: linear-gradient(135deg, #a78bfa, #6d28d9); }
.card-img.c3 { background: linear-gradient(135deg, #f5a3a8, #c54a5a); }
.card-title {
  display: block;
  height: 6px;
  background: var(--bg-mute);
  border-radius: 999px;
  width: 70%;
}
.card-line {
  display: block;
  height: 4px;
  background: var(--bg-mute);
  border-radius: 999px;
  width: 90%;
  opacity: .7;
}
.card-line.short { width: 50%; }
.card-price {
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
  color: var(--ink);
  margin-top: 2px;
}
.site-foot {
  padding: 10px 16px 14px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border-top: 1px solid var(--line);
}
.stars {
  color: var(--gold);
  font-size: 11px;
  letter-spacing: 1px;
}
.reviews {
  font-size: 10px;
  color: var(--muted);
}
.reviews b { color: var(--ink); }

.deploy-badge {
  position: absolute;
  bottom: 24px; right: 24px;
  background: white;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  padding: 5px 10px 5px 8px;
  font-size: 10px;
  font-weight: 600;
  color: var(--ink-2);
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: var(--shadow-md);
}
.green-pulse {
  width: 6px; height: 6px;
  background: var(--green);
  border-radius: 50%;
  position: relative;
  display: inline-block;
}
.green-pulse::after {
  content: "";
  position: absolute; inset: -3px;
  border-radius: 50%;
  background: var(--green);
  opacity: .35;
  animation: ring-pulse 2s ease-out infinite;
}
@keyframes ring-pulse {
  0% { transform: scale(0.6); opacity: .5; }
  80%, 100% { transform: scale(1.6); opacity: 0; }
}

/* dashboard mock (Expert) */
.mock-stack {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.dash-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.dash-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
  display: block;
}
.dash-sub {
  font-size: 10px;
  color: var(--muted);
  display: block;
}
.dash-pulse {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--green-soft);
  color: #1f5d3e;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
}
.dash-pulse i {
  width: 6px; height: 6px;
  background: var(--green);
  border-radius: 50%;
  position: relative;
}
.dash-pulse i::after {
  content: "";
  position: absolute; inset: -2px;
  border-radius: 50%;
  background: var(--green);
  opacity: .4;
  animation: ring-pulse 2s ease-out infinite;
}
.dash-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.dash-card {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 78px;
}
.dash-card.wide { grid-column: span 2; }
.dash-label {
  font-size: 9px;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.04em;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 6px;
}
.dash-tag {
  background: var(--ink);
  color: white;
  padding: 2px 5px;
  border-radius: 3px;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.email-subj {
  font-size: 11px;
  color: var(--ink);
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
}
.email-meta {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 10px;
  color: var(--ink-3);
  margin-top: auto;
}
.email-meta b { color: var(--ink); font-weight: 700; }
.email-status {
  margin-left: auto;
  background: var(--green-soft);
  color: #1f5d3e;
  padding: 1px 6px;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 700;
}
.ad-strip {
  display: flex;
  gap: 4px;
  margin: 2px 0;
}
.ad-creative {
  flex: 1;
  height: 28px;
  border-radius: 3px;
}
.ad-creative.a1 { background: linear-gradient(135deg, #f0c775, #d97706); }
.ad-creative.a2 { background: linear-gradient(135deg, #a7f3d0, #059669); }
.ad-creative.a3 { background: linear-gradient(135deg, #f4c1d4, #be185d); }
.ads-meta {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: var(--ink-3);
}
.ads-meta b { color: var(--ink); font-weight: 700; }
.spark {
  width: 100%;
  height: 50px;
  display: block;
  color: var(--ink);
}
.spark-line {
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
  animation: drawSpark 1.6s ease-out forwards;
}
@keyframes drawSpark { to { stroke-dashoffset: 0; } }
.chart-meta {
  display: flex;
  gap: 14px;
  padding-top: 4px;
}
.chart-meta > div {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.chart-meta b {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.chart-meta b.up { color: var(--green); }
.chart-meta span {
  font-size: 9px;
  color: var(--muted);
}
.dash-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 6px;
  border-top: 1px dashed var(--line-2);
  font-size: 11px;
  color: var(--ink-2);
  font-weight: 600;
}
.dash-foot-r {
  color: var(--muted);
  font-weight: 500;
}
.dash-foot .arr { transition: transform .15s; }

/* ─── 8. AGENTS STACK ─────────────────────────────────────────── */
.agents {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.agents-label {
  font-size: 10px;
  letter-spacing: 0.18em;
  font-weight: 700;
  color: var(--muted);
}
.agents-stack {
  display: flex;
  flex-wrap: wrap;
}
.agent {
  width: 30px; height: 30px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  color: white;
  letter-spacing: 0.02em;
  margin-right: -6px;
  border: 2px solid white;
  cursor: default;
  transition: transform .15s;
  position: relative;
  z-index: 1;
}
.agent svg {
  width: 16px;
  height: 16px;
  color: white;
  pointer-events: none;
}
.agent.ceo   { background: var(--dep-ceo); }
.agent.strat { background: var(--dep-strat); }
.agent.fin   { background: var(--dep-fin); }
.agent.brand { background: var(--dep-brand); }
.agent.tech  { background: var(--dep-tech); }
.agent.mkt   { background: var(--dep-mkt); }
.agent.sales { background: var(--dep-sales); }
.agent.ops   { background: var(--dep-ops); }

/* AI aura — subtle color-matched glow INSIDE each Meet-your-team card.
   Radial fade from bottom, pulses slowly, stays out of the avatar/text path. */
.agent-card[data-dept="ceo"]   { --aura: var(--dep-ceo); }
.agent-card[data-dept="strat"] { --aura: var(--dep-strat); }
.agent-card[data-dept="fin"]   { --aura: var(--dep-fin); }
.agent-card[data-dept="brand"] { --aura: var(--dep-brand); }
.agent-card[data-dept="tech"]  { --aura: var(--dep-tech); }
.agent-card[data-dept="mkt"]   { --aura: var(--dep-mkt); }
.agent-card[data-dept="sales"] { --aura: var(--dep-sales); }
.agent-card[data-dept="ops"]   { --aura: var(--dep-ops); }

.agent-card { position: relative; isolation: isolate; }
.agent-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  /* Fallback for browsers without color-mix() (Safari <16.2): solid faint brand
     glow at low opacity. Modern browsers replace via color-mix() rule below. */
  background: radial-gradient(ellipse 90% 70% at 50% 110%, var(--aura, var(--brand)) 0%, transparent 65%);
  opacity: 0.18;
  pointer-events: none;
  z-index: -1;
  animation: ai-card-aura 4.2s ease-in-out infinite;
}
@supports (background: color-mix(in srgb, red, blue)) {
  .agent-card::after {
    background: radial-gradient(
      ellipse 90% 70% at 50% 110%,
      color-mix(in srgb, var(--aura, var(--brand)) 32%, transparent) 0%,
      transparent 65%
    );
    opacity: 1;
  }
}
@keyframes ai-card-aura {
  0%, 100% { opacity: 0.35; }
  50%      { opacity: 0.85; }
}
.agent-grid .agent-card:nth-child(1)::after { animation-delay: 0s; }
.agent-grid .agent-card:nth-child(2)::after { animation-delay: -0.5s; }
.agent-grid .agent-card:nth-child(3)::after { animation-delay: -1s; }
.agent-grid .agent-card:nth-child(4)::after { animation-delay: -1.5s; }
.agent-grid .agent-card:nth-child(5)::after { animation-delay: -2s; }
.agent-grid .agent-card:nth-child(6)::after { animation-delay: -2.5s; }
.agent-grid .agent-card:nth-child(7)::after { animation-delay: -3s; }
.agent-grid .agent-card:nth-child(8)::after { animation-delay: -3.5s; }
@media (prefers-reduced-motion: reduce) {
  .agent-card::after {
    animation: none;
    opacity: 0.5;
  }
}

/* ─── 9. INCLUDES LIST ───────────────────────────────────────── */
.includes {
  list-style: none;
  margin: 0;
  padding: 16px 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid var(--line);
}
.includes li {
  font-size: 14px;
  color: var(--ink-2);
  padding-left: 24px;
  position: relative;
  line-height: 1.5;
}
.includes li::before {
  content: "";
  position: absolute;
  left: 0; top: 6px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--green-soft);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'><path d='M3 7.5l2.5 2.5L11 4.5' stroke='%233f9d70' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-position: center;
  background-repeat: no-repeat;
}
.includes li b { color: var(--ink); font-weight: 600; }

/* ─── 10. COMPARE TABLE ───────────────────────────────────────── */
.compare {
  max-width: 980px;
  margin: 100px auto 80px;
  padding: 0 24px;
}
.compare-head {
  text-align: center;
  margin-bottom: 36px;
}
.compare-head h3 {
  font-size: clamp(28px, 3vw, 36px);
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.02em;
  margin: 8px 0 0;
}
.compare-wrap {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow-x: auto;
  box-shadow: var(--shadow-sm);
}
.compare table {
  width: 100%;
  min-width: 580px;
  border-collapse: collapse;
}
.compare th,
.compare td {
  padding: 14px 18px;
  text-align: left;
  font-size: 14px;
}
.compare th {
  font-weight: 700;
  color: var(--ink);
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  padding: 18px;
}
.compare th .ch {
  font-size: 13px;
  font-weight: 700;
}
.compare th .cp {
  display: inline-block;
  font-size: 11px;
  color: var(--muted);
  font-weight: 500;
  margin-top: 2px;
}
.compare th .cp i { font-style: normal; }
.compare th:not(:first-child),
.compare td:not(:first-child) {
  text-align: center;
  width: 130px;
}
.compare th.hl,
.compare td.hl {
  background: rgba(255, 250, 235, .5);
}
.compare th.hl {
  background: rgba(255, 248, 220, .9);
  box-shadow: inset 0 -1px 0 var(--gold);
}
.compare tbody tr {
  border-bottom: 1px solid var(--line);
  transition: background .12s;
}
.compare tbody tr:not(.grp):hover { background: var(--bg-soft); }
.compare tbody tr:last-child { border-bottom: 0; }
.compare tr.grp { background: var(--bg-mute); }
.compare tr.grp td {
  font-size: 11px;
  letter-spacing: 0.16em;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  padding: 10px 18px;
}
.compare td:first-child { color: var(--ink-2); }
.compare td.no {
  color: var(--muted);
  font-size: 18px;
  letter-spacing: -0.05em;
  font-weight: 400;
}

/* ─── 11. TOP-UP + AUTO-TOPUP ─────────────────────────────────── */
.topup {
  max-width: 1180px;
  margin: 100px auto 80px;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 20px;
}
.topup-card,
.autotopup {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 28px;
}
.topup-card {
  display: flex;
  flex-direction: column;
  gap: 22px;
  background: linear-gradient(180deg, #fffefb, white);
}
.topup-head h3 {
  font-size: 24px;
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.02em;
  margin: 8px 0 4px;
}
.muted-text {
  color: var(--muted);
  font-size: 13px;
  margin: 4px 0 0;
}
.topup-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.topup-pill {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas: "name price" "desc price";
  gap: 4px 12px;
  text-align: left;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--line-2);
  background: var(--bg-soft);
  transition: all .15s;
  align-items: center;
}
.topup-pill .t-name {
  grid-area: name;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}
.topup-pill .t-desc {
  grid-area: desc;
  font-size: 11px;
  color: var(--muted);
}
.topup-pill .t-price {
  grid-area: price;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
}

.autotopup {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.auto-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}
.auto-head h4 {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 4px;
  letter-spacing: -0.01em;
}
.auto-head p { margin: 0; }
.auto-body {
  background: var(--bg-soft);
  padding: 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
}
.cap-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 12px;
}
.cap-label {
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
}
.cap-value {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.cap-range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  background: var(--line-2);
  border-radius: 999px;
  outline: none;
  margin: 6px 0;
}
.cap-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px; height: 22px;
  background: var(--ink);
  border-radius: 50%;
  cursor: pointer;
  border: 3px solid white;
  box-shadow: var(--shadow-md);
}
.cap-range::-moz-range-thumb {
  width: 22px; height: 22px;
  background: var(--ink);
  border-radius: 50%;
  cursor: pointer;
  border: 3px solid white;
  box-shadow: var(--shadow-md);
}
.cap-ticks {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: var(--muted);
  margin-top: 8px;
  font-family: var(--mono);
}
.auto-foot {
  font-size: 12px;
  color: var(--muted);
  text-align: center;
  padding-top: 4px;
}
.auto-foot b { color: var(--ink); font-weight: 700; }

/* iOS-style switch */
.switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 26px;
  flex-shrink: 0;
}
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.slider {
  position: absolute;
  inset: 0;
  background: var(--line-2);
  border-radius: 999px;
  transition: .25s;
  cursor: pointer;
}
.slider::before {
  content: "";
  position: absolute;
  height: 20px; width: 20px;
  left: 3px; bottom: 3px;
  background: white;
  border-radius: 50%;
  transition: .25s cubic-bezier(.4,.0,.2,1);
  box-shadow: var(--shadow-sm);
}
.switch input:checked + .slider { background: var(--ink); }
.switch input:checked + .slider::before { transform: translateX(18px); }

/* ─── 12. FAQ ─────────────────────────────────────────────────── */
.faq {
  max-width: 720px;
  margin: 0 auto 100px;
  padding: 0 24px;
}
.faq-h3 {
  font-size: clamp(28px, 3vw, 36px);
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.02em;
  margin: 8px 0 28px;
  text-align: center;
}
.faq details {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 22px;
  margin-bottom: 10px;
  transition: all .2s;
}
.faq details:hover { border-color: var(--line-2); }
.faq details[open] {
  border-color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.faq summary {
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  width: 20px; height: 20px;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%238a98ab' stroke-width='2' stroke-linecap='round'><path d='M5 10h10M10 5v10'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  transition: transform .2s;
}
.faq details[open] summary::after {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%238a98ab' stroke-width='2' stroke-linecap='round'><path d='M5 10h10'/></svg>");
}
.faq details p {
  margin: 14px 0 0;
  color: var(--ink-3);
  font-size: 14.5px;
  line-height: 1.6;
}

/* ─── 13. BOTTOM CTA ─────────────────────────────────────────── */
.bottom-cta {
  position: relative;
  text-align: center;
  max-width: 720px;
  margin: 0 auto 80px;
  padding: 70px 24px;
  background: linear-gradient(180deg, var(--bg-soft) 0%, var(--bg-mute) 100%);
  border-radius: var(--radius-xl);
  overflow: hidden;
}
.bottom-cta h2 {
  font-size: clamp(32px, 4vw, 48px);
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.025em;
  margin: 8px 0 14px;
  line-height: 1.05;
  position: relative;
}
.bottom-cta h2 em::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 4px;
  height: 8px;
  background: var(--gold);
  opacity: .35;
  border-radius: 2px;
  z-index: -1;
}
.cta-sub {
  color: var(--ink-3);
  font-size: 16px;
  margin: 0 0 28px;
  position: relative;
}
.cta.primary.big {
  display: inline-flex;
  width: auto;
  padding: 16px 32px;
  font-size: 15px;
  border-radius: 14px;
  position: relative;
}
.cta-note {
  margin: 16px 0 0;
  font-size: 12px;
  color: var(--muted);
  position: relative;
}

/* ─── 14. FOOTER ─────────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--line);
  padding: 24px 32px;
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--muted);
}
.brand-foot {
  font-weight: 600;
  color: var(--ink-2);
}
.brand-foot .dot { color: var(--gold); }
.footer-links { display: flex; gap: 18px; }
.footer-links a {
  color: var(--muted);
  transition: color .15s;
}
.footer-links a:hover { color: var(--ink); }

/* ─── 15. REVEAL ANIMATIONS (JS-only) ─────────────────────────── */
html.js .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s ease, transform .6s ease;
}
html.js .reveal.in {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  html.js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ─── 16. MOBILE (consolidated) ──────────────────────────────── */
/* Hover effects only on devices that actually hover */
@media (hover: hover) {
  .plan:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
  }
  .plan.featured:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-6px);
  }
  .topup-pill:hover {
    border-color: var(--ink);
    background: white;
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
  }
  .cap-range::-webkit-slider-thumb:hover { transform: scale(1.15); }
}

@media (max-width: 1024px) {
  .topup { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav { padding: 6px 16px; gap: 10px; }
  .nav-center { display: none; }
  .hero { margin: 56px auto 40px; }
  .plans { grid-template-columns: 1fr; max-width: 480px; }
  .plan.featured { transform: none; }
  .topup-options { grid-template-columns: 1fr; }
  .compare th,
  .compare td { padding: 10px 12px; font-size: 13px; }
  .compare th:not(:first-child),
  .compare td:not(:first-child) { width: auto; padding: 12px 8px; }
}

@media (max-width: 540px) {
  .nav-cta-login { display: none; }
}

/* ───────────────────────────────────────────────────────────────
   17. MOBILE NAV (hamburger + drawer)
   ─────────────────────────────────────────────────────────────── */
.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: transparent;
  border: 1px solid var(--line);
  padding: 0;
  cursor: pointer;
  transition: background var(--motion-fast), border-color var(--motion-fast);
  -webkit-tap-highlight-color: transparent;
}
.nav-burger span {
  display: block;
  height: 2px;
  width: 18px;
  margin: 0 auto;
  background: var(--ink);
  border-radius: 999px;
  transition: transform .25s var(--ease-soft), opacity .15s var(--ease-soft);
}
.nav-burger:hover { background: var(--bg-soft); border-color: var(--line-2); }
.nav-burger:active { transform: scale(.96); }
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(.4); }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.nav-drawer {
  position: fixed;
  inset: 0;
  z-index: 60;
}
.nav-drawer[hidden] { display: none; }
.nav-drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(27,42,74,.32);
  backdrop-filter: saturate(150%) blur(8px);
  -webkit-backdrop-filter: saturate(150%) blur(8px);
  opacity: 0;
  animation: drawerFadeIn .22s var(--ease-soft) forwards;
}
.nav-drawer-panel {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: min(86vw, 380px);
  background: var(--bg);
  border-left: 1px solid var(--line);
  box-shadow: var(--shadow-xl);
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: max(env(safe-area-inset-top), 16px) 22px max(env(safe-area-inset-bottom), 24px);
  transform: translateX(100%);
  animation: drawerSlideIn .28s var(--ease-soft) forwards;
  overscroll-behavior: contain;
  overflow-y: auto;
}
@keyframes drawerFadeIn { to { opacity: 1; } }
@keyframes drawerSlideIn { to { transform: translateX(0); } }
.nav-drawer.closing .nav-drawer-backdrop { animation: drawerFadeOut .2s var(--ease-soft) forwards; }
.nav-drawer.closing .nav-drawer-panel { animation: drawerSlideOut .22s var(--ease-soft) forwards; }
@keyframes drawerFadeOut { to { opacity: 0; } }
@keyframes drawerSlideOut { to { transform: translateX(100%); } }

.nav-drawer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 10px;
  margin-bottom: 6px;
  border-bottom: 1px solid var(--line);
}
.nav-drawer-close {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink);
  cursor: pointer;
  transition: background var(--motion-fast);
  -webkit-tap-highlight-color: transparent;
}
.nav-drawer-close:hover { background: var(--bg-soft); }
.nav-drawer-close svg { width: 20px; height: 20px; }
.nav-drawer-links {
  display: flex;
  flex-direction: column;
  margin: 6px 0 16px;
}
.nav-drawer-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  padding: 14px 4px;
  border-bottom: 1px solid var(--line);
  letter-spacing: -0.01em;
  transition: color var(--motion-fast), padding-left var(--motion-fast);
  -webkit-tap-highlight-color: transparent;
  min-height: 48px;
}
.nav-drawer-links a::after {
  content: "›";
  color: var(--muted);
  font-weight: 400;
  font-size: 22px;
  line-height: 1;
}
.nav-drawer-links a:hover { color: var(--brand-deep); padding-left: 8px; }
.nav-drawer-links a:last-child { border-bottom: 0; }
.nav-drawer-cta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.nav-drawer-cta .cta {
  padding: 14px 16px;
  font-size: 15px;
  min-height: 48px;
}

/* Show burger / hide center nav on mobile */
@media (max-width: 768px) {
  .nav-burger { display: inline-flex; }
  .nav-cta-signup { display: none; }
}

/* ───────────────────────────────────────────────────────────────
   18. STICKY MOBILE CTA BAR
   ─────────────────────────────────────────────────────────────── */
.mobile-cta-bar {
  display: none;
  position: fixed;
  left: 12px; right: 12px;
  bottom: max(env(safe-area-inset-bottom), 12px);
  z-index: 40;
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-xl);
  padding: 10px 12px 10px 16px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  opacity: 0;
  transform: translateY(140%);
  transition: opacity .25s var(--ease-soft), transform .35s var(--ease-soft);
  pointer-events: none;
}
.mobile-cta-bar[hidden] { display: none !important; }
.mobile-cta-bar.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.mcb-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.mcb-text b {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.mcb-text span {
  font-size: 12px;
  color: var(--muted);
}
.mcb-btn {
  width: auto;
  white-space: nowrap;
  padding: 12px 18px;
  min-height: 44px;
  font-size: 14px;
  flex-shrink: 0;
}
@media (max-width: 768px) {
  .mobile-cta-bar { display: flex; }
  body.mcb-active { padding-bottom: 88px; }
}

/* ───────────────────────────────────────────────────────────────
   19. MOBILE COMPARE CARDS (pricing.html)
   ─────────────────────────────────────────────────────────────── */
.compare-mobile { display: none; }
@media (max-width: 768px) {
  .compare-wrap { display: none; }
  .compare-mobile {
    display: grid;
    gap: 14px;
  }
}
.cmp-tier {
  position: relative;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 22px 20px;
  box-shadow: var(--shadow-sm);
}
.cmp-tier.featured {
  border-color: var(--ink);
  box-shadow: var(--shadow-md);
  background: linear-gradient(180deg, #fffefb 0%, #ffffff 30%);
}
.cmp-tier-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--line);
  margin-bottom: 12px;
}
.cmp-tier-head .tier { margin: 0; }
.cmp-tier-price {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin: 0;
  font-variant-numeric: tabular-nums;
}
.cmp-tier-price span {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  margin-left: 2px;
}
.cmp-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.cmp-list li {
  font-size: 14px;
  color: var(--ink-2);
  padding: 6px 0 6px 24px;
  position: relative;
  line-height: 1.45;
}
.cmp-list li:not(.cmp-grp)::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--green-soft);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'><path d='M3 7.5l2.5 2.5L11 4.5' stroke='%233f9d70' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-position: center;
  background-repeat: no-repeat;
}
.cmp-list li.cmp-grp {
  font-size: 11px;
  letter-spacing: 0.16em;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  padding: 14px 0 4px;
  border-top: 1px solid var(--line);
  margin-top: 8px;
}
.cmp-list li.cmp-grp:first-child {
  border-top: 0;
  padding-top: 0;
  margin-top: 0;
}
.cmp-tier .plan-flag {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ink);
  color: white;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  padding: 6px 12px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
}

/* ───────────────────────────────────────────────────────────────
   20. 2026 POLISH (text-wrap, accent-color, safe-area, tap targets)
   ─────────────────────────────────────────────────────────────── */
:root { accent-color: var(--ink); }

/* Modern text wrapping — keeps headlines balanced, body readable */
h1, h2, h3, h4, .pricing-h1, .hero-h1, .section-h2, .cta-h2, .faq-h3 {
  text-wrap: balance;
}
.lede, .hero-lede, .cta-sub, .feature-copy p, .how-step p {
  text-wrap: pretty;
}

/* Footer respects iPhone home-bar */
footer {
  padding-bottom: max(env(safe-area-inset-bottom), 24px);
  flex-wrap: wrap;
  gap: 12px;
}

/* Min-44px tap targets on touch */
@media (hover: none) and (pointer: coarse) {
  .cta, .hp-cta, .nav-cta-login, .nav-cta-signup,
  .pill, .cat-tab, .topup-pill, .nav-drawer-links a,
  .how-yes, .how-no, .agent-card, .example-card {
    min-height: 44px;
  }
  /* chat-send is a fixed-size circular icon button — keep it square so border-radius:50% stays a circle */
  .chat-send { width: 44px; height: 44px; }
  /* No hover-state CSS that depends on hover (covered by @media (hover: hover)) */
  /* Soft press feedback for mobile */
  .cta:active, .hp-cta:active, .pill:active, .cat-tab:active,
  .topup-pill:active, .nav-cta-signup:active, .agent-card:active,
  .example-card:active, .nav-drawer-links a:active {
    transform: scale(.985);
  }
}

/* Focus rings — modern, accessible */
:where(a, button, input, textarea, select, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--brand-deep);
  outline-offset: 2px;
  border-radius: 6px;
}
.cta:focus-visible, .hp-cta:focus-visible {
  outline-offset: 3px;
}

/* Lock body scroll when drawer open */
body.drawer-open {
  overflow: hidden;
  touch-action: none;
}

/* ───────────────────────────────────────────────────────────────
   21. FINE-GRAINED MOBILE (≤540px small phones)
   ─────────────────────────────────────────────────────────────── */
@media (max-width: 540px) {
  .nav { padding: 12px 14px; gap: 8px; }
  .brand { font-size: 16px; }
  .brand-icon { width: 16px; height: 16px; }

  .hero { margin: 36px auto 28px; padding: 0 18px; }
  .pricing-h1 { font-size: clamp(34px, 9vw, 48px); }
  .lede { font-size: 16px; margin-bottom: 28px; }

  .plans-v3, .plans, .hp-cards { padding: 0 16px; gap: 14px; }
  .plan-v3, .plan, .hp-card { border-radius: var(--radius-lg); }
  .pv3-info { padding: 18px 18px 18px; gap: 12px; }
  .pv3-mock { height: 220px; padding: 14px 14px 0; }
  .pv3-name { font-size: 22px; }
  .pv3-amount { font-size: 28px; }

  /* Natural reading order on mobile: Free → Pro → Expert (no reorder) */

  .compare { margin: 56px auto 48px; padding: 0 16px; }
  .topup { margin: 56px auto 48px; padding: 0 16px; }
  .topup-card, .autotopup { padding: 22px 18px; border-radius: var(--radius-lg); }

  .faq { padding: 0 16px; margin-bottom: 64px; }
  .faq details { padding: 16px 18px; }
  .faq summary { font-size: 14.5px; gap: 12px; }

  .bottom-cta { margin: 0 16px 40px; padding: 52px 22px; border-radius: var(--radius-lg); }
  .bottom-cta h2 { font-size: clamp(28px, 7vw, 38px); }
  .cta.primary.big { padding: 14px 26px; font-size: 14.5px; min-height: 48px; }

  footer {
    padding: 20px 16px max(env(safe-area-inset-bottom), 20px);
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }
  .footer-links { gap: 14px; }

  .agents-stack .agent { width: 26px; height: 26px; font-size: 9px; }
}
