/* ============================================================
   Floating Translation — landing page
   Soft Lavender system, extended from the extension theme
   ============================================================ */

:root {
  /* ── Color (OKLCH, anchored to extension hex identity) ── */
  --void:        oklch(0.17 0.03 295);   /* deepest bg  ~#16121f */
  --bg:          oklch(0.21 0.04 295);   /* page bg     ~#1e1a2e */
  --surface:     oklch(0.27 0.045 293);  /* cards       ~#2d2640 */
  --surface-2:   oklch(0.32 0.05 292);   /* raised      ~#3a3350 */
  --border:      oklch(0.38 0.05 290);   /* hairlines   ~#4e4668 */
  --border-soft: oklch(0.30 0.04 292 / 0.6);

  --accent:      oklch(0.74 0.15 295);   /* lavender    ~#a78bfa */
  --accent-bright: oklch(0.82 0.12 296); /*             ~#c4b5fd */
  --accent-deep: oklch(0.58 0.17 293);
  --accent-ink:  oklch(0.20 0.04 295);   /* text on accent */

  --ink:    oklch(0.96 0.012 300);       /* headings    ~#f1eeff */
  --body:   oklch(0.86 0.025 295);       /* paragraphs  high-contrast */
  --muted:  oklch(0.70 0.03 293);        /* secondary   ~#a09ab8 */
  --faint:  oklch(0.64 0.03 293);        /* tertiary, still ≥4.5:1 on --bg */

  --good:   oklch(0.80 0.15 155);
  --warn:   oklch(0.78 0.15 70);

  /* ── Type ── */
  --font-display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", monospace;

  --text-xs:  0.78rem;
  --text-sm:  0.9rem;
  --text-base: 1rem;
  --text-lg:  1.2rem;
  --text-xl:  1.5rem;
  --text-2xl: 1.95rem;
  --text-3xl: clamp(2.1rem, 5vw, 3.3rem);
  --text-hero: clamp(2.6rem, 6.4vw, 4.6rem);

  /* ── Space ── */
  --s-1: 0.25rem;  --s-2: 0.5rem;   --s-3: 0.75rem;  --s-4: 1rem;
  --s-5: 1.5rem;   --s-6: 2rem;     --s-7: 3rem;     --s-8: 4rem;
  --s-9: 6rem;     --s-10: 8rem;

  /* ── Radii ── */
  --r-sm: 8px;  --r-md: 12px;  --r-lg: 16px;  --r-pill: 999px;

  /* ── Elevation (defined shadows, dark-tuned) ── */
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.35);
  --shadow-md: 0 12px 32px rgba(0,0,0,0.45);
  --shadow-lg: 0 28px 70px rgba(0,0,0,0.55);
  --glow: 0 0 0 1px oklch(0.74 0.15 295 / 0.35), 0 14px 44px oklch(0.58 0.17 293 / 0.30);

  /* ── Z-index scale ── */
  --z-bg: 0;  --z-base: 1;  --z-raised: 10;  --z-nav: 100;  --z-overlay: 200;

  /* ── Motion ── */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-soft: cubic-bezier(0.33, 1, 0.68, 1);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: var(--bg);
  color: var(--body);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.05;
  letter-spacing: -0.025em;
  text-wrap: balance;
  font-weight: 700;
}
p { text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
::selection { background: oklch(0.74 0.15 295 / 0.35); color: var(--ink); }

/* ── Layout helpers ── */
.wrap { width: min(1140px, 100% - 2.5rem); margin-inline: auto; }
.section { padding-block: clamp(4rem, 9vw, 7.5rem); position: relative; z-index: var(--z-base); }
.section-head { max-width: 40ch; margin-bottom: var(--s-7); }
.section-head h2 { font-size: var(--text-3xl); }
.section-head p { margin-top: var(--s-4); color: var(--muted); font-size: var(--text-lg); }
.lead { font-size: var(--text-lg); color: var(--body); }
.label {
  display: inline-flex; align-items: center; gap: 0.5em;
  font-family: var(--font-mono); font-size: var(--text-xs);
  color: var(--accent-bright); letter-spacing: 0.04em;
  padding: 0.3em 0.7em; border-radius: var(--r-pill);
  background: oklch(0.74 0.15 295 / 0.1);
  border: 1px solid oklch(0.74 0.15 295 / 0.25);
}

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
  font-family: var(--font-body); font-weight: 600; font-size: var(--text-base);
  padding: 0.85em 1.5em; border-radius: var(--r-md); cursor: pointer;
  border: 1px solid transparent; white-space: nowrap;
  transition: transform 0.2s var(--ease-out), background 0.2s var(--ease-out),
              box-shadow 0.3s var(--ease-out), border-color 0.2s var(--ease-out);
}
.btn-primary {
  background: var(--accent); color: var(--accent-ink);
  box-shadow: 0 10px 30px oklch(0.58 0.17 293 / 0.35);
}
.btn-primary:hover { background: var(--accent-bright); transform: translateY(-2px);
  box-shadow: 0 16px 40px oklch(0.58 0.17 293 / 0.5); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--border); }
