.home-page {
  --home-wide: 1280px;
  background: #080b08;
}

.home-page.intro-running {
  overflow: hidden;
}

/* Intro is isolated from the existing homepage and never loops. */
.intro-sequence {
  position: fixed;
  z-index: 80;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #000;
  isolation: isolate;
  opacity: 1;
  transition: opacity 320ms ease;
}

.intro-sequence[hidden] {
  display: none;
}

.intro-sequence.is-leaving {
  opacity: 0;
  pointer-events: none;
}

.intro-logo-poster {
  width: clamp(180px, 20vw, 360px);
  height: auto;
}

.intro-logo-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(960px, 100vw, 1920px);
  max-width: none;
  height: auto;
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: 0;
}

.intro-sequence.is-playing .intro-logo-video {
  opacity: 1;
}

.intro-sequence[data-intro-layout="portrait"] .intro-logo-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.intro-skip {
  position: absolute;
  right: max(24px, env(safe-area-inset-right));
  bottom: max(24px, env(safe-area-inset-bottom));
  min-width: 88px;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--button-radius);
  background: #101510;
  color: var(--text-soft);
  font: inherit;
  font-size: 13px;
  cursor: pointer;
  transition: color 180ms ease, border-color 180ms ease;
}

.intro-skip:hover {
  color: var(--text);
  border-color: var(--text-soft);
}

.intro-running .hero-v2-copy,
.intro-running .hero-product,
.intro-running .hero-stage-wash,
.intro-running .hero-title-line,
.intro-running .hero-product-layer-back,
.intro-running .hero-product-layer-mid,
.intro-running .hero-product-light::after {
  animation: none !important;
}

.home-page .container {
  width: min(calc(100% - 48px), var(--home-wide));
}

.home-page .site-header {
  border-bottom: 0;
  background: transparent;
}

.home-page .nav-shell {
  min-height: 58px;
  margin-top: 8px;
  padding: 0 8px 0 18px;
  border: 1px solid rgba(232, 240, 233, 0.14);
  border-radius: var(--button-radius);
  background: rgba(8, 11, 8, 0.72);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  backdrop-filter: blur(22px) saturate(140%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.035),
    0 18px 54px rgba(0, 0, 0, 0.2);
}

.home-page .brand-logo {
  width: 142px;
}

.hero-v2 {
  --spot-x: 72%;
  --spot-y: 34%;
  position: relative;
  display: flex;
  min-height: calc(100dvh - var(--header-height));
  align-items: center;
  overflow: clip;
  padding: clamp(48px, 6vw, 78px) 0 clamp(58px, 7vw, 92px);
  border-bottom: 1px solid var(--line);
  isolation: isolate;
}

.hero-v2::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: radial-gradient(
    circle 420px at var(--spot-x) var(--spot-y),
    rgba(189, 255, 25, 0.1),
    rgba(189, 255, 25, 0.025) 44%,
    transparent 72%
  );
  pointer-events: none;
  content: "";
}

.hero-prism {
  position: absolute;
  z-index: -3;
  inset: -8% -5%;
  overflow: hidden;
  background:
    radial-gradient(circle at 74% 37%, rgba(189, 255, 25, 0.12), transparent 28%),
    radial-gradient(circle at 58% 68%, rgba(71, 98, 25, 0.12), transparent 38%),
    #080b08;
  pointer-events: none;
}

.hero-prism::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 11, 8, 0.96) 0%, rgba(8, 11, 8, 0.7) 25%, rgba(8, 11, 8, 0.24) 45%, rgba(8, 11, 8, 0.02) 68%),
    linear-gradient(0deg, #080b08 0%, rgba(8, 11, 8, 0.08) 31%, rgba(8, 11, 8, 0.16) 100%);
  pointer-events: none;
  content: "";
}

