:root {
  color-scheme: light;
  /* Palette matched to the app's cobalt-daylight OKLCH tokens (globals.css) so the public
     shell reads as the same product as the interior — was a drifted warm-ink hardcoded set. */
  --paper: oklch(0.985 0.006 95);
  --paper-strong: oklch(1 0 0);
  --ink: oklch(0.23 0.028 264);
  --ink-soft: oklch(0.44 0.03 264);
  --ink-faint: oklch(0.5 0.028 264); /* match globals.css — passes WCAG AA on paper */
  --line: oklch(0.23 0.028 264 / 0.12);
  --accent: oklch(0.52 0.2 258);
  --accent-dark: oklch(0.44 0.19 258);
  --accent-soft: oklch(0.945 0.035 258);
  /* 4.99:1 on --paper-strong. Was #b7791f = 3.64:1, which failed WCAG AA on the
     .proof-grid 01/02/03 numerals (0.74rem/850 is normal text, so the bar is 4.5:1) —
     15 serious axe violations across 5 live pages, 2026-07-25. Pinned by
     tests/unit/token-contrast.test.ts; re-check that test before retuning this hue. */
  --amber: #9a6410;
  --moss: #3c7b59;
  --clay: #a45d45;
  --shadow: 0 18px 50px oklch(0.23 0.028 264 / 0.09);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
}

/* Signature display face — self-hosted Bricolage Grotesque (OFL), the app's next/font display
   voice, so the shell's headings + wordmark match the interior (were system sans). Same-origin,
   so CSP font-src 'self' clears it; font-display:swap keeps LCP unblocked. */
/* Inter, self-hosted. The shell declared `font-family: Inter, ...` with NO @font-face for it, so
   Inter never loaded and every line of body copy fell back to the OS default — the same gap found
   in meetup-club's shell on 2026-08-04. Both front doors bypass layout.tsx, which is why neither
   inherited next/font. This is the only Mentor page a visitor currently sees (the kill switch
   serves "Not open yet" through this shell), so it is the only typography that is doing any work. */
