:root {
  --bg: #dff3f0;
  --ink: #10221f;
  --muted: #3d5c56;
  --accent: #067a6f;
  --warn: #ffb703;
  --warn-ink: #1a1a1a;
  --sky: #4cc9c0;
  --paper: #fbfffe;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  background:
    radial-gradient(circle at 92% 4%, rgba(255, 183, 3, 0.35), transparent 30%),
    radial-gradient(circle at 4% 96%, rgba(6, 122, 111, 0.25), transparent 35%),
    linear-gradient(155deg, #e8faf6 0%, #c8ebe6 45%, #b7e0ef 100%) fixed;
  min-height: 100vh;
}

.topbar {
  height: 14px;
  background: repeating-linear-gradient(-45deg, var(--warn) 0 14px, var(--warn-ink) 14px 28px);
}

header.site {
  max-width: 52rem;
  margin: 0 auto;
  padding: 28px clamp(20px, 5vw, 40px) 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px 24px;
}
header.site .brand {
  font-family: "Archivo Black", Impact, sans-serif;
  font-size: 32px;
  letter-spacing: -0.03em;
  text-transform: lowercase;
  color: var(--ink);
  text-decoration: none;
}
header.site nav a,
footer.site a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  margin-right: 18px;
}
header.site nav a:last-child,
footer.site a:last-child { margin-right: 0; }
header.site nav a[aria-current="page"] {
  color: var(--ink);
  border-bottom: 3px solid var(--sky);
}

main.doc {
  max-width: 52rem;
  margin: 24px auto 40px;
  padding: clamp(24px, 5vw, 48px);
  background: var(--paper);
  border-radius: 20px;
  box-shadow: 0 24px 48px rgba(16, 34, 31, 0.14);
}
main.doc h1 {
  margin: 0 0 4px;
  font-family: "Archivo Black", Impact, sans-serif;
  font-size: clamp(28px, 5vw, 40px);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
main.doc .updated {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 15px;
}
main.doc h2 {
  margin: 36px 0 8px;
  font-size: 21px;
  line-height: 1.3;
}
main.doc h3 {
  margin: 24px 0 6px;
  font-size: 17px;
}
main.doc p,
main.doc li { color: #1d3531; }
main.doc ul { padding-left: 22px; }
main.doc li { margin: 4px 0; }
main.doc a { color: var(--accent); }
main.doc .callout {
  margin: 20px 0;
  padding: 16px 20px;
  border-left: 5px solid var(--sky);
  background: #eefaf8;
  border-radius: 0 12px 12px 0;
}
main.doc table {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0;
  font-size: 15px;
}
main.doc th,
main.doc td {
  text-align: left;
  vertical-align: top;
  padding: 10px 12px;
  border-bottom: 1px solid #d5ebe7;
}
main.doc th { background: #eefaf8; }

footer.site {
  max-width: 52rem;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 40px) 40px;
  color: var(--muted);
  font-size: 14px;
}
footer.site p { margin: 6px 0; }
