@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Nunito:wght@700;800;900&display=swap');

:root {
  --blue-900: #073584;
  --blue-800: #084bbd;
  --blue-700: #1268e8;
  --blue-500: #2c8cff;
  --blue-200: #b9ddff;
  --blue-100: #e9f5ff;
  --ink: #10264d;
  --muted: #5d6c86;
  --white: #ffffff;
  --yellow: #ffd84d;
  --coral: #ff675f;
  --surface: #f7fbff;
  --shadow: 0 24px 70px rgba(7, 53, 132, 0.15);
  --radius: 26px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: 'DM Sans', sans-serif;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

button,
a {
  font: inherit;
}

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

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3,
.brand {
  font-family: 'Nunito', sans-serif;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 10px 16px;
  color: var(--white);
  background: var(--blue-900);
  border-radius: 10px;
  transform: translateY(-150%);
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
  min-height: 78px;
  padding: 12px clamp(22px, 5vw, 78px);
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(18, 104, 232, 0.08);
  backdrop-filter: blur(18px);
  transition: min-height 250ms ease, box-shadow 250ms ease;
}

.site-header.scrolled {
  min-height: 66px;
  box-shadow: 0 10px 35px rgba(12, 58, 130, 0.1);
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 10px;
  width: max-content;
  color: var(--blue-800);
  font-size: 1.65rem;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.brand img {
  width: 46px;
  height: 46px;
  border-radius: 13px;
}

.site-nav {
  display: flex;
  gap: clamp(22px, 3vw, 42px);
}

.site-nav a {
  position: relative;
  padding: 10px 0;
  color: #273a5e;
  font-weight: 600;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 3px;
  left: 0;
  height: 3px;
  content: '';
  background: var(--blue-700);
  border-radius: 999px;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 260ms cubic-bezier(.2, .8, .2, 1);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-download {
  justify-self: end;
  padding: 12px 20px;
  color: var(--white);
  background: var(--blue-700);
  border-radius: 999px;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(18, 104, 232, 0.23);
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.header-download:hover {
  box-shadow: 0 14px 30px rgba(18, 104, 232, 0.34);
  transform: translateY(-2px);
}

.menu-button {
  display: none;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.8fr);
  align-items: center;
  min-height: 890px;
  padding: 125px clamp(24px, 7vw, 110px) 115px;
  color: var(--white);
  background:
    radial-gradient(circle at 75% 18%, rgba(157, 218, 255, 0.9), transparent 29%),
    linear-gradient(127deg, #0d5fe0 0%, #258bf7 54%, #8ad2ff 100%);
  isolation: isolate;
  overflow: hidden;
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: -3;
  content: '';
  opacity: 0.15;
  background-image: radial-gradient(circle, #fff 1.2px, transparent 1.2px);
  background-size: 28px 28px;
  mask-image: linear-gradient(to right, #000, transparent 78%);
}

.hero::after {
  position: absolute;
  right: -8%;
  bottom: -170px;
  z-index: -1;
  width: 64%;
  height: 430px;
  content: '';
  background: #eff9ff;
  border-radius: 50% 0 0 0;
  transform: rotate(-5deg);
}

.hero-copy {
  position: relative;
  z-index: 5;
  max-width: 690px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--blue-700);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero .eyebrow,
.light .eyebrow {
  color: rgba(255, 255, 255, 0.9);
}

.hero h1 {
  max-width: 720px;
  margin-bottom: 24px;
  font-size: clamp(3.6rem, 6.3vw, 6.8rem);
  font-weight: 900;
  line-height: 0.91;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.hero h1 em {
  position: relative;
  color: var(--yellow);
  font-style: normal;
  white-space: nowrap;
}

.hero h1 em::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 6%;
  height: 10px;
  content: '';
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 20'%3E%3Cpath d='M4 13 C90 2 270 20 396 6' fill='none' stroke='%23ffd84d' stroke-width='8' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}

.hero-description {
  max-width: 620px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1rem, 1.7vw, 1.23rem);
  line-height: 1.7;
}

.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
}

.download-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 70px;
  padding: 12px 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 20px;
  text-align: left;
  font-weight: 800;
  line-height: 1.15;
  cursor: pointer;
  transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.download-button::after {
  position: absolute;
  width: 100px;
  height: 100px;
  content: '';
  background: rgba(255, 255, 255, 0.36);
  border-radius: 50%;
  transform: translate(var(--ripple-x, -180px), var(--ripple-y, 70px)) scale(0);
  transition: transform 500ms ease;
  pointer-events: none;
}

.download-button:hover::after {
  transform: translate(var(--ripple-x, 30px), var(--ripple-y, -20px)) scale(2.6);
}

.download-button svg {
  z-index: 1;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  fill: currentColor;
}

.download-button span {
  z-index: 1;
}

.download-button small {
  display: block;
  margin-bottom: 4px;
  font-size: 0.7rem;
  font-weight: 500;
  opacity: 0.72;
}

.android-button {
  color: var(--blue-900);
  background: var(--white);
  box-shadow: 0 17px 38px rgba(4, 42, 112, 0.2);
}

.android-button:hover {
  box-shadow: 0 20px 45px rgba(4, 42, 112, 0.3);
  transform: translateY(-3px) rotate(-0.5deg);
}

.ios-button {
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.12);
  cursor: default;
  backdrop-filter: blur(10px);
}

.beta-note {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
}

.pulse-dot {
  position: relative;
  width: 8px;
  height: 8px;
  background: #91f7b6;
  border-radius: 50%;
}

.pulse-dot::after {
  position: absolute;
  inset: -5px;
  content: '';
  border: 1px solid #91f7b6;
  border-radius: 50%;
  animation: pulse 2s ease-out infinite;
}

.phone-stage {
  position: relative;
  z-index: 4;
  width: min(100%, 510px);
  margin-right: auto;
  margin-left: auto;
  perspective: 1400px;
}

.phone {
  position: relative;
  width: min(69vw, 350px);
  margin: 0 auto;
  padding: 11px;
  background: linear-gradient(145deg, #102445, #050b16 58%, #3869a9);
  border: 2px solid rgba(255, 255, 255, 0.42);
  border-radius: 48px;
  box-shadow: 0 48px 85px rgba(4, 35, 91, 0.43), inset 0 0 0 2px rgba(255, 255, 255, 0.08);
  transform: rotateY(-8deg) rotateX(2deg) rotateZ(1.5deg);
  transform-style: preserve-3d;
  transition: transform 160ms ease-out;
}

.phone::before {
  position: absolute;
  top: 100px;
  right: -5px;
  width: 4px;
  height: 82px;
  content: '';
  background: #19345d;
  border-radius: 0 4px 4px 0;
}

.phone-speaker {
  position: absolute;
  top: 19px;
  left: 50%;
  z-index: 4;
  width: 82px;
  height: 18px;
  background: #05080d;
  border-radius: 999px;
  transform: translateX(-50%);
}

.phone-screen {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 2;
  overflow: hidden;
  background: #eef5ff;
  border-radius: 38px;
}

.phone-screen img {
  width: 100%;
  max-width: none;
  transform: translateY(-4%);
}

.orbit {
  position: absolute;
  z-index: 5;
  width: 76px;
  height: 76px;
  color: var(--blue-800);
  background: var(--white);
  border: 8px solid rgba(213, 237, 255, 0.82);
  border-radius: 50%;
  box-shadow: 0 18px 35px rgba(7, 53, 132, 0.18);
  animation: drift 5s ease-in-out infinite;
}

.orbit span {
  display: grid;
  height: 100%;
  place-items: center;
  font: 900 1.55rem 'Nunito', sans-serif;
}

.orbit-one {
  top: 7%;
  left: 2%;
}

.orbit-two {
  right: -2%;
  bottom: 20%;
  width: 56px;
  height: 56px;
  color: var(--coral);
  animation-delay: -2s;
}

.floating-card {
  position: absolute;
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 205px;
  padding: 12px 15px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 18px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
  animation: cardFloat 4.8s ease-in-out infinite;
}

.floating-card strong,
.floating-card small {
  display: block;
}

.floating-card strong {
  font-size: 0.88rem;
}

.floating-card small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.67rem;
}

.mini-icon {
  display: grid;
  width: 34px;
  height: 34px;
  color: var(--white);
  background: var(--blue-700);
  border-radius: 11px;
  place-items: center;
  font-weight: 900;
}

.route-card {
  top: 36%;
  right: -4%;
}

.fare-card {
  bottom: 13%;
  left: -4%;
  animation-delay: -2.3s;
}

.city-layer {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -2;
  transform: translate3d(var(--parallax-x, 0), var(--parallax-y, 0), 0);
  will-change: transform;
}

.city-back {
  height: 42%;
  opacity: 0.28;
  background: linear-gradient(90deg, transparent 0 4%, #bce6ff 4% 9%, transparent 9% 12%, #d8efff 12% 18%, transparent 18% 20%, #acd9f7 20% 29%, transparent 29% 32%, #d9efff 32% 37%, transparent 37% 42%, #b6def7 42% 50%, transparent 50% 54%, #e4f5ff 54% 61%, transparent 61% 63%, #b8ddf6 63% 74%, transparent 74% 78%, #d8efff 78% 87%, transparent 87% 91%, #b6def8 91%);
  clip-path: polygon(0 44%, 4% 44%, 4% 17%, 7% 17%, 7% 44%, 13% 44%, 13% 4%, 17% 4%, 17% 44%, 22% 44%, 22% 25%, 27% 25%, 27% 44%, 33% 44%, 33% 12%, 37% 12%, 37% 44%, 44% 44%, 44% 20%, 50% 20%, 50% 44%, 56% 44%, 56% 0, 61% 0, 61% 44%, 68% 44%, 68% 26%, 74% 26%, 74% 44%, 82% 44%, 82% 7%, 88% 7%, 88% 44%, 94% 44%, 94% 19%, 100% 19%, 100% 100%, 0 100%);
}

.city-front {
  height: 22%;
  opacity: 0.2;
  background: var(--blue-900);
  clip-path: polygon(0 45%, 6% 45%, 6% 6%, 12% 6%, 12% 45%, 17% 45%, 17% 25%, 23% 25%, 23% 45%, 29% 45%, 29% 0, 35% 0, 35% 45%, 43% 45%, 43% 19%, 50% 19%, 50% 45%, 58% 45%, 58% 8%, 65% 8%, 65% 45%, 74% 45%, 74% 25%, 81% 25%, 81% 45%, 89% 45%, 89% 11%, 95% 11%, 95% 45%, 100% 45%, 100% 100%, 0 100%);
}

.hero-cloud {
  position: absolute;
  z-index: -2;
  width: 170px;
  height: 48px;
  background: rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  animation: cloudMove 18s linear infinite;
}

.hero-cloud::before,
.hero-cloud::after {
  position: absolute;
  bottom: 8px;
  content: '';
  background: inherit;
  border-radius: 50%;
}

.hero-cloud::before { left: 28px; width: 62px; height: 62px; }
.hero-cloud::after { right: 24px; width: 82px; height: 82px; }
.cloud-one { top: 21%; left: 42%; }
.cloud-two { top: 45%; left: 7%; transform: scale(.65); animation-delay: -10s; }

.scroll-cue {
  position: absolute;
  bottom: 35px;
  left: 50%;
  z-index: 8;
  display: grid;
  justify-items: center;
  gap: 7px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.68rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.scroll-cue i {
  position: relative;
  width: 24px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 99px;
}

.scroll-cue i::after {
  position: absolute;
  top: 7px;
  left: 9px;
  width: 4px;
  height: 8px;
  content: '';
  background: var(--white);
  border-radius: 99px;
  animation: scrollDot 1.8s ease-in-out infinite;
}

.section-space,
.journey-line {
  padding: 110px clamp(24px, 7vw, 110px);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 58px;
}

.section-heading h2,
.story h2,
.support h2,
.final-download h2 {
  margin-bottom: 18px;
  font-size: clamp(2.2rem, 4.4vw, 4.4rem);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.section-heading > p:last-child {
  max-width: 620px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

.journey-line {
  position: relative;
  background: var(--surface);
}

.route-animation {
  position: relative;
  max-width: 1200px;
  height: 260px;
  margin: 0 auto;
}

.route-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 220px;
  overflow: visible;
}

.route-shadow,
.route-progress {
  fill: none;
  stroke-linecap: round;
  stroke-width: 7;
}

.route-shadow {
  stroke: #c9e2ff;
  stroke-dasharray: 2 18;
}

.route-progress {
  stroke: var(--blue-700);
  filter: drop-shadow(0 5px 6px rgba(18, 104, 232, 0.25));
}

.moving-marker {
  position: absolute;
  z-index: 4;
  display: grid;
  width: 48px;
  height: 48px;
  font-size: 1.45rem;
  background: var(--white);
  border: 4px solid var(--blue-700);
  border-radius: 50%;
  box-shadow: 0 8px 20px rgba(7, 53, 132, 0.2);
  place-items: center;
  transform: translate(-50%, -50%);
}

.transport-stop {
  position: absolute;
  z-index: 3;
  display: grid;
  justify-items: center;
  gap: 9px;
  width: 100px;
  transform: translate(-50%, -50%);
}

.transport-stop::before {
  position: absolute;
  top: 52px;
  z-index: -1;
  width: 14px;
  height: 14px;
  content: '';
  background: var(--white);
  border: 4px solid var(--blue-700);
  border-radius: 50%;
}

.vehicle-icon {
  display: grid;
  width: 70px;
  height: 58px;
  font-size: 2.1rem;
  background: var(--white);
  border-radius: 19px;
  box-shadow: 0 12px 28px rgba(7, 53, 132, 0.13);
  place-items: center;
  transition: transform 300ms cubic-bezier(.2, .9, .3, 1.5), background 200ms ease;
}

.transport-stop:hover .vehicle-icon {
  background: var(--blue-100);
  transform: translateY(-10px) rotate(var(--vehicle-tilt, -4deg));
}

.transport-stop strong {
  margin-top: 17px;
  font-size: 0.8rem;
}

.stop-one { top: 61%; left: 2.5%; --vehicle-tilt: -5deg; }
.stop-two { top: 34%; left: 21%; --vehicle-tilt: 3deg; }
.stop-three { top: 49%; left: 40%; --vehicle-tilt: -2deg; }
.stop-four { top: 29%; left: 59%; --vehicle-tilt: 5deg; }
.stop-five { top: 64%; left: 78%; --vehicle-tilt: -4deg; }
.stop-six { top: 27%; left: 97%; --vehicle-tilt: 4deg; }

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

.feature-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
}

.feature-card {
  position: relative;
  grid-column: span 2;
  min-height: 300px;
  padding: 30px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid #e5e9f0;
  border-radius: var(--radius);
  box-shadow: 0 16px 44px rgba(15, 23, 42, 0.07);
  transform-style: preserve-3d;
}

.feature-card::after {
  display: none;
}

.feature-large {
  min-height: 300px;
  color: var(--white);
  background: var(--blue-700);
  border-color: var(--blue-700);
  box-shadow: 0 18px 46px rgba(18, 104, 232, 0.22);
}

.feature-wide {
  display: block;
  min-height: 300px;
}

.feature-card:nth-child(4) {
  grid-column: 2 / span 2;
}

.feature-card:nth-child(5) {
  grid-column: 4 / span 2;
}

.feature-symbol {
  display: grid;
  width: 72px;
  height: 72px;
  margin-bottom: 55px;
  background: linear-gradient(145deg, var(--white), var(--blue-100));
  border: 1px solid var(--blue-200);
  border-radius: 23px;
  box-shadow: 0 14px 35px rgba(7, 53, 132, 0.12);
  place-items: center;
  transform: translateZ(25px);
}

.feature-symbol svg {
  width: 43px;
  height: 43px;
  overflow: visible;
  fill: rgba(44, 140, 255, 0.08);
  stroke: var(--blue-800);
  stroke-width: 3.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 320ms cubic-bezier(.2, .9, .3, 1.4);
}

.feature-symbol .accent {
  fill: none;
  stroke: var(--coral);
}

.feature-symbol .accent-fill {
  fill: var(--yellow);
  stroke: var(--blue-800);
}

.feature-card:hover .feature-symbol svg {
  transform: scale(1.08) rotate(-3deg);
}

.feature-large .feature-symbol {
  width: 72px;
  height: 72px;
  margin: 0 0 55px;
  background: var(--white);
  box-shadow: 0 14px 35px rgba(7, 53, 132, 0.22);
}

.feature-large .feature-symbol svg {
  width: 43px;
  height: 43px;
  stroke-width: 3.5;
}

.feature-card h3 {
  margin-bottom: 10px;
  font-size: 1.35rem;
  font-weight: 900;
}

.feature-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.65;
}

.feature-large p {
  color: rgba(255, 255, 255, 0.82);
}

.feature-wide .feature-symbol {
  margin: 0 0 55px;
}

.how-it-works {
  position: relative;
  color: var(--white);
  background: var(--blue-900);
  overflow: hidden;
}

.how-it-works::before {
  position: absolute;
  top: -290px;
  right: -180px;
  width: 600px;
  height: 600px;
  content: '';
  border: 90px solid rgba(44, 140, 255, 0.16);
  border-radius: 50%;
}

.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1200px;
  padding: 0;
  list-style: none;
}

.steps::before {
  position: absolute;
  top: 31px;
  right: 17%;
  left: 5%;
  height: 2px;
  content: '';
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.35) 0 8px, transparent 8px 18px);
}

.steps li {
  position: relative;
  display: flex;
  gap: 17px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 23px;
  backdrop-filter: blur(12px);
}

.steps li > span {
  z-index: 1;
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  color: var(--blue-900);
  background: var(--yellow);
  border-radius: 50%;
  place-items: center;
  font: 900 1rem 'Nunito', sans-serif;
}

.steps h3 {
  margin: 3px 0 6px;
  font-size: 1.15rem;
}

.steps p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.55;
}

.estimate-note {
  margin: 27px 0 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.82rem;
}

.story {
  display: grid;
  grid-template-columns: minmax(360px, 0.9fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(55px, 8vw, 130px);
  background: linear-gradient(180deg, #fff, #f3f9ff);
}

.story-art {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  background: linear-gradient(#9bd9ff 0 48%, #d9f0ff 48% 62%, #80c779 62%);
  border: 10px solid var(--white);
  border-radius: 48% 48% 30px 30px;
  box-shadow: var(--shadow);
}

.story-art::before {
  position: absolute;
  right: -10%;
  bottom: 0;
  left: -10%;
  height: 37%;
  content: '';
  background: #4f5b6c;
  clip-path: polygon(0 46%, 100% 10%, 100% 100%, 0 100%);
}

.story-art::after {
  position: absolute;
  right: -10%;
  bottom: 10%;
  left: -10%;
  height: 8px;
  content: '';
  background: repeating-linear-gradient(90deg, #fff 0 50px, transparent 50px 84px);
  transform: rotate(-7deg);
}

.sun {
  position: absolute;
  top: 45px;
  right: 50px;
  width: 72px;
  height: 72px;
  background: var(--yellow);
  border-radius: 50%;
  box-shadow: 0 0 0 18px rgba(255, 216, 77, 0.2);
  animation: sunGlow 3s ease-in-out infinite;
}

.student {
  position: absolute;
  bottom: 20%;
  z-index: 3;
  width: 82px;
  height: 145px;
  background: var(--shirt, var(--blue-700));
  border-radius: 42px 42px 18px 18px;
  transform: rotate(var(--student-tilt, 0));
}

.student::before {
  position: absolute;
  top: -48px;
  left: 17px;
  width: 50px;
  height: 55px;
  content: '';
  background: #f2bd8d;
  border: 8px solid #26334d;
  border-bottom-width: 2px;
  border-radius: 52% 52% 45% 45%;
}

.student span {
  position: absolute;
  top: 40px;
  right: -20px;
  width: 45px;
  height: 70px;
  background: #26334d;
  border-radius: 12px;
  transform: rotate(-10deg);
}

.student-one { left: 13%; --shirt: #1368e8; --student-tilt: -4deg; }
.student-two { left: 32%; bottom: 24%; --shirt: #ffd84d; --student-tilt: 2deg; }
.student-three { right: 29%; --shirt: #ff675f; --student-tilt: -1deg; }
.student-four { right: 10%; bottom: 25%; --shirt: #70d6b1; --student-tilt: 4deg; }

.story-bubble {
  position: absolute;
  top: 23%;
  left: 9%;
  z-index: 4;
  padding: 12px 16px;
  color: var(--blue-900);
  background: var(--white);
  border-radius: 18px 18px 18px 3px;
  box-shadow: 0 12px 30px rgba(7, 53, 132, 0.15);
  font: 800 0.83rem 'Nunito', sans-serif;
  animation: bubbleTalk 4s ease-in-out infinite;
}

.story-copy p:not(.eyebrow):not(.story-signoff) {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.78;
}

.story-signoff {
  display: inline-block;
  margin-top: 8px;
  padding: 12px 17px;
  color: var(--blue-800);
  background: var(--blue-100);
  border-radius: 13px;
  font-weight: 800;
  transform: rotate(-1deg);
}

.support {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: center;
  gap: clamp(40px, 8vw, 120px);
}

.support-copy > p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.7;
}

.email-link {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  margin-top: 14px;
  padding: 15px 18px;
  color: var(--blue-800);
  background: var(--blue-100);
  border-radius: 14px;
  font-weight: 800;
}

.email-link span {
  display: grid;
  width: 27px;
  height: 27px;
  color: var(--white);
  background: var(--blue-700);
  border-radius: 50%;
  place-items: center;
}

.support-cards {
  display: grid;
  gap: 16px;
}

.info-card {
  display: flex;
  align-items: flex-start;
  gap: 17px;
  padding: 25px;
  background: var(--surface);
  border: 1px solid #dcecff;
  border-radius: 22px;
  transition: transform 240ms ease, box-shadow 240ms ease;
}

.info-card:hover {
  box-shadow: 0 18px 44px rgba(7, 53, 132, 0.1);
  transform: translateX(-8px);
}

.info-card > span {
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  color: var(--white);
  background: var(--blue-700);
  border-radius: 16px;
  place-items: center;
  font: 900 1.3rem 'Nunito', sans-serif;
}

.info-card h3 { margin: 2px 0 6px; }
.info-card p { margin: 0; color: var(--muted); line-height: 1.55; }

.final-download {
  position: relative;
  display: grid;
  min-height: 610px;
  color: var(--white);
  background:
    radial-gradient(circle at 50% 10%, rgba(118, 194, 255, 0.55), transparent 35%),
    linear-gradient(150deg, #073584, #1268e8);
  place-items: center;
  text-align: center;
  overflow: hidden;
}

.final-download::before,
.final-download::after {
  position: absolute;
  width: 450px;
  height: 450px;
  content: '';
  border: 70px solid rgba(255, 255, 255, 0.06);
  border-radius: 50%;
}

.final-download::before { top: -250px; left: -170px; }
.final-download::after { right: -190px; bottom: -280px; }

.final-content {
  z-index: 2;
  max-width: 690px;
}

.final-content > img {
  width: 88px;
  margin: 0 auto 23px;
  border: 4px solid rgba(255, 255, 255, 0.55);
  border-radius: 25px;
  box-shadow: 0 18px 40px rgba(3, 30, 85, 0.3);
}

.eyebrow.centered {
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
}

.final-content > p:not(.eyebrow) {
  max-width: 590px;
  margin: 0 auto 28px;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.65;
}

.final-download .android-button {
  min-width: 270px;
}

.install-guide {
  width: min(100%, 610px);
  margin: 22px auto 0;
  color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 18px;
  text-align: left;
  backdrop-filter: blur(12px);
}

.install-guide summary {
  padding: 16px 20px;
  color: var(--white);
  font-weight: 800;
  cursor: pointer;
}

.install-guide ol,
.install-guide > p,
.checksum {
  margin-right: 20px;
  margin-left: 20px;
}

.install-guide ol {
  padding-left: 20px;
  line-height: 1.65;
}

.install-guide > p {
  font-size: 0.82rem;
  line-height: 1.55;
}

.checksum {
  margin-bottom: 20px;
  padding: 12px;
  background: rgba(3, 30, 71, 0.45);
  border-radius: 11px;
}

.checksum strong,
.checksum code {
  display: block;
}

.checksum strong {
  margin-bottom: 6px;
  color: var(--yellow);
  font-size: 0.72rem;
}

.checksum code {
  overflow-wrap: anywhere;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.68rem;
  line-height: 1.45;
}

.download-route {
  position: absolute;
  top: 50%;
  left: -5%;
  width: 110%;
  height: 170px;
  border-top: 4px dashed rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  transform: rotate(-5deg);
}

footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 38px clamp(24px, 7vw, 110px);
  color: #bfd2f1;
  background: #061d47;
}

.footer-brand {
  color: var(--white);
  font-size: 1.25rem;
}

.footer-brand img {
  width: 38px;
  height: 38px;
  border-radius: 11px;
}

footer p,
footer small {
  margin: 0;
  font-size: 0.8rem;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links button,
.footer-links a {
  padding: 0;
  color: #d9e7ff;
  background: none;
  border: 0;
  cursor: pointer;
}

footer small {
  grid-column: 2;
  color: #7895bf;
}

.legal-dialog {
  width: min(90vw, 620px);
  padding: 34px;
  color: var(--ink);
  background: var(--white);
  border: 0;
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.legal-dialog::backdrop {
  background: rgba(3, 23, 58, 0.65);
  backdrop-filter: blur(6px);
}

.legal-dialog h2 { margin-right: 35px; font-size: 1.8rem; }
.legal-dialog p { color: var(--muted); line-height: 1.7; }

.dialog-close {
  position: absolute;
  top: 17px;
  right: 17px;
  display: grid;
  width: 38px;
  height: 38px;
  color: var(--ink);
  background: var(--blue-100);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  place-items: center;
  font-size: 1.5rem;
}

.reveal {
  opacity: 0;
  clip-path: inset(0 0 18% 0 round 18px);
  transform: translateY(42px);
  transition:
    opacity 700ms ease var(--delay, 0ms),
    transform 850ms cubic-bezier(.16, 1, .3, 1) var(--delay, 0ms),
    clip-path 850ms cubic-bezier(.16, 1, .3, 1) var(--delay, 0ms);
}

.reveal.visible {
  opacity: 1;
  clip-path: inset(0 0 0 0 round 0);
  transform: translateY(0);
}

@keyframes pulse {
  0% { opacity: 1; transform: scale(.55); }
  75%, 100% { opacity: 0; transform: scale(1.25); }
}

@keyframes drift {
  0%, 100% { transform: translateY(0) rotate(-4deg); }
  50% { transform: translateY(-14px) rotate(5deg); }
}

@keyframes cardFloat {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-10px) rotate(1.5deg); }
}

@keyframes cloudMove {
  0% { margin-left: -50px; }
  50% { margin-left: 40px; }
  100% { margin-left: -50px; }
}

@keyframes scrollDot {
  0% { opacity: 0; transform: translateY(0); }
  35% { opacity: 1; }
  80%, 100% { opacity: 0; transform: translateY(15px); }
}

@keyframes stopPulse {
  0%, 100% { box-shadow: 0 8px 20px rgba(3, 35, 90, 0.22); }
  50% { box-shadow: 0 0 0 14px rgba(255, 216, 77, 0.15); }
}

@keyframes sunGlow {
  0%, 100% { box-shadow: 0 0 0 18px rgba(255, 216, 77, 0.2); }
  50% { box-shadow: 0 0 0 28px rgba(255, 216, 77, 0.08); }
}

@keyframes bubbleTalk {
  0%, 70%, 100% { transform: scale(1) rotate(-2deg); }
  75% { transform: scale(1.06) rotate(1deg); }
  82% { transform: scale(1) rotate(-2deg); }
}

@media (max-width: 1050px) {
  .site-header { grid-template-columns: 1fr auto; }
  .site-nav { display: none; }
  .header-download { margin-right: 0; }
  .menu-button {
    position: absolute;
    right: 24px;
    display: none;
    gap: 5px;
    width: 42px;
    height: 42px;
    padding: 10px;
    background: var(--blue-100);
    border: 0;
    border-radius: 12px;
  }
  .menu-button > span:not(.sr-only) {
    width: 100%;
    height: 2px;
    background: var(--blue-800);
    border-radius: 9px;
    transition: transform 220ms ease, opacity 220ms ease;
  }
  .menu-button[aria-expanded="true"] > span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-button[aria-expanded="true"] > span:nth-child(2) { opacity: 0; }
  .menu-button[aria-expanded="true"] > span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .site-nav.open {
    position: fixed;
    inset: 77px 0 0;
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 26px;
    color: var(--white);
    background: rgba(7, 53, 132, 0.97);
    backdrop-filter: blur(15px);
  }
  .site-nav.open a { color: var(--white); font-size: 1.4rem; }
  .hero { grid-template-columns: minmax(0, 1fr) minmax(320px, .7fr); }
  .floating-card { min-width: 175px; }
  .route-card { right: -3%; }
  .fare-card { left: -3%; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-card,
  .feature-card:nth-child(4) { grid-column: auto; }
  .feature-card:nth-child(5) {
    grid-column: 1 / -1;
    justify-self: center;
    width: calc((100% - 18px) / 2);
  }
  .story { gap: 45px; }
}

@media (max-width: 780px) {
  .site-header { min-height: 68px; padding: 10px 18px; }
  .brand { font-size: 1.3rem; }
  .brand img { width: 40px; height: 40px; border-radius: 11px; }
  .header-download { display: none; }
  .site-nav.open { inset: 67px 0 0; }
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 112px 22px 100px;
    text-align: center;
  }
  .hero-copy { margin: 0 auto; }
  .hero .eyebrow, .download-actions, .beta-note { justify-content: center; }
  .hero h1 {
    max-width: 100%;
    font-size: clamp(2.8rem, 13vw, 4.4rem);
    letter-spacing: -0.045em;
  }
  .hero h1 em { white-space: normal; }
  .hero .eyebrow {
    font-size: 0.68rem;
    letter-spacing: 0.1em;
  }
  .hero-description { margin-right: auto; margin-left: auto; }
  .phone-stage { margin-top: 70px; }
  .phone { width: min(77vw, 340px); transform: none; }
  .route-card { top: 30%; right: -2%; }
  .fare-card { bottom: 9%; left: -2%; }
  .scroll-cue { display: none; }
  .section-space, .journey-line { padding: 80px 22px; }
  .section-heading { margin-bottom: 42px; }
  .route-animation { height: 650px; }
  .route-svg { display: none; }
  .route-animation::before {
    position: absolute;
    top: 40px;
    bottom: 40px;
    left: 50%;
    width: 6px;
    content: '';
    background: repeating-linear-gradient(180deg, var(--blue-200) 0 9px, transparent 9px 18px);
    border-radius: 10px;
  }
  .moving-marker { display: none; }
  .transport-stop { left: 50%; width: 170px; }
  .transport-stop::before { display: none; }
  .transport-stop:nth-of-type(odd) { margin-left: -95px; }
  .transport-stop:nth-of-type(even) { margin-left: 95px; }
  .stop-one { top: 8%; }
  .stop-two { top: 24%; }
  .stop-three { top: 40%; }
  .stop-four { top: 56%; }
  .stop-five { top: 72%; }
  .stop-six { top: 88%; }
  .transport-stop strong { margin-top: 4px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card,
  .feature-card:nth-child(4),
  .feature-card:nth-child(5) {
    grid-column: auto;
    width: 100%;
  }
  .steps { grid-template-columns: 1fr; }
  .steps::before { top: 7%; bottom: 7%; left: 51px; width: 2px; height: auto; }
  .story, .support { grid-template-columns: 1fr; }
  .story-art { min-height: 450px; }
  .story-copy { order: -1; }
  footer { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  footer small { grid-column: auto; }
}

@media (max-width: 480px) {
  .hero { padding-right: 18px; padding-left: 18px; }
  .hero-copy { width: 100%; min-width: 0; }
  .hero-description { font-size: 0.96rem; }
  .download-actions { display: grid; }
  .download-button { width: 100%; }
  .phone-stage { width: 100%; }
  .floating-card { min-width: 158px; padding: 10px; }
  .route-card { right: -2%; }
  .fare-card { left: -2%; }
  .feature-card,
  .feature-large,
  .feature-wide { min-height: 270px; padding: 24px; }
  .story-art { min-height: 370px; }
  .student { width: 61px; height: 115px; }
  .student::before { left: 11px; width: 42px; height: 46px; }
  .student span { display: none; }
  .story-bubble { top: 17%; left: 5%; }
  .email-link { font-size: .9rem; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; clip-path: none; transform: none; }
  .phone { transform: none !important; }
}
