:root {
  --bg: #070d0a;
  --surface: #f6f5f0;
  --ink: #303532;
  --heading: #101311;
  --muted: #667169;
  --line: #d9d9d2;
  --accent: #3fcf8e;
  --link: #175f40;
  color-scheme: dark;
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  background: var(--bg);
}

* { box-sizing: border-box; }
html { min-width: 320px; background: var(--bg); scroll-behavior: smooth; }
body { min-height: 100vh; margin: 0; color: #eaf0ec; background: radial-gradient(100% 75% at 50% -10%, #11251a 0%, #09130d 48%, var(--bg) 100%); }
a { color: inherit; }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 3px; }
::selection { background: rgba(63, 207, 142, 0.28); }

.topnav {
  width: min(1080px, calc(100% - 48px));
  margin: 0 auto;
  padding: 26px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; color: #eaf0ec; text-decoration: none; font: 600 14px/1 "IBM Plex Mono", monospace; letter-spacing: .12em; }
.brand-mark { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 7px; background: var(--accent); }
.brand-mark span { width: 10px; height: 10px; border-radius: 2px; background: #0c0d0e; }
.back-link { padding: 9px 17px; border: 1px solid rgba(255,255,255,.13); border-radius: 999px; color: #eaf0ec; text-decoration: none; font-size: 14px; font-weight: 600; }

.page-intro { width: min(820px, calc(100% - 48px)); margin: 48px auto 32px; }
.eyebrow { margin: 0 0 12px; color: var(--accent); font: 600 11px/1.3 "IBM Plex Mono", monospace; letter-spacing: .14em; }
.page-intro h1 { margin: 0; font-size: clamp(39px, 7vw, 64px); line-height: 1.03; letter-spacing: -.04em; }
.page-intro p:last-child { max-width: 680px; margin: 20px 0 0; color: #9bac9f; font-size: 17px; line-height: 1.6; }

.document {
  width: min(880px, calc(100% - 48px));
  margin: 0 auto 80px;
  padding: 58px 62px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 18px;
  color: var(--ink);
  background: var(--surface);
  box-shadow: 0 35px 110px rgba(0,0,0,.35);
  font-size: 15px;
  line-height: 1.68;
}
.document h2, .document h3 { color: var(--heading); line-height: 1.25; text-wrap: balance; }
.document h2 { margin: 42px 0 12px; padding-top: 4px; font-size: 23px; letter-spacing: -.02em; }
.document h3 { margin: 25px 0 8px; font-size: 17px; }
.document p { margin: 0 0 15px; }
.document ul { margin: 0 0 18px; padding-left: 22px; }
.document li { margin: 6px 0; }
.document a { color: var(--link); font-weight: 600; text-underline-offset: 2px; overflow-wrap: anywhere; }
.document .effective { margin: 0 0 28px; padding-bottom: 20px; border-bottom: 1px solid var(--line); color: var(--muted); font: 500 12px/1.5 "IBM Plex Mono", monospace; }
.document .callout { margin: 23px 0; padding: 16px 18px; border-left: 4px solid var(--accent); border-radius: 0 8px 8px 0; background: #e9f3ed; }
.contents { columns: 2; column-gap: 36px; }
.contents li { break-inside: avoid; }

.site-footer { width: min(880px, calc(100% - 48px)); margin: 0 auto; padding: 28px 0 42px; border-top: 1px solid rgba(255,255,255,.09); display: flex; justify-content: space-between; gap: 20px; color: #708078; font: 500 11px/1.5 "IBM Plex Mono", monospace; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-links a { color: #9bac9f; text-decoration: none; }

@media (max-width: 640px) {
  .topnav, .page-intro, .document, .site-footer { width: min(100% - 32px, 880px); }
  .topnav { padding-top: 19px; }
  .brand { font-size: 12px; }
  .back-link { padding: 8px 12px; font-size: 12px; }
  .page-intro { margin-top: 31px; }
  .document { padding: 34px 23px; border-radius: 14px; }
  .contents { columns: 1; }
  .site-footer { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
