/* SRAReady apex stub — clinical teal identity (charter §4, 2026-06-05).
 * Tokens: #0A2030 ground · #EDF6F9 ink · #1FA8B8 clinical teal · DM Serif Display + Inter + JetBrains Mono */

:root {
  --brand-ground:     #0A2030;
  --brand-surface:    #0E2A3D;
  --brand-ink:        #EDF6F9;
  --brand-ink-soft:   #8BB8C8;
  --brand-primary:    #1FA8B8;
  --brand-primary-fg: #FFFFFF;
  --brand-accent:     #2D5068;
  --brand-rule:       rgba(255,255,255,.10);
  --status-ok:        #1FA8B8;
  --status-warn:      #E8B23A;
  --status-danger:    #E5533D;

  --display: 'DM Serif Display', 'Georgia', serif;
  --body:    'Inter', system-ui, sans-serif;
  --mono:    'JetBrains Mono', ui-monospace, Menlo, monospace;

  --ease: cubic-bezier(.16,1,.3,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--body);
  background: var(--brand-ground);
  color: var(--brand-ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  position: relative;
}

a { color: var(--brand-primary); }
:focus-visible { outline: 2px solid var(--brand-primary); outline-offset: 3px; border-radius: 6px; }

/* ── skip link ─────────────────────────────────────────── */
.skip {
  position: absolute; left: 14px; top: -60px; z-index: 100;
  background: var(--brand-primary); color: var(--brand-primary-fg);
  padding: 10px 16px; border-radius: 8px; font-weight: 600;
  text-decoration: none; transition: top .2s var(--ease);
}
.skip:focus { top: 14px; }

/* ── phase-0 status banner ─────────────────────────────── */
.status-banner {
  position: relative; z-index: 10;
  background: var(--brand-surface);
  color: var(--brand-ink-soft);
  border-bottom: 1px solid rgba(31,168,184,.18);
  font-size: .72rem; letter-spacing: .06em;
  text-align: center; padding: 8px 16px;
}
.status-banner strong {
  color: var(--brand-primary);
  font-family: var(--mono);
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  margin-right: 8px;
}

/* ── hero bg — deep teal ground with radial depth ──────── */
.hero-bg {
  position: fixed; inset: 0; z-index: 0; overflow: hidden;
  background: var(--brand-ground);
}
.hero-bg::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(900px 600px at 65% 20%, rgba(31,168,184,.10), transparent 68%),
    radial-gradient(400px 400px at 20% 80%, rgba(31,168,184,.06), transparent 60%);
  animation: bgpulse 18s ease-in-out infinite alternate;
}
@keyframes bgpulse {
  from { opacity: .7; }
  to   { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-bg::before { animation: none; }
}

/* ── wordmark row ──────────────────────────────────────── */
.wordmark-row {
  position: relative; z-index: 5;
  padding: 32px 32px 0;
}
.wm { display: inline-flex; flex-direction: column; align-items: flex-start; }
.wm__word {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  letter-spacing: .01em;
  line-height: 1;
  white-space: nowrap;
}
.wm__sra   { color: var(--brand-primary); }
.wm__ready { color: var(--brand-ink); }
.wm__rule {
  height: .06em; width: 100%; margin-top: .3em; border-radius: 3px;
  background: linear-gradient(90deg, var(--brand-primary) 0%, rgba(31,168,184,0) 100%);
}

/* ── main content ──────────────────────────────────────── */
main {
  position: relative; z-index: 1;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px 64px;
}
.stub {
  width: min(640px, 100%);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

/* ── eyebrow ───────────────────────────────────────────── */
.eyebrow {
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--brand-ink-soft);
  margin-bottom: 20px;
}

/* ── h1 ────────────────────────────────────────────────── */
h1 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.9rem, 5.5vw, 3rem);
  line-height: 1.18;
  letter-spacing: .01em;
  color: var(--brand-ink);
  margin-bottom: 24px;
  max-width: 22ch;
}
h1 em { font-style: italic; color: var(--brand-primary); }

/* ── subhead ───────────────────────────────────────────── */
.subhead {
  font-size: clamp(.95rem, 2.2vw, 1.05rem);
  color: var(--brand-ink-soft);
  max-width: 48ch;
  line-height: 1.7;
  margin-bottom: 32px;
}
.subhead .mono {
  font-family: var(--mono);
  font-size: .88em;
  color: var(--brand-ink);
}

