.hero { row-gap: clamp(1.5rem, 3vw, 2.5rem); padding-block: clamp(1rem, 2vw, 1.75rem) 0; overflow: hidden; }

.hero-name { grid-column: 1 / -1; display: flex; align-items: baseline; justify-content: space-between; font-size: clamp(2.75rem, 13.6vw, 15rem); line-height: 0.9; letter-spacing: -0.045em; }

.hero-slot { display: block; width: 2.07em; height: 0.72em; overflow: hidden; border-radius: 0.08em; }

.hero-slot img { width: 100%; height: 100%; object-fit: cover; }

.hero-words { grid-column: 1 / span 5; align-self: center; display: grid; justify-items: start; gap: 1.5rem; padding-bottom: 3rem; }

.hero-words .statement { max-width: 22ch; }

.hero-devices { grid-column: 7 / span 6; display: flex; align-items: flex-start; justify-content: flex-end; gap: clamp(1rem, 2.5vw, 2.5rem); padding: 0 1rem 3rem; }

.hero-devices .device { flex: 0 1 clamp(150px, 17vw, 262px); }

.hero-devices .device-android { margin-top: 3.5rem; }

.device { position: relative; display: block; margin: 0; aspect-ratio: 1888 / 3952; container-type: inline-size; filter: drop-shadow(0 4cqw 7cqw rgba(8, 14, 28, 0.3)); }

.device img, .device video { position: absolute; left: 3.2%; top: 1.5%; width: 93.6%; height: 97%; object-fit: cover; border-radius: 13cqw; background: var(--surface); }

.device::after { content: ''; position: absolute; inset: 0; background: url('/assets/media/frame-iphone.webp') center / 100% 100% no-repeat; pointer-events: none; }

.device-android { aspect-ratio: 1466 / 3101; }

.device-android img, .device-android video { left: 3.7%; top: 1.65%; width: 92.05%; height: 96.8%; border-radius: 7.2cqw; }

.device-android::after { background-image: url('/assets/media/frame-android.webp'); }

.devices { display: flex; align-items: flex-start; padding: 0 0.5rem; }

.devices .device { flex: 1 1 0; min-width: 0; }

.devices .device-iphone { margin-left: -7%; }

.devices .device-android { margin-top: 12%; }

.devices-single { justify-content: center; }

.devices-single .device { flex: 0 1 58%; margin-top: 0; }

.route { position: relative; z-index: 0; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr auto; }

.route-words { padding: clamp(2.5rem, 5vw, 4.5rem) var(--margin) 2.5rem; display: flex; flex-direction: column; gap: 2rem; }

.route-words > p { max-width: 40ch; }

.route-proof { background: var(--surface); padding: clamp(2.5rem, 5vw, 4.5rem) var(--margin) 2.5rem; display: grid; place-items: center; }

.stages { display: grid; gap: 1.5rem; max-width: 34ch; }

.stages h3 { font-size: var(--step-statement); line-height: 1.2; letter-spacing: -0.015em; }

.stages p { margin-top: 0.5rem; }

.js .stages li { display: none; }

.js .stages li.is-current { display: block; }

.route-control { grid-column: 1 / -1; position: relative; padding: 0 var(--margin) 2rem; }

.route-control::before { content: ''; position: absolute; inset: 0 50% 0 0; background: var(--bg); z-index: -1; }

.route-control::after { content: ''; position: absolute; inset: 0 0 0 50%; background: var(--surface); z-index: -1; }

.route-track { position: relative; height: 44px; display: grid; align-items: center; }

.route-track::before { content: ''; position: absolute; inset-inline: 0; height: 8px; border-radius: var(--pill); background: var(--track); }

.route-track::after { content: ''; position: absolute; left: 0; width: calc(var(--progress, 0) * (100% - 32px) + 16px); height: 8px; border-radius: var(--pill); background: var(--ink); }

.route-track input { position: relative; z-index: 1; width: 100%; height: 44px; margin: 0; background: transparent; appearance: none; -webkit-appearance: none; cursor: grab; touch-action: pan-y; }

.route-track input:active { cursor: grabbing; }

.route-track input::-webkit-slider-runnable-track { height: 8px; background: transparent; }

.route-track input::-moz-range-track { height: 8px; background: transparent; }

.route-track input::-webkit-slider-thumb { -webkit-appearance: none; width: 32px; height: 32px; margin-top: -12px; background: var(--gold); border: 0; border-radius: 50%; box-shadow: 0 2px 10px rgba(8, 14, 28, 0.35); transition: transform 180ms var(--ease-out); }

