:root {
  --navy: #0a1a2f;
  --road: #11253f;
  --azure: #3aa0ff;
  --route: #174a8a;
  --page: #f4f8fc;
  --sky: #dceeff;
  --mist: #9fb6cf;
  --spark: #ff7a45;
  --ink: #091b31;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--navy);
  color: white;
  font-family: "Overpass", "Arial Narrow", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection {
  color: var(--navy);
  background: var(--azure);
}
a {
  text-decoration: none;
  color: inherit;
}
button,
input {
  font: inherit;
}
button {
  cursor: pointer;
}
button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 3px solid var(--azure);
  outline-offset: 4px;
}
.mono {
  font-family: "Overpass Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  font-weight: 600;
  text-transform: uppercase;
}
.sky {
  color: var(--mist);
}
.azure {
  color: var(--azure);
}
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 80;
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(24px, 4.5vw, 84px);
  border-bottom: 1px solid rgba(159, 182, 207, 0.13);
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  white-space: nowrap;
}
.logo-icon {
  height: 39px;
  width: 39px;
  display: inline-block;
}
.logo-word {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 37px;
}
.nav-links a {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-family: "Overpass Mono", monospace;
  font-weight: 600;
  color: #c2d0e0;
  transition: color 0.3s;
}
.nav-links a:hover {
  color: white;
}
.header-cta {
  border: 1px solid rgba(220, 238, 255, 0.42);
  padding: 14px 18px;
  border-radius: 100px;
  font-family: "Overpass Mono", monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  gap: 24px;
  transition:
    background 0.25s,
    color 0.25s,
    transform 0.25s;
}
.header-cta:hover {
  background: var(--page);
  color: var(--navy);
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid #46607a;
  border-radius: 30px;
  padding: 8px 12px;
  color: #fff;
}
.hero {
  min-height: 900px;
  height: 100svh;
  position: relative;
  display: flex;
  overflow: hidden;
  background: var(--navy);
}

.hero-content {
  position: relative;
  z-index: 4;
  width: 61%;
  max-width: 1000px;
  padding: clamp(170px, 23vh, 235px) 0 150px clamp(24px, 7.6vw, 145px);
  pointer-events: none;
}
.hero-content > * {
  pointer-events: auto;
}

.hero-title {
  font-size: clamp(66px, 8.05vw, 151px);
  letter-spacing: -0.042em;
  line-height: 0.91;
  margin: 0;
  font-weight: 800;
  white-space: nowrap;
}
.hero-title .outline {
  color: transparent;
  -webkit-text-stroke: 1.5px #93b4d6;
}
.hero-title .last {
  color: var(--azure);
}
.hero-copy {
  margin: 35px 0 34px;
  max-width: 465px;
  color: #c7d7e9;
  font-size: clamp(16px, 1.48vw, 20px);
  line-height: 1.53;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 29px;
  flex-wrap: wrap;
}
.primary-cta {
  color: var(--navy);
  background: var(--azure);
  border: 0;
  border-radius: 100px;
  padding: 18px 18px 18px 27px;
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  font-size: 15px;
  font-weight: 800;
  transition:
    transform 0.3s var(--ease),
    background 0.3s;
}

.primary-cta:hover {
  transform: translateY(-4px);
  background: #82c4ff;
}
.text-cta {
  font-family: "Overpass Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  border-bottom: 1px solid var(--mist);
  padding-bottom: 7px;
  transition: color 0.25s;
}
.text-cta:hover {
  color: var(--azure);
}

.hero-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 19px clamp(24px, 4.5vw, 84px) 24px;
  z-index: 8;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgba(159, 182, 207, 0.13);
}

.scroll-cue {
  display: flex;
  align-items: center;
  gap: 20px;
  color: #dceeff;
  animation: nudge 1.5s ease-in-out infinite alternate;
}
@keyframes nudge {
  to {
    transform: translateY(7px);
  }
}
.scroll-cue-icon {
  height: 39px;
  width: 27px;
  border: 1px solid #7e9cb7;
  border-radius: 20px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}
.scroll-cue-icon::after {
  content: "";
  height: 8px;
  width: 3px;
  background: var(--azure);
  border-radius: 3px;
}

/* The scroll-as-road chapter */
.journey {
  height: 540vh;
  position: relative;
  background: var(--navy);
}
.journey-stick {
  position: sticky;
  top: 0;
  height: 100svh;
  min-height: 660px;
  overflow: hidden;
  background: var(--navy);
}
.journey-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 76px;
  padding: 0 clamp(24px, 4.5vw, 84px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 22;
  border-bottom: 1px solid rgba(159, 182, 207, 0.2);
  background: var(--navy);
}
.chapter-dots {
  display: flex;
  gap: 10px;
  align-items: center;
}
.chapter-dot {
  width: 22px;
  height: 4px;
  background: #48627c;
  border: 0;
  padding: 0;
  transition:
    width 0.45s,
    background 0.45s;
}
.chapter-dot.on {
  width: 67px;
  background: var(--azure);
}
.journey-rail {
  height: 100%;
  width: 500vw;
  display: flex;
  will-change: transform;
  transform: translate3d(0, 0, 0);
}
.road-chapter {
  width: 100vw;
  flex: none;
  height: 100%;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  isolation: isolate;
}
.chapter-copy {
  position: relative;
  z-index: 9;
  width: 50%;
  padding-left: clamp(30px, 9vw, 165px);
  padding-top: 7vh;
}
.gear-index {
  color: var(--azure);
  display: block;
  margin-bottom: 23px;
}
.chapter-h1 {
  font-weight: 800;
  letter-spacing: -0.035em;
  font-size: clamp(72px, 8.6vw, 148px);
  line-height: 0.89;
  margin: 0 0 28px;
}
.chapter-h1 span {
  display: block;
}
.chapter-desc {
  font-size: clamp(17px, 1.7vw, 24px);
  line-height: 1.4;
  max-width: 400px;
  color: #d0deed;
}

