/* Generated from v2/prototype/assets/css/base.css by v2/tools/build_theme.py – rem converted to px. */
/* ==========================================================================
   Base: reset, typography, links, focus, layout helpers
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--na-header-h) + 16px); }
body {
  margin: 0;
  background: var(--na-paper);
  color: var(--na-text);
  font-family: var(--na-font-body);
  font-size: var(--na-step-0);
  line-height: var(--na-leading);
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
figure, blockquote { margin: 0; }
h1, h2, h3, h4, h5 {
  margin: 0 0 0.5em;
  color: var(--na-ink);
  font-family: var(--na-font-display);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: 0.005em;
  text-wrap: balance;
}
h1 { font-size: var(--na-step-4); }
h2 { font-size: var(--na-step-3); }
h3 { font-size: var(--na-step-2); }
h4 { font-size: var(--na-step-1); }
p { margin: 0 0 1em; text-wrap: pretty; }
strong { font-weight: 650; }
small { font-size: var(--na-step--1); }
hr { border: 0; border-top: 1px solid var(--na-line); margin: var(--na-space-xl) 0; }
::selection { background: var(--na-yellow); color: var(--na-ink); }

a { color: var(--na-blue-deep); text-decoration-line: underline; text-decoration-color: var(--na-blue); text-decoration-thickness: 1.5px; text-underline-offset: 0.18em; transition: color var(--na-fast); }
a:hover { color: var(--na-ink); text-decoration-color: var(--na-yellow); text-decoration-thickness: 3px; }

:focus-visible { outline: 2px solid var(--na-ink); outline-offset: 3px; box-shadow: 0 0 0 6px var(--na-yellow); border-radius: var(--na-radius); }
.na-on-dark :focus-visible, .na-hero :focus-visible, .na-lightbox :focus-visible, .na-board :focus-visible { outline-color: var(--na-yellow); box-shadow: none; }

.na-visually-hidden:not(:focus):not(:active) {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.na-skip-link { position: absolute; left: var(--na-gutter); top: 8px; z-index: 1000; padding: 9.6px 16px; background: var(--na-yellow); color: var(--na-ink); font-family: var(--na-font-display); font-weight: 600; text-transform: uppercase; letter-spacing: var(--na-tracking-caps); text-decoration: none; transform: translateY(-160%); }
.na-skip-link:focus { transform: none; }

/* Layout */
.na-container { width: min(100% - 2 * var(--na-gutter), var(--na-container)); margin-inline: auto; }
.na-container--wide { width: min(100% - 2 * var(--na-gutter), var(--na-container-wide)); margin-inline: auto; }
.na-container--narrow { width: min(100% - 2 * var(--na-gutter), var(--na-measure)); margin-inline: auto; }
.na-section { padding-block: var(--na-section); }
.na-section--tight { padding-block: calc(var(--na-section) * 0.6); }
.na-section--mist { background: var(--na-mist); }
.na-section--flush-top { padding-top: 0; }
.na-stack > * + * { margin-top: var(--na-space-m); }

/* Section heading row: title left, action right */
.na-section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: var(--na-space-s) var(--na-space-xl); margin-bottom: var(--na-space-xl); }
.na-section-head h2 { margin: 0; }
.na-section-head p:not(.na-eyebrow) { margin: 0; max-width: 544px; color: var(--na-muted); }

/* Small caps labels */
.na-eyebrow {
  display: block;
  margin: 0 0 var(--na-space-s);
  color: var(--na-muted);
  font-family: var(--na-font-mono);
  font-size: var(--na-step--2);
  font-weight: 500;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
}
.na-eyebrow--light { color: rgb(255 255 255 / 0.86); }
.na-meta { font-family: var(--na-font-mono); font-size: var(--na-step--2); letter-spacing: 0.06em; text-transform: uppercase; color: var(--na-muted); }

.na-lead { font-size: var(--na-step-1); line-height: 1.5; color: var(--na-ink); }

/* Long-form text (blog posts, about, legal) */
.na-prose { max-width: var(--na-measure); }
.na-prose > * + * { margin-top: 1.1em; }
.na-prose p, .na-prose ul, .na-prose ol { margin-bottom: 0; }
.na-prose h2 { font-size: var(--na-step-2); margin-top: 2em; }
.na-prose h3 { font-size: var(--na-step-1); margin-top: 1.8em; }
.na-prose h4 { font-size: var(--na-step-0); margin-top: 1.6em; text-transform: uppercase; letter-spacing: var(--na-tracking-caps); }
.na-prose h2 + *, .na-prose h3 + *, .na-prose h4 + * { margin-top: 0.4em; }
.na-prose ul, .na-prose ol { padding-left: 1.3em; }
.na-prose li + li { margin-top: 0.35em; }
.na-prose img { border-radius: var(--na-radius); margin-block: var(--na-space-l); }
.na-prose blockquote { margin-block: var(--na-space-xl); padding: 0.2em 0 0.2em 1.25em; border-left: 4px solid var(--na-yellow); font-style: italic; font-size: var(--na-step-1); line-height: 1.5; color: var(--na-ink); }
.na-prose blockquote p + p { margin-top: 0.8em; }
.na-prose code { font-family: var(--na-font-mono); font-size: 0.88em; background: var(--na-mist); padding: 0.1em 0.35em; border-radius: var(--na-radius); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