.route-track input:active::-webkit-slider-thumb { transform: scale(1.18); }

.route-track input:active::-moz-range-thumb { transform: scale(1.18); }

.route-track input::-moz-range-thumb { width: 32px; height: 32px; background: var(--gold); border: 0; border-radius: 50%; box-shadow: 0 2px 10px rgba(8, 14, 28, 0.35); transition: transform 180ms var(--ease-out); }

.route-names { display: grid; grid-template-columns: repeat(5, 1fr); }

.route-names button { min-height: 44px; width: 100%; text-align: left; color: var(--soft); font-weight: 600; transition: color 180ms ease; }

.route-names li:nth-child(3) button { text-align: center; }

.route-names li:nth-child(n + 4) button { text-align: right; }

.route-names li:nth-child(2) button { padding-left: 25%; }

.route-names li:nth-child(4) button { padding-right: 25%; }

.route-names button[aria-pressed='true'] { color: var(--ink); }

.reminders { background: var(--navy); color: var(--on-navy); padding-block: clamp(3rem, 6vw, 5rem); row-gap: 0; align-content: start; }

.reminders h2 { grid-column: 1 / -1; font-size: var(--step-statement); line-height: 1.2; letter-spacing: -0.015em; }

.reminders-line { grid-column: 1 / -1; margin-top: 0.5rem; }

.reminders-line input { width: 100%; padding: 0; border: 0; border-radius: 0; background: transparent; color: var(--on-navy); caret-color: var(--gold); font-size: var(--step-poster); font-weight: 700; line-height: 1.1; letter-spacing: -0.04em; }

.reminders-answer { grid-column: 1 / span 6; margin-top: 2.5rem; }

.reminders-answer ol { display: grid; gap: 4px; }

.reminders-answer li { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: 1rem 1.25rem; border-radius: 14px; background: var(--navy-raised); transition: opacity 200ms ease; }

.reminders-answer time { font-family: var(--font-code); font-weight: 500; text-align: right; }

.reminders-answer li.is-past time { color: var(--on-navy-soft); }

.reminders-aside { grid-column: 8 / span 5; margin-top: 2.5rem; display: grid; gap: 1rem; align-content: start; }

.reminders-hint { display: none; color: var(--gold); }

.reminders[data-state='invalid'] .reminders-hint { display: block; }

.reminders[data-state='invalid'] .reminders-answer li { opacity: 0.4; }

.reminders-examples { display: flex; flex-wrap: wrap; gap: 0.5rem; }

.reminders-examples button { min-height: 44px; padding: 0 1.1rem; border-radius: var(--pill); background: var(--navy-raised); font-weight: 600; transition: background-color 180ms ease, transform 140ms var(--ease-out); }

.reminders-examples button:active { transform: scale(0.97); }

.reminders-note { color: var(--on-navy-soft); max-width: 44ch; }

.field { position: sticky; top: var(--header); height: calc(100svh - var(--header)); min-height: 34rem; grid-template-rows: auto 1fr; padding-block: clamp(2rem, 4vw, 3.5rem) 0; overflow: hidden; border-radius: 2rem 2rem 0 0; }

.field-gold { background: var(--gold); color: var(--navy); }

.field-surface { background: var(--surface); }

.field-navy { background: var(--navy); color: var(--on-navy); }

.field-tone { background: var(--tone); }

.field p { grid-column: 1 / span 4; grid-row: 1; max-width: 32ch; }

.field .poster { grid-column: 1 / span 7; grid-row: 2; align-self: end; padding-bottom: clamp(2rem, 4vw, 3.5rem); }

.field figure { grid-column: 8 / span 5; grid-row: 1 / span 2; margin: 0; }

.field-mirrored p { grid-column: 9 / span 4; justify-self: end; }

.field-mirrored .poster { grid-column: 6 / span 7; text-align: right; }

.field-mirrored figure { grid-column: 1 / span 5; }

.information { padding-block: clamp(4rem, 8vw, 7rem); row-gap: 2.5rem; background: var(--bg); position: relative; }

.information h2 { grid-column: 3 / -1; }

.information-facts { grid-column: 1 / span 2; display: grid; gap: 1.25rem; align-content: start; font-size: var(--step-small); }

.information-text { grid-column: 3 / -1; font-size: var(--step-statement); line-height: 1.2; letter-spacing: -0.015em; }

.information-text img { float: left; width: 3.6em; height: 3.6em; margin: 0.08em 0.5em 0 0; border-radius: 22%; }

