/* Clean AI — website. Palette mirrors the desktop app. */
:root {
  --bg: #0a0a0a;
  --surface: #121212;
  --surface-2: #171717;
  --surface-3: #1f1f1f;
  --border: #232323;
  --border-strong: #2e2e2e;

  --text: #ededed;
  --text-dim: #a1a1a1;
  --text-faint: #6b6b6b;

  --accent: #67e8f9;
  --accent-2: #22d3ee;
  --accent-hover: #8beefb;
  --accent-ink: #04191f;
  --accent-dim: rgba(103, 232, 249, 0.12);
  --accent-line: rgba(103, 232, 249, 0.32);

  --warn: #fbbf24;
  --danger: #f87171;
  --ok: #4ade80;

  --radius: 12px;
  --radius-sm: 8px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --sans: 'Inter', -apple-system, 'Segoe UI', system-ui, sans-serif;
  --display: 'Space Grotesk', 'Inter', 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', 'Cascadia Mono', Consolas, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: radial-gradient(60rem 40rem at 50% -10%, rgba(103, 232, 249, 0.07), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

::selection { background: var(--accent-dim); color: var(--accent); }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #262626; border-radius: 6px; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
code {
  font-family: var(--mono);
  font-size: 0.88em;
  color: var(--text);
  background: var(--surface-3);
  padding: 1px 5px;
  border-radius: 4px;
}
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.hidden { display: none !important; }
.site { position: relative; z-index: 1; flex: 1; display: flex; flex-direction: column; }
.container { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* ---------- Brand ---------- */
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--text); }
.brand:hover { text-decoration: none; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.brand .name { font-family: var(--display); font-weight: 600; font-size: 17px; letter-spacing: 0.01em; }
.brand .name span { color: var(--accent); }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(10, 10, 10, 0.75);
  border-bottom: 1px solid var(--border);
}
.nav .container { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  color: var(--text-dim);
  font-size: 14px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: color 0.14s var(--ease), background 0.14s var(--ease);
}
.nav-links a:hover { color: var(--text); background: var(--surface-2); text-decoration: none; }
.nav-links a.signin { color: var(--text); border: 1px solid var(--border-strong); margin-left: 6px; }
.nav-links a.cta { color: var(--accent-ink); background: var(--accent); font-weight: 600; margin-left: 4px; }
.nav-links a.cta:hover { background: var(--accent-hover); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: var(--surface-2);
  color: var(--text);
  font-weight: 500;
  font-size: 15px;
  white-space: nowrap;
  transition: background 0.14s var(--ease), border-color 0.14s var(--ease), transform 0.08s var(--ease), opacity 0.14s;
}
.btn:hover { background: var(--surface-3); border-color: #3a3a3a; text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: 0.55; cursor: not-allowed; }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); font-weight: 600; }
.btn.primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn.ghost { background: transparent; border-color: transparent; color: var(--text-dim); }
.btn.ghost:hover { background: var(--surface-2); color: var(--text); }
.btn.lg { padding: 15px 28px; font-size: 16px; }
.btn.block { width: 100%; }
.btn .spinner {
  width: 15px; height: 15px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Hero ---------- */
.hero { text-align: center; padding: 92px 0 64px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid var(--accent-line);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 26px;
}
.eyebrow .pip { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 10px var(--ok); }
.hero h1 {
  font-family: var(--display);
  font-size: clamp(36px, 6.4vw, 62px);
  line-height: 1.04;
  letter-spacing: -0.025em;
  font-weight: 700;
  max-width: 15ch;
  margin: 0 auto 22px;
}
.grad {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero .lede { font-size: clamp(16px, 2.3vw, 19px); color: var(--text-dim); max-width: 56ch; margin: 0 auto 34px; }
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 16px; }
.fineprint { color: var(--text-faint); font-size: 13px; }

.shot {
  max-width: 940px;
  margin: 56px auto 0;
  border-radius: 14px;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.6), 0 0 80px rgba(103, 232, 249, 0.06);
  overflow: hidden;
}
.shot-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--border); background: var(--surface-2); }
.shot-bar .dot { width: 11px; height: 11px; border-radius: 50%; }
.shot-bar .dot:nth-child(1) { background: #f87171; }
.shot-bar .dot:nth-child(2) { background: #fbbf24; }
.shot-bar .dot:nth-child(3) { background: #4ade80; }
.shot-bar .title { margin-left: 10px; font-family: var(--mono); font-size: 12px; color: var(--text-faint); }
.shot img { display: block; width: 100%; height: auto; user-select: none; -webkit-user-drag: none; }

/* ---------- Proof strip ---------- */
.proof { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--surface); }
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 30px 24px; text-align: center; }
.proof-grid strong { display: block; font-family: var(--display); font-size: 28px; font-weight: 700; color: var(--accent); }
.proof-grid span { color: var(--text-faint); font-size: 13px; }

/* ---------- Sections ---------- */
.section { padding: 84px 0; }
.section-head { text-align: center; max-width: 60ch; margin: 0 auto 48px; }
.kicker { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.section-head h2 { font-family: var(--display); font-size: clamp(26px, 4vw, 38px); font-weight: 600; letter-spacing: -0.015em; margin-bottom: 12px; line-height: 1.15; }
.section-head p { color: var(--text-dim); font-size: 16px; }

/* how it works */
.how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; list-style: none; counter-reset: step; }
.how li {
  position: relative;
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px 24px;
  color: var(--text-dim);
  font-size: 14.5px;
}
.how li::before {
  counter-increment: step;
  content: counter(step);
  display: grid; place-items: center;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--accent-dim);
  border: 1px solid var(--accent-line);
  color: var(--accent);
  font-family: var(--mono);
  font-size: 14px;
  margin-bottom: 16px;
}
.how li strong { display: block; color: var(--text); font-family: var(--display); font-size: 18px; font-weight: 600; margin-bottom: 6px; }

