/* ==========================================================================
   ZeekFox Media — product site v3
   Minimal light UI with a violet accent: thin borders, pill buttons,
   generous whitespace, soft top-of-page gradient wash.
   Layout geometry is unchanged from v2 — only the visual skin is new.
   ========================================================================== */

/* --- Tokens ------------------------------------------------------------- */
:root {
  --bg: #fcfcfd;
  --bg-deep: #f5f5f8;
  --surface: rgba(255, 255, 255, .82);
  --surface-solid: #ffffff;
  --surface-sunk: #f6f6f9;
  --card: rgba(20, 18, 40, .03);
  --card-2: rgba(20, 18, 40, .06);
  --border: #ececf1;
  --border-strong: #dedde6;
  --text: #101014;
  --text-muted: #5d5d68;
  --text-dim: #8b8b97;

  --brand: #6c5ce7;
  --brand-2: #5847d6;
  --brand-3: #8b7bff;
  --brand-4: #b7acff;

  /* Legacy aliases kept so every v2 selector still resolves to the new skin. */
  --clay: #6c5ce7;
  --clay-2: #5847d6;
  --clay-3: #8b7bff;
  --clay-4: #b7acff;
  --sage: #2f9e7e;
  --sage-2: #4bb192;
  --ink: #0e0e12;

  --grad: linear-gradient(102deg, #5847d6 0%, #6c5ce7 45%, #8b7bff 100%);
  --grad-soft: linear-gradient(102deg, rgba(108, 92, 231, .10), rgba(139, 123, 255, .12));
  --grad-line: linear-gradient(102deg, rgba(108, 92, 231, 0), rgba(108, 92, 231, .55), rgba(139, 123, 255, 0));

  --ring: 0 0 0 1px rgba(108, 92, 231, .28), 0 20px 54px -22px rgba(76, 55, 190, .32);
  --shadow: 0 26px 64px -30px rgba(24, 18, 60, .26);
  --shadow-soft: 0 12px 32px -18px rgba(24, 18, 60, .18);
  --shadow-lift: 0 34px 80px -34px rgba(24, 18, 60, .30);

  --radius: 18px;
  --radius-lg: 26px;
  --radius-sm: 12px;
  --maxw: 1200px;
  --header-h: 70px;

  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", Roboto, Helvetica, Arial, sans-serif;
  --font-display: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Noto Sans SC", system-ui, sans-serif;
  --font-mono: ui-monospace, "SF Mono", "JetBrains Mono", "Roboto Mono", Menlo, Consolas, monospace;

  --ease: cubic-bezier(.2, .8, .2, 1);
  --dur: .28s;
}

/* --- Reset -------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px);
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-overflow-scrolling: touch;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
::selection { background: rgba(108, 92, 231, .22); }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.035em; font-weight: 700; }
h1, h2, h3, h4, p { overflow-wrap: break-word; }
.mono { font-family: var(--font-mono); }

/* --- Ambient background ------------------------------------------------- */
/* Soft blush + violet wash across the top of the page, like the reference. */
.bg-fx { position: fixed; inset: 0; z-index: -2; pointer-events: none; overflow: hidden;
  background:
    radial-gradient(1100px 620px at 88% -14%, rgba(139, 123, 255, .16), transparent 62%),
    radial-gradient(880px 540px at 2% 4%, rgba(255, 178, 196, .20), transparent 60%),
    radial-gradient(900px 620px at 52% 112%, rgba(108, 92, 231, .06), transparent 60%),
    var(--bg);
}
.bg-fx::before { content: none; }
.bg-fx::after {
  content: ""; position: absolute; width: 640px; height: 640px; left: -180px; top: 18%;
  background: radial-gradient(circle, rgba(139, 123, 255, .12), transparent 64%);
  filter: blur(40px); animation: drift 26s var(--ease) infinite alternate;
}
.orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .45; animation: drift 30s var(--ease) infinite alternate; }
.orb-a { width: 420px; height: 420px; right: -110px; top: 4%; background: rgba(139, 123, 255, .20); }
.orb-b { width: 320px; height: 320px; left: 8%; bottom: -80px; background: rgba(255, 178, 196, .22); animation-delay: -10s; }
@keyframes drift { to { transform: translate3d(0, 46px, 0) scale(1.07); } }
.grain {
  position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .02; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.42'/%3E%3C/svg%3E");
}

/* --- Layout ------------------------------------------------------------- */
.container { width: min(var(--maxw), calc(100% - 48px)); margin-inline: auto; }
.section { position: relative; padding: 104px 0; }
.section--tight { padding: 78px 0; }
.section--deep { background: var(--ink); color: #f6f6fa; }
.section--deep .lead, .section--deep .muted { color: rgba(246, 246, 250, .72); }
.section--deep .h2, .section--deep .h1 { color: #fbfbfd; }
.section--tint { background: linear-gradient(180deg, transparent, rgba(108, 92, 231, .05) 34%, transparent); }
.section--grad { background: linear-gradient(180deg, rgba(108, 92, 231, .07), rgba(255, 255, 255, 0) 70%); }
.center { text-align: center; }
.center .lead { margin-inline: auto; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-sans); font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--brand-2); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--grad); }
.eyebrow .idx { color: var(--text-dim); font-family: var(--font-mono); }
.h1 { font-size: clamp(2.4rem, 5.4vw, 4.3rem); font-weight: 700; letter-spacing: -.045em; }
.h2 { font-size: clamp(1.75rem, 3.2vw, 2.65rem); font-weight: 700; letter-spacing: -.04em; }
.h3 { font-size: 1.16rem; font-weight: 650; }
.lead { font-size: clamp(1.02rem, 1.45vw, 1.18rem); color: var(--text-muted); max-width: 660px; }
.muted { color: var(--text-muted); }
.small { font-size: .86rem; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hl { color: var(--brand-2); font-weight: 600; }

/* --- Buttons ------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  border: 1px solid transparent; border-radius: 999px; padding: 13px 24px; min-height: 46px;
  font-weight: 600; font-size: .95rem; line-height: 1; white-space: nowrap;
  transition: transform .2s var(--ease), box-shadow var(--dur), background .2s, border-color .2s, color .2s;
}
.btn svg { width: 17px; height: 17px; flex: none; }
.btn-primary { background: var(--ink); color: #fbfbfd; box-shadow: 0 14px 30px -16px rgba(14, 14, 18, .55); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 20px 42px -18px rgba(14, 14, 18, .6); }
.btn-ghost { background: var(--surface-solid); border-color: var(--border-strong); color: var(--text); }
.btn-ghost:hover { background: var(--surface-sunk); border-color: var(--brand-3); transform: translateY(-2px); }
.btn-on-dark { background: #fbfbfd; color: var(--ink); box-shadow: 0 16px 38px -16px rgba(0, 0, 0, .6); }
.btn-on-dark:hover { transform: translateY(-2px); }
.btn-outline-dark { background: transparent; border-color: rgba(251, 251, 253, .28); color: #fbfbfd; }
.btn-outline-dark:hover { background: rgba(251, 251, 253, .09); border-color: rgba(251, 251, 253, .5); }
.btn-sm { padding: 10px 17px; min-height: 40px; font-size: .87rem; }
.btn-lg { padding: 16px 30px; min-height: 54px; font-size: 1rem; }
.icon-btn { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--border-strong); background: var(--surface-solid); color: var(--text-muted); }
.icon-btn:hover { color: var(--text); border-color: var(--brand-3); background: var(--surface-sunk); }
.icon-btn svg { width: 19px; height: 19px; }

/* --- Header ------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 60; height: var(--header-h);
  backdrop-filter: blur(20px) saturate(130%); -webkit-backdrop-filter: blur(20px) saturate(130%);
  background: rgba(252, 252, 253, .82); border-bottom: 1px solid var(--border); transition: border-color .25s, background .25s;
}
.site-header.scrolled { border-bottom-color: var(--border-strong); background: rgba(252, 252, 253, .94); }
.header-in { height: var(--header-h); display: flex; align-items: center; gap: 20px; }
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--font-display); font-weight: 700; font-size: 1.12rem; letter-spacing: -.03em; flex: none; }
.brand img { width: 38px; height: 38px; border-radius: 11px; box-shadow: 0 6px 20px -9px rgba(108, 92, 231, .45); }
.brand b { font-weight: 700; }
.brand span { color: var(--text-muted); font-weight: 500; font-size: .88rem; }
.nav { display: flex; align-items: center; gap: 2px; margin-inline: 0; flex: none; }
.nav a { padding: 9px 10px; border-radius: 999px; color: var(--text-muted); font-size: .84rem; font-weight: 550; white-space: nowrap; transition: color .18s, background .18s; }
.nav a:hover { color: var(--text); background: var(--card-2); }
.header-actions { display: flex; align-items: center; gap: 9px; flex: none; margin-left: auto; }

/* Language picker */
.lang { position: relative; }
.lang-btn { display: inline-flex; align-items: center; gap: 7px; }
.lang-btn svg { width: 16px; height: 16px; }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 10px); min-width: 240px; max-height: 74vh; overflow: auto;
  background: var(--surface-solid); border: 1px solid var(--border); border-radius: 16px; padding: 8px;
  box-shadow: var(--shadow); opacity: 0; transform: translateY(-6px); pointer-events: none;
  transition: opacity .18s, transform .18s; z-index: 80;
}
.lang.open .lang-menu { opacity: 1; transform: none; pointer-events: auto; }
.lang-menu button {
  display: flex; align-items: center; gap: 10px; width: 100%; text-align: left;
  background: none; padding: 10px 11px; border-radius: 10px; color: var(--text-muted); font-size: .9rem; min-height: 40px;
}
.lang-menu button:hover { background: var(--card-2); color: var(--text); }
.lang-menu button[aria-current="true"] { background: var(--grad-soft); color: var(--brand-2); font-weight: 600; }
.lang-menu .code { font-family: var(--font-mono); font-size: .7rem; color: var(--text-dim); margin-left: auto; }

