:root {
  --bg: #fbfbfa;
  --surface: #ffffff;
  --ink: #1d2230;
  --muted: #5d6475;
  --line: #e4e6eb;
  --soft: #f2f3f6;
  --accent: #3346c4;
  --accent-ink: #ffffff;
  --accent-soft: #e9ecfb;
  --ok: #1f7a4d;
  --shadow: 0 1px 2px rgba(20, 24, 40, .06), 0 12px 32px rgba(20, 24, 40, .08);
  --radius: 12px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #12141a; --surface: #1a1d25; --ink: #eceef3; --muted: #a2a8b6; --line: #2c303b;
    --soft: #222631; --accent: #8c9bff; --accent-ink: #10131c; --accent-soft: #252b47; --ok: #5fd39a;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 12px 32px rgba(0,0,0,.35); color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #12141a; --surface: #1a1d25; --ink: #eceef3; --muted: #a2a8b6; --line: #2c303b;
  --soft: #222631; --accent: #8c9bff; --accent-ink: #10131c; --accent-soft: #252b47; --ok: #5fd39a;
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 12px 32px rgba(0,0,0,.35); color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
a { color: var(--accent); }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 640px) { .wrap { padding: 0 16px; } body { font-size: 16px; } }

header.top { display: flex; align-items: center; justify-content: space-between; padding: 20px 0; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 650; color: var(--ink); text-decoration: none; }
.brand svg { width: 28px; height: 28px; }
.top nav a { color: var(--muted); text-decoration: none; margin-left: 20px; font-size: 15px; }
.top nav a:hover { color: var(--ink); }
@media (max-width: 640px) { .top nav a:not(.cta-link) { display: none; } }

.hero { display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; align-items: center; padding: 40px 0 72px; }
@media (max-width: 900px) { .hero { grid-template-columns: 1fr; gap: 32px; padding-top: 16px; } }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .02em; color: var(--accent);
  background: var(--accent-soft); padding: 4px 10px; border-radius: 999px; }