/* features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature {
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 24px;
  transition: border-color 0.16s var(--ease), transform 0.16s var(--ease);
}
.feature:hover { border-color: var(--accent-line); transform: translateY(-3px); }
.f-icon {
  width: 44px; height: 44px;
  border-radius: 11px;
  display: grid; place-items: center;
  font-size: 22px;
  margin-bottom: 16px;
  background: var(--accent-dim);
  border: 1px solid var(--accent-line);
}
.feature h3 { font-family: var(--display); font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.feature p { color: var(--text-dim); font-size: 14.5px; }

/* safety band */
.band { background: linear-gradient(180deg, var(--surface-2), var(--surface)); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.band .inner { display: flex; align-items: center; gap: 44px; padding: 72px 0; }
.band .lock {
  flex: none;
  width: 104px; height: 104px;
  border-radius: 26px;
  display: grid; place-items: center;
  font-size: 48px;
  background: var(--accent-dim);
  border: 1px solid var(--accent-line);
  box-shadow: 0 0 60px rgba(103, 232, 249, 0.12);
}
.band h2 { font-family: var(--display); font-size: clamp(24px, 4vw, 32px); font-weight: 600; margin-bottom: 12px; }
.band p { color: var(--text-dim); font-size: 16px; max-width: 60ch; }
.checks { list-style: none; margin-top: 18px; display: grid; gap: 9px; }
.checks li { color: var(--text-dim); font-size: 14.5px; display: flex; gap: 10px; align-items: baseline; }
.checks li::before { content: "✓"; color: var(--ok); font-weight: 700; flex: none; }

/* pricing */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 1080px; margin: 0 auto; }
.plan {
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
}
.plan.featured { border-color: var(--accent-line); box-shadow: 0 30px 90px rgba(0, 0, 0, 0.5), 0 0 60px rgba(103, 232, 249, 0.06); }
.plan .tag {
  align-self: flex-start;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 999px;
  margin-bottom: 18px;
  color: var(--ok);
  background: rgba(74, 222, 128, 0.1);
  border: 1px solid rgba(74, 222, 128, 0.3);
}
.plan.featured .tag { color: var(--accent); background: var(--accent-dim); border-color: var(--accent-line); }
.plan h3 { font-family: var(--display); font-size: 20px; font-weight: 600; }
.plan .amt { font-family: var(--display); font-weight: 700; font-size: 46px; letter-spacing: -0.02em; margin: 6px 0 2px; }
.plan.featured .amt { color: var(--accent); }
.plan .amt small { font-size: 16px; color: var(--text-dim); font-weight: 500; letter-spacing: 0; }
.plan .sub { color: var(--text-dim); font-size: 14px; margin-bottom: 22px; }
.plan .checks { margin: 0 0 28px; flex: 1; }
.plan.featured .checks li::before { color: var(--accent); }
.plan .note { text-align: center; color: var(--text-faint); font-size: 12.5px; margin-top: 12px; }