/* Mobile menu */
.menu-btn { display: none; }
.mobile-menu {
  position: fixed; inset: var(--header-h) 0 auto 0; z-index: 70; display: none;
  background: rgba(252, 252, 253, .97); border-bottom: 1px solid var(--border); padding: 16px 22px 26px;
  backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px); max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
}
.mobile-menu.open { display: block; }
.mobile-menu a { display: block; padding: 14px 6px; border-bottom: 1px solid var(--border); font-weight: 600; font-size: .98rem; min-height: 48px; }
.mobile-menu .btn { width: 100%; margin-top: 16px; }

/* --- Hero --------------------------------------------------------------- */
.hero { position: relative; padding: 92px 0 56px; overflow: clip; }
.hero-grid { display: grid; grid-template-columns: 1.04fr .96fr; gap: 60px; align-items: center; }
.hero-pill {
  display: inline-flex; align-items: center; gap: 9px; padding: 7px 8px 7px 14px; border-radius: 999px;
  background: var(--surface-solid); border: 1px solid var(--border); font-size: .8rem; color: var(--text-muted); margin-bottom: 24px;
  box-shadow: var(--shadow-soft);
}
.hero-pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px rgba(108, 92, 231, .16); animation: pulseDot 2.4s ease-in-out infinite; }
.hero-pill .tag {
  font-family: var(--font-mono); font-size: .64rem; letter-spacing: .1em; text-transform: uppercase;
  background: var(--grad-soft); color: var(--brand-2); padding: 3px 9px; border-radius: 999px; font-weight: 600;
}
@keyframes pulseDot { 50% { box-shadow: 0 0 0 7px rgba(108, 92, 231, .06); } }
.hero h1 { margin-bottom: 22px; }
.hero h1 .ln { display: block; }
.hero .lead { margin-bottom: 30px; max-width: 560px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 18px; }
.hero-trust { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin-top: 26px; color: var(--text-dim); font-size: .82rem; }
.hero-trust span { display: inline-flex; align-items: center; gap: 6px; }
.hero-trust svg { width: 15px; height: 15px; color: var(--brand); flex: none; }
.hero-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px 26px; margin-top: 38px; padding-top: 26px; border-top: 1px solid var(--border); }
.stat b { display: block; font-family: var(--font-display); font-size: 1.72rem; font-weight: 700; letter-spacing: -.04em; line-height: 1.1; }
.stat span { color: var(--text-dim); font-size: .8rem; }

/* Hero visual */
.hero-visual { position: relative; }
.orbit { position: absolute; border-radius: 50%; border: 1px dashed rgba(108, 92, 231, .28); pointer-events: none; }
.orbit-1 { width: 300px; height: 300px; top: -70px; right: -80px; animation: spin 44s linear infinite; }
.orbit-2 { width: 190px; height: 190px; bottom: -50px; left: -60px; border-color: rgba(139, 123, 255, .26); animation: spin 32s linear infinite reverse; }
.orbit-2::after { content: ""; position: absolute; width: 9px; height: 9px; border-radius: 50%; background: var(--brand); top: 12px; left: 26px; box-shadow: 0 0 12px rgba(108, 92, 231, .6); }
@keyframes spin { to { transform: rotate(360deg); } }

