/* PNDR pre-launch page. Tokens: NR holding-page palette (relay 2ff06b61 item 3), neutral theme otherwise. */
@font-face { font-family: "Newsreader"; src: url("/fonts/newsreader-latin.woff2") format("woff2"); font-weight: 400 600; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("/fonts/plex-mono-400-latin.woff2") format("woff2"); font-weight: 400; font-display: swap; }

:root {
  --ink: #10151c;
  --paper: #f2efe8;
  --teal: #1f4e5f;
  --teal-dark: #163a47;
  --muted: #4a5360;
  --rule: #d6d0c4;
  --card: #fbfaf6;
  --error: #8a1c1c;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  --wrap: 68rem;
  --gutter: clamp(1rem, 4vw, 2rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--serif); font-size: 1.125rem; line-height: 1.6; }
a { color: var(--teal); text-underline-offset: 0.15em; }
a:hover { color: var(--teal-dark); }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { width: auto; height: auto; clip-path: none; left: 0; top: 0; background: var(--ink); color: var(--paper); padding: 0.75rem 1rem; z-index: 10; }

.label, .status-bar, .status-line, .optional, .hint { font-family: var(--mono); }
.label { font-size: 0.8125rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal); margin: 0 0 0.75rem; }

.status-bar { margin: 0; background: var(--ink); color: var(--paper); font-size: 0.8125rem; text-align: center; padding: 0.5rem var(--gutter); }

.site-header { border-bottom: 1px solid var(--rule); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.5rem; }
.wordmark { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); line-height: 1.15; }
.wordmark-short { font-weight: 600; font-size: 1.375rem; letter-spacing: 0.04em; }
.wordmark-long { font-family: var(--mono); font-size: 0.75rem; color: var(--muted); }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 2.75rem; padding: 0.625rem 1.25rem; border: 0; border-radius: 4px; background: var(--teal); color: #fff; font-family: var(--serif); font-size: 1.0625rem; font-weight: 600; text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--teal-dark); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn-small { font-size: 0.9375rem; padding: 0.5rem 1rem; white-space: nowrap; }

.hero { padding: clamp(1.75rem, 7vw, 5.5rem) 0 clamp(2rem, 5vw, 3.5rem); }
.hero h1 { font-size: clamp(2.125rem, 5.5vw, 3.75rem); line-height: 1.08; font-weight: 600; margin: 0 0 1.5rem; max-width: 16ch; letter-spacing: -0.01em; }
.lede { font-size: clamp(1.0625rem, 2.2vw, 1.4375rem); max-width: 40rem; margin: 0 0 1.5rem; }
.problem { color: var(--muted); max-width: 40rem; margin: 1.5rem 0 0; }
.status-card { background: var(--card); border: 1px solid var(--rule); border-left: 4px solid var(--teal); padding: 1.25rem 1.5rem; max-width: 40rem; border-radius: 4px; }
.status-card p { margin: 0 0 1rem; }

.band { padding: clamp(2rem, 5vw, 3.5rem) 0; border-top: 1px solid var(--rule); }
.band h2, .register h2 { font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.2; font-weight: 600; margin: 0 0 1.25rem; }
.band p { max-width: 40rem; margin: 0; }
.audiences { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.75rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.audiences { counter-reset: aud; }
.audiences li { counter-increment: aud; background: var(--card); border: 1px solid var(--rule); border-radius: 4px; padding: 1rem 1.25rem; }
.audiences li::before { content: counter(aud, decimal-leading-zero); display: block; font-family: var(--mono); font-size: 0.8125rem; color: var(--teal); margin-bottom: 0.375rem; }

.register { padding: clamp(2.5rem, 6vw, 4.5rem) 0; border-top: 1px solid var(--rule); background: var(--card); }
.register-grid { display: grid; gap: 2rem; }
@media (min-width: 52rem) { .register-grid { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 3.5rem; align-items: start; } }
.hint { font-size: 0.875rem; color: var(--muted); margin: -0.5rem 0 1.5rem; }

.field { margin: 0 0 1.25rem; }
.field label { display: block; font-weight: 600; margin: 0 0 0.375rem; }
.optional { font-weight: 400; font-size: 0.8125rem; color: var(--muted); }
input[type="text"], input[type="email"], select, textarea { width: 100%; min-height: 2.75rem; padding: 0.5rem 0.75rem; font: inherit; font-size: 1rem; color: var(--ink); background: #fff; border: 1px solid #8b8478; border-radius: 4px; }
textarea { min-height: 6rem; resize: vertical; }
input[aria-invalid="true"], select[aria-invalid="true"] { border-color: var(--error); }
.consent { display: grid; grid-template-columns: auto 1fr; gap: 0.75rem; align-items: start; }
.consent input { width: 1.375rem; height: 1.375rem; margin: 0.2rem 0 0; accent-color: var(--teal); }
.consent label { font-weight: 400; margin: 0; }
.consent .error { grid-column: 1 / -1; }
.error { color: var(--error); font-size: 0.9375rem; margin: 0.375rem 0 0; }
.form-error { margin-top: 1rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cf-turnstile { margin: 0 0 1.25rem; min-height: 65px; }
.done { background: #fff; border: 1px solid var(--rule); border-left: 4px solid var(--teal); padding: 1.25rem 1.5rem; border-radius: 4px; }
.done p:last-child { margin: 0; }

.notice { font-size: 0.9375rem; color: var(--muted); border-top: 1px solid var(--rule); padding-top: 1.25rem; }
@media (min-width: 52rem) { .notice { border-top: 0; border-left: 1px solid var(--rule); padding: 0 0 0 1.75rem; } }
.notice h3 { font-size: 1.0625rem; color: var(--ink); margin: 0 0 0.75rem; }

.site-footer { background: var(--ink); color: var(--paper); padding: 2rem 0; font-size: 0.9375rem; }
.site-footer p { margin: 0 0 0.5rem; }
.site-footer a { color: var(--paper); }
.status-line { font-size: 0.8125rem; }

.page { padding: clamp(2rem, 6vw, 4rem) 0; }
.page h1 { font-size: clamp(1.875rem, 4vw, 2.5rem); line-height: 1.15; margin: 0 0 1.5rem; }
.page p { max-width: 40rem; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

/* Small phones: header fits one line; hero keeps its main action in the first screen at 375x667. */
@media (max-width: 30rem) { .wordmark-long { display: none; } .status-bar { font-size: 0.75rem; } .hero h1 { margin-bottom: 1rem; } .lede { margin-bottom: 1rem; font-size: 1rem; line-height: 1.5; } .status-card { padding: 1rem 1.25rem; } .status-card p { margin-bottom: 0.75rem; } .label { margin-bottom: 0.5rem; } }