/* FAQ */
.faq { max-width: 740px; margin: 0 auto; display: grid; gap: 10px; }
.faq details {
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0 20px;
  transition: border-color 0.14s var(--ease);
}
.faq details[open] { border-color: var(--accent-line); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 600; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-family: var(--mono); }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--text-dim); padding-bottom: 18px; font-size: 15px; }

/* final CTA */
.cta-band { text-align: center; padding: 92px 0; border-top: 1px solid var(--border); }
.cta-band h2 { font-family: var(--display); font-size: clamp(28px, 5vw, 44px); font-weight: 700; letter-spacing: -0.02em; margin-bottom: 14px; }
.cta-band p { color: var(--text-dim); font-size: 17px; margin-bottom: 30px; }

/* footer */
.site-foot { border-top: 1px solid var(--border); padding: 30px 0; position: relative; z-index: 1; }
.site-foot .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--text-faint); font-size: 13px; }
.site-foot .links { display: flex; gap: 18px; flex-wrap: wrap; }
.site-foot a { color: var(--text-dim); }

/* ============================================================
   Sign-in + account pages
   ============================================================ */
.auth { flex: 1; display: flex; flex-direction: column; justify-content: center; width: 100%; max-width: 460px; margin: 0 auto; padding: 56px 20px; }
.auth.wide { max-width: 760px; }
.card {
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 30px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}
.card h1 { font-family: var(--display); font-size: 24px; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 6px; }
.card .sub { color: var(--text-dim); font-size: 14px; margin-bottom: 26px; }

.field { margin-bottom: 18px; }
.field label { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-faint); margin-bottom: 7px; font-family: var(--mono); }
.input {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  color: var(--text);
  padding: 13px 14px;
  font-family: var(--mono);
  font-size: 14px;
  letter-spacing: 0.02em;
  transition: border-color 0.14s var(--ease), box-shadow 0.14s var(--ease);
}
.input::placeholder { color: var(--text-faint); }
.input:focus { outline: none; border-color: var(--accent-line); box-shadow: 0 0 0 3px var(--accent-dim); }
.input.bad { border-color: rgba(248, 113, 113, 0.55); }
.hint { font-size: 12.5px; color: var(--text-faint); margin-top: 7px; }

.check-row { display: flex; align-items: center; gap: 9px; font-size: 14px; color: var(--text-dim); margin-bottom: 22px; cursor: pointer; }
.check-row input { accent-color: var(--accent); width: 16px; height: 16px; }

.alert { border-radius: var(--radius-sm); padding: 11px 14px; font-size: 13.5px; margin-bottom: 18px; border: 1px solid transparent; }
.alert.error { background: rgba(248, 113, 113, 0.09); border-color: rgba(248, 113, 113, 0.35); color: #fca5a5; }
.alert.ok { background: rgba(74, 222, 128, 0.08); border-color: rgba(74, 222, 128, 0.3); color: #86efac; }
.alert.warn { background: rgba(251, 191, 36, 0.08); border-color: rgba(251, 191, 36, 0.3); color: #fcd34d; }

.or { display: flex; align-items: center; gap: 12px; color: var(--text-faint); font-size: 12px; font-family: var(--mono); text-transform: uppercase; letter-spacing: 0.06em; margin: 22px 0; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--border); }
.stack { display: grid; gap: 10px; }
.below { text-align: center; margin-top: 22px; font-size: 14px; color: var(--text-dim); }

/* account */
.acct-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.acct-head h1 { font-family: var(--display); font-size: 28px; font-weight: 600; letter-spacing: -0.01em; }
.acct-head .who { color: var(--text-dim); font-size: 14px; margin-top: 2px; }
.panel {
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 24px;
  margin-bottom: 16px;
}
.panel .label { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.07em; color: var(--text-faint); margin-bottom: 12px; }
.panel-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.plan-name { font-family: var(--display); font-size: 20px; font-weight: 600; }

.badge { display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; border: 1px solid transparent; }
.badge .pip { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.badge.active { color: var(--ok); background: rgba(74, 222, 128, 0.1); border-color: rgba(74, 222, 128, 0.3); }
.badge.warn { color: var(--warn); background: rgba(251, 191, 36, 0.1); border-color: rgba(251, 191, 36, 0.3); }
.badge.bad { color: var(--danger); background: rgba(248, 113, 113, 0.1); border-color: rgba(248, 113, 113, 0.3); }
.badge.test { color: var(--text-dim); background: var(--surface-3); border-color: var(--border-strong); font-family: var(--mono); font-size: 11px; font-weight: 500; }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 18px; padding-top: 18px; border-top: 1px dashed var(--border); }
.stats .k { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-faint); }
.stats .v { font-size: 15px; margin-top: 3px; }

.key-row { display: flex; align-items: center; gap: 10px; background: var(--bg); border: 1px solid var(--border-strong); border-radius: var(--radius-sm); padding: 10px 10px 10px 14px; }
.key-val { font-family: var(--mono); font-size: 14px; letter-spacing: 0.03em; flex: 1; word-break: break-all; }
.key-val.masked { color: var(--text-dim); }
.icon-btn { padding: 8px 11px; border-radius: 6px; border: 1px solid var(--border-strong); color: var(--text-dim); font-size: 12px; font-family: var(--mono); white-space: nowrap; }
.icon-btn:hover { color: var(--text); background: var(--surface-3); }
.icon-btn.copied { color: var(--ok); border-color: rgba(74, 222, 128, 0.4); }

.acct-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }

