/* STREAK, Prospect Sprint rebrand (vanilla CSS, zero build) */
/* Fonts are self-hosted (zero external requests); see @font-face below. */

/* ---- Tokens ---- */
:root {
  color-scheme: light;
  --ink:#221C54;
  --accent:#6E5CF6;
  --accent-deep:#5848D6;
  --accent-ink:#5238C9;
  --ground:#F3F1FB;
  --surface:#FFFFFF;
  --surface-alt:#FAF9FE;
  --muted:#5E6E84;
  --muted-2:#8A93A2;
  --hairline:#E6E3DB;
  --chip:#ECE9FD;
  --positive:#0F7A52;
  --positive-bg:#E8F6EF;
  --strike:#646E7D;

  --shadow: 0 1px 2px rgba(34,28,84,0.04), 0 4px 12px rgba(34,28,84,0.06);
  --shadow-lift: 0 2px 6px rgba(34,28,84,0.06), 0 14px 30px rgba(34,28,84,0.10);
  --shadow-pop: 0 6px 14px rgba(34,28,84,0.08), 0 28px 60px rgba(34,28,84,0.16);
  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 20px;
  --max-width: 1080px;
  --header-h: 64px;

  /* motion */
  --ease: cubic-bezier(.22,.7,.2,1);
  --ease-out: cubic-bezier(.16,1,.3,1);

  --font-display:"Archivo",system-ui,sans-serif;
  --font-body:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  --font-mono:"IBM Plex Mono",ui-monospace,"SF Mono",Menlo,monospace;
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --ink:#E8E4F8;
    --accent:#8E7BFF;
    --accent-deep:#7A68F0;
    --accent-ink:#A89BFF;
    --ground:#0F1020;
    --surface:#171830;
    --surface-alt:#1C1E3A;
    --muted:#A0A8B8;
    --muted-2:#7A8298;
    --hairline:#2A2A45;
    --chip:#2A2652;
    --positive:#4ADE9A;
    --positive-bg:#0F2E1E;
    --strike:#8A93A2;
    --shadow: 0 1px 2px rgba(0,0,0,0.25), 0 4px 12px rgba(0,0,0,0.30);
  }
}

/* ---- Fonts (self-hosted woff2 in fonts/, zero external requests) ---- */
@font-face{font-family:"Archivo";font-style:normal;font-weight:600;font-display:swap;src:url(fonts/archivo-600.woff2) format("woff2")}
@font-face{font-family:"Archivo";font-style:normal;font-weight:700;font-display:swap;src:url(fonts/archivo-700.woff2) format("woff2")}
@font-face{font-family:"Archivo";font-style:normal;font-weight:800;font-display:swap;src:url(fonts/archivo-800.woff2) format("woff2")}
@font-face{font-family:"IBM Plex Mono";font-style:normal;font-weight:400;font-display:swap;src:url(fonts/ibm-plex-mono-400.woff2) format("woff2")}
@font-face{font-family:"IBM Plex Mono";font-style:normal;font-weight:500;font-display:swap;src:url(fonts/ibm-plex-mono-500.woff2) format("woff2")}

/* ---- Reset / Base ---- */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--ground);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
}

a {
  color: var(--accent-ink);
  text-decoration: underline;
  text-underline-offset: 2px;
}

a:hover {
  text-decoration-thickness: 2px;
}

img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ---- Typography ---- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  margin: 0 0 0.5em;
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 700;
}

h1 {
  font-size: clamp(2.2rem, 1.4rem + 3.6vw, 4rem);
  line-height: 1.05;
}

h2 {
  font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.1rem);
}

h3 {
  font-size: 1.125rem;
}

p {
  margin: 0 0 1em;
}

.kicker {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

/* ---- Signature Motif: swipe ---- */
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  text-decoration: none;
  color: var(--ink);
}

.wordmark:hover {
  text-decoration: none;
}

.wordmark .sw {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 2px 10px;
  border-radius: 6px;
  transform: skewX(-8deg);
}

.wordmark .sw span {
  display: inline-block;
  transform: skewX(8deg);
}

.swipe {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 4px 14px;
  border-radius: 8px;
  transform: skewX(-8deg);
  font-family: var(--font-display);
  font-weight: 800;
}

.swipe span {
  display: inline-block;
  transform: skewX(8deg);
}

.mark {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--ink);
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  flex-shrink: 0;
}

