:root {
  --bg0: color(srgb 0.025 0.080 0.125);
  --ink: color(srgb 0.94 0.97 0.98);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html {
  margin: 0;
  height: 100%;
  overflow: hidden;
  scrollbar-width: none;
  background: var(--bg0);
  color: var(--ink);
}
html::-webkit-scrollbar {
  width: 0 !important;
  height: 0 !important;
  display: none;
  background: transparent;
}
body {
  margin: 0;
  min-height: 100%;
  height: 100%;
  background: var(--bg0);
  color: var(--ink);
  overflow-x: hidden;
  overflow-y: auto;
  width: 100%;
  max-width: 100%;
  overscroll-behavior-x: none;
  touch-action: pan-y;
  scrollbar-width: thin;
  scrollbar-color: color-mix(in srgb, var(--ink) 28%, transparent) var(--bg0);
}
body::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
body::-webkit-scrollbar-track {
  background: var(--bg0);
}
body::-webkit-scrollbar-thumb {
  background: color-mix(in srgb, var(--ink) 24%, transparent);
  border-radius: 999px;
  border: 2px solid var(--bg0);
}
body::-webkit-scrollbar-corner {
  background: var(--bg0);
}
body {
  font-family: ui-sans-serif, system-ui, -apple-system, "SF Pro Text", sans-serif;
  min-height: 100dvh;
}
a { color: inherit; }
a:focus-visible, button:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--ink) 85%, transparent);
  outline-offset: 3px;
}

.sky {
  position: fixed;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  max-width: 100%;
  height: 100%;
  pointer-events: none;
  overflow-x: hidden;
  overscroll-behavior-x: none;
}

.stage {
  position: relative;
  z-index: 1;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: max(18px, env(safe-area-inset-top)) 24px 0;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  overscroll-behavior-x: none;
}

header.home-nav {
  width: min(100%, 720px);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 46px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.mark {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  color: color(srgb 0.965 0.980 1.000);
}
.mark img, .mark svg { width: 32px; height: 32px; display: block; }
.brand-name {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--ink) 48%, transparent);
}

.doc {
  width: min(100%, 720px);
  padding: 28px 0 48px;
}
.doc .kicker {
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.21em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--ink) 66%, transparent);
}
.doc h1 {
  margin: 8px 0 0;
  font-size: 28px;
  font-weight: 600;
}
.doc h2 {
  margin: 28px 0 8px;
  font-size: 18px;
  font-weight: 600;
}
.doc p, .doc li {
  font-size: 15px;
  line-height: 1.6;
  color: color-mix(in srgb, var(--ink) 88%, transparent);
}
.doc .updated {
  color: color-mix(in srgb, var(--ink) 58%, transparent);
  font-size: 13px;
}
.doc a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 2px;
}

footer.legal {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 100%;
  padding: 18px 24px calc(18px + env(safe-area-inset-bottom));
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.02em;
  color: color-mix(in srgb, var(--ink) 42%, transparent);
}
footer.legal a {
  color: color-mix(in srgb, var(--ink) 48%, transparent);
  text-decoration: none;
}
footer.legal a:hover { color: var(--ink); }
.legal-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.35rem 0.7rem; }
