:root {
  --ink: #10151c;
  --ink-2: #171e27;
  --paper: #f7f8fa;
  --white: #fff;
  --muted: #5f6b7c;
  --line: #d8dee7;
  --blue: #3b76ed;
  --green: #49e394;
  --green-dark: #075237;
  --amber: #f4a52e;
  --max: 1180px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); }
a { color: inherit; }
img { max-width: 100%; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 99; padding: 10px 14px; background: white; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }
.wrap { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }
header { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(10px); }
.nav { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 1.12rem; }
.mark { width: 32px; height: 32px; display: grid; place-items: center; border: 2px solid var(--ink); border-radius: 9px; font-size: .78rem; }
nav ul { display: flex; align-items: center; gap: 24px; list-style: none; padding: 0; margin: 0; }
nav a { text-decoration: none; font-weight: 650; font-size: .9rem; color: #3f4b5c; }
nav a:hover { color: var(--ink); }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 18px; border: 1px solid transparent; border-radius: 10px; background: var(--blue); color: white; font-weight: 760; text-decoration: none; cursor: pointer; }
.button.secondary { background: transparent; border-color: #66758a; color: inherit; }
.button.light { background: white; color: var(--ink); }
.button.small { min-height: 38px; padding: 8px 14px; font-size: .88rem; }
.hero { background: var(--ink); color: white; padding: 92px 0; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.eyebrow { color: var(--green-dark); text-transform: uppercase; letter-spacing: .12em; font-size: .74rem; font-weight: 850; }
.hero .eyebrow, .dark .eyebrow, .page-hero .eyebrow { color: var(--green); }
h1 { margin: 14px 0 20px; font-size: clamp(2.6rem, 6vw, 4.45rem); line-height: 1.04; letter-spacing: -.045em; max-width: 760px; }
h2 { margin: 10px 0 14px; font-size: clamp(2rem, 4vw, 3.25rem); line-height: 1.08; letter-spacing: -.035em; }
h3 { margin: 0 0 8px; font-size: 1.18rem; }
.lede { color: #c8d1df; font-size: 1.16rem; max-width: 660px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.confidence { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 28px; color: #d8dfeb; font-size: .8rem; }
.confidence span { border: 1px solid #344052; background: #161d26; padding: 7px 10px; border-radius: 8px; }
.system-card { border: 1px solid #344052; background: var(--ink-2); padding: 24px; border-radius: 22px; box-shadow: 0 24px 80px rgba(0,0,0,.22); }
.system-head { display: flex; justify-content: space-between; color: #a8b5c7; font-size: .72rem; margin-bottom: 16px; }
.live { color: var(--green); font-weight: 800; }
.stage { display: grid; grid-template-columns: 38px 1fr auto; gap: 12px; align-items: center; padding: 14px; border: 1px solid #2b3545; border-radius: 12px; margin-top: 10px; background: #1b232e; }
.stage > b:first-child { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 9px; background: var(--blue); }
.stage:nth-of-type(3) > b:first-child { background: var(--green-dark); }
.stage:nth-of-type(4) > b:first-child { background: var(--amber); color: var(--ink); }
.stage small { color: #9eacbf; }
section { padding: 88px 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 28px; margin-bottom: 34px; }
.section-head p { color: var(--muted); max-width: 500px; }
.grid-4, .grid-3, .grid-2 { display: grid; gap: 18px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card { background: white; border: 1px solid var(--line); border-radius: 16px; padding: 24px; }
.card p { color: var(--muted); margin-bottom: 0; }
.number { color: var(--blue); font-size: .73rem; font-weight: 850; letter-spacing: .12em; }
.dark { background: var(--ink); color: white; }
.dark .card { background: var(--ink-2); border-color: #313b4b; }
.dark .card p { color: #b8c4d3; }
.offer { border: 2px solid var(--ink); box-shadow: 9px 9px 0 var(--green); }
.price { font-size: 2.35rem; font-weight: 850; letter-spacing: -.04em; margin: 8px 0; }
.price small { font-size: .82rem; color: var(--muted); letter-spacing: 0; }
.checklist { list-style: none; padding: 0; }
.checklist li { padding: 9px 0 9px 26px; border-bottom: 1px solid var(--line); position: relative; }
.checklist li::before { content: "✓"; position: absolute; left: 0; color: var(--green-dark); font-weight: 900; }
.score-shell { display: grid; grid-template-columns: .8fr 1.2fr; gap: 36px; align-items: start; }
form { background: white; border: 1px solid var(--line); border-radius: 18px; padding: 26px; }
fieldset { border: 0; padding: 0; margin: 0 0 24px; }
legend { font-weight: 820; margin-bottom: 10px; }
label.option { display: block; padding: 10px 12px; border: 1px solid var(--line); border-radius: 9px; margin-top: 8px; cursor: pointer; }
label.option:has(input:checked) { border-color: var(--blue); background: #eef4ff; }
input { margin-right: 8px; }
.result { display: none; padding: 18px; margin-top: 18px; background: #eefaf4; border-left: 4px solid var(--green-dark); }
.result.show { display: block; }
.notice { border: 1px solid var(--line); background: white; padding: 16px; border-radius: 12px; color: var(--muted); font-size: .9rem; }
.page-hero { padding: 72px 0; background: var(--ink); color: white; }
.page-hero h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
.fine { color: var(--muted); font-size: .84rem; }
.legal { max-width: 780px; }
.legal h2 { font-size: 1.65rem; margin-top: 34px; }
footer { background: #0a0e13; color: #c6d0dd; padding: 54px 0; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 30px; }
footer a { color: white; }
@media (max-width: 900px) {
  .nav { flex-wrap: wrap; padding: 10px 0; gap: 10px 18px; }
  .nav nav { order: 3; width: 100%; overflow-x: auto; padding-bottom: 4px; }
  .nav nav ul { display: flex; width: max-content; gap: 18px; }
  .hero-grid, .score-shell, .grid-2 { grid-template-columns: 1fr; }
  .grid-4, .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .hero { padding: 64px 0; }
}
@media (max-width: 580px) {
  .wrap { width: min(100% - 28px, var(--max)); }
  .nav .button { display: none; }
  .nav nav { overflow: visible; }
  .nav nav ul { display: grid; grid-template-columns: repeat(3, max-content); width: auto; gap: 8px 14px; }
  .nav nav a { font-size: .84rem; }
  .grid-4, .grid-3, .footer-grid { grid-template-columns: 1fr; }
  section { padding: 64px 0; }
  .stage { grid-template-columns: 38px 1fr; }
  .stage > small { grid-column: 2; }
}
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
