:root {
  --bg: #ffffff;
  --fg: #111111;
  --muted: #555555;
  --border: #e5e5e5;
  --accent: #111111;
  --max-width: 720px;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b0b0b;
    --fg: #f2f2f2;
    --muted: #a3a3a3;
    --border: #262626;
    --accent: #f2f2f2;
  }
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
}

/* keep anchored headings clear of the sticky header (up to ~117px when nav wraps) */
html {
  scroll-padding-top: 7.75rem;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

a {
  color: inherit;
}

a:focus-visible,
.skip-link:focus {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--bg);
  color: var(--fg);
  padding: 0.75rem 1rem;
  z-index: 100;
  border: 1px solid var(--border);
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.site-header {
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: var(--bg);
  z-index: 10;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.brand {
  font-weight: 600;
  text-decoration: none;
  font-size: 1.05rem;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
}

nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.95rem;
  white-space: nowrap;
}

nav a:hover {
  color: var(--fg);
}

nav a[aria-current="page"] {
  color: var(--fg);
  text-decoration: underline;
  text-underline-offset: 0.3em;
}

/* On narrow screens (and at high zoom) a sticky header takes too much of the viewport. */
@media (max-width: 40rem) {
  html {
    scroll-padding-top: 1rem;
  }

  .site-header {
    position: static;
  }
}

.hero {
  padding: 5rem 0 3rem;
}

.hero h1 {
  margin: 0 0 0.5rem;
  font-size: 2.25rem;
  letter-spacing: -0.02em;
}

.tagline {
  color: var(--muted);
  margin: 0;
  font-size: 1.05rem;
}

section {
  padding: 3rem 0;
  border-top: 1px solid var(--border);
}

section h2 {
  font-size: 1.25rem;
  margin: 0 0 1rem;
}

section p {
  margin: 0 0 1rem;
  color: var(--fg);
}

section p:last-child {
  margin-bottom: 0;
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.contact-list li {
  display: flex;
  gap: 1rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border);
}

.contact-list li:last-child {
  border-bottom: none;
}

.contact-list span {
  color: var(--muted);
  min-width: 80px;
}

.contact-list a {
  text-decoration: none;
}

.contact-list a:hover {
  text-decoration: underline;
}

footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0;
  color: var(--muted);
  font-size: 0.85rem;
}

footer .legal {
  margin: 0 0 0.75rem;
}

#privacy h1 {
  margin: 0 0 0.5rem;
  font-size: 1.75rem;
  letter-spacing: -0.02em;
}

#privacy .tagline {
  margin-bottom: 2rem;
}

#privacy h2 {
  font-size: 1.1rem;
  margin: 2rem 0 0.75rem;
}

#privacy h2:first-of-type {
  margin-top: 0;
}

/* offer page */
.btn {
  display: inline-block;
  background: var(--fg);
  color: var(--bg);
  padding: 0.7rem 1.1rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid var(--fg);
}

.btn:hover {
  background: var(--bg);
  color: var(--fg);
}

.btn:focus-visible {
  outline: 2px solid var(--fg);
  outline-offset: 3px;
}

.btn-small {
  padding: 0.35rem 0.7rem;
  font-size: 0.85rem;
}

.offer-hero {
  padding-bottom: 3.5rem;
}

.offer-hero h1 {
  font-size: 2rem;
  line-height: 1.2;
  text-wrap: balance;
  max-width: 34ch;
}

.eyebrow {
  margin: 0 0 1rem;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.lede {
  font-size: 1.1rem;
  max-width: 60ch;
  margin: 0 0 1.75rem;
}

.cta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin: 0;
}

.cta-note {
  color: var(--muted);
  font-size: 0.9rem;
}

section h3 {
  font-size: 1rem;
  margin: 0 0 0.5rem;
}

.two-col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1.5rem 2.5rem;
}

.two-col ul {
  margin: 0;
  padding-left: 1.2rem;
}

.two-col li {
  margin-bottom: 0.4rem;
}

.steps {
  margin: 1.5rem 0 0;
  padding-left: 1.4rem;
}

.steps li {
  margin-bottom: 1.1rem;
  padding-left: 0.3rem;
}

.price-box {
  margin-bottom: 1.5rem;
}

.price {
  font-size: 1.15rem;
  margin: 0 0 0.35rem;
}

.amount {
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-right: 0.35rem;
}

.founder-rate {
  color: var(--muted);
  margin: 0;
}

.guarantee {
  border: 1px solid var(--fg);
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.25rem;
}

