.landing-hero {
  min-height: calc(100svh - 72px);
  padding: 96px 0 112px;
  border-bottom: 1px solid var(--divider);
}

.landing-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  min-height: calc(100svh - 280px);
  column-gap: 48px;
  align-items: center;
}

.landing-hero__copy {
  align-self: center;
}

.eyebrow {
  margin: 0 0 20px;
  color: var(--brand-text);
  font-size: 13px;
  font-weight: 500;
  line-height: 18px;
  letter-spacing: 0.02em;
}

.locator-rail {
  position: relative;
  padding-left: 24px;
}

.locator-rail::before {
  position: absolute;
  top: 8px;
  left: 0;
  width: 3px;
  height: 32px;
  background: var(--brand);
  content: "";
}

.landing-hero h1 {
  max-width: 11ch;
  margin: 0;
  font-size: clamp(44px, 4.8vw, 68px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.landing-hero__lead {
  max-width: 40ch;
  margin: 32px 0 0 24px;
  color: var(--text-secondary);
  font-size: 18px;
  line-height: 28px;
}

.landing-hero__actions {
  margin: 32px 0 0 24px;
}

.hero-evidence {
  width: min(100%, 330px);
  justify-self: start;
  margin-left: clamp(0px, 4vw, 64px);
}

.hero-evidence__index,
.product-step__index,
.product-frame__meta {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-weight: 500;
  line-height: 18px;
  letter-spacing: 0.04em;
}

.hero-evidence__index {
  margin-bottom: 12px;
  color: var(--text-secondary);
}

.hero-evidence__capture {
  position: relative;
  overflow: hidden;
  aspect-ratio: 411 / 891;
  border: 1px solid var(--divider);
  border-left: 3px solid var(--brand);
  border-radius: 8px;
  background: var(--surface);
}

.theme-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.theme-image--light {
  display: none;
}

:root[data-theme="light"] .theme-image--light {
  display: block;
}

:root[data-theme="light"] .theme-image--dark {
  display: none;
}

.product-section {
  padding: 128px 0 0;
}

.pilot-cta {
  padding: 128px 0;
}

.section-intro {
  max-width: 660px;
  margin-bottom: 48px;
}

.section-intro h2,
.pilot-cta h2 {
  margin: 0;
  font-size: clamp(36px, 4vw, 48px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.section-intro > p:last-child,
.pilot-cta__inner > p:not(.eyebrow) {
  max-width: 42ch;
  margin: 20px 0 0;
  color: var(--text-secondary);
  font-size: 18px;
  line-height: 28px;
}

.product-story {
  margin-top: 64px;
  border-bottom: 1px solid var(--divider);
}

.product-chapter {
  padding: 104px 0;
  border-top: 1px solid var(--divider);
}

.product-chapter__layout {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--grid-gutter);
  align-items: start;
}

.product-chapter__copy {
  grid-column: 1 / span 4;
  max-width: 390px;
  padding-top: 42px;
}

.product-chapter__copy > .product-step__index {
  display: block;
  margin-bottom: 20px;
  color: var(--brand-text);
}

.product-chapter__copy h3 {
  margin: 0;
  font-size: clamp(32px, 3.5vw, 44px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.product-chapter__copy > p {
  max-width: 38ch;
  margin: 20px 0 0;
  color: var(--text-secondary);
  font-size: 17px;
  line-height: 27px;
}

.product-capabilities {
  display: grid;
  gap: 8px;
  margin: 28px 0 0;
  padding: 0;
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 20px;
  list-style: none;
}

.product-capabilities li {
  position: relative;
  padding-left: 16px;
}

.product-capabilities li::before {
  position: absolute;
  top: 8px;
  left: 0;
  width: 6px;
  height: 1px;
  background: var(--brand);
  content: "";
}

.product-chapter__viewport {
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  grid-column: 5 / -1;
  overscroll-behavior-inline: contain;
  scrollbar-color: var(--control-outline) transparent;
  scrollbar-width: thin;
  scroll-snap-type: inline mandatory;
}

.product-reel-hint {
  margin: 0 0 12px;
  color: var(--text-secondary);
  font-size: 12px;
  line-height: 18px;
}

.product-reel {
  display: flex;
  width: max-content;
  gap: 24px;
  margin: 0;
  padding: 0 48px 20px 0;
  list-style: none;
}

.product-frame {
  width: min(82vw, 350px);
  flex: 0 0 auto;
  scroll-snap-align: start;
}

.product-frame figure {
  margin: 0;
}

.product-frame__meta {
  display: flex;
  min-height: 18px;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
  color: var(--text-secondary);
  white-space: nowrap;
}

.product-frame__meta span:last-child {
  overflow: hidden;
  text-align: right;
  text-overflow: ellipsis;
}

.product-frame figcaption {
  max-width: 34ch;
  margin-top: 14px;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 21px;
}

.product-capture {
  position: relative;
  width: 100%;
  overflow: hidden;
  aspect-ratio: 411 / 891;
  border: 1px solid var(--divider);
  border-left: 3px solid var(--brand);
  border-radius: 8px;
  background: var(--surface);
}

.product-capture .theme-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}


.pilot-cta__inner {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 3fr);
  column-gap: 48px;
  align-items: end;
}

.pilot-cta__inner .eyebrow {
  grid-column: 1 / -1;
}

.pilot-cta h2 {
  max-width: 16ch;
}

.pilot-cta__inner > p:not(.eyebrow) {
  grid-column: 1;
}

.pilot-cta .button {
  grid-column: 2;
  grid-row: 2 / span 2;
  justify-self: end;
}

@media (min-width: 1024px) and (min-height: 640px) {
  :root[data-product-motion="bound"] .product-chapter {
    min-height: 280svh;
    padding: 0;
  }

  :root[data-product-motion="bound"] .product-chapter__sticky {
    position: sticky;
    top: var(--header-height);
    height: calc(100svh - var(--header-height));
    overflow: clip;
    background: var(--canvas);
  }

  :root[data-product-motion="bound"] .product-chapter__layout {
    position: relative;
    display: block;
    width: 100%;
    max-width: none;
    height: 100%;
    padding: 0;
  }

  :root[data-product-motion="bound"] .product-chapter__copy {
    position: absolute;
    top: 50%;
    left: max(var(--page-padding), calc((100vw - var(--content-max)) / 2));
    z-index: 2;
    width: min(390px, 32vw);
    max-width: none;
    padding: 0;
    opacity: var(--copy-opacity, 1);
    transform: translate3d(var(--copy-x, 0px), -50%, 0);
    will-change: opacity, transform;
  }

  :root[data-product-motion="bound"] .product-chapter__viewport {
    position: absolute;
    inset: 0;
    overflow: clip;
    scroll-snap-type: none;
  }

  :root[data-product-motion="bound"] .product-reel-hint {
    display: none;
  }

  :root[data-product-motion="bound"] .product-reel {
    position: absolute;
    top: 50%;
    left: 0;
    gap: clamp(32px, 4vw, 64px);
    padding: 0;
    transform: translate3d(var(--track-x, 0px), -50%, 0);
    will-change: transform;
  }

  :root[data-product-motion="bound"] .product-frame {
    width: clamp(220px, calc(46.13svh - 72px), 350px);
    opacity: var(--frame-opacity, 0.34);
    will-change: opacity;
  }

  :root[data-product-motion="bound"] .product-frame:first-child {
    opacity: var(--frame-opacity, 1);
  }
}

@media (max-width: 1023px) {
  .landing-hero {
    min-height: 0;
    padding: 80px 0;
  }

  .landing-hero__grid {
    display: block;
    min-height: 0;
  }

  .landing-hero h1 {
    max-width: 12ch;
  }

  .hero-evidence {
    width: min(100%, 330px);
    margin: 64px 0 0 24px;
  }

  .product-section {
    padding-top: 88px;
  }

  .pilot-cta {
    padding: 88px 0;
  }

  .section-intro {
    margin-bottom: 40px;
  }

  .product-story {
    margin-top: 48px;
  }

  .product-chapter {
    padding: 80px 0;
  }

  .product-chapter__layout {
    display: block;
  }

  .product-chapter__copy {
    max-width: 560px;
    padding: 0;
  }

  .product-chapter__viewport {
    margin-top: 40px;
  }

  .product-reel {
    gap: 20px;
    padding-right: 18vw;
  }

  .product-frame {
    width: min(78vw, 340px);
  }

  .pilot-cta__inner {
    display: block;
  }

  .pilot-cta .button {
    margin-top: 32px;
  }
}

@media (max-width: 700px) {
  .landing-hero {
    padding: 72px 0;
  }

  .landing-hero h1 {
    font-size: 40px;
    line-height: 1.04;
  }

  .locator-rail {
    padding-left: 20px;
  }

  .landing-hero__lead,
  .landing-hero__actions,
  .hero-evidence {
    margin-left: 20px;
  }

  .landing-hero__lead {
    font-size: 17px;
    line-height: 26px;
  }

  .landing-hero__actions {
    align-items: stretch;
  }

  .landing-hero__actions .button {
    width: 100%;
  }

  .hero-evidence {
    width: calc(100% - 20px);
    max-width: 300px;
  }

  .product-section {
    padding-top: 72px;
  }

  .pilot-cta {
    padding: 72px 0;
  }

  .section-intro h2,
  .pilot-cta h2 {
    font-size: 34px;
    line-height: 1.12;
  }

  .section-intro > p:last-child,
  .pilot-cta__inner > p:not(.eyebrow) {
    font-size: 17px;
    line-height: 26px;
  }

  .product-chapter {
    padding: 64px 0;
  }

  .product-chapter__copy h3 {
    font-size: 32px;
  }

  .product-chapter__viewport {
    width: 100%;
  }

  .product-reel {
    gap: 16px;
    padding-right: 16vw;
  }

  .product-frame {
    width: min(78vw, 320px);
  }
}

@media (prefers-reduced-motion: reduce) {
  :root[data-product-motion="bound"] .product-chapter {
    min-height: 0;
    padding: 104px 0;
  }

  :root[data-product-motion="bound"] .product-chapter__sticky {
    position: static;
    height: auto;
    overflow: visible;
  }

  :root[data-product-motion="bound"] .product-chapter__layout {
    position: static;
    display: grid;
    width: min(100%, calc(var(--content-max) + (2 * var(--page-padding))));
    max-width: none;
    height: auto;
    margin-inline: auto;
    padding-inline: var(--page-padding);
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: var(--grid-gutter);
  }

  :root[data-product-motion="bound"] .product-chapter__copy {
    position: static;
    width: auto;
    max-width: 390px;
    padding-top: 42px;
    grid-column: 1 / span 4;
    opacity: 1;
    transform: none;
  }

  :root[data-product-motion="bound"] .product-chapter__viewport {
    position: static;
    overflow-x: auto;
    overflow-y: hidden;
    grid-column: 5 / -1;
    scroll-snap-type: inline mandatory;
  }

  :root[data-product-motion="bound"] .product-reel {
    position: static;
    gap: 24px;
    padding: 0 48px 20px 0;
    transform: none;
  }

  :root[data-product-motion="bound"] .product-frame {
    width: min(82vw, 350px);
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) and (max-width: 1023px) {
  :root[data-product-motion="bound"] .product-chapter__layout {
    display: block;
  }

  :root[data-product-motion="bound"] .product-chapter__copy {
    max-width: 560px;
    padding: 0;
  }

  :root[data-product-motion="bound"] .product-chapter__viewport {
    margin-top: 40px;
  }
}