/* App mock */
.mock {
  position: relative; border-radius: var(--radius-lg); border: 1px solid var(--border-strong);
  background: var(--surface-solid);
  box-shadow: var(--shadow-lift), inset 0 1px 0 rgba(255, 255, 255, .9); overflow: hidden;
}
.mock-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--border); background: var(--surface-sunk); }
.mock-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--border-strong); }
.mock-bar .url { margin-left: 8px; flex: 1; height: 22px; border-radius: 8px; background: var(--card); border: 1px solid var(--border); position: relative; overflow: hidden; }
.mock-bar .url::after { content: ""; position: absolute; inset: 0; width: 42%; background: linear-gradient(90deg, transparent, rgba(108, 92, 231, .22), transparent); animation: sweep 3.4s var(--ease) infinite; }
@keyframes sweep { 0% { transform: translateX(-100%); } 60%, 100% { transform: translateX(240%); } }
.mock-body { padding: 18px; display: grid; gap: 12px; position: relative; }
.mock-search { height: 38px; border-radius: 10px; background: var(--card); border: 1px solid var(--border); display: flex; align-items: center; padding: 0 13px; gap: 8px; color: var(--text-dim); font-size: .82rem; }
.mock-chiprow { display: flex; gap: 7px; flex-wrap: wrap; }
.mock-chip { font-size: .72rem; padding: 5px 11px; border-radius: 999px; background: var(--card); border: 1px solid var(--border); color: var(--text-muted); }
.mock-chip.on { background: var(--grad-soft); color: var(--brand-2); border-color: rgba(108, 92, 231, .4); font-weight: 600; }
.media-card { display: grid; grid-template-columns: 72px 1fr auto; gap: 12px; align-items: center; padding: 10px; border-radius: 14px; background: var(--surface-solid); border: 1px solid var(--border); }
.media-thumb { position: relative; height: 54px; border-radius: 10px; overflow: hidden; background: linear-gradient(135deg, #ece9ff, #cfc6ff); }
.media-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.media-thumb .play { position: absolute; inset: 0; display: grid; place-items: center; color: var(--brand-2); font-size: .78rem; background: rgba(255, 255, 255, .3); }
.media-meta b { display: block; font-size: .83rem; }
.media-meta span { font-family: var(--font-mono); font-size: .68rem; color: var(--text-dim); }
.media-act { display: grid; gap: 6px; }
.media-act i { width: 26px; height: 26px; border-radius: 8px; background: var(--grad-soft); border: 1px solid rgba(108, 92, 231, .35); display: grid; place-items: center; font-size: .66rem; color: var(--brand-2); font-style: normal; }
.mock-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 18px; border-top: 1px solid var(--border); background: var(--surface-sunk); }
.mock-foot .bar { height: 7px; flex: 1; max-width: 160px; border-radius: 99px; background: linear-gradient(90deg, #5847d6, #8b7bff); }
.mock-foot span { font-family: var(--font-mono); font-size: .68rem; color: var(--text-dim); }

.float-chip {
  position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 14px;
  background: rgba(255, 255, 255, .94); border: 1px solid var(--border-strong); box-shadow: var(--shadow-soft);
  font-size: .79rem; font-weight: 600; backdrop-filter: blur(8px); animation: float 7s ease-in-out infinite; z-index: 2;
}
.float-chip svg { width: 15px; height: 15px; color: var(--brand); }
.float-chip .k { font-family: var(--font-mono); font-size: .62rem; color: var(--text-dim); display: block; letter-spacing: .06em; }
.fc-1 { top: 9%; left: -30px; }
.fc-2 { bottom: 20%; right: -22px; animation-delay: -2.4s; }
.fc-3 { top: 46%; right: -22px; animation-delay: -4.8s; }
@keyframes float { 50% { transform: translateY(-12px); } }

/* --- Proof strip -------------------------------------------------------- */
.strip { padding: 30px 0; border-block: 1px solid var(--border); background: rgba(255, 255, 255, .6); }
.strip .container { display: flex; align-items: center; justify-content: center; gap: 16px 40px; flex-wrap: wrap; color: var(--text-muted); font-weight: 600; font-size: .86rem; }
.strip span { display: inline-flex; align-items: center; gap: 8px; }
.strip svg { width: 16px; height: 16px; color: var(--brand); flex: none; }

/* --- Problem / solution -------------------------------------------------- */
.problem-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 52px; }
.problem {
  position: relative; padding: 28px; border-radius: var(--radius); border: 1px solid var(--border);
  background: var(--surface-solid); transition: transform .25s var(--ease), box-shadow .25s, border-color .25s;
}
.problem:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); border-color: var(--border-strong); }
.problem .n { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .14em; color: var(--brand-3); }
.problem h3 { font-size: 1.08rem; margin: 12px 0 10px; }
.problem p { margin: 0 0 18px; color: var(--text-muted); font-size: .93rem; }
.problem .fix { border-top: 1px dashed var(--border-strong); padding-top: 16px; display: grid; gap: 9px; }
.problem .fix div { display: flex; gap: 9px; align-items: flex-start; font-size: .88rem; color: var(--text); }
.problem .fix svg { width: 16px; height: 16px; flex: none; color: var(--sage); margin-top: 3px; }
.problem .fix span { color: var(--text-muted); }

/* --- Bento features ----------------------------------------------------- */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; margin-top: 52px; }
.bento .card { grid-column: span 2; }
.bento .card.wide { grid-column: span 3; }
.bento .card.tall { grid-column: span 3; grid-row: span 2; }
.card {
  position: relative; padding: 26px; border-radius: var(--radius); border: 1px solid var(--border);
  background: var(--surface-solid); transition: transform .25s var(--ease), border-color .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-4px); border-color: var(--border-strong); box-shadow: var(--shadow-soft); }
.card .ico { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: var(--grad-soft); border: 1px solid rgba(108, 92, 231, .18); margin-bottom: 16px; }
.card .ico svg { width: 22px; height: 22px; color: var(--brand-2); }
.card h3 { font-size: 1.06rem; margin-bottom: 8px; }
.card p { margin: 0; color: var(--text-muted); font-size: .91rem; }
.card .tag {
  position: absolute; top: 22px; right: 22px; font-family: var(--font-mono); font-size: .62rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--brand-3); font-weight: 600;
}
.card .metric { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--border); display: flex; align-items: baseline; gap: 8px; }
.card .metric b { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; letter-spacing: -.035em; }
.card .metric span { font-size: .78rem; color: var(--text-dim); }

/* Deep-dive list inside tall card */
.spec-list { list-style: none; display: grid; gap: 12px; margin-top: 18px; }
.spec-list li { display: flex; gap: 11px; align-items: flex-start; font-size: .89rem; color: var(--text-muted); }
.spec-list svg { width: 16px; height: 16px; flex: none; color: var(--sage); margin-top: 3px; }
.spec-list b { color: var(--text); font-weight: 620; }