.loading { display: grid; place-items: center; padding: 80px 0; }
.loading .spinner { width: 28px; height: 28px; border: 3px solid var(--accent); border-right-color: transparent; border-radius: 50%; animation: spin 0.7s linear infinite; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .features, .how { grid-template-columns: 1fr; }
  .pricing { grid-template-columns: 1fr; }
  .proof-grid { grid-template-columns: repeat(2, 1fr); }
  .band .inner { flex-direction: column; text-align: center; }
  .band .checks { text-align: left; }
  .nav-links a.hide-sm { display: none; }
}
@media (max-width: 560px) {
  .container { padding: 0 16px; }
  .hero { padding: 60px 0 44px; }
  .section { padding: 60px 0; }
  .nav-links a.signin { margin-left: 0; }
  .brand .name { display: none; }
  .card { padding: 28px 20px; }
  .auth { padding: 36px 16px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .acct-actions { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
}

/* ---- free-trial page ---- */
.keyshow { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 14px 16px; margin-bottom: 20px; border: 1px solid var(--accent-line); background: var(--accent-dim); border-radius: var(--radius-sm); }
.keyshow-label { flex-basis: 100%; font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-faint); }
.keyshow code { flex: 1; min-width: 0; font-family: var(--mono); font-size: 16px; color: var(--accent); user-select: all; word-break: break-word; }
.keyshow .copy-btn { flex: none; min-width: 84px; }
.keyshow .copy-btn.done { color: var(--ok, #4ade80); border-color: currentColor; }
.trial-then { margin-top: 24px; }
.buy-more { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--border); }
.buy-title { font-weight: 600; font-size: 14px; margin-bottom: 12px; }
/* One button per row: the yearly label is too long for half the card. */
.buy-row { display: grid; grid-template-columns: 1fr; gap: 10px; }
.steps { margin: 0 0 22px 18px; padding: 0; color: var(--text-dim); font-size: 14px; line-height: 1.7; }

/* multi-page nav: current page */
.nav-links a.on { color: var(--text); background: var(--surface-2); }
.pricing.two { grid-template-columns: repeat(2, 1fr); max-width: 760px; }
@media (max-width: 860px) { .pricing.two { grid-template-columns: 1fr; } }
.more-links { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 36px; }
.section-head h1 { font-family: var(--display); font-size: clamp(30px, 5vw, 46px); font-weight: 700; letter-spacing: -0.02em; margin-bottom: 12px; line-height: 1.1; }

/* home: one link card per page */
a.feature { display: block; color: inherit; }
a.feature:hover { text-decoration: none; }
.features.four { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1040px) { .features.four { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .features.four { grid-template-columns: 1fr; } }

/* ============================================================
   Policy pages (privacy, terms, refunds, contact)
   ============================================================ */
.policy { max-width: 760px; padding-top: 48px; padding-bottom: 72px; }
.policy h1 { font-family: var(--display); font-size: 34px; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 6px; }
.policy .updated { color: var(--text-dim); font-size: 14px; margin-bottom: 32px; }
.policy h2 { font-family: var(--display); font-size: 20px; font-weight: 600; margin: 34px 0 10px; }
.policy p, .policy li { color: var(--text-dim); line-height: 1.7; font-size: 15px; }
.policy p { margin-bottom: 12px; }
.policy ul, .policy ol { margin: 0 0 12px 20px; }
.policy li { margin-bottom: 6px; }
.policy strong { color: var(--text); }
.policy a { color: var(--accent); }
.policy table { width: 100%; border-collapse: collapse; margin: 8px 0 16px; font-size: 14px; }
.policy th, .policy td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--border); color: var(--text-dim); }
.policy th { color: var(--text); font-weight: 600; }
.policy .box { border: 1px solid var(--border); border-radius: 12px; padding: 16px 18px; margin: 8px 0 20px; }
.policy .box p:last-child { margin-bottom: 0; }
@media (max-width: 600px) { .policy th, .policy td { padding: 8px 6px; } }

/* Billing summary under buy buttons */
.billing-terms { color: var(--text-dim); font-size: 13px; line-height: 1.6; margin-top: 14px; text-align: center; }
.billing-terms a { color: var(--accent); }

/* scroll-drawn journey line (journey.js) */
.journey { position: relative; max-width: 880px; margin: 0 auto; }
.j-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.j-base { fill: none; stroke: var(--border-strong); stroke-width: 2; stroke-dasharray: 2 8; stroke-linecap: round; }
.j-draw { fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round; filter: drop-shadow(0 0 6px rgba(103, 232, 249, 0.55)); }
.j-tip { fill: var(--accent); filter: drop-shadow(0 0 10px var(--accent)); transition: opacity 0.2s; }
.j-steps { list-style: none; position: relative; }
.j-step { position: relative; min-height: 300px; display: flex; align-items: center; }
.j-step:first-child { padding-top: 40px; }
.j-step:last-child { padding-bottom: 40px; }
.j-node {
  position: absolute; top: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%;
  display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 18px;
  background: var(--bg); border: 2px solid var(--border-strong); color: var(--text-faint);
  transition: all 0.5s var(--ease); z-index: 1;
}
.j-step.left .j-node { left: 30%; }
.j-step.right .j-node { left: 70%; }
.j-card {
  width: 40%; padding: 22px 24px; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); opacity: 0.35; transform: translateY(14px);
  transition: all 0.6s var(--ease);
}
.j-step.left .j-card { margin-left: calc(30% + 44px); }
.j-step.right .j-card { margin-left: calc(30% - 44px - 40%); }
.j-tag { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 8px; }
.j-card h2 { font-family: var(--display); font-size: 22px; font-weight: 600; margin-bottom: 8px; }
.j-card p { color: var(--text-dim); font-size: 14.5px; }
.j-step.on .j-node { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); box-shadow: 0 0 0 6px var(--accent-dim), 0 0 28px rgba(103, 232, 249, 0.35); }
.j-step.on .j-card { opacity: 1; transform: none; border-color: var(--accent-line); }
.j-step.on .j-tag { color: var(--accent); }
@media (max-width: 720px) {
  .j-step { min-height: 240px; }
  .j-step.left .j-node, .j-step.right .j-node { left: 18px; }
  .j-step.left .j-card, .j-step.right .j-card { width: auto; margin: 0 0 0 52px; flex: 1; }
}
@media (prefers-reduced-motion: reduce) { .j-card, .j-node { transition: none; } }

