:root {
  --navy: #10213a;
  --deep-blue: #17345c;
  --red: #f52525;
  --white: #ffffff;
  --soft: #f3f5f8;
  --cream: #fff1dc;
  --green: #24c26a;
  --gold: #b8862d;
  --muted: #66748a;
  --line: rgba(16, 33, 58, 0.14);
  --line-strong: rgba(16, 33, 58, 0.28);
  --shadow: 0 24px 70px rgba(16, 33, 58, 0.16);
  --max-width: 1180px;
  --nav-height: 72px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + 18px);
}

body {
  margin: 0;
  color: var(--navy);
  background: var(--white);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body,
button,
a {
  font-synthesis: none;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

p,
h1,
h2,
h3,
ol,
ul,
figure {
  margin: 0;
}

button,
input,
textarea {
  font: inherit;
}

:focus-visible {
  outline: 3px solid rgba(245, 37, 37, 0.38);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 200;
  padding: 10px 14px;
  color: var(--white);
  background: var(--navy);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-height);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
}

.nav-inner,
.section-inner,
.footer-inner {
  width: min(var(--max-width), calc(100% - 40px));
  margin: 0 auto;
}

.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 950;
}

.brand img,
.footer-brand img {
  width: 43px;
  height: 43px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.brand span {
  font-size: 18px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
  color: #34445f;
  font-size: 14px;
  font-weight: 820;
}

.nav-links a {
  padding: 10px 0;
}

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 2px solid transparent;
  border-radius: 7px;
  font-size: 15px;
  font-weight: 900;
  line-height: 1;
  text-align: center;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-small {
  min-height: 42px;
  padding: 0 17px;
  font-size: 14px;
}

.button-red {
  color: var(--white);
  background: var(--red);
  box-shadow: 0 13px 30px rgba(245, 37, 37, 0.24);
}

.button-red:hover {
  box-shadow: 0 18px 36px rgba(245, 37, 37, 0.3);
}

.button-outline {
  color: var(--navy);
  border-color: var(--line-strong);
  background: var(--white);
}

.text-link {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  padding: 0 4px;
  border-bottom: 2px solid var(--navy);
  font-size: 15px;
  font-weight: 900;
}

.eyebrow,
.plan-label {
  color: var(--red);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1.35;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  letter-spacing: 0;
}

h1 {
  max-width: 650px;
  margin-top: 18px;
  font-size: 76px;
  font-weight: 950;
  line-height: 0.97;
}

h2 {
  max-width: 760px;
  margin-top: 14px;
  font-size: 52px;
  font-weight: 950;
  line-height: 1.02;
}

h3 {
  font-size: 21px;
  font-weight: 900;
  line-height: 1.2;
}

.scroll-story {
  position: relative;
  background: var(--soft);
}

.story-sticky {
  position: sticky;
  top: var(--nav-height);
  z-index: 1;
  height: calc(100svh - var(--nav-height));
  overflow: hidden;
  background: var(--soft);
}

.story-sticky::before {
  content: "";
  position: absolute;
  top: 0;
  left: calc(50% - 1px);
  z-index: 2;
  width: 1px;
  height: 100%;
  background: rgba(16, 33, 58, 0.08);
}

#story-canvas,
.scene-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

#story-canvas {
  z-index: 1;
  opacity: 0;
  transition: opacity 320ms ease;
}

.webgl-ready #story-canvas {
  opacity: 1;
}

.scene-fallback {
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  padding: 6vh max(4vw, 34px) 6vh 52%;
  transition: opacity 220ms ease;
}

.webgl-ready .scene-fallback {
  opacity: 0;
}

.scene-fallback img {
  width: min(20vw, 230px);
  border: 7px solid var(--navy);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.scene-fallback img:first-child,
.scene-fallback img:last-child {
  width: min(16vw, 190px);
  opacity: 0.6;
}

.scene-fallback img:first-child {
  transform: perspective(800px) rotateY(22deg) translateY(26px);
}

.scene-fallback img:last-child {
  transform: perspective(800px) rotateY(-22deg) translateY(-22px);
}

.scene-index {
  position: absolute;
  right: 26px;
  top: 50%;
  z-index: 5;
  display: grid;
  gap: 8px;
  transform: translateY(-50%);
}

.scene-index span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(16, 33, 58, 0.24);
  transition: height 180ms ease, border-radius 180ms ease, background 180ms ease;
}