.hero-prism canvas {
  opacity: 0;
  filter: saturate(1.16) contrast(1.12) brightness(1.08);
  mix-blend-mode: screen;
  transform: scale(1.035);
  transition: opacity 900ms cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-prism[data-prism-state="ready"] canvas {
  opacity: 0.94;
}

.hero-stage-wash {
  position: absolute;
  z-index: -2;
  inset: 0;
  background:
    radial-gradient(circle 520px at var(--spot-x) var(--spot-y), rgba(189, 255, 25, 0.07), transparent 68%),
    linear-gradient(90deg, rgba(8, 11, 8, 0.48), transparent 54%);
  opacity: 1;
  pointer-events: none;
}

.hero-v2::after {
  position: absolute;
  z-index: -1;
  top: -22%;
  right: 9%;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(189, 255, 25, 0.13), transparent 66%);
  pointer-events: none;
  content: "";
}

.hero-v2-grid {
  display: grid;
  grid-template-columns: minmax(360px, 0.72fr) minmax(0, 1.28fr);
  align-items: center;
  gap: clamp(42px, 6vw, 94px);
}

.hero-v2-copy {
  position: relative;
  z-index: 2;
  max-width: 590px;
}

.hero-v2-copy::before {
  position: absolute;
  z-index: -1;
  top: -138px;
  left: -122px;
  width: 350px;
  aspect-ratio: 1;
  background: url("../brand/oncue-mark-square.webp") center / contain no-repeat;
  opacity: 0.1;
  mix-blend-mode: screen;
  transform: rotate(-9deg);
  pointer-events: none;
  content: "";
}

.hero-eyebrow {
  margin-bottom: 22px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.hero-v2 h1 {
  max-width: 660px;
  margin-bottom: 26px;
  font-size: clamp(54px, 5.6vw, 82px);
  font-weight: 680;
  letter-spacing: -0.073em;
  line-height: 0.98;
}

.hero-title-line {
  display: block;
  overflow: hidden;
}

.hero-v2 h1 .hero-title-word {
  color: var(--accent);
  text-shadow: 0 0 40px rgba(189, 255, 25, 0.16);
}

.hero-v2-lead {
  max-width: 35em;
  margin-bottom: 34px;
  color: #b8c0b9;
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.78;
}

.hero-product {
  position: relative;
  min-width: 0;
  margin: 0;
  perspective: 1200px;
}

.hero-product::before {
  position: absolute;
  z-index: 0;
  top: 50%;
  left: 52%;
  width: 88%;
  aspect-ratio: 1;
  border: 1px solid rgba(189, 255, 25, 0.11);
  border-radius: 50%;
  box-shadow:
    inset 0 0 90px rgba(189, 255, 25, 0.025),
    0 0 0 34px rgba(189, 255, 25, 0.018);
  transform: translate(-50%, -50%);
  opacity: 0.38;
  pointer-events: none;
  content: "";
}

.hero-product::after {
  position: absolute;
  z-index: 0;
  right: 2%;
  bottom: -16%;
  width: 78%;
  height: 22%;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(189, 255, 25, 0.12), transparent 69%);
  filter: blur(9px);
  transform: perspective(540px) rotateX(64deg);
  pointer-events: none;
  content: "";
}

.hero-product-deck {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  position: relative;
  z-index: 1;
  transform: rotateX(var(--tilt-x)) rotateY(calc(-4deg + var(--tilt-y)));
  transform-style: preserve-3d;
  transition: transform 500ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.hero-product-layer {
  position: absolute;
  overflow: hidden;
  inset: 0;
  border: 1px solid rgba(189, 255, 25, 0.14);
  border-radius: var(--radius);
  background: #0b0f0c;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.36);
  transform-origin: left center;
}

.hero-product-layer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.68;
  filter: saturate(0.78) brightness(0.79);
}

.hero-product-layer-back {
  transform: translate3d(12%, -17%, -100px) rotateZ(3deg);
}

.hero-product-layer-mid {
  transform: translate3d(-4%, 12%, -48px) rotateZ(-2.1deg);
}

.hero-product-frame {
  position: relative;
  border: 1px solid rgba(232, 240, 233, 0.25);
  border-radius: var(--radius);
  background: #0b0f0c;
  box-shadow:
    0 42px 120px rgba(0, 0, 0, 0.56),
    0 0 0 1px rgba(189, 255, 25, 0.025) inset;
  transform: translateZ(1px);
  transform-origin: left center;
}

.hero-product-frame::before,
.hero-product-frame::after {
  display: none;
}

.hero-product-frame > img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border-radius: inherit;
  object-fit: cover;
}