.information-text p + p { margin-top: 1.2em; color: var(--soft); }

.free { position: relative; background: var(--gold); color: var(--navy); padding-block: clamp(3.5rem, 7vw, 6rem); row-gap: 2.5rem; align-items: end; }

.free h2 { grid-column: 1 / -1; }

.free-price { display: inline-block; padding: 0 0.15em; border-radius: 0.08em; background: var(--navy); color: var(--on-navy); }

.free p { grid-column: 1 / span 6; font-size: var(--step-statement); line-height: 1.2; letter-spacing: -0.015em; max-width: 26ch; }

.free p + p { grid-column: 9 / span 4; justify-self: end; font-size: var(--step-body); line-height: 1.5; letter-spacing: 0; }

@keyframes rise { from { opacity: 0; transform: translateY(24px); } }

@keyframes shutter { from { clip-path: inset(0 0 100% 0); transform: scale(1.12); } to { clip-path: inset(0); transform: none; } }

@media (hover: hover) and (pointer: fine) {
  .route-names button:hover { color: var(--ink); }
  .reminders-examples button:hover { background: #29477C; }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-slot img { animation: shutter 1300ms var(--ease-in-out) both; }
  .hero-words > *, .hero-devices { animation: rise 700ms var(--ease-out) both; }
  .hero-words > :nth-child(1) { animation-delay: 200ms; }
  .hero-words > :nth-child(2) { animation-delay: 280ms; }
  .hero-words > :nth-child(3) { animation-delay: 360ms; }
  .hero-devices { animation-delay: 320ms; }
  .js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out); transition-delay: calc(var(--reveal-order, 0) * 80ms); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
}

@media (max-width: 720px) {
  .hero-name { flex-direction: column; align-items: center; gap: 0.12em; font-size: 21vw; }
  .hero-slot { width: 100%; height: auto; aspect-ratio: 23 / 8; }
  .hero-words, .hero-devices { grid-column: 1 / -1; }
  .hero-words { padding-bottom: 0; }
  .hero-devices { justify-content: center; padding-bottom: 2.5rem; }
  .hero-devices .device { flex-basis: 44%; }
  .hero-devices .device-android { margin-top: 2rem; }
  .route { grid-template-columns: 1fr; }
  .route-proof { grid-row: 1; padding-block: 2rem; }
  .route-control { grid-row: 2; padding-bottom: 0.5rem; }
  .route-control::before { inset: 0; background: var(--surface); }
  .route-control::after { content: none; }
  .route-track input::-webkit-slider-thumb { width: 40px; height: 40px; margin-top: -16px; }
  .route-track input::-moz-range-thumb { width: 40px; height: 40px; }
  .route-track::after { width: calc(var(--progress, 0) * (100% - 40px) + 20px); }
  .route-names li:nth-child(2) button { padding-left: 15%; }
  .route-names li:nth-child(4) button { padding-right: 15%; }
  .route-words { grid-row: 3; padding-block: 2.5rem 3.5rem; }
  .reminders-answer, .reminders-aside { grid-column: 1 / -1; }
  .field { position: relative; top: auto; height: auto; min-height: 0; grid-template-rows: none; row-gap: 1.5rem; border-radius: 1.5rem 1.5rem 0 0; margin-top: -1.5rem; }
  .field p, .field-mirrored p { grid-column: 1 / -1; grid-row: auto; justify-self: start; order: 2; }
  .field .poster, .field-mirrored .poster { grid-column: 1 / -1; grid-row: auto; text-align: left; order: 1; padding-bottom: 0; }
  .field figure, .field-mirrored figure { grid-column: 2 / span 10; grid-row: auto; order: 3; max-height: 52svh; overflow: hidden; }
  .stack { padding-top: 1.5rem; background: var(--navy); }
  .information h2, .information-text, .information-facts { grid-column: 1 / -1; }
  .information-facts { order: 3; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
  .information-text img { width: 4.8em; height: 4.8em; }
  .free-price { display: table; margin-top: 0.08em; }
  .free p, .free p + p { grid-column: 1 / -1; justify-self: start; }
}

@media (min-width: 721px) and (max-width: 1100px) {
  .field p { grid-column: 1 / span 5; }
  .field figure { grid-column: 7 / span 6; }
  .field .poster { grid-column: 1 / span 6; }
  .field-mirrored .poster { grid-column: 7 / span 6; }
  .field-mirrored p { grid-column: 8 / span 5; }
  .field-mirrored figure { grid-column: 1 / span 6; }
  .hero-words { grid-column: 1 / span 6; }
}