.scene-index span.is-active {
  height: 24px;
  border-radius: 3px;
  background: var(--red);
}

.story-track {
  position: relative;
  z-index: 3;
  margin-top: calc(-100svh + var(--nav-height));
  pointer-events: none;
}

.story-panel {
  min-height: calc(100svh - var(--nav-height));
  display: flex;
  align-items: center;
  width: min(var(--max-width), calc(100% - 40px));
  margin: 0 auto;
  padding: 80px 0;
}

.story-copy {
  width: 46%;
  max-width: 590px;
  pointer-events: auto;
  opacity: 0.32;
  transform: translateY(18px);
  transition: opacity 260ms ease, transform 260ms ease;
}

.story-panel.is-current .story-copy {
  opacity: 1;
  transform: translateY(0);
}

.story-copy > p:not(.eyebrow):not(.fine-print):not(.pull-quote) {
  max-width: 570px;
  margin-top: 20px;
  color: #43516a;
  font-size: 20px;
  font-weight: 620;
  line-height: 1.52;
}

.hero-panel {
  min-height: calc(100svh - var(--nav-height));
}

.hero-lede {
  max-width: 610px;
  margin-top: 22px;
  color: #31425d;
  font-size: 21px;
  font-weight: 650;
  line-height: 1.48;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 30px;
}

.fine-print {
  margin-top: 15px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 720;
  line-height: 1.5;
}

.next-cue {
  position: absolute;
  top: calc(100% + 20px);
  left: 0;
  width: 230px;
  display: grid;
  gap: 3px;
  padding-left: 17px;
  border-left: 3px solid var(--red);
}

.next-cue span {
  color: var(--red);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.next-cue strong {
  font-size: 14px;
}

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

.proof-list li {
  position: relative;
  padding-left: 27px;
  color: var(--navy);
  font-size: 15px;
  font-weight: 820;
}

.proof-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 9px;
  height: 9px;
  border: 3px solid var(--red);
  border-radius: 50%;
}

.pull-quote {
  max-width: 500px;
  margin-top: 28px;
  padding: 17px 0 17px 20px;
  border-left: 3px solid var(--red);
  color: var(--navy);
  font-size: 18px;
  font-weight: 900;
  line-height: 1.4;
}

.sequence {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}

.sequence span {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: var(--white);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.story-copy > .button {
  margin-top: 28px;
}

.section-white {
  background: var(--white);
}

.method-section,
.pass-section,
.faq-section,
.final-cta {
  padding: 112px 0;
}

.method-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 84px;
  align-items: start;
}

.section-heading > p:not(.eyebrow) {
  max-width: 700px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.55;
}

.method-steps {
  padding: 0;
  border-top: 1px solid var(--line-strong);
  list-style: none;
}

.method-steps li {
  min-height: 130px;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  border-bottom: 1px solid var(--line-strong);
}

.method-steps > li > span {
  color: var(--red);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 13px;
  font-weight: 900;
}

.method-steps p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
}

.pass-section {
  background: var(--soft);
}

.pass-heading {
  max-width: 820px;
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 54px;
}

.plan-card {
  min-height: 515px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 30px;
  padding: 30px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 34px rgba(16, 33, 58, 0.07);
}

.plan-card-featured {
  color: var(--white);
  border-color: var(--navy);
  background: var(--navy);
  box-shadow: 0 24px 60px rgba(16, 33, 58, 0.22);
}

.plan-card-featured .plan-label {
  color: #ff6565;
}

.plan-price {
  min-height: 70px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 7px;
  margin-top: 16px;
}

.plan-price strong {
  font-size: 42px;
  font-weight: 950;
  line-height: 1;
}

.plan-price span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.plan-card-featured .plan-price span,
.plan-card-featured .plan-summary {
  color: rgba(255, 255, 255, 0.72);
}

.plan-summary {
  min-height: 54px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 650;
  line-height: 1.5;
}

.plan-card ul {
  display: grid;
  gap: 13px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.plan-card li {
  position: relative;
  padding-left: 25px;
  font-size: 15px;
  font-weight: 780;
  line-height: 1.4;
}

.plan-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.25em;
  width: 10px;
  height: 6px;
  border-left: 3px solid var(--green);
  border-bottom: 3px solid var(--green);
  transform: rotate(-45deg);
}

.plan-card .button {
  width: 100%;
}

.price-note {
  max-width: 940px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.6;
}

