/* Inter 4 (variable, latin subset) from @fontsource-variable/inter 5.3.0, SIL OFL 1.1 – see fonts/Inter-OFL.txt.
   Self-hosted: the CSP allows no third-party origins. */
@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("fonts/inter-latin-wght.woff2") format("woff2");
}

:root {
  --bg: #f6f7f9; --surface: #ffffff; --surface-2: #f0f2f6; --ink: #0e1726; --muted: #556072; --line: #e2e6ec; --line-strong: #cdd3dd;
  --brand: #2346d8; --brand-ink: #ffffff; --brand-soft: #eaeeff; --brand-line: #c3cdfb;
  --ok: #137a46; --ok-soft: #e3f4ea; --bad: #b42318; --bad-soft: #fdecea; --warn-soft: #fff6e0; --warn: #8a5300;
  --paper: #ffffff; --paper-ink: #1c2433; --paper-muted: #6b7486;
  --shadow: 0 1px 2px rgba(14, 23, 38, .06), 0 8px 24px -8px rgba(14, 23, 38, .12);
  --shadow-lg: 0 2px 4px rgba(14, 23, 38, .04), 0 24px 56px -16px rgba(20, 40, 120, .22);
  --glow: rgba(35, 70, 216, .10);
  --radius: 16px;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0a0f18; --surface: #111927; --surface-2: #172234; --ink: #e8edf5; --muted: #9ba7ba; --line: #213049; --line-strong: #2e4061;
    --brand: #7f96ff; --brand-ink: #0a0f18; --brand-soft: #18234a; --brand-line: #31428a;
    --ok: #63d698; --ok-soft: #0f2e1e; --bad: #ff8a80; --bad-soft: #3a1715; --warn-soft: #33270e; --warn: #f5c56b;
    --paper: #f7f8fa; --paper-ink: #1c2433; --paper-muted: #5f687a;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 8px 24px -8px rgba(0, 0, 0, .5);
    --shadow-lg: 0 2px 4px rgba(0, 0, 0, .3), 0 24px 56px -16px rgba(0, 0, 0, .7);
    --glow: rgba(127, 150, 255, .12);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0a0f18; --surface: #111927; --surface-2: #172234; --ink: #e8edf5; --muted: #9ba7ba; --line: #213049; --line-strong: #2e4061;
  --brand: #7f96ff; --brand-ink: #0a0f18; --brand-soft: #18234a; --brand-line: #31428a;
  --ok: #63d698; --ok-soft: #0f2e1e; --bad: #ff8a80; --bad-soft: #3a1715; --warn-soft: #33270e; --warn: #f5c56b;
  --paper: #f7f8fa; --paper-ink: #1c2433; --paper-muted: #5f687a;
  --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 8px 24px -8px rgba(0, 0, 0, .5);
  --shadow-lg: 0 2px 4px rgba(0, 0, 0, .3), 0 24px 56px -16px rgba(0, 0, 0, .7);
  --glow: rgba(127, 150, 255, .12);
  color-scheme: dark;
}

