:root {
  --bg: #ffffff;
  --band: #f6f7f9;
  --surface: #ffffff;
  --surface-2: #f1f3f5;
  --ink: #0e1116;
  --muted: #566070;
  --line: #dde1e6;
  --accent: #0b57d0;
  --accent-hover: #0a47aa;
  --accent-ink: #ffffff;
  --accent-soft: #e8f0fe;
  --warn: #8a4b08;
  --warn-soft: #fdf0dc;
  --danger: #a3261b;
  --danger-soft: #fde8e6;
  --info: #0b57d0;
  --info-soft: #e8f0fe;
  --ok: #14663a;
  --ok-soft: #e4f4ea;
  --radius: 4px;
  --maxw: 1160px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 16px/1.6 "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { line-height: 1.1; margin: 0; letter-spacing: -0.03em; font-weight: 700; }
p { margin: 0; }
a { color: inherit; }
img, svg { max-width: 100%; display: block; }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

/* Buttons: rectangular */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-weight: 600; font-size: 15px; line-height: 1;
  padding: 14px 22px; border-radius: var(--radius); border: 1px solid transparent;
  cursor: pointer; text-decoration: none; transition: background .12s, border-color .12s;
  min-height: 46px;
}
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-ghost { background: #fff; color: var(--ink); border-color: #b9c0c9; }
.btn-ghost:hover { border-color: var(--ink); }
.btn-sm { padding: 8px 14px; font-size: 14px; min-height: 38px; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 16px; letter-spacing: -0.02em; text-decoration: none; white-space: nowrap; }
.brand-mark { width: 20px; height: 20px; border-radius: 3px; background: var(--ink); color: #fff; display: grid; place-items: center; }
.brand-mark svg { width: 12px; height: 12px; }
.nav-links { display: none; gap: 28px; font-size: 14.5px; color: var(--muted); }
.nav-links a { text-decoration: none; }
.nav-links a:hover { color: var(--ink); }
@media (min-width: 900px) { .nav-links { display: flex; } }
@media (max-width: 560px) { .nav .btn-ghost { display: none; } .brand { font-size: 14.5px; } }

/* Labels (rectangular tags, not pills) */
.chip { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; padding: 3px 8px; border-radius: 3px; background: var(--surface-2); color: var(--muted); border: 0; white-space: nowrap; line-height: 1.4; }
.chip.ok { background: var(--ok-soft); color: var(--ok); }
.chip.warn { background: var(--warn-soft); color: var(--warn); }
.chip.danger { background: var(--danger-soft); color: var(--danger); }
.chip.info, .chip.accent { background: var(--accent-soft); color: var(--accent); }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
.muted { color: var(--muted); }
