/* ============================================================
   REGISTAR — Marketing Site  ·  style.css
   Shared stylesheet for every page (Home, Pricing, Why, FAQ).
   Self-contained, no build step. Design tokens copied from the
   REGISTAR app so the site and the product match.

   ACCENT RULE:
   - Lime (--accent) is the ONLY highlight colour used for site
     chrome: buttons, links, eyebrows, hovers, key numbers.
   - Amber/red are real status colours in the REGISTAR APP only;
     they never appear in the marketing site's chrome, so they
     are not defined here.
   ============================================================ */

/* ---- Design tokens ---------------------------------------- */
:root {
  /* surfaces */
  --bg:        #080808;
  --surface:   #0f0f0f;
  --surface-2: #141414;
  --surface-3: #181818;
  --border:    #1c1c1c;
  --border-2:  #262626;

  /* accent — the single site highlight colour */
  --accent:      #c8f135;
  --accent-dim:  rgba(200, 241, 53, 0.12);
  --accent-glow: rgba(200, 241, 53, 0.22);

  /* text */
  --tx:   #f0f0f0;
  --tx-2: #8a8a8a;
  --tx-3: #555555;
  --tx-on-accent: #080808;

  /* type */
  --f-head: 'Bebas Neue', 'Arial Narrow', sans-serif;
  --f-mono: 'DM Mono', 'Menlo', monospace;
  --f-body: 'DM Sans', 'Helvetica Neue', sans-serif;

  /* shape */
  --r-sm: 4px;
  --r-md: 10px;
  --r-lg: 16px;

  /* layout */
  --nav-h: 64px;
  --maxw:  1120px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---- Reset & base ----------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--tx);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}

/* faint grid texture behind everything — fades out toward edges.
   Gives the page subtle depth instead of flat black. */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 85% 55% at 50% 0%, #000 25%, transparent 78%);
          mask-image: radial-gradient(ellipse 85% 55% at 50% 0%, #000 25%, transparent 78%);
  opacity: 0.5;
}

ul { list-style: none; }
img { max-width: 100%; display: block; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* lime hairline scrollbar — matches the app */
::-webkit-scrollbar { width: 3px; height: 3px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 2px; }
* { scrollbar-width: thin; scrollbar-color: var(--accent) transparent; }

/* ---- Layout helpers --------------------------------------- */
.wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
}

.section { padding: 80px 0; position: relative; }
.section + .section { border-top: 1px solid var(--border); }

/* ---- Headings & eyebrow ----------------------------------- */
h1, h2, h3 {
  font-family: var(--f-head);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--tx);
}
h1 { font-size: 72px; }
h2 { font-size: 46px; }
h3 { font-size: 23px; letter-spacing: 0.03em; }

.lead {
  font-size: 18px;
  color: var(--tx-2);
  max-width: 56ch;
}

/* small uppercase label with a short lime tick */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--tx-3);
}
.eyebrow::before {
  content: '';
  width: 18px;
  height: 1px;
  background: var(--accent);
}

/* section header block */
.sec-head { margin-bottom: 42px; }
.sec-head h2 { margin-top: 14px; }
.sec-head .lead { margin-top: 12px; }
.sec-no {
  float: right;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--tx-3);
}
.sec-head--center { text-align: center; }
.sec-head--center .eyebrow,
.sec-head--center .lead { margin-left: auto; margin-right: auto; }
.sec-head--center .lead { display: block; }
.sec-head--center .sec-no { float: none; display: block; margin-bottom: 14px; }

/* ---- Buttons ---------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 15px 30px;
  border-radius: var(--r-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
              opacity 0.2s var(--ease), border-color 0.2s var(--ease),
              color 0.2s var(--ease);
}
.btn:hover { text-decoration: none; }

.btn-primary { background: var(--accent); color: var(--tx-on-accent); }
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px -8px var(--accent-glow);
}

.btn-ghost {
  background: transparent;
  color: var(--tx);
  border-color: var(--border-2);
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.btn-block { display: flex; width: 100%; justify-content: center; }

/* arrow that nudges right on hover */
.arrow { transition: transform 0.25s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* ---- Top navigation --------------------------------------- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 8, 8, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.site-nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
}

