:root {
  --paper: #f6f4ef;
  --paper-2: #fffdfa;
  --ink: #16181d;
  --ink-soft: #34373e;
  --muted: #666a72;
  --line: #e4dfd3;
  --accent: #f2a007;
  --accent-soft: #fff1d2;
  --green: #1c7a3d;
  --red: #b23a2e;
  --maxw: 780px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

.hazard {
  height: 6px;
  background: repeating-linear-gradient(45deg, var(--accent) 0 14px, var(--ink) 14px 28px);
}

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
a { color: var(--ink); }

/* Header */
.site-header { background: var(--paper-2); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 12px; padding-bottom: 12px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 1.25rem; letter-spacing: -0.02em; line-height: 1.1; }
.brand .mark { width: 32px; height: 32px; background: var(--accent); display: grid; place-items: center; font-weight: 900; border-radius: 7px; font-size: 1.15rem; flex: 0 0 auto; }
.brand small { display: block; font-weight: 600; font-size: 0.68rem; color: var(--muted); letter-spacing: 0.05em; text-transform: uppercase; }
.nav { display: flex; gap: 2px; flex-wrap: wrap; }
.nav a { text-decoration: none; padding: 7px 11px; border-radius: 7px; font-weight: 600; font-size: 0.92rem; color: var(--ink-soft); }
.nav a:hover { background: var(--accent-soft); }
.nav a.active { background: var(--ink); color: #fff; }
.nav-toggle { display: none; }

/* Buttons */
.btn { display: inline-block; background: var(--accent); color: var(--ink); text-decoration: none; font-weight: 800; padding: 13px 22px; border-radius: 8px; border: 0; font-size: 1rem; cursor: pointer; }
.btn:hover { background: #e09400; }
.btn.ghost { background: transparent; box-shadow: inset 0 0 0 2px var(--ink); color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: #fff; }

/* Hero */
.hero { padding: 60px 0 34px; }
.kicker { display: inline-block; background: var(--accent); color: var(--ink); font-weight: 800; font-size: 0.78rem; letter-spacing: 0.09em; text-transform: uppercase; padding: 5px 11px; border-radius: 4px; }
.hero h1 { font-size: clamp(2rem, 5.5vw, 3.1rem); line-height: 1.06; letter-spacing: -0.03em; margin: 18px 0 16px; font-weight: 850; }
.hero .lead { font-size: 1.22rem; line-height: 1.5; font-weight: 600; margin: 0; }
.hero .sub { color: var(--muted); margin-top: 12px; }
.hero .actions { margin-top: 24px; display: flex; gap: 12px; flex-wrap: wrap; }

/* Sections */
section { padding: 40px 0; }
section + section { border-top: 1px solid var(--line); }
h2 { font-size: 1.6rem; letter-spacing: -0.02em; font-weight: 800; margin: 0 0 14px; }
.lead-note { color: var(--muted); }

/* Cards */
.card { background: var(--paper-2); border: 1px solid var(--line); border-radius: 12px; padding: 24px; }
.card + .card { margin-top: 14px; }
.grid { display: grid; gap: 14px; }
.grid.two { grid-template-columns: repeat(2, 1fr); }

/* Match visual */
.match { background: var(--ink); color: #fff; border-radius: 14px; padding: 28px; }
.match .row { padding: 18px; border-radius: 9px; background: rgba(255,255,255,0.05); }
.match .label { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.12em; color: rgba(255,255,255,0.55); font-weight: 700; }
.match .value { font-size: 1.35rem; font-weight: 700; margin-top: 5px; }
.match .vs { text-align: center; font-weight: 800; color: var(--accent); letter-spacing: 0.12em; margin: 10px 0; }
.match .question { font-weight: 800; font-size: 1.2rem; margin: 18px 0 4px; }
.match .answer { color: var(--accent); font-weight: 800; font-size: 1.05rem; }

/* Lists */
ul.clean { list-style: none; padding: 0; margin: 0; }
ul.clean li { padding: 13px 0 13px 36px; position: relative; border-bottom: 1px solid var(--line); }
ul.clean li:last-child { border-bottom: 0; }
ul.checks li::before { content: "\2713"; position: absolute; left: 2px; top: 13px; width: 20px; height: 20px; background: var(--green); color: #fff; font-size: 0.72rem; font-weight: 900; display: grid; place-items: center; border-radius: 50%; }
ul.crosses li::before { content: "\2014"; position: absolute; left: 2px; top: 13px; color: var(--muted); font-weight: 800; }

/* Verdict chips */
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin: 6px 0 10px; }
.chip { font-size: 0.8rem; font-weight: 800; padding: 4px 12px; border-radius: 999px; }
.chip.live { background: #e0f3e6; color: var(--green); }
.chip.thin { background: var(--accent-soft); color: #8a5a00; }
.chip.mismatch { background: #f9e3e0; color: var(--red); }
.chip.again { background: var(--accent-soft); color: #8a5a00; }

/* Steps */
.step { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.step:last-child { border-bottom: 0; }
.step .num { flex: 0 0 auto; width: 40px; height: 40px; background: var(--ink); color: #fff; font-weight: 800; border-radius: 9px; display: grid; place-items: center; font-size: 1.1rem; }
.step h3 { margin: 0 0 4px; font-size: 1.1rem; }
.step p { margin: 0; color: var(--ink-soft); }

/* Callout */
.callout { background: var(--accent-soft); border-left: 4px solid var(--accent); padding: 16px 18px; border-radius: 8px; }
.callout p { margin: 0; }

/* Forms */
label { display: block; font-weight: 700; font-size: 0.9rem; margin: 16px 0 6px; }
input, textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px; font: inherit; background: var(--paper-2); color: var(--ink); }
input:focus, textarea:focus { outline: 2px solid var(--accent); border-color: transparent; }
textarea { min-height: 110px; resize: vertical; }
.hint { font-size: 0.82rem; color: var(--muted); margin: 4px 0 0; }
.form-actions { margin-top: 20px; }

/* Footer */
.site-footer { background: var(--ink); color: #e9e7e2; margin-top: 40px; }
.site-footer .wrap { padding-top: 30px; padding-bottom: 30px; }
.site-footer a { color: var(--accent); }
.site-footer .footer-line { margin: 0 0 6px; font-size: 1.1rem; }
.site-footer .footer-contact { margin: 0 0 16px; color: #c9c6bf; }
.disclaimer { background: rgba(255,255,255,0.06); border-left: 3px solid var(--accent); padding: 12px 15px; border-radius: 7px; font-size: 0.87rem; color: #c9c6bf; margin: 0; }
.fine { font-size: 0.78rem; color: #8a8780; margin-top: 16px; }

/* Responsive */
@media (max-width: 640px) {
  .grid.two { grid-template-columns: 1fr; }
  .nav-toggle { display: inline-block; background: var(--ink); color: #fff; border: 0; padding: 8px 14px; border-radius: 7px; font-weight: 700; cursor: pointer; }
  .nav { display: none; width: 100%; flex-direction: column; }
  .nav.open { display: flex; }
  .nav a { padding: 10px; }
}
