:root {
  --ink: #15202b;
  --muted: #5b6672;
  --line: #e2e6ea;
  --bg: #ffffff;
  --soft: #f5f7f9;
  --brand: #123a5c;
  --brand-2: #1d5a8c;
  --accent: #e8a33d;
  --good: #1f7a4d;
  --warn: #b7791f;
  --bad: #b83232;
  --radius: 10px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); line-height: 1.55; font-size: 17px; }
a { color: var(--brand-2); }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
header.top { border-bottom: 1px solid var(--line); background: #fff; position: sticky; top: 0; z-index: 10; }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.logo { font-weight: 800; color: var(--brand); text-decoration: none; letter-spacing: -0.01em; }
.logo span { color: var(--accent); }
.btn { display: inline-block; background: var(--brand); color: #fff; border: 0; border-radius: 8px; padding: 14px 22px; font-size: 17px; font-weight: 700; text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--brand-2); }
.btn.small { padding: 9px 14px; font-size: 15px; }
.btn.ghost { background: #fff; color: var(--brand); border: 1px solid var(--line); }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.hero { padding: 64px 0 40px; background: linear-gradient(180deg, #f3f7fb, #fff); }
.hero h1 { font-size: clamp(32px, 5vw, 50px); line-height: 1.08; margin: 0 0 16px; letter-spacing: -0.02em; }
.hero p.lead { font-size: 20px; color: var(--muted); max-width: 680px; margin: 0 0 26px; }
.hero .meta { color: var(--muted); font-size: 15px; margin-top: 12px; }
section { padding: 52px 0; }
section.alt { background: var(--soft); }
h2 { font-size: clamp(26px, 3.4vw, 34px); line-height: 1.15; margin: 0 0 14px; letter-spacing: -0.01em; }
h3 { margin: 0 0 6px; font-size: 19px; }
.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.card p { margin: 0; color: var(--muted); }
.stat { font-size: 34px; font-weight: 800; color: var(--brand); }
.checks { list-style: none; padding: 0; margin: 0; }
.checks li { padding: 8px 0 8px 30px; position: relative; }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 8px; color: var(--good); font-weight: 800; }
.price-box { border: 2px solid var(--brand); border-radius: 14px; padding: 28px; background: #fff; max-width: 520px; }
.price { font-size: 48px; font-weight: 800; color: var(--brand); }
.price small { font-size: 17px; color: var(--muted); font-weight: 500; }
.faq details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.faq summary { font-weight: 700; cursor: pointer; }
.faq p { color: var(--muted); margin: 8px 0 0; }
footer { border-top: 1px solid var(--line); padding: 28px 0; color: var(--muted); font-size: 14px; }
footer a { color: var(--muted); }
.note { font-size: 14px; color: var(--muted); }

/* Checkout */
.checkout { max-width: 560px; }
.field { margin: 0 0 16px; }
.field label { display: block; font-weight: 700; margin-bottom: 6px; }
.field input { width: 100%; font-size: 17px; padding: 12px 14px; border: 1px solid #c9d0d6; border-radius: 8px; }
.row { display: flex; gap: 8px; }
.row input { flex: 1; }
.results { list-style: none; padding: 0; margin: 8px 0 0; }
.results li { border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; margin-bottom: 8px; cursor: pointer; }
.results li:hover, .results li.sel { border-color: var(--brand); background: #f0f6fb; }
.results li b { display: block; }
.results li span { color: var(--muted); font-size: 14px; }
.err { color: var(--bad); font-size: 15px; margin: 8px 0; }
.step { display: none; }
.step.on { display: block; }
.picked { background: #f0f6fb; border: 1px solid #c9dcec; border-radius: 8px; padding: 10px 12px; margin-bottom: 14px; }

/* Report */
.report h1 { font-size: clamp(28px, 4vw, 38px); margin: 0 0 6px; }
.report .sub { color: var(--muted); margin: 0 0 22px; }
.scorebar { display: grid; grid-template-columns: 160px 1fr; gap: 22px; align-items: center; margin: 18px 0 26px; }
.ring { width: 150px; height: 150px; border-radius: 50%; display: grid; place-items: center; font-size: 44px; font-weight: 800; color: var(--brand); background: conic-gradient(var(--brand) calc(var(--p) * 1%), #e7ecf0 0); position: relative; }
.ring::after { content: ""; position: absolute; inset: 14px; background: #fff; border-radius: 50%; }
.ring b { position: relative; z-index: 1; }
.bars .b { display: grid; grid-template-columns: 110px 1fr 40px; gap: 10px; align-items: center; margin: 6px 0; font-size: 15px; }
.bars .t { height: 10px; background: #e7ecf0; border-radius: 6px; overflow: hidden; }
.bars .t i { display: block; height: 100%; background: var(--brand-2); }
table.comp { width: 100%; border-collapse: collapse; font-size: 15px; }
table.comp th, table.comp td { text-align: left; padding: 9px 8px; border-bottom: 1px solid var(--line); }
table.comp tr.you td { font-weight: 700; background: #f0f6fb; }
.finding { border: 1px solid var(--line); border-left: 5px solid var(--warn); border-radius: 8px; padding: 16px 18px; margin: 0 0 14px; background: #fff; page-break-inside: avoid; }
.finding.high { border-left-color: var(--bad); }
.finding.low { border-left-color: #7c8a97; }
.finding.growth { border-left-color: var(--good); }
.finding .tag { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; font-weight: 800; color: var(--muted); }
.finding .ev { color: var(--muted); font-size: 15px; margin: 4px 0 8px; }
.finding ol { margin: 6px 0 0 18px; padding: 0; }
.tpl { background: var(--soft); border: 1px solid var(--line); border-radius: 8px; padding: 14px; white-space: pre-wrap; font-size: 15px; }
.plan { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.waiting { text-align: center; padding: 60px 0; }
.spinner { width: 42px; height: 42px; border: 4px solid #e2e6ea; border-top-color: var(--brand); border-radius: 50%; margin: 0 auto 18px; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.sample-banner { background: #fff7e6; border: 1px solid #f1d9a8; color: #6b4b12; padding: 10px 14px; border-radius: 8px; font-size: 15px; margin: 18px 0; }
.noprint { }
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .hero { padding: 40px 0 28px; }
  section { padding: 38px 0; }
  .scorebar { grid-template-columns: 1fr; justify-items: center; }
  .bars { width: 100%; }
  .row { flex-direction: column; }
}
@media print {
  header.top, footer, .noprint { display: none !important; }
  body { font-size: 13px; }
  .finding { border-color: #ccc; }
}