.fit-section {
  padding: 96px 0;
  color: var(--white);
  background: var(--navy);
}

.fit-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 72px;
  align-items: end;
}

.fit-layout h2 {
  max-width: 600px;
}

.eyebrow-light {
  color: #ff6767;
}

.fit-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.28);
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
}

.fit-points > div {
  min-height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 9px;
  padding: 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.fit-points > div:last-child {
  border-right: 0;
}

.fit-points strong {
  color: var(--white);
  font-size: 26px;
  font-weight: 950;
}

.fit-points span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  gap: 90px;
  align-items: start;
}

.faq-list {
  border-top: 1px solid var(--line-strong);
}

.faq-list details {
  border-bottom: 1px solid var(--line-strong);
}

.faq-list summary {
  position: relative;
  padding: 25px 48px 25px 0;
  cursor: pointer;
  font-size: 17px;
  font-weight: 900;
  line-height: 1.4;
  list-style: none;
}

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

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 2px;
  top: 22px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  font-size: 21px;
  font-weight: 500;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  max-width: 720px;
  padding: 0 48px 25px 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.65;
}

.final-cta {
  border-top: 1px solid var(--line);
  background: var(--cream);
}

.final-cta-layout {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr) auto;
  gap: 42px;
  align-items: center;
}

.final-cta-layout > img {
  width: 160px;
  height: 160px;
  border-radius: 28px;
}

.final-cta h2 {
  font-size: 44px;
}

.final-cta p:not(.eyebrow) {
  margin-top: 14px;
  color: #4a5260;
  font-size: 17px;
  font-weight: 650;
}

.site-footer {
  padding: 64px 0 38px;
  color: var(--white);
  background: #0b1728;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 34px 48px;
  align-items: start;
}

.footer-brand div {
  display: grid;
  gap: 4px;
}

.footer-brand strong {
  font-size: 18px;
}

.footer-brand span {
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
  font-weight: 700;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 22px;
  font-size: 13px;
  font-weight: 850;
}

.footer-legal {
  max-width: 830px;
  color: rgba(255, 255, 255, 0.54);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.6;
}

.footer-copy {
  justify-self: end;
  color: rgba(255, 255, 255, 0.54);
  font-size: 11px;
  font-weight: 700;
}

.legal-page {
  min-height: 100vh;
  background: var(--soft);
}

.legal-main {
  width: min(800px, calc(100% - 40px));
  margin: 0 auto;
  padding: 72px 0 110px;
}

.legal-main h1 {
  max-width: none;
  font-size: 58px;
}

