body.atlas-page {
  --ink: #c9fbfb;
  --muted: #9bbfc1;
  --accent: #4af1f2;
  --glow: rgb(74 241 242 / .36);
  --line: #27434a;
  --surface: #071115;
  --tint: #0d2026;
  --warning: #ffb547;
  --warning-surface: #21170b;
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, "Liberation Mono", monospace;
  margin: 0;
  min-height: 100vh;
  background: #000;
  color: var(--ink);
  color-scheme: dark;
  font: 1rem/1.6 system-ui, sans-serif;
}

.atlas-page *, .atlas-page *::before, .atlas-page *::after { box-sizing: border-box; }
.atlas-page main { width: min(74rem, calc(100% - 2rem)); margin: 0 auto; padding-bottom: 4rem; }
.atlas-page a { color: var(--accent); text-underline-offset: .19em; }
.atlas-page a:hover { color: #fff; }
.atlas-page :focus-visible { outline: 1px dashed var(--accent); outline-offset: 4px; }
.atlas-page :target { scroll-margin-top: 1rem; }
.atlas-page h1, .atlas-page h2, .atlas-page h3, .atlas-page h4 { line-height: 1.2; }
.atlas-page h1 { margin: 0; font: 600 clamp(1.6rem, 4vw, 2.5rem)/1.18 var(--mono); letter-spacing: -.045em; }
.atlas-page h2 { font: 600 clamp(1.15rem, 2.6vw, 1.4rem)/1.3 var(--mono); letter-spacing: -.025em; }
.atlas-page h3 { font-size: 1.06rem; }
.atlas-page :where(section) { margin-block-start: 1.8rem; }
.atlas-page summary { cursor: pointer; }
.atlas-page nav { display: flex; flex-wrap: wrap; align-items: baseline; gap: .45rem 1rem; font: .875rem/1.5 var(--mono); }

.atlas-page .atlas-masthead {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .4rem 1.5rem;
  padding: .8rem 0;
  border-bottom: 1px solid var(--line);
  background: radial-gradient(ellipse at top left, rgb(74 241 242 / .085), transparent 63%);
}

.atlas-masthead .atlas-brand a {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  color: inherit;
  font: 500 1rem/1.28 var(--mono);
  letter-spacing: .07em;
  text-transform: uppercase;
  text-shadow: 0 0 12px var(--glow);
  text-decoration: none;
}

.atlas-brand .atlas-mark {
  flex: none;
  width: 1.2rem;
  height: auto;
  color: var(--accent);
  filter: drop-shadow(0 0 6px var(--glow));
}

.atlas-masthead nav {
  gap: .35rem clamp(.35rem, 1.55vw, .9rem);
  margin: 0;
  padding: 0;
}

@media (max-width: 30rem) {
  .atlas-masthead .atlas-brand a { gap: .5rem; font-size: .78rem; letter-spacing: .03em; }
  .atlas-brand .atlas-mark { width: 1rem; }
}

.atlas-masthead nav a {
  padding: .38rem .55rem;
  border: 1px solid transparent;
  color: var(--muted);
  text-decoration: none;
}

.atlas-masthead nav a:hover, .atlas-masthead nav a[aria-current="page"] {
  border-color: var(--accent);
  background: var(--surface);
  color: var(--accent);
  box-shadow: 0 0 10px rgb(74 241 242 / .13);
}

.atlas-page .atlas-page-heading {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: .55rem 1.4rem;
  margin: clamp(1.45rem, 4vw, 2.7rem) 0 1rem;
}

.atlas-page-heading nav a { font-weight: 600; }

.atlas-page .atlas-method {
  margin: 0 0 1rem;
  padding: .55rem .95rem;
  border-inline-start: 2px solid var(--accent);
  background: var(--surface);
  color: var(--ink);
  font: .875rem/1.65 var(--mono);
}