.journey-hud {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 105px;
  background: #07172b;
  z-index: 20;
  border-top: 1px solid #2b4660;
  display: grid;
  grid-template-columns: 1fr 1.4fr 1fr;
  align-items: center;
  padding: 0 clamp(24px, 4.5vw, 84px);
  gap: 25px;
}
.hud-gear {
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.hud-gear.pulse .big {
  animation: gearPop 0.48s var(--ease);
}
@keyframes gearPop {
  0% {
    transform: translateY(9px);
    opacity: 0.3;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}
.hud-gear .big {
  font-size: 50px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--azure);
}
.hud-gear .small {
  font:
    600 11px "Overpass Mono",
    monospace;
  color: #c0d4e9;
  letter-spacing: 0.03em;
}
.hud-progress {
  position: relative;
  height: 5px;
  background: #294966;
  overflow: visible;
}
/* Driven by transform from js/main.js: no layout work while scrolling */
.hud-progress .fill {
  height: 100%;
  width: 100%;
  background: var(--azure);
  transform: scaleX(0);
  transform-origin: left center;
  will-change: transform;
}
.hud-progress:before,
.hud-progress:after {
  content: "";
  position: absolute;
  top: -6px;
  width: 1px;
  height: 18px;
  background: #7395b8;
}
.hud-progress:before {
  left: 0;
}
.hud-progress:after {
  right: 0;
}
.hud-label {
  display: flex;
  justify-content: space-between;
  font:
    600 10px "Overpass Mono",
    monospace;
  color: #aac2db;
  letter-spacing: 0.1em;
  margin-top: 12px;
}
.hud-status {
  text-align: right;
}
.hud-status strong {
  display: block;
  font-size: 18px;
  font-weight: 800;
}
.hud-status span {
  font-size: 10px;
  color: #acc2d9;
}

/* demo */
.section-light {
  background: var(--page);
  color: var(--navy);
}
.demo-section {
  position: relative;
  min-height: 950px;
  padding: 135px clamp(24px, 8vw, 150px) 155px;
  overflow: hidden;
}

.demo-title {
  font-size: clamp(58px, 6.9vw, 120px);
  letter-spacing: -0.035em;
  font-weight: 800;
  line-height: 0.93;
  margin: 56px 0 24px;
  max-width: 1030px;
}
.demo-title i {
  font-style: normal;
  color: var(--route);
}
.demo-sub {
  max-width: 560px;
  font-size: 19px;
  line-height: 1.55;
  color: #4b637e;
}
.demo-layout {
  margin-top: 75px;
  display: grid;
  grid-template-columns: minmax(230px, 0.75fr) minmax(450px, 1.25fr);
  gap: 8%;
  align-items: start;
}
.demo-control {
  padding-top: 20px;
}
.demo-control h3 {
  font-size: 31px;
  letter-spacing: -0.05em;
  margin: 15px 0;
}
.demo-control p {
  max-width: 280px;
  color: #5d7590;
  line-height: 1.6;
}
.scenario-label {
  margin-top: 37px;
  color: #516d88;
}
.scenario-buttons {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-top: 18px;
  max-width: 325px;
}
.scenario-btn {
  background: transparent;
  border: 1px solid #b7ccdf;
  border-radius: 11px;
  padding: 16px 18px;
  text-align: left;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-weight: 800;
  color: var(--navy);
  transition:
    background 0.3s,
    border 0.3s,
    transform 0.3s;
}
.scenario-btn:hover {
  transform: translateX(5px);
}
.scenario-btn.active {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}
.scenario-btn .mono {
  font-size: 9px;
  opacity: 0.7;
}

@keyframes fadeup {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* sentence wall */
.manifesto {
  min-height: 810px;
  padding: 120px clamp(24px, 8vw, 150px) 130px;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
.manifesto-heading {
  font-size: clamp(76px, 10.65vw, 185px);
  font-weight: 800;
  line-height: 0.87;
  letter-spacing: -0.038em;
  margin: 85px 0 32px;
  max-width: 1400px;
}
.manifesto-heading span {
  color: var(--azure);
}
.manifesto-under {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 35px;
}
.manifesto-under p {
  max-width: 490px;
  color: #bbcde1;
  font-size: 20px;
  line-height: 1.5;
}

/* method */
.method-section {
  background: var(--sky);
  color: var(--navy);
  padding: 140px clamp(24px, 8vw, 150px);
}
.method-head {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  align-items: end;
}
.method-head h2 {
  font-size: clamp(59px, 7vw, 116px);
  letter-spacing: -0.04em;
  line-height: 0.91;
  max-width: 900px;
  margin: 32px 0 0;
}
.method-head p {
  font-size: 19px;
  line-height: 1.5;
  color: #4b6683;
  max-width: 285px;
}
.method-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 79px;
}
.method-card {
  min-height: 315px;
  position: relative;
  padding: 30px 24px 30px;
  background: var(--page);
  border: 1px solid #c1d6e7;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition:
    transform 0.35s var(--ease),
    background 0.35s;
}
.method-card:hover {
  transform: translateY(-12px);
  background: white;
}
.method-card .number {
  font-size: 11px;
  color: var(--route);
  font-family: "Overpass Mono", monospace;
  font-weight: 600;
}
.method-card h3 {
  font-size: 39px;
  letter-spacing: -0.06em;
  line-height: 1.02;
  margin: 0;
}
.method-card p {
  font-size: 15px;
  color: #49627d;
  line-height: 1.5;
  margin: 13px 0 0;
}

/* Teams */
.teams {
  padding: 140px clamp(24px, 8vw, 150px);
  background: var(--page);
  color: var(--navy);
  position: relative;
  overflow: hidden;
}
.teams-layout {
  display: grid;
  grid-template-columns: 1fr 1.04fr;
  gap: 9%;
  align-items: center;
}
.teams h2 {
  font-size: clamp(64px, 7.5vw, 120px);
  line-height: 0.92;
  letter-spacing: -0.04em;
  margin: 29px 0;
}
.teams p {
  font-size: 19px;
  line-height: 1.5;
  max-width: 450px;
  color: #516984;
}
.teams .teams-btn {
  margin-top: 25px;
  display: inline-flex;
  align-items: center;
  gap: 20px;
  border-bottom: 2px solid var(--route);
  padding-bottom: 8px;
  font-weight: 800;
}
.team-dashboard {
  background: var(--navy);
  color: #fff;
  border-radius: 20px;
  padding: 32px;
  transform: rotate(2deg);
  box-shadow: 17px 20px 0 #dce8f2;
  transition: transform 0.5s var(--ease);
}
.team-dashboard:hover {
  transform: rotate(0deg);
}
.team-head {
  border-bottom: 1px solid #324f6d;
  padding-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.team-head h3 {
  font-size: 21px;
  letter-spacing: -0.03em;
  margin: 0;
}
.team-chart {
  height: 240px;
  display: flex;
  gap: 13px;
  align-items: flex-end;
  margin-top: 38px;
}
.team-col {
  flex: 1;
  text-align: center;
  min-width: 0;
}
.team-bar {
  height: var(--h);
  background: #37638d;
  border-radius: 7px 7px 0 0;
  position: relative;
  transition: height 0.8s var(--ease);
}
.team-col:nth-child(4) .team-bar,
.team-col:nth-child(5) .team-bar {
  background: var(--azure);
}
.team-col strong {
  font:
    600 10px "Overpass Mono",
    monospace;
  letter-spacing: 0.02em;
  color: #d1e0ec;
  display: block;
  margin-top: 16px;
}
.team-stat {
  margin-top: 28px;
  border-top: 1px solid #324f6d;
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.team-stat strong {
  font-size: 37px;
  letter-spacing: -0.06em;
}
.team-stat span {
  color: #a9c2d9;
  font-size: 13px;
  max-width: 200px;
}

/* final */
.final-section {
  background: var(--navy);
  position: relative;
  overflow: hidden;
  min-height: 700px;
  padding: 110px clamp(24px, 8vw, 150px) 62px;
}
.final-section::before {
  content: "";
  position: absolute;
  right: -17%;
  top: 4%;
  width: 65%;
  height: 100%;
  border: 1px solid #203c58;
  border-radius: 50%;
  box-shadow:
    0 0 0 95px #0d2137,
    0 0 0 96px #203c58,
    0 0 0 190px #0b1d32,
    0 0 0 191px #203c58;
  pointer-events: none;
}
.final-inner {
  position: relative;
  z-index: 2;
}
.final-section h2 {
  font-size: clamp(85px, 11.2vw, 190px);
  line-height: 0.89;
  letter-spacing: -0.038em;
  font-weight: 800;
  margin: 74px 0 37px;
}
.final-section h2 span {
  color: var(--azure);
}
.final-section p {
  font-size: 20px;
  color: #b6cee5;
  max-width: 460px;
  margin-bottom: 31px;
  line-height: 1.55;
}
.final-footer {
  margin-top: 155px;
  padding-top: 28px;
  border-top: 1px solid #2b4660;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
}
.footer-logo .logo-word {
  font-size: 42px;
}
.footer-right {
  display: flex;
  gap: 35px;
  align-items: center;
  color: #a9c1d9;
  font:
    600 10px "Overpass Mono",
    monospace;
  letter-spacing: 0.06em;
}
.footer-right a:hover {
  color: #fff;
}

/* overlays, reveals, interactions */
/* Hidden only when JS runs, so no-JS crawlers and readers still see content. */
.js .reveal {
  opacity: 0;
  transform: translateY(45px);
  transition:
    opacity 0.85s var(--ease),
    transform 0.85s var(--ease);
}
.js .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal.delay1 {
  transition-delay: 0.12s;
}
.reveal.delay2 {
  transition-delay: 0.23s;
}

.mobile-nav {
  display: none;
}
@media (min-width: 1500px) {
  .hero-content {
    padding-left: 8.5vw;
  }
}
@media (max-width: 1100px) {
  .hero-content {
    width: 69%;
  }
  .hero-title {
    font-size: clamp(67px, 8.9vw, 100px);
  }

  .chapter-copy {
    width: 57%;
    padding-left: 7vw;
  }
  .method-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .demo-layout {
    gap: 5%;
  }
  .teams-layout {
    gap: 5%;
  }
}
@media (max-width: 700px) {
  html {
    scroll-behavior: auto;
  }
  .site-header {
    height: 74px;
    padding: 0 23px;
  }
  .logo-icon {
    height: 32px;
    width: 32px;
  }
  .logo-word {
    font-size: 28px;
  }
  .site-header .nav-links,
  .site-header .header-cta {
    display: none;
  }
  .menu-toggle {
    display: block;
  }
  .mobile-nav {
    display: none;
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    background: #122943;
    border-bottom: 1px solid #39546f;
    padding: 25px;
    flex-direction: column;
    gap: 23px;
    align-items: start;
  }
  .mobile-nav.open {
    display: flex;
  }
  .mobile-nav a {
    font:
      600 13px "Overpass Mono",
      monospace;
    letter-spacing: 0.08em;
  }
  .hero {
    min-height: 790px;
    height: 100svh;
  }
  .hero-content {
    width: 100%;
    padding: 154px 25px 260px;
  }
  .hero-title {
    font-size: clamp(61px, 14vw, 89px);
    white-space: normal;
  }
  .hero-copy {
    font-size: 17px;
    max-width: 340px;
    margin-top: 26px;
  }

  .hero-bottom {
    padding: 15px 23px 20px;
  }

  .scroll-cue {
    font-size: 8px;
    gap: 10px;
  }
  .hero-actions {
    gap: 19px;
  }
  .primary-cta {
    font-size: 13px;
    gap: 22px;
    padding: 14px 14px 14px 21px;
    min-height: 50px;
  }
  .journey {
    height: 480vh;
  }
  .journey-stick {
    min-height: 0;
  }
  .journey-top {
    height: 60px;
    padding: 0 22px;
  }
  .journey-top .mono {
    font-size: 9px;
  }
  .chapter-dot {
    width: 11px;
  }
  .chapter-dot.on {
    width: 25px;
  }
  .road-chapter {
    align-items: flex-start;
  }
  .chapter-copy {
    width: 100%;
    padding: 19vh 30px 0;
    z-index: 10;
  }
  .chapter-h1 {
    font-size: clamp(65px, 15.1vw, 103px);
    margin-bottom: 18px;
  }
  .chapter-desc {
    font-size: 18px;
    max-width: 335px;
  }

  .journey-hud {
    height: 80px;
    padding: 0 21px;
    grid-template-columns: 0.95fr 1.2fr;
    gap: 18px;
  }
  .hud-gear .big {
    font-size: 38px;
  }
  .hud-gear .small {
    font-size: 9px;
  }
  .hud-status {
    display: none;
  }
  .hud-label {
    font-size: 8px;
  }
  .demo-section,
  .method-section,
  .teams {
    padding: 85px 25px 100px;
  }
  .demo-title {
    font-size: clamp(55px, 12.5vw, 81px);
    margin-top: 40px;
  }
  .demo-sub {
    font-size: 17px;
  }
  .demo-layout {
    grid-template-columns: 1fr;
    gap: 38px;
    margin-top: 32px;
  }
  .demo-control {
    padding: 0;
  }
  .demo-control h3 {
    font-size: 26px;
  }
  .demo-control p {
    max-width: 450px;
  }
  .scenario-buttons {
    max-width: none;
    flex-direction: row;
    gap: 7px;
  }
  .scenario-btn {
    flex: 1;
    padding: 12px 10px;
    font-size: 12px;
    flex-direction: column;
  }
  .scenario-btn .mono {
    font-size: 8px;
  }

  .manifesto {
    min-height: 650px;
    padding: 85px 25px 105px;
  }
  .manifesto-heading {
    font-size: clamp(70px, 14.4vw, 110px);
    margin: 70px 0 25px;
  }
  .manifesto-under p {
    font-size: 17px;
  }

  .method-head {
    display: block;
  }
  .method-head h2 {
    font-size: clamp(60px, 12vw, 89px);
  }
  .method-head p {
    font-size: 17px;
    margin-top: 25px;
  }
  .method-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 45px;
  }
  .method-card {
    min-height: 250px;
    padding: 21px 17px;
  }
  .method-card h3 {
    font-size: 29px;
  }
  .method-card p {
    font-size: 12px;
  }

  .teams-layout {
    grid-template-columns: 1fr;
    gap: 55px;
  }
  .teams h2 {
    font-size: clamp(58px, 12vw, 90px);
  }
  .teams p {
    font-size: 17px;
  }
  .team-dashboard {
    padding: 22px;
    transform: none;
    box-shadow: 10px 12px 0 #dce8f2;
  }
  .team-chart {
    height: 180px;
  }
  .team-col strong {
    font-size: 8px;
  }
  .team-stat strong {
    font-size: 30px;
  }
  .final-section {
    padding: 80px 25px 45px;
    min-height: 620px;
  }
  .final-section h2 {
    font-size: clamp(70px, 14vw, 100px);
  }
  .final-section p {
    font-size: 17px;
  }
  .final-footer {
    margin-top: 115px;
    align-items: flex-start;
    flex-direction: column;
  }
  .footer-right {
    gap: 16px;
    flex-wrap: wrap;
  }
}
@media (max-width: 380px) {
  .hero-title {
    font-size: 58px;
  }
  .hero-content {
    padding-top: 140px;
  }
  .chapter-h1 {
    font-size: 62px;
  }
  .method-card h3 {
    font-size: 25px;
  }

  .footer-right {
    font-size: 8px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Upshift v2 — brand-accurate typography, reduced ornament, responsive cinematic road */
html {
  overflow-x: clip;
  scroll-padding-top: 20px;
}
body {
  overflow-x: clip;
}
.logo-word {
  font-weight: 800;
  letter-spacing: -0.035em;
}
h1,
h2,
h3 {
  font-family: "Overpass", "Arial Narrow", Arial, sans-serif;
  font-weight: 800;
}
.hero {
  min-height: 740px;
  height: 100svh;
}
.hero-content {
  width: 67%;
  padding-top: clamp(185px, 24vh, 260px);
}
.hero-title {
  font-weight: 800;
  letter-spacing: -0.038em;
  line-height: 0.96;
  font-size: clamp(68px, 7.7vw, 142px);
}
.hero-title .outline {
  -webkit-text-stroke: 1.25px #9fb6cf;
}
.hero-copy {
  max-width: 440px;
  line-height: 1.5;
}

.hero-bottom {
  justify-content: flex-end;
  border-top: 0;
  padding-bottom: 25px;
}
.scroll-cue {
  font-family: "Overpass", sans-serif;
  letter-spacing: 0;
  font-size: 14px;
  font-weight: 600;
  color: #dceeff;
}
.journey {
  height: 570svh;
}
.journey-stick {
  height: 100svh;
  min-height: 0;
  max-height: none;
  touch-action: pan-y;
}
.journey-rail,
.road-chapter {
  touch-action: pan-y;
}
.journey-kicker {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: #dceeff;
}
.journey-top {
  height: 70px;
}
.chapter-dot {
  position: relative;
  min-width: 32px;
  width: 32px;
  height: 35px;
  background: transparent;
  border: 0;
  border-radius: 0;
  touch-action: manipulation;
}
.chapter-dot::before {
  content: "";
  display: block;
  height: 3px;
  width: 100%;
  background: #4e6780;
  transition:
    background 0.25s,
    transform 0.25s;
}
.chapter-dot.on {
  width: 32px;
  background: transparent;
}
.chapter-dot.on::before {
  background: var(--azure);
  transform: scaleY(2);
}
.chapter-h1 {
  letter-spacing: -0.038em;
  line-height: 0.93;
}
.chapter-copy {
  padding-top: 1vh;
}
.gear-index {
  font-family: "Overpass Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  font-weight: 600;
  color: var(--azure);
  margin-bottom: 22px;
}
.chapter-desc {
  font-weight: 400;
}
.hud-gear .big {
  font-weight: 800;
  letter-spacing: -0.045em;
}
.demo-section {
  padding-top: 110px;
}
.demo-title {
  margin-top: 28px;
  letter-spacing: -0.036em;
}
.manifesto {
  padding-top: 100px;
  min-height: 710px;
}
.manifesto-heading {
  margin-top: 25px;
  letter-spacing: -0.038em;
  line-height: 0.94;
}
.method-head h2,
.teams h2,
.final-section h2 {
  letter-spacing: -0.038em;
}
.scenario-buttons {
  margin-top: 18px;
}
.final-section {
  padding-top: 120px;
}
.final-section h2 {
  margin-top: 24px;
}
@media (max-width: 700px) {
  html,
  body {
    overflow-x: clip;
  }
  .site-header {
    height: 72px;
    padding: 0 22px;
  }
  .site-header .logo-word {
    font-size: 27px;
  }
  .menu-toggle {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 9px 14px;
    font-size: 13px;
    font-weight: 600;
    text-transform: none;
  }
  .mobile-nav {
    top: 72px;
  }
  .hero {
    height: 100svh;
    min-height: 640px;
    max-height: none;
  }
  .hero-content {
    width: 100%;
    max-width: none;
    padding: clamp(150px, 22svh, 205px) 24px 0;
    z-index: 4;
  }
  .hero-title {
    font-size: clamp(57px, 13.5vw, 77px);
    letter-spacing: -0.04em;
    line-height: 0.99;
    white-space: normal;
  }
  .hero-copy {
    font-size: 16px;
    line-height: 1.52;
    max-width: 335px;
    margin: 26px 0 25px;
  }
  .hero-actions {
    display: flex;
    align-items: center;
    gap: 15px;
  }
  .primary-cta {
    font-size: 14px;
  }
  .text-cta {
    font:
      600 13px "Overpass",
      sans-serif;
    letter-spacing: 0;
    text-transform: none;
  }

  .hero-bottom {
    justify-content: flex-end;
    padding: 14px 24px 22px;
  }
  .scroll-cue {
    gap: 12px;
    font-size: 13px;
  }
  .scroll-cue-icon {
    width: 22px;
    height: 33px;
    padding-top: 6px;
  }
  .journey {
    height: 565svh;
  }
  .journey-stick {
    height: 100svh;
    min-height: 0;
    overflow: hidden;
  }
  .journey-top {
    height: 66px;
    padding: 0 20px;
  }
  .journey-kicker {
    font-size: 15px;
  }
  .chapter-dots {
    gap: 4px;
  }
  .chapter-dot,
  .chapter-dot.on {
    width: 28px;
    min-width: 28px;
    height: 40px;
  }
  .road-chapter {
    height: 100%;
    align-items: flex-start;
  }
  .chapter-copy {
    padding: 0 24px;
    width: 100%;
    position: absolute;
    top: clamp(102px, 15svh, 135px);
  }
  .gear-index {
    font-size: 10px;
    letter-spacing: 0.045em;
    display: block;
    margin-bottom: 15px;
  }
  .chapter-h1 {
    font-size: clamp(57px, 14.8vw, 78px);
    line-height: 0.94;
    letter-spacing: -0.04em;
    margin-bottom: 16px;
  }
  .chapter-desc {
    font-size: clamp(16px, 4.15vw, 18px);
    line-height: 1.42;
    max-width: min(335px, 90vw);
  }

  .journey-hud {
    height: 82px;
    padding: 0 20px;
    grid-template-columns: 1fr 1fr;
    gap: 13px;
  }
  .hud-gear {
    gap: 8px;
    align-items: center;
  }
  .hud-gear .big {
    font-size: 43px;
  }
  .hud-gear .small {
    max-width: 110px;
    line-height: 1.15;
    font-size: 9px;
  }
  .hud-label {
    margin-top: 9px;
    gap: 4px;
    font-size: 8px;
    letter-spacing: 0;
  }
  .hud-label span:nth-child(2) {
    display: none;
  }
  .hud-label span:last-child {
    margin-left: auto;
  }
  .demo-section,
  .method-section,
  .teams {
    padding: 80px 24px 94px;
  }
  .demo-title {
    margin-top: 0;
    font-size: clamp(48px, 11.8vw, 70px);
    letter-spacing: -0.035em;
  }
  .demo-sub {
    font-size: 16px;
  }
  .demo-layout {
    margin-top: 40px;
  }
  .demo-control h3 {
    margin-top: 0;
  }
  .scenario-buttons {
    margin-top: 23px;
  }
  .manifesto {
    padding: 90px 24px 100px;
    min-height: 520px;
  }
  .manifesto-heading {
    margin: 0 0 25px;
    font-size: clamp(58px, 13vw, 82px);
    letter-spacing: -0.038em;
  }
  .method-head h2 {
    margin-top: 0;
    font-size: clamp(52px, 12vw, 83px);
  }
  .method-grid {
    grid-template-columns: 1fr 1fr;
  }
  .teams h2 {
    font-size: clamp(53px, 12vw, 88px);
  }
  .final-section {
    padding: 90px 24px 45px;
  }
  .final-section h2 {
    margin: 0 0 30px;
    font-size: clamp(68px, 15vw, 97px);
  }
}
@media (max-width: 380px) {
  .hero-title {
    font-size: clamp(53px, 13.3vw, 59px);
  }
  .hero-content {
    padding-top: 145px;
  }
  .chapter-copy {
    top: clamp(94px, 14svh, 118px);
  }
  .chapter-h1 {
    font-size: clamp(53px, 14.2vw, 65px);
  }

  .scenario-btn {
    font-size: 11px;
  }
  .method-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-height: 700px) and (max-width: 700px) {
  .hero-content {
    padding-top: 125px;
  }
  .hero-title {
    font-size: clamp(50px, 12vw, 65px);
  }
  .hero-copy {
    margin: 20px 0;
    font-size: 15px;
  }

  .chapter-copy {
    top: 83px;
  }
  .gear-index {
    margin-bottom: 8px;
  }
  .chapter-h1 {
    font-size: clamp(49px, 12vw, 67px);
    margin-bottom: 9px;
  }
  .chapter-desc {
    font-size: 15px;
    line-height: 1.33;
  }

  .journey-top {
    height: 55px;
  }
  .journey-hud {
    height: 70px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .journey-rail {
    will-change: auto;
  }
}

/* Compose environmental details inside small phone viewports rather than cropping offscreen. */
@media (max-width: 700px) {
  .highway-sign {
    width: 230px;
    right: 27%;
    top: 26%;
    padding: 15px 17px;
    border-width: 3px;
    border-radius: 9px;
    box-shadow: 7px 8px 0 #07172c;
    transform: rotate(-2deg);
  }
  .highway-sign strong {
    font-size: 27px;
    letter-spacing: -0.03em;
  }
  .highway-sign span {
    font-size: 30px;
  }
  .highway-sign span.mono {
    font-size: 9px;
  }
  .garage {
    right: 27%;
    width: 160px;
    height: 132px;
    top: 20%;
    border-width: 7px;
    box-shadow: 13px 14px 0 #07172c;
  }
  .garage::before {
    font-size: 74px;
    left: 21px;
    top: 5px;
  }
  .lot-marking {
    right: 18%;
  }
  .house {
    right: 36%;
    width: 145px;
    height: 150px;
  }
  .house.two {
    right: 12%;
  }
  .streetlamp {
    right: 21%;
    height: 180px;
  }
  .tower {
    right: 14%;
    width: 97px;
    height: 265px;
  }
  .tower.second {
    right: 39%;
    width: 90px;
    height: 320px;
  }
  .bridge {
    right: 4%;
    width: 81%;
  }
  .hero-ambient {
    opacity: 0.48;
  }
}

/* Brand book v1.0 alignment (Oct 2026) — type scale, mono labels, icon glyphs */

.menu-icon {
  display: inline-block;
  width: 14px;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
  box-shadow:
    0 -5px 0 currentColor,
    0 5px 0 currentColor;
}

/* Type scale: Display −3%, Heading 1 −2%, Heading 2 −1.5% */
.hero-title,
.chapter-h1,
.demo-title,
.manifesto-heading,
.method-head h2,
.teams h2,
.final-section h2 {
  letter-spacing: -0.03em;
}
.method-card h3,
.demo-control h3,
.team-stat strong {
  letter-spacing: -0.02em;
}
.team-head h3 {
  margin-top: 8px;
  letter-spacing: -0.015em;
}

/* Labels: Overpass Mono 600, 11/14, +8%, capitals only here */
.mono,
.nav-links a,
.gear-index,
.hud-gear .small,
.hud-label,
.team-col strong,
.footer-right,
.method-card .number,
.scroll-cue {
  font-family: "Overpass Mono", monospace;
  font-weight: 600;
  letter-spacing: 0.08em;
}
.scroll-cue {
  font-size: 11px;
}
.hud-status strong {
  font-size: 11px;
  line-height: 14px;
  font-weight: 600;
  color: var(--sky);
}

/* Numbers in mono: gears, times and counts */
.hud-gear .big {
  font-family: "Overpass Mono", monospace;
  font-weight: 600;
  letter-spacing: 0;
}

/* Buttons and links are sentence case, so they use Overpass, not mono */
.header-cta,
.text-cta {
  font-family: "Overpass", "Arial Narrow", Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
}
.header-cta {
  gap: 14px;
}

.route {
  color: var(--route);
}

/* Oz's card */

/* Spark means live: the dot turns spark only while the sample plays. */

/* Footer: the one sentence for search and AI assistants */
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 420px;
}
.final-section .footer-sentence {
  margin: 0;
  max-width: none;
  font-size: 13px;
  line-height: 19px;
  color: var(--mist);
}

/* Cards: 16px corners, like road-sign plates */
.method-card,
.team-dashboard {
  border-radius: 16px;
}
.method-card .number {
  padding-right: 32px;
}
/* Keeps the cue readable where it crosses the hero road's lane stripes */
.scroll-cue {
  padding: 4px 4px 4px 12px;
  border-radius: 100px;
  background: var(--navy);
}

@media (max-width: 700px) {
  .method-card .number {
    letter-spacing: 0.04em;
    padding-right: 20px;
  }
  .team-bar {
    height: calc(var(--h) * 0.75);
  }
  .team-stat {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .header-cta,
  .text-cta {
    font-size: 13px;
  }
  .hud-label,
  .gear-index {
    letter-spacing: 0.04em;
  }
}

/* Hero scene: the ground bleeds past the illustration box, so no hard edges */

/* City lights switch on and off at different rhythms */

/* Road scenes: on desktop the illustration box starts at 38%, which cut the
   ground off with a vertical edge mid-screen. This ground spans the full panel
   and shares the same bottom-right origin and slope, so the two line up. */
@media (min-width: 701px) {
  .road-chapter::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: -5%;
    right: -9.3%;
    height: 34%;
    background: var(--road);
    transform: skewY(-6deg);
    transform-origin: right bottom;
  }
}

/* Road scenes: one canvas per gear, drawn by js/road-scenes.js */
.chapter-scene {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* Hero breathing room: the hero grows with its content instead of clipping it */
.hero {
  height: auto;
  min-height: max(100svh, 760px);
}
.hero-content {
  padding-top: clamp(150px, 20vh, 230px);
  padding-bottom: 190px;
}
@media (max-width: 700px) {
  .hero {
    min-height: max(100svh, 700px);
  }
  .hero-content {
    padding-bottom: 210px;
  }
}

/* Hero visual: a live run-through with Oz (brand book p.08, "three screens, one loop") */
.hero {
  align-items: center;
}

/* Fixed height so the card never jumps between steps */

.sep {
  font-style: normal;
  margin-right: 0.22em;
}

/* Oz's bubble: sky on navy, square top-left corner */

/* Hidden bubbles take no space, so the thread stacks cleanly from the bottom */

/* Spark means live: the mic dot, nothing else */

/* After the fix: the hedge is struck through, the direct line takes over */

/* Below desktop the session stacks under the headline */
@media (max-width: 1100px) {
  .hero {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-content {
    width: 100%;
    padding-bottom: 48px;
  }
  .hero-visual {
    order: 2;
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    width: auto;
    max-width: 460px;
    margin: 0 clamp(24px, 7.6vw, 145px) 150px;
  }
}
@media (max-width: 700px) {
  .hero-content {
    padding-bottom: 36px;
  }
}

/* Phones: tighter hero and single-column cards */
@media (max-width: 1100px) {
  .hero-bottom {
    display: none;
  }
}
@media (max-width: 700px) {
  .manifesto {
    min-height: 0;
  }
  .method-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .method-card {
    min-height: 0;
    padding: 22px 20px 24px;
  }
  .method-card > div {
    margin-top: 26px;
  }
  .method-card h3 {
    font-size: 30px;
  }
  .method-card p {
    font-size: 15px;
  }
  .method-card .number {
    letter-spacing: 0.08em;
  }
}

/* The sticky road panel clips its rail without becoming a scroll container,
   so touch swipes that start on it always scroll the page. */
.journey-stick {
  overflow: hidden;
  overflow: clip;
}

/* Titles wrap differently per meeting; reserving two lines keeps the hero's
   height constant so the page below never shifts while you scroll. */
@media (max-width: 700px) {
  .session-title {
    min-height: 2.3em;
  }
}

/* ==========================================================================
   App prototype (brand book p.08): one phone, three screens, one loop.
   Built by js/phone.js. Dark by default: this is an evening ritual.
   ========================================================================== */
.phone {
  --pw: 300px;
  position: relative;
  width: var(--pw);
  height: calc(var(--pw) * 2.06);
  padding: 9px;
  border-radius: 48px;
  background: #050d18;
  border: 1px solid #22405e;
  flex: none;
}
.phone-screen {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: 39px;
  background: var(--navy);
  color: #fff;
  transition:
    opacity 0.4s var(--ease),
    transform 0.4s var(--ease);
}
.phone.is-swapping .phone-screen {
  opacity: 0;
  transform: scale(0.985);
}
.ph-status {
  position: relative;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 44px;
  padding: 4px 26px 0 28px;
  font-size: 13px;
  font-weight: 600;
}
.ph-island {
  position: absolute;
  left: 50%;
  top: 10px;
  width: 86px;
  height: 25px;
  border-radius: 20px;
  background: #000;
  transform: translateX(-50%);
}
.ph-icons {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
}
.ph-battery {
  position: relative;
  width: 22px;
  height: 11px;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  border-radius: 3.5px;
}
.ph-battery::after {
  content: "";
  position: absolute;
  inset: 1.5px 5px 1.5px 1.5px;
  border-radius: 1.5px;
  background: #fff;
}

/* Screens slide like an app: in from the right, out to the left */
.ph-screen {
  position: absolute;
  inset: 44px 0 0;
  display: flex;
  flex-direction: column;
  padding: 10px 20px 24px;
  opacity: 0;
  transform: translateX(26px);
  pointer-events: none;
  transition:
    opacity 0.42s var(--ease),
    transform 0.42s var(--ease);
}
.ph-screen.was {
  transform: translateX(-26px);
}
.ph-screen.is-active {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.ph-screen.is-active .ph-in {
  animation: fadeup 0.5s var(--ease) both;
  animation-delay: var(--d, 0s);
}
.ph-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 36px;
  margin-bottom: 14px;
}
.ph-mono {
  font:
    600 10px "Overpass Mono",
    monospace;
  letter-spacing: 0.08em;
  color: var(--mist);
}
.ph-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.035em;
}
.ph-brand svg {
  width: 24px;
  height: 24px;
}
.ph-oz {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1.5px solid var(--azure);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 800;
}
.ph-label {
  font:
    600 10px "Overpass Mono",
    monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--azure);
}
.ph-mist {
  color: var(--mist);
}
.ph-center {
  display: block;
  text-align: center;
}
.ph-title {
  margin: 8px 0 12px;
  font-size: 24px;
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.ph-big {
  margin-top: 4px;
  font-size: 27px;
}
.ph-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}
.ph-chips span {
  padding: 5px 10px;
  border-radius: 100px;
  background: #1b3a5a;
  font-size: 11px;
  font-weight: 600;
}
.ph-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--road);
  font-size: 13.5px;
  line-height: 1.35;
}
.ph-card strong {
  font-size: 15px;
  font-weight: 800;
}
/* Oz's bubble: sky on navy, square top-left corner */
.ph-oz-bubble {
  max-width: 92%;
  margin: 12px 0 0;
  padding: 11px 14px;
  border-radius: 4px 16px 16px 16px;
  background: var(--sky);
  color: var(--navy);
  font-size: 13.5px;
  line-height: 1.4;
  font-weight: 600;
}
.ph-spacer {
  flex: 1;
}
/* Pill actions, 52px primary (brand product rules) */
.ph-btn {
  width: 100%;
  min-height: 52px;
  border: 0;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 800;
  transition:
    transform 0.16s var(--ease),
    background 0.2s;
}
.ph-btn:active,
.ph-btn.is-pressed,
.ph-stop.is-pressed {
  transform: scale(0.95);
}
.ph-primary {
  background: var(--azure);
  color: var(--navy);
}
.ph-outline {
  margin-top: 10px;
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(220, 238, 255, 0.7);
}
.ph-gear {
  margin-top: 16px;
}
.ph-gear-row {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 7px;
  font:
    600 9px "Overpass Mono",
    monospace;
  letter-spacing: 0.08em;
  color: var(--mist);
  white-space: nowrap;
}
.ph-meter {
  display: flex;
  gap: 4px;
}
.ph-meter i {
  flex: 1;
  height: 5px;
  border-radius: 3px;
  background: #2c4965;
  transition: background 0.5s var(--ease);
}
.ph-meter i.on {
  background: var(--azure);
}

/* Live run */
.ph-live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #fff;
}
/* Spark means live: the mic dot and stop ring, nothing else */
.ph-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--spark);
  animation: phBlink 1.2s ease-in-out infinite;
}
@keyframes phBlink {
  50% {
    opacity: 0.3;
  }
}
.ph-avatar {
  position: relative;
  display: grid;
  place-items: center;
  width: 100px;
  height: 100px;
  margin: 10px auto 12px;
  border: 3px solid var(--azure);
  border-radius: 50%;
  font-size: 42px;
  font-weight: 800;
}
.ph-avatar::after {
  content: "";
  position: absolute;
  inset: -3px;
  border: 3px solid var(--azure);
  border-radius: 50%;
  opacity: 0;
}
.is-speaking .ph-avatar::after {
  animation: phRing 1.3s ease-out infinite;
}
@keyframes phRing {
  from {
    opacity: 0.8;
    transform: scale(1);
  }
  to {
    opacity: 0;
    transform: scale(1.4);
  }
}
.ph-name {
  text-align: center;
  font-size: 19px;
  font-weight: 800;
}
.ph-played {
  margin-top: 2px;
  text-align: center;
  font-size: 12px;
  color: var(--mist);
}
.ph-question {
  margin: 14px 0 0;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--road);
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
}
.ph-wave {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  height: 44px;
  margin: 14px 0 6px;
}
.ph-wave b {
  width: 3.5px;
  height: calc(var(--h) * 100%);
  border-radius: 3px;
  background: #2c4965;
  transform: scaleY(0.25);
  transition:
    background 0.3s,
    transform 0.3s;
}
.is-listening .ph-wave b {
  background: #569ad6;
  animation: phWave 0.75s ease-in-out infinite alternate;
  animation-delay: var(--d);
}
.is-done .ph-wave b {
  animation: none;
  transform: scaleY(0.25);
}
@keyframes phWave {
  from {
    transform: scaleY(0.3);
  }
  to {
    transform: scaleY(1);
  }
}
.ph-said {
  min-height: 58px;
  margin: 8px 0 0;
  text-align: center;
  font-size: 13.5px;
  line-height: 1.45;
  color: #dceeff;
}
.ph-stop {
  position: relative;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0 auto;
  border: 3px solid var(--spark);
  border-radius: 50%;
  background: var(--navy);
  transition: transform 0.16s var(--ease);
}
.ph-stop i {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  background: #fff;
}
.ph-stop::after {
  content: "";
  position: absolute;
  inset: -3px;
  border: 3px solid var(--spark);
  border-radius: 50%;
  opacity: 0;
}
.is-done .ph-stop::after {
  animation: phRing 1.3s ease-out infinite;
}
.ph-stop-label {
  margin-top: 8px;
  text-align: center;
  font-size: 12px;
  color: var(--mist);
}