.legal-meta {
  margin-top: 18px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.legal-content {
  margin-top: 44px;
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.legal-content h2 {
  margin-top: 34px;
  font-size: 26px;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content h3 {
  margin-top: 24px;
  font-size: 18px;
}

.legal-content p,
.legal-content li {
  color: #46536a;
  font-size: 15px;
  font-weight: 560;
  line-height: 1.72;
}

.legal-content p {
  margin-top: 12px;
}

.legal-content ul {
  display: grid;
  gap: 8px;
  margin: 14px 0 0;
  padding-left: 20px;
}

.legal-content a {
  color: var(--deep-blue);
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.support-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.support-actions .button {
  text-decoration: none;
}

.not-found {
  min-height: calc(100svh - var(--nav-height));
  display: grid;
  place-items: center;
  padding: 50px 20px;
  text-align: center;
}

.not-found-inner {
  max-width: 680px;
}

.not-found img {
  width: 124px;
  margin: 0 auto 28px;
  border-radius: 22px;
}

.not-found h1 {
  font-size: 58px;
}

.not-found p {
  margin-top: 18px;
  color: var(--muted);
  font-size: 18px;
  font-weight: 650;
  line-height: 1.5;
}

.not-found .button {
  margin-top: 28px;
}

@media (max-width: 980px) {
  h1 {
    font-size: 62px;
  }

  h2 {
    font-size: 44px;
  }

  .story-copy {
    width: 50%;
  }

  .scene-fallback {
    padding-left: 49%;
  }

  .method-layout,
  .fit-layout,
  .faq-layout {
    gap: 54px;
  }

  .plan-grid {
    grid-template-columns: 1fr;
    max-width: 680px;
  }

  .plan-card {
    min-height: 0;
  }

  .final-cta-layout {
    grid-template-columns: 130px minmax(0, 1fr);
  }

  .final-cta-layout > img {
    width: 130px;
    height: 130px;
  }

  .final-cta-layout > .button {
    grid-column: 2;
    justify-self: start;
  }
}

@media (max-width: 760px) {
  :root {
    --nav-height: 64px;
  }

  .nav-inner,
  .section-inner,
  .footer-inner {
    width: min(100% - 32px, var(--max-width));
  }

  .brand img {
    width: 39px;
    height: 39px;
  }

  .brand span {
    font-size: 16px;
  }

  .nav-links {
    display: none;
  }

  .button-small {
    min-height: 40px;
    padding: 0 14px;
  }

  h1 {
    font-size: 38px;
    line-height: 1;
  }

  h2 {
    font-size: 38px;
    line-height: 1.04;
  }

  .story-sticky::before {
    display: none;
  }

  .story-track {
    margin-top: calc(-100svh + var(--nav-height));
  }

  .story-panel {
    min-height: 100svh;
    align-items: flex-end;
    width: 100%;
    padding: 42vh 0 0;
  }

  .hero-panel {
    min-height: calc(100svh - var(--nav-height));
    padding-top: 34vh;
  }

  .story-copy {
    width: 100%;
    max-width: none;
    padding: 28px 20px 38px;
    border-top: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.96);
    opacity: 0.24;
    transform: none;
  }

  .story-panel.is-current .story-copy {
    opacity: 1;
  }

  .hero-copy {
    padding: 22px 20px 64px;
  }

  .hero-copy h1 {
    margin-top: 11px;
  }

  .hero-lede,
  .story-copy > p:not(.eyebrow):not(.fine-print):not(.pull-quote) {
    font-size: 17px;
    line-height: 1.52;
  }

  .hero-copy .hero-lede {
    margin-top: 14px;
    font-size: 16px;
    line-height: 1.45;
  }

  .hero-actions {
    align-items: stretch;
    gap: 8px;
    margin-top: 17px;
  }

  .hero-actions .button {
    width: 100%;
    min-height: 48px;
  }

  .hero-actions .text-link {
    display: none;
  }

  .fine-print {
    margin-top: 9px;
    font-size: 11px;
  }

  .next-cue {
    top: auto;
    bottom: 12px;
    left: 20px;
    width: 230px;
  }

  .scene-index {
    top: 22px;
    right: 50%;
    display: flex;
    transform: translateX(50%);
  }

  .scene-index span.is-active {
    width: 24px;
    height: 6px;
  }

  .scene-fallback {
    align-items: flex-start;
    justify-content: center;
    padding: 24px 8px 48vh;
  }

  .scene-fallback img {
    width: 34vw;
    border-width: 5px;
    border-radius: 15px;
  }

  .scene-fallback img:first-child,
  .scene-fallback img:last-child {
    width: 27vw;
  }

  .method-section,
  .pass-section,
  .faq-section,
  .final-cta {
    padding: 76px 0;
  }

  .method-layout,
  .fit-layout,
  .faq-layout {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .method-steps li {
    min-height: 112px;
  }

  .plan-grid {
    margin-top: 40px;
  }

  .plan-card {
    padding: 26px;
  }

  .fit-section {
    padding: 74px 0;
  }

  .fit-points {
    grid-template-columns: 1fr;
  }

  .fit-points > div {
    min-height: 100px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }

  .fit-points > div:last-child {
    border-bottom: 0;
  }

  .final-cta-layout {
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 22px;
  }

  .final-cta-layout > img {
    width: 88px;
    height: 88px;
    border-radius: 18px;
  }

  .final-cta h2 {
    font-size: 34px;
  }

  .final-cta-layout > .button {
    grid-column: 1 / -1;
    width: 100%;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .site-footer nav {
    justify-content: flex-start;
  }

  .footer-copy {
    justify-self: start;
  }

  .legal-main {
    width: min(100% - 32px, 800px);
    padding: 50px 0 76px;
  }

  .legal-main h1,
  .not-found h1 {
    font-size: 44px;
  }

  .legal-content {
    margin-top: 34px;
    padding: 26px 22px;
  }
}

@media (max-width: 380px) {
  .brand span {
    display: none;
  }

  h1 {
    font-size: 36px;
  }

  h2 {
    font-size: 34px;
  }

  .story-panel {
    padding-top: 40vh;
  }

  .hero-panel {
    padding-top: 32vh;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .button:hover {
    transform: none;
  }
}
