:root {
  --paper: #f7f3ea;
  --paper-deep: #eee8dc;
  --surface: #fffdf8;
  --ink: #171a22;
  --muted: #5d6270;
  --line: #d8d3c8;
  --cobalt: #2448d8;
  --cobalt-deep: #1736b4;
  --cobalt-soft: #e9edff;
  --success: #1e6848;
  --sans: "Instrument Sans", Arial, sans-serif;
  --mono: "IBM Plex Mono", Consolas, monospace;
  --page: min(1180px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 450 16px/1.55 var(--sans);
}
img { display: block; max-width: 100%; }
a { color: inherit; }
.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 20;
  translate: 0 -150%;
  background: var(--surface);
  border: 2px solid var(--ink);
  padding: 10px 14px;
}
.skip-link:focus { translate: 0; }
:focus-visible {
  outline: 3px solid #7188f4;
  outline-offset: 4px;
}

.site-header {
  width: var(--page);
  min-height: 76px;
  margin: 0 auto;
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 28px;
  border-bottom: 1px solid var(--ink);
}
.brand {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -.03em;
  text-decoration: none;
}
.brand img { border-radius: 9px; }
.site-header nav {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
}
.site-header nav a,
footer nav a {
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-weight: 600;
  text-decoration: none;
}
.site-header nav a:hover,
footer nav a:hover { color: var(--ink); text-decoration: underline; }

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border: 1px solid var(--cobalt-deep);
  border-radius: 8px;
  background: var(--cobalt);
  color: #fff;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  box-shadow: 3px 3px 0 var(--ink);
  transition: translate 120ms ease-out, box-shadow 120ms ease-out, background 120ms;
}
.button:hover {
  background: var(--cobalt-deep);
  translate: 1px 1px;
  box-shadow: 2px 2px 0 var(--ink);
}
.button-small { min-height: 44px; padding: 9px 15px; }
.text-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--cobalt-deep);
  font-weight: 700;
  text-underline-offset: 4px;
}

.hero {
  width: var(--page);
  margin: 54px auto 0;
  display: grid;
  grid-template-columns: minmax(300px, .9fr) minmax(460px, 1.1fr);
  gap: clamp(40px, 6vw, 82px);
  align-items: center;
}
.hero h1 {
  max-width: 14ch;
  margin: 12px 0 16px;
  font-size: clamp(48px, 5vw, 66px);
  line-height: .96;
}
.kicker,
.mechanism-label,
.brief-topline,
.step-marker {
  margin: 0;
  color: var(--cobalt-deep);
  font: 600 11px/1.3 var(--mono);
  letter-spacing: .1em;
  text-transform: uppercase;
}
h1, h2, h3, p { overflow-wrap: anywhere; }
h1 {
  max-width: 12ch;
  margin: 14px 0 20px;
  font-size: clamp(48px, 6vw, 78px);
  font-weight: 650;
  line-height: .98;
  letter-spacing: -.04em;
  text-wrap: balance;
}
h2 {
  margin: 10px 0 12px;
  font-size: clamp(32px, 4.5vw, 54px);
  font-weight: 650;
  line-height: 1.03;
  letter-spacing: -.035em;
  text-wrap: balance;
}
h3 { line-height: 1.2; letter-spacing: -.02em; }
.hero-lede {
  max-width: 58ch;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}