/* ---- Layout ---- */
.wrap {
  width: min(var(--max-width), calc(100% - 32px));
  margin: 0 auto;
}

.section {
  padding: clamp(56px, 8vw, 112px) 0;
}

.section-alt {
  background: var(--surface);
}

.section-cream {
  background: var(--surface-alt);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}

.section-head {
  max-width: 640px;
  margin-bottom: 40px;
}

.section-head h2 {
  margin-bottom: 0.35em;
}

.section-sub {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.55;
}

/* ---- Reveal (scroll) ---- */
.has-js .reveal {
  opacity: 0;
  transform: translateY(var(--reveal-y, 22px));
  transition: opacity var(--reveal-dur, .7s) var(--ease-out), transform var(--reveal-dur, .7s) var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.has-js .reveal.in {
  opacity: 1;
  transform: none;
  will-change: auto;
}

@media (prefers-reduced-motion: reduce) {
  .has-js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---- Header ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(243, 241, 251, 0.72);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transform: translateZ(0);
  transition: background .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}

.site-header.scrolled {
  background: rgba(243, 241, 251, 0.9);
  border-bottom-color: var(--hairline);
  box-shadow: 0 1px 0 rgba(34,28,84,0.03), 0 8px 26px rgba(34,28,84,0.07);
}

@media (prefers-color-scheme: dark) {
  .site-header {
    background: rgba(15, 16, 32, 0.72);
  }
  .site-header.scrolled {
    background: rgba(15, 16, 32, 0.9);
  }
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 64px;
}

.site-nav {
  display: none;
  align-items: center;
  gap: 22px;
  font-size: 0.9rem;
}

.site-nav a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 500;
}

.site-nav a:hover {
  color: var(--ink);
  text-decoration: underline;
}

@media (min-width: 760px) {
  .site-nav {
    display: flex;
  }
}

.nav-cta {
  display: none;
}

@media (min-width: 760px) {
  .nav-cta {
    display: inline-flex;
  }
}

.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--ink);
  color: var(--ground);
  padding: 8px 16px;
  z-index: 200;
  text-decoration: none;
  border-radius: 0 0 var(--radius-sm) 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
}

.skip-link:focus {
  top: 0;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background 180ms var(--ease), border-color 180ms var(--ease), color 180ms var(--ease), transform 180ms var(--ease), box-shadow 180ms var(--ease);
  min-height: 44px;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

@media (hover: hover) {
  .btn:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-lift);
  }
}

.btn:active {
  transform: translateY(0) scale(0.985);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.btn-primary:hover {
  background: var(--accent-deep);
  border-color: var(--accent-deep);
  text-decoration: none;
}

.btn-secondary,
.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--hairline);
}

.btn-secondary:hover,
.btn-outline:hover {
  background: var(--chip);
  border-color: var(--accent);
  text-decoration: none;
}

.btn-quiet,
.btn-ghost {
  background: transparent;
  color: var(--muted);
  border-color: transparent;
}

.btn-quiet:hover,
.btn-ghost:hover {
  color: var(--ink);
  background: var(--chip);
  text-decoration: none;
}

.btn-sm {
  padding: 8px 14px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 14px 26px;
  font-size: 1rem;
}

.btn-block {
  width: 100%;
}

/* ---- Hero ---- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(64px, 10vw, 120px) 0 clamp(48px, 6vw, 80px);
  border-bottom: 1px solid var(--hairline);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(58% 80% at 82% -12%, color-mix(in oklab, var(--accent) 18%, transparent), transparent 70%),
    linear-gradient(180deg, var(--surface-alt), var(--ground));
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(to right, color-mix(in oklab, var(--ink) 5%, transparent) 1px, transparent 1px),
    linear-gradient(to bottom, color-mix(in oklab, var(--ink) 5%, transparent) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(120% 92% at 72% 0%, #000 0%, transparent 64%);
  mask-image: radial-gradient(120% 92% at 72% 0%, #000 0%, transparent 64%);
  opacity: .55;
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

@media (min-width: 860px) {
  .hero-inner {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.hero h1 {
  margin-bottom: 0.35em;
  font-family: var(--font-display);
  font-weight: 800;
}

.hero-lead {
  font-size: clamp(1.05rem, 0.98rem + 0.5vw, 1.25rem);
  line-height: 1.55;
  color: var(--muted);
  max-width: 560px;
  margin-bottom: 1.75em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 1.75em;
}

.report-preview {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}

.report-preview .kicker {
  margin-bottom: 16px;
}

.report-preview .funder-card {
  box-shadow: none;
  border: 1px solid var(--hairline);
}

/* ---- Trust bar ---- */
.trust-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
  align-items: center;
}