/* One fix */
.ph-back {
  position: relative;
  width: 32px;
  height: 32px;
  border: 1.5px solid rgba(220, 238, 255, 0.5);
  border-radius: 50%;
  background: none;
}
.ph-back::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 11px;
  width: 7px;
  height: 7px;
  border: solid #fff;
  border-width: 0 0 2px 2px;
  transform: rotate(45deg);
}
.ph-sub {
  margin: -6px 0 14px;
  font-size: 12.5px;
  color: var(--mist);
}
.ph-fix {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--sky);
  color: var(--navy);
}
.ph-fix .ph-label {
  color: var(--route);
}
.ph-fix s {
  font-size: 12.5px;
  color: #5d7590;
}
.ph-fix strong {
  font-size: 15px;
  line-height: 1.3;
  font-weight: 800;
}
.ph-check {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 12px 0 0;
  font-size: 12.5px;
  line-height: 1.4;
  color: #dceeff;
}
.ph-check i {
  position: relative;
  flex: none;
  width: 16px;
  height: 16px;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--azure);
}
.ph-check i::after {
  content: "";
  position: absolute;
  left: 5.5px;
  top: 3px;
  width: 4px;
  height: 7px;
  border: solid var(--navy);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* Notification banner, as on the brand book's app icon page */
.ph-notice {
  position: absolute;
  z-index: 6;
  top: 8px;
  left: 8px;
  right: 8px;
  display: flex;
  gap: 10px;
  padding: 11px 12px;
  border: 1px solid #2c4965;
  border-radius: 22px;
  background: #142c48;
  transform: translateY(-140%);
  transition: transform 0.55s var(--ease);
}
.is-noticed .ph-notice {
  transform: none;
}
.ph-notice-icon svg {
  display: block;
  width: 34px;
  height: 34px;
}
.ph-notice-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 2px;
  font-size: 12.5px;
  line-height: 1.35;
}
.ph-notice-head {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
}
.ph-notice-head span {
  color: var(--mist);
  font-size: 11px;
}