h1 { font-size: clamp(32px, 4.2vw, 46px); line-height: 1.08; letter-spacing: -.02em; margin: 16px 0 16px; }
.lede { font-size: 19px; color: var(--muted); margin: 0 0 28px; max-width: 34em; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px;
  border-radius: 10px; font-weight: 600; font-size: 16px; text-decoration: none; border: 1px solid transparent; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { filter: brightness(1.08); }
.btn-ghost { color: var(--ink); border-color: var(--line); background: var(--surface); }
.fine { font-size: 14px; color: var(--muted); margin-top: 14px; }

/* Illustration */
.demo { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.demo-bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; border-bottom: 1px solid var(--line); background: var(--soft); }
.demo-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); display: block; }
.demo-url { margin-left: 10px; flex: 1; font-size: 12px; color: var(--muted); background: var(--surface); border: 1px solid var(--line);
  border-radius: 6px; padding: 3px 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rec { font-size: 12px; font-weight: 600; color: #c0392b; display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.rec::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #e04434; }
.demo-body { position: relative; display: grid; grid-template-columns: 132px 1fr; min-height: 300px; }
.demo-side { border-right: 1px solid var(--line); padding: 14px 10px; font-size: 13px; color: var(--muted); }
.demo-side b { display: block; color: var(--ink); margin-bottom: 12px; font-size: 14px; }
.demo-side span { display: block; padding: 6px 8px; border-radius: 6px; }
.demo-side span.on { background: var(--accent-soft); color: var(--ink); }
.demo-main { padding: 16px 18px; font-size: 13px; }
.demo-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.demo-head strong { font-size: 16px; }
.fake-btn { background: var(--ink); color: var(--bg); border-radius: 7px; padding: 6px 12px; font-weight: 600; font-size: 12px; }
.demo table { width: 100%; border-collapse: collapse; }
.demo th { text-align: left; color: var(--muted); font-weight: 500; font-size: 12px; padding: 6px 4px; border-bottom: 1px solid var(--line); }
.demo td { padding: 9px 4px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.blur { filter: blur(4.5px); user-select: none; }
.redact-tag { display: inline-block; margin-left: 6px; font-size: 10px; font-weight: 700; color: var(--ok); border: 1px solid currentColor;
  border-radius: 4px; padding: 0 4px; vertical-align: 1px; filter: none; }
.hotspot { position: absolute; width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: var(--accent-ink);
  font-weight: 700; font-size: 14px; display: grid; place-items: center; box-shadow: 0 0 0 6px color-mix(in srgb, var(--accent) 25%, transparent);
  transition: top .5s ease, left .5s ease; pointer-events: none; }
.tip { position: absolute; background: var(--ink); color: var(--bg); font-size: 12px; padding: 6px 10px; border-radius: 7px;
  white-space: nowrap; transition: top .5s ease, left .5s ease; pointer-events: none; }
.steps { list-style: none; margin: 0; padding: 12px; border-top: 1px solid var(--line); display: grid; gap: 4px; font-size: 14px; }
.steps li { display: flex; gap: 10px; align-items: baseline; padding: 6px 8px; border-radius: 8px; color: var(--muted); }
.steps li b { color: var(--muted); font-variant-numeric: tabular-nums; }
.steps li.on { background: var(--accent-soft); color: var(--ink); }
.steps li.on b { color: var(--accent); }
.caption { font-size: 13px; color: var(--muted); text-align: center; margin-top: 10px; }
@media (max-width: 520px) {
  .demo-body { grid-template-columns: 1fr; }
  .demo-side { display: flex; gap: 2px; border-right: 0; border-bottom: 1px solid var(--line); padding: 8px 10px; font-size: 12px; overflow: hidden; }
  .demo-side b { display: none; }
  .demo-side span { padding: 4px 8px; white-space: nowrap; }
  .demo .hide-sm { display: none; }
}
@media (prefers-reduced-motion: reduce) { .hotspot, .tip { transition: none; } }

section { padding: 64px 0; border-top: 1px solid var(--line); }
h2 { font-size: clamp(26px, 3.4vw, 34px); letter-spacing: -.01em; line-height: 1.2; margin: 0 0 12px; }
.sub { color: var(--muted); margin: 0 0 32px; max-width: 40em; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 800px) { .grid3 { grid-template-columns: 1fr; } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card .n { font-size: 13px; font-weight: 700; color: var(--accent); }
.card h3 { margin: 6px 0 8px; font-size: 19px; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }

.compare { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; font-size: 16px; }
.compare th, .compare td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { background: var(--soft); font-size: 14px; color: var(--muted); font-weight: 600; }
.compare td:last-child { font-weight: 600; }
.compare tr:last-child td { border-bottom: 0; }
.table-scroll { overflow-x: auto; }
.note { font-size: 13px; color: var(--muted); margin-top: 10px; }

.who { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 800px) { .who { grid-template-columns: 1fr; } }

.price { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }
@media (max-width: 800px) { .price { grid-template-columns: 1fr; } }
.price-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.amount { font-size: 48px; font-weight: 700; letter-spacing: -.02em; }
.amount small { font-size: 17px; font-weight: 500; color: var(--muted); }
.price-card ul { padding-left: 20px; color: var(--muted); }
.price-card li { margin: 6px 0; }

details { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 0 18px; margin-bottom: 10px; }
summary { cursor: pointer; font-weight: 600; padding: 16px 0; list-style-position: outside; }
details p { margin: 0 0 16px; color: var(--muted); }

footer { border-top: 1px solid var(--line); padding: 32px 0 48px; font-size: 14px; color: var(--muted); }
footer a { color: var(--muted); margin-right: 16px; }

.page { max-width: 720px; padding: 32px 0 64px; }
.page h1 { font-size: clamp(30px, 4vw, 40px); }
.page h2 { font-size: 22px; margin-top: 32px; }
.page p, .page li { color: var(--muted); }
.qbox { background: var(--soft); border-radius: 10px; padding: 16px 20px; margin: 20px 0; }
.qbox ol { margin: 0; padding-left: 20px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }

/* Narrow-screen containment for the illustration */
.hero > * { min-width: 0; }
.demo-url { min-width: 0; }
.demo table { table-layout: fixed; }
.demo th, .demo td { overflow: hidden; text-overflow: ellipsis; }
.demo th:first-child, .demo td:first-child { width: 30%; }
.demo th.hide-sm, .demo td.hide-sm { width: 18%; }
@media (max-width: 520px) {
  .rec { font-size: 11px; }
  .redact-tag { margin-left: 4px; }
  .demo th:first-child, .demo td:first-child { width: 36%; }
}

.cell { display: flex; align-items: center; gap: 6px; min-width: 0; }
.cell .blur { min-width: 0; overflow: hidden; }
.cell .redact-tag { flex: none; margin-left: 0; }

/* Replaces inline styles (blocked by the site CSP) */
.demo-fig { margin: 0; }
.qbox .qhead { margin-top: 0; }
