/* Shared dark theme. System fonts only; no external assets or font requests. */
:root {
  color-scheme: dark;
  --bg: #0b0e14;
  --surface: #111722;
  --surface-raised: #171f2d;
  --ink: #edf2fa;
  --muted: #a6b2c4;
  --accent: #92b9ff;
  --line: #2b3545;
  --strong-line: #62738d;
  --button-bg: #eaf1ff;
  --button-ink: #111722;
  --error: #ffb4b4;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, Helvetica, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
::selection { background: var(--accent); color: var(--bg); }
a { color: inherit; text-underline-offset: 4px; text-decoration-thickness: 1px; }
a:hover { color: var(--accent); }
button, input, select { font: inherit; color: inherit; }
button, select, summary { cursor: pointer; }
button, a, input, select, summary { touch-action: manipulation; }
button { background: none; }
button:disabled { cursor: wait; opacity: .65; }
select { color-scheme: dark; }
option { background: var(--surface); color: var(--ink); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
[hidden] { display: none !important; }
h1, h2, h3, p, dl { margin: 0; }
h1, h2, h3 { font-family: var(--sans); font-weight: 650; line-height: 1.15; letter-spacing: -.035em; }
h1 { font-weight: 700; }
h1 em { font-style: normal; font-weight: inherit; color: var(--accent); }
.wrap { width: min(100% - 104px, 1216px); margin-inline: auto; }
.skip-link { position: fixed; z-index: 10; top: 12px; left: 12px; transform: translateY(-180%); padding: 12px 20px; border-radius: 8px; background: var(--button-bg); color: var(--button-ink); }
.skip-link:focus { transform: none; color: var(--button-ink); }
.eyebrow, .edition { font-size: 11px; font-weight: 600; line-height: 1.5; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.brand, .wordmark { font-family: var(--sans); font-size: 25px; font-weight: 700; letter-spacing: -1px; line-height: 1.2; text-decoration: none; white-space: nowrap; }
.brand-period, .small-period { color: var(--accent); }
.primary-button, .secondary-button { display: inline-flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 46px; padding: 11px 18px; border: 1px solid var(--button-bg); border-radius: 8px; background: var(--button-bg); color: var(--button-ink); font-size: 13px; font-weight: 650; line-height: 1.5; text-decoration: none; }
.primary-button:hover { background: var(--accent); border-color: var(--accent); color: var(--button-ink); }
.secondary-button { background: transparent; border-color: var(--strong-line); color: var(--ink); }
.secondary-button:hover { background: var(--surface-raised); border-color: var(--accent); color: var(--accent); }
@media (max-width: 1050px) { .wrap { width: calc(100% - 64px); } }
@media (max-width: 760px) { .wrap { width: calc(100% - 40px); } }
@media (max-width: 400px) { .wrap { width: calc(100% - 32px); } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
@media print {
  :root { color-scheme: light; --bg: #ffffff; --surface: #ffffff; --surface-raised: #f2f2f2; --ink: #111111; --muted: #444444; --accent: #194a80; --line: #bbbbbb; --strong-line: #777777; --button-bg: #111111; --button-ink: #ffffff; --error: #8a2020; }
  body { background: white; color: black; }
  .wrap { width: 100%; max-width: none; }
}