.hero-product-light {
  position: absolute;
  z-index: 1;
  inset: 0;
  overflow: hidden;
  border-radius: inherit;
  pointer-events: none;
}

.hero-product-light::after {
  position: absolute;
  top: -40%;
  left: -42%;
  width: 34%;
  height: 180%;
  background: linear-gradient(90deg, transparent, rgba(211, 255, 104, 0.09), transparent);
  transform: rotate(14deg);
  content: "";
}

.hero-product figcaption,
.workflow-visual-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  margin-top: 20px;
  color: var(--text-faint);
  font-size: 12px;
}

.hero-product figcaption strong,
.workflow-visual-meta strong {
  color: #c5ccc6;
  font-size: 12px;
  font-weight: 620;
  text-align: right;
}

.workflow-story {
  position: relative;
  padding: clamp(104px, 12vw, 168px) 0 clamp(110px, 13vw, 184px);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 14% 29%, rgba(189, 255, 25, 0.045), transparent 25%),
    #0b0f0c;
}

.workflow-intro {
  max-width: var(--home-wide);
  margin-bottom: clamp(92px, 12vw, 164px);
}

.workflow-intro > h2,
.chapter-heading h2,
.safeguards-copy h2,
.focused-heading h2,
.purchase-v2 h2,
.faq-heading h2 {
  max-width: 950px;
  margin-bottom: 24px;
  font-size: clamp(40px, 5.5vw, 72px);
  font-weight: 650;
  letter-spacing: -0.06em;
  line-height: 1.07;
}

.workflow-intro > p,
.chapter-heading > p,
.safeguards-lead,
.purchase-v2-copy p,
.faq-heading p {
  max-width: 46em;
  margin-bottom: 0;
  color: #aeb7af;
  font-size: 17px;
  line-height: 1.78;
}

.workflow-contrast {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(34px, 6vw, 88px);
  margin-top: clamp(56px, 7vw, 86px);
  padding-top: 28px;
  border-top: 1px solid var(--line-strong);
}

.workflow-contrast div {
  display: grid;
  gap: 12px;
}

.workflow-contrast span {
  color: var(--text-faint);
  font-size: 12px;
  font-weight: 650;
}

.workflow-contrast p {
  margin: 0;
  color: var(--text-soft);
  font-size: clamp(15px, 1.5vw, 18px);
  line-height: 1.7;
}

.workflow-contrast div:last-child p {
  color: var(--accent);
  font-weight: 680;
}

.workflow-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.48fr) minmax(300px, 0.52fr);
  gap: clamp(50px, 7vw, 102px);
  align-items: start;
}

.workflow-visual {
  position: sticky;
  display: block;
  top: calc(var(--header-height) + clamp(28px, 4vw, 54px));
  min-width: 0;
}

.workflow-screen {
  position: relative;
  overflow: hidden;
  min-height: 0;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: #080b08;
  box-shadow: 0 34px 110px rgba(0, 0, 0, 0.44);
}

.workflow-screen::after {
  position: absolute;
  z-index: 4;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.035);
  border-radius: inherit;
  pointer-events: none;
  content: "";
}

.workflow-screen::before {
  position: absolute;
  z-index: 5;
  top: 0;
  left: -16%;
  width: 14%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(189, 255, 25, 0.24), transparent);
  opacity: 0;
  pointer-events: none;
  content: "";
}

.workflow-screen.is-switching::before {
  animation: cue-sweep 580ms cubic-bezier(0.16, 1, 0.3, 1);
}

.workflow-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.018);
  transition:
    opacity 500ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
}

.workflow-image.is-active {
  z-index: 2;
  opacity: 1;
  transform: scale(1);
}

.workflow-steps {
  margin-top: -16vh;
}

.workflow-step {
  display: flex;
  min-height: 82vh;
  flex-direction: column;
  justify-content: center;
  padding: 72px 0 72px 28px;
  border-left: 1px solid var(--line);
  opacity: 0.38;
  transition:
    border-color 300ms ease,
    opacity 300ms ease,
    transform 400ms cubic-bezier(0.16, 1, 0.3, 1);
}

.workflow-step.is-active {
  border-left-color: var(--accent);
  opacity: 1;
  transform: translateX(8px);
}

