:root {
  --ease-enter: cubic-bezier(.22, 1, .36, 1);
  --ease-ui: cubic-bezier(.2, .8, .2, 1);
  --section-gutter: clamp(24px, 4.4vw, 72px);
  --section-max: 1392px;
  --header-height: 82px;
}

html {
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: 0;
}

body {
  background: #fffdf8;
}

.shell {
  width: min(var(--section-max), calc(100% - 64px));
}

.page-deck {
  width: 100%;
}

.page-deck:not(.is-enhanced) {
  height: auto !important;
  overflow: visible !important;
}

.page-deck:not(.is-enhanced) > .swiper-wrapper {
  display: block !important;
  height: auto !important;
  overflow: visible !important;
  transform: none !important;
  transition: none !important;
}

.page-deck:not(.is-enhanced) .swiper-slide {
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
}

.page-deck:not(.is-enhanced) .closing-slide {
  display: block !important;
}

.page-deck.is-enhanced {
  height: 100svh;
  overflow: hidden;
}

.page-deck.is-enhanced > .swiper-wrapper {
  transition-timing-function: cubic-bezier(.65, 0, .25, 1) !important;
}

.page-deck.is-enhanced .swiper-slide {
  height: 100svh !important;
  max-height: 100svh;
  overflow: hidden;
}

.page-deck.is-enhanced .hero {
  width: 100% !important;
  padding-left: max(32px, calc((100vw - var(--section-max)) / 2));
  padding-right: max(32px, calc((100vw - var(--section-max)) / 2));
}

.page-deck.is-enhanced .product-panel {
  width: 100% !important;
  padding-left: max(var(--section-gutter), calc((100vw - var(--section-max)) / 2 + var(--section-gutter)));
  padding-right: max(var(--section-gutter), calc((100vw - var(--section-max)) / 2 + var(--section-gutter)));
}

.page-deck.is-enhanced .product-panel::before {
  left: max(16px, calc((100vw - var(--section-max)) / 2));
  right: max(16px, calc((100vw - var(--section-max)) / 2));
}

.page-deck.is-enhanced .evidence {
  width: calc(100% - 32px) !important;
  height: calc(100svh - 32px) !important;
}

.closing-slide {
  display: grid !important;
  grid-template-rows: 76% 24%;
}

.page-deck.is-enhanced .closing-slide .final-cta {
  min-height: 0;
  height: 100%;
}

.page-deck.is-enhanced .closing-slide .footer {
  min-height: 0;
  height: 100%;
}

.grain {
  opacity: .018;
  pointer-events: none;
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 16px;
  left: 50%;
  width: min(var(--section-max), calc(100% - 40px));
  height: 58px;
  padding: 0 14px 0 18px;
  transform: translateX(-50%);
  border: 1px solid rgba(37, 39, 43, .07);
  border-radius: 18px;
  background: rgba(255, 253, 248, .82);
  box-shadow: 0 10px 38px rgba(37, 39, 43, .045);
  backdrop-filter: blur(18px) saturate(1.35);
  transition: background 300ms ease, box-shadow 300ms ease;
}

.brand img {
  width: 30px;
  height: auto;
  aspect-ratio: 5 / 4;
}

.site-header.is-scrolled {
  background: rgba(255, 253, 248, .94);
  box-shadow: 0 12px 42px rgba(37, 39, 43, .08);
}

.brand b {
  font-size: 20px;
  letter-spacing: -.045em;
}

.nav {
  gap: clamp(22px, 2.6vw, 42px);
}

.nav a,
.nav-actions > a:first-child {
  font-size: 11px;
}

.button {
  min-height: 44px;
  border-radius: 13px;
  transition: transform 220ms var(--ease-ui), box-shadow 220ms var(--ease-ui), background 220ms ease;
}

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

[id] {
  scroll-margin-top: 0;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid #168563;
  outline-offset: 3px;
}

