:root {
  --bg: #fbfaf7;
  --surface: #ffffff;
  --ink: #1b2433;
  --muted: #586273;
  --accent: #1d3557;
  --accent-2: #c8752a;
  --accent-soft: #eef2f8;
  --warm-soft: #fbf1e6;
  --line: #dfe3ea;
  --sans: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 1.0625rem/1.7 var(--sans); }
.wrap { max-width: 60rem; margin: 0 auto; padding: 0 1rem; }
@media (min-width: 40rem) { .wrap { padding: 0 1.5rem; } }
a { color: var(--accent); text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--accent-2); outline-offset: 2px; }
.skip { position: absolute; left: -999rem; }
.skip:focus { left: 1rem; top: 1rem; background: var(--surface); padding: 0.5rem 0.75rem; z-index: 10; }

.site-header { background: var(--accent); color: #fff; }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem 2rem; padding-top: 0.9rem; padding-bottom: 0.9rem; }
.brand { display: inline-flex; align-items: center; gap: 0.65rem; color: #fff; text-decoration: none; font-weight: 700; font-size: 1.1rem; line-height: 1.15; }
.brand small { display: block; font-weight: 400; font-size: 0.8rem; opacity: 0.8; }
.brand svg { color: #f2b779; flex: none; }
nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; }
nav a { color: #d6deea; text-decoration: none; font-size: 0.95rem; padding: 0.3rem 0; display: inline-block; }
nav a:hover, nav a[aria-current="page"] { color: #fff; box-shadow: 0 2px 0 #f2b779; }

main { padding-top: 2.25rem; padding-bottom: 4rem; }
h1, h2, h3 { line-height: 1.22; text-wrap: balance; color: var(--accent); }
h1 { font-size: clamp(1.8rem, 5vw, 2.6rem); margin: 0 0 1rem; letter-spacing: -0.01em; }
h2 { font-size: 1.45rem; margin: 2.5rem 0 0.75rem; }
h3 { font-size: 1.12rem; margin: 1.75rem 0 0.5rem; }
p, ul, ol { margin: 0 0 1.1rem; }
li { margin-bottom: 0.4rem; }
.lead { font-size: 1.18rem; color: var(--muted); max-width: 44rem; }
.article > * { max-width: 44rem; }
.meta { color: var(--muted); font-size: 0.9rem; }

.hero { padding: 1rem 0 0.5rem; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.8rem; font-weight: 700; color: var(--accent-2); margin-bottom: 0.4rem; }

.steps { counter-reset: s; list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 1rem; margin: 2rem 0; }
.steps li { counter-increment: s; margin: 0; }
.steps a { position: relative; display: block; height: 100%; background: var(--surface); border: 1px solid var(--line); border-radius: 0.6rem; padding: 1.25rem 1.25rem 1.1rem 4rem; color: inherit; text-decoration: none; transition: border-color 0.15s, box-shadow 0.15s; }
.steps a::before { content: counter(s); position: absolute; left: 1.2rem; top: 1.2rem; width: 2rem; height: 2rem; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 700; display: grid; place-items: center; }
.steps a:hover { border-color: var(--accent); box-shadow: 0 4px 14px rgb(29 53 87 / 0.08); }
.steps h2 { font-size: 1.15rem; margin: 0 0 0.35rem; }
.steps p { margin: 0; color: var(--muted); font-size: 0.97rem; }

.checklist { list-style: none; padding: 0; }
.checklist li { position: relative; padding-left: 2rem; }
.checklist li::before { content: ""; position: absolute; left: 0.1rem; top: 0.3rem; width: 1.15rem; height: 1.15rem; border: 2px solid var(--accent); border-radius: 0.25rem; }
.warn { list-style: none; padding: 0; }
.warn li { position: relative; padding-left: 2rem; }
.warn li::before { content: "!"; position: absolute; left: 0.1rem; top: 0.2rem; width: 1.3rem; height: 1.3rem; border-radius: 50%; background: var(--accent-2); color: #fff; font-weight: 700; font-size: 0.85rem; display: grid; place-items: center; }

.note { background: var(--accent-soft); border-left: 4px solid var(--accent); padding: 1rem 1.25rem; border-radius: 0 0.5rem 0.5rem 0; margin: 1.5rem 0; }
.note p:last-child { margin-bottom: 0; }
.tip { background: var(--warm-soft); border: 1px solid #f0d6b8; border-radius: 0.6rem; padding: 1.25rem 1.35rem; margin: 2.5rem 0; }
.tip h2 { margin-top: 0; font-size: 1.2rem; }
.tip p:last-child { margin-bottom: 0; }
.button { display: inline-block; background: var(--accent-2); color: #fff; font-weight: 600; text-decoration: none; padding: 0.6rem 1.1rem; border-radius: 0.4rem; }
.button:hover { background: #a95f1f; }

table { border-collapse: collapse; width: 100%; margin: 0 0 1.5rem; background: var(--surface); font-size: 0.97rem; }
th, td { text-align: left; padding: 0.6rem 0.75rem; border: 1px solid var(--line); vertical-align: top; }
thead th { background: var(--accent-soft); }
.table-scroll { overflow-x: auto; }
.more { border-top: 1px solid var(--line); margin-top: 3rem; padding-top: 1.5rem; }

.site-footer { border-top: 1px solid var(--line); background: var(--surface); color: var(--muted); font-size: 0.92rem; padding: 1.5rem 0; }
.site-footer p { margin: 0 0 0.4rem; }

@media (prefers-reduced-motion: reduce) { .steps a { transition: none; } }