.workflow-step h3 {
  margin-bottom: 16px;
  font-size: clamp(30px, 3vw, 45px);
  font-weight: 640;
  letter-spacing: -0.05em;
  line-height: 1.13;
}

.workflow-step p {
  max-width: 29em;
  margin: 0;
  color: #aab3ab;
  font-size: 15px;
  line-height: 1.78;
}

.workflow-step-image {
  display: none;
}

.chapter,
.safeguards,
.difference,
.purchase-v2 {
  border-bottom: 1px solid var(--line);
}

.chapter-live {
  position: relative;
  overflow: clip;
  background:
    radial-gradient(circle at 78% 14%, rgba(189, 255, 25, 0.055), transparent 25%),
    #080b08;
}

.chapter-heading {
  max-width: 980px;
  margin-bottom: clamp(58px, 8vw, 94px);
}

.live-product-shot {
  position: relative;
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 36px 110px rgba(0, 0, 0, 0.45);
  transform-origin: center bottom;
}

.live-product-shot::before {
  position: absolute;
  z-index: 2;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  pointer-events: none;
  content: "";
}

.live-product-shot img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.live-product-shot figcaption {
  padding: 16px 20px 18px;
  color: var(--text-faint);
  font-size: 12px;
  text-align: right;
}

.change-sequence {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(50px, 7vw, 82px);
  border-top: 1px solid var(--line-strong);
}

.change-sequence div {
  position: relative;
  display: grid;
  gap: 9px;
  padding: 26px clamp(16px, 2vw, 28px) 0 0;
}

.change-sequence div::before {
  position: absolute;
  top: -1px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  content: "";
  transition: width 650ms cubic-bezier(0.16, 1, 0.3, 1);
}

.change-sequence.is-visible div::before {
  width: 100%;
}

.change-sequence.is-visible div:nth-child(2)::before {
  transition-delay: 90ms;
}

.change-sequence.is-visible div:nth-child(3)::before {
  transition-delay: 180ms;
}

.change-sequence.is-visible div:nth-child(4)::before {
  transition-delay: 270ms;
}

.change-sequence div + div {
  padding-left: clamp(16px, 2vw, 28px);
  border-left: 1px solid var(--line);
}

.change-sequence strong {
  color: var(--accent);
  font-size: 14px;
}

.change-sequence span {
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.65;
}

.safeguards {
  background: #0b0f0c;
}

.safeguards-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(340px, 0.82fr);
  align-items: center;
  gap: clamp(52px, 8vw, 118px);
}

.stage-context {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface);
}

.stage-context::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 44%, rgba(8, 11, 8, 0.45)),
    linear-gradient(0deg, rgba(8, 11, 8, 0.35), transparent 38%);
  pointer-events: none;
  content: "";
}

.stage-context img {
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
  transition: transform 900ms cubic-bezier(0.16, 1, 0.3, 1);
}

.stage-context:hover img {
  transform: scale(1.025);
}

.safeguards-copy h2 {
  max-width: 660px;
}

.safeguards-lead {
  margin-bottom: 36px;
}

.safeguard-list article {
  padding: 22px 0 24px;
  border-top: 1px solid var(--line-strong);
}

.safeguard-list h3 {
  margin-bottom: 8px;
  font-size: 20px;
  font-weight: 640;
  letter-spacing: -0.025em;
}

.safeguard-list p {
  margin-bottom: 0;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.72;
}

.difference {
  background: #080b08;
}

.focused-heading {
  max-width: 1080px;
  margin-bottom: clamp(56px, 8vw, 92px);
}

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

.difference-row {
  display: grid;
  grid-template-columns: 0.72fr 1fr 1fr 1.18fr;
  gap: clamp(16px, 2vw, 30px);
  padding: 23px 0;
  border-bottom: 1px solid var(--line);
  color: var(--text-soft);
  font-size: 14px;
}

.difference-row > span:first-child {
  color: var(--text);
  font-weight: 650;
}

.difference-row strong {
  color: var(--accent);
  font-weight: 660;
}

.difference-head {
  color: var(--text-faint);
  font-size: 12px;
}

.difference-head > span:first-child {
  color: var(--text-faint);
}

.fit-note {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(38px, 7vw, 96px);
  margin-top: 50px;
}

