@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,500;12..96,700&family=Figtree:wght@400;500;600&display=swap');
:root { --bg:#15171c; --surface:#1d2027; --surface2:#262a33; --line:#323844; --text:#ede6d3; --muted:#9b968a; --accent:#e8b53a; --ink:#1a1407; --bad:#e5604f; --good:#5cc98a; }
@media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) { --bg:#e9ebee; --surface:#f6f7f9; --surface2:#dfe2e7; --line:#c9ced6; --text:#1d2129; --muted:#5e6573; --accent:#a8740f; --ink:#fff; } }
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.55 Figtree, system-ui, sans-serif; }
a { color: var(--accent); }
.wrap { max-width: 720px; margin: 0 auto; padding: 32px 16px 64px; }
header.site { display: flex; align-items: center; gap: 12px; margin-bottom: 40px; }
header.site img { width: 52px; height: auto; }
header.site b { font: 700 22px 'Bricolage Grotesque', sans-serif; letter-spacing: -0.01em; }
h1 { font: 700 clamp(30px, 6vw, 46px)/1.05 'Bricolage Grotesque', sans-serif; letter-spacing: -0.02em; margin: 0 0 12px; }
h2 { font: 600 20px 'Bricolage Grotesque', sans-serif; margin: 40px 0 12px; }
p.lead { color: var(--muted); font-size: 18px; max-width: 56ch; margin: 0 0 28px; }
.btn { display: inline-flex; align-items: center; gap: 8px; border: 0; border-radius: 10px; padding: 12px 18px; font: 600 15px Figtree, sans-serif; cursor: pointer; text-decoration: none; background: var(--surface2); color: var(--text); }
.btn.primary { background: var(--accent); color: var(--ink); }
.btn:disabled { opacity: .5; cursor: default; }
.btn:focus-visible, .choice:focus-within { outline: 2px solid var(--accent); outline-offset: 2px; }
.track { display: flex; gap: 6px; margin: 28px 0 8px; }
.track span { flex: 1; height: 8px; border-radius: 4px; background: var(--surface2); }
.track span.on { background: var(--accent); }
.muted { color: var(--muted); }
.choices { display: grid; gap: 8px; margin: 20px 0; }
.choice { display: flex; gap: 12px; align-items: center; padding: 14px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; cursor: pointer; }
.choice input { accent-color: var(--accent); }
.choice small { display: block; color: var(--muted); }
.key { font: 600 20px ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .04em; padding: 16px; background: var(--surface); border: 1px dashed var(--accent); border-radius: 12px; word-break: break-all; margin: 16px 0; }
.err { color: var(--bad); min-height: 1.5em; }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 18px; }
.plan b { font: 700 26px 'Bricolage Grotesque', sans-serif; display: block; font-variant-numeric: tabular-nums; }
footer { margin-top: 64px; color: var(--muted); font-size: 14px; }
@media (prefers-reduced-motion: no-preference) { .btn { transition: filter .15s; } .btn:hover:not(:disabled) { filter: brightness(1.08); } }