.hero,
.product-panel,
.evidence,
.final-cta {
  scroll-snap-align: start;
  scroll-snap-stop: normal;
}

/* Hero — one complete opening slide */
.hero {
  min-height: 100svh;
  padding: calc(var(--header-height) + clamp(46px, 7vh, 92px)) 0 clamp(52px, 8vh, 96px);
  display: grid;
  grid-template-columns: minmax(430px, .86fr) minmax(620px, 1.14fr);
  align-items: center;
  gap: clamp(28px, 4vw, 74px);
}

.hero-copy {
  padding: 0;
  opacity: 1 !important;
  transform: none !important;
}

.hero-copy .eyebrow {
  display: none;
}

.hero h1 {
  max-width: 650px;
  margin: 0;
  font-size: clamp(58px, 5.25vw, 84px);
  line-height: .98;
  letter-spacing: -.058em;
}

.lead {
  max-width: 470px;
  margin: 28px 0 0;
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.58;
}

.hero .actions {
  margin-top: 34px;
}

.hero-stats {
  margin-top: clamp(48px, 7vh, 82px);
  padding-top: 25px;
  border-top: 1px solid rgba(37, 39, 43, .09);
}

.hero-stats dt {
  font-size: 16px;
}

.hero-stats dd {
  margin-top: 7px;
}

.flow-hero {
  min-height: 600px;
  height: min(67vh, 700px);
  overflow: visible;
  isolation: isolate;
}

.flow-hero::before,
.flow-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 44%;
  aspect-ratio: 1;
  top: 25%;
  border-radius: 50%;
  filter: blur(70px);
  opacity: .17;
}

.flow-hero::before {
  left: 22%;
  background: #ff887d;
}

.flow-hero::after {
  right: 15%;
  background: #71e4bd;
}