.fit-note p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.76;
}

.fit-note p:first-child {
  color: var(--text);
  font-size: 19px;
}

.purchase-v2 {
  background:
    radial-gradient(circle at 16% 60%, rgba(189, 255, 25, 0.06), transparent 25%),
    #0b0f0c;
}

.purchase-v2-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.72fr);
  align-items: center;
  gap: clamp(60px, 10vw, 142px);
}

.purchase-v2-copy {
  display: grid;
  grid-template-columns: 138px minmax(0, 1fr);
  align-items: center;
  gap: 34px;
}

.purchase-mark {
  width: 138px;
  height: 138px;
  border-radius: 30px;
  mix-blend-mode: screen;
}

.purchase-card {
  padding: 31px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: rgba(16, 21, 16, 0.92);
  box-shadow:
    0 30px 90px rgba(0, 0, 0, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.035);
  transition:
    border-color 300ms ease,
    transform 450ms cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 450ms cubic-bezier(0.16, 1, 0.3, 1);
}

.purchase-card:hover {
  border-color: rgba(189, 255, 25, 0.38);
  box-shadow:
    0 38px 110px rgba(0, 0, 0, 0.44),
    inset 0 1px 0 rgba(255, 255, 255, 0.055);
  transform: translateY(-7px);
}

.purchase-product {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.purchase-product span {
  color: var(--text-soft);
  font-size: 14px;
}

.purchase-product strong {
  color: var(--accent);
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 680;
}

.purchase-facts {
  display: grid;
  gap: 15px;
  margin: 25px 0 29px;
}

.purchase-facts div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.purchase-facts span {
  color: var(--text-faint);
  font-size: 12px;
}

.purchase-facts strong {
  font-size: 13px;
  font-weight: 620;
}

.purchase-card > p {
  margin: 13px 0 0;
  color: var(--text-faint);
  font-size: 11px;
  text-align: center;
}

.faq-section {
  padding-top: clamp(96px, 11vw, 152px);
  background: #080b08;
}

.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.65fr) minmax(0, 1.35fr);
  gap: clamp(58px, 9vw, 128px);
}

.faq-heading h2 {
  font-size: clamp(36px, 4.4vw, 58px);
}

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

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

.faq-list summary {
  min-height: 72px;
  padding: 22px 42px 22px 0;
  color: var(--text);
  cursor: pointer;
  font-size: 16px;
  font-weight: 620;
  line-height: 1.7;
}

.faq-list summary::marker {
  color: var(--accent);
}

.faq-list details p {
  max-width: 48em;
  margin: -5px 0 24px;
  padding-right: 36px;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.75;
}

.closing-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: clamp(76px, 9vw, 116px);
  padding: 36px 0;
  border-top: 1px solid var(--line-strong);
}

.closing-cta p {
  margin: 0;
  font-size: clamp(24px, 3.4vw, 43px);
  font-weight: 640;
  letter-spacing: -0.047em;
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 700ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: no-preference) {
  .hero-stage-wash {
    animation: stage-breathe 14s alternate infinite ease-in-out;
  }

  .hero-v2-copy {
    animation: hero-enter 850ms 100ms both cubic-bezier(0.16, 1, 0.3, 1);
  }

  .hero-title-line {
    animation: title-line-enter 900ms 180ms both cubic-bezier(0.16, 1, 0.3, 1);
  }

  .hero-title-line + .hero-title-line {
    animation-delay: 280ms;
  }

  .hero-product {
    animation: hero-enter 950ms 220ms both cubic-bezier(0.16, 1, 0.3, 1);
  }

  .hero-product-layer-back {
    animation: layer-back-drift 7s 1.1s alternate infinite ease-in-out;
  }

  .hero-product-layer-mid {
    animation: layer-mid-drift 8.5s 600ms alternate infinite ease-in-out;
  }

  .hero-product-light::after {
    animation: stage-light 7s 1.2s infinite cubic-bezier(0.16, 1, 0.3, 1);
  }
}

@keyframes stage-breathe {
  from {
    transform: scale(1.02) translate3d(0, 0, 0);
  }

  to {
    transform: scale(1.08) translate3d(-1.2%, -0.8%, 0);
  }
}

