/* GTM Propulsion — site styles (brand tokens from the GTM Propulsion brand kit) */
@font-face {
  font-family: "Geist";
  src: url("../fonts/Geist-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --night: #0b0d12;
  --night-raised: #161922;
  --night-line: #2a2e39;
  --bone: #f4f3ef;
  --stone: #dcdad3;
  --white: #ffffff;
  --ignition: #ff5b1f;
  --ink: #0b0d12;
  --ink-muted: #565b66;
  --ink-stone: #3b3f47;
  --on-dark: #f4f3ef;
  --on-dark-soft: #c9ccd3;
  --on-dark-muted: #9ca1ad;
  --line: #d2d0c8;
  --link: #c2410c;
  --link-hover: #9a3412;
  --link-dark: #ff7a45;
  --field: #7a7f8a;
  --field-dark: #6b7080;
  --font: "Geist", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius-sm: 6px;
  --radius-md: 12px;
  --max: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bone);
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--link); }
a:hover { color: var(--link-hover); }
h1, h2, h3, p, figure, blockquote, ol, ul { margin: 0; }
button, input, textarea { font: inherit; }
:focus-visible { outline: 3px solid var(--ignition); outline-offset: 3px; }
[hidden] { display: none !important; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -48px; z-index: 20;
  padding: 10px 16px; background: var(--ignition); color: var(--ink);
  border-radius: var(--radius-sm); font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; color: var(--ink); }

.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* Bands */
.band { padding: 96px 0; }
.band--night { background: var(--night); color: var(--on-dark); }
.band--bone { background: var(--bone); }
.band--stone { background: var(--stone); }
.band--rule-light { border-top: 1px solid var(--line); }
.band--rule-dark { border-top: 1px solid var(--night-line); }
@media (max-width: 640px) { .band { padding: 64px 0; } }

/* Type */
.eyebrow {
  font-size: 13px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-muted);
}
.band--night .eyebrow { color: var(--on-dark-muted); }
.band--stone .eyebrow { color: #4a4f59; }
.display {
  font-size: clamp(2.5rem, 5vw, 4.25rem); line-height: 1; font-weight: 600; letter-spacing: -0.035em;
}
.h1 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.05; font-weight: 600; letter-spacing: -0.035em; }
.h2 { font-size: clamp(2rem, 3.5vw, 2.5rem); line-height: 1.1; font-weight: 600; letter-spacing: -0.03em; }
.h3 { font-size: 22px; line-height: 1.25; font-weight: 600; letter-spacing: -0.02em; }
.lead { font-size: 18px; line-height: 28px; color: var(--ink-muted); }
.band--night .lead { color: var(--on-dark-soft); }
.muted { color: var(--ink-muted); }
.band--night .muted { color: var(--on-dark-muted); }
.section-head { display: flex; flex-direction: column; gap: 16px; max-width: 720px; }
.stack { display: flex; flex-direction: column; }
.gap-8 { gap: 8px; } .gap-12 { gap: 12px; } .gap-16 { gap: 16px; } .gap-20 { gap: 20px; }
.gap-24 { gap: 24px; } .gap-32 { gap: 32px; } .gap-48 { gap: 48px; } .gap-56 { gap: 56px; }

/* Even out headline lines so a single word never sits alone */
.display, .h1, .h2, .h3 { text-wrap: balance; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 22px; border: 0; border-radius: var(--radius-sm);
  font-size: 16px; font-weight: 600; text-decoration: none; cursor: pointer;
  white-space: nowrap;
}
.btn--ignition { background: var(--ignition); color: var(--ink); }
.btn--ignition:hover { background: #ff7440; color: var(--ink); }
.btn--night { background: var(--night); color: var(--on-dark); }
.btn--night:hover { background: #1d212c; color: var(--on-dark); }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 15px; }
.btn[disabled] { opacity: 0.6; cursor: progress; }

/* Header */
.site-header { background: var(--night); border-bottom: 1px solid var(--night-line); position: relative; z-index: 10; }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 18px; padding-bottom: 18px; }
.nav__logo img { height: 28px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 28px; }
.nav__links a:not(.btn) { color: var(--on-dark); text-decoration: none; font-size: 15px; }
.nav__links a:not(.btn):hover, .nav__links a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; }
.nav__toggle {
  display: none; min-height: 44px; min-width: 44px; padding: 0 12px; background: transparent;
  color: var(--on-dark); border: 1px solid var(--field-dark); border-radius: var(--radius-sm); cursor: pointer;
}
@media (max-width: 860px) {
  .nav { flex-wrap: wrap; }
  .nav__toggle { display: inline-flex; align-items: center; gap: 8px; }
  .nav__links { display: none; width: 100%; flex-direction: column; align-items: stretch; gap: 4px; padding-top: 8px; }
  .nav__links.is-open { display: flex; }
  .nav__links a:not(.btn) { padding: 12px 0; border-bottom: 1px solid var(--night-line); }
  .nav__links .btn { margin-top: 12px; }
}

