:root {
  --bg: #fbfaf7;
  --surface: #ffffff;
  --text: #1c1f23;
  --muted: #5b6168;
  --line: #e4e1da;
  --accent: #0f6b4f;
  --accent-ink: #ffffff;
  --accent-soft: #e6f2ed;
  --warn: #9a5b00;
  --radius: 14px;
  --max: 1060px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111416;
    --surface: #181c1f;
    --text: #e8eaec;
    --muted: #a3a9b0;
    --line: #2a3035;
    --accent: #4cc39a;
    --accent-ink: #0b1a14;
    --accent-soft: #16302a;
    --warn: #e0a54a;
    color-scheme: dark;
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}
a { color: var(--accent); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
header.top { display: flex; align-items: center; justify-content: space-between; padding: 22px 0; }
.brand { font-weight: 700; letter-spacing: -0.01em; text-decoration: none; color: var(--text); }
.brand span { color: var(--accent); }
.btn {
  display: inline-block; background: var(--accent); color: var(--accent-ink); border: 0; cursor: pointer;
  padding: 13px 22px; border-radius: 999px; font: inherit; font-weight: 600; text-decoration: none;
}
.btn:hover { filter: brightness(1.08); }
.btn.ghost { background: transparent; color: var(--accent); border: 1px solid var(--accent); }
.hero { padding: 48px 0 56px; display: grid; gap: 40px; grid-template-columns: 1.15fr 1fr; align-items: center; }
.eyebrow { color: var(--accent); font-weight: 600; font-size: 14px; letter-spacing: 0.04em; text-transform: uppercase; }
h1 { font-size: clamp(34px, 5vw, 52px); line-height: 1.08; letter-spacing: -0.02em; margin: 10px 0 18px; }
h2 { font-size: clamp(26px, 3.4vw, 34px); letter-spacing: -0.015em; margin: 0 0 14px; }
h3 { font-size: 19px; margin: 0 0 6px; }
.lead { font-size: 19px; color: var(--muted); max-width: 34em; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.note { font-size: 14px; color: var(--muted); margin-top: 12px; }
.sheet {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 18px 40px -24px rgba(0, 0, 0, 0.35); font-size: 14px;
}
.sheet .bar { padding: 10px 14px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.sheet table { width: 100%; border-collapse: collapse; }
.sheet th, .sheet td { padding: 9px 14px; border-bottom: 1px solid var(--line); text-align: left; }
.sheet td.num { text-align: right; font-variant-numeric: tabular-nums; }
.sheet tr.flag td { background: color-mix(in srgb, var(--warn) 12%, transparent); }
.sheet .tag { color: var(--warn); font-weight: 600; font-size: 12px; }
section { padding: 56px 0; border-top: 1px solid var(--line); }
.grid3 { display: grid; gap: 22px; grid-template-columns: repeat(3, 1fr); }
.grid2 { display: grid; gap: 22px; grid-template-columns: repeat(2, 1fr); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.step-no {
  width: 30px; height: 30px; border-radius: 50%; background: var(--accent-soft); color: var(--accent);
  display: grid; place-items: center; font-weight: 700; margin-bottom: 10px;
}
.muted { color: var(--muted); }
ul.checks { list-style: none; padding: 0; margin: 0; }
ul.checks li { padding-left: 28px; position: relative; margin: 8px 0; }
ul.checks li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
ul.crosses li::before { content: "✕"; color: var(--muted); }
form { display: grid; gap: 16px; }
label { font-weight: 600; font-size: 15px; display: grid; gap: 6px; }
input, select, textarea {
  font: inherit; font-weight: 400; color: var(--text); background: var(--bg);
  border: 1px solid var(--line); border-radius: 10px; padding: 11px 12px; width: 100%;
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.row2 { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 14px; }
.check input { width: auto; margin-top: 4px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.msg { padding: 12px 14px; border-radius: 10px; font-size: 15px; display: none; }
.msg.ok { display: block; background: var(--accent-soft); color: var(--accent); }
.msg.err { display: block; background: color-mix(in srgb, var(--warn) 14%, transparent); color: var(--warn); }
details { border-bottom: 1px solid var(--line); padding: 14px 0; }
summary { cursor: pointer; font-weight: 600; }
footer { padding: 36px 0 60px; color: var(--muted); font-size: 14px; border-top: 1px solid var(--line); }
.prose { max-width: 720px; padding: 20px 0 60px; }
.prose h1 { font-size: 36px; }
.prose h2 { font-size: 22px; margin-top: 32px; }
@media (max-width: 860px) {
  .hero, .grid3, .grid2, .row2 { grid-template-columns: 1fr; }
  .hero { padding-top: 24px; }
}
