:root {
	--bg: #f7f8fb; --surface: #ffffff; --fg: #14213a; --muted: #5a6479;
	--accent: #1f3a5f; --accent-2: #e0a526; --border: #e2e6ee; --danger: #b42318;
	--radius: 14px; --shadow: 0 1px 2px rgba(20,33,58,.05), 0 6px 20px rgba(20,33,58,.06);
	--font: "Manrope", ui-sans-serif, system-ui, sans-serif;
}
@media (prefers-color-scheme: dark) {
	:root { --bg: #0e1422; --surface: #161e30; --fg: #eef2f8; --muted: #9aa6bb; --accent: #8fb4e6; --border: #26314a; --danger: #ff9a8f; }
	.btn { color: #0e1422; }
}
body { background: var(--bg); font-size: 16px; }
a { color: var(--accent); }
h1 { font-weight: 800; }
h2 { font-size: 1.6rem; letter-spacing: -.01em; margin: 0 0 1.25rem; }
h3, .h3 { font-size: 1.1rem; margin: 0 0 .5rem; display: block; }
.muted { color: var(--muted); } .small { font-size: .85rem; } .center { text-align: center; }
.num { font-variant-numeric: tabular-nums; }
.card { background: var(--surface); box-shadow: var(--shadow); border-radius: var(--radius); padding: 1.25rem; }
.btn { border-radius: 10px; min-height: 44px; font-weight: 600; justify-content: center; text-decoration: none; transition: transform .1s; }
.btn:active { transform: scale(.98); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn-lg { padding: .8rem 1.3rem; } .btn-sm { min-height: 36px; padding: .35rem .75rem; }
.btn-secondary { background: var(--surface); color: var(--fg); }
.btn-ghost { background: transparent; color: var(--fg); border-color: transparent; }
.btn-hard { background: var(--danger); color: #fff; }
.input, .select, .textarea { background: var(--surface); min-height: 44px; }
.grow { flex: 1 1 12rem; width: auto; } .auto { width: auto; flex: 0 1 auto; }
.between { justify-content: space-between; }
.stack-lg { display: grid; gap: 1.5rem; }
.narrow { max-width: 40rem; margin: 0 auto; width: 100%; }
.brand { display: inline-flex; align-items: center; gap: .55rem; font-weight: 800; font-size: 1.15rem; color: var(--fg); }
.logo-mark { color: var(--accent); flex: none; }

.landing { max-width: 72rem; margin: 0 auto; padding: 0 1.25rem; }
.topbar { display: flex; justify-content: space-between; align-items: center; padding: 1.25rem 0; gap: 1rem; flex-wrap: wrap; }
.topnav { display: flex; gap: 1.25rem; align-items: center; }
.topnav a { color: var(--fg); text-decoration: none; font-weight: 500; }
.hero { display: grid; gap: 2.5rem; padding: 3rem 0 4rem; align-items: center; }
.display { font-size: clamp(2.6rem, 7vw, 4.5rem); line-height: 1.05; letter-spacing: -.035em; margin-bottom: 1.25rem; }
.hero .lede { font-size: 1.15rem; color: var(--muted); max-width: 36rem; margin-bottom: 2rem; }
.hero-art { position: relative; display: grid; place-items: center; min-height: 260px; background: var(--surface); border-radius: 24px; box-shadow: var(--shadow); }
.mock-card { position: absolute; top: 12%; left: 8%; background: var(--bg); border: 1px solid var(--border); border-radius: 12px; padding: .8rem 1rem; display: grid; }
.mock-card.offset { top: auto; left: auto; bottom: 12%; right: 8%; }
.section { padding: 3rem 0; }
.feature h3 { color: var(--accent); }
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(13rem,100%),1fr)); }
.steps li { display: flex; align-items: center; gap: .8rem; font-weight: 600; background: var(--surface); padding: 1.1rem; border-radius: var(--radius); box-shadow: var(--shadow); }
.step-n { width: 2rem; height: 2rem; border-radius: 50%; display: grid; place-items: center; background: var(--accent-2); color: #14213a; font-weight: 800; flex: none; }
.plan { display: grid; gap: .75rem; align-content: start; }
.plan-hl { outline: 2px solid var(--accent); }
.price { margin: 0; } .price .num { font-size: 2.2rem; font-weight: 800; }
.checks { padding: 0; margin: 0 0 .5rem; list-style: none; display: grid; gap: .4rem; }
.checks li::before { content: "✓ "; color: var(--accent); font-weight: 700; }
.footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; padding: 2rem 0 3rem; border-top: 1px solid var(--border); }
.footer a { color: var(--muted); text-decoration: none; }

.app { min-height: 100vh; padding-bottom: 5rem; }
.sidebar { position: fixed; bottom: 0; left: 0; right: 0; z-index: 10; background: var(--surface); border-top: 1px solid var(--border); }
.brand-btn, .side-note { display: none; }
.nav { display: flex; justify-content: space-around; }
.nav-item { flex: 1; display: flex; flex-direction: column; align-items: center; gap: .2rem; padding: .6rem .25rem; border: 0; background: none; color: var(--muted); font: inherit; font-size: .78rem; font-weight: 600; cursor: pointer; min-height: 56px; }
.nav-item.on { color: var(--accent); }
.main { padding: 1.5rem 1.1rem; max-width: 64rem; margin: 0 auto; }
.stats { display: grid; gap: .75rem; grid-template-columns: repeat(auto-fit, minmax(min(9rem,100%),1fr)); }
.stat { display: grid; gap: .25rem; } .stat strong { font-size: 1.6rem; }
.two-col { display: grid; gap: 1.25rem; }
.ach { display: flex; align-items: center; gap: .75rem; padding: .6rem 0; border-bottom: 1px solid var(--border); }
.ach > span:nth-child(2) { flex: 1; }
.ach-dot { width: 1.8rem; height: 1.8rem; border-radius: 50%; border: 2px dashed var(--border); display: grid; place-items: center; flex: none; font-weight: 800; }
.ach-on .ach-dot { border: 0; background: var(--accent-2); color: #14213a; }
.ach:not(.ach-on) strong { color: var(--muted); }
.set-card { display: grid; gap: .5rem; text-align: left; border: 1px solid transparent; cursor: pointer; font: inherit; color: var(--fg); }
.set-card:hover { border-color: var(--accent); }
.bar { display: block; height: 6px; border-radius: 99px; background: var(--border); overflow: hidden; }
.bar > span { display: block; height: 100%; background: var(--accent); transition: width .3s; }
.card-row { display: grid; flex: 1 1 14rem; }
.r-easy { color: #1d7a4a; } .r-hard { color: var(--danger); }
.flip { min-height: 16rem; display: grid; place-items: center; align-content: center; gap: 1rem; padding: 2rem; border-radius: 20px; border: 1px solid var(--border); background: var(--surface); box-shadow: var(--shadow); color: var(--fg); font: inherit; cursor: pointer; text-align: center; }
.flip.is-back { border-color: var(--accent); }
.flip-text { font-size: 1.35rem; font-weight: 700; line-height: 1.4; }
.rate { display: grid; grid-template-columns: repeat(3,1fr); gap: .6rem; }
fieldset.field { border: 0; padding: 0; } legend { font-weight: 600; margin-bottom: .5rem; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { min-height: 44px; padding: .4rem 1rem; border-radius: 10px; border: 1px solid var(--border); background: var(--surface); color: var(--fg); font: inherit; font-weight: 600; cursor: pointer; }
.chip.on, .option.on { border-color: var(--accent); background: var(--accent); color: var(--surface); }
.question { font-size: 1.4rem; margin: 0; }
.options { display: grid; gap: .6rem; }
.option { text-align: left; min-height: 52px; padding: .8rem 1rem; border-radius: 12px; border: 1px solid var(--border); background: var(--surface); color: var(--fg); font: inherit; font-weight: 500; cursor: pointer; }
.review { list-style: none; padding: 0; margin: 0; display: grid; gap: .75rem; }
.review li { display: grid; gap: .35rem; border-left: 4px solid var(--border); }
.rv-ok { border-left-color: #1d7a4a !important; } .rv-bad { border-left-color: var(--danger) !important; }
.toast { position: fixed; left: 50%; bottom: 5.5rem; transform: translateX(-50%); background: var(--fg); color: var(--bg); padding: .8rem 1.2rem; border-radius: 12px; font-weight: 600; z-index: 20; max-width: calc(100% - 2rem); }

@media (min-width: 56rem) {
	.hero { grid-template-columns: 1.2fr 1fr; padding: 5rem 0 6rem; }
	.hero-art { min-height: 380px; }
	.app { display: grid; grid-template-columns: 15rem 1fr; padding-bottom: 0; }
	.sidebar { position: sticky; top: 0; height: 100vh; border-top: 0; border-right: 1px solid var(--border); padding: 1.5rem 1rem; display: flex; flex-direction: column; gap: 2rem; }
	.brand-btn { display: block; background: none; border: 0; text-align: left; cursor: pointer; padding: 0 .5rem; }
	.side-note { display: block; margin-top: auto; color: var(--muted); padding: 0 .5rem; }
	.nav { flex-direction: column; gap: .25rem; }
	.nav-item { flex-direction: row; gap: .75rem; font-size: .95rem; padding: .7rem .8rem; border-radius: 10px; min-height: 44px; flex: none; }
	.nav-item.on { background: var(--bg); }
	.main { padding: 2.5rem 2rem; width: 100%; }
	.two-col { grid-template-columns: 1fr 1fr; }
	.toast { bottom: 2rem; }
}
@media (prefers-reduced-motion: reduce) { .bar > span, .btn { transition: none; } }