.flow-field-art {
  position: absolute;
  inset: 2% -3% 2% -12%;
  width: 115%;
  height: 96%;
  object-fit: cover;
  object-position: center;
  opacity: .82;
  mix-blend-mode: normal;
  -webkit-mask-image:
    radial-gradient(ellipse 76% 72% at center, #000 46%, rgba(0,0,0,.88) 64%, transparent 100%),
    linear-gradient(90deg, transparent 0%, rgba(0,0,0,.18) 8%, #000 24%, #000 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    radial-gradient(ellipse 76% 72% at center, #000 46%, rgba(0,0,0,.88) 64%, transparent 100%),
    linear-gradient(90deg, transparent 0%, rgba(0,0,0,.18) 8%, #000 24%, #000 100%);
  mask-composite: intersect;
  animation: none;
}

.flow-lines {
  display: none;
}

.flow-field-base {
  opacity: .74;
}

.flow-energy {
  opacity: 0;
  animation-play-state: paused;
}

.flow-energy-coral {
  -webkit-mask-image:
    radial-gradient(ellipse 76% 72% at center, #000 46%, rgba(0,0,0,.88) 64%, transparent 100%),
    linear-gradient(90deg, transparent 0%, rgba(0,0,0,.18) 8%, #000 24%, #000 50%, transparent 57%);
  -webkit-mask-composite: source-in;
  mask-image:
    radial-gradient(ellipse 76% 72% at center, #000 46%, rgba(0,0,0,.88) 64%, transparent 100%),
    linear-gradient(90deg, transparent 0%, rgba(0,0,0,.18) 8%, #000 24%, #000 50%, transparent 57%);
  mask-composite: intersect;
  animation: coral-flow 7.2s cubic-bezier(.45, 0, .55, 1) infinite;
}

.flow-energy-mint {
  -webkit-mask-image:
    radial-gradient(ellipse 76% 72% at center, #000 46%, rgba(0,0,0,.88) 64%, transparent 100%),
    linear-gradient(90deg, transparent 43%, #000 50%, #000 96%);
  -webkit-mask-composite: source-in;
  mask-image:
    radial-gradient(ellipse 76% 72% at center, #000 46%, rgba(0,0,0,.88) 64%, transparent 100%),
    linear-gradient(90deg, transparent 43%, #000 50%, #000 96%);
  mask-composite: intersect;
  animation: mint-flow 7.2s cubic-bezier(.45, 0, .55, 1) 1.15s infinite;
}

.source,
.target {
  border-radius: 12px;
  padding: 10px 13px;
  box-shadow: 0 10px 26px rgba(37, 39, 43, .08);
  animation: none;
}

.hero.is-active .flow-energy {
  animation-play-state: running;
  will-change: opacity, transform;
}

.hero.is-active .source,
.hero.is-active .target {
  animation: node-arrive 680ms var(--ease-enter) both;
}

.hero.is-active .source-2 { animation-delay: .08s; }
.hero.is-active .source-3 { animation-delay: .16s; }
.hero.is-active .source-4 { animation-delay: .24s; }
.hero.is-active .target-1 { animation-delay: .38s; }
.hero.is-active .target-2 { animation-delay: .46s; }
.hero.is-active .target-3 { animation-delay: .54s; }
.hero.is-active .target-4 { animation-delay: .62s; }

.hero-mark {
  width: 108px;
  height: auto;
  filter: drop-shadow(0 20px 28px rgba(37, 39, 43, .1));
  animation: none;
}

/* Product chapters — every article owns a viewport */
.product-stack {
  width: 100%;
  max-width: none;
}

.product-panel {
  position: relative;
  width: min(var(--section-max), calc(100% - 64px));
  min-height: 100svh;
  margin: 0 auto;
  padding: calc(var(--header-height) + clamp(34px, 5vh, 64px)) var(--section-gutter) clamp(50px, 7vh, 84px);
  display: grid;
  grid-template-columns: minmax(280px, .38fr) minmax(600px, .92fr);
  gap: clamp(50px, 7vw, 110px);
  align-items: center;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.product-panel::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 18px 0;
  border: 1px solid rgba(37, 39, 43, .06);
  border-radius: clamp(28px, 3vw, 48px);
  background:
    radial-gradient(circle at 10% 45%, rgba(255, 90, 82, .09), transparent 34%),
    linear-gradient(135deg, rgba(255, 248, 245, .94), rgba(255, 253, 248, .98) 58%);
}

.product-panel.mint::before {
  background:
    radial-gradient(circle at 10% 45%, rgba(55, 214, 160, .1), transparent 34%),
    linear-gradient(135deg, rgba(245, 253, 249, .96), rgba(255, 253, 248, .98) 58%);
}

.product-panel::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: 5%;
  top: 50%;
  width: 32%;
  aspect-ratio: 1;
  transform: translateY(-50%);
  border-radius: 50%;
  background: rgba(255, 90, 82, .1);
  filter: blur(80px);
  opacity: .45;
}

.product-panel.mint::after {
  background: rgba(55, 214, 160, .12);
}

.product-copy {
  min-height: 0;
  padding: 0;
  align-self: center;
}

.product-copy .number {
  width: 49px;
  height: 49px;
  margin-bottom: clamp(28px, 4vh, 46px);
  display: grid;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font: 500 15px/1 "DM Mono", monospace;
}

.product-copy .eyebrow {
  display: none;
}

.product-copy h2 {
  max-width: 360px;
  margin: 0 0 22px;
  font-size: clamp(43px, 4.2vw, 66px);
  line-height: 1.02;
  letter-spacing: -.055em;
}

.product-copy > p {
  max-width: 365px;
  font-size: 15px;
  line-height: 1.62;
}

.product-copy ul {
  margin-top: 29px;
  line-height: 2.1;
}

.product-copy > a {
  display: inline-flex;
  margin-top: 34px;
  font-size: 12px;
}

.product-ui {
  width: 100%;
  max-width: 920px;
  margin: 0;
  border: 1px solid rgba(37, 39, 43, .07);
  border-radius: clamp(22px, 2vw, 32px);
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 34px 90px rgba(37, 39, 43, .09), inset 0 1px 0 #fff;
  overflow: hidden;
  transform: none !important;
  transition: box-shadow 500ms var(--ease-ui), transform 500ms var(--ease-ui);
}

.product-panel:hover .product-ui {
  transform: none !important;
  box-shadow: 0 38px 96px rgba(37, 39, 43, .105), inset 0 1px 0 #fff;
}

.generated-demo {
  align-self: center;
  line-height: 0;
}

.generated-demo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.checkout-stage.generated-demo {
  aspect-ratio: 3 / 2;
}

.route-demo,
.operations-demo {
  aspect-ratio: 16 / 9;
}

/* Explainability — a full dark keynote chapter */
.evidence {
  position: relative;
  width: calc(100% - 32px);
  max-width: none;
  min-height: calc(100svh - 32px);
  margin: 16px auto;
  padding: calc(var(--header-height) + clamp(36px, 6vh, 70px)) max(32px, calc((100vw - var(--section-max)) / 2 + var(--section-gutter))) clamp(54px, 8vh, 92px);
  display: grid;
  grid-template-columns: minmax(290px, .36fr) minmax(520px, .78fr) minmax(220px, .28fr);
  gap: clamp(24px, 3vw, 48px);
  align-items: center;
  border-radius: 42px;
  background:
    radial-gradient(circle at 11% 45%, rgba(55, 214, 160, .13), transparent 28%),
    radial-gradient(circle at 82% 52%, rgba(55, 214, 160, .06), transparent 24%),
    #20272c;
  box-shadow: none;
  overflow: hidden;
}

.evidence::before {
  content: "";
  position: absolute;
  inset: 24px;
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: 42px;
  pointer-events: none;
}

.evidence .evidence-copy {
  padding: 0;
}

.evidence .number {
  width: 49px;
  height: 49px;
  margin-bottom: clamp(28px, 4vh, 46px);
  display: grid;
  place-items: center;
  border: 1px solid var(--mint);
  border-radius: 50%;
  color: var(--mint);
}

.evidence .evidence-copy h2 {
  max-width: 410px;
  margin: 0 0 22px;
  font-size: clamp(42px, 3.7vw, 60px);
  line-height: 1.02;
  letter-spacing: -.052em;
}

.evidence .evidence-copy h2 > span {
  white-space: normal;
}

.evidence .evidence-copy > p {
  max-width: 390px;
  font-size: 15px;
  line-height: 1.6;
  white-space: normal;
}

.evidence .evidence-copy ul {
  margin-top: 26px;
  line-height: 2;
}

.evidence .evidence-copy > a {
  display: inline-flex;
  margin-top: 32px;
}

.timeline,
.why {
  position: relative;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 22px;
  background: rgba(48, 57, 63, .64);
  box-shadow: 0 28px 70px rgba(0, 0, 0, .15);
  backdrop-filter: blur(8px);
}

.timeline {
  min-height: 520px;
  align-self: center;
}

.timeline header {
  display: grid;
  min-height: 75px;
  padding: 0 44px;
  grid-template-columns: 92px minmax(138px, .9fr) minmax(175px, 1.15fr) 72px;
  gap: 14px;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  color: #9da5a0;
  font-size: 10px;
}

.timeline ol {
  margin: 0;
  padding: 14px 30px 18px;
}

.timeline li {
  position: relative;
  display: block;
  min-height: 70px;
}

.timeline li button {
  position: relative;
  display: grid;
  grid-template-columns: 92px minmax(138px, .9fr) minmax(175px, 1.15fr) 72px;
  gap: 14px;
  align-items: center;
  width: 100%;
  min-height: 62px;
  padding: 0 14px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: #f2f4f1;
  text-align: left;
  cursor: pointer;
  transition: background 220ms var(--ease-ui), transform 220ms var(--ease-ui);
}

.timeline li button time,
.timeline li button i,
.timeline li button span,
.timeline li button em {
  position: static;
  inset: auto;
  transform: none;
}

.timeline li button time {
  color: #aeb4b0;
  font: 400 10px/1 "DM Mono", monospace;
}

.timeline li button .event {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.timeline li button i {
  flex: 0 0 auto;
  width: 11px;
  height: 11px;
  border: 2px solid var(--mint);
  border-radius: 50%;
  background: #293036;
  z-index: 2;
}

.timeline li button span {
  color: #edf0ec;
  font-size: 12px;
  line-height: 1.35;
  white-space: normal;
}

.timeline li button .detail {
  color: #aeb4b0;
  font-size: 10px;
}

.timeline li button span::before,
.timeline li button i::after {
  content: none;
}

.timeline li:not(:last-child)::after {
  content: "";
  position: absolute;
  z-index: 0;
  top: 38px;
  bottom: -8px;
  left: 126px;
  width: 1px;
  background: rgba(55, 214, 160, .34);
}

.timeline li button em {
  justify-self: start;
  display: inline-flex;
  margin: 0;
  padding: 3px 6px;
  border-radius: 6px;
  background: rgba(55, 214, 160, .1);
  color: var(--mint);
  font-style: normal;
  font-size: 10px;
}

.timeline li button:hover,
.timeline li button:focus-visible,
.timeline li button[aria-pressed="true"] {
  background: rgba(255, 255, 255, .055);
  transform: none;
  outline: none;
}

.timeline li button:focus-visible {
  box-shadow: 0 0 0 2px var(--mint);
}

.why {
  margin: 0;
  padding: 27px 22px;
  align-self: center;
}

.decision-detail {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  color: #aeb4b0;
  font-size: 11px;
  line-height: 1.55;
}

/* Closing slide + footer */
.final-cta {
  position: relative;
  width: 100%;
  max-width: none;
  min-height: 100svh;
  margin: 0;
  padding: calc(var(--header-height) + 34px) max(32px, calc((100vw - var(--section-max)) / 2 + var(--section-gutter))) 70px;
  display: grid;
  grid-template-columns: 1fr;
  place-items: center;
  border: 0;
  border-radius: 0;
  background: #fffdf8;
  overflow: hidden;
}

.final-cta::before {
  content: "";
  position: absolute;
  inset: 24px;
  border: 1px solid rgba(255, 90, 82, .16);
  border-radius: 42px;
  pointer-events: none;
}

.final-cta-copy {
  position: relative;
  z-index: 2;
  width: min(760px, calc(100% - 48px));
  display: grid;
  justify-items: center;
  text-align: center;
}

.cta-brand-mark {
  width: 72px;
  height: auto;
  margin-bottom: 28px;
  filter: drop-shadow(0 16px 24px rgba(37, 39, 43, .1));
}

.final-cta h2 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(52px, 5vw, 78px);
  line-height: .98;
  letter-spacing: -.058em;
}

.final-cta p {
  max-width: 520px;
  margin-top: 26px;
  font-size: 16px;
  line-height: 1.6;
}

.final-cta .actions {
  margin-top: 34px;
  justify-content: center;
}

.mini-flow {
  position: absolute;
  z-index: 1;
  inset: 10% 0;
  height: auto;
  pointer-events: none;
}

.mini-flow .cta-flow-art {
  position: absolute;
  inset: 0;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  mix-blend-mode: normal;
  opacity: .88;
  transform: none;
  animation: none !important;
  -webkit-mask-image: radial-gradient(ellipse 88% 72% at center, #000 54%, rgba(0,0,0,.82) 72%, transparent 100%);
  mask-image: radial-gradient(ellipse 88% 72% at center, #000 54%, rgba(0,0,0,.82) 72%, transparent 100%);
}

.footer {
  width: 100%;
  max-width: none;
  min-height: 24svh;
  padding: 42px max(32px, calc((100vw - var(--section-max)) / 2 + var(--section-gutter))) 46px;
  border-top: 1px solid rgba(37, 39, 43, .07);
  background: #fffdf8;
}

.footer-brand p {
  max-width: 250px;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .75s var(--ease-enter), transform .85s var(--ease-enter);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

.product-panel.reveal,
.evidence.reveal,
.final-cta.reveal {
  opacity: 1;
  transform: none;
  transition: none;
}

@media (min-width: 1200px) and (prefers-reduced-motion: no-preference) {
  .deck-chapter .product-copy,
  .deck-chapter .product-ui,
  .deck-chapter .evidence-copy,
  .deck-chapter .timeline,
  .deck-chapter .why,
  .deck-chapter .final-cta-copy {
    opacity: .8;
    transform: translateY(8px);
    transition: opacity 650ms var(--ease-enter), transform 720ms var(--ease-enter);
  }

  .deck-chapter.is-active .product-copy,
  .deck-chapter.is-active .product-ui,
  .deck-chapter.is-active .evidence-copy,
  .deck-chapter.is-active .timeline,
  .deck-chapter.is-active .why,
  .deck-chapter.is-active .final-cta-copy {
    opacity: 1;
    transform: none;
  }

  .deck-chapter.is-active .product-ui,
  .deck-chapter.is-active .timeline,
  .deck-chapter.is-active .why {
    transition-delay: 90ms;
  }
}

@keyframes flow-drift {
  from { transform: translate3d(-.5%, 0, 0) scale(1.005); }
  to { transform: translate3d(.5%, -.6%, 0) scale(1.015); }
}

@keyframes coral-flow {
  0%, 12%, 100% { opacity: 0; transform: translate3d(-8px, 0, 0) scale(1.002); }
  28%, 54% { opacity: .34; transform: translate3d(2px, 0, 0) scale(1.008); }
  68% { opacity: .08; transform: translate3d(5px, 0, 0) scale(1.004); }
}

@keyframes mint-flow {
  0%, 15%, 100% { opacity: 0; transform: translate3d(-4px, 0, 0) scale(1.002); }
  30%, 58% { opacity: .32; transform: translate3d(6px, 0, 0) scale(1.008); }
  72% { opacity: .07; transform: translate3d(9px, 0, 0) scale(1.004); }
}

@keyframes node-arrive {
  from { transform: translateY(6px); opacity: 0; }
  to { transform: none; opacity: 1; }
}

@keyframes mark-breathe {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-50%, -50%) scale(1.025); }
}

@media (min-width: 1200px) and (prefers-reduced-motion: no-preference) {
  .hero,
  .product-panel,
  .evidence,
  .final-cta,
  .footer {
    scroll-snap-align: none;
  }
}

@media (min-width: 1200px) and (max-height: 820px) {
  html {
    scroll-snap-type: none;
  }

  .hero {
    padding-top: 108px;
    padding-bottom: 34px;
  }

  .flow-hero {
    min-height: 460px;
    height: 62vh;
  }

  .hero-stats {
    margin-top: 34px;
  }

  .product-panel {
    padding-top: 92px;
    padding-bottom: 44px;
  }

  .product-copy .number,
  .evidence .number {
    margin-bottom: 22px;
  }

  .closing-slide {
    grid-template-rows: 72% 28%;
  }

  .page-deck.is-enhanced .closing-slide .final-cta {
    padding-top: 90px;
    padding-bottom: 24px;
  }

  .page-deck.is-enhanced .closing-slide .cta-brand-mark {
    width: 54px;
    height: auto;
    margin-bottom: 12px;
  }

  .page-deck.is-enhanced .closing-slide .final-cta h2 {
    font-size: clamp(46px, 4.2vw, 60px);
  }

  .page-deck.is-enhanced .closing-slide .final-cta p {
    margin-top: 14px;
    font-size: 14px;
  }

  .page-deck.is-enhanced .closing-slide .final-cta .actions {
    margin-top: 16px;
  }

  .page-deck.is-enhanced .closing-slide .footer {
    padding-top: 24px;
    padding-bottom: 22px;
  }

  .product-copy h2,
  .evidence .evidence-copy h2 {
    font-size: clamp(40px, 3.7vw, 56px);
  }

  .timeline {
    min-height: 450px;
  }
}

@media (max-width: 1120px) {
  .hero {
    grid-template-columns: .88fr 1.12fr;
  }

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

  .flow-hero {
    min-height: 520px;
  }

  .product-panel {
    grid-template-columns: minmax(260px, .4fr) minmax(480px, .9fr);
    gap: 42px;
  }

  .evidence {
    grid-template-columns: minmax(260px, .42fr) minmax(470px, .78fr);
  }

  .why {
    position: absolute;
    right: 5%;
    bottom: 5%;
    width: 245px;
  }

}

@media (max-width: 900px) {
  html {
    scroll-snap-type: none;
  }

  .page-deck,
  .page-deck > .swiper-wrapper {
    height: auto !important;
    overflow: visible;
    transform: none !important;
  }

  .page-deck > .swiper-wrapper {
    display: block !important;
  }

  .page-deck .swiper-slide {
    height: auto !important;
    max-height: none;
    overflow: visible;
  }

  .closing-slide {
    display: block !important;
  }

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

  .nav-actions {
    display: none;
  }

  .nav-toggle {
    display: grid;
    width: 40px;
    height: 40px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    align-content: center;
    gap: 6px;
    padding: 11px;
  }

  .nav-toggle span {
    height: 1px;
    background: var(--ink);
  }

  .nav {
    display: none;
    position: absolute;
    top: 66px;
    left: 0;
    right: 0;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(255, 253, 248, .98);
    box-shadow: var(--shadow);
    flex-direction: column;
  }

  .nav.open {
    display: flex;
  }

  .hero,
  .product-panel,
  .evidence,
  .final-cta {
    min-height: auto;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 150px;
    padding-bottom: 80px;
  }

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

  .flow-hero {
    width: 100%;
    height: 560px;
    margin-top: 30px;
  }

  .product-panel {
    width: calc(100% - 36px);
    margin-bottom: 28px;
    padding: 110px 38px 76px;
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .product-copy h2 {
    max-width: 560px;
  }

  .product-copy > p {
    max-width: 520px;
  }

  .evidence {
    padding: 120px 38px 80px;
    grid-template-columns: 1fr;
  }

  .evidence .evidence-copy h2 {
    max-width: 580px;
  }

  .timeline {
    width: 100%;
  }

  .why {
    position: static;
    width: 100%;
  }

  .final-cta {
    padding: 130px 38px 80px;
    grid-template-columns: 1fr;
  }

  .mini-flow {
    height: 430px;
  }

  .footer {
    width: 100%;
    padding: 52px 38px;
  }
}

@media (max-width: 600px) {
  :root {
    --header-height: 70px;
  }

  .shell {
    width: calc(100% - 32px);
  }

  .site-header {
    top: 10px;
    width: calc(100% - 20px);
    height: 54px;
  }

  .hero {
    min-height: 100svh;
    padding: 96px 0 34px;
  }

  .hero h1 {
    font-size: clamp(43px, 12.7vw, 54px);
    line-height: .97;
  }

  .lead {
    margin-top: 22px;
    font-size: 15px;
  }

  .hero .actions {
    margin-top: 24px;
  }

  .hero-stats {
    display: none;
  }

  .flow-hero {
    min-height: 0;
    height: 285px;
    margin-top: 18px;
  }

  .source,
  .target {
    padding: 7px 9px;
    font-size: 8px;
  }

  .hero-mark {
    width: 68px;
  }

  .product-panel {
    width: calc(100% - 20px);
    margin-bottom: 18px;
    padding: 72px 20px 42px;
    gap: 28px;
  }

  .product-panel::before {
    inset: 8px 0;
    border-radius: 28px;
  }

  .product-copy {
    padding: 0 8px;
  }

  .product-copy .number,
  .evidence .number {
    width: 42px;
    height: 42px;
    margin-bottom: 20px;
    font-size: 13px;
  }

  .product-copy h2,
  .evidence .evidence-copy h2 {
    margin-bottom: 16px;
    font-size: 38px;
  }

  .product-copy > p {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
  }

  .product-copy ul {
    margin-top: 18px;
    font-size: 12px;
    line-height: 1.8;
  }

  .product-copy > a {
    margin-top: 18px;
  }

  .product-ui {
    border-radius: 18px;
  }

  .checkout-stage.generated-demo {
    aspect-ratio: 3 / 2;
  }

  .route-demo,
  .operations-demo {
    aspect-ratio: 16 / 9;
  }

  .generated-demo img {
    object-fit: contain;
    object-position: center;
  }

  .evidence {
    width: calc(100% - 16px);
    min-height: auto;
    margin: 8px auto;
    padding: 78px 20px 46px;
    border-radius: 28px;
    gap: 24px;
  }

  .evidence::before {
    inset: 10px;
    border-radius: 28px;
  }

  .evidence-copy {
    padding: 0 8px !important;
  }

  .evidence .evidence-copy > p {
    margin: 0;
    font-size: 13px;
  }

  .evidence .evidence-copy ul {
    margin-top: 16px;
    font-size: 12px;
    line-height: 1.75;
  }

  .evidence .evidence-copy > a {
    margin-top: 18px;
  }

  .timeline {
    min-height: 340px;
  }

  .timeline header {
    padding: 18px 16px 10px;
    grid-template-columns: 66px 1fr;
    font-size: 8px;
  }

  .timeline header span:nth-child(n+3) {
    display: none;
  }

  .timeline ol {
    padding: 10px 14px 14px;
  }

  .timeline li {
    min-height: 48px;
  }

  .timeline li button {
    min-height: 46px;
    grid-template-columns: 66px minmax(0, 1fr);
    padding: 0 8px;
  }

  .timeline li button .detail,
  .timeline li button > em {
    display: none;
  }

  .timeline li:not(:last-child)::after {
    top: 29px;
    bottom: -5px;
    left: 88px;
  }

  .why {
    display: none;
  }

  .final-cta {
    min-height: 100svh;
    padding: 88px 24px 50px;
    text-align: center;
    gap: 20px;
  }

  .final-cta::before {
    inset: 10px;
    border-radius: 28px;
  }

  .final-cta h2 {
    width: 100%;
    font-size: clamp(34px, 9.5vw, 42px);
    line-height: 1;
  }

  .final-cta-copy {
    width: 100%;
  }

  .cta-brand-mark {
    width: 56px;
    height: auto;
    aspect-ratio: 5 / 4;
    margin-bottom: 22px;
  }

  .final-cta .actions {
    justify-content: center;
    gap: 10px;
  }

  .final-cta .contact-link {
    min-height: 44px;
    padding: 0 18px;
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(37, 39, 43, .14);
    border-radius: 13px;
  }

  .mini-flow {
    height: 250px;
  }

  .footer {
    min-height: auto;
    padding: 40px 24px;
    grid-template-columns: 1fr 1fr;
    gap: 28px 22px;
    font-size: 9px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
    scroll-snap-type: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .flow-field-art,
  .hero-mark,
  .mini-flow .cta-mark {
    animation: none !important;
  }

  .button,
  .product-ui,
  .timeline button,
  .source,
  .target {
    transition-duration: .01ms !important;
    transform: none !important;
  }

  .source,
  .target,
  .flow-energy {
    animation: none !important;
    opacity: 1;
    transform: none !important;
  }
}