@keyframes title-line-enter {
  from {
    opacity: 0;
    transform: translateY(0.8em);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes layer-back-drift {
  from {
    transform: translate3d(12%, -17%, -100px) rotateZ(3deg);
  }

  to {
    transform: translate3d(13.5%, -18.5%, -100px) rotateZ(3.6deg);
  }
}

@keyframes layer-mid-drift {
  from {
    transform: translate3d(-4%, 12%, -48px) rotateZ(-2.1deg);
  }

  to {
    transform: translate3d(-5%, 13.5%, -48px) rotateZ(-2.7deg);
  }
}

@keyframes hero-enter {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes stage-light {
  0%,
  58% {
    opacity: 0;
    transform: translateX(0) rotate(14deg);
  }

  72% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translateX(420%) rotate(14deg);
  }
}

@keyframes cue-sweep {
  0% {
    opacity: 0;
    transform: translateX(0);
  }

  24% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translateX(840%);
  }
}

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) and (min-width: 761px) {
    [data-cinematic-media] {
      animation: cinematic-media-lift linear both;
      animation-timeline: view();
      animation-range: entry 8% cover 42%;
    }

    .stage-context img {
      animation: stage-depth linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 55%;
    }
  }
}

@keyframes cinematic-media-lift {
  from {
    opacity: 0.24;
    transform: perspective(1200px) rotateX(9deg) scale(0.9);
  }

  to {
    opacity: 1;
    transform: perspective(1200px) rotateX(0) scale(1);
  }
}

@keyframes stage-depth {
  from {
    transform: scale(1.12);
  }

  to {
    transform: scale(1);
  }
}

@media (max-width: 1100px) {
  .hero-v2-grid {
    grid-template-columns: minmax(320px, 0.84fr) minmax(0, 1.16fr);
    gap: 42px;
  }

  .hero-v2 h1 {
    font-size: clamp(52px, 6vw, 70px);
  }

  .workflow-grid {
    grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
    gap: 52px;
  }

  .safeguards-grid,
  .purchase-v2-shell {
    grid-template-columns: 1fr;
  }

  .safeguards-copy {
    max-width: 780px;
  }

  .purchase-card {
    width: min(100%, 640px);
  }
}

@media (max-width: 900px) {
  .hero-v2 {
    min-height: auto;
  }

  .hero-v2-grid {
    grid-template-columns: 1fr;
    gap: 58px;
  }

  .hero-v2-copy {
    max-width: 720px;
  }

  .hero-product {
    width: min(92%, 820px);
    margin-left: auto;
  }

  .workflow-grid {
    grid-template-columns: minmax(0, 1.16fr) minmax(260px, 0.84fr);
    gap: 36px;
  }

  .workflow-visual {
    top: calc(var(--header-height) + 28px);
  }

  .workflow-steps {
    margin-top: -10vh;
  }

  .workflow-step {
    min-height: 76vh;
  }

  .fit-note,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .faq-grid {
    gap: 52px;
  }
}