.nav-logo {
  font-family: var(--f-head);
  font-size: 27px;
  letter-spacing: 0.08em;
  color: var(--accent);
  line-height: 1;
}
.nav-logo:hover { text-decoration: none; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
}
.nav-links a {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--tx-2);
  transition: color 0.2s var(--ease);
}
.nav-links a:hover { color: var(--tx); text-decoration: none; }
.nav-links a.is-active { color: var(--accent); }

/* ---- Nav "Discover" dropdown ------------------------------ */
.nav-dd { position: relative; display: inline-flex; align-items: center; }
.nav-dd-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: none;
  border: 0;
  padding: 0;
  margin: 0;
  cursor: pointer;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--tx-2);
  transition: color 0.2s var(--ease);
}
.nav-dd-toggle:hover { color: var(--tx); }
.nav-dd-toggle.is-active { color: var(--accent); }
.dd-caret {
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  transition: transform 0.25s var(--ease);
}
.nav-dd:hover .dd-caret,
.nav-dd.open .dd-caret { transform: rotate(180deg); }

/* invisible hover bridge so the cursor can cross the gap */
.nav-dd::after {
  content: '';
  position: absolute;
  top: 100%;
  left: -10px;
  right: -10px;
  height: 16px;
}

.nav-dd-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translate(-50%, 6px);
  min-width: 196px;
  background: var(--surface-2);
  border: 1px solid var(--border-2);
  border-radius: var(--r-md);
  box-shadow: 0 22px 48px -20px rgba(0, 0, 0, 0.92);
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
  z-index: 200;
}
.nav-dd:hover .nav-dd-menu,
.nav-dd:focus-within .nav-dd-menu,
.nav-dd.open .nav-dd-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}
.nav-dd-menu a {
  display: block;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--tx-2);
  padding: 9px 12px;
  border-radius: var(--r-sm);
  white-space: nowrap;
  transition: color 0.15s var(--ease), background 0.15s var(--ease);
}
.nav-dd-menu a:hover { color: var(--tx); background: var(--surface-3); text-decoration: none; }
.nav-dd-menu a.is-active { color: var(--accent); }

/* compact buy button in the nav */
.nav-cta {
  background: var(--accent);
  color: var(--tx-on-accent) !important;
  padding: 9px 18px;
  border-radius: var(--r-sm);
  font-size: 10px;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 22px -8px var(--accent-glow);
}

/* ---- Hero -------------------------------------------------- */
.hero {
  position: relative;
  padding: 90px 0 80px;
}
.hero::before {
  content: '';
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 680px;
  height: 420px;
  pointer-events: none;
  background: radial-gradient(ellipse at center, var(--accent-glow), transparent 70%);
  opacity: 0.55;
}
.hero-inner { position: relative; }

/* two-column hero (Home — text + app mock) */
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
.hero h1 { font-size: 78px; letter-spacing: 0.015em; }
.hero h1 .hl { color: var(--accent); }   /* lime-highlighted phrase */
.hero .lead { margin-top: 22px; font-size: 19px; max-width: 46ch; }
.hero-actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* small trust line under the hero buttons */
.trust {
  margin-top: 26px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--tx-3);
}
.trust .dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent-glow);
}

/* ---- Card grid -------------------------------------------- */
.cards {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}

.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 26px 24px;
  overflow: hidden;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease),
              background 0.3s var(--ease);
}
/* lime line that grows across the top on hover */
.card::after {
  content: '';
  position: absolute;
  left: 0; top: 0;
  height: 2px; width: 0;
  background: var(--accent);
  transition: width 0.35s var(--ease);
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--border-2);
  background: var(--surface-2);
}
.card:hover::after { width: 100%; }