.btn-ghost:hover { background: var(--surface); border-color: var(--accent); transform: translateY(-2px); }
.btn-chrome { background: #fff; color: #1a1a2e; border-color: transparent; box-shadow: 0 10px 30px rgba(0,0,0,0.25); }
.btn-chrome svg { width: 1.2em; height: 1.2em; fill: #4285F4; }
.btn-chrome:hover { background: #f0f0f0; transform: translateY(-2px); box-shadow: 0 16px 40px rgba(0,0,0,0.35); }
.btn-lg { padding: 1em 1.8em; font-size: var(--text-lg); }
.btn svg { width: 1.1em; height: 1.1em; }

/* ============================================================
   Background canvas
   ============================================================ */
#bg-canvas {
  position: fixed; inset: 0; width: 100%; height: 100%;
  z-index: var(--z-bg); pointer-events: none;
  opacity: 0.9;
}
/* radial vignette so content stays readable over drifting glyphs */
.bg-veil {
  position: fixed; inset: 0; z-index: var(--z-bg); pointer-events: none;
  background:
    radial-gradient(80% 55% at 50% 0%, oklch(0.30 0.08 295 / 0.55), transparent 70%),
    radial-gradient(120% 80% at 50% 100%, var(--void), transparent 60%);
}

/* ============================================================
   Nav
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: var(--z-nav);
  transition: background 0.3s var(--ease-out), border-color 0.3s var(--ease-out), backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: oklch(0.21 0.04 295 / 0.72);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border-bottom-color: var(--border-soft);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 0.6em; font-family: var(--font-display);
  font-weight: 700; font-size: 1.1rem; color: var(--ink); letter-spacing: -0.02em; white-space: nowrap; }
.brand .mark { width: 30px; height: 30px; border-radius: 9px; flex-shrink: 0;
  box-shadow: 0 4px 14px oklch(0.58 0.17 293 / 0.5); }
.nav-links { display: flex; align-items: center; gap: var(--s-6); }
.nav-links a.nav-link { color: var(--muted); font-size: var(--text-sm); font-weight: 500;
  transition: color 0.18s; }
.nav-links a.nav-link:hover { color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: var(--s-4); }
@media (max-width: 820px) {
  .nav-links .nav-link { display: none; }
}
@media (max-width: 440px) {
  .brand { font-size: 0.98rem; }
  .brand .mark { width: 26px; height: 26px; }
  .nav-cta .btn { padding: 0.7em 1.1em; font-size: 0.9rem; }
}

/* ============================================================
   Hero
   ============================================================ */
.hero { position: relative; padding-top: clamp(3rem, 8vw, 6rem); padding-bottom: clamp(3rem, 7vw, 5rem); }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
@media (max-width: 940px) { .hero-grid { grid-template-columns: 1fr; gap: 3rem; } }

.hero h1 { font-size: var(--text-hero); font-weight: 800; letter-spacing: -0.03em; }
.hero h1 .accent { color: var(--accent-bright); }
.hero-sub { margin-top: var(--s-5); font-size: var(--text-lg); color: var(--body); max-width: 46ch; }
.hero-cta { margin-top: var(--s-6); display: flex; gap: var(--s-4); flex-wrap: wrap; }
.hero-trust { margin-top: var(--s-5); display: flex; align-items: center; gap: var(--s-4);
  color: var(--faint); font-size: var(--text-sm); flex-wrap: wrap; }
.hero-trust .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--faint); }

/* drifting language code chips under hero copy */
.lang-ticker { margin-top: var(--s-6); display: flex; gap: 0.5rem; flex-wrap: wrap; max-width: 44ch; }
.lang-ticker .code {
  font-family: var(--font-mono); font-size: var(--text-xs); color: var(--muted);
  padding: 0.25em 0.6em; border-radius: var(--r-pill);
  border: 1px solid var(--border-soft); background: oklch(0.27 0.045 293 / 0.5);
}

