:root {
  --bg: #fbfaf7; --surface: #ffffff; --ink: #1c2330; --muted: #5b6474; --line: #e4e1d8;
  --accent: #1f6f5c; --accent-ink: #ffffff; --soft: #eef5f2;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #12161d; --surface: #1a2029; --ink: #eef0f4; --muted: #a3acba; --line: #2b3340;
          --accent: #58c2a6; --accent-ink: #0d1512; --soft: #18262a; }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); line-height: 1.6;
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; }
a { color: var(--accent); }
a:focus-visible, .button:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
header.site { border-bottom: 1px solid var(--line); background: var(--surface); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; padding-bottom: 14px; flex-wrap: wrap; }
.brand { font-weight: 700; font-size: 20px; letter-spacing: -0.01em; color: var(--ink); text-decoration: none; }
.brand span { color: var(--accent); }
nav a { margin-left: 20px; color: var(--muted); text-decoration: none; font-size: 16px; }
nav a:first-child { margin-left: 0; }
nav a:hover, nav a[aria-current="page"] { color: var(--ink); }
.hero { padding-top: 72px; padding-bottom: 56px; }
.hero h1 { font-size: clamp(32px, 5.2vw, 52px); line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 18px; max-width: 18ch; }
.hero p.lead { font-size: 20px; color: var(--muted); max-width: 58ch; margin: 0 0 28px; }
.button { display: inline-block; background: var(--accent); color: var(--accent-ink); padding: 12px 20px; border-radius: 8px; text-decoration: none; font-weight: 600; }
.note { color: var(--muted); font-size: 15px; margin-top: 14px; }
section { padding: 48px 0; border-top: 1px solid var(--line); }
h2 { font-size: 28px; line-height: 1.2; letter-spacing: -0.01em; margin: 0 0 20px; }
h3 { font-size: 19px; margin: 0 0 6px; }
.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 22px; }
.card p { margin: 0; color: var(--muted); }
.step { font-weight: 700; color: var(--accent); font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 8px; }
ul.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
ul.checks li { padding: 12px 14px 12px 40px; background: var(--soft); border-radius: 10px; position: relative; }
ul.checks li::before { content: ""; position: absolute; left: 15px; top: 19px; width: 12px; height: 7px; border-left: 2.5px solid var(--accent); border-bottom: 2.5px solid var(--accent); transform: rotate(-45deg); }
.doc { padding: 48px 0 64px; }
.doc h1 { font-size: clamp(30px, 4.5vw, 40px); line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 8px; }
.doc h2 { font-size: 22px; margin: 36px 0 10px; }
.doc p, .doc li { max-width: 70ch; }
.doc .updated { color: var(--muted); margin: 0 0 28px; }
details { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 14px 18px; margin: 10px 0; }
summary { font-weight: 600; cursor: pointer; }
details p, details ol { color: var(--muted); margin: 10px 0 2px; }
code { background: var(--soft); padding: 1px 6px; border-radius: 5px; font-size: 0.92em; }
footer.site { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--muted); font-size: 15px; }
footer.site .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
footer.site .wrap > div:last-child { display: flex; flex-wrap: wrap; gap: 6px 18px; }
footer.site a { color: var(--muted); overflow-wrap: anywhere; }
@media (max-width: 520px) { .hero { padding-top: 48px; padding-bottom: 40px; } nav a { margin-left: 14px; } }