/* --- Steps --------------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; margin-top: 52px; }
.step { position: relative; padding: 28px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface-solid); }
.step::before {
  counter-increment: step; content: "0" counter(step); font-family: var(--font-mono); font-size: .74rem; font-weight: 600;
  letter-spacing: .16em; color: var(--brand-2); display: inline-block; margin-bottom: 14px;
  padding: 4px 10px; border-radius: 999px; background: var(--grad-soft); border: 1px solid rgba(108, 92, 231, .28);
}
.step h3 { font-size: 1.06rem; margin-bottom: 8px; }
.step p { margin: 0; color: var(--text-muted); font-size: .92rem; }

/* --- Comparison ---------------------------------------------------------- */
.compare-wrap { margin-top: 48px; }
.tablewrap { overflow-x: auto; border-radius: var(--radius); -webkit-overflow-scrolling: touch; }
.compare { width: 100%; min-width: 720px; border-collapse: separate; border-spacing: 0; background: var(--surface-solid); border: 1px solid var(--border); font-size: .9rem; }
.compare th, .compare td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--border); }
.compare thead th { background: var(--surface-sunk); font-family: var(--font-mono); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); font-weight: 600; text-align: center; }
.compare thead th:first-child { text-align: left; }
.compare thead th.zf { background: rgba(108, 92, 231, .12); color: var(--brand-2); }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare tbody tr:hover td, .compare tbody tr:hover th { background: rgba(108, 92, 231, .05); }
.compare tbody tr:hover td.zf { background: rgba(108, 92, 231, .12); }
.compare tbody th { font-weight: 600; color: var(--text); width: 32%; vertical-align: middle; }
.compare td { text-align: center; color: var(--text-muted); }
.compare td.zf { background: rgba(108, 92, 231, .08); }
.col-badge { display: inline-block; margin-left: 8px; padding: 2px 8px; border-radius: 999px; background: var(--grad); color: #fff; font-size: .58rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; vertical-align: middle; font-family: var(--font-mono); }
.mk { display: inline-grid; place-items: center; width: 23px; height: 23px; border-radius: 50%; font-weight: 700; font-size: .9rem; }
.mk.yes { color: #1f7a5c; background: rgba(47, 158, 126, .16); }
.mk.partial { color: #9a6a12; background: rgba(214, 158, 66, .18); }
.mk.no { color: #b23a55; background: rgba(194, 64, 95, .14); }
.mk svg { width: 13px; height: 13px; }
.legend { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 16px; color: var(--text-dim); font-size: .8rem; }
.legend span { display: inline-flex; align-items: center; gap: 7px; }
.legend .mk { width: 19px; height: 19px; font-size: .78rem; }
.legend .mk svg { width: 11px; height: 11px; }
.disclaimer { margin-top: 14px; color: var(--text-dim); font-size: .78rem; max-width: 800px; margin-inline: auto; }

/* Pricing comparison table (rendered by renderPricingTable) */
.pc-title { font-size: 1.1rem; margin-bottom: 14px; }
.compare.pt thead th { text-align: left; }
.compare.pt td.pv { text-align: left; font-weight: 600; color: var(--text); }
.compare.pt td.pv.pro { color: var(--brand-2); background: rgba(108, 92, 231, .08); }

/* Dark compare section overrides */
.section--deep .compare { background: rgba(255, 255, 255, .045); border-color: rgba(255, 255, 255, .14); color: #f6f6fa; }
.section--deep .compare th, .section--deep .compare td { border-bottom-color: rgba(255, 255, 255, .11); color: rgba(246, 246, 250, .78); }
.section--deep .compare thead th { background: rgba(255, 255, 255, .07); color: rgba(246, 246, 250, .66); }
.section--deep .compare thead th.zf { background: rgba(139, 123, 255, .22); color: #cfc6ff; }
.section--deep .compare tbody th { color: #f6f6fa; }
.section--deep .compare td.zf { background: rgba(139, 123, 255, .12); }
.section--deep .compare tbody tr:hover td, .section--deep .compare tbody tr:hover th { background: rgba(255, 255, 255, .05); }
.section--deep .compare tbody tr:hover td.zf { background: rgba(139, 123, 255, .18); }
.section--deep .legend { color: rgba(246, 246, 250, .6); }
.section--deep .disclaimer { color: rgba(246, 246, 250, .55); }
.section--deep .mk.yes { color: #a9e0c8; background: rgba(47, 158, 126, .22); }
.section--deep .mk.partial { color: #f0cf92; background: rgba(214, 158, 66, .22); }
.section--deep .mk.no { color: #f0a9bb; background: rgba(194, 64, 95, .22); }
.section--deep .col-badge { background: linear-gradient(102deg, #8b7bff, #6c5ce7); }

/* Switch reasons */
.switch-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 46px; }
.switch-card { padding: 24px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface-solid); }
.switch-card .from { font-family: var(--font-mono); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-dim); display: block; margin-bottom: 8px; }
.switch-card .to { font-family: var(--font-display); font-size: 1.05rem; font-weight: 650; color: var(--text); display: block; margin-bottom: 10px; }
.switch-card p { margin: 0; font-size: .89rem; color: var(--text-muted); }

/* --- Audience ------------------------------------------------------------ */
.aud-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 52px; }
.aud-card { padding: 26px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface-solid); transition: transform .25s var(--ease), box-shadow .25s; }
.aud-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.aud-card .ico { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: var(--grad-soft); border: 1px solid rgba(108, 92, 231, .18); margin-bottom: 15px; }
.aud-card .ico svg { width: 21px; height: 21px; color: var(--brand-2); }
.aud-card h3 { font-size: 1.04rem; margin-bottom: 7px; }
.aud-card p { margin: 0 0 14px; color: var(--text-muted); font-size: .9rem; }
.aud-card .use { font-family: var(--font-mono); font-size: .68rem; color: var(--brand-2); letter-spacing: .04em; }
.grid { display: grid; gap: 18px; }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 22px; color: var(--text-muted); font-size: .86rem; }
.hero-points .hp { display: inline-flex; align-items: center; gap: 7px; }
.hero-points .hp svg { width: 15px; height: 15px; color: var(--brand); }

/* --- Privacy ------------------------------------------------------------- */
.privacy-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 52px; }
.privacy-card { padding: 26px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface-solid); }
.privacy-card .ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--grad-soft); border: 1px solid rgba(108, 92, 231, .18); margin-bottom: 15px; }
.privacy-card svg { width: 20px; height: 20px; color: var(--brand-2); }
.privacy-card h3 { font-size: 1.02rem; margin-bottom: 7px; }
.privacy-card p { margin: 0; color: var(--text-muted); font-size: .89rem; }

/* --- Pricing ------------------------------------------------------------- */
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 52px; }
.plan { position: relative; padding: 28px 24px; border-radius: var(--radius-lg); border: 1px solid var(--border); background: var(--surface-solid); display: flex; flex-direction: column; box-shadow: var(--shadow-soft); }
.plan.pro { border-color: rgba(108, 92, 231, .5); background: linear-gradient(180deg, rgba(108, 92, 231, .09), rgba(255, 255, 255, .9)); box-shadow: var(--ring); }
.plan .badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--grad); color: #fff; font-family: var(--font-mono); font-size: .64rem; font-weight: 700; padding: 5px 14px; border-radius: 999px; letter-spacing: .08em; text-transform: uppercase; }
.plan h3 { font-size: 1.28rem; margin-bottom: 4px; }
.plan .price { font-family: var(--font-display); font-size: clamp(1.7rem, 2vw, 2.2rem); font-weight: 700; letter-spacing: -.045em; margin: 10px 0 2px; }
.plan .price small { font-size: .88rem; color: var(--text-muted); font-weight: 500; letter-spacing: 0; }
.plan .pdesc { color: var(--text-muted); font-size: .9rem; margin-bottom: 22px; }
.plan ul { list-style: none; margin: 0 0 24px; display: grid; gap: 11px; }
.plan li { display: flex; gap: 10px; font-size: .9rem; color: var(--text-muted); }
.plan li svg { width: 17px; height: 17px; flex: none; color: var(--sage); margin-top: 4px; }
.plan .btn { margin-top: auto; }
.plan .fine { margin-top: 12px; font-size: .76rem; color: var(--text-dim); text-align: center; }
.plan-cta-note { font-family: var(--font-mono); font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 10px; }
.pricing-compare { margin-top: 44px; }
.pricing-compare .pc-title { text-align: center; font-size: 1.2rem; margin: 0 0 18px; }
.pricing-compare .guarantee { justify-content: center; margin-top: 18px; }

.guarantee { display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: center; margin-top: 22px; color: var(--brand-2); font-size: .85rem; font-weight: 600; }
.guarantee span { display: inline-flex; align-items: center; gap: 7px; }
.guarantee svg { width: 15px; height: 15px; color: var(--sage); flex: none; }
.cta-band .guarantee { color: rgba(251, 251, 253, .92); }
.cta-band .guarantee svg { color: #d9d2ff; }
.guarantee.on-dark { color: rgba(251, 251, 253, .92); }
.guarantee.on-dark svg { color: #d9d2ff; }

/* --- FAQ ----------------------------------------------------------------- */
.faq { max-width: 840px; margin: 52px auto 0; display: grid; gap: 12px; }
.faq-item { border: 1px solid var(--border); border-radius: 16px; background: var(--surface-solid); overflow: hidden; }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; background: none; padding: 19px 22px; text-align: left; font-weight: 620; font-size: .98rem; color: var(--text); min-height: 58px; }
.faq-q:hover { background: var(--surface-sunk); }
.faq-q .chev { width: 24px; height: 24px; flex: none; border-radius: 50%; border: 1px solid var(--border-strong); display: grid; place-items: center; transition: transform .25s, background .25s; color: var(--brand-2); }
.faq-item.open .faq-q .chev { transform: rotate(180deg); background: var(--grad-soft); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .32s var(--ease); }
.faq-a > div { padding: 0 22px 20px; color: var(--text-muted); font-size: .92rem; }
.faq-a > div p { margin: 0 0 10px; }
.faq-a > div p:last-child { margin-bottom: 0; }

/* --- Objection / install reasons ---------------------------------------- */
.reasons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 48px; }
.reason { display: grid; grid-template-columns: auto 1fr; gap: 16px; padding: 24px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface-solid); }
.reason .q { font-family: var(--font-mono); font-size: .64rem; letter-spacing: .1em; text-transform: uppercase; color: var(--brand-2); }
.reason h3 { font-size: 1rem; margin: 8px 0 8px; }
.reason p { margin: 0; font-size: .89rem; color: var(--text-muted); }
.reason .ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--grad-soft); border: 1px solid rgba(108, 92, 231, .18); }
.reason .ico svg { width: 19px; height: 19px; color: var(--brand-2); }