.card-ix,
.card p.card-ix {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--accent);
}
.card h3 { margin: 14px 0 8px; }
.card p { font-size: 15px; color: var(--tx-2); }

/* ---- Steps (how it works) --------------------------------- */
.steps {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}
.step {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 28px 24px;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.step::after {
  content: '';
  position: absolute;
  left: 0; top: 0;
  height: 2px; width: 0;
  background: var(--accent);
  transition: width 0.35s var(--ease);
}
.step:hover { border-color: var(--border-2); transform: translateY(-4px); }
.step:hover::after { width: 100%; }
.step-num {
  font-family: var(--f-head);
  font-size: 46px;
  line-height: 1;
  color: var(--accent);
  margin-bottom: 12px;
}
.step h3 { margin-bottom: 8px; }
.step p { font-size: 15px; color: var(--tx-2); }

/* ---- Pricing card ----------------------------------------- */
.pricing-wrap { display: flex; justify-content: center; }

.price-card {
  position: relative;
  width: 100%;
  max-width: 440px;
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: var(--r-lg);
  padding: 38px 34px;
  overflow: hidden;
}
/* lime top edge */
.price-card::before {
  content: '';
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 3px;
  background: var(--accent);
}
.price-card .plan-name {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--tx-3);
}
.price-amount {
  font-family: var(--f-head);
  font-size: 84px;
  line-height: 1;
  color: var(--tx);
  margin: 10px 0 2px;
}
.price-amount span {
  font-family: var(--f-mono);
  font-size: 14px;
  letter-spacing: 0.04em;
  color: var(--tx-2);
}
.price-note { font-size: 14px; color: var(--tx-2); }

.price-features {
  margin: 24px 0;
  border-top: 1px solid var(--border);
}
.price-features li {
  display: flex;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  color: var(--tx-2);
}
.price-features li::before {
  content: '\2713';
  flex-shrink: 0;
  color: var(--accent);
  font-size: 13px;
}

.disclosure {
  margin-top: 14px;
  font-family: var(--f-mono);
  font-size: 10px;
  line-height: 1.7;
  letter-spacing: 0.03em;
  color: var(--tx-3);
  text-align: center;
}

/* ---- FAQ accordion (native <details>, no JS) -------------- */
.faq-list { max-width: 780px; margin: 0 auto; }

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  margin-bottom: 12px;
  transition: border-color 0.25s var(--ease);
}
.faq-item[open] { border-color: var(--border-2); }
.faq-item:hover { border-color: var(--border-2); }

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  cursor: pointer;
  list-style: none;
  font-family: var(--f-body);
  font-size: 16px;
  font-weight: 600;
  color: var(--tx);
}
.faq-item summary::-webkit-details-marker { display: none; }

/* lime + / - toggle indicator */
.faq-item summary .plus {
  position: relative;
  flex-shrink: 0;
  width: 16px; height: 16px;
}
.faq-item summary .plus::before,
.faq-item summary .plus::after {
  content: '';
  position: absolute;
  background: var(--accent);
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}
.faq-item summary .plus::before { left: 0; top: 7px; width: 16px; height: 2px; }
.faq-item summary .plus::after  { left: 7px; top: 0; width: 2px; height: 16px; }
.faq-item[open] summary .plus::after { transform: rotate(90deg); opacity: 0; }

.faq-item .faq-body {
  padding: 0 22px 22px;
  font-size: 15px;
  color: var(--tx-2);
}

/* ---- Stats (Why page) ------------------------------------- */
.stat-row {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
  margin: 28px 0;
}
.stat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 24px;
}
.stat-num {
  font-family: var(--f-head);
  font-size: 50px;
  line-height: 1;
  color: var(--accent);
}
.stat-label {
  margin-top: 8px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.07em;
  color: var(--tx-2);
}