/* ── honesty seal ──────────────────────────────────────── */
.honesty-seal {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(31,168,184,.06);
  border: 1px solid rgba(31,168,184,.22);
  border-radius: 10px;
  padding: 16px 18px;
  margin-bottom: 28px;
  text-align: left;
  max-width: 520px;
}
.honesty-seal__icon {
  flex-shrink: 0;
  width: 28px; height: 28px;
  color: var(--brand-primary);
  margin-top: 2px;
}
.honesty-seal__icon svg { width: 100%; height: 100%; }
.honesty-seal__copy {
  font-size: .88rem;
  color: var(--brand-ink-soft);
  line-height: 1.55;
}
.honesty-seal__copy b { color: var(--brand-ink); }

/* ── what it does ──────────────────────────────────────── */
.whatitis {
  font-size: .9rem;
  color: var(--brand-ink-soft);
  max-width: 48ch;
  line-height: 1.6;
  margin-bottom: 28px;
  text-align: center;
}
.whatitis b { color: var(--brand-ink); }

/* ── founding-cohort banner ────────────────────────────── */
.cohort {
  font-size: .88rem;
  color: var(--brand-ink-soft);
  max-width: 44ch;
  margin-bottom: 28px;
  padding: 12px 18px;
  border-left: 3px solid var(--brand-primary);
  background: rgba(31,168,184,.05);
  border-radius: 0 8px 8px 0;
  text-align: left;
  line-height: 1.55;
}
.cohort b { color: var(--brand-primary); }

/* ── waitlist form ─────────────────────────────────────── */
.waitlist {
  width: 100%;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 40px;
}
.waitlist__field { width: 100%; }
.waitlist input[type="email"] {
  width: 100%;
  background: var(--brand-surface);
  border: 1px solid var(--brand-accent);
  border-radius: 8px;
  color: var(--brand-ink);
  font-family: var(--body);
  font-size: .95rem;
  padding: 12px 16px;
  outline: none;
  transition: border-color .15s var(--ease);
}
.waitlist input[type="email"]::placeholder { color: var(--brand-accent); }
.waitlist input[type="email"]:focus { border-color: var(--brand-primary); }
.waitlist input[type="email"][aria-invalid="true"] { border-color: var(--status-danger); }

.btn {
  background: var(--brand-primary);
  color: var(--brand-primary-fg);
  font-family: var(--body);
  font-weight: 600;
  font-size: .88rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  border: none;
  border-radius: 8px;
  padding: 13px 24px;
  cursor: pointer;
  transition: opacity .15s var(--ease), transform .1s var(--ease);
}
.btn:hover { opacity: .88; }
.btn:active { transform: scale(.98); }
.btn:disabled { opacity: .5; cursor: not-allowed; }

.waitlist__err {
  font-size: .8rem;
  color: var(--status-danger);
  padding: 4px 2px;
}
.waitlist__ok {
  font-size: .8rem;
  color: var(--brand-primary);
  padding: 4px 2px;
}
.waitlist__alt {
  font-size: .78rem;
  color: var(--brand-ink-soft);
  line-height: 1.5;
}
.waitlist__alt a { color: var(--brand-primary); }

/* ── footer ────────────────────────────────────────────── */
.site-foot {
  position: relative; z-index: 1;
  border-top: 1px solid var(--brand-rule);
  padding: 32px 24px 28px;
}
.disclaimers {
  max-width: 680px;
  margin: 0 auto 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: .78rem;
  color: var(--brand-ink-soft);
  line-height: 1.65;
}
.disclaimers b { color: var(--brand-ink); }
.foot-meta {
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .1em;
  color: var(--brand-accent);
  text-align: center;
}

/* ── sr-only ───────────────────────────────────────────── */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border-width: 0;
}

/* ── responsive ────────────────────────────────────────── */
@media (max-width: 480px) {
  .wordmark-row { padding: 20px 20px 0; }
  main { padding: 28px 16px 48px; }
  .stub { gap: 0; }
  .honesty-seal { flex-direction: column; gap: 10px; }
  .cohort { border-radius: 8px; border-left-width: 2px; }
}