/* --- CTA band ------------------------------------------------------------ */
.cta-band { position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: 68px 36px; text-align: center; background: var(--ink); color: #fbfbfd; box-shadow: var(--shadow-lift); }
.cta-band::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle at 50% 120%, rgba(108, 92, 231, .45), transparent 62%); }
.cta-band::after { content: ""; position: absolute; width: 480px; height: 480px; right: -140px; top: -160px; border-radius: 50%; background: radial-gradient(circle, rgba(139, 123, 255, .32), transparent 66%); }
.cta-band > * { position: relative; z-index: 1; }
.cta-band .eyebrow { color: #cfc6ff; }
.cta-band .eyebrow::before { background: #cfc6ff; }
.cta-band h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); color: #fbfbfd; }
.cta-band .lead { margin: 0 auto 30px; color: rgba(251, 251, 253, .82); }
.cta-band .btn-primary { background: #fbfbfd; color: var(--ink); box-shadow: 0 16px 38px -14px rgba(0, 0, 0, .6); }
.cta-band .btn-primary:hover { transform: translateY(-2px); }
.cta-band .btn-outline-dark { border-color: rgba(251, 251, 253, .5); color: #fbfbfd; }
.cta-band .btn-outline-dark:hover { background: rgba(251, 251, 253, .14); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.cta-guarantee { margin-top: 26px; color: rgba(251, 251, 253, .9); font-size: .85rem; font-weight: 600; }
.cta-guarantee span { display: inline-flex; align-items: center; gap: 7px; margin: 0 12px; }
.cta-guarantee svg { width: 15px; height: 15px; color: #d9d2ff; flex: none; }

/* --- Footer --------------------------------------------------------------- */
.site-footer { border-top: 1px solid var(--border); padding: 60px 0 30px; background: var(--surface-sunk); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 40px; }
.footer-grid h4 { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 15px; font-weight: 600; }
.footer-grid ul { list-style: none; display: grid; gap: 10px; }
.footer-grid a { color: var(--text-muted); font-size: .9rem; }
.footer-grid a:hover { color: var(--brand-2); }
.footer-brand p { color: var(--text-muted); font-size: .88rem; max-width: 330px; margin: 14px 0 0; }
.footer-contact { font-family: var(--font-mono); font-size: .78rem; color: var(--brand-2); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-top: 24px; border-top: 1px solid var(--border); color: var(--text-dim); font-size: .8rem; flex-wrap: wrap; }
.footer-badges { display: flex; gap: 8px; flex-wrap: wrap; }
.footer-badges span { font-family: var(--font-mono); font-size: .68rem; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--border-strong); color: var(--text-muted); background: rgba(255, 255, 255, .7); }

/* --- Subpage hero -------------------------------------------------------- */
.page-hero { position: relative; padding: 78px 0 44px; border-bottom: 1px solid var(--border); background: radial-gradient(720px 340px at 50% -50px, rgba(108, 92, 231, .12), transparent 70%); }
.page-hero h1 { font-size: clamp(2rem, 4.2vw, 3.15rem); }
.crumbs { font-family: var(--font-mono); font-size: .76rem; color: var(--text-dim); margin-bottom: 16px; letter-spacing: .04em; }
.crumbs a:hover { color: var(--brand-2); }
.updated { display: inline-flex; align-items: center; gap: 8px; color: var(--text-dim); font-size: .8rem; margin-top: 12px; font-family: var(--font-mono); }
.updated::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--sage); }

/* --- Prose / legal -------------------------------------------------------- */
.prose { max-width: 800px; }
.prose h2 { font-size: 1.4rem; margin-top: 46px; padding-top: 10px; }
.prose h3 { font-size: 1.1rem; margin-top: 28px; }
.prose p, .prose li { color: var(--text-muted); }
.prose ul, .prose ol { padding-left: 22px; display: grid; gap: 9px; margin: 14px 0; }
.prose li::marker { color: var(--brand); }
.prose strong { color: var(--text); }
.prose a { color: var(--brand-2); text-decoration: underline; text-underline-offset: 3px; }
.prose .callout { border: 1px solid rgba(108, 92, 231, .32); background: rgba(108, 92, 231, .06); border-radius: 14px; padding: 18px 20px; margin: 26px 0; }
.prose .callout p { margin: 0; }
.prose .legal-table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: .9rem; }
.prose .legal-table th, .prose .legal-table td { border: 1px solid var(--border); padding: 11px 14px; text-align: left; vertical-align: top; }
.prose .legal-table th { background: var(--surface-sunk); color: var(--text); font-weight: 600; }

/* --- Support --------------------------------------------------------------- */
.support-grid { display: grid; grid-template-columns: 1.04fr .96fr; gap: 40px; align-items: start; }
.panel { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface-solid); padding: 28px; box-shadow: var(--shadow-soft); }
.panel h2 { font-size: 1.28rem; margin-bottom: 6px; }
.panel > p { color: var(--text-muted); font-size: .92rem; margin-top: 0; }
.form { display: grid; gap: 15px; margin-top: 22px; }
.field { display: grid; gap: 7px; }
.field label { font-size: .84rem; font-weight: 600; color: var(--text-muted); }
.input, textarea.input, select.input {
  width: 100%; border: 1px solid var(--border-strong); border-radius: 12px; background: var(--surface-solid);
  padding: 12px 14px; color: var(--text); font-size: .94rem; min-height: 46px; transition: border-color .18s, box-shadow .18s;
}
.input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(108, 92, 231, .16); }
textarea.input { min-height: 140px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.notice { border-radius: 12px; padding: 13px 15px; font-size: .86rem; background: var(--grad-soft); border: 1px solid rgba(108, 92, 231, .22); color: var(--text-muted); }
.notice.ok { border-color: rgba(47, 158, 126, .45); background: rgba(47, 158, 126, .1); color: #1f7a5c; }
.contact-cards { display: grid; gap: 14px; }
.contact-card { display: flex; gap: 15px; align-items: flex-start; padding: 18px; border-radius: 16px; border: 1px solid var(--border); background: var(--surface-solid); }
.contact-card .ico { width: 40px; height: 40px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--grad-soft); border: 1px solid rgba(108, 92, 231, .18); }
.contact-card .ico svg { width: 19px; height: 19px; color: var(--brand-2); }
.contact-card b { display: block; font-size: .94rem; }
.contact-card p { margin: 3px 0 0; color: var(--text-muted); font-size: .85rem; }
.contact-card a { color: var(--brand-2); font-family: var(--font-mono); font-size: .84rem; }
.status-ok { display: inline-flex; align-items: center; gap: 8px; font-size: .86rem; color: var(--sage); font-weight: 600; }
.status-ok::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--sage); box-shadow: 0 0 0 4px rgba(47, 158, 126, .16); }

/* --- Toast ---------------------------------------------------------------- */
.toast {
  position: fixed; left: 50%; bottom: 26px; transform: translate(-50%, 140%); z-index: 120;
  background: var(--ink); border: 1px solid rgba(251, 251, 253, .14); border-radius: 14px;
  padding: 14px 20px; font-size: .88rem; color: #fbfbfd; box-shadow: var(--shadow);
  transition: transform .3s var(--ease), opacity .3s var(--ease), visibility .3s;
  max-width: min(92vw, 480px);
  opacity: 0; visibility: hidden;
}
.toast.show { transform: translate(-50%, 0); opacity: 1; visibility: visible; }