/* ── Hero product mock (floating translator) ── */
.hero-mock { position: relative; }
.translator-card {
  background: oklch(0.23 0.04 295 / 0.85);
  border: 1px solid var(--border);
  border-radius: var(--r-lg); box-shadow: var(--shadow-lg);
  backdrop-filter: blur(8px); overflow: hidden;
  max-width: 380px; margin-inline: auto;
}
.tc-head { display: flex; align-items: center; justify-content: space-between;
  padding: 0.8rem 1rem; background: oklch(0.27 0.045 293 / 0.7);
  border-bottom: 1px solid var(--border-soft); }
.tc-head .title { font-family: var(--font-display); font-weight: 700; font-size: 0.9rem; color: var(--accent-bright); }
.tc-dots { display: flex; gap: 5px; }
.tc-dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--border); display: block; }
.tc-body { padding: 1rem; display: flex; flex-direction: column; gap: 0.7rem; }
.tc-langrow { display: flex; align-items: center; gap: 0.5rem; }
.tc-lang { flex: 1; font-family: var(--font-mono); font-size: var(--text-sm); color: var(--body);
  background: var(--surface); border: 1px solid var(--border-soft); border-radius: var(--r-sm);
  padding: 0.5em 0.7em; }
.tc-swap { width: 34px; height: 34px; flex-shrink: 0; border-radius: var(--r-sm);
  border: 1px solid var(--border-soft); background: var(--surface); color: var(--accent);
  display: grid; place-items: center; cursor: pointer; transition: transform 0.4s var(--ease-out), background 0.2s; }
.tc-swap:hover { background: var(--surface-2); transform: rotate(180deg); }
.tc-input { background: var(--surface); border: 1px solid var(--border-soft); border-radius: var(--r-sm);
  padding: 0.7em 0.8em; min-height: 58px; color: var(--body); font-size: var(--text-sm); }
.tc-output { background: oklch(0.74 0.15 295 / 0.1); border: 1px solid oklch(0.74 0.15 295 / 0.25);
  border-radius: var(--r-sm); padding: 0.7em 0.8em; min-height: 58px; color: var(--ink); font-size: var(--text-base); }
.tc-output .detected { display: block; margin-top: 0.4em; font-family: var(--font-mono);
  font-size: var(--text-xs); color: var(--accent-bright); }
.tc-caret { display: inline-block; width: 2px; height: 1.05em; background: var(--accent);
  vertical-align: text-bottom; margin-left: 1px; animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* floating accent orbs around hero mock */
.hero-mock .orb { position: absolute; border-radius: 50%; filter: blur(40px); z-index: -1; opacity: 0.6; }
.hero-mock .orb.a { width: 180px; height: 180px; background: oklch(0.58 0.17 293 / 0.6); top: -30px; right: -20px; }
.hero-mock .orb.b { width: 150px; height: 150px; background: oklch(0.7 0.13 320 / 0.4); bottom: -30px; left: -10px; }

/* ============================================================
   "Any site" demo
   ============================================================ */
.demo-browser {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-md);
  position: relative;
}
.db-bar { display: flex; align-items: center; gap: 0.8rem; padding: 0.7rem 1rem;
  background: oklch(0.24 0.04 294); border-bottom: 1px solid var(--border-soft); }
.db-traffic { display: flex; gap: 6px; }
.db-traffic i { width: 11px; height: 11px; border-radius: 50%; background: var(--border); display: block; }
.db-url { flex: 1; font-family: var(--font-mono); font-size: var(--text-xs); color: var(--muted);
  background: var(--bg); border: 1px solid var(--border-soft); border-radius: var(--r-pill);
  padding: 0.4em 0.9em; }
.db-viewport { position: relative; padding: 1.6rem; min-height: 280px;
  background:
    linear-gradient(oklch(0.22 0.04 295), oklch(0.22 0.04 295)) padding-box; }
.db-article { max-width: 52ch; color: var(--muted); }
.db-article h4 { color: var(--ink); font-size: var(--text-xl); margin-bottom: 0.5rem; }
.db-article p { margin-bottom: 0.8rem; font-size: var(--text-sm); line-height: 1.7; }
.db-article .typed-host { color: var(--body); }

