:root {
  color-scheme: light;
  --ink: #172c24;
  --muted: #607169;
  --brand: #176b4d;
  --brand-dark: #0f4f39;
  --paper: #fbfaf6;
  --card: #ffffff;
  --line: #dce3dd;
  --wash: #eef5ef;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.65 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
a { color: var(--brand-dark); text-underline-offset: 3px; }
a:hover { color: var(--brand); }
.shell { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.site-header { background: rgba(251,250,246,.96); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.nav { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 800; font-size: 1.25rem; text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; color: white; background: var(--brand); font-weight: 900; }
.nav-links { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; }
.nav-links a { text-decoration: none; font-weight: 650; }
.hero { padding: 88px 0 68px; background: linear-gradient(145deg, #eef5ef 0%, #fbfaf6 64%); }
.eyebrow { margin: 0 0 12px; color: var(--brand); font-weight: 800; letter-spacing: .12em; text-transform: uppercase; font-size: .78rem; }
h1, h2, h3 { line-height: 1.17; letter-spacing: -.02em; }
h1 { max-width: 830px; margin: 0; font-size: clamp(2.35rem, 5vw, 4.6rem); }
.lead { max-width: 760px; color: var(--muted); font-size: 1.18rem; margin: 24px 0 0; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 48px; padding: 0 20px; border-radius: 10px; border: 1px solid var(--brand); background: var(--brand); color: white; text-decoration: none; font-weight: 800; cursor: pointer; }
.button:hover { color: white; background: var(--brand-dark); }
.button.secondary { background: transparent; color: var(--brand-dark); }
.button.secondary:hover { background: var(--wash); color: var(--brand-dark); }
.button[disabled] { opacity: .55; cursor: not-allowed; }
.section { padding: 68px 0; }
.section.alt { background: #f1f4ef; border-block: 1px solid var(--line); }
.section h2 { font-size: clamp(1.8rem, 3vw, 2.65rem); margin: 0 0 16px; }
.section-intro { max-width: 740px; color: var(--muted); margin: 0 0 34px; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.card { min-width: 0; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 24px; box-shadow: 0 10px 30px rgba(31,54,44,.045); }
.card h3 { margin: 0 0 10px; }
.card p { color: var(--muted); margin-bottom: 0; }
.steps { display: grid; gap: 18px; counter-reset: guide; }
.step { counter-increment: guide; display: grid; grid-template-columns: 46px 1fr; gap: 16px; align-items: start; }
.step::before { content: counter(guide); display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--brand); color: white; font-weight: 800; }
.prose { max-width: 820px; padding: 58px 0 76px; }
.prose h1 { font-size: clamp(2.2rem, 4vw, 3.5rem); }
.prose h2 { margin-top: 42px; font-size: 1.55rem; }
.prose li { margin: 8px 0; }
.notice { background: var(--wash); border: 1px solid #cce0d0; border-radius: 12px; padding: 18px; }
.status { margin-top: 24px; padding: 18px; border: 1px solid var(--line); background: white; border-radius: 12px; }
.status[data-tone="ok"] { border-color: #90c9a2; background: #f0faf2; }
.status[data-tone="warn"] { border-color: #e4c17b; background: #fff9e9; }
.site-footer { padding: 34px 0; border-top: 1px solid var(--line); }
.footer-inner { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; color: var(--muted); }
.footer-links { display: flex; flex-wrap: wrap; gap: 16px; }
.footer-links a { color: inherit; }
code { background: #e9eee9; border-radius: 5px; padding: 2px 5px; overflow-wrap: anywhere; }

@media (max-width: 760px) {
  .shell { width: min(100% - 28px, 1120px); }
  .nav { align-items: flex-start; padding: 16px 0; }
  .nav-links { justify-content: flex-end; gap: 12px; font-size: .9rem; }
  .hero { padding: 58px 0 48px; }
  .grid { grid-template-columns: 1fr; }
  .section { padding: 48px 0; }
}