.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
}

.trust-item svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--positive);
}

/* ---- Steps / How it works ---- */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

@media (min-width: 720px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

.step {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

.step-num {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 14px;
  display: block;
}

.step-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 16px;
  color: var(--accent);
}

.step h3 {
  margin-bottom: 0.45em;
}

.step p {
  font-size: 0.95rem;
  color: var(--muted);
  margin: 0;
}

/* ---- Story grid / Why different ---- */
.story-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 32px;
}

@media (min-width: 720px) {
  .story-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.story-cell {
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--hairline);
  background: var(--surface);
}

.story-cell h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0.5em;
}

.story-cell p {
  font-size: 0.95rem;
  color: var(--muted);
  margin: 0;
}

/* ---- Email demo ---- */
.email-demo {
  max-width: 720px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  box-shadow: var(--shadow), 0 18px 40px rgba(34,28,84,0.08);
  overflow: hidden;
}

.email-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 24px;
  background: var(--ground);
  border-bottom: 1px solid var(--hairline);
}

.email-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.email-from {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink);
}

.email-subject {
  font-size: 0.85rem;
  color: var(--muted);
}

.email-body {
  padding: 28px 24px;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--ink);
}

.email-body p {
  margin-bottom: 1em;
}

.email-body p:last-child {
  margin-bottom: 0;
}

.email-preview-note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 18px;
}

/* ---- Pricing / Tiers ---- */
.tiers {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: start;
}

@media (min-width: 720px) {
  .tiers {
    grid-template-columns: repeat(3, 1fr);
  }
}

.tier {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.tier-rec {
  border: 2px solid var(--accent);
  transform: translateY(-8px);
  position: relative;
}

.tier-flag {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 12px;
  border-radius: 999px;
  font-family: var(--font-display);
}

.tier-head {
  margin-bottom: 4px;
}

.tier-name {
  font-size: 1.1rem;
  margin-bottom: 0.25em;
}

.tier-blurb {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 1em;
}

.tier-price {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 2.6rem;
  font-weight: 500;
  margin-bottom: 0.15em;
  line-height: 1;
  color: var(--ink);
}

.tier-price span {
  font-size: 1.2rem;
  vertical-align: super;
  font-weight: 400;
}

.tier-unit {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 1.5em;
}

.tier-feats {
  list-style: none;
  margin: 0 0 1.5em;
  padding: 0;
  flex: 1;
}

.tier-feats li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  margin-bottom: 0.7em;
}

.tier-feats li::before {
  content: "";
  display: block;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%230F7A52' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 8.5l4 4 8-8'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

.tier-helper {
  background: var(--surface-alt);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-sm);
  padding: 18px 24px;
  margin-top: 24px;
  text-align: center;
  font-size: 0.9rem;
  color: var(--muted);
}

.tier-guarantee {
  margin-top: 16px;
}

/* ---- Flat offer (single price) ---- */
.offer {
  display: grid;
  grid-template-columns: 1fr;
  max-width: 760px;
  margin: 0 auto;
  background: var(--surface);
  border: 2px solid var(--accent);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-pop);
  overflow: hidden;
}
@media (min-width: 720px) {
  .offer { grid-template-columns: 1fr 1fr; }
}
.offer-main {
  padding: clamp(28px, 4vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-bottom: 1px solid var(--hairline);
}
@media (min-width: 720px) {
  .offer-main {
    border-bottom: none;
    border-right: 1px solid var(--hairline);
  }
}
.offer-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-ink);
  margin: 0;
}
.offer-price {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: clamp(3rem, 2rem + 4vw, 4.2rem);
  font-weight: 500;
  line-height: 1;
  color: var(--ink);
  margin: 0;
}
.offer-price span {
  font-size: 0.38em;
  vertical-align: super;
  font-weight: 400;
  margin-right: 2px;
}
.offer-unit {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0 0 10px;
}
.offer-main .btn { margin-top: auto; }
.offer-fine {
  font-size: 0.78rem;
  color: var(--muted-2);
  margin: 6px 0 0;
  text-align: center;
}
.offer-feats {
  list-style: none;
  margin: 0;
  padding: clamp(28px, 4vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--surface-alt);
}
.offer-feats li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--ink);
}
.offer-feats li::before {
  content: "";
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 1px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%230F7A52' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 8.5l4 4 8-8'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

/* ---- Guarantee ---- */
.guarantee {
  background: var(--positive-bg);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  margin-top: 32px;
}

.guarantee-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  color: var(--positive);
}

