:root {
  color-scheme: light dark;
  --bg: #f5f7fb;
  --panel: #ffffff;
  --text: #172033;
  --muted: #5e6a7e;
  --line: #dbe2ed;
  --brand: #3657c8;
  --brand-strong: #263f9d;
  --soft: #eaf0ff;
  --good: #17633c;
  --warn: #7c4a00;
  --shadow: 0 12px 30px rgba(30, 50, 90, 0.08);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #10131a;
    --panel: #171c26;
    --text: #edf2ff;
    --muted: #aeb9cc;
    --line: #30394a;
    --brand: #89a2ff;
    --brand-strong: #b8c7ff;
    --soft: #202a45;
    --good: #77d8a5;
    --warn: #f0bb67;
    --shadow: none;
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}
a { color: var(--brand); }
a:hover { color: var(--brand-strong); }
.wrap { width: min(1080px, calc(100% - 36px)); margin: 0 auto; }
header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 22px;
}
.brand {
  color: var(--text);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: .04em;
}
.brand span { color: var(--brand); }
nav { display: flex; flex-wrap: wrap; gap: 18px; }
nav a { color: var(--muted); text-decoration: none; font-weight: 650; font-size: .95rem; }
nav a:hover { color: var(--text); }
.hero { padding: 88px 0 64px; }
.eyebrow {
  color: var(--brand);
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
  font-size: .78rem;
}
h1, h2, h3 { line-height: 1.18; }
h1 { font-size: clamp(2.4rem, 6vw, 4.8rem); margin: .25em 0 .3em; letter-spacing: -.035em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); margin-top: 0; }
h3 { margin-bottom: .35rem; }
.lead { font-size: clamp(1.08rem, 2vw, 1.32rem); max-width: 760px; color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.button {
  display: inline-block;
  padding: 11px 17px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 750;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--text);
}
.button.primary { background: var(--brand); color: white; border-color: var(--brand); }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card, .content {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
}
.card { padding: 25px; }
.content { padding: clamp(24px, 5vw, 52px); margin: 42px 0 70px; }
section { padding: 28px 0; }
.callout {
  border-left: 4px solid var(--brand);
  background: var(--soft);
  padding: 17px 20px;
  border-radius: 10px;
  margin: 22px 0;
}
.good { color: var(--good); font-weight: 750; }
.warning { color: var(--warn); font-weight: 750; }
ul, ol { padding-left: 1.3rem; }
li + li { margin-top: .42rem; }
code {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: .08rem .35rem;
  overflow-wrap: anywhere;
}
hr { border: 0; border-top: 1px solid var(--line); margin: 34px 0; }
.small, footer { color: var(--muted); font-size: .92rem; }
footer { border-top: 1px solid var(--line); padding: 28px 0 44px; }
.footer-row { display: flex; justify-content: space-between; gap: 22px; flex-wrap: wrap; }
footer a { color: var(--muted); }
table { width: 100%; border-collapse: collapse; margin: 18px 0; }
th, td { text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); padding: 12px 8px; }
th { color: var(--muted); font-size: .9rem; }
@media (max-width: 760px) {
  .nav { align-items: flex-start; padding: 15px 0; flex-direction: column; }
  nav { gap: 12px; }
  .hero { padding-top: 54px; }
  .grid { grid-template-columns: 1fr; }
}