/* ---------- base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; background: var(--bg); color: var(--ink); font-size: 1rem; line-height: 1.6; font-feature-settings: "cv11", "ss03"; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.022em; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(1.65rem, 1.15rem + 1.9vw, 2.5rem); font-weight: 720; }
h3 { font-size: 1.12rem; font-weight: 650; letter-spacing: -.01em; }
p { margin: 0; }
a { color: var(--brand); text-underline-offset: .18em; }
code { font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: .88em; }
.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 28px; } }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip { position: absolute; left: -999px; top: 8px; }
.skip:focus { left: 16px; z-index: 50; background: var(--surface); padding: .5rem .8rem; border-radius: 8px; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 6px; }
.muted { color: var(--muted); font-size: .92rem; }
.num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.neg { color: var(--bad); }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent); }
.top .wrap { display: flex; align-items: center; gap: 1.5rem; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: .6rem; color: var(--ink); text-decoration: none; font-weight: 700; letter-spacing: -.015em; font-size: 1.02rem; white-space: nowrap; }
.brand svg { width: 30px; height: 30px; flex: none; }
.nav { display: none; gap: 1.6rem; margin-left: auto; }
.nav a { color: var(--muted); text-decoration: none; font-size: .94rem; font-weight: 500; }
.nav a:hover { color: var(--ink); }
.top .btn { margin-left: auto; }
@media (min-width: 900px) { .nav { display: flex; } .top .btn { margin-left: 0; } }
@media (max-width: 480px) { .top .wrap { gap: 12px; } .brand { font-size: .95rem; } }
.xs-show { display: none; }
@media (max-width: 400px) { .xs-hide { display: none; } .xs-show { display: inline; } }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; white-space: nowrap; min-height: 44px; padding: .65rem 1.15rem; border-radius: 11px; border: 1px solid transparent; background: var(--brand); color: var(--brand-ink); font: inherit; font-weight: 600; font-size: .96rem; text-decoration: none; cursor: pointer; transition: transform .12s ease, box-shadow .12s ease, background .12s ease; box-shadow: 0 1px 2px rgba(14, 23, 38, .15), inset 0 1px 0 rgba(255, 255, 255, .15); }
.btn:hover { transform: translateY(-1px); box-shadow: 0 6px 16px -6px var(--brand); }
.btn.ghost { background: var(--surface); color: var(--ink); border-color: var(--line-strong); box-shadow: none; }
.btn.ghost:hover { border-color: var(--brand); box-shadow: none; }
.btn.small { min-height: 36px; padding: .4rem .8rem; font-size: .88rem; border-radius: 9px; }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }
.btn svg { width: 18px; height: 18px; }

/* ---------- hero ---------- */
.hero { position: relative; padding: 48px 0 40px; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto; height: 760px; background: radial-gradient(60% 55% at 70% 30%, var(--glow), transparent 70%), radial-gradient(40% 40% at 10% 10%, var(--glow), transparent 70%); pointer-events: none; }
.hero::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 48px 48px; opacity: .35; mask-image: radial-gradient(70% 60% at 60% 20%, #000, transparent 75%); -webkit-mask-image: radial-gradient(70% 60% at 60% 20%, #000, transparent 75%); pointer-events: none; }
.hero .wrap { position: relative; z-index: 1; }
.hero-grid { display: grid; gap: 28px; }
.hero-grid > * { min-width: 0; } /* wide result tables scroll inside their card */
@media (min-width: 980px) {
  .hero { padding: 72px 0 64px; }
  .hero-grid { grid-template-columns: 1.1fr 1fr; grid-template-areas: "intro tool" "ticks tool" "results results"; gap: 0 56px; align-content: center; }
  .hero-grid .results { grid-area: results; }
  .intro { grid-area: intro; align-self: end; } .tool { grid-area: tool; align-self: center; } .hero-grid .ticks { grid-area: ticks; align-self: start; }
}
.eyebrow { display: inline-flex; align-items: center; gap: .5rem; padding: .3rem .75rem .3rem .45rem; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); font-size: .84rem; font-weight: 600; box-shadow: var(--shadow); }
.eyebrow .dot { width: 20px; height: 20px; border-radius: 50%; background: var(--ok-soft); color: var(--ok); display: grid; place-items: center; }
.eyebrow .dot svg { width: 12px; height: 12px; }
.hero h1 { margin: 20px 0 18px; font-size: clamp(2.15rem, 1.3rem + 3vw, 3.35rem); font-weight: 760; letter-spacing: -.035em; line-height: 1.04; }
.hero h1 em { font-style: normal; color: var(--brand); }
.lead { font-size: clamp(1.05rem, .98rem + .3vw, 1.2rem); color: var(--muted); max-width: 36em; }
.lead strong { color: var(--ink); font-weight: 600; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: .65rem; }
@media (min-width: 980px) { .hero-grid .ticks { margin-top: 26px; } }
.ticks li { display: flex; gap: .65rem; align-items: flex-start; font-weight: 500; }
.ticks svg { flex: none; width: 22px; height: 22px; color: var(--ok); margin-top: .1rem; }