.guarantee-text h3 {
  margin-bottom: 0.25em;
  color: var(--ink);
}

.guarantee-text p {
  color: var(--muted);
  margin: 0;
}

/* ---- Trust grid ---- */
.trust-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 32px;
}

@media (min-width: 720px) {
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.trust-cell {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}

.trust-cell-icon {
  width: 32px;
  height: 32px;
  margin-bottom: 12px;
  color: var(--accent);
}

.trust-cell h3 {
  margin-bottom: 0.35em;
}

.trust-cell p {
  font-size: 0.95rem;
  color: var(--muted);
  margin: 0;
}

.trust-note {
  font-size: 0.85rem;
  color: var(--muted-2);
  margin-top: 8px;
}

/* ---- FAQ ---- */
.faq-list {
  max-width: 760px;
}

.faq-item {
  border-bottom: 1px solid var(--hairline);
}

.faq-summary {
  width: 100%;
  background: transparent;
  border: none;
  padding: 20px 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  text-align: left;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq-summary:hover {
  color: var(--accent-deep);
}

.faq-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  transition: transform 200ms ease;
  color: var(--muted);
}

.faq-item[open] .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 0 20px;
  color: var(--muted);
  font-size: 0.95rem;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

/* ---- Final CTA ---- */
.final,
.final-cta {
  background: var(--ink);
  color: var(--ground);
  padding: clamp(64px, 8vw, 100px) 0;
  text-align: left;
}

.final-cta h2,
.final h2 {
  color: #fff;
  margin-bottom: 0.35em;
}

.final-cta p,
.final p {
  color: rgba(232,228,248,0.78);
  max-width: 520px;
  margin: 0 0 1.5em;
}

.final-cta .btn-primary,
.final .btn-primary {
  font-size: 1.05rem;
  padding: 16px 32px;
  background: var(--accent);
  border-color: var(--accent);
}

.final-cta .btn-primary:hover,
.final .btn-primary:hover {
  background: var(--accent-deep);
  border-color: var(--accent-deep);
}

.final-fine {
  font-size: 0.8rem;
  margin-top: 1.25em;
  opacity: 0.7;
  color: var(--muted-2);
}

/* ---- Footer ---- */
.site-footer {
  border-top: 1px solid var(--hairline);
  padding: 48px 0;
  background: var(--surface);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 720px) {
  .footer-inner {
    grid-template-columns: 1.3fr 1fr 1.3fr;
  }
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.footer-tag {
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: 10px;
  max-width: 280px;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav a {
  font-size: 0.9rem;
  color: var(--muted);
  text-decoration: none;
}

.footer-nav a:hover {
  color: var(--ink);
  text-decoration: underline;
}

.footer-meta {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.7;
}

.footer-meta address {
  font-style: normal;
  margin-bottom: 8px;
}

.footer-source {
  font-size: 0.8rem;
  color: var(--muted-2);
  margin-top: 12px;
}

/* ---- Secondary pages ---- */
.page-main {
  padding: clamp(48px, 6vw, 80px) 0;
}

.page-narrow {
  max-width: 720px;
}

.page-narrow h1 {
  font-size: clamp(1.8rem, 1.2rem + 2.4vw, 2.8rem);
  margin-bottom: 0.35em;
}

.page-lead {
  font-size: 1.1rem;
  color: var(--muted);
  margin-bottom: 2em;
}

.page-block {
  margin-bottom: 40px;
}

.page-block h2 {
  margin-bottom: 0.6em;
}

.page-card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 16px;
  box-shadow: var(--shadow);
}

.page-card h3 {
  margin-bottom: 0.4em;
}

.page-card p:last-child {
  margin-bottom: 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 600px) {
  .contact-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.contact-grid .page-card {
  margin-bottom: 0;
}

.contact-grid a {
  color: var(--accent-ink);
  font-weight: 700;
}

/* ---- Badges / Data / Chips ---- */
.badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--chip);
  color: var(--accent-ink);
  font-family: var(--font-display);
}

.badge-sample {
  background: var(--chip);
  color: var(--accent-ink);
}

.chip {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--chip);
  color: var(--accent-ink);
}