.hero-actions {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 22px;
}
.trust-line {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.mechanism {
  min-width: 0;
  max-width: 660px;
}
.source-pile { min-width: 0; }
.source-ticket {
  position: relative;
  margin-top: 10px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  font-size: 13px;
  font-weight: 600;
  animation: assemble 650ms cubic-bezier(.16, 1, .3, 1) both;
}
.source-ticket:nth-child(3) { animation-delay: 80ms; }
.source-ticket:nth-child(4) { animation-delay: 160ms; }
.source-ticket:nth-child(5) { animation-delay: 240ms; }
.source-ticket span {
  display: block;
  margin-bottom: 3px;
  color: var(--muted);
  font: 600 9px/1.2 var(--mono);
  letter-spacing: .08em;
  text-transform: uppercase;
}
@keyframes assemble {
  from { clip-path: inset(0 28% 0 0); filter: blur(4px); }
}
.mechanism-arrow {
  display: grid;
  gap: 7px;
  color: var(--cobalt-deep);
  font: 600 9px/1 var(--mono);
  text-align: center;
  text-transform: uppercase;
}
.mechanism-arrow::before,
.mechanism-arrow::after {
  content: "";
  width: 100%;
  border-top: 1px solid var(--cobalt);
}
.mechanism-arrow::after {
  justify-self: end;
  width: 10px;
  height: 10px;
  border: 0;
  border-top: 1px solid var(--cobalt);
  border-right: 1px solid var(--cobalt);
  rotate: 45deg;
  translate: -1px -12px;
}
.brief-sheet {
  min-width: 0;
  padding: clamp(22px, 3vw, 34px);
  border: 2px solid var(--ink);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: 6px 7px 0 var(--ink);
}
.brief-topline {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.brief-topline time { color: var(--muted); }
.brief-sheet > h2 { margin-top: 20px; font-size: 30px; }
.brief-deck { margin: 0 0 24px; color: var(--muted); }
.hero-brief {
  position: relative;
  overflow: hidden;
}
.hero-brief::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  background: var(--cobalt);
}
.hero-rundown {
  margin: 14px 0 8px;
  padding: 0;
  list-style: none;
}
.hero-rundown li {
  position: relative;
  padding: 13px 0 13px 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}
.hero-rundown li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--cobalt-deep);
  font-weight: 700;
}
.brief-item {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 12px;
  padding: 17px 0;
  border-top: 1px solid var(--line);
}
.brief-number {
  font: 600 12px/1.4 var(--mono);
  color: var(--cobalt-deep);
}
.brief-item h3 { margin: 0; font-size: 17px; }
.brief-item p { margin: 7px 0; color: var(--muted); font-size: 14px; }
.citation { color: var(--cobalt-deep); font: 600 10px/1.4 var(--mono); }
.review-link {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
  border-top: 1px solid var(--ink);
  color: var(--cobalt-deep);
  font-weight: 700;
  text-underline-offset: 4px;
}

.proof-strip {
  width: var(--page);
  margin: 48px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}
.proof-strip p {
  margin: 0;
  padding: 22px;
  color: var(--muted);
}
.proof-strip p + p { border-left: 1px solid var(--ink); }
.proof-strip strong { display: block; color: var(--ink); }

.section {
  width: var(--page);
  margin: 140px auto 0;
}
.section-heading { max-width: 760px; }
.section-heading > p:last-child,
.inbox-section > div > p:last-child,
.pricing p { max-width: 65ch; color: var(--muted); }
.steps {
  margin: 50px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  list-style: none;
  border-top: 2px solid var(--ink);
}
.steps li { padding: 26px 28px 8px 0; }
.steps li + li { padding-left: 28px; border-left: 1px solid var(--ink); }
.steps h3 { margin: 18px 0 8px; font-size: 23px; }
.steps p { color: var(--muted); }

.coverage-list {
  margin-top: 46px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--ink);
  border-radius: 14px;
  overflow: hidden;
  background: var(--surface);
}
.coverage-list > div {
  min-width: 0;
  min-height: 68px;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line);
}
.coverage-list > div:not(:nth-child(3n + 1)) { border-left: 1px solid var(--line); }
.coverage-list > div:nth-last-child(-n + 3) { border-bottom: 0; }
.coverage-list strong { font-size: 18px; }
.coverage-list p { margin: 7px 0 0; color: var(--muted); font-size: 14px; }
.type-dot {
  width: 10px;
  height: 10px;
  display: inline-block;
  margin-right: 9px;
  border-radius: 50%;
  background: var(--cobalt);
}
.newsletter, .local { background: var(--success); }
.youtube { background: #cf2f27; }
.reddit { background: #a64b12; }
.web { background: #6352b7; }

.inbox-section {
  padding: clamp(28px, 5vw, 58px);
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 48px;
  align-items: center;
  border: 2px solid var(--ink);
  border-radius: 14px;
  background: var(--cobalt-soft);
}
.address-card {
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--ink);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: 4px 5px 0 var(--ink);
}
.address-card span,
.address-card small {
  display: block;
  color: var(--muted);
  font-size: 12px;
}
.address-card strong {
  display: block;
  margin: 12px 0;
  color: var(--cobalt-deep);
  font: 600 clamp(15px, 2vw, 20px)/1.4 var(--mono);
  overflow-wrap: anywhere;
}

.topic-board {
  margin-top: 44px;
  border: 2px solid var(--ink);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: 5px 6px 0 var(--ink);
  overflow: hidden;
}
.topic-board-head,
.topic-board summary {
  min-height: 54px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 14px 18px;
}
.topic-board-head {
  background: var(--ink);
  color: #fff;
  font: 600 11px/1.3 var(--mono);
}
.topic-board details + details { border-top: 1px solid var(--line); }
.topic-board summary {
  cursor: pointer;
  font-weight: 700;
}
.topic-board summary small { color: var(--muted); font-weight: 500; }
.reviewed-row {
  margin: 0 18px;
  padding: 14px 0 14px 22px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid var(--line);
}
.reviewed-row strong { font-size: 14px; }
.reviewed-row span { color: var(--muted); font: 500 10px/1.4 var(--mono); }

.pricing {
  padding: clamp(28px, 5vw, 54px);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 36px;
  align-items: center;
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}
.testing-note {
  display: inline-block;
  margin-bottom: 0;
  padding: 8px 10px;
  background: var(--cobalt-soft);
  color: var(--cobalt-deep) !important;
  font-size: 13px;
}
.faq { max-width: 900px; }
.faq details { border-top: 1px solid var(--ink); }
.faq details:last-child { border-bottom: 1px solid var(--ink); }
.faq summary {
  min-height: 58px;
  padding: 16px 2px;
  cursor: pointer;
  font-size: 18px;
  font-weight: 700;
}
.faq details p { max-width: 65ch; margin: 0 0 18px; color: var(--muted); }

.policy-frame {
  width: 100%;
  min-height: 72vh;
  border: 1px solid var(--ink);
  border-radius: 12px;
  background: var(--surface);
}
.policy-fallback { color: var(--muted); }
.policy-fallback a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--cobalt-deep);
  font-weight: 700;
}