/* ---- Prose (Why + legal pages) ---------------------------- */
.prose { max-width: 740px; }
.prose p { margin-bottom: 18px; color: var(--tx-2); }
.prose h2 { margin: 38px 0 14px; font-size: 36px; }
.prose h3 { margin: 28px 0 10px; }
.prose strong { color: var(--tx); }
.prose ul.bullets li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 12px;
  color: var(--tx-2);
}
.prose ul.bullets li::before {
  content: '';
  position: absolute;
  left: 0; top: 11px;
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 1px;
}

/* ---- CTA band --------------------------------------------- */
.cta-band {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: var(--r-lg);
  padding: 56px 36px;
  text-align: center;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  top: -120px; left: 50%;
  transform: translateX(-50%);
  width: 480px; height: 300px;
  background: radial-gradient(ellipse at center, var(--accent-glow), transparent 70%);
  opacity: 0.45;
  pointer-events: none;
}
.cta-band h2 { position: relative; margin-bottom: 12px; }
.cta-band p { position: relative; color: var(--tx-2); margin-bottom: 26px; }
.cta-band .btn { position: relative; }

/* ---- Footer ----------------------------------------------- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 56px 0 32px;
  margin-top: 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
}
.footer-brand .nav-logo { font-size: 24px; }
.footer-brand p {
  margin-top: 10px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--tx-3);
  max-width: 30ch;
}
.footer-col h4 {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--tx-3);
  margin-bottom: 14px;
}
.footer-col a {
  display: block;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--tx-2);
  padding: 5px 0;
  transition: color 0.2s var(--ease);
}
.footer-col a:hover { color: var(--accent); text-decoration: none; }

.footer-bottom {
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--tx-3);
}

/* ---- Scroll-reveal animation ------------------------------ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }

/* First-viewport content snaps in with no animation, so it is reliably
   visible even in contexts that don't advance CSS transitions (background
   or preview tabs). Below-the-fold content still fades up on scroll. */
.reveal.in-now { transition: none; }

/* Safety net: if JavaScript is disabled or fails to run, the reveal
   observer never fires — so never leave the page's content invisible. */
@media (scripting: none) {
  .reveal { opacity: 1; transform: none; }
}

/* ---- Responsive ------------------------------------------- */
@media (min-width: 720px) {
  .cards-2  { grid-template-columns: 1fr 1fr; }
  .cards-3  { grid-template-columns: repeat(3, 1fr); }
  .cards-4  { grid-template-columns: repeat(2, 1fr); }
  .steps    { grid-template-columns: repeat(3, 1fr); }
  .stat-row { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
}
@media (min-width: 880px) {
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; }
}
@media (min-width: 1000px) {
  .cards-4 { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 560px) {
  h1 { font-size: 44px; }
  h2 { font-size: 34px; }
  .hero { padding: 60px 0 56px; }
  .hero h1 { font-size: 46px; }
  .sec-head h2 { font-size: 34px; }
  .price-amount { font-size: 64px; }
  .section { padding: 56px 0; }
  .nav-links { gap: 15px; }
  .nav-links a { font-size: 10px; letter-spacing: 0.08em; }
}

/* respects the OS "reduce motion" setting — no animation, no reveal delay */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   EDUCATIONAL SITE ADDITIONS  ·  Pass 1
   Clickable "learn map" cards + the waitlist strip.
   Reuses existing tokens only — no new colours introduced.
   ============================================================ */

/* ---- Clickable cards (the "what you'll learn" map) -------- */
a.card { color: inherit; display: flex; flex-direction: column; }
a.card:hover { text-decoration: none; }
.card-go {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: auto;
  padding-top: 16px;
  align-self: flex-start;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}
.card-go .arrow { transition: transform 0.25s var(--ease); }
a.card:hover .card-go .arrow { transform: translateX(3px); }

/* ---- Waitlist strip --------------------------------------- */
.waitlist {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: var(--r-lg);
  padding: 46px 36px;
  text-align: center;
  overflow: hidden;
}
.waitlist::before {
  content: '';
  position: absolute;
  top: -120px; left: 50%;
  transform: translateX(-50%);
  width: 460px; height: 280px;
  background: radial-gradient(ellipse at center, var(--accent-glow), transparent 70%);
  opacity: 0.35;
  pointer-events: none;
}
.waitlist > * { position: relative; }
.waitlist .eyebrow { justify-content: center; margin-bottom: 14px; }
.waitlist h2 { font-size: 38px; margin-bottom: 10px; }
.waitlist .lead { color: var(--tx-2); margin: 0 auto 26px; max-width: 50ch; }

.waitlist-form {
  display: flex;
  gap: 10px;
  max-width: 480px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
}
.waitlist-input {
  flex: 1 1 240px;
  min-width: 0;
  background: var(--surface-2);
  border: 1px solid var(--border-2);
  border-radius: var(--r-sm);
  color: var(--tx);
  font-family: var(--f-body);
  font-size: 15px;
  padding: 14px 16px;
  transition: border-color 0.2s var(--ease);
}
.waitlist-input::placeholder { color: var(--tx-3); }
.waitlist-input:focus { outline: none; border-color: var(--accent); }
.waitlist-form .btn { flex: 0 0 auto; }

.waitlist-note {
  margin-top: 18px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--tx-3);
}
.waitlist-note a { color: var(--tx-2); text-decoration: underline; }
.waitlist-note a:hover { color: var(--accent); }