/* per-character heading entrance (split.js) */
.sw { display: inline-block; white-space: nowrap; }
.ch { display: inline-block; opacity: 0.5; filter: blur(5px); animation: ch-in 0.6s var(--ease) forwards; }
.grad .ch { -webkit-text-fill-color: var(--accent); color: var(--accent); }
@keyframes ch-in { to { opacity: 1; filter: blur(0); } }

/* magnification dock (dock.js) */
.dock-wrap { display: flex; justify-content: center; margin: 0 0 34px; }
.dock {
  --dock-h: 84px; display: flex; align-items: flex-end; gap: 12px; height: calc(var(--dock-h) + 22px);
  padding: 0 16px 10px; background: rgba(18, 18, 18, 0.6); backdrop-filter: blur(10px);
  border: 1px solid var(--border-strong); border-radius: 24px; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  max-width: 100%;
}
.dock-item {
  position: relative; display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 54px; height: 54px; border-radius: 50%; padding: 0; cursor: pointer; line-height: 1; font-size: 25px;
  background: var(--surface-2); color: var(--text); border: 1px solid var(--border-strong);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.4); transition: border-color 0.2s, box-shadow 0.2s;
}
.dock-item:hover, .dock-item:focus-visible { border-color: var(--accent-line); box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5), 0 0 22px rgba(103, 232, 249, 0.18); outline: none; }
.dock-label {
  position: absolute; left: 50%; bottom: calc(100% + 10px); transform: translate(-50%, 4px); white-space: nowrap;
  padding: 4px 9px; font-family: var(--sans); font-size: 12px; font-weight: 500; line-height: 1.3; color: var(--text);
  background: var(--surface-3); border: 1px solid var(--border-strong); border-radius: 6px;
  opacity: 0; pointer-events: none; transition: opacity 0.2s, transform 0.2s var(--ease);
}
.dock-item:hover .dock-label, .dock-item:focus-visible .dock-label { opacity: 1; transform: translate(-50%, 0); }
.feature.pulse { animation: dock-pulse 1.4s var(--ease); }
@keyframes dock-pulse { 0%, 60% { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-dim), 0 0 40px rgba(103, 232, 249, 0.2); } 100% { } }
@media (max-width: 560px) { .dock { gap: 8px; padding: 0 12px 10px; } .dock-item { width: 42px; height: 42px; font-size: 19px; } }

