/* ClearFlow website. Colours follow the extension: Chrome's blue (#0B57D0) on soft blue-white, the same gradient as the store images.
   The before/after boxes use one colour per meaning: red = junk ClearFlow cleans up, amber = foreign text, green = cleaned, blue = translated. */
:root {
  color-scheme: light dark;
  --bg: #ffffff;
  --bg-soft: #f5f8fe;
  --ink: #0b1b3f;
  --ink-2: #3c4a63;
  --ink-3: #66748d;
  --line: rgba(11, 27, 63, 0.1);
  --line-strong: rgba(11, 27, 63, 0.16);
  --brand: #0b57d0;
  --brand-2: #4f46e5;
  --brand-hover: #0a4fbd;
  --on-brand: #ffffff;
  --brand-soft: #e8f0fe;
  --card: #ffffff;
  --seg: rgba(11, 27, 63, 0.07);
  --seg-on: #ffffff;
  --shadow-sm: 0 0.5px 0 rgba(11, 27, 63, 0.08), 0 1px 3px rgba(11, 27, 63, 0.06);
  --shadow: 0 0 0 0.5px rgba(11, 27, 63, 0.06), 0 1px 2px rgba(11, 27, 63, 0.05), 0 12px 32px rgba(11, 27, 63, 0.08);
  --shadow-lg: 0 0 0 0.5px rgba(11, 27, 63, 0.06), 0 2px 6px rgba(11, 27, 63, 0.06), 0 30px 70px rgba(11, 27, 63, 0.16);
  --img-outline: rgba(0, 0, 0, 0.1);
  --glow-1: rgba(59, 130, 246, 0.2);
  --glow-2: rgba(99, 102, 241, 0.14);
  --glow-3: rgba(14, 165, 233, 0.14);
  --dots: rgba(11, 27, 63, 0.09);
  --bad: #e5484d;
  --warn: #e38b00;
  --good: #1f9d63;
  --info: #0b57d0;
  --r: 20px;
  --w: 1120px;
  --gutter: 20px;
  --ease: cubic-bezier(0.2, 0, 0, 1);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b1120;
    --bg-soft: #0f1729;
    --ink: #e9eefa;
    --ink-2: #b6c1d6;
    --ink-3: #8b98b0;
    --line: rgba(255, 255, 255, 0.1);
    --line-strong: rgba(255, 255, 255, 0.16);
    --brand: #8ab4f8;
    --brand-2: #a5b4fc;
    --brand-hover: #a3c4fa;
    --on-brand: #0b1b3f;
    --brand-soft: rgba(138, 180, 248, 0.14);
    --card: #121b2e;
    --seg: rgba(255, 255, 255, 0.08);
    --seg-on: #27324c;
    --shadow-sm: 0 0 0 0.5px rgba(255, 255, 255, 0.08);
    --shadow: 0 0 0 0.5px rgba(255, 255, 255, 0.09), 0 12px 32px rgba(0, 0, 0, 0.35);
    --shadow-lg: 0 0 0 0.5px rgba(255, 255, 255, 0.1), 0 30px 70px rgba(0, 0, 0, 0.5);
    --img-outline: rgba(255, 255, 255, 0.1);
    --glow-1: rgba(59, 130, 246, 0.22);
    --glow-2: rgba(99, 102, 241, 0.18);
    --glow-3: rgba(14, 165, 233, 0.12);
    --dots: rgba(255, 255, 255, 0.07);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
:lang(zh) body, body:lang(zh) { font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", "Noto Sans SC", sans-serif; }
:lang(ja) body, body:lang(ja) { font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", Meiryo, "Noto Sans JP", sans-serif; word-break: auto-phrase; line-break: strict; }
h1, h2, h3 { margin: 0; line-height: 1.2; text-wrap: balance; letter-spacing: -0.01em; }
p { margin: 0; text-wrap: pretty; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 6px; }
.ph { display: inline-block; }

.wrap { width: 100%; max-width: calc(var(--w) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.wrap.narrow { max-width: calc(760px + 2 * var(--gutter)); }
@media (min-width: 768px) { :root { --gutter: 32px; } }

.skip { position: absolute; left: 12px; top: -48px; background: var(--brand); color: var(--on-brand); padding: 8px 14px; border-radius: 10px; z-index: 20; }
.skip:focus { top: 12px; }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 76%, transparent); -webkit-backdrop-filter: saturate(1.6) blur(16px); backdrop-filter: saturate(1.6) blur(16px); box-shadow: 0 0.5px 0 var(--line); }
.bar { display: flex; align-items: center; gap: 20px; height: 62px; }
.logo { flex: none; display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 700; font-size: 18px; white-space: nowrap; }
.logo:hover { text-decoration: none; }
.nav { display: none; gap: 22px; margin-left: auto; font-size: 15px; }
.nav a { color: var(--ink-2); transition: color 150ms var(--ease); }
.nav a:hover { color: var(--ink); text-decoration: none; }
.langs { flex: none; white-space: nowrap; display: flex; gap: 2px; margin-left: auto; padding: 3px; border-radius: 999px; background: var(--seg); font-size: 13px; }
.langs a { color: var(--ink-2); padding: 3px 10px; border-radius: 999px; }
.langs a:hover { color: var(--ink); text-decoration: none; }
.langs a[aria-current] { background: var(--seg-on); color: var(--ink); box-shadow: var(--shadow-sm); }
.btn.top-cta { display: none; }
@media (min-width: 900px) { .nav { display: flex; } .langs { margin-left: 0; } }
@media (min-width: 1100px) { .btn.top-cta { display: inline-flex; } }

/* ---------- buttons ---------- */
.ctas { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px; font-weight: 600; font-size: 16px; white-space: nowrap; transition-property: background-color, color, box-shadow, scale; transition-duration: 160ms; transition-timing-function: var(--ease); }
.btn:hover { text-decoration: none; }
.btn:active { scale: 0.96; }
.btn .i { width: 18px; height: 18px; stroke-width: 2.2; }
.btn.sm { min-height: 36px; padding: 0 14px; font-size: 14px; gap: 6px; }
.btn.sm .i { width: 16px; height: 16px; }
.btn.primary { background: linear-gradient(180deg, color-mix(in srgb, var(--brand) 88%, white), var(--brand)); color: var(--on-brand); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 1px 2px rgba(11, 87, 208, 0.25), 0 8px 22px rgba(11, 87, 208, 0.24); }
.btn.primary:hover { background: var(--brand-hover); }
.btn-note { font-weight: 500; font-size: 13px; padding: 1px 8px; border-radius: 999px; background: color-mix(in srgb, var(--on-brand) 18%, transparent); }
.btn.ghost { color: var(--ink); background: var(--card); box-shadow: inset 0 0 0 0.5px var(--line-strong), var(--shadow-sm); }
.btn.ghost:hover { background: var(--bg-soft); }
.btn.ghost .i { stroke-width: 2; }
.btn.light { background: #fff; color: #0b57d0; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18); }
.btn.light .btn-note { background: #e8f0fe; }
.link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; margin-top: 22px; }
.link .i { width: 18px; height: 18px; stroke-width: 2; transition: translate 160ms var(--ease); }
.link:hover .i { translate: 3px 0; }

/* ---------- hero ---------- */
.hero { position: relative; padding: 64px 0 40px; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; background:
    radial-gradient(42% 38% at 18% 6%, var(--glow-1), transparent 70%),
    radial-gradient(36% 34% at 84% 8%, var(--glow-2), transparent 70%),
    radial-gradient(50% 40% at 50% 46%, var(--glow-3), transparent 75%),
    linear-gradient(180deg, var(--bg-soft), var(--bg) 70%); }
.hero-bg::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(var(--dots) 1px, transparent 1.2px); background-size: 22px 22px; -webkit-mask-image: linear-gradient(180deg, #000, transparent 55%); mask-image: linear-gradient(180deg, #000, transparent 55%); }
.hero-copy { text-align: center; max-width: calc(860px + 2 * var(--gutter)); }
.eyebrow { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--brand); background: color-mix(in srgb, var(--card) 70%, transparent); box-shadow: inset 0 0 0 0.5px var(--line-strong); padding: 5px 14px; border-radius: 999px; margin-bottom: 22px; }
.hero h1 { font-size: clamp(40px, 7.4vw, 76px); line-height: 1.06; letter-spacing: -0.03em; font-weight: 800; }
:lang(zh) .hero h1, :lang(ja) .hero h1 { letter-spacing: 0.01em; line-height: 1.15; font-feature-settings: "palt"; }
.accent { background: linear-gradient(100deg, var(--brand) 10%, var(--brand-2) 55%, #0ea5e9 95%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { font-size: clamp(17px, 2.2vw, 20px); line-height: 1.65; color: var(--ink-2); margin: 22px auto 0; max-width: 700px; text-wrap: balance; }
.hero .ctas { justify-content: center; margin-top: 34px; }
.trust { list-style: none; padding: 0; margin: 26px auto 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; font-size: 14px; color: var(--ink-2); }
.trust li { display: inline-flex; align-items: center; gap: 6px; }
.trust .ok { width: 16px; height: 16px; margin: 0; }
.hero-copy .fine { margin-top: 12px; }
.fine { font-size: 13px; color: var(--ink-3); }

/* ---------- before / after ---------- */
.demo-wrap { margin-top: 64px; }
.demo { position: relative; }
.demo-h { text-align: center; font-size: clamp(24px, 3.4vw, 32px); margin-bottom: 20px; }
.scenes { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; margin: 0 auto 20px; }
.scenes button { display: flex; flex-direction: column; align-items: flex-start; border: 0; cursor: pointer; padding: 8px 16px 9px; border-radius: 14px; background: color-mix(in srgb, var(--card) 70%, transparent); box-shadow: inset 0 0 0 0.5px var(--line); text-align: left; transition-property: background-color, box-shadow, color; transition-duration: 160ms; transition-timing-function: var(--ease); }
.scenes button:hover { background: var(--card); }
.scenes button[aria-selected="true"] { background: var(--card); box-shadow: inset 0 0 0 1.5px var(--brand), var(--shadow-sm); }
.tab-name { font-size: 15px; font-weight: 600; line-height: 1.3; color: var(--ink); }
.tab-dom { font-size: 12px; line-height: 1.3; color: var(--ink-3); }
.scene[hidden] { display: none; }
.scene-cap + .cmp { margin-top: 22px; }
.scene-cap { text-align: center; color: var(--ink-2); font-size: 16px; max-width: 760px; margin: 0 auto; text-wrap: balance; }
.chips { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin: 14px 0 22px; }
.chip { font-size: 13px; font-weight: 600; padding: 3px 12px; border-radius: 999px; font-variant-numeric: tabular-nums; }
.chip.clean, .chip.filler { color: var(--good); background: color-mix(in srgb, var(--good) 12%, transparent); }
.chip.tx { color: var(--info); background: color-mix(in srgb, var(--info) 12%, transparent); }
@media (prefers-color-scheme: dark) { .chip.tx { color: var(--brand); } }
.cmp { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.flip { display: none; }
.side { background: var(--card); border-radius: 22px; padding: 8px; box-shadow: var(--shadow-lg); }
.side-head { display: flex; align-items: center; gap: 8px; padding: 6px 10px 10px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.side .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--bad); box-shadow: 0 0 0 3px color-mix(in srgb, var(--bad) 18%, transparent); }
.side.after .dot { background: var(--good); box-shadow: 0 0 0 3px color-mix(in srgb, var(--good) 18%, transparent); }
.side.after .side-head { color: var(--ink); }
.shot-wrap { position: relative; border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.08); }
.shot-wrap img { width: 100%; }
.boxes { position: absolute; inset: 0; pointer-events: none; }
.box { position: absolute; border-radius: 10px; border: 2px solid var(--c); background: color-mix(in srgb, var(--c) 7%, transparent); }
.box.bad { --c: var(--bad); }
.box.warn { --c: var(--warn); border-style: dashed; background: color-mix(in srgb, var(--c) 6%, transparent); }
.box.good { --c: var(--good); }
.box.info { --c: var(--info); }
.box-tag { position: absolute; top: 0; right: 8px; translate: 0 -55%; font: 600 11px/16px var(--font); padding: 1px 7px; border-radius: 999px; background: var(--c); color: #fff; white-space: nowrap; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15); }
:lang(zh) .box-tag { font-family: -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif; }
:lang(ja) .box-tag { font-family: -apple-system, "Hiragino Sans", "Yu Gothic UI", sans-serif; }
.demo .note { text-align: center; font-size: 13px; color: var(--ink-3); margin-top: 18px; }
/* narrower than two readable shots side by side: one side at a time, with a switch */
@media (max-width: 999px) {
  .cmp { display: block; }
  .cmp .side { max-width: 680px; margin: 0 auto; }
  .flip { display: flex; width: max-content; margin: 0 auto 14px; padding: 3px; border-radius: 12px; background: var(--seg); }
  .flip button { border: 0; background: transparent; padding: 6px 16px; border-radius: 9px; font-size: 14px; font-weight: 500; color: var(--ink-2); cursor: pointer; transition-property: background-color, color, box-shadow; transition-duration: 200ms; transition-timing-function: var(--ease); }
  .flip button[aria-pressed="true"] { background: var(--seg-on); color: var(--ink); box-shadow: 0 0.5px 1px rgba(11, 27, 63, 0.12), 0 2px 6px rgba(11, 27, 63, 0.08); }
  .cmp[data-show="before"] .side.after, .cmp[data-show="after"] .side.before { display: none; }
  .no-js .cmp .side.before { display: none; }
  .no-js .cmp .side.after { display: block; }
  .no-js .flip { display: none; }
  .scenes { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter)); padding: 2px var(--gutter); }
  .scenes::-webkit-scrollbar { display: none; }
  .scenes button { flex: 0 0 auto; }
  .box-tag { font-size: 10px; line-height: 14px; padding: 0 5px; }
}

/* ---------- sections ---------- */
.sec { padding: 96px 0; }
.sec.tight { padding: 32px 0 88px; }
.sec h2, .final h2 { font-size: clamp(28px, 4.4vw, 42px); letter-spacing: -0.02em; font-weight: 750; }
:lang(zh) .sec h2, :lang(ja) .sec h2 { letter-spacing: 0; }
.sec h3 { font-size: 18px; letter-spacing: 0; }
.sec-eyebrow { font-size: 14px; font-weight: 700; color: var(--brand); margin-bottom: 10px; letter-spacing: 0.02em; }
#features, .how, #privacy { text-align: center; }
#features h2, .how h2, #privacy h2 { margin-bottom: 48px; }

/* hero: one card per section below */
.entries { display: grid; gap: 14px; margin: 52px auto 0; max-width: 1040px; }
@media (min-width: 860px) { .entries { grid-template-columns: repeat(3, 1fr); } }
.entry { position: relative; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: center; padding: 18px 44px 18px 18px; border-radius: 20px; background: color-mix(in srgb, var(--card) 82%, transparent); box-shadow: var(--shadow); color: var(--ink); text-align: left; transition: background-color 160ms var(--ease), box-shadow 160ms var(--ease); }
.entry:hover { text-decoration: none; background: var(--card); box-shadow: var(--shadow-lg); }
.entry-i { grid-row: span 2; width: 42px; height: 42px; padding: 9px; border-radius: 12px; color: var(--brand); background: var(--brand-soft); }
.entry.learn .entry-i { color: var(--good); background: color-mix(in srgb, var(--good) 12%, transparent); }
.entry-t { font-weight: 700; font-size: 17px; }
.entry-p { font-size: 14px; color: var(--ink-2); line-height: 1.5; }
.entry-go { position: absolute; right: 16px; top: 50%; translate: 0 -50%; color: var(--ink-3); }
.entry-go .i { width: 18px; height: 18px; rotate: -90deg; }

/* the three feature sections */
.mod { padding: 104px 0; }
.mod.alt { background: var(--bg-soft); }
.mod-head { text-align: center; max-width: 780px; margin: 0 auto; }
.mod-lede { color: var(--ink-2); font-size: 18px; margin-top: 18px; text-wrap: balance; }
.mod-points { list-style: none; padding: 0; margin: 44px 0 0; display: grid; gap: 14px; }
@media (min-width: 860px) { .mod-points { grid-template-columns: repeat(3, 1fr); } }
.mod-points li { display: flex; gap: 14px; align-items: flex-start; padding: 20px 22px; border-radius: 20px; background: var(--card); box-shadow: var(--shadow); }
.mp-i { flex: none; width: 38px; height: 38px; padding: 8px; border-radius: 11px; color: var(--brand); background: var(--brand-soft); }
.mod-points h3 { font-size: 17px; }
.mod-points p { color: var(--ink-2); font-size: 15px; margin-top: 4px; }
.mod-sub { text-align: center; font-size: 22px; margin: 64px 0 24px; }

/* case wall: a comment as it was, and what ClearFlow made of it */
.cases { columns: 1; column-gap: 22px; }
@media (min-width: 900px) { .cases { columns: 2; } }
.case { break-inside: avoid; margin: 0 0 22px; padding: 12px; border-radius: 22px; background: var(--card); box-shadow: var(--shadow); }
.cases[data-more="closed"] .case.extra { display: none; }
.case-head { display: flex; align-items: center; gap: 10px; padding: 4px 6px 12px; min-width: 0; }
.case-site { flex: none; font-size: 12px; font-weight: 700; padding: 2px 9px; border-radius: 999px; color: var(--ink-2); background: var(--seg); }
.case-what { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; font-weight: 600; color: var(--ink); }
.case-shot { position: relative; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px var(--c, var(--line-strong)); }
.case-shot img:first-of-type { border-radius: 12px 12px 0 0; }
.case-shot img:last-of-type { border-bottom-left-radius: 12px; border-bottom-right-radius: 12px; }
.case-shot img:only-of-type { border-radius: 12px; }
.case-shot.before { --c: color-mix(in srgb, var(--bad) 55%, transparent); }
.case-shot.after { --c: color-mix(in srgb, var(--good) 60%, transparent); }
.case-shot img { width: 100%; }
.case-shot img + img { border-top: 1px solid #eff3f4; }
.case-lbl { position: absolute; z-index: 1; top: 0; right: 12px; translate: 0 -55%; font: 600 11px/16px var(--font); padding: 1px 8px; border-radius: 999px; color: #fff; background: var(--bad); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15); }
.case-lbl.warn { background: var(--warn); }
.case-lbl.good { background: var(--good); }
.case-lbl.info { background: var(--info); }
.case:has(.case-lbl.warn) .case-shot.before { --c: color-mix(in srgb, var(--warn) 60%, transparent); }
.case:has(.case-lbl.info) .case-shot.after { --c: color-mix(in srgb, var(--info) 55%, transparent); }
.case-arrow { display: flex; justify-content: center; padding: 10px 0; color: var(--ink-3); }
.more-btn { display: flex; margin: 6px auto 0; }
.no-js .cases .case.extra { display: block; }
.no-js .more-btn { display: none; }

/* mark one: three numbered steps */
.learn-steps { list-style: none; padding: 0; margin: 44px 0 40px; display: grid; gap: 14px; }
@media (min-width: 860px) { .learn-steps { grid-template-columns: repeat(3, 1fr); } }
.learn-steps li { display: flex; gap: 14px; align-items: flex-start; padding: 20px 22px; border-radius: 20px; background: var(--card); box-shadow: var(--shadow); }
.ls-n { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 999px; background: linear-gradient(135deg, var(--good), #2bb673); color: #fff; font-weight: 700; font-variant-numeric: tabular-nums; }
.learn-steps h3 { font-size: 17px; }
.learn-steps p { color: var(--ink-2); font-size: 15px; margin-top: 4px; }

/* spotlights */
.spot { background: var(--bg-soft); }
.spot.rev { background: var(--bg); }
.spot-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .spot-grid { grid-template-columns: 5fr 7fr; gap: 72px; } .spot.rev .spot-copy { order: 2; } .spot.rev .spot-grid { grid-template-columns: 7fr 5fr; } }
.spot-copy p { color: var(--ink-2); font-size: 17px; margin-top: 18px; }
.spot-copy .points { margin-top: 22px; }
.stage { padding: 14px; border-radius: 28px; background: linear-gradient(150deg, color-mix(in srgb, var(--brand) 14%, var(--card)), color-mix(in srgb, var(--brand-2) 10%, var(--card))); box-shadow: var(--shadow); }
.stage img { border-radius: 14px; box-shadow: 0 0 0 1px var(--img-outline), 0 8px 24px rgba(11, 27, 63, 0.12); background: #fff; }
.stage.pair { display: flex; gap: 14px; align-items: flex-start; justify-content: center; }
.stage.pair .popup { flex: 0 0 auto; width: 37%; }
.stage.pair .settings { flex: 0 1 auto; width: 60%; }

/* how it works */
.how { background: var(--bg-soft); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; text-align: left; position: relative; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); }
  .steps::before { content: ""; position: absolute; top: 46px; left: 16%; right: 16%; border-top: 2px dashed color-mix(in srgb, var(--brand) 30%, transparent); z-index: 0; } }
.step { position: relative; z-index: 1; background: var(--card); border-radius: 24px; padding: 28px; box-shadow: var(--shadow); }
.step-n { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 999px; background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: var(--on-brand); font-weight: 700; font-size: 16px; margin-bottom: 18px; font-variant-numeric: tabular-nums; box-shadow: 0 0 0 6px var(--card); }
.step p { color: var(--ink-2); margin-top: 8px; font-size: 15px; }

/* cost */
.cost-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .cost-grid { grid-template-columns: 7fr 5fr; gap: 72px; } }
.cost-copy > p:not(.sec-eyebrow) { color: var(--ink-2); font-size: 17px; margin-top: 18px; }
.points { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.points li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-2); }
.ok { flex: 0 0 auto; width: 20px; height: 20px; margin-top: 3px; color: var(--good); stroke-width: 2.2; }
.stat { position: relative; border-radius: 30px; padding: 36px; background: var(--card); box-shadow: var(--shadow-lg); overflow: hidden; }
.stat::before { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 60% at 100% 0%, var(--glow-1), transparent 70%); pointer-events: none; }
.stat-n { position: relative; display: block; font-size: clamp(60px, 9vw, 88px); line-height: 1; font-weight: 800; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; background: linear-gradient(100deg, var(--brand), var(--brand-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat p { position: relative; color: var(--ink-2); margin-top: 18px; font-size: 15px; }

/* privacy: a dark band in both themes */
.sec.dark { background: radial-gradient(60% 80% at 50% 0%, rgba(59, 130, 246, 0.25), transparent 70%), #0a1428; color: #e9eefa; }
.sec.dark h2 { color: #fff; }
.sec.dark .sec-eyebrow, .sec.dark .link { color: #8ab4f8; }
.pvs { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; text-align: left; }
@media (min-width: 760px) { .pvs { grid-template-columns: 1fr 1fr; } }
.pv { display: flex; gap: 16px; border-radius: 22px; padding: 24px 26px; background: rgba(255, 255, 255, 0.05); box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.12); }
.pv-i { flex: 0 0 auto; width: 24px; height: 24px; color: #8ab4f8; margin-top: 1px; }
.pv h3 { color: #fff; }
.pv p { color: #b6c1d6; margin-top: 6px; font-size: 15px; }
#privacy .link { display: flex; width: max-content; margin: 34px auto 0; }

/* faq */
.faq-grid { display: grid; gap: 28px; }
@media (min-width: 900px) { .faq-grid { grid-template-columns: 4fr 8fr; gap: 64px; align-items: start; } .faq-head { position: sticky; top: 100px; } }
.qas { border-radius: 24px; background: var(--card); box-shadow: var(--shadow); }
.qa + .qa { box-shadow: 0 -0.5px 0 var(--line); }
.qa summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 26px; cursor: pointer; list-style: none; font-weight: 600; font-size: 17px; }
.qa summary::-webkit-details-marker { display: none; }
.qa-i { flex: 0 0 auto; width: 20px; height: 20px; color: var(--ink-3); transition: rotate 200ms var(--ease); }
.qa[open] .qa-i { rotate: 180deg; }
.qa p { padding: 0 26px 22px; color: var(--ink-2); margin-top: -6px; }

/* closing call to action */
.final { position: relative; overflow: hidden; isolation: isolate; color: #fff; padding: 88px 0; text-align: center; background: linear-gradient(135deg, #0b57d0, #3b5bdb 55%, #2563eb); }
.final-bg { position: absolute; inset: 0; z-index: -1; background: radial-gradient(40% 70% at 15% 0%, rgba(255, 255, 255, 0.22), transparent 70%), radial-gradient(40% 70% at 90% 100%, rgba(14, 165, 233, 0.35), transparent 70%); }
.final-bg::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1.2px); background-size: 22px 22px; -webkit-mask-image: radial-gradient(60% 80% at 50% 50%, #000, transparent); mask-image: radial-gradient(60% 80% at 50% 50%, #000, transparent); }
.final-in { display: flex; flex-direction: column; align-items: center; gap: 24px; }
.final img { border-radius: 16px; box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.35), 0 12px 30px rgba(0, 0, 0, 0.2); }
.final h2 { color: #fff; }

/* ---------- footer ---------- */
.foot { padding: 44px 0 52px; box-shadow: 0 -0.5px 0 var(--line); }
.foot-grid { display: grid; gap: 16px; }
@media (min-width: 900px) { .foot-grid { grid-template-columns: auto 1fr; align-items: center; } .foot-links { justify-content: flex-end; } .foot .fine { grid-column: 1 / -1; } }
.foot-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.foot-tag { font-weight: 400; color: var(--ink-3); font-size: 14px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: 14px; }
.foot-links a { color: var(--ink-2); }

/* ---------- keys / privacy pages ---------- */
.page-head { position: relative; background: radial-gradient(50% 120% at 15% 0%, var(--glow-1), transparent 70%), linear-gradient(180deg, var(--bg-soft), var(--bg)); padding: 60px 0 26px; }
.page-head h1 { font-size: clamp(32px, 5vw, 50px); font-weight: 800; }
.page-head .lede { margin: 16px 0 0; text-wrap: pretty; }
.card { background: var(--card); border-radius: 24px; box-shadow: var(--shadow); padding: 28px; }
.card + .card { margin-top: 16px; }
.key-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.key-head h2 { font-size: 22px; letter-spacing: 0; }
.tag { font-size: 13px; font-weight: 600; color: var(--brand); background: var(--brand-soft); padding: 3px 10px; border-radius: 999px; }
.key-steps { margin: 20px 0 0; padding: 0; list-style: none; counter-reset: k; display: grid; gap: 14px; }
.key-steps li { counter-increment: k; display: grid; grid-template-columns: 28px 1fr; gap: 12px; color: var(--ink-2); }
.key-steps li::before { content: counter(k); display: grid; place-items: center; width: 26px; height: 26px; border-radius: 999px; background: var(--brand-soft); color: var(--brand); font-weight: 700; font-size: 14px; font-variant-numeric: tabular-nums; }
.key-note { margin-top: 18px; font-size: 14px; color: var(--ink-3); }
.key-after { list-style: none; margin: 32px 0; padding: 0; display: grid; gap: 20px; }
@media (min-width: 760px) { .key-after { grid-template-columns: repeat(3, 1fr); } }
.key-after h3 { font-size: 16px; }
.key-after p { font-size: 14px; color: var(--ink-2); margin-top: 6px; }
.src { font-size: 14px; color: var(--ink-3); }
.prose { font-size: 16px; }
.prose h1 { font-size: clamp(28px, 4.5vw, 40px); margin-bottom: 8px; }
.prose h2 { font-size: 22px; margin: 40px 0 12px; letter-spacing: 0; }
.prose h3 { font-size: 18px; margin: 28px 0 10px; }
.prose p, .prose ul { color: var(--ink-2); margin: 12px 0; }
.prose ul { padding-left: 22px; }
.prose li + li { margin-top: 8px; }
.prose strong { color: var(--ink); }
.prose code { font: 0.9em ui-monospace, SFMono-Regular, Menlo, monospace; background: var(--seg); padding: 1px 5px; border-radius: 5px; overflow-wrap: anywhere; }
.prose a { overflow-wrap: anywhere; }

.chooser { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; text-align: center; padding: 24px; }
.chooser h1 { font-size: 28px; }
.chooser p { color: var(--ink-2); }
.choose { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 8px; }

/* sections fade up once as they come into view (main.js adds .reveal / .in; without scripts everything is simply shown) */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; translate: 0 14px; transition: opacity 600ms var(--ease), translate 600ms var(--ease); }
  .js .reveal.in { opacity: 1; translate: 0 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0ms !important; }
}
