:root {
  --ink: #14202e; --muted: #5a6573; --line: #dfe3e8; --paper: #f7f5f0; --card: #ffffff;
  --accent: #1f3a5f; --accent-2: #2f6f5e; --warn: #9a5b12; --bad: #a33a2a; --soft: #eef2f6;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.55 var(--sans); }
a { color: var(--accent); }
img { max-width: 100%; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 760px; }

/* header */
.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 0; }
.brand { font-family: var(--serif); font-size: 22px; font-weight: 600; color: var(--ink); text-decoration: none; letter-spacing: -0.01em; }
.brand span { color: var(--accent-2); }
.top nav { display: flex; gap: 16px; align-items: center; font-size: 15px; }
.top nav a { text-decoration: none; color: var(--muted); }

/* buttons & forms */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--accent); background: var(--accent); color: #fff; padding: 11px 18px; border-radius: 8px; font: 600 15px var(--sans); cursor: pointer; text-decoration: none; transition: transform .12s ease, background .12s ease; }
.btn:hover { background: #172d4a; }
.btn:active { transform: translateY(1px); }
.btn.ghost { background: transparent; color: var(--accent); }
.btn.ghost:hover { background: var(--soft); }
.btn.small { padding: 7px 12px; font-size: 14px; }
.btn[disabled] { opacity: .55; cursor: wait; }
input[type=text], input[type=email], input[type=url], textarea, select {
  width: 100%; padding: 11px 12px; border: 1px solid #c9cfd6; border-radius: 8px; background: #fff; font: 16px var(--sans); color: var(--ink);
}
textarea { min-height: 120px; resize: vertical; line-height: 1.45; }
input:focus, textarea:focus { outline: 2px solid #9db7d6; outline-offset: 1px; border-color: var(--accent); }
label { display: block; font-size: 14px; font-weight: 600; margin: 12px 0 5px; }
.hint { color: var(--muted); font-size: 14px; }
.msg { margin-top: 10px; font-size: 15px; min-height: 1.4em; }
.msg.ok { color: var(--accent-2); } .msg.err { color: var(--bad); }
.hp { position: absolute; left: -9999px; }

/* landing */
.hero { padding: 40px 0 56px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.eyebrow { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-2); font-weight: 700; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; letter-spacing: -0.015em; line-height: 1.12; }
.hero h1 { font-size: clamp(36px, 5.2vw, 58px); margin: 12px 0 18px; }
.lead { font-size: 19px; color: #333d49; max-width: 34em; }
.hero .cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.sheet { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 26px 26px 22px; box-shadow: 0 18px 40px -24px rgba(20,32,46,.35); font-size: 12.5px; line-height: 1.4; transform: rotate(1.2deg); }
.sheet .nm { font: 700 20px var(--sans); color: var(--accent); }
.sheet .tt { font-weight: 700; margin: 2px 0 8px; }
.sheet .h { font-weight: 700; color: var(--accent); text-transform: uppercase; border-bottom: 1px solid var(--accent); margin: 10px 0 5px; font-size: 11.5px; }
.sheet mark { background: #e3efe9; color: inherit; padding: 0 2px; border-radius: 2px; }
.sheet ul { margin: 0; padding-left: 16px; }
.score { display: flex; align-items: center; gap: 10px; margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--line); font-size: 13px; color: var(--muted); }
.score b { font: 700 22px var(--sans); color: var(--accent-2); }

section.band { padding: 64px 0; border-top: 1px solid var(--line); }
section.band h2 { font-size: clamp(28px, 3.6vw, 40px); margin: 0 0 14px; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 28px; counter-reset: s; }
.steps li { list-style: none; background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 18px; counter-increment: s; }
.steps li::before { content: counter(s, decimal-leading-zero); display: block; font: 600 14px var(--sans); color: var(--accent-2); margin-bottom: 8px; }
.steps h3 { font-size: 20px; margin: 0 0 6px; }
.steps p { margin: 0; color: var(--muted); font-size: 15px; }
.truth { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: start; }
.truth .big { font-family: var(--serif); font-size: clamp(30px, 4vw, 46px); line-height: 1.1; margin: 0; }
.checks { list-style: none; padding: 0; margin: 0; }
.checks li { padding: 12px 0 12px 30px; border-bottom: 1px solid var(--line); position: relative; }
.checks li::before { content: ""; position: absolute; left: 4px; top: 19px; width: 12px; height: 7px; border-left: 2px solid var(--accent-2); border-bottom: 2px solid var(--accent-2); transform: rotate(-45deg); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 24px; }
.price { font: 600 34px var(--serif); margin: 6px 0; }
.tag { display: inline-block; font-size: 12.5px; font-weight: 700; color: var(--accent-2); background: #e3efe9; border-radius: 99px; padding: 3px 10px; }
.wl { display: flex; gap: 10px; margin-top: 14px; }
.wl input { flex: 1; }
details { border-bottom: 1px solid var(--line); padding: 14px 0; }
summary { cursor: pointer; font-weight: 600; }
details p { color: var(--muted); margin: 10px 0 0; }
footer { padding: 36px 0 48px; color: var(--muted); font-size: 14px; border-top: 1px solid var(--line); }

/* app */
.app-top { background: #fff; border-bottom: 1px solid var(--line); }
.meter { font-size: 14px; color: var(--muted); }
.banner { background: #fff6e6; border: 1px solid #f0d9ad; color: #6b4708; padding: 10px 14px; border-radius: 8px; font-size: 14px; margin: 16px 0 0; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 22px; margin: 18px 0; }
.card h2 { font-size: 26px; margin: 0 0 6px; }
.stepnav { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 18px; }
.stepnav span { font-size: 13px; padding: 5px 10px; border-radius: 99px; background: #e9ecef; color: var(--muted); }
.stepnav span.on { background: var(--accent); color: #fff; }
.stepnav span.done { background: #e3efe9; color: var(--accent-2); }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.row3 { display: grid; grid-template-columns: 2fr 2fr 1fr 1fr; gap: 10px; }
.entry { border: 1px solid var(--line); border-radius: 10px; padding: 14px; margin: 10px 0; background: #fbfbfa; }
.entry .x { float: right; }
.actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; align-items: center; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0; }
.chip { font-size: 13px; padding: 4px 10px; border-radius: 99px; background: var(--soft); }
.chip.ok { background: #e3efe9; color: var(--accent-2); } .chip.no { background: #f6e3df; color: var(--bad); }
.q { border: 1px solid var(--line); border-radius: 10px; padding: 14px; margin: 12px 0; }
.q .req { font-size: 13px; color: var(--muted); }
.q label.opt { font-weight: 500; display: flex; gap: 8px; align-items: center; margin: 8px 0; font-size: 15px; cursor: pointer; }
.q input[type=radio] { width: 18px; height: 18px; }
.kpi { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.kpi div { background: var(--soft); border-radius: 10px; padding: 14px; }
.kpi b { display: block; font: 700 28px var(--sans); color: var(--accent); }
.preview { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: #fff; }
.preview iframe { width: 100%; height: 640px; border: 0; display: block; }
.tabs { display: flex; gap: 6px; margin: 12px 0 8px; }
.list a { display: flex; justify-content: space-between; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.spinner { width: 16px; height: 16px; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.hidden { display: none !important; }

@media (max-width: 860px) {
  .hero, .truth, .two { grid-template-columns: 1fr; gap: 28px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .sheet { transform: none; }
}
@media (max-width: 560px) {
  .steps, .row, .row3, .kpi { grid-template-columns: 1fr; }
  .wl { flex-direction: column; }
  .top nav .hide-sm { display: none; }
  .top { flex-wrap: wrap; }
  .top nav { gap: 12px; font-size: 14px; }
  .meter { font-size: 13px; }
  .preview iframe { height: 480px; }
  .card { padding: 16px; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