@font-face {
  font-family: 'Inter';
  src: url('/fonts/Inter-Variable.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: 'Bricolage Grotesque';
  src: url('/fonts/BricolageGrotesque-latin.woff2') format('woff2');
  font-weight: 200 800;
  font-display: swap;
}

h1,
h2,
.brand,
.snapshot strong {
  font-family: 'Bricolage Grotesque', ui-sans-serif, system-ui, sans-serif;
  letter-spacing: -0.01em;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    linear-gradient(145deg, rgb(237 242 255 / 88%) 0%, transparent 30rem),
    linear-gradient(24deg, transparent 0%, rgb(255 249 235 / 82%) 72%, rgb(251 250 247) 100%), var(--paper);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.22em;
}

a:focus-visible {
  outline: 3px solid oklch(0.52 0.2 258 / 0.5);
  outline-offset: 4px;
}

.shell {
  width: min(100%, 76rem);
  margin-inline: auto;
  padding: 0 1.25rem 3rem;
}

.shell-narrow {
  width: min(100%, 48rem);
}

.topbar {
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.brand {
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: 0;
  text-decoration: none;
}

.brand span {
  color: var(--accent);
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.75rem 1.1rem;
  color: var(--ink-faint);
  font-size: 0.76rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

nav a {
  text-decoration: none;
}

.toast {
  position: fixed;
  top: 5rem;
  right: max(1rem, calc((100vw - 72rem) / 2 + 1rem));
  z-index: 6;
  display: grid;
  max-width: min(22rem, calc(100vw - 2rem));
  gap: 0.25rem;
  padding: 1rem 1.1rem;
  background: var(--paper-strong);
  border: 1px solid var(--line);
  border-radius: 0.875rem;
  box-shadow: 0 12px 32px rgb(42 29 20 / 10%);
}

.toast strong {
  font-size: 0.98rem;
}

.toast span {
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.45;
}

.hero {
  display: grid;
  max-width: 66rem;
  padding: clamp(4rem, 9vw, 7.4rem) 0 clamp(1.8rem, 4vw, 3.4rem);
}

/* The signature — the rising trajectory (past → now → next), static + server-rendered. */
.hero-trajectory {
  width: 100%;
  max-width: 44rem;
  height: clamp(9rem, 22vw, 13rem);
  margin-top: 2.5rem;
}

.eyebrow {
  margin: 0 0 1.2rem;
  color: var(--accent-dark);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 15ch;
  margin: 0;
  font-size: clamp(3rem, 8vw, 6.2rem);
  line-height: 0.94;
  letter-spacing: 0;
}

.lede {
  max-width: 43rem;
  margin: 1.5rem 0 0;
  color: var(--ink-soft);
  font-size: clamp(1.1rem, 2.2vw, 1.45rem);
  line-height: 1.5;
}

.hero-actions {
  display: grid;
  justify-items: start;
  gap: 0.8rem;
  margin-top: 2rem;
}

.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-actions p,
footer span {
  margin: 0;
  color: var(--ink-faint);
  font-size: 0.92rem;
}

.primary-action,
.secondary-action {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
}

.primary-action {
  padding: 0.95rem 1.25rem;
  color: #fff;
  background: var(--accent);
  box-shadow: none;
}

.secondary-action {
  padding: 0.8rem 1.05rem;
  color: var(--accent-dark);
  background: rgb(237 242 255 / 76%);
  border: 1px solid rgb(32 58 155 / 13%);
}

.snapshot {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(17rem, 0.7fr);
  gap: 1.5rem;
  align-items: stretch;
  margin: 0 0 1.3rem;
  padding: clamp(1.25rem, 3vw, 2rem);
  background: linear-gradient(130deg, rgb(255 253 248 / 92%), rgb(237 242 255 / 76%)), var(--paper-strong);
  border: 1px solid rgb(32 58 155 / 14%);
  border-radius: 0.875rem;
  box-shadow: var(--shadow);
}

.snapshot-kicker {
  margin: 0 0 0.75rem;
  color: var(--accent-dark);
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.snapshot strong {
  display: block;
  max-width: 26rem;
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  line-height: 1.08;
}

.snapshot p:not(.snapshot-kicker) {
  max-width: 34rem;
  margin: 0.85rem 0 0;
  color: var(--ink-soft);
  line-height: 1.56;
}

.snapshot ol {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px solid rgb(25 22 21 / 10%);
  border-radius: 0.875rem;
  background: rgb(255 253 248 / 74%);
}

.snapshot li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 1rem;
}

.snapshot li + li {
  border-top: 1px solid rgb(25 22 21 / 10%);
}

.snapshot li span {
  color: var(--ink-faint);
  font-size: 0.84rem;
}

.snapshot li b {
  color: var(--ink);
  font-size: 0.9rem;
  text-align: right;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.proof-grid article,
.market,
.terms {
  background: var(--paper-strong);
  border: 1px solid var(--line);
  border-radius: 0.875rem;
  box-shadow: var(--shadow);
}

.proof-grid article {
  min-height: 15rem;
  padding: 1.35rem;
}

.proof-grid span {
  color: var(--amber);
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.proof-grid h2,
.market h2,
.terms h2 {
  margin: 0.85rem 0 0;
  font-size: 1.35rem;
  line-height: 1.12;
  letter-spacing: 0;
}

.proof-grid p,
.market p,
.terms p {
  color: var(--ink-soft);
  line-height: 1.62;
}

.market {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(17rem, 0.7fr);
  align-items: start;
  gap: 1.25rem 2rem;
  margin-top: 1rem;
  padding: clamp(1.35rem, 3vw, 2rem);
}

.market dl {
  display: grid;
  gap: 0.75rem;
  margin: 0;
}

.market dl div {
  padding: 0.9rem 1rem;
  background: rgb(237 242 255 / 62%);
  border: 1px solid rgb(54 94 234 / 16%);
  border-radius: 0.875rem;
}

.market dt {
  font-weight: 850;
}

.market dd {
  margin: 0.2rem 0 0;
  color: #4f4842;
  font-size: 0.9rem;
}

.market .secondary-action {
  justify-self: start;
}

footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  padding: 2rem 0 0;
}

.terms {
  display: grid;
  gap: 2rem;
  margin-top: 3rem;
  padding: clamp(1.35rem, 4vw, 2.6rem);
}

.terms header p {
  margin: 0.8rem 0 0;
  font-size: 1.15rem;
}

.terms h1 {
  max-width: none;
  font-size: clamp(2.6rem, 8vw, 4.6rem);
}

.terms section {
  display: grid;
  gap: 0.75rem;
}

.terms section h2,
.terms section p {
  margin: 0;
}

@media (max-width: 760px) {
  .shell {
    padding-inline: 1rem;
  }

  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    justify-content: flex-start;
  }

  .toast {
    top: 5.5rem;
    right: 1rem;
  }

  h1 {
    max-width: 10ch;
  }

  .proof-grid,
  .snapshot,
  .market {
    grid-template-columns: 1fr;
  }
}