/* ---------- converter card ---------- */
.tool { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-lg); padding: 14px; }
.drop { position: relative; display: grid; justify-items: center; gap: .75rem; text-align: center; border: 2px dashed var(--brand-line); border-radius: 16px; padding: 40px 20px 34px; background: linear-gradient(180deg, color-mix(in srgb, var(--brand-soft) 55%, transparent), transparent); transition: border-color .15s ease, background .15s ease; }
.drop.over { border-color: var(--brand); border-style: solid; background: var(--brand-soft); }
.drop-icon { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; background: var(--brand); color: var(--brand-ink); box-shadow: 0 10px 24px -10px var(--brand); }
.drop-icon svg { width: 32px; height: 32px; }
.drop-title { font-size: 1.2rem; font-weight: 680; letter-spacing: -.015em; margin-top: .35rem; }
.drop .or { color: var(--muted); font-size: .9rem; }
.drop .hint { color: var(--muted); font-size: .84rem; max-width: 26em; }
.lockline { display: flex; align-items: center; justify-content: center; gap: .45rem; padding: 12px 8px 6px; color: var(--ok); font-size: .86rem; font-weight: 600; }
.lockline svg { width: 16px; height: 16px; }
.tool-foot { display: flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); margin-top: 8px; padding: 12px 6px 2px; font-size: .9rem; }
.credit { font-weight: 600; }
.credit span { font-variant-numeric: tabular-nums; }
.disclose { all: unset; cursor: pointer; color: var(--muted); font-weight: 500; font-size: .88rem; display: inline-flex; align-items: center; gap: .4rem; min-height: 32px; }
.disclose:hover, .disclose[aria-expanded="true"] { color: var(--ink); }
.disclose:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
.disclose::before { content: "+"; display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 5px; background: var(--surface-2); font-weight: 700; font-size: .8rem; }
.disclose[aria-expanded="true"]::before { content: "–"; }
.toggles { display: flex; gap: .4rem 1.1rem; flex-wrap: wrap; }
.subpanel { margin-top: 10px; padding: 12px; border-radius: 12px; background: var(--surface-2); }
.inline { display: flex; gap: .5rem; flex-wrap: wrap; }
input { font: inherit; font-size: .92rem; padding: .5rem .65rem; border: 1px solid var(--line-strong); border-radius: 9px; background: var(--surface); color: var(--ink); min-width: 0; min-height: 40px; }
.inline input { flex: 1 1 12em; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .65rem; }
.grid label { display: grid; gap: .25rem; font-size: .84rem; color: var(--muted); }

/* bank strip (text only, no third-party logos) */
.strip { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.6rem; margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: .88rem; }
.strip ul { display: contents; list-style: none; }
.strip li { font-weight: 720; font-size: 1.02rem; letter-spacing: -.02em; color: color-mix(in srgb, var(--ink) 65%, var(--bg)); }
.strip a { font-weight: 600; white-space: nowrap; }

/* ---------- results ---------- */
.results { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 980px) { .results:not(:empty) { margin-top: 36px; } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); }
.card-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1rem; align-items: flex-start; }
.card h2 { font-size: 1.05rem; font-weight: 650; letter-spacing: -.01em; word-break: break-all; }
.card .meta { margin-top: .2rem; }
.badge { display: inline-flex; align-items: center; gap: .35rem; white-space: nowrap; border-radius: 999px; padding: .28rem .75rem; font-weight: 650; font-size: .86rem; }
.badge.ok { background: var(--ok-soft); color: var(--ok); }
.badge.bad { background: var(--bad-soft); color: var(--bad); }
.badge.ok::before { content: "✓"; }
.badge.bad::before { content: "!"; }
.warn { background: var(--bad-soft); color: var(--bad); padding: .6rem .8rem; border-radius: 10px; margin-top: .8rem; font-size: .92rem; }
.actions { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0 .3rem; }
.card details { margin-top: .6rem; }
.card summary { cursor: pointer; font-weight: 600; font-size: .92rem; }
.scroll { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: .86rem; margin-top: .5rem; }
th, td { text-align: left; padding: .45rem .55rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--muted); font-weight: 600; font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; }
td:nth-child(-n+2) { white-space: nowrap; font-variant-numeric: tabular-nums; }
@media (max-width: 600px) { .card th:nth-child(2), .card td:nth-child(2) { display: none; } .card td:nth-child(3) { overflow-wrap: anywhere; } .card th, .card td { padding: .4rem .35rem; } } /* keep the amount in view on phones */

/* ---------- sections ---------- */
.section { padding: 72px 0; }
.section.alt { background: var(--surface); border-block: 1px solid var(--line); }
@media (min-width: 980px) { .section { padding: 104px 0; } }
.kicker { display: block; color: var(--brand); font-weight: 650; font-size: .84rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: .8rem; }
.section-head { max-width: 46rem; margin-bottom: 40px; }
.section-head p { color: var(--muted); font-size: 1.08rem; margin-top: 1rem; }
.cards { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.tile { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.section.alt .tile { background: var(--bg); }
.tile p { color: var(--muted); margin-top: .55rem; }
.icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); margin-bottom: 18px; }
.icon svg { width: 22px; height: 22px; }
.icon.ok { background: var(--ok-soft); color: var(--ok); }