.guarantee h3 {
  margin-bottom: 0.75rem;
}

.guarantee .terms-title {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.guarantee ul {
  margin: 0;
  padding-left: 1.2rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.guarantee li {
  margin-bottom: 0.35rem;
}

.capacity {
  color: var(--muted);
  font-size: 0.95rem;
}

.faq {
  margin: 0;
}

.faq dt {
  font-weight: 600;
  margin-top: 1.25rem;
}

.faq dt:first-child {
  margin-top: 0;
}

.faq dd {
  margin: 0.35rem 0 0;
}

.book {
  padding-bottom: 4rem;
}

@media (max-width: 480px) {
  .offer-hero h1 {
    font-size: 1.6rem;
  }
}

.plain-list {
  margin: 0;
  padding-left: 1.2rem;
}

.plain-list li {
  margin-bottom: 0.6rem;
}

.contact-direct {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.guarantee-steps {
  margin: 0 0 1rem;
  padding-left: 1.3rem;
}

.guarantee-steps li {
  margin-bottom: 0.4rem;
}

.page-status {
  margin: 1.5rem 0 0;
  font-size: 0.8rem;
  color: var(--muted);
}

/* contact page */
.contact-hero {
  padding: 4.5rem 0 2.5rem;
}

.contact-hero h1 {
  margin: 0 0 0.75rem;
  font-size: 2.4rem;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.contact-hero .lede {
  color: var(--muted);
  max-width: 52ch;
  margin: 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
  gap: 3rem;
}

.section-label {
  margin: 0 0 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.routes {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--fg);
}

.routes li {
  border-bottom: 1px solid var(--border);
}

.routes li:last-child {
  border-bottom-color: var(--fg);
}

.lede-direct {
  margin: 0.75rem 0 0;
  font-size: 0.95rem;
}

.routes > li > a {
  display: grid;
  gap: 0.2rem;
  padding: 1.25rem 0;
  text-decoration: none;
}

.route-name {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.route-desc {
  color: var(--muted);
  font-size: 0.95rem;
}

.route-action {
  margin-top: 0.4rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.routes > li > a:hover .route-action,
.routes > li > a:focus-visible .route-action {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-aside .section-label + .details,
.contact-aside .section-label + address {
  border-top: 1px solid var(--fg);
  padding-top: 1rem;
}

.details {
  margin: 0 0 2.25rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.55rem 1rem;
  font-size: 0.95rem;
}

.details dt {
  color: var(--muted);
}

.details dd {
  margin: 0;
  overflow-wrap: anywhere;
}

.details a {
  text-decoration: none;
}

.details a:hover {
  text-decoration: underline;
}

address {
  font-style: normal;
  font-size: 0.95rem;
  line-height: 1.7;
}

.contact-note {
  margin-top: 1.5rem;
  color: var(--muted);
  font-size: 0.85rem;
}

@media (max-width: 720px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .contact-hero h1 {
    font-size: 2rem;
  }
}

.contact-more {
  margin-top: 1.25rem;
  font-weight: 600;
}

.contact-more a {
  text-decoration: none;
}

.contact-more a:hover {
  text-decoration: underline;
}

.routes.static li > div {
  display: grid;
  gap: 0.2rem;
  padding: 1.25rem 0;
}

.section-label.spaced {
  margin-top: 2.5rem;
}

.status {
  display: inline-block;
  margin-left: 0.5rem;
  padding: 0.1rem 0.5rem;
  border: 1px solid var(--border);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  vertical-align: middle;
}

.why {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  max-width: 48ch;
}

.why-sig {
  margin: 0 0 2.5rem;
  color: var(--muted);
  font-size: 0.9rem;
}

/* about page */
.prose {
  margin: 0 0 1rem;
  max-width: 60ch;
}

.prose:last-of-type {
  margin-bottom: 0;
}

.portrait {
  width: 100%;
  max-width: 16rem;
  margin: 0 0 2rem;
}

.portrait img {
  display: block;
  width: 100%;
  height: auto;
}

.slot {
  color: var(--muted);
  border-bottom: 1px dashed var(--muted);
}

/* home page */
.home-hero {
  padding: 4.5rem 0 3rem;
}

.home-hero h1 {
  margin: 0 0 0.75rem;
  font-size: 2rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
  text-wrap: balance;
  max-width: 26ch;
}

.home-hero .lede {
  color: var(--muted);
  max-width: 52ch;
  margin: 0 0 1.5rem;
}

.subscribe {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  max-width: 28rem;
  margin: 0 0 0.75rem;
}

.subscribe input[type="email"] {
  flex: 1 1 14rem;
  min-width: 0;
  padding: 0.7rem 0.9rem;
  font: inherit;
  font-size: 1rem;
  color: var(--fg);
  background: var(--bg);
  border: 1px solid var(--fg);
  border-radius: 0;
}

.subscribe input[type="email"]:focus-visible {
  outline: 2px solid var(--fg);
  outline-offset: 2px;
}

.subscribe .btn {
  flex: 0 0 auto;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

#latest, #companies, #about {
  padding: 2.5rem 0;
}

.feed .route-name {
  font-size: 1rem;
}

@media (max-width: 480px) {
  .home-hero h1 {
    font-size: 1.6rem;
  }
}

.route-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.25rem;
  margin-top: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.route-links a {
  text-decoration: none;
}

.route-links a:hover,
.route-links a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.route-links-secondary {
  font-weight: 400;
  color: var(--muted);
}

/* waitlist */
.waitlist-form {
  max-width: 32rem;
}

.check {
  flex: 1 1 100%;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-top: 0.5rem;
  font-size: 0.95rem;
  color: var(--muted);
}

.check input {
  margin-top: 0.3rem;
  accent-color: var(--fg);
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* scorecard */
.scorecard-body {
  padding-top: 1rem;
}

.progress {
  margin-bottom: 1.5rem;
}

.progress-text {
  margin: 0 0 0.5rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.progress-bar {
  height: 0.3rem;
  background: var(--border);
}

.progress-fill {
  height: 100%;
  width: 0;
  background: var(--fg);
  transition: width 0.2s ease;
}

.step-title {
  font-size: 1.4rem;
  margin: 0 0 0.5rem;
}

.step-title:focus {
  outline: none;
}

.hint {
  margin: 0 0 0.75rem;
  color: var(--muted);
  font-size: 0.9rem;
  max-width: 60ch;
}

.field,
.q {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 0;
  padding: 1.1rem 0 1.2rem;
}

.field > label,
.q legend {
  display: block;
  font-weight: 600;
  padding: 0;
  margin-bottom: 0.4rem;
  max-width: 60ch;
}

.optional {
  font-weight: 400;
  color: var(--muted);
}

.input-row {
  display: flex;
  align-items: stretch;
  max-width: 16rem;
}

.affix {
  display: flex;
  align-items: center;
  padding: 0 0.7rem;
  border: 1px solid var(--fg);
  background: var(--border);
}

.affix:first-child {
  border-right: 0;
}

.input-row input {
  flex: 1;
  min-width: 0;
  padding: 0.6rem 0.8rem;
  font: inherit;
  color: var(--fg);
  background: var(--bg);
  border: 1px solid var(--fg);
  border-radius: 0;
}

.input-row input:focus-visible {
  outline: 2px solid var(--fg);
  outline-offset: 2px;
}

.q label {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.3rem 0;
  cursor: pointer;
}

.q input {
  margin-top: 0.35rem;
  accent-color: var(--fg);
}

.q.unanswered {
  border-top: 2px solid var(--fg);
}

.error {
  margin: 0.4rem 0 0;
  font-size: 0.9rem;
  font-weight: 600;
}

.field.unanswered .input-row input {
  border-width: 2px;
}

.step-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.step-nav .btn:only-child {
  margin-left: auto;
}

.btn-link {
  background: none;
  border: 0;
  padding: 0.5rem 0;
  font: inherit;
  color: var(--fg);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.report:focus {
  outline: none;
}

.report-headline {
  font-size: 1.9rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
  max-width: 24ch;
  text-wrap: balance;
}

.kpis {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
  gap: 1px;
  margin: 0;
  background: var(--border);
  border: 1px solid var(--border);
}

.kpi {
  background: var(--bg);
  padding: 1rem;
}

.kpi dt {
  font-size: 0.8rem;
  color: var(--muted);
}

.kpi dd {
  margin: 0.25rem 0 0;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.value {
  display: grid;
  gap: 0.6rem;
}

.vrow {
  display: grid;
  grid-template-columns: 9rem 1fr auto;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
}

.vbar {
  height: 1rem;
  background: var(--border);
}

.vfill {
  height: 100%;
  background: var(--muted);
}

.vrow-up .vfill {
  background: var(--fg);
}

.vnum {
  font-weight: 600;
  white-space: nowrap;
}

.levers {
  list-style: none;
  margin: 0;
  padding: 0;
}

.lever {
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--border);
}

.lever-top {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.25rem 1rem;
  margin-bottom: 0.4rem;
}

.lever-name {
  font-weight: 600;
}

.lever-score {
  color: var(--muted);
  font-size: 0.9rem;
}

.bar {
  height: 0.5rem;
  background: var(--border);
}

.bar-fill {
  height: 100%;
  background: var(--fg);
}

.lever-weak .bar-fill {
  background: var(--muted);
}

.priorities {
  margin: 0;
  padding-left: 1.3rem;
}

.priorities li {
  margin-bottom: 1.5rem;
}

.priorities h4 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
}

.priorities p {
  margin: 0 0 0.5rem;
  max-width: 62ch;
}

.money {
  padding-left: 0.75rem;
  border-left: 3px solid var(--fg);
}

.assumptions {
  margin: 0;
  padding-left: 1.2rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.assumptions li {
  margin-bottom: 0.3rem;
}

.report-actions {
  margin-top: 2rem;
}

.report-cta {
  margin-top: 2rem;
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--fg);
}

.report-cta h3 {
  margin: 0 0 0.5rem;
}

.profile {
  display: grid;
  grid-template-columns: minmax(0, 18rem) 1fr;
  gap: 1.5rem;
  align-items: start;
}

.matrix-wrap {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: 1fr auto;
  gap: 0.4rem;
}

.axis {
  font-size: 0.75rem;
  color: var(--muted);
}

.axis-y {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  text-align: left;
}

.axis-x {
  grid-column: 2;
}

.matrix {
  position: relative;
  display: grid;
  /* profiles switch at a score of 6 (scorecard.js), so the cells split at 60% */
  grid-template-columns: 6fr 4fr;
  grid-template-rows: 4fr 6fr;
  aspect-ratio: 1;
  border: 1px solid var(--fg);
}

.cell {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.4rem;
  font-size: 0.7rem;
  line-height: 1.3;
  text-align: center;
  color: var(--muted);
  border: 1px solid var(--border);
}

.cell-on {
  color: var(--fg);
  font-weight: 600;
  background: var(--border);
}

.dot {
  position: absolute;
  width: 0.9rem;
  height: 0.9rem;
  margin: 0 0 -0.45rem -0.45rem;
  border-radius: 50%;
  background: var(--fg);
  border: 2px solid var(--bg);
}

.profile-text h4 {
  margin: 0 0 0.4rem;
  font-size: 1.2rem;
}

.profile-text p {
  margin: 0 0 0.5rem;
}

@media (max-width: 480px) {
  .profile {
    grid-template-columns: 1fr;
  }

  .vrow {
    grid-template-columns: 1fr auto;
  }

  .vbar {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .report-headline {
    font-size: 1.5rem;
  }
}

.consent {
  margin: 1.25rem 0 0;
  max-width: 60ch;
}

.letter {
  margin: 0.75rem 0 0;
  border: 1px solid var(--border);
  padding: 0.75rem 1rem;
}

.letter summary {
  cursor: pointer;
  font-weight: 600;
}

.letter-text {
  white-space: pre-wrap;
  font-family: inherit;
  font-size: 0.9rem;
  background: var(--border);
  padding: 0.75rem;
  margin: 0.5rem 0;
}

@media print {
  .site-header,
  .skip-link,
  .scorecard-page .contact-hero,
  .report-actions,
  .report-cta {
    display: none;
  }

  .report {
    margin: 0;
    padding: 0;
    border: 0;
  }

  .bar, .vbar, .bar-fill, .vfill {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
}

/* offer facts */
.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
  gap: 1px;
  margin: 0 0 1.75rem;
  background: var(--border);
  border: 1px solid var(--border);
}

.facts > div {
  background: var(--bg);
  padding: 0.85rem 1rem;
}

.facts dt {
  font-size: 0.8rem;
  color: var(--muted);
}

.facts dd {
  margin: 0.2rem 0 0;
  font-weight: 700;
}

/* evidence */
.table-wrap {
  overflow-x: auto;
  margin: 0 0 0.75rem;
}

.table-wrap:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

.ledger {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.ledger th,
.ledger td {
  text-align: left;
  padding: 0.6rem 0.75rem 0.6rem 0;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.ledger th {
  font-weight: 600;
  border-bottom-color: var(--fg);
}

.example .details dd strong {
  font-weight: 700;
}

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