/* --- Reveal ---------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .07s; }
.reveal[data-d="2"] { transition-delay: .14s; }
.reveal[data-d="3"] { transition-delay: .21s; }
.reveal[data-d="4"] { transition-delay: .28s; }

/* --- Responsive ------------------------------------------------------------ */
@media (max-width: 1240px) {
  .brand span { display: none; }
}
@media (max-width: 1100px) {
  .header-in { gap: 14px; }
  .nav a { font-size: .8rem; padding: 8px 8px; }
  .header-actions { gap: 7px; }
  .header-actions .btn-primary { padding: 9px 14px; }
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1000px) {
  .nav { display: none; }
  .menu-btn { display: grid; }
}

@media (max-width: 1080px) {
  .hero-grid { gap: 40px; }
  .bento .card { grid-column: span 3; }
  .bento .card.wide { grid-column: span 6; }
  .bento .card.tall { grid-column: span 6; grid-row: auto; }
  .aud-grid { grid-template-columns: repeat(2, 1fr); }
  .switch-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .nav { display: none; }
  .header-actions .btn-primary { display: none; }
  .menu-btn { display: grid; }
  .hero { padding: 68px 0 44px; }
  .hero-grid { grid-template-columns: 1fr; gap: 46px; }
  .hero .lead { max-width: 100%; }
  .mock { transform: none !important; }
  .orbit-1 { width: 220px; height: 220px; top: -50px; right: -30px; }
  .orbit-2 { display: none; }
  .problem-grid, .steps, .privacy-grid { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; }
  .support-grid { grid-template-columns: 1fr; }
  .section { padding: 80px 0; }
  .reasons { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .float-chip { display: none; }
}

@media (min-width: 741px) and (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
  .hero h1 { font-size: clamp(2.1rem, 4.4vw, 3rem); }
  .problem-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .problem { padding: 22px; }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .step { padding: 22px; }
  .privacy-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .bento .card { grid-column: span 3; }
  .bento .card.wide { grid-column: span 6; }
  .switch-grid { grid-template-columns: repeat(2, 1fr); }
  .aud-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 620px) {
  :root { --header-h: 62px; }
  .container { width: calc(100% - 32px); }
  .section { padding: 62px 0; }
  .section--tight { padding: 52px 0; }
  .bento { gap: 14px; }
  .bento .card, .bento .card.wide, .bento .card.tall { grid-column: span 6; }
  .card { padding: 22px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .hero-stats { grid-template-columns: 1fr; gap: 14px; }
  .hero-trust { gap: 8px 14px; font-size: .79rem; }
  .cta-band { padding: 46px 22px; }
  .lang-menu {
    position: fixed; top: calc(var(--header-h) + 8px); left: 12px; right: 12px; bottom: auto;
    min-width: 0; max-height: calc(100dvh - var(--header-h) - 20px);
  }
  .header-in { gap: 12px; }
  .brand span { display: none; }
  .brand img { width: 34px; height: 34px; }
  .hero-ctas .btn { width: 100%; }
  .cta-actions .btn { width: 100%; }
  .plans { grid-template-columns: 1fr; }
  .plan { padding: 26px 22px; }
  .aud-grid, .switch-grid { grid-template-columns: 1fr; }
  .compare { min-width: 620px; }
  .compare th, .compare td { padding: 12px 12px; font-size: .84rem; }
  .float-chip { display: none; }
}

@media (max-width: 400px) {
  .hero-ctas .btn { font-size: .9rem; padding: 12px 16px; }
  .hero-ctas .btn, .cta-actions .btn, .mobile-menu .btn { white-space: normal; }
  .h1 { font-size: 2.05rem; }
}

@media (max-width: 360px) {
  .brand b { display: none; }
}

/* --- Dark theme ------------------------------------------------------------ */
[data-theme="dark"] {
  --bg: #0c0c11;
  --bg-deep: #090910;
  --surface: rgba(22, 22, 30, .78);
  --surface-solid: #16161f;
  --surface-sunk: #101018;
  --card: rgba(255, 255, 255, .04);
  --card-2: rgba(255, 255, 255, .08);
  --border: #23232e;
  --border-strong: #32323f;
  --text: #f5f5f8;
  --text-muted: #a2a2af;
  --text-dim: #7c7c89;

  --brand: #9d8fff;
  --brand-2: #b7acff;
  --brand-3: #8b7bff;
  --brand-4: #cfc6ff;

  --clay: #9d8fff;
  --clay-2: #b7acff;
  --clay-3: #8b7bff;
  --clay-4: #cfc6ff;
  --sage: #5cc3a2;
  --sage-2: #7fd3b8;
  --ink: #f5f5f8;

  --grad: linear-gradient(102deg, #8b7bff 0%, #9d8fff 45%, #c5b8ff 100%);
  --grad-soft: linear-gradient(102deg, rgba(139, 123, 255, .16), rgba(197, 184, 255, .12));
  --grad-line: linear-gradient(102deg, rgba(139, 123, 255, 0), rgba(157, 143, 255, .55), rgba(197, 184, 255, 0));

  --ring: 0 0 0 1px rgba(157, 143, 255, .32), 0 20px 54px -22px rgba(0, 0, 0, .7);
  --shadow: 0 26px 64px -30px rgba(0, 0, 0, .8);
  --shadow-soft: 0 12px 32px -18px rgba(0, 0, 0, .6);
  --shadow-lift: 0 34px 80px -34px rgba(0, 0, 0, .85);
}
[data-theme="dark"] .site-header { background: rgba(12, 12, 17, .8); }
[data-theme="dark"] .site-header.scrolled { background: rgba(12, 12, 17, .94); }
[data-theme="dark"] .mobile-menu { background: rgba(12, 12, 17, .97); }
[data-theme="dark"] .bg-fx {
  background:
    radial-gradient(1100px 620px at 88% -14%, rgba(139, 123, 255, .18), transparent 62%),
    radial-gradient(880px 540px at 2% 4%, rgba(197, 120, 160, .10), transparent 60%),
    radial-gradient(900px 620px at 52% 112%, rgba(0, 0, 0, .5), transparent 60%),
    var(--bg);
}
[data-theme="dark"] .bg-fx::after { background: radial-gradient(circle, rgba(139, 123, 255, .14), transparent 64%); }
[data-theme="dark"] .orb-a { background: rgba(139, 123, 255, .18); }
[data-theme="dark"] .orb-b { background: rgba(197, 120, 160, .12); }
[data-theme="dark"] .grain { opacity: .06; mix-blend-mode: screen; }
[data-theme="dark"] .btn-primary { background: #f5f5f8; color: #0c0c11; box-shadow: 0 14px 30px -16px rgba(0, 0, 0, .7); }
[data-theme="dark"] .btn-ghost:hover { border-color: var(--brand-3); }
[data-theme="dark"] .icon-btn:hover { border-color: var(--brand-3); }
[data-theme="dark"] .mock { background: var(--surface-solid); }
[data-theme="dark"] .mock-bar { background: rgba(255, 255, 255, .04); }
[data-theme="dark"] .mock-search, [data-theme="dark"] .mock-chip { background: rgba(255, 255, 255, .05); }
[data-theme="dark"] .media-card { background: rgba(255, 255, 255, .03); }
[data-theme="dark"] .media-thumb { background: linear-gradient(135deg, #241f4a, #3a2f6b); }
[data-theme="dark"] .media-thumb .play { color: #e6e1ff; background: rgba(20, 16, 40, .35); }
[data-theme="dark"] .strip { background: rgba(255, 255, 255, .025); }
[data-theme="dark"] .site-footer { background: #0a0a0f; }
[data-theme="dark"] .footer-badges span { background: rgba(255, 255, 255, .05); }
[data-theme="dark"] .input { background: rgba(255, 255, 255, .045); }
[data-theme="dark"] .float-chip { background: rgba(22, 22, 31, .96); }
[data-theme="dark"] .compare thead th.zf { background: rgba(157, 143, 255, .18); }
[data-theme="dark"] .compare td.zf { background: rgba(157, 143, 255, .1); }
[data-theme="dark"] .compare tbody tr:hover td.zf { background: rgba(157, 143, 255, .18); }
[data-theme="dark"] .compare.pt td.pv.pro { background: rgba(157, 143, 255, .12); }
[data-theme="dark"] .plan.pro { background: linear-gradient(180deg, rgba(139, 123, 255, .14), rgba(22, 22, 31, .9)); }
[data-theme="dark"] .cta-band .btn-primary { background: #f5f5f8; color: #0c0c11; }
[data-theme="dark"] .ws-side { background: rgba(255, 255, 255, .03); }
[data-theme="dark"] .ws-promo { background: rgba(139, 123, 255, .1); }
[data-theme="dark"] .ws-cover { background: #141420; }
[data-theme="dark"] .toast { background: #1c1c26; }

/* --- Workspace mock ------------------------------------------------------ */
.ws-mock { border-radius: var(--radius-lg); border: 1px solid var(--border-strong); background: var(--surface-solid); box-shadow: var(--shadow-lift); overflow: hidden; }
.ws-topbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 18px; border-bottom: 1px solid var(--border); background: var(--surface-sunk); }
.ws-brand { display: flex; align-items: center; gap: 10px; }
.ws-brand img { width: 30px; height: 30px; border-radius: 8px; }
.ws-brand b { display: block; font-family: var(--font-display); font-size: .95rem; line-height: 1.1; }
.ws-brand small { color: var(--text-dim); font-size: .7rem; }
.ws-top-actions { display: flex; align-items: center; gap: 10px; }
.ws-chip { display: inline-flex; align-items: center; font-family: var(--font-mono); font-size: .62rem; letter-spacing: .08em; text-transform: uppercase; line-height: 1; padding: 6px 10px; border-radius: 999px; border: 1px solid var(--border-strong); color: var(--text-muted); }
.ws-body { display: grid; grid-template-columns: 216px 1fr; }
.ws-side { border-right: 1px solid var(--border); padding: 16px 12px; display: flex; flex-direction: column; gap: 6px; background: var(--surface-sunk); }
.ws-cap { font-family: var(--font-mono); font-size: .6rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-dim); padding: 6px 10px; }
.ws-nav { display: grid; gap: 2px; }
.ws-nav span { display: flex; align-items: center; gap: 9px; padding: 8px 10px; border-radius: 9px; font-size: .83rem; color: var(--text-muted); font-weight: 600; }
.ws-nav span.on { background: var(--grad-soft); color: var(--brand-2); }
.ws-nav svg { width: 15px; height: 15px; }
.ws-nav .pro { margin-left: auto; font-family: var(--font-mono); font-size: .56rem; letter-spacing: .08em; color: var(--brand-2); background: var(--grad-soft); border: 1px solid rgba(108, 92, 231, .4); padding: 2px 6px; border-radius: 999px; }
.ws-promo { margin: 12px 8px; padding: 12px; border-radius: 12px; border: 1px solid rgba(108, 92, 231, .4); background: var(--grad-soft); display: grid; gap: 6px; }
.ws-promo strong { font-size: .8rem; }
.ws-promo p { margin: 0; font-size: .7rem; color: var(--text-muted); }
.ws-promo .btn { margin-top: 4px; }
.ws-account { margin-top: auto; display: flex; align-items: center; gap: 9px; padding: 10px; border-top: 1px solid var(--border); }
.ws-account .avatar { width: 26px; height: 26px; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; font-size: .7rem; font-weight: 700; }
.ws-account b { display: block; font-size: .74rem; }
.ws-account small { color: var(--text-dim); font-size: .64rem; }
.ws-main { padding: 18px; display: grid; gap: 14px; }
.ws-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.ws-eyebrow { font-family: var(--font-mono); font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: var(--brand-2); display: block; margin-bottom: 6px; }
.ws-head h3 { margin: 0; font-size: 1.15rem; }
.ws-actions { display: flex; gap: 8px; }
.ws-btn { display: inline-flex; align-items: center; height: 34px; padding: 0 13px; border-radius: 9px; border: 1px solid var(--border-strong); background: var(--surface-solid); font-size: .76rem; font-weight: 600; color: var(--text-muted); }
.ws-btn.primary { background: var(--grad); color: #fff; border-color: transparent; }
.ws-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.ws-stat { border: 1px solid var(--border); border-radius: 12px; padding: 10px 12px; background: var(--surface-solid); }
.ws-stat div { font-family: var(--font-mono); font-size: .58rem; letter-spacing: .08em; text-transform: uppercase; color: var(--text-dim); }
.ws-stat strong { display: block; font-family: var(--font-display); font-size: 1.25rem; margin: 4px 0 2px; }
.ws-stat small { font-size: .64rem; color: var(--text-dim); }
.ws-toolbar { display: flex; gap: 10px; flex-wrap: wrap; }
.ws-seg { display: flex; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.ws-seg span { padding: 8px 12px; font-size: .74rem; font-weight: 600; color: var(--text-muted); }
.ws-seg span.on { background: var(--grad-soft); color: var(--brand-2); }
.ws-search { flex: 1; min-width: 160px; height: 36px; border-radius: 10px; border: 1px solid var(--border); background: var(--surface-solid); display: flex; align-items: center; padding: 0 12px; color: var(--text-dim); font-size: .78rem; }
.ws-filters { display: flex; gap: 7px; flex-wrap: wrap; align-items: flex-start; }
.ws-filter { display: inline-flex; align-items: center; justify-content: center; height: 19px; font-size: .64rem; line-height: 1; padding: 0 10px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface-solid); color: var(--text-muted); font-weight: 600; }
.ws-filter.on { background: var(--grad-soft); color: var(--brand-2); border-color: rgba(108, 92, 231, .4); }
.ws-list-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.ws-list-head h3 { margin: 0; font-size: 1.02rem; }
.ws-list-head span { font-family: var(--font-mono); font-size: .68rem; color: var(--text-dim); }
.ws-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.ws-media { display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: 16px; overflow: hidden; background: var(--surface-solid); box-shadow: var(--shadow-soft); }
.ws-cover { position: relative; aspect-ratio: 2.4 / 1; overflow: hidden; background: #1b2a3a; }
.ws-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ws-check { position: absolute; top: 12px; left: 12px; width: 22px; height: 22px; border-radius: 6px; background: rgba(255, 255, 255, .94); border: 1px solid rgba(0, 0, 0, .08); }
.ws-format { position: absolute; top: 12px; right: 12px; font-family: var(--font-mono); font-size: .62rem; font-weight: 700; letter-spacing: .06em; color: #fff; background: rgba(18, 24, 34, .72); padding: 4px 8px; border-radius: 7px; }
.ws-play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 1rem; background: rgba(14, 19, 28, .55); border: 1px solid rgba(255, 255, 255, .35); }
.ws-kicker { position: absolute; left: 14px; bottom: 12px; font-family: var(--font-mono); font-size: .66rem; font-weight: 700; letter-spacing: .1em; color: #fff; text-shadow: 0 1px 8px rgba(0, 0, 0, .5); }
.ws-info { padding: 14px 16px 16px; display: grid; gap: 6px; }
.ws-title { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; font-weight: 650; font-size: .98rem; }
.ws-more { color: var(--text-dim); letter-spacing: .1em; }
.ws-src { color: var(--text-muted); font-size: .82rem; }
.ws-meta { font-family: var(--font-mono); font-size: .72rem; color: var(--text-dim); }
.ws-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.ws-preview, .ws-download { display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 38px; border-radius: 10px; font-size: .82rem; font-weight: 650; }
.ws-preview { border: 1px solid var(--border-strong); background: var(--surface-solid); color: var(--text); }
.ws-download { background: var(--grad); color: #fff; border: 0; }
.ws-inspector { border: 1px solid var(--border); border-radius: 12px; padding: 12px 14px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; background: var(--card); }
.ws-inspector div b { display: block; font-family: var(--font-mono); font-size: .58rem; letter-spacing: .08em; text-transform: uppercase; color: var(--text-dim); }
.ws-inspector div span { font-size: .8rem; font-weight: 600; }
.ws-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; margin-top: 34px; }
.ws-pro { display: grid; grid-template-columns: 1fr auto; gap: 22px; align-items: center; margin-top: 26px; padding: 26px; border-radius: var(--radius-lg); border: 1px solid rgba(108, 92, 231, .5); background: linear-gradient(180deg, rgba(108, 92, 231, .1), rgba(255, 255, 255, .7)); }
.ws-pro h3 { margin: 0 0 12px; }
.ws-pro ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ws-pro li { display: flex; gap: 10px; color: var(--text-muted); font-size: .9rem; }
.ws-pro li svg { width: 17px; height: 17px; flex: none; color: var(--sage); margin-top: 3px; }
.ws-pro .price { font-family: var(--font-display); font-size: 2rem; font-weight: 700; }
.ws-pro .price small { font-size: .82rem; color: var(--text-muted); font-weight: 500; }
@media (max-width: 860px) {
  .ws-body { grid-template-columns: 1fr; }
  .ws-side { border-right: 0; border-bottom: 1px solid var(--border); }
  .ws-stats, .ws-grid { grid-template-columns: repeat(2, 1fr); }
  .ws-pro { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .ws-stats, .ws-grid { grid-template-columns: 1fr; }
}

/* Cursor number trail */
.cursor-trail { position: fixed; inset: 0; pointer-events: none; z-index: 50; }

/* Back to top */
.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 95; width: 46px; height: 46px;
  display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--border-strong);
  background: var(--surface-solid); color: var(--brand-2); box-shadow: var(--shadow-soft);
  opacity: 0; transform: translateY(10px); pointer-events: none; transition: opacity .25s var(--ease), transform .25s var(--ease), border-color .2s;
}
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { transform: translateY(-2px); border-color: var(--brand-3); }
.to-top svg { width: 18px; height: 18px; }

/* --- Motion -------------------------------------------------------------- */
body, .site-header, .site-footer, .mock, .compare, .lang-menu, .mobile-menu, .input,
.bg-fx, .strip, .card, .step, .plan, .faq-item, .privacy-card, .panel, .problem, .reason, .switch-card {
  transition: background-color .35s ease, border-color .35s ease, color .35s ease,
              transform .25s var(--ease), box-shadow .25s ease;
}
.progress-bar { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: var(--grad); z-index: 120; }

/* Referral landing banner (go.zeekfox.com/?ref=... -> mm.zeekfox.com) */
.ref-banner { position: sticky; top: 0; z-index: 110; display: flex; align-items: center; gap: 12px; padding: 10px clamp(16px, 4vw, 40px); background: linear-gradient(120deg, #fff4dc, #f6e2bb); border-bottom: 1px solid var(--line, #e8dac6); color: var(--ink, #30291f); font-size: 13px; }
.ref-banner[hidden] { display: none; }
.ref-banner .ref-copy { flex: 1; min-width: 0; line-height: 1.45; }
.ref-banner .ref-cta { flex: none; }
.ref-banner .ref-close { flex: none; width: 30px; height: 30px; }
.ref-banner .ref-close svg { width: 15px; height: 15px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .hero-pill .dot, .mock-bar .url::after { animation: none !important; }
}

/* --- Print ---------------------------------------------------------------- */
@media print {
  .bg-fx, .grain, .site-header, .mobile-menu, .toast, .site-footer .footer-badges, .orbit { display: none !important; }
  body { background: #fff; color: #111; }
}

/* In-page account and checkout flow */
.account-modal[hidden]{display:none}.account-modal{position:fixed;inset:0;z-index:10000;display:grid;place-items:center;padding:20px}.account-modal-scrim{position:absolute;inset:0;background:rgba(13,12,24,.56);backdrop-filter:blur(7px)}.account-modal-card{position:relative;width:min(100%,460px);max-height:min(90vh,760px);overflow:auto;padding:34px;border:1px solid var(--border-strong);border-radius:24px;background:var(--surface-solid);color:var(--text);box-shadow:0 30px 90px rgba(12,10,30,.28)}.account-modal-close{position:absolute;top:14px;right:16px;width:38px;height:38px;border:1px solid var(--border);border-radius:12px;color:var(--text-muted);font-size:25px;line-height:1}.account-modal-close:hover{background:var(--surface-sunk);color:var(--text)}.account-modal-eyebrow{margin:0 0 10px;color:var(--brand);font-size:11px;font-weight:800;letter-spacing:.14em}.account-modal-card h2{margin:0 42px 8px 0;font-size:27px}.account-modal-subtitle{margin:0 0 24px;color:var(--text-muted);font-size:14px}.account-field-label{display:block;margin:0 0 7px;font-size:13px;font-weight:700}.account-input{width:100%;min-height:48px;padding:12px 14px;border:1px solid var(--border-strong);border-radius:13px;background:var(--surface-solid);color:var(--text);outline:none}.account-input:focus{border-color:var(--brand);box-shadow:0 0 0 3px rgba(108,92,231,.15)}.account-consent{display:flex;align-items:flex-start;gap:9px;margin:15px 0;color:var(--text-muted);font-size:12px;line-height:1.55}.account-consent input{margin:3px 0 0;accent-color:var(--brand)}.account-consent a{color:var(--brand);text-decoration:underline;text-underline-offset:2px}.account-modal-action{width:100%;min-height:48px;margin-top:12px;border-radius:13px}.account-modal-action:disabled{opacity:.68;cursor:wait}.account-modal-action.is-loading:before{content:"";display:inline-block;width:14px;height:14px;margin-right:9px;vertical-align:-2px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:account-spin .7s linear infinite}@keyframes account-spin{to{transform:rotate(360deg)}}.account-modal-status{min-height:20px;margin:12px 0 0;color:var(--text-muted);font-size:13px}.account-modal-status.error{color:#bd3345}.account-modal-status.ok{color:#287451}.account-plan-summary{display:grid;gap:5px;padding:18px;border:1px solid rgba(108,92,231,.2);border-radius:16px;background:var(--grad-soft)}.account-plan-summary span{color:var(--text-muted);font-size:12px}.account-plan-summary strong{font-size:18px}.account-plan-summary small{margin-top:5px;color:var(--brand-2);font-size:12px}.account-text-action{display:block;margin:13px auto 0;color:var(--brand);font-size:13px;font-weight:700}.account-modal-manage{display:inline-block;margin-top:5px;color:var(--brand);font-size:13px;font-weight:700;text-decoration:underline;text-underline-offset:3px}
@media(max-width:720px){#signInButton{display:none}.account-modal{padding:12px}.account-modal-card{padding:28px 22px;border-radius:20px}.mobile-menu #mobileSignInButton{margin-top:12px}}

/* Keep the locale picker icon-only in the header. */
.lang-btn #langCode{display:none}.lang-btn{gap:0;min-width:42px;justify-content:center}