.provenance,
.brief-cite {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 0.75rem;
  color: var(--muted);
  margin: 0;
  padding-top: 12px;
  border-top: 1px solid var(--hairline);
}

.data {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 0.9rem;
  color: var(--ink);
}

.excluded {
  color: var(--strike);
  text-decoration: line-through;
  text-decoration-thickness: 2px;
  text-decoration-color: var(--strike);
}

.excluded-label {
  font-size: 0.75rem;
  color: var(--muted-2);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

/* ---- Sample Brief page ---- */
.brief-hero {
  padding: clamp(48px, 7vw, 88px) 0 clamp(32px, 5vw, 56px);
  border-bottom: 1px solid var(--hairline);
  background: var(--surface);
}

.brief-hero-inner {
  display: grid;
  gap: 24px;
}

@media (min-width: 720px) {
  .brief-hero-inner {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: end;
  }
}

.brief-org {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
}

.brief-org-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  background: var(--ink);
  color: var(--accent);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.brief-org-name {
  font-size: clamp(1.4rem, 1rem + 1.6vw, 2rem);
  margin-bottom: 0.15em;
  font-family: var(--font-display);
  font-weight: 800;
}

.brief-org-meta {
  color: var(--muted);
  font-size: 0.95rem;
}

.brief-preview-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-ink);
  background: var(--chip);
  padding: 8px 14px;
  border-radius: 999px;
  margin-top: 8px;
}

.brief-preview-tag svg {
  width: 16px;
  height: 16px;
  color: var(--accent);
}

.brief-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
}

.brief-sort {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.brief-sort-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--muted);
}

.sort-btn {
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--hairline);
  background: var(--surface);
  color: var(--muted);
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
  font-family: var(--font-body);
}

.sort-btn:hover {
  border-color: var(--accent);
  color: var(--ink);
}

.sort-btn.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.brief-count {
  font-size: 0.9rem;
  color: var(--muted);
}

.brief-count strong {
  color: var(--ink);
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

.funder-list {
  display: grid;
  gap: 18px;
  margin-bottom: 40px;
}

.funder-card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.funder-card.locked {
  opacity: 0.6;
}

.funder-summary {
  width: 100%;
  background: transparent;
  border: none;
  padding: 22px 24px;
  text-align: left;
  cursor: pointer;
  display: grid;
  gap: 16px;
  list-style: none;
}

.funder-summary::-webkit-details-marker {
  display: none;
}

@media (min-width: 720px) {
  .funder-summary {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
}

.funder-main {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.funder-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0;
}

.funder-location {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

.funder-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.funder-tag {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--chip);
  color: var(--accent-ink);
}

.funder-tag.fit-strong {
  background: var(--accent);
  color: #fff;
}

.funder-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.funder-metric {
  text-align: left;
}

.funder-metric b {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  font-weight: 700;
  margin-bottom: 2px;
}

.funder-metric span {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 0.95rem;
  color: var(--ink);
}

.funder-chevron {
  width: 20px;
  height: 20px;
  color: var(--muted);
  transition: transform 200ms ease;
  justify-self: end;
}

.funder-card[open] .funder-chevron {
  transform: rotate(180deg);
}

.funder-details {
  padding: 0 24px 24px;
  border-top: 1px solid var(--hairline);
}

.funder-details-inner {
  padding-top: 20px;
}

.funder-section {
  margin-bottom: 20px;
}

.funder-section:last-child {
  margin-bottom: 0;
}

.funder-section h4 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 8px;
  font-family: var(--font-display);
  font-weight: 700;
}

.funder-rationale {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--ink);
  margin: 0;
}

.peer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.peer-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: var(--ground);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
}

.peer-name {
  font-weight: 600;
  color: var(--ink);
}

.peer-grant {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 0.85rem;
  color: var(--muted);
  white-space: nowrap;
}

.grant-years {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.grant-year {
  flex: 1;
  min-width: 120px;
  background: var(--ground);
  border-radius: var(--radius-sm);
  padding: 14px;
}

.grant-year b {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  margin-bottom: 4px;
  font-weight: 700;
}

.grant-year span {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 1rem;
  color: var(--ink);
}

.funder-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 20px;
}

.funder-actions .btn {
  font-size: 0.9rem;
  padding: 10px 18px;
}

.funder-actions .btn-secondary {
  border-color: var(--hairline);
}