/* Forms */
.field { display: flex; flex-direction: column; gap: 8px; }
.field label, .field legend { font-size: 14px; font-weight: 500; }
.input {
  width: 100%; min-height: 48px; padding: 0 16px; font-size: 16px;
  color: var(--ink); background: var(--white); border: 1px solid var(--field); border-radius: var(--radius-sm);
}
textarea.input { padding: 12px 14px; line-height: 24px; resize: vertical; }
.band--night .input, .input--dark { color: var(--on-dark); background: var(--night-raised); border-color: var(--field-dark); }
.signup { display: flex; flex-direction: column; gap: 8px; max-width: 520px; }
.signup__row { display: flex; gap: 8px; flex-wrap: wrap; }
.signup__row .input { flex: 1 1 240px; width: auto; }
.signup__note { font-size: 13px; line-height: 20px; color: var(--ink-muted); }
.band--night .signup__note { color: var(--on-dark-muted); }
.form-error { font-size: 14px; line-height: 20px; color: #b42318; }
.band--night .form-error { color: #ff9b85; }

/* Hero */
.hero { padding: 88px 0 72px; }
.hero__grid { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; }
.hero__copy { flex: 1 1 520px; display: flex; flex-direction: column; gap: 24px; }
.hero__copy .lead { max-width: 560px; }
.hero__art { flex: 1 1 400px; max-width: 560px; }
.hero__art svg { width: 100%; height: auto; }
.proof-strip { border-top: 1px solid var(--night-line); }
.proof-strip .container { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px; padding-top: 28px; padding-bottom: 28px; }
.proof-strip p:last-child { flex: 1 1 480px; font-size: 17px; line-height: 26px; color: var(--on-dark); }
@media (max-width: 640px) { .hero { padding: 56px 0 48px; } }

/* Video cards */
.stage-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 32px; }
.stage-head { display: flex; align-items: baseline; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.stage-head__num { font-size: 13px; font-weight: 600; letter-spacing: 0.04em; color: var(--link); }
.stage-head__range { margin-left: auto; font-size: 14px; color: var(--ink-muted); }
.video-card { display: flex; flex-direction: column; gap: 10px; color: inherit; text-decoration: none; background: none; border: 0; padding: 0; text-align: left; cursor: pointer; width: 100%; }
.video-card:hover { color: inherit; }
.video-card:hover .video-card__title { text-decoration: underline; text-underline-offset: 4px; }
.video-card__thumb {
  aspect-ratio: 16 / 9; background: var(--night); border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden;
}
.video-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.video-card__badge {
  position: absolute; left: 12px; top: 12px; font-size: 12px; font-weight: 600;
  color: var(--ink); background: var(--ignition); padding: 4px 8px; border-radius: var(--radius-sm);
}
.video-card__duration { position: absolute; right: 12px; bottom: 12px; font-size: 13px; color: var(--on-dark); }
.video-card__title { font-size: 17px; font-weight: 600; line-height: 24px; }
.video-card__meta { font-size: 14px; color: var(--ink-muted); }

.stage-purpose { font-size: 16px; line-height: 24px; color: var(--ink-muted); min-height: 48px; text-wrap: pretty; }
.topic-list { list-style: none; padding: 0; display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.topic {
  display: flex; align-items: center; gap: 16px; padding: 14px 0;
  border-bottom: 1px solid var(--line); color: inherit; text-decoration: none;
}
.topic:hover { color: inherit; }
.topic:hover .topic__title { text-decoration: underline; text-underline-offset: 4px; }
.topic__text { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.topic__num { font-size: 13px; font-weight: 500; line-height: 18px; color: var(--link); }
.topic__title { font-size: 16px; font-weight: 600; line-height: 22px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 700px) { .stage-purpose { min-height: 0; } }

/* Video thumbnails */
.thumb {
  position: relative; flex: none; display: flex; align-items: center; justify-content: center;
  aspect-ratio: 16 / 9; background: var(--night); overflow: hidden;
}
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb--sm { width: 104px; border-radius: 8px; }
.thumb--lg { width: 100%; border-radius: var(--radius-md); }
.thumb__soon { font-size: 12px; font-weight: 500; color: var(--on-dark-muted); }
.thumb--lg .thumb__soon { font-size: 15px; }
.thumb__duration {
  position: absolute; right: 6px; bottom: 6px; padding: 1px 6px; border-radius: 4px;
  font-size: 12px; color: var(--on-dark); background: rgba(11, 13, 18, 0.8);
}

/* Stories */
.stories { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.story { padding: 32px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); display: flex; flex-direction: column; gap: 24px; }
.story__metric { font-size: 28px; font-weight: 600; letter-spacing: -0.02em; color: var(--link); }
.story blockquote { font-size: 17px; line-height: 26px; }
.story figcaption { margin-top: auto; font-size: 14px; line-height: 20px; color: var(--ink-muted); }
.story figcaption strong { display: block; color: var(--ink); font-weight: 600; }

/* Principles */
.principles { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 32px; }
.principle { display: flex; flex-direction: column; gap: 12px; padding-top: 20px; border-top: 2px solid var(--ink); }
.principle p { font-size: 16px; line-height: 25px; color: var(--ink-stone); }

/* Mission Control */
.mc-top { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-end; }
.mc-top__copy { flex: 1 1 560px; display: flex; flex-direction: column; gap: 20px; }
.mc-top__copy .lead { max-width: 620px; }
.mc-top__price { flex: 0 1 340px; display: flex; flex-direction: column; gap: 16px; }
.price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.price__amount { font-size: 56px; font-weight: 600; letter-spacing: -0.035em; line-height: 1; }
.price__unit { font-size: 16px; color: var(--on-dark-muted); }
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px; padding-top: 40px; border-top: 1px solid var(--night-line); }
.feature { display: flex; flex-direction: column; gap: 10px; }
.feature h3 { font-size: 19px; font-weight: 600; }
.feature p { font-size: 16px; line-height: 25px; color: var(--on-dark-soft); }
.compare-wrap { overflow-x: auto; border: 1px solid var(--night-line); border-radius: var(--radius-md); }
.compare { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 15px; line-height: 22px; text-align: left; }
.compare th, .compare td { padding: 14px 20px; border-bottom: 1px solid var(--night-line); color: var(--on-dark-soft); vertical-align: top; }
.compare thead th { padding-top: 16px; padding-bottom: 16px; font-weight: 600; width: 28%; }
.compare thead th:first-child { width: 16%; }
.compare tbody th { font-weight: 500; color: var(--on-dark-muted); }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.compare .is-us { background: var(--night-raised); color: var(--on-dark); }
.compare tr:last-child .is-us { font-weight: 600; }
.session { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 8px; }
.session li { display: flex; flex-direction: column; gap: 8px; padding: 20px 24px; background: var(--night-raised); border-radius: var(--radius-md); }
.session__time { font-size: 14px; font-weight: 600; color: var(--link-dark); }
.session__name { font-size: 18px; font-weight: 600; }
.session__desc { font-size: 15px; line-height: 23px; color: var(--on-dark-soft); }

/* Calls */
.calls { display: flex; flex-wrap: wrap; gap: 48px; }
.calls__copy { flex: 1 1 480px; display: flex; flex-direction: column; gap: 20px; }
.calls__fit { flex: 1 1 400px; display: flex; flex-direction: column; gap: 24px; padding: 32px; background: var(--night-raised); border: 1px solid var(--night-line); border-radius: var(--radius-md); }
.calls__fit h3 { font-size: 18px; font-weight: 600; }
.check { display: flex; gap: 12px; font-size: 16px; line-height: 24px; }
.check svg { flex: none; margin-top: 2px; }
.check--no { color: var(--on-dark-soft); }
.fit-group { display: flex; flex-direction: column; gap: 14px; }
.fit-group + .fit-group { padding-top: 20px; border-top: 1px solid var(--night-line); }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }

/* Newsletter band */
.join { display: flex; flex-wrap: wrap; align-items: center; gap: 40px; }
.join__copy { flex: 1 1 420px; display: flex; flex-direction: column; gap: 16px; }
.join .signup { flex: 1 1 420px; }

/* Footer */
.site-footer { background: var(--bone); border-top: 1px solid var(--line); }
.site-footer .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-top: 40px; padding-bottom: 40px; }
.site-footer img { height: 24px; width: auto; }
.footer-links { display: flex; flex-wrap: wrap; gap: 24px; font-size: 14px; }
.footer-links a, .footer-links span { color: var(--ink-muted); }

/* Library page */
.lib-hero { padding: 56px 0 64px; }
.lib-hero__grid { display: flex; flex-wrap: wrap; gap: 32px; }
.player { flex: 2 1 560px; display: flex; flex-direction: column; gap: 16px; }
.player__frame {
  aspect-ratio: 16 / 9; background: var(--night-raised); border: 1px solid var(--night-line); border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 12px; overflow: hidden; text-align: center; padding: 24px;
}
.player__frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.player__frame.has-video { padding: 0; }
.player__stage { font-size: 13px; font-weight: 600; letter-spacing: 0.18em; color: var(--link-dark); text-transform: uppercase; }
.player p { font-size: 16px; line-height: 25px; color: var(--on-dark-soft); }
.side-card { flex: 1 1 300px; align-self: flex-start; display: flex; flex-direction: column; gap: 16px; padding: 28px; background: var(--night-raised); border: 1px solid var(--night-line); border-radius: var(--radius-md); }
.side-card p { font-size: 15px; line-height: 24px; color: var(--on-dark-soft); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter {
  min-height: 44px; padding: 0 18px; font-size: 15px; font-weight: 500; color: var(--ink); background: transparent;
  border: 1px solid var(--field); border-radius: var(--radius-sm); cursor: pointer;
}
.filter[aria-pressed="true"] { color: var(--on-dark); background: var(--night); border-color: var(--night); }
.lib-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.gate { max-width: 640px; display: flex; flex-direction: column; gap: 20px; }

/* Apply page */
.apply { display: flex; flex-wrap: wrap; gap: 56px; padding: 72px 0 96px; }
.apply__intro { flex: 1 1 360px; display: flex; flex-direction: column; gap: 28px; }
.apply__price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.apply__price .price__amount { font-size: 40px; }
.apply__price .price__unit { color: var(--ink-muted); font-size: 15px; }
.apply__founding { flex-basis: 100%; font-size: 15px; line-height: 22px; }
.apply__founding strong { font-weight: 600; color: var(--link); }
.next-step { display: flex; gap: 16px; font-size: 16px; line-height: 24px; }
.next-step__num { flex: none; width: 32px; font-size: 14px; font-weight: 600; color: var(--link); }
.apply-form { flex: 1 1 520px; display: flex; flex-direction: column; gap: 22px; padding: 40px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); }
@media (max-width: 640px) { .apply-form { padding: 24px; } }
.form-row { display: flex; flex-wrap: wrap; gap: 22px; }
.form-row .field { flex: 1 1 220px; }
fieldset { margin: 0; padding: 0; border: 0; }
legend { padding: 0; margin-bottom: 10px; font-size: 14px; font-weight: 500; }
.choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; }
.choice { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 14px; border: 1px solid var(--field); border-radius: var(--radius-sm); font-size: 15px; cursor: pointer; }
.choice:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.choice input, .consent input { width: 18px; height: 18px; accent-color: var(--ink); flex: none; }
.consent { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; line-height: 22px; cursor: pointer; }
.consent input { margin-top: 2px; }

/* Simple text pages */
.prose { max-width: 680px; padding: 72px 0 96px; display: flex; flex-direction: column; gap: 20px; }
.prose p, .prose li { font-size: 17px; line-height: 27px; }
.prose ul { padding-left: 20px; display: flex; flex-direction: column; gap: 8px; }