/* success state — swapped in by site.js after a good submit */
.waitlist-success {
  display: none;
  max-width: 480px;
  margin: 0 auto;
  background: var(--accent-dim);
  border: 1px solid var(--accent);
  border-radius: var(--r-md);
  padding: 18px 20px;
  font-family: var(--f-mono);
  font-size: 13px;
  line-height: 1.6;
  letter-spacing: 0.03em;
  color: var(--accent);
}
.waitlist.is-done .waitlist-form,
.waitlist.is-done .waitlist-note { display: none; }
.waitlist.is-done .waitlist-success { display: block; }

/* honeypot — visually gone, still in the DOM for Netlify */
.hp { position: absolute; left: -9999px; top: -9999px; }

/* ---- Source / attribution note (stats credibility) -------- */
/* A readable note card rather than a mono "code comment": body
   font, a surface panel and a small lime info badge so it reads
   as an intentional aside. Used for citations and clarifications. */
.source-note {
  position: relative;
  font-family: var(--f-body);
  font-size: 14px;
  line-height: 1.7;
  letter-spacing: 0;
  color: var(--tx-2);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 17px 20px 17px 48px;
  margin: 26px 0 0;
  max-width: 74ch;
}
.source-note::before {
  content: 'i';
  position: absolute;
  left: 16px;
  top: 16px;
  width: 21px;
  height: 21px;
  display: grid;
  place-items: center;
  font-family: var(--f-mono);
  font-size: 12px;
  font-style: normal;
  line-height: 1;
  color: var(--tx-on-accent);
  background: var(--accent);
  border-radius: 50%;
}
.source-note em { font-style: italic; color: var(--tx); }
.source-note strong, .source-note b { color: var(--tx); }
.source-note a { color: var(--accent); text-decoration: underline; }
.source-note a:hover { color: var(--tx); }

@media (max-width: 560px) {
  .waitlist { padding: 36px 22px; }
  .waitlist h2 { font-size: 30px; }
  .waitlist-form { flex-direction: column; }
  .waitlist-form .btn { width: 100%; justify-content: center; }
}

/* ============================================================
   NAV LOGO LOCKUP  ·  mark + wordmark
   The mark is now a real <img class="nav-logo-mark"> in the
   markup (see elevate.css for its sizing), so the old CSS
   ::before background mark has been removed to avoid a double
   logo. This block only keeps the flex lockup as a fallback
   for any page that loads style.css without elevate.css.
   ============================================================ */
.site-nav .nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}