:root {
  color-scheme: dark;
  --bg: #050713;
  --surface: #0e152b;
  --surface-strong: #121b36;
  --line: #31477f;
  --text: #eef4ff;
  --muted: #aebced;
  --cyan: #31e4ff;
  --pink: #ff4fe3;
  --yellow: #ffd35f;
  --green: #7cff8f;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(rgba(49, 228, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 79, 227, 0.04) 1px, transparent 1px),
    var(--bg);
  background-size: 42px 42px;
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  line-height: 1.65;
}

a {
  color: var(--cyan);
  text-underline-offset: 3px;
}

a:hover,
a:focus-visible {
  color: #9af3ff;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(110, 138, 255, 0.26);
  background: rgba(5, 7, 19, 0.9);
  backdrop-filter: blur(16px);
}

.topbar-inner,
.page,
.footer-inner {
  width: min(940px, calc(100% - 32px));
  margin: 0 auto;
}

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

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

.brand-mark {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(49, 228, 255, 0.8);
  border-radius: 8px;
  background: linear-gradient(135deg, var(--cyan), var(--pink));
  box-shadow: 0 0 18px rgba(49, 228, 255, 0.34);
}

.topnav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px;
  font-size: 13px;
  font-weight: 750;
}

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

.topnav a[aria-current="page"],
.topnav a:hover,
.topnav a:focus-visible {
  color: var(--text);
}

.page {
  padding: 64px 0 80px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  margin: 0 0 12px;
  font-size: clamp(38px, 7vw, 62px);
  text-shadow: 0 0 26px rgba(49, 228, 255, 0.22);
}

h2 {
  margin: 46px 0 14px;
  padding-top: 8px;
  font-size: 28px;
}

h3 {
  margin: 28px 0 10px;
  font-size: 19px;
}

p,
ul,
ol {
  margin-top: 0;
}

.updated,
.lead,
.muted {
  color: var(--muted);
}

.lead {
  max-width: 760px;
  margin: 18px 0 28px;
  font-size: 18px;
}

.notice,
.summary-card,
.toc {
  border: 1px solid rgba(110, 138, 255, 0.34);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(18, 27, 54, 0.94), rgba(9, 14, 32, 0.94));
}

.notice {
  margin: 26px 0;
  padding: 18px 20px;
  border-left: 4px solid var(--yellow);
}

.notice strong {
  color: var(--yellow);
}

.toc {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 30px 0 38px;
  padding: 16px 18px;
}

.toc a {
  color: #cbd7ff;
  font-size: 14px;
  font-weight: 750;
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 28px 0;
}

.summary-card {
  padding: 18px;
}

.summary-card strong {
  display: block;
  margin-bottom: 4px;
  color: var(--green);
}

.summary-card p {
  margin-bottom: 0;
  color: #cbd7ff;
}

li + li {
  margin-top: 7px;
}

table {
  width: 100%;
  margin: 20px 0 28px;
  border-collapse: collapse;
  border: 1px solid rgba(110, 138, 255, 0.34);
  background: rgba(9, 14, 32, 0.94);
  font-size: 14px;
}

th,
td {
  padding: 13px 14px;
  border-bottom: 1px solid rgba(110, 138, 255, 0.22);
  text-align: left;
  vertical-align: top;
}

th {
  background: var(--surface-strong);
  color: var(--cyan);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

tr:last-child td {
  border-bottom: 0;
}

.yes,
.no,
.optional {
  font-weight: 850;
  white-space: nowrap;
}

.yes {
  color: var(--green);
}

.no {
  color: var(--muted);
}

.optional {
  color: var(--yellow);
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border: 1px solid rgba(49, 228, 255, 0.64);
  border-radius: 8px;
  background: #10182f;
  color: var(--text);
  font-weight: 900;
  text-decoration: none;
}

.button:hover,
.button:focus-visible {
  border-color: var(--cyan);
  color: var(--text);
  box-shadow: 0 0 24px rgba(49, 228, 255, 0.2);
}

footer {
  padding: 28px 0 36px;
  border-top: 1px solid rgba(110, 138, 255, 0.18);
  color: #8f9dce;
  font-size: 13px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 22px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
}

.footer-links a {
  color: var(--muted);
}

@media (max-width: 760px) {
  .topbar {
    position: static;
  }

  .topbar-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }

  .topnav {
    justify-content: flex-start;
  }

  .page {
    padding-top: 44px;
  }

  .summary-grid {
    grid-template-columns: 1fr;
  }

  .table-scroll {
    overflow-x: auto;
  }

  table {
    min-width: 680px;
  }
}

