:root {
  color-scheme: dark;
  --bg: #020617;
  --surface: #0b1729;
  --surface-strong: #101e34;
  --border: #28415f;
  --text: #f8fafc;
  --muted: #a8b4c7;
  --blue: #3b82f6;
  --blue-soft: #122b52;
  --green: #2dd4bf;
  --focus: #67e8f9;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

a {
  color: #93c5fd;
  text-underline-offset: 3px;
}

a:hover {
  color: #bfdbfe;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 10;
  border-radius: 6px;
  background: var(--text);
  color: var(--bg);
  padding: 10px 14px;
  font-weight: 700;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  border-bottom: 1px solid var(--border);
  background: #071224;
}

.header-inner,
.page-shell,
.footer-inner {
  width: min(100% - 32px, 880px);
  margin: 0 auto;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 30px;
  height: 30px;
  grid-template-columns: 1fr 5px;
  gap: 4px;
  transform: rotate(-30deg);
}

.brand-mark::before,
.brand-mark::after {
  content: "";
  border-radius: 999px;
  background: var(--blue);
  box-shadow: 0 9px 0 #2563eb, 0 18px 0 #1d4ed8;
}

.brand-mark::after {
  background: var(--green);
  box-shadow: 0 9px 0 #38bdf8, 0 18px 0 #3b82f6;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 16px;
  font-size: 0.88rem;
  font-weight: 700;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
}

.site-nav a[aria-current="page"] {
  color: var(--green);
}

.page-shell {
  padding: 48px 0 72px;
}

.hero {
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  line-height: 1.25;
}

h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(2rem, 6vw, 3.4rem);
  letter-spacing: 0;
}

h2 {
  margin: 40px 0 12px;
  font-size: 1.35rem;
}

h3 {
  margin: 24px 0 8px;
  font-size: 1rem;
}

p,
ul,
ol {
  color: var(--muted);
}

.lede {
  max-width: 720px;
  margin: 14px 0 0;
  font-size: 1.08rem;
}

.updated {
  display: inline-block;
  margin-top: 18px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--blue-soft);
  color: #dbeafe;
  padding: 5px 10px;
  font-size: 0.78rem;
  font-weight: 700;
}

.notice,
.contact-panel {
  margin: 28px 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  padding: 18px;
}

.notice strong,
.contact-panel strong {
  color: var(--text);
}

.notice p,
.contact-panel p {
  margin: 0;
}

.legal-section {
  max-width: 780px;
}

.legal-section li + li {
  margin-top: 8px;
}

.definition-list {
  display: grid;
  grid-template-columns: minmax(130px, 190px) 1fr;
  gap: 12px 18px;
  margin: 22px 0;
}

.definition-list dt {
  color: var(--text);
  font-weight: 750;
}

.definition-list dd {
  margin: 0;
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid var(--border);
  background: #071224;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  padding: 24px 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.footer-inner p {
  margin: 0;
}

@media (max-width: 640px) {
  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 0;
  }

  .site-nav {
    justify-content: flex-start;
  }

  .page-shell {
    padding-top: 34px;
  }

  .definition-list {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .definition-list dd + dt {
    margin-top: 12px;
  }
}

@media print {
  :root {
    color-scheme: light;
  }

  body {
    background: white;
    color: #0f172a;
  }

  .site-header,
  .site-footer,
  .skip-link {
    display: none;
  }

  p,
  ul,
  ol,
  .definition-list dd {
    color: #334155;
  }

  .page-shell {
    width: 100%;
    padding: 0;
  }
}
