:root {
  --ink: #153322;
  --paper: #f4f8f4;
  --white: #fff;
  --mint: #5dcc79;
  --mint-dark: #1f7a43;
  --text: #183426;
  --muted: #5d7164;
  --line: rgba(24, 52, 38, .15);
  --todo: #fff3c4;
  --max: 980px;
  --radius: 20px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  color: var(--text);
  background: var(--paper);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.65;
}
a { color: var(--mint-dark); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--mint); outline-offset: 3px; }
.shell { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--white); padding: 8px 12px; border-radius: 8px; }

header.top { background: var(--ink); color: var(--white); }
header.top .shell { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding: 18px 0; }
.brand { color: var(--white); text-decoration: none; font-weight: 700; letter-spacing: .01em; }
.brand span { color: var(--mint); }
nav.main { display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 15px; }
nav.main a { color: #dbe8df; text-decoration: none; }
nav.main a:hover, nav.main a[aria-current="page"] { color: var(--white); text-decoration: underline; }

.hero { background: var(--ink); color: var(--white); padding: 40px 0 56px; }
.hero h1 { font-size: clamp(30px, 5vw, 46px); line-height: 1.15; margin: 0 0 16px; max-width: 22ch; }
.hero p { color: #dbe8df; max-width: 60ch; margin: 0 0 24px; font-size: 18px; }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: 13px; color: var(--mint); margin: 0 0 12px; }
.btn { display: inline-block; background: var(--mint); color: var(--ink); font-weight: 700; padding: 12px 22px; border-radius: 999px; text-decoration: none; }
.btn:hover { background: #7fdb97; }

main section { padding: 44px 0; border-bottom: 1px solid var(--line); }
main section:last-child { border-bottom: 0; }
h2 { font-size: clamp(24px, 3.4vw, 32px); line-height: 1.2; margin: 0 0 18px; color: var(--ink); }
h3 { font-size: 19px; margin: 0 0 8px; color: var(--ink); }
.lead { color: var(--muted); max-width: 65ch; margin-top: 0; }

.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card p { margin: 0; color: var(--muted); }
.card .price { font-size: 30px; font-weight: 800; color: var(--ink); margin: 4px 0 6px; }
.price small { font-size: 16px; font-weight: 500; color: var(--muted); }
.note { font-size: 15px; color: var(--muted); max-width: 70ch; }

ol.steps { padding-left: 22px; max-width: 70ch; }
ol.steps li { margin-bottom: 10px; }

.doc { padding: 40px 0 56px; }
.doc h1 { font-size: clamp(28px, 4vw, 38px); line-height: 1.2; color: var(--ink); margin: 0 0 8px; }
.doc h2 { font-size: 22px; margin-top: 34px; }
.doc p, .doc li { max-width: 72ch; }
.doc .meta { color: var(--muted); font-size: 15px; }
dl.req { display: grid; grid-template-columns: max-content 1fr; gap: 6px 20px; max-width: 72ch; }
dl.req dt { color: var(--muted); }
dl.req dd { margin: 0; font-weight: 600; }

.todo { background: var(--todo); border-radius: 4px; padding: 0 4px; font-weight: 600; }
.draft { background: var(--todo); border: 1px solid #e8d27a; border-radius: 12px; padding: 12px 16px; font-size: 15px; }

footer.bottom { background: var(--ink); color: #c9d8cf; font-size: 15px; padding: 32px 0; }
footer.bottom a { color: var(--white); }
footer.bottom .shell { display: grid; gap: 10px; }
footer.bottom nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }

@media (max-width: 560px) {
  dl.req { grid-template-columns: 1fr; gap: 2px; }
  dl.req dd { margin-bottom: 8px; }
}