/* floating button on the demo */
.float-btn {
  position: absolute; bottom: 18px; right: 18px; width: 50px; height: 50px;
  border-radius: 50%; background: var(--accent); display: grid; place-items: center;
  box-shadow: 0 8px 22px oklch(0.58 0.17 293 / 0.55); z-index: 3; cursor: pointer;
  transition: transform 0.2s var(--ease-out);
}
.float-btn:hover { transform: scale(1.08); }
.float-btn svg { width: 24px; height: 24px; fill: #fff; }
.float-btn .pulse { position: absolute; inset: 0; border-radius: 50%;
  box-shadow: 0 0 0 0 oklch(0.74 0.15 295 / 0.5); animation: pulse 2.4s var(--ease-out) infinite; }
@keyframes pulse { to { box-shadow: 0 0 0 18px oklch(0.74 0.15 295 / 0); } }

/* translation popup that slides in */
.demo-popup {
  position: absolute; bottom: 82px; right: 18px; width: min(280px, 70%);
  background: var(--bg); border: 1px solid var(--accent); border-radius: var(--r-md);
  box-shadow: var(--glow); z-index: 4; overflow: hidden;
  opacity: 0; transform: translateY(10px) scale(0.97); pointer-events: none;
  transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}
.demo-popup.show { opacity: 1; transform: none; }
.dp-head { padding: 0.55rem 0.8rem; background: oklch(0.27 0.045 293 / 0.8);
  font-family: var(--font-display); font-size: 0.8rem; font-weight: 700; color: var(--accent-bright);
  border-bottom: 1px solid var(--border-soft); }
.dp-body { padding: 0.8rem; }
.dp-body .out { color: var(--ink); font-size: var(--text-base); }
.dp-body .det { margin-top: 0.45rem; font-family: var(--font-mono); font-size: var(--text-xs); color: var(--accent-bright); }

/* feature row beside the browser */
.demo-split { display: grid; grid-template-columns: 1fr 0.85fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: center; }
@media (max-width: 900px) { .demo-split { grid-template-columns: 1fr; } }
.feature-list { display: flex; flex-direction: column; gap: var(--s-5); }
.feature-item { display: flex; gap: var(--s-4); }
.feature-item .fi-icon { width: 42px; height: 42px; flex-shrink: 0; border-radius: var(--r-md);
  background: oklch(0.74 0.15 295 / 0.12); border: 1px solid oklch(0.74 0.15 295 / 0.25);
  display: grid; place-items: center; color: var(--accent-bright); }
.feature-item .fi-icon svg { width: 20px; height: 20px; }
.feature-item h3 { font-size: var(--text-lg); margin-bottom: 0.25rem; }
.feature-item p { color: var(--muted); font-size: var(--text-sm); }

/* ============================================================
   WhatsApp section
   ============================================================ */
.wa-split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (max-width: 900px) { .wa-split { grid-template-columns: 1fr; } }

.wa-phone {
  max-width: 360px; margin-inline: auto; width: 100%;
  background: oklch(0.16 0.02 285); border: 1px solid var(--border);
  border-radius: 26px; padding: 0.5rem; box-shadow: var(--shadow-lg);
}
.wa-screen { background: oklch(0.13 0.015 285); border-radius: 20px; overflow: hidden; }
.wa-top { display: flex; align-items: center; gap: 0.7rem; padding: 0.9rem 1rem;
  background: oklch(0.22 0.03 200); }
.wa-avatar { width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep)); flex-shrink: 0; }
.wa-top .who { font-weight: 600; color: #eaf3f0; font-size: var(--text-sm); }
.wa-top .who span { display: block; font-size: var(--text-xs); color: oklch(0.7 0.03 200); font-weight: 400; }
.wa-body { padding: 1rem 0.85rem; display: flex; flex-direction: column; gap: 0.7rem;
  min-height: 360px;
  background-image: radial-gradient(oklch(0.2 0.02 285 / 0.5) 1px, transparent 1px);
  background-size: 18px 18px; }
.bubble { max-width: 80%; padding: 0.55rem 0.75rem; border-radius: 12px; font-size: var(--text-sm);
  line-height: 1.45; position: relative; }
.bubble.in { align-self: flex-start; background: var(--surface); color: var(--body);
  border-bottom-left-radius: 4px; }
.bubble.out { align-self: flex-end; background: oklch(0.42 0.07 160); color: #eaf7f0;
  border-bottom-right-radius: 4px; }
.bubble .wa-tr { display: block; margin-top: 0.45rem; padding-top: 0.45rem;
  border-top: 1px solid oklch(0.74 0.15 295 / 0.3); color: var(--accent-bright); font-size: 0.82rem; }
/* voice bubble */
.bubble.voice { display: flex; align-items: center; gap: 0.6rem; min-width: 200px; }
.v-play { width: 30px; height: 30px; border-radius: 50%; background: var(--accent); flex-shrink: 0;
  display: grid; place-items: center; cursor: pointer; }
.v-play svg { width: 14px; height: 14px; fill: #fff; margin-left: 2px; }
.v-wave { flex: 1; display: flex; align-items: center; gap: 2px; height: 22px; }
.v-wave i { flex: 1; background: var(--faint); border-radius: 2px; display: block;
  height: 30%; }
.v-time { font-family: var(--font-mono); font-size: 0.7rem; color: var(--faint); }

/* voice translation popup (overlay on phone) */
.wa-voicepop { margin-top: 0.4rem; align-self: flex-start; max-width: 88%;
  background: var(--bg); border: 1px solid var(--accent); border-radius: var(--r-md);
  box-shadow: var(--glow); overflow: hidden;
  opacity: 0; max-height: 0; transition: opacity 0.4s var(--ease-out), max-height 0.5s var(--ease-out); }
.wa-voicepop.show { opacity: 1; max-height: 200px; }
.wa-voicepop .vp-head { padding: 0.45rem 0.7rem; font-family: var(--font-display);
  font-size: 0.72rem; font-weight: 700; color: var(--accent-bright); letter-spacing: 0.03em;
  background: oklch(0.27 0.045 293 / 0.7); }
.wa-voicepop .vp-body { padding: 0.6rem 0.7rem; }
.wa-voicepop .vp-trans { color: var(--muted); font-size: 0.78rem; font-style: italic; margin-bottom: 0.35rem; }
.wa-voicepop .vp-out { color: var(--ink); font-size: var(--text-sm); }

/* ============================================================
   Languages section
   ============================================================ */
.lang-panel {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg);
  box-shadow: var(--shadow-md); overflow: hidden; max-width: 560px; margin-inline: auto;
}
.lp-search { display: flex; align-items: center; gap: 0.6rem; padding: 0.9rem 1.1rem;
  border-bottom: 1px solid var(--border-soft); background: oklch(0.24 0.04 294); }
.lp-search svg { width: 18px; height: 18px; color: var(--muted); flex-shrink: 0; }
.lp-search input { flex: 1; background: none; border: none; outline: none; color: var(--ink);
  font-family: var(--font-body); font-size: var(--text-base); }
.lp-search input::placeholder { color: var(--faint); }
.lp-count { font-family: var(--font-mono); font-size: var(--text-xs); color: var(--accent-bright);
  white-space: nowrap; }
.lp-list { max-height: 320px; overflow-y: auto; padding: 0.5rem; display: grid;
  grid-template-columns: 1fr 1fr; gap: 0.25rem; scrollbar-width: thin;
  scrollbar-color: var(--border) transparent; }
@media (max-width: 520px) { .lp-list { grid-template-columns: 1fr; } }
.lp-list::-webkit-scrollbar { width: 8px; }
.lp-list::-webkit-scrollbar-thumb { background: var(--border); border-radius: 8px; }
.lp-item { display: flex; align-items: center; justify-content: space-between;
  padding: 0.5rem 0.7rem; border-radius: var(--r-sm); transition: background 0.15s; }
.lp-item:hover { background: var(--surface-2); }
.lp-item .name { color: var(--body); font-size: var(--text-sm); }
.lp-item .code { font-family: var(--font-mono); font-size: var(--text-xs); color: var(--faint); }
.lp-empty { grid-column: 1 / -1; text-align: center; color: var(--muted); padding: 2rem; font-size: var(--text-sm); }

/* ============================================================
   Why / value section  (asymmetric, not identical cards)
   ============================================================ */
.value-grid {
  display: grid; gap: var(--s-5);
  grid-template-columns: repeat(6, 1fr);
}
@media (max-width: 820px) { .value-grid { grid-template-columns: 1fr; } }
.vcard { background: var(--surface); border: 1px solid var(--border-soft); border-radius: var(--r-lg);
  padding: clamp(1.5rem, 3vw, 2.2rem); position: relative; overflow: hidden; }
.vcard h3 { font-size: var(--text-xl); margin-bottom: 0.6rem; }
.vcard p { color: var(--muted); font-size: var(--text-sm); }
.vcard .big { font-family: var(--font-display); font-weight: 800; color: var(--accent-bright);
  font-size: clamp(2.4rem, 5vw, 3.4rem); line-height: 1; letter-spacing: -0.04em; margin-bottom: 0.4rem; }
.vcard.span-3 { grid-column: span 3; }
.vcard.span-2 { grid-column: span 2; }
.vcard.span-4 { grid-column: span 4; }
@media (max-width: 820px) { .vcard.span-2, .vcard.span-3, .vcard.span-4 { grid-column: 1; } }
.vcard .v-ico { width: 40px; height: 40px; border-radius: var(--r-md); margin-bottom: 1rem;
  background: oklch(0.74 0.15 295 / 0.12); border: 1px solid oklch(0.74 0.15 295 / 0.25);
  display: grid; place-items: center; color: var(--accent-bright); }
.vcard .v-ico svg { width: 20px; height: 20px; }

/* ============================================================
   Pricing
   ============================================================ */
.price-wrap { display: grid; grid-template-columns: 1fr 1.1fr; gap: var(--s-5); max-width: 820px;
  margin-inline: auto; align-items: stretch; }
@media (max-width: 760px) { .price-wrap { grid-template-columns: 1fr; } }
.price-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: clamp(1.8rem, 4vw, 2.6rem); display: flex; flex-direction: column; }
.price-card.pro { border-color: var(--accent); box-shadow: var(--glow); position: relative; }
.price-card .tier { font-family: var(--font-display); font-weight: 700; font-size: var(--text-lg); color: var(--ink); }
.price-card .tag { position: absolute; top: 1.3rem; right: 1.3rem; font-family: var(--font-mono);
  font-size: var(--text-xs); color: var(--accent-ink); background: var(--accent);
  padding: 0.25em 0.7em; border-radius: var(--r-pill); }
