:root {
  --navy: #17324d;
  --teal: #0f8f8f;
  --teal-dark: #087272;
  --mist: #eaf3f7;
  --mint: #eaf6f0;
  --peach: #fff1e8;
  --line: #dce8ee;
  --ink: #263746;
  --muted: #5c6c78;
  --white: #ffffff;
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", sans-serif;
  line-height: 1.75;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #fbfdfd; }
a { color: var(--teal-dark); text-underline-offset: 0.16em; }
a:hover { text-decoration-thickness: 2px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: rgb(255 255 255 / 94%);
  backdrop-filter: blur(10px);
}

.nav {
  width: min(1060px, calc(100% - 32px));
  min-height: 68px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand { color: var(--navy); font-weight: 800; font-size: 1.18rem; text-decoration: none; }
.nav-links { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.nav-links a { color: var(--ink); font-size: 0.92rem; text-decoration: none; }
.nav-links a[aria-current="page"] { color: var(--teal-dark); font-weight: 700; }

main { width: min(820px, calc(100% - 32px)); margin: 0 auto; padding: 64px 0 88px; }
.hero { margin-bottom: 48px; }
.eyebrow { margin: 0 0 8px; color: var(--teal-dark); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.14em; }
h1, h2, h3 { color: var(--navy); line-height: 1.35; }
h1 { margin: 0 0 12px; font-size: clamp(2rem, 7vw, 3.25rem); letter-spacing: -0.03em; }
h2 { margin-top: 48px; padding-top: 8px; font-size: 1.38rem; }
h3 { margin-top: 28px; font-size: 1.08rem; }
p, li { font-size: 1rem; }
.lead { max-width: 680px; color: var(--muted); font-size: 1.08rem; }
.updated { color: var(--muted); font-size: 0.9rem; }

.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.card, .note, .warning {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
  background: var(--white);
}
.card h2, .card h3 { margin-top: 0; padding-top: 0; }
.card p:last-child, .note p:last-child, .warning p:last-child { margin-bottom: 0; }
.note { margin: 24px 0; background: var(--mint); }
.warning { margin: 24px 0; border-color: #f0d2bf; background: var(--peach); }
.button {
  display: inline-block;
  margin-top: 8px;
  padding: 11px 18px;
  border-radius: 12px;
  color: var(--white);
  background: var(--teal-dark);
  font-weight: 700;
  text-decoration: none;
}
.button:hover { background: var(--navy); }
ol.steps > li { margin-bottom: 12px; }
code { padding: 0.12em 0.35em; border-radius: 6px; background: var(--mist); }

.site-footer { border-top: 1px solid var(--line); background: var(--white); }
.footer-inner { width: min(820px, calc(100% - 32px)); margin: auto; padding: 28px 0; color: var(--muted); font-size: 0.85rem; }

@media (max-width: 720px) {
  .nav { align-items: flex-start; flex-direction: column; gap: 8px; padding: 14px 0; }
  .nav-links { gap: 6px 14px; }
  main { padding-top: 44px; }
  .cards { grid-template-columns: 1fr; }
}