@media (max-width: 760px) {
  .home-page .container {
    width: min(calc(100% - 32px), var(--home-wide));
  }

  .hero-v2 {
    padding-top: 44px;
  }

  .hero-prism {
    inset: -3% -28% -4%;
  }

  .hero-prism::after {
    background:
      linear-gradient(180deg, rgba(8, 11, 8, 0.66) 0%, rgba(8, 11, 8, 0.1) 39%, rgba(8, 11, 8, 0.2) 66%, rgba(8, 11, 8, 0.78) 100%),
      linear-gradient(90deg, rgba(8, 11, 8, 0.34), rgba(8, 11, 8, 0.04));
  }

  .hero-prism[data-prism-state="ready"] canvas {
    opacity: 0.84;
  }

  .hero-stage-wash {
    inset: 0;
    width: auto;
    height: auto;
    opacity: 1;
  }

  .hero-eyebrow {
    max-width: 24em;
    margin-bottom: 18px;
    font-size: 12px;
    line-height: 1.6;
  }

  .hero-v2-copy::before {
    top: -96px;
    left: -88px;
    width: 260px;
    opacity: 0.075;
  }

  .hero-v2 h1 {
    font-size: clamp(48px, 14vw, 64px);
  }

  .hero-v2-lead {
    font-size: 16px;
  }

  .hero-product {
    width: calc(100% - 14px);
    margin: 0;
  }

  .hero-product-deck {
    transform: none;
    will-change: auto;
  }

  .hero-product::before {
    width: 112%;
    opacity: 0.7;
  }

  .hero-product::after {
    right: 4%;
    bottom: -9%;
    width: 90%;
  }

  .hero-product-layer {
    animation: none;
  }

  .hero-product-layer-back {
    display: none;
  }

  .hero-product-layer-mid {
    transform: translate3d(9px, 9px, 0) rotateZ(-1deg);
  }

  .hero-product-frame {
    transform: none;
  }

  .hero-product-frame::before {
    inset: 9px -9px -9px 9px;
  }

  .hero-product-frame::after {
    display: none;
  }

  .hero-product figcaption,
  .workflow-visual-meta {
    display: grid;
    gap: 4px;
  }

  .hero-product figcaption strong,
  .workflow-visual-meta strong {
    text-align: left;
  }

  .workflow-intro > h2,
  .chapter-heading h2,
  .safeguards-copy h2,
  .focused-heading h2,
  .purchase-v2 h2,
  .faq-heading h2 {
    font-size: clamp(36px, 10.5vw, 50px);
  }

  .workflow-contrast {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .workflow-grid {
    display: block;
  }

  .workflow-visual {
    display: none;
  }

  .workflow-steps {
    margin: 0;
  }

  .workflow-step,
  .workflow-step.is-active {
    min-height: auto;
    padding: 54px 0;
    border-left: 0;
    border-bottom: 1px solid var(--line-strong);
    opacity: 1;
    transform: none;
  }

  .workflow-step:first-child {
    padding-top: 0;
  }

  .workflow-step-image {
    display: block;
    width: 100%;
    height: auto;
    margin-bottom: 28px;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius);
    aspect-ratio: 16 / 9;
    object-fit: cover;
  }

  .workflow-step h3 {
    font-size: clamp(30px, 8vw, 40px);
  }

  .change-sequence {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .change-sequence div:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }

  .change-sequence div:nth-child(n + 3) {
    margin-top: 25px;
    border-top: 1px solid var(--line);
  }

  .stage-context,
  .stage-context img {
    min-height: 360px;
  }

  .difference-head {
    display: none;
  }

  .difference-row {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 26px 0;
  }

  .difference-row > span:first-child {
    margin-bottom: 4px;
    font-size: 17px;
  }

  .difference-row [data-label] {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 12px;
  }

  .difference-row [data-label]::before {
    color: var(--text-faint);
    font-size: 11px;
    font-weight: 600;
    content: attr(data-label);
  }

  .purchase-v2-copy {
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 22px;
  }

  .purchase-mark {
    width: 84px;
    height: 84px;
    border-radius: 21px;
  }

  .purchase-card {
    padding: 24px 20px;
  }

  .closing-cta {
    align-items: stretch;
    flex-direction: column;
  }

  .closing-cta .button {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
  }

  .workflow-intro > p,
  .chapter-heading > p,
  .safeguards-lead,
  .purchase-v2-copy p {
    font-size: 15px;
  }

  .change-sequence {
    grid-template-columns: 1fr;
  }

  .change-sequence div,
  .change-sequence div + div,
  .change-sequence div:nth-child(3) {
    margin: 0;
    padding: 21px 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .change-sequence div:first-child {
    border-top: 0;
  }

  .purchase-v2-copy {
    grid-template-columns: 1fr;
  }

  .purchase-product {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-page.intro-running {
    overflow-x: hidden;
    overflow-y: auto;
  }

  .intro-sequence {
    display: none;
  }

  .hero-prism canvas {
    display: none;
  }

  .hero-v2-copy,
  .hero-product,
  .hero-product-light::after,
  .hero-stage-wash,
  .hero-title-line,
  .hero-product-layer-back,
  .hero-product-layer-mid,
  .workflow-screen::before,
  [data-cinematic-media],
  .stage-context img {
    animation: none !important;
  }

  .workflow-image,
  .workflow-step,
  .stage-context img,
  .js [data-reveal] {
    transition: none !important;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