/* trust */
.trust-grid { display: grid; gap: 24px; }
@media (min-width: 980px) { .trust-grid { grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: start; } }
.csp { background: #0b1220; color: #d7deea; border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-lg); border: 1px solid #1d2a40; overflow: hidden; }
@media (min-width: 980px) { .csp { position: sticky; top: 96px; } }
.csp .bar3 { display: flex; gap: 6px; margin-bottom: 14px; }
.csp .bar3 i { width: 10px; height: 10px; border-radius: 50%; background: #2a3852; }
.csp pre { margin: 0; white-space: pre-wrap; word-break: break-word; font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: .84rem; line-height: 1.7; }
.csp .k { color: #8fa3c7; }
.csp .hl { color: #0b1220; background: #8be0b0; border-radius: 4px; padding: 0 .3em; font-weight: 700; }
.csp p { margin-top: 14px; color: #a9b5c9; font-size: .9rem; }
.csp b { color: #e8edf5; }
.netlog { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 18px; padding: 12px 14px; border-radius: 10px; background: #111c30; border: 1px solid #1d2a40; font-size: .86rem; color: #a9b5c9; }
.netlog b { font-size: 1.6rem; line-height: 1; color: #8be0b0; font-variant-numeric: tabular-nums; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.checks li { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.checks p { color: var(--muted); margin-top: .45rem; font-size: .95rem; }

/* steps */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0 0 72px; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.step { position: relative; padding: 28px 24px 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--brand); color: var(--brand-ink); font-weight: 700; margin-bottom: 18px; }
.step p { color: var(--muted); margin-top: .55rem; }
.chips { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1rem; padding: 0; list-style: none; }
.chips li { padding: .25rem .65rem; border-radius: 8px; background: var(--surface-2); border: 1px solid var(--line); font-size: .84rem; font-weight: 600; }

/* before / after */
.ba { display: grid; gap: 20px; align-items: center; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 980px) { .ba { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1.15fr); gap: 28px; } }
.ba figure { margin: 0; }
.ba figcaption { font-size: .84rem; color: var(--muted); font-weight: 600; margin-bottom: .6rem; text-transform: uppercase; letter-spacing: .06em; }
.paper { background: var(--paper); color: var(--paper-ink); border-radius: 6px; box-shadow: var(--shadow-lg); padding: 22px 22px 26px; font-size: .74rem; line-height: 1.5; transform: rotate(-1.2deg); border: 1px solid #e3e6ec; }
.paper .ph { display: flex; justify-content: space-between; gap: 1rem; border-bottom: 2px solid var(--paper-ink); padding-bottom: 8px; margin-bottom: 8px; }
.paper .ph b { font-size: .9rem; }
.paper .pm { color: var(--paper-muted); }
.paper table { font-size: .72rem; margin: 0; }
.paper th, .paper td { padding: .22rem .3rem; border-bottom: 1px dotted #c9ced8; color: var(--paper-ink); }
.paper th { color: var(--paper-muted); font-size: .64rem; }
.paper td:nth-child(2) { white-space: normal; }
@media (max-width: 480px) { .paper { padding: 16px 14px 18px; } }
.paper .sum td { font-weight: 700; border-bottom: 0; }
.arrow { display: grid; place-items: center; }
.arrow span { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: var(--brand-ink); box-shadow: 0 10px 24px -10px var(--brand); transform: rotate(90deg); }
@media (min-width: 980px) { .arrow span { transform: none; } }
.arrow svg { width: 26px; height: 26px; }
.sheet { background: var(--surface); border: 1px solid var(--line-strong); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-lg); }
.sheet .tabs { display: flex; gap: 0; background: var(--surface-2); border-bottom: 1px solid var(--line); font-size: .8rem; font-weight: 600; }
.sheet .tabs { overflow: hidden; }
.sheet .tabs span { padding: .55rem .9rem; color: var(--muted); white-space: nowrap; }
@media (max-width: 600px) { .sheet th:nth-child(2), .sheet td:nth-child(2) { display: none; } }
.sheet .tabs span[aria-current] { background: var(--surface); color: var(--ink); border-right: 1px solid var(--line); border-left: 1px solid var(--line); }
.sheet table { margin: 0; font-size: .8rem; }
.sheet th { background: var(--surface-2); text-transform: none; letter-spacing: 0; font-size: .78rem; }
.sheet td, .sheet th { border-right: 1px solid var(--line); }
.sheet td:last-child, .sheet th:last-child { border-right: 0; }
.sheet .foot { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; justify-content: space-between; padding: .7rem .9rem; font-size: .82rem; color: var(--muted); }
.demo-note { margin-top: 18px; text-align: center; }

/* banks */
.tiers { display: grid; gap: 14px; }
.tier { display: grid; gap: 14px 40px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg); padding: 24px; }
@media (min-width: 900px) { .tier { grid-template-columns: 320px 1fr; align-items: start; padding: 28px; } }
.tier h3 { margin-top: .6rem; }
.tier .lvl { display: inline-block; white-space: nowrap; font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: .2rem .55rem; border-radius: 6px; }
.tier .lvl.real { background: var(--ok-soft); color: var(--ok); }
.tier .lvl.syn { background: var(--brand-soft); color: var(--brand); }
.tier .lvl.gen { background: var(--surface-2); color: var(--muted); }
.tier header p { color: var(--muted); margin-top: .5rem; font-size: .93rem; }
.tier > p { color: var(--muted); font-size: .98rem; align-self: center; }
.marks { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; padding: 0; list-style: none; align-content: flex-start; }
.marks li { padding: .45rem .8rem; border-radius: 10px; border: 1px solid var(--line-strong); background: var(--surface); font-weight: 650; font-size: .92rem; letter-spacing: -.01em; }
.fine { color: var(--muted); font-size: .86rem; margin-top: 20px; max-width: 60rem; }

/* pricing */
.prices { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); max-width: 860px; }
.plan { border-radius: 20px; border: 1px solid var(--line); background: var(--surface); padding: 28px; display: flex; flex-direction: column; gap: 1rem; }
.plan.main { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand), var(--shadow-lg); }
.plan .name { display: flex; align-items: center; justify-content: space-between; font-weight: 650; }
.plan .tag { font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; padding: .2rem .55rem; border-radius: 6px; background: var(--warn-soft); color: var(--warn); }
.plan .amount { font-size: 2.6rem; font-weight: 760; letter-spacing: -.035em; line-height: 1; }
.plan .amount small { font-size: 1rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; flex: 1; }
.plan li { display: flex; gap: .55rem; color: var(--muted); }
.plan li svg { width: 20px; height: 20px; flex: none; color: var(--ok); margin-top: .15rem; }

/* faq */
.faq { display: grid; gap: 10px; max-width: 880px; }
.faq details { border: 1px solid var(--line); border-radius: 14px; background: var(--surface); padding: 0 20px; }
.section.alt .faq details { background: var(--bg); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; align-items: center; padding: 18px 0; font-weight: 620; font-size: 1.02rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 10px; height: 10px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg) translate(-2px, -2px); transition: transform .15s ease; }
.faq details[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.faq details > div { padding: 0 0 18px; color: var(--muted); display: grid; gap: .6rem; }
.faq details > div p, .faq details > div li { max-width: 62em; }
.faq ol, .faq ul { margin: 0; padding-left: 1.2rem; }

/* cta band */
.cta { border-radius: 24px; padding: 40px 28px; background: radial-gradient(80% 120% at 100% 0%, #3a5cff 0%, #2346d8 45%, #1a2f99 100%); color: #fff; display: grid; gap: 20px; align-items: center; box-shadow: var(--shadow-lg); }
.cta p { color: rgba(255, 255, 255, .82); margin-top: .5rem; }
.cta .btn { background: #fff; color: #1a2f99; justify-self: start; }
@media (min-width: 820px) { .cta { grid-template-columns: 1fr auto; padding: 48px 52px; } }

/* footer */
.foot { border-top: 1px solid var(--line); padding: 40px 0 48px; font-size: .9rem; color: var(--muted); }
.foot .wrap { display: grid; gap: 28px; }
@media (min-width: 820px) { .foot .wrap { grid-template-columns: 1.4fr repeat(4, 1fr); } }
.foot h3 { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink); margin-bottom: .7rem; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.foot a { color: var(--muted); text-decoration: none; }
.foot a:hover { color: var(--ink); text-decoration: underline; }
.foot .brand { margin-bottom: .7rem; }

/* legal pages */
.doc { max-width: 760px; padding-top: 40px; padding-bottom: 72px; }
.doc h1 { font-size: clamp(1.8rem, 1.4rem + 1.6vw, 2.5rem); font-weight: 740; margin-bottom: 1.4rem; }
.doc h2 { font-size: 1.2rem; margin: 2rem 0 .6rem; }
.doc p { margin: .6rem 0; }
.draft { background: var(--bad-soft); color: var(--bad); padding: .4rem 16px; font-size: .85rem; text-align: center; }
.marks a { color: inherit; text-decoration: none; }
.marks a:hover { color: var(--brand); text-decoration: underline; }
.doc .marks { margin: .4rem 0 1rem; }
.foot .wrap > p:only-child { grid-column: 1 / -1; }
