:root {
  --bg: #f6f5f1;
  --surface: #ffffff;
  --ink: #16202c;
  --muted: #5b6673;
  --line: #e2e0d8;
  --accent: #1f4e5f;
  --ok: #1d7a4f;
  --ok-bg: #e5f3ec;
  --krap: #9a6200;
  --krap-bg: #fbf0dc;
  --nee: #b3261e;
  --nee-bg: #fbe7e5;
  --c-eigen: #1f4e5f;
  --c-vendor: #7fa7b5;
  --c-bank: #c9b98f;
  --radius: 10px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #11161c;
    --surface: #1a2129;
    --ink: #e8ebee;
    --muted: #9aa5b1;
    --line: #2c3540;
    --accent: #8cc3d4;
    --ok: #5cc592;
    --ok-bg: #173228;
    --krap: #e8b155;
    --krap-bg: #33291a;
    --nee: #f08a82;
    --nee-bg: #3a1f1d;
    --c-eigen: #8cc3d4;
    --c-vendor: #4f7d8c;
    --c-bank: #8a7d5a;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
a { color: var(--accent); }

.top { border-bottom: 1px solid var(--line); background: var(--surface); }
.top-inner { display: flex; align-items: center; justify-content: space-between; height: 56px; }
.brand { font-weight: 700; letter-spacing: -0.01em; text-decoration: none; color: var(--ink); font-size: 1.1rem; }
.top nav a { margin-left: 20px; text-decoration: none; color: var(--muted); font-size: 0.95rem; }
.top nav a:hover { color: var(--ink); }

.hero { padding: 40px 16px 24px; }
.hero h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); line-height: 1.15; margin: 0 0 12px; letter-spacing: -0.02em; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 680px; margin: 0 0 12px; }
.privacy-note { font-size: 0.9rem; color: var(--muted); margin: 0; padding-left: 12px; border-left: 3px solid var(--accent); max-width: 680px; }

.calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 24px; align-items: start; padding-bottom: 48px; }
@media (max-width: 900px) { .calc { grid-template-columns: minmax(0, 1fr); } }

