/* Shared by the presentation and its transcript: the NH dashboard's tokens, prototype notice, header and Menu.
   Values are copied from the live dashboard (site/src/nds/nds.css under .theme-nhdes) so the pages match it. */
:root {
  --ink: #333840;
  --heading: #15181d;
  --ink-muted: #545a62;
  --paper: #ffffff;
  --surface: #f6f5f2;
  --surface-cool: #f4f5f9;
  --surface-2: #e6e8f1;
  --line: #e4e4e7;
  --accent: #353895;
  --accent-hover: #292b78;
  --green: #316735;
  --link: #1a5dc8;
  --focus: #1f5fd1;
  --gutter: max(clamp(16px, 4vw, 48px), env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px));
  --font: 'Atkinson Hyperlegible Next', Verdana, sans-serif;
  --ease-out: cubic-bezier(0.2, 0.7, 0.2, 1);
  --dur: 220ms;
  --shadow-menu: 0 1px 2px rgb(0 12 31 / 0.06), 0 12px 32px rgb(0 12 31 / 0.12);
  color-scheme: light;
}
@media (prefers-reduced-motion: reduce) { :root { --dur: 0ms; } }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font); font-size: 1rem; line-height: 1.55; }
h1, h2, h3 { hyphens: manual; }
a { color: var(--link); text-decoration: underline; text-underline-offset: 0.15em; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 200; background: var(--paper); padding: 0.5rem 1rem; }
.skip-link:focus { left: 1rem; top: 1rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.concept-banner { margin: 0; padding: 7px var(--gutter); background: var(--surface); color: var(--ink-muted); font-size: 0.875rem; line-height: 1.55; text-align: center; }

.nh-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px var(--gutter); min-height: 76px; }
.nh-wordmark { display: grid; gap: 2px; min-height: 44px; align-content: center; color: var(--ink); text-decoration: none; }
.nh-wordmark-title { font-size: 1rem; font-weight: 600; line-height: 1.2; letter-spacing: -0.01em; }
.nh-wordmark-sub { font-size: 0.875rem; font-weight: 500; line-height: 1.2; color: var(--ink-muted); }
.nh-wordmark:hover .nh-wordmark-title { text-decoration: underline; text-underline-offset: 0.15em; }

/* Menu: the same pill and popout as site/src/nds/MenuDialog.tsx. */
.menu-pill { flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px 0 24px; border: 0; border-radius: 999px; background: var(--surface); color: var(--ink); font: inherit; font-size: 0.9375rem; font-weight: 500; cursor: pointer; transition: background 150ms var(--ease-out); }
.menu-pill:hover { background: var(--surface-2); }
body.menu-open { overflow: hidden; }
.menu-layer { position: fixed; inset: 0; z-index: 100; }
.menu-layer[hidden] { display: none; }
.menu-backdrop { position: absolute; inset: 0; background: rgb(51 56 64 / 0.26); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); animation: menu-fade-in var(--dur) var(--ease-out); }
.menu-panel { position: absolute; top: 12px; right: 12px; width: min(460px, calc(100% - 24px)); max-height: calc(100% - 24px); overflow-y: auto; padding: 96px 24px 24px; background: var(--paper); border-radius: 36px; box-shadow: var(--shadow-menu); transform-origin: top right; animation: menu-in var(--dur) var(--ease-out); }
.menu-layer.is-out .menu-panel { animation: menu-out var(--dur) var(--ease-out) forwards; }
.menu-layer.is-out .menu-backdrop { animation: menu-fade-out var(--dur) var(--ease-out) forwards; }
.menu-close { position: absolute; top: 16px; right: 16px; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: var(--surface-2); color: var(--ink); cursor: pointer; }
.menu-close:hover { background: #d9dce8; }
.menu-nav ul { margin: 0; padding: 0; list-style: none; text-align: center; }
.menu-nav a { display: inline-block; padding: 8px 12px; font-size: 2.5rem; font-weight: 500; letter-spacing: -0.02em; line-height: 1.05; color: var(--ink); text-decoration: none; border-radius: 14px; }
.menu-nav a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.12em; }
.menu-nav a[aria-current]::after { content: ''; display: inline-block; width: 10px; height: 10px; margin-left: 12px; vertical-align: 0.3em; border-radius: 50%; background: var(--accent); }
.menu-note { margin-top: 48px; padding: 24px; background: var(--surface-cool); border-radius: 24px; font-size: 0.875rem; color: var(--ink-muted); text-align: center; }
.menu-note p { margin: 0; }
@media (max-width: 560px) {
  .menu-panel { top: 8px; right: 8px; width: calc(100% - 16px); padding-top: 64px; }
  .menu-nav a { font-size: 1.75rem; }
}
@keyframes menu-in { from { opacity: 0; transform: scale(0.96); } to { opacity: 1; transform: none; } }
@keyframes menu-out { from { opacity: 1; transform: none; } to { opacity: 0; transform: scale(0.96); } }
@keyframes menu-fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes menu-fade-out { from { opacity: 1; } to { opacity: 0; } }
@media print { .menu-pill, .menu-layer { display: none !important; } }