.price-amount { margin: 1rem 0 0.3rem; display: flex; align-items: baseline; gap: 0.3rem; }
.price-amount .num { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.6rem, 6vw, 3.4rem);
  color: var(--ink); letter-spacing: -0.04em; }
.price-amount .per { color: var(--muted); font-size: var(--text-sm); }
.price-note { color: var(--muted); font-size: var(--text-sm); margin-bottom: 1.4rem; }
.price-feats { list-style: none; display: flex; flex-direction: column; gap: 0.7rem; margin-bottom: 1.6rem; flex: 1; }
.price-feats li { display: flex; gap: 0.6rem; align-items: flex-start; color: var(--body); font-size: var(--text-sm); }
.price-feats li svg { width: 18px; height: 18px; color: var(--accent); flex-shrink: 0; margin-top: 1px; }
.price-card .btn { width: 100%; }

/* ============================================================
   Final CTA + footer
   ============================================================ */
.final-cta { text-align: center; padding-block: clamp(4rem, 9vw, 7rem); }
.final-cta h2 { font-size: var(--text-3xl); max-width: 18ch; margin-inline: auto; }
.final-cta p { margin: var(--s-4) auto var(--s-6); color: var(--muted); max-width: 50ch; font-size: var(--text-lg); }

.footer { border-top: 1px solid var(--border-soft); padding-block: var(--s-7); color: var(--faint); font-size: var(--text-sm); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--s-5); flex-wrap: wrap; }
.footer a:hover { color: var(--accent-bright); }
.footer .brand { font-size: 1rem; }

/* ============================================================
   Reveal motion — enhances an already-visible default
   (only active when html.js-anim is present, i.e. JS ran and
    reduced-motion is NOT requested)
   ============================================================ */
html.js-anim .reveal { opacity: 0; transform: translateY(22px); }
html.js-anim .reveal.in {
  opacity: 1; transform: none;
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
html.js-anim .reveal-stagger > * { opacity: 0; transform: translateY(18px); }
html.js-anim .reveal-stagger.in > * {
  opacity: 1; transform: none;
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
html.js-anim .reveal-stagger.in > *:nth-child(2) { transition-delay: 0.08s; }
html.js-anim .reveal-stagger.in > *:nth-child(3) { transition-delay: 0.16s; }
html.js-anim .reveal-stagger.in > *:nth-child(4) { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  .float-btn .pulse, .tc-caret { animation: none; }
  .btn:hover, .btn-primary:hover, .btn-ghost:hover { transform: none; }
}