.brief-upgrade {
  background: var(--surface-alt);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  margin-top: 24px;
}

.brief-upgrade h3 {
  font-size: 1.25rem;
  margin-bottom: 0.4em;
}

.brief-upgrade p {
  color: var(--muted);
  max-width: 520px;
  margin: 0 auto 1.25em;
}

.brief-upgrade .guarantee-icon {
  width: 40px;
  height: 40px;
  margin: 0 auto 14px;
  color: var(--positive);
}

.brief-locked-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 24px;
  background: var(--ground);
  border: 1px dashed var(--hairline);
  border-radius: var(--radius-sm);
  color: var(--muted);
  font-size: 0.9rem;
}

.brief-locked-row svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--muted-2);
}

.brief-locked-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
}

.brief-locked-row .locked-rank {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--muted-2);
  min-width: 2.4em;
}

.brief-locked-row .locked-desc {
  flex: 1 1 12rem;
  color: var(--ink);
  font-weight: 500;
}

.brief-locked-row .locked-score {
  flex-shrink: 0;
  font-size: 0.78rem;
}

.brief-locked-row .locked-range {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--muted);
  flex-shrink: 0;
}

.brief-locked-row .locked-pill {
  margin-left: auto;
  flex-shrink: 0;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--accent-ink);
  background: var(--chip);
  border: 1px solid var(--hairline);
  padding: 3px 10px;
  border-radius: 999px;
}

@media (max-width: 560px) {
  .brief-locked-row {
    flex-wrap: wrap;
    padding: 14px 16px;
    gap: 8px 10px;
  }
  .brief-locked-row .locked-range { display: none; }
  .brief-locked-row .locked-desc { flex-basis: 100%; }
}

/* ---- Premium interactions (hover-capable pointers only) ---- */
.step, .story-cell, .trust-cell, .tier, .page-card, .funder-card, .report-preview, .email-demo {
  transition: transform .38s var(--ease), box-shadow .38s var(--ease), border-color .38s var(--ease);
}

.tier-rec {
  box-shadow: var(--shadow-lift);
}

@media (hover: hover) {
  .step:hover, .story-cell:hover, .trust-cell:hover, .page-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lift);
    border-color: color-mix(in oklab, var(--accent) 32%, var(--hairline));
  }
  .tier:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lift);
  }
  .tier-rec:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-pop);
  }
  .report-preview:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-pop);
  }
  .funder-card:hover {
    border-color: color-mix(in oklab, var(--accent) 28%, var(--hairline));
    box-shadow: var(--shadow-lift);
  }
  .site-nav a {
    transition: color .18s var(--ease);
  }
}

/* nav active-section indicator */
.site-nav a {
  position: relative;
}
.site-nav a.nav-active {
  color: var(--ink);
}
.site-nav a.nav-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
}

/* FAQ open reveal */
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: none; }
}
.has-js .faq-item[open] .faq-answer {
  animation: fadeDown .35s var(--ease) both;
}
@media (prefers-reduced-motion: reduce) {
  .has-js .faq-item[open] .faq-answer { animation: none; }
}

/* ---- Mobile sticky CTA bar ---- */
.mobile-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  backdrop-filter: saturate(180%) blur(16px);
  border-top: 1px solid var(--hairline);
  box-shadow: 0 -6px 24px rgba(34, 28, 84, 0.08);
  transform: translateY(120%);
  transition: transform .42s var(--ease-out);
}

.mobile-cta.show {
  transform: translateY(0);
}

.mobile-cta-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  min-width: 0;
}

.mobile-cta-text b {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink);
}

.mobile-cta-text span {
  font-size: 0.75rem;
  color: var(--muted);
}

.mobile-cta .btn {
  margin-left: auto;
  white-space: nowrap;
  flex-shrink: 0;
}

@media (prefers-color-scheme: dark) {
  .mobile-cta {
    background: rgba(23, 24, 48, 0.86);
  }
}