/* Demo video in the hero frame */
.shot video { display: block; width: 100%; height: auto; background: #000; }
/* Two-card row (Store vs key) */
.features.two-col { grid-template-columns: repeat(2, 1fr); max-width: 860px; margin: 0 auto; }
@media (max-width: 720px) { .features.two-col { grid-template-columns: 1fr; } }
/* Yearly saving line */
.plan .save { color: var(--accent); font-weight: 600; font-size: 14px; margin: 4px 0 6px; }

/* Account gate on the Get key page (2026-11-30) */
.linkbtn { background: none; border: 0; padding: 0; color: var(--accent); font: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
.auth-switch { text-align: center; margin: 16px 0 4px; font-size: 14px; }
#auth-google svg { flex: none; }
#auth-forgot { padding: 6px 0 0; font-size: 12.5px; }
.who { font-size: 13px; color: var(--text-dim); margin-bottom: 18px; }
.who strong { color: var(--text); font-weight: 600; word-break: break-all; }
[hidden] { display: none !important; }

/* ---------- Liquid glass (2026-12-01) ----------
   Colour light behind the page so the glass has something to bend.
   Every browser: frosted glass (blur + saturate + edge shine).
   Chromium (html.lg, set by app.js): the backdrop is also bent at the edges
   by the SVG filter #cg-lens that app.js adds to the page. */
body::after {
  content: "";
  position: fixed;
  inset: -10%;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(28rem 22rem at 18% 30%, rgba(103, 232, 249, 0.16), transparent 70%),
    radial-gradient(26rem 20rem at 85% 22%, rgba(99, 102, 241, 0.16), transparent 70%),
    radial-gradient(30rem 24rem at 70% 85%, rgba(56, 189, 248, 0.12), transparent 70%),
    radial-gradient(22rem 18rem at 10% 90%, rgba(167, 139, 250, 0.10), transparent 70%);
  animation: cg-drift 28s ease-in-out infinite alternate;
}
@keyframes cg-drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-3%, 2%, 0) scale(1.06); }
}
@media (prefers-reduced-motion: reduce) { body::after { animation: none; } }

.nav, .plan, .card, .keyshow, .dock {
  --glass-tint: rgba(20, 22, 26, 0.42);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015)), var(--glass-tint);
  -webkit-backdrop-filter: blur(16px) saturate(170%);
  backdrop-filter: blur(16px) saturate(170%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.10),
    inset 0 -1px 0 rgba(255, 255, 255, 0.03),
    inset 0 0 0 1px rgba(255, 255, 255, 0.025),
    0 24px 60px rgba(0, 0, 0, 0.40);
}
.nav { --glass-tint: rgba(10, 10, 12, 0.55); box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.05); }
.keyshow { --glass-tint: rgba(103, 232, 249, 0.07); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.10); }
.plan.featured {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    inset 0 0 0 1px rgba(103, 232, 249, 0.10),
    0 30px 90px rgba(0, 0, 0, 0.5),
    0 0 60px rgba(103, 232, 249, 0.08);
}
/* Chromium only: bent edges like real glass. */
html.lg .plan, html.lg .card, html.lg .dock {
  -webkit-backdrop-filter: url(#cg-lens) blur(10px) saturate(170%);
  backdrop-filter: url(#cg-lens) blur(10px) saturate(170%);
}
/* No see-through for people who asked for less transparency. */
@media (prefers-reduced-transparency: reduce) {
  .nav, .plan, .card, .keyshow, .dock { --glass-tint: rgba(18, 18, 18, 0.96); }
}
.cg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