.closing {
  width: var(--page);
  margin: 140px auto 0;
  padding: clamp(34px, 7vw, 80px);
  text-align: center;
  border-radius: 14px;
  background: var(--ink);
  color: #fff;
}
.closing .kicker { color: #aab8ff; }
.closing h2 { max-width: 18ch; margin: 14px auto 30px; }

.site-footer {
  width: var(--page);
  margin: 48px auto 0;
  padding: 30px 0 34px;
  display: grid;
  grid-template-columns: minmax(180px, 1fr) auto minmax(210px, 1fr);
  align-items: end;
  gap: 20px 32px;
  border-top: 1px solid var(--ink);
  color: var(--muted);
  font-size: 13px;
}
.footer-brand { color: var(--ink); }
.footer-identity p { margin: 3px 0 0 44px; }
.site-footer nav {
  display: flex;
  gap: 6px 14px;
}
.footer-meta {
  margin: 0;
  justify-self: end;
  text-align: right;
}
.footer-meta a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--cobalt-deep);
  font-weight: 700;
}

.home-alumni {
  margin-top: 54px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 24px 48px;
}
.home-alumni > div { margin: 0; }
.alumni-logos {
  min-width: 0;
  display: grid !important;
  grid-template-columns: repeat(4, minmax(100px, 1fr));
  gap: 20px 34px !important;
  align-items: center;
}
.alumni-logos img {
  width: 100%;
  max-width: 190px;
  height: 42px;
  object-fit: contain;
  object-position: left center;
  filter: grayscale(1);
  opacity: .78;
}

@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; }
  h1 { max-width: 15ch; }
  .mechanism { max-width: 760px; }
  .proof-strip { grid-template-columns: 1fr; }
  .proof-strip p + p { border-left: 0; border-top: 1px solid var(--ink); }
}

@media (max-width: 720px) {
  :root { --page: min(100% - 28px, 620px); }
  .site-header { min-height: 68px; padding: 10px 0; gap: 12px; }
  .site-header .brand img { width: 36px; height: 36px; }
  .site-header .brand { font-size: 20px; }
  .primary-nav { display: none !important; }
  .site-header > .button { margin-left: auto; }
  .hero { margin-top: 46px; }
  .brief-sheet { box-shadow: 4px 5px 0 var(--ink); }
  .steps, .coverage-list { grid-template-columns: 1fr; }
  .steps li, .steps li + li { padding: 24px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .coverage-list > div,
  .coverage-list > div:not(:nth-child(3n + 1)),
  .coverage-list > div:nth-last-child(-n + 3) {
    border-left: 0;
    border-bottom: 1px solid var(--line);
  }
  .coverage-list > div:last-child { border-bottom: 0; }
  .inbox-section, .pricing { grid-template-columns: 1fr; }
  .pricing .button { width: 100%; }
  .topic-board-head, .topic-board summary, .reviewed-row { align-items: flex-start; flex-direction: column; gap: 5px; }
  .home-alumni { grid-template-columns: 1fr; }
  .alumni-logos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer {
    grid-template-columns: 1fr;
    align-items: start;
  }
  .footer-identity p { margin-left: 44px; }
  .site-footer nav { flex-wrap: wrap; }
  .footer-meta { justify-self: start; text-align: left; }
}

@media (max-width: 640px) {
  h1 { font-size: clamp(42px, 13vw, 58px); }
  .section { margin-top: 96px; }
  .site-header nav a { font-size: 13px; }
  .source-ticket, .brief-sheet, .address-card, .topic-board { min-width: 0; }
  .topic-board-head > *,
  .topic-board summary > *,
  .reviewed-row > * { max-width: 100%; }
}

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