@media (min-width: 760px) {
  .mobile-cta { display: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  .mobile-cta { transition: none; }
}

/* ---- Sample brief: personalize entry ---- */
.brief-entry {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--surface);
  border-bottom: 1px solid var(--hairline);
  padding: clamp(40px, 6vw, 76px) 0 clamp(28px, 4vw, 48px);
}
.brief-entry::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(62% 95% at 90% -25%, color-mix(in oklab, var(--accent) 14%, transparent), transparent 70%);
  pointer-events: none;
}
.entry-card {
  display: grid;
  gap: 28px;
  align-items: center;
}
@media (min-width: 880px) {
  .entry-card { grid-template-columns: 1fr 1fr; gap: 52px; }
}
.entry-copy h1 {
  font-size: clamp(1.7rem, 1.2rem + 2vw, 2.6rem);
  margin-bottom: 0.3em;
}
.entry-copy p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.55;
  max-width: 44ch;
  margin: 0;
}
.entry-form {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lift);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.field label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.field input {
  font-family: var(--font-body);
  font-size: 1rem; /* 16px keeps iOS from zooming on focus */
  color: var(--ink);
  background: var(--surface-alt);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  min-height: 46px;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.field input::placeholder { color: var(--muted-2); }
.field input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--accent) 22%, transparent);
}
.field-row { display: grid; gap: 16px; }
@media (min-width: 520px) { .field-row { grid-template-columns: 1fr 1fr; } }
.entry-fine {
  font-size: 0.78rem;
  color: var(--muted-2);
  margin: 0;
  text-align: center;
}
.entry-success {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--positive-bg);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lift);
  padding: 24px;
  animation: fadeDown .4s var(--ease) both;
}
.entry-success svg {
  width: 26px;
  height: 26px;
  color: var(--positive);
  flex-shrink: 0;
  margin-top: 2px;
}
.entry-success h3 { margin-bottom: 0.3em; color: var(--ink); }
.entry-success p { color: var(--muted); margin: 0; }
.brief-example-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.5em;
}
.brief-example-badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--accent);
}

/* ---- Focus states ---- */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---- Tweakable variants (set on <html> by tweaks.js) ---- */
html[data-header="solid"] .site-header {
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  background: var(--ground);
}
html[data-header="solid"] .site-header.scrolled {
  background: var(--ground);
}
html[data-density="compact"] .section {
  padding: clamp(40px, 5vw, 76px) 0;
}
html[data-density="compact"] .hero {
  padding: clamp(48px, 7vw, 88px) 0 clamp(36px, 4vw, 60px);
}
html[data-density="compact"] .section-head {
  margin-bottom: 28px;
}

/* ---- Print ---- */
@media print {
  .site-header, .final-cta, .final, .site-footer {
    display: none;
  }
  body {
    background: white;
    color: black;
  }
  details {
    display: block;
  }
  details summary {
    font-weight: bold;
  }
  .funder-card {
    break-inside: avoid;
  }
}


/* ---- #how : 'The real problem' narrative section ---- */
#how .how-stage {
  max-width: 720px;
  margin: 0 auto;
}
#how .how-crowd {
  margin-top: 8px;
}
#how .how-famous {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding: 18px 18px 16px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  background: var(--surface-alt);
}
#how .how-bigname {
  opacity: 0.55;
}
#how .how-pile {
  flex-basis: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  color: var(--muted-2);
  font-size: 0.86rem;
  font-style: italic;
}
#how .how-pile svg { color: var(--muted-2); flex: none; }

#how .how-meanwhile {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--accent-ink);
  margin: 22px 0 14px;
  letter-spacing: 0.01em;
}

#how .how-quiet {
  border-left: 3px solid var(--accent);
  padding: 4px 0 4px 20px;
  margin: 0 0 26px;
}
#how .how-quiet-lead {
  font-size: 1.12rem;
  line-height: 1.5;
  color: var(--ink);
  margin: 0 0 12px;
}
#how .how-pdf {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  line-height: 1.35;
}
#how .how-pdf svg { color: var(--accent); flex: none; }

#how .how-math {
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  padding: 20px 0;
  margin: 0 0 24px;
}
#how .how-math-line {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.55;
}
#how .how-math-line + .how-math-line { margin-top: 12px; }
#how .how-math-line strong {
  font-family: var(--font-mono);
  color: var(--accent-ink);
  font-weight: 700;
}
#how .how-math-aside {
  font-size: 0.94rem;
  color: var(--muted-2);
}

#how .how-turn {
  font-size: 1.12rem;
  line-height: 1.55;
  color: var(--ink);
  margin: 0 0 22px;
}

#how .how-stage > .btn-secondary {
  margin-bottom: 18px;
}

#how .footer-source { margin-top: 4px; }

@media (max-width: 560px) {
  #how .how-quiet-lead,
  #how .how-turn { font-size: 1.05rem; }
  #how .how-meanwhile { font-size: 1.08rem; }
}