.inputs, .block, .kpi, .verdict { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.inputs { padding: 8px 20px 20px; }
.example-note { font-size: 0.85rem; color: var(--muted); margin: 12px 0 0; }
fieldset { border: 0; padding: 0; margin: 20px 0 0; }
legend { font-weight: 700; font-size: 1.05rem; margin-bottom: 8px; padding: 0; }
label { display: block; font-size: 0.92rem; font-weight: 600; margin: 12px 0 0; }
.hint { display: block; font-weight: 400; color: var(--muted); font-size: 0.82rem; line-height: 1.4; margin-top: 2px; }
input {
  display: block; width: 100%; margin-top: 6px; padding: 9px 11px;
  font: inherit; font-variant-numeric: tabular-nums; color: var(--ink);
  background: var(--bg); border: 1px solid var(--line); border-radius: 7px;
}
input:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
.row2, .row3 { display: grid; gap: 12px; align-items: stretch; }
.row2 > label, .row3 > label { display: flex; flex-direction: column; }
.row2 > label input, .row3 > label input { margin-top: auto; }
.row2 > label .hint, .row3 > label .hint { margin-bottom: 6px; }
.row2 { grid-template-columns: 1fr 1fr; }
.row3 { grid-template-columns: 1fr 1fr 1fr; }
@media (max-width: 480px) { .row2, .row3 { grid-template-columns: 1fr; } }
.subgroup { margin-top: 16px; padding-top: 12px; border-top: 1px dashed var(--line); }
.subgroup h3 { font-size: 0.95rem; margin: 0; color: var(--muted); font-weight: 600; }

.results { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.verdict { padding: 14px 16px; border-left-width: 5px; }
.verdict strong { display: block; font-size: 1.05rem; margin-bottom: 2px; }
.verdict.ok { border-left-color: var(--ok); background: var(--ok-bg); }
.verdict.krap { border-left-color: var(--krap); background: var(--krap-bg); }
.verdict.nee { border-left-color: var(--nee); background: var(--nee-bg); }

.kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.kpi { padding: 12px 14px; display: flex; flex-direction: column; min-width: 0; }
.kpi-label { font-size: 0.8rem; color: var(--muted); }
.kpi-value { font-size: 1.45rem; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; overflow-wrap: anywhere; }
.kpi-sub { font-size: 0.78rem; color: var(--muted); }
.ok { color: var(--ok); } .krap { color: var(--krap); } .nee { color: var(--nee); }
.verdict.ok, .verdict.krap, .verdict.nee { color: var(--ink); }

.block { padding: 14px 16px; }
.block h2 { font-size: 1rem; margin: 0 0 10px; }
.mixbar { display: flex; height: 14px; border-radius: 7px; overflow: hidden; background: var(--line); }
.mixbar span { display: block; height: 100%; }
.c-eigen { background: var(--c-eigen); } .c-vendor { background: var(--c-vendor); } .c-bank { background: var(--c-bank); }
.legend { list-style: none; padding: 0; margin: 10px 0 0; font-size: 0.9rem; }
.legend li { display: grid; grid-template-columns: 14px 1fr auto 52px; gap: 8px; align-items: center; padding: 3px 0; }
.legend i { width: 10px; height: 10px; border-radius: 2px; }
.legend b { font-variant-numeric: tabular-nums; font-weight: 600; }
.legend em { font-style: normal; color: var(--muted); text-align: right; font-size: 0.82rem; }
.legend .sum { grid-template-columns: 14px 1fr auto; border-top: 1px solid var(--line); margin-top: 4px; padding-top: 6px; }
.legend .sum::before { content: ""; }
.legend .sum em { grid-column: 2 / 4; text-align: left; }
.flags { list-style: none; padding: 0; margin: 10px 0 0; font-size: 0.88rem; }
.flags li { padding: 8px 10px; border-radius: 7px; margin-top: 6px; }
.flags .warn { background: var(--krap-bg); }
.flags .info { background: var(--ok-bg); }

.table-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 0.88rem; font-variant-numeric: tabular-nums; }
th, td { padding: 6px 8px; text-align: right; white-space: nowrap; border-bottom: 1px solid var(--line); }
th:first-child, td:first-child { text-align: left; }
th { font-weight: 600; color: var(--muted); font-size: 0.8rem; }
td.ok, td.krap, td.nee { font-weight: 700; }
td.neg { color: var(--nee); }
.note { font-size: 0.8rem; color: var(--muted); margin: 8px 0 0; }

.stress { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
@media (max-width: 480px) { .stress { grid-template-columns: 1fr 1fr; } }
.stress-item { padding: 10px; border-radius: 7px; background: var(--bg); display: flex; flex-direction: column; }
.stress-label { font-size: 0.78rem; color: var(--muted); }
.stress-value { font-size: 1.15rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.stress-item.ok .stress-value { color: var(--ok); }
.stress-item.krap .stress-value { color: var(--krap); }
.stress-item.nee .stress-value { color: var(--nee); }
.stress-item.ok, .stress-item.krap, .stress-item.nee { color: inherit; }

.prose { max-width: 760px; padding-bottom: 32px; }
.prose h2 { font-size: 1.5rem; margin: 32px 0 8px; letter-spacing: -0.01em; }
.prose h3 { font-size: 1.08rem; margin: 20px 0 4px; }
.prose p, .prose li { color: var(--ink); }
.disclaimer { font-size: 0.9rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 12px; }

.foot { border-top: 1px solid var(--line); padding: 20px 0 32px; font-size: 0.85rem; color: var(--muted); }
.foot p { margin: 4px 0; }

.waitlist {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 28px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; margin-bottom: 16px;
}
@media (max-width: 800px) { .waitlist { grid-template-columns: minmax(0, 1fr); padding: 18px; } }
.waitlist h2 { font-size: 1.4rem; margin: 0 0 8px; letter-spacing: -0.01em; }
.waitlist ul { padding-left: 20px; margin: 8px 0; }
.waitlist li { margin: 4px 0; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.75rem; font-weight: 700; color: var(--accent); margin: 0 0 4px; }
.muted { color: var(--muted); font-size: 0.9rem; }
.waitlist-form { align-self: center; }
.waitlist-form label:first-child { margin-top: 0; }
select {
  display: block; width: 100%; margin-top: 6px; padding: 9px 11px; font: inherit; color: var(--ink);
  background: var(--bg); border: 1px solid var(--line); border-radius: 7px;
}
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 0.88rem; margin-top: 14px; }
.check input { width: auto; margin: 3px 0 0; flex: none; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
button {
  margin-top: 16px; width: 100%; padding: 11px 16px; font: inherit; font-weight: 700; cursor: pointer;
  color: #fff; background: var(--accent); border: 0; border-radius: 7px;
}
@media (prefers-color-scheme: dark) { button { color: #0d1216; } }
button:disabled { opacity: 0.6; cursor: wait; }
.form-status { font-size: 0.88rem; min-height: 1.3em; margin: 10px 0 0; }
.form-status.ok { color: var(--ok); }
.form-status.fout { color: var(--nee); }

.audience { list-style: none; padding: 0; margin: 20px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 800px) { .audience { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.audience li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 12px; display: flex; flex-direction: column; }
.audience strong { font-size: 0.92rem; }
.audience span { font-size: 0.8rem; color: var(--muted); }
.why { padding-bottom: 8px; }
.faq details { border-bottom: 1px solid var(--line); padding: 10px 0; }
.faq summary { cursor: pointer; font-weight: 600; }
.faq details p { margin: 8px 0 4px; }
@media (max-width: 480px) { .top nav a { margin-left: 12px; font-size: 0.88rem; } }

/* Gidsen */
.article { max-width: 740px; padding-top: 32px; padding-bottom: 32px; }
.article h1 { font-size: clamp(1.7rem, 3.6vw, 2.3rem); line-height: 1.2; letter-spacing: -0.02em; margin: 6px 0 12px; }
.article .lead { max-width: none; }
.crumbs { font-size: 0.85rem; color: var(--muted); }
.crumbs a { color: var(--muted); }
.updated { font-size: 0.82rem; color: var(--muted); margin: 0 0 20px; }
.article table { width: 100%; border-collapse: collapse; margin: 12px 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.article th, .article td { padding: 8px 10px; }
.article th, .article td { text-align: left; white-space: normal; font-size: 0.92rem; }
.cta { background: var(--surface); border: 1px solid var(--line); border-left: 5px solid var(--accent); border-radius: var(--radius); padding: 16px 18px; margin: 28px 0; }
.cta p { margin: 0 0 10px; }
.cta a.button, a.button { display: inline-block; background: var(--accent); color: #fff; text-decoration: none; font-weight: 700; padding: 10px 16px; border-radius: 7px; }
@media (prefers-color-scheme: dark) { .cta a.button, a.button { color: #0d1216; } }
.related { border-top: 1px solid var(--line); margin-top: 32px; padding-top: 12px; }
.related ul { padding-left: 20px; }
.guides { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 640px) { .guides { grid-template-columns: minmax(0, 1fr); } }
.guides a { display: block; height: 100%; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; text-decoration: none; color: var(--ink); }
.guides a:hover { border-color: var(--accent); }
.guides strong { display: block; margin-bottom: 2px; }
.guides span { color: var(--muted); font-size: 0.9rem; }
.foot nav a { margin-right: 14px; color: var(--muted); }