/* Hero placement */
.hero-visual {
  position: absolute;
  z-index: 3;
  top: 50%;
  right: clamp(32px, 9vw, 170px);
  transform: translateY(-46%);
}
/* A flat road-blue disc gives the phone depth without glow */
.hero-visual::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 50%;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: #0e2036;
  transform: translate(-50%, -50%);
}

/* The section below: tap through it yourself */
.demo-layout {
  grid-template-columns: minmax(280px, 0.9fr) minmax(380px, 1.1fr);
  align-items: center;
}
.demo-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 48px 24px 28px;
  border-radius: 24px;
  background: var(--sky);
}
.demo-note {
  margin: 0;
  color: var(--route);
}
.loop-steps {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-width: 360px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}
.loop-step {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 3px 8px;
  width: 100%;
  padding: 13px 16px;
  border: 1px solid transparent;
  border-radius: 16px;
  background: none;
  color: var(--navy);
  text-align: left;
  transition:
    background 0.3s,
    border-color 0.3s;
}
.loop-step .mono {
  padding-top: 4px;
  color: var(--route);
}
.loop-step strong {
  font-size: 17px;
  font-weight: 800;
}
.loop-step small {
  grid-column: 2;
  font-size: 13.5px;
  line-height: 1.4;
  color: #5d7590;
}
.loop-step:hover {
  border-color: #c1d6e7;
}
.loop-step.is-current {
  border-color: #c1d6e7;
  background: #fff;
}
.loop-step.is-done .mono {
  color: #7998b5;
}

@media (max-width: 1100px) {
  .hero {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-content {
    width: 100%;
    padding-bottom: 56px;
  }
  .hero-visual {
    order: 2;
    position: relative;
    top: auto;
    right: auto;
    align-self: center;
    margin: 0 0 120px;
    transform: none;
  }
  .demo-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}
@media (max-width: 700px) {
  .hero-content {
    padding-bottom: 44px;
  }
  .hero-visual {
    margin-bottom: 80px;
  }
  .hero-visual::before {
    width: 380px;
    height: 380px;
  }
  .demo-stage {
    padding: 32px 12px 22px;
    margin: 0 -8px;
  }
  .loop-steps {
    margin-top: 24px;
  }
}
@media (max-width: 360px) {
  .phone {
    --pw: 284px;
  }
}
@media (max-width: 700px) {
  .loop-steps {
    flex-direction: row;
    gap: 6px;
    max-width: none;
  }
  .loop-steps li {
    flex: 1;
  }
  .loop-step {
    display: flex;
    flex-direction: column;
    gap: 2px;
    height: 100%;
    padding: 10px 12px;
    border-color: #c1d6e7;
  }
  .loop-step strong {
    font-size: 13px;
    line-height: 1.2;
  }
  .loop-step small {
    display: none;
  }
}

/* Buttons are text-only (no arrow glyphs), so padding is symmetric */
.primary-cta {
  justify-content: center;
  padding: 18px 30px;
}
@media (max-width: 700px) {
  .primary-cta {
    padding: 15px 26px;
  }
}

/* What Oz does: quiet mono row under the hero buttons */
.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
  font:
    600 11px "Overpass Mono",
    monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mist);
}
.hero-proof li {
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-proof li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--azure);
}

/* Each gear: what Oz plays at that level */
.chapter-oz {
  display: flex;
  align-items: baseline;
  gap: 12px;
  max-width: 420px;
  margin: 22px 0 0;
  font-size: clamp(15px, 1.15vw, 17px);
  line-height: 1.45;
  color: var(--sky);
}
.chapter-oz .mono {
  flex: none;
  padding: 3px 7px;
  border-radius: 4px 8px 8px 8px;
  background: var(--sky);
  color: var(--navy);
  font-size: 10px;
}

.demo-kicker {
  display: block;
  color: var(--route);
}

@media (max-width: 700px) {
  .hero-proof {
    gap: 8px 16px;
    margin-top: 28px;
    font-size: 10px;
  }
  .chapter-oz {
    margin-top: 12px;
    font-size: 14px;
  }
  .demo-kicker {
    margin-bottom: 14px;
  }
}
