/* Wheelix landing page
   The background of each chapter follows the time of day in the story:
   dusk -> night -> dawn -> sunlight -> morning sky -> daylight. */

:root {
  --ink: #0B1220;
  --dusk: #221B45;
  --accent: #F5B83D;
  --paper: #F3F5F7;
  --line: #DDE2E8;
  --grey: #4A5565;
  --display: Sora, system-ui, sans-serif;
  --body: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--body); font-size: 16px; line-height: 1.6; color: var(--ink); background: var(--ink); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ol, dl, dd, address { margin: 0; padding: 0; font-style: normal; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -0.02em; text-wrap: balance; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.band--sun :focus-visible, .band--dawn :focus-visible, .band--white :focus-visible, .band--day :focus-visible, .form :focus-visible { outline-color: var(--ink); }

.skip { position: absolute; left: -9999px; top: 8px; padding: 12px 16px; background: var(--accent); color: var(--ink); font-weight: 600; border-radius: 8px; z-index: 10; }
.skip:focus { left: 8px; }

/* ---------- bands ---------- */
.band { background: var(--bg); color: var(--fg); --fg: var(--ink); --muted: var(--grey); --rail: rgba(11, 18, 32, .18); --time: var(--grey); --dot: var(--ink); }
.band--dusk, .band--night { --fg: #F3F5F7; --muted: #C9CEE0; --rail: rgba(255, 255, 255, .2); --time: var(--accent); --dot: var(--accent); }
.band--dusk { --bg: #221B45; }
.band--night { --bg: #0B1220; }
.band--dawn { --bg: #FDE6D2; }
.band--sun { --bg: #FFF3D6; }
.band--sky { --bg: #DCEEFB; }
.band--sky2 { --bg: #EAF4FC; }
.band--day { --bg: #F3F5F7; }
.band--white { --bg: #FFFFFF; }

.wrap { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border: 0; border-radius: 12px; font: 600 17px/1 var(--body); cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn--sm { min-height: 46px; padding: 0 20px; border-radius: 10px; font-size: 15px; }
.btn--accent { background: var(--accent); color: var(--ink); }
.btn--accent:hover { box-shadow: 0 8px 24px rgba(245, 184, 61, .35); }
.btn--ghost { border: 1px solid rgba(255, 255, 255, .35); color: #F3F5F7; }
.btn--ghost:hover { background: rgba(255, 255, 255, .08); }
.btn--dark { background: var(--ink); color: #F3F5F7; }
.btn--dark:hover { background: #1A2536; }

/* ---------- header ---------- */
.nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-top: 20px; padding-bottom: 20px; }
.logo { display: inline-flex; align-items: center; min-height: 44px; color: #F3F5F7; }
.logo-svg { display: block; width: 140px; height: auto; overflow: visible; }
.logo-dot { fill: var(--accent); transform-box: fill-box; transform-origin: center; transition: transform .25s ease; }
.logo:hover .logo-dot { transform: scale(1.35); }
.nav-links { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 24px; font-size: 15px; color: var(--muted); }
.nav-links a:not(.btn) { display: inline-flex; align-items: center; min-height: 44px; }
.nav-links a:not(.btn):hover { color: #fff; }

.hero { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; padding-top: 56px; padding-bottom: 88px; }
.hero-text { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.byline { display: inline-flex; align-items: center; gap: 10px; min-height: 36px; padding: 0 16px; border: 1px solid rgba(255, 255, 255, .28); border-radius: 999px; font-size: 14px; }
.nav-toggle { display: none; align-items: center; justify-content: center; width: 46px; height: 46px; padding: 0; border: 1px solid rgba(255, 255, 255, .28); border-radius: 12px; background: none; color: #F3F5F7; cursor: pointer; transition: background-color .2s ease; }
.nav-toggle:hover { background: rgba(255, 255, 255, .08); }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 20px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .25s ease, background-color .2s ease; }
.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.nav-toggle.is-open .nav-toggle-bars { background: transparent; }
.nav-toggle.is-open .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle.is-open .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 760px) {
  .nav-toggle { display: inline-flex; }
  .nav-links { display: none; flex: 1 1 100%; flex-direction: column; align-items: stretch; gap: 0; padding: 8px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 16px; background: rgba(11, 18, 32, .45); font-size: 17px; }
  .nav-links.is-open { display: flex; animation: pop .18s ease; }
  .nav-links a:not(.btn) { min-height: 52px; padding: 0 14px; border-radius: 10px; color: #F3F5F7; }
  .nav-links a:not(.btn):hover { background: rgba(255, 255, 255, .08); }
  .nav-links .btn { margin-top: 8px; min-height: 52px; font-size: 17px; }
}
.dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
h1 { max-width: 900px; font-weight: 700; font-size: clamp(36px, 4.6vw, 58px); line-height: 1.05; letter-spacing: -0.03em; }
.eyebrow { display: flex; align-items: center; }
.ring { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; margin-right: 10px; border-radius: 50%; background: var(--accent); color: var(--ink); }
.lead { max-width: 640px; font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }
.fine { font-size: 14px; color: var(--muted); }

/* ---------- story chapters ---------- */
.rail { position: relative; display: flex; flex-wrap: wrap; gap: 32px 48px; padding: 56px 0 72px 36px; border-left: 2px solid var(--rail); }
.rail::before { content: ""; position: absolute; left: -9px; top: 62px; width: 16px; height: 16px; border-radius: 50%; background: var(--dot); }
.rail--now::before { background: var(--accent); border: 3px solid var(--ink); }
.rail--end { border-image: linear-gradient(to bottom, var(--rail) 62px, transparent 62px) 1; padding-bottom: 80px; }
.daybreak { padding: 56px 0 0 38px; font: 600 15px/1.4 var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.daybreak + .rail { padding-top: 40px; }
.daybreak + .rail::before { top: 46px; }

.chapter-text { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.chapter-text h2 { font-weight: 600; font-size: clamp(26px, 3vw, 36px); line-height: 1.15; }
.chapter-text p { font-size: 17px; color: var(--muted); }
.chapter-text .aside { font-size: 15px; }
.time { font: 600 15px/1.4 var(--display); color: var(--time) !important; }
/* time-of-day icon beside each chapter's time */
.chapter .time { display: flex; align-items: center; gap: 8px; }
.chapter .time::before { content: ""; flex: none; width: 22px; height: 22px; background: var(--tod) center / contain no-repeat; }
.band { --tod: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Ccircle cx='11' cy='11' r='4.5' fill='%23E8890C'/%3E%3Cg stroke='%23E8890C' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M11 1.500v2.500M11 18v2.500M1.500 11H4M18 11h2.500M4.300 4.300l1.800 1.800M15.900 15.900l1.800 1.800M4.300 17.700l1.800-1.800M15.900 6.100l1.800-1.800'/%3E%3C/g%3E%3C/svg%3E"); }
.band--dusk, .band--night { --tod: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M18.500 13.500A8 8 0 0 1 8.500 3.500a8 8 0 1 0 10 10z' fill='%23F5B83D'/%3E%3C/svg%3E"); }
.band--dawn { --tod: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M5 15a6 6 0 0 1 12 0z' fill='%23E8890C'/%3E%3Cg stroke='%23E8890C' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M11 3v2.500M3.500 7.500l1.800 1.800M18.500 7.500l-1.800 1.800'/%3E%3C/g%3E%3Cpath d='M2 18.500h18' stroke='%230B1220' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); }
.chapter-visual { flex: 1 1 340px; min-width: 0; align-self: flex-start; }
.chapter-visual--phone { flex: 0 1 270px; }

/* ---------- product mock screens ---------- */
.ui { display: flex; flex-direction: column; gap: 12px; padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: #fff; color: var(--ink); font-size: 14px; box-shadow: 0 18px 40px rgba(11, 18, 32, .08); }
.ui--dark { background: #131C2B; border-color: #2A3547; color: #F3F5F7; box-shadow: 0 18px 40px rgba(0, 0, 0, .28); }
.ui hr { width: 100%; height: 1px; margin: 2px 0; border: 0; background: var(--line); }
.ui-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ui-head strong { font: 600 16px/1.3 var(--display); }
.muted { color: var(--grey); }
.pill { padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.pill--outline { border: 1px solid #5A6880; color: #C5CEDA; }
.pill--light { background: #F3F5F7; color: var(--ink); }
.pill--accent { background: var(--accent); color: var(--ink); }
.pill--dark { background: var(--ink); color: #F3F5F7; }
.field { padding: 12px 14px; border-radius: 10px; background: #1A2536; }
.field--light { background: var(--paper); color: var(--grey); }
.field small { display: block; font-size: 12px; color: #9AA7B8; }
.field-row { display: flex; gap: 10px; }
.field-row .field { flex: 1; }
.total { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; margin-top: 4px; border-radius: 10px; background: var(--paper); }
.total strong:last-child { font: 600 18px/1.2 var(--display); }
.total--light { background: #F3F5F7; color: var(--ink); }
.tick { display: flex; align-items: center; gap: 12px; color: #C5CEDA; }
.tick svg { flex: none; color: var(--accent); }
.line { display: flex; justify-content: space-between; gap: 12px; }
.driver { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px; border: 1px solid var(--line); border-radius: 12px; }
.driver small { display: block; font-size: 12px; color: var(--grey); }
.driver--top { border-color: var(--ink); background: var(--ink); color: #F3F5F7; }
.driver--top small { color: #C5CEDA; }
.driver--off { color: var(--grey); }
.rank { font-size: 13px; color: var(--grey); }
.chip { padding: 8px 14px; border-radius: 8px; font-size: 13px; font-weight: 600; }
.chip--accent { background: var(--accent); color: var(--ink); }
.stars { display: flex; gap: 6px; color: var(--ink); }

.route { list-style: none; display: flex; flex-direction: column; }
.route li { position: relative; padding: 0 0 18px 24px; }
.route li:last-child { padding-bottom: 0; }
.route li::before { content: ""; position: absolute; left: 0; top: 6px; width: 10px; height: 10px; border-radius: 50%; border: 2px solid #9AA7B8; }
.route li.route-done::before { border-color: var(--accent); background: var(--accent); }
.route li:not(:last-child)::after { content: ""; position: absolute; left: 4px; top: 18px; bottom: -4px; width: 2px; background: #3A475C; }
.route small { display: block; font-size: 12px; color: #9AA7B8; }

.phone { display: flex; flex-direction: column; gap: 12px; padding: 22px 16px 18px; border: 8px solid var(--ink); border-radius: 36px; background: #fff; color: var(--ink); font-size: 13px; box-shadow: 0 18px 40px rgba(11, 18, 32, .14); }
.check { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 12px; border: 1px solid #C9D0D9; border-radius: 10px; color: var(--grey); }
.check--done { border-color: transparent; background: var(--paper); color: var(--ink); }
.box { width: 14px; height: 14px; border: 1.5px solid #6B7686; border-radius: 4px; }
.phone-btn { display: flex; align-items: center; justify-content: center; min-height: 44px; border-radius: 10px; background: #E4E8ED; color: var(--grey); font-weight: 600; font-size: 14px; }

.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; font-size: 14px; }
.tile { display: flex; flex-direction: column; gap: 4px; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); }
.tile span { color: var(--grey); }

/* ---------- sections ---------- */
.section { padding: 88px 0; }
.section--ruled { border-top: 1px solid var(--line); }
.section-head { display: flex; flex-direction: column; gap: 10px; max-width: 720px; margin-bottom: 36px; }
.section-head h2, .split-text h2 { font-weight: 600; font-size: clamp(28px, 3.4vw, 40px); line-height: 1.15; }
.section-head p:last-child, .split-text > p:not(.eyebrow):not(.time) { font-size: 17px; color: var(--muted); }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 16px; }
.card { display: flex; flex-direction: column; gap: 6px; padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); transition: transform .2s ease, box-shadow .2s ease; }
.card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(11, 18, 32, .08); }
.card h3 { font-weight: 600; font-size: 17px; letter-spacing: -0.01em; }
.icon { display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; margin-bottom: 8px; border-radius: 14px; background: #E7E3F6; color: var(--dusk); transition: transform .25s ease, background-color .25s ease; }
.icon svg { width: 30px; height: 30px; }
.card:hover .icon { transform: rotate(-6deg) scale(1.06); background: #DAD4F2; }
.card p { font-size: 15px; color: var(--grey); }
.strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 36px; padding: 22px 26px; border-radius: 16px; background: var(--ink); color: #F3F5F7; font-size: 17px; }
.strip span { color: #C5CEDA; }

.split { display: flex; flex-wrap: wrap; align-items: center; gap: 40px 56px; }
.split--top { align-items: flex-start; }
.split-text { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.h-big { font-weight: 700 !important; font-size: clamp(32px, 4vw, 48px) !important; line-height: 1.08 !important; letter-spacing: -0.03em; }

.stats { flex: 1 1 380px; min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.stat { display: flex; flex-direction: column; gap: 4px; padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.stat dt { font: 700 36px/1.1 var(--display); letter-spacing: -0.02em; }
.stat dd { color: var(--grey); }
.stat--dusk { border-color: var(--dusk); background: var(--dusk); color: #F3F5F7; }
.stat--dusk dt { color: var(--accent); }
.stat--dusk dd { color: #F3F5F7; }

/* ---------- demo ---------- */
.contacts { display: flex; flex-direction: column; gap: 14px; font-size: 17px; }
.contact { display: flex; align-items: center; gap: 14px; min-height: 44px; }
.contact:hover strong { text-decoration: underline; }
.contact-icon { flex: none; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(255, 255, 255, .1); color: var(--accent); }
.contact small { display: block; font-size: 13px; color: var(--muted); }
.offices { align-self: stretch; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; font-size: 15px; }
.office { display: flex; flex-direction: column; gap: 6px; padding: 18px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 14px; }
.office-country { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.office a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }
.office a:hover { text-decoration: underline; }

.form { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 18px; padding: 32px; border-radius: 20px; background: var(--paper); color: var(--ink); }
.form h3 { font-weight: 600; font-size: 22px; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.f { display: flex; flex-direction: column; gap: 6px; }
.f label { font-size: 14px; font-weight: 600; }
.optional { font-weight: 400; color: var(--grey); }
.f input, .f select, .f textarea { width: 100%; min-height: 48px; padding: 0 14px; border: 1px solid #6B7686; border-radius: 10px; background: #fff; color: var(--ink); font: 400 16px/1.4 var(--body); }
.f textarea { padding: 12px 14px; resize: vertical; }
.f input:focus, .f select:focus, .f textarea:focus { outline: 3px solid var(--dusk); outline-offset: 1px; }
.f [aria-invalid="true"] { border-color: #B42318; border-width: 2px; }
.form-status { font-size: 14px; font-weight: 600; }
.form-status:empty { display: none; }
.form-status.is-error { color: #B42318; }
.form-status.is-ok { color: #1B5E3A; }
.form-note { font-size: 13px; color: var(--grey); }

/* ---------- footer ---------- */
.footer { font-size: 15px; color: var(--muted); }
.footer-road { height: 4px; background: repeating-linear-gradient(to right, var(--accent) 0 28px, transparent 28px 56px); background-size: 56px 4px; opacity: .8; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 40px 56px; padding-top: 56px; padding-bottom: 40px; }
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.footer-brand p { max-width: 320px; }
.footer-col { display: flex; flex-direction: column; align-items: flex-start; }
.footer-col h2 { margin-bottom: 6px; font: 600 12px/1.4 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.footer-link { position: relative; display: inline-flex; align-items: center; min-height: 44px; color: #F3F5F7; transition: transform .2s ease, color .2s ease; }
.footer-link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 9px; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.footer-link:hover { transform: translateX(4px); }
.footer-link:hover::after { transform: scaleX(1); }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; padding-top: 16px; padding-bottom: 24px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 14px; }
.to-top { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: #F3F5F7; }
.to-top svg { transition: transform .2s ease; }
.to-top:hover svg { transform: translateY(-4px); }

/* ---------- hero scene ---------- */
.scene { flex: 1 1 380px; min-width: 0; max-width: 520px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .14); border-radius: 24px; background: #131C2B; box-shadow: 0 30px 60px rgba(0, 0, 0, .35); --x: 4%; --sky: #3B2C73; --ox: 76%; --oy: 30%; --orb: #EDEBFF; }
.scene[data-stage="1"] { --sky: #0F1630; --ox: 58%; --oy: 14%; }
.scene[data-stage="2"] { --sky: #F4A77A; --ox: 10%; --oy: 50%; --orb: #FFE7A8; }
.scene[data-stage="3"] { --sky: #FFD27F; --ox: 24%; --oy: 32%; --orb: #FFF6D6; }
.scene[data-stage="4"] { --sky: #8FCBF5; --ox: 40%; --oy: 16%; --orb: #FFD54A; }
.scene[data-stage="5"] { --sky: #A6D7F8; --ox: 56%; --oy: 10%; --orb: #FFD54A; }
.scene[data-stage="6"] { --sky: #B5DEFA; --ox: 60%; --oy: 9%; --orb: #FFD54A; }
.scene-sky { position: relative; height: 240px; overflow: hidden; background: var(--sky); transition: background-color 1.6s ease; }
.scene-stars { position: absolute; inset: 0 0 auto 0; width: 100%; height: 140px; opacity: 0; transition: opacity 1.2s ease; }
.scene[data-stage="0"] .scene-stars, .scene[data-stage="1"] .scene-stars { opacity: .9; }
.scene-orb { position: absolute; left: var(--ox); top: var(--oy); width: 44px; height: 44px; border-radius: 50%; background: var(--orb); box-shadow: 0 0 0 10px rgba(255, 255, 255, .14), 0 0 0 22px rgba(255, 255, 255, .07); transition: left 1.6s ease, top 1.6s ease, background-color 1.6s ease; }
.scene-skyline { position: absolute; left: 0; bottom: 44px; width: 100%; height: 90px; fill: rgba(11, 18, 32, .42); }
.scene-road { position: absolute; left: 0; right: 0; bottom: 0; height: 44px; background: #0B1220; }
.scene-road::before { content: ""; position: absolute; left: 0; right: 0; top: 26px; height: 3px; background: repeating-linear-gradient(to right, rgba(245, 184, 61, .8) 0 18px, transparent 18px 36px); }
.scene-pin { position: absolute; bottom: 74px; transform: translateX(-50%); padding: 3px 9px; border-radius: 999px; background: #0B1220; color: #F3F5F7; font-size: 11px; font-weight: 600; white-space: nowrap; }
.scene-pin::after { content: ""; position: absolute; left: 50%; top: 100%; width: 2px; height: 30px; margin-left: -1px; background: #0B1220; }
.scene-pin--a { left: 36%; }
.scene-pin--b { left: 84%; }
.scene-car { position: absolute; left: var(--x); bottom: 12px; width: 84px; transition: left 2.2s cubic-bezier(.45, 0, .2, 1); }
.scene-car svg { display: block; width: 100%; }
.scene-beam { position: absolute; left: 96%; top: 38%; width: 64px; height: 24px; background: linear-gradient(to right, rgba(245, 184, 61, .6), rgba(245, 184, 61, 0)); clip-path: polygon(0 38%, 100% 0, 100% 100%, 0 62%); opacity: 0; transition: opacity 1s ease; }
.scene[data-stage="0"] .scene-beam, .scene[data-stage="1"] .scene-beam, .scene[data-stage="2"] .scene-beam { opacity: 1; }
.scene-panel { display: flex; flex-direction: column; gap: 10px; padding: 20px 22px 8px; color: #F3F5F7; }
.scene-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.scene-time { font: 700 40px/1 var(--display); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.scene-text { min-height: 48px; font-size: 15px; color: #C5CEDA; }
.scene-steps { display: flex; gap: 6px; }
.scene-steps button { flex: 1; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; }
.scene-steps button::before { content: ""; display: block; height: 6px; border-radius: 3px; background: #2A3547; transition: background-color .3s ease, transform .2s ease; }
.scene-steps button:hover::before { transform: scaleY(1.6); }
.scene-steps button.is-done::before { background: #8C7434; }
.scene-steps button.is-now::before { background: var(--accent); }
.swap { animation: swap .5s ease; }
@keyframes swap { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes ring {
  0%, 60%, 100% { transform: rotate(0); box-shadow: 0 0 0 0 rgba(245, 184, 61, .5); }
  5%, 15%, 25% { transform: rotate(-14deg); }
  10%, 20%, 30% { transform: rotate(14deg); }
  35% { transform: rotate(0); box-shadow: 0 0 0 0 rgba(245, 184, 61, .5); }
  59% { box-shadow: 0 0 0 14px rgba(245, 184, 61, 0); }
}

/* ---------- custom select ---------- */
.select { position: relative; }
.select-native { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.select-trigger { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 48px; padding: 0 14px; border: 1px solid #6B7686; border-radius: 10px; background: #fff; color: var(--ink); font: 400 16px/1.4 var(--body); text-align: left; cursor: pointer; transition: border-color .15s ease, box-shadow .15s ease; }
.select-trigger:hover { border-color: var(--ink); }
.select-trigger:focus-visible, .select.is-open .select-trigger { outline: 0; border-color: var(--dusk); box-shadow: 0 0 0 3px rgba(34, 27, 69, .25); }
.select-chevron { flex: none; color: var(--grey); transition: transform .2s ease; }
.select.is-open .select-chevron { transform: rotate(180deg); }
.select-list { position: absolute; z-index: 5; left: 0; right: 0; top: calc(100% + 6px); margin: 0; padding: 6px; list-style: none; border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: 0 16px 40px rgba(11, 18, 32, .18); outline: 0; transform-origin: top; animation: pop .14s ease; }
.select-list[hidden] { display: none; }
.select-option { position: relative; display: flex; align-items: center; min-height: 40px; padding: 0 12px 0 36px; border-radius: 8px; font-size: 15px; cursor: pointer; user-select: none; }
.select-option svg { position: absolute; left: 12px; width: 16px; height: 16px; color: var(--dusk); opacity: 0; }
.select-option[aria-selected="true"] { font-weight: 600; }
.select-option[aria-selected="true"] svg { opacity: 1; }
.select-option.is-active { background: #EFEDF8; }
@keyframes pop { from { opacity: 0; transform: scale(.97) translateY(-4px); } to { opacity: 1; transform: none; } }

/* ---------- motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal > * { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
  .js .reveal > .chapter-visual { transition-delay: .12s; }
  .js .reveal.is-in > * { opacity: 1; transform: none; }
  .ring { animation: ring 2.6s ease-in-out infinite; }
  .footer-road { animation: road 1.6s linear infinite; }
}
@keyframes road { to { background-position: 56px 0; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .card, .icon, .scene-sky, .scene-orb, .scene-car, .scene-beam, .scene-stars, .footer-link, .footer-link::after { transition: none; }
  .swap, .select-list { animation: none; }
}

/* ---------- small screens ---------- */
@media (max-width: 640px) {
  .wrap { padding-left: 16px; padding-right: 16px; }
  .rail { padding-left: 24px; padding-bottom: 56px; }
  .daybreak { padding-left: 26px; }
  .hero { padding-top: 40px; padding-bottom: 64px; }
  .section { padding: 64px 0; }
  .logo-svg { width: 122px; }
  .scene { max-width: none; }
  .scene-sky { height: 200px; }
  .form { padding: 22px; }
  .chapter-visual--phone { flex-basis: 100%; max-width: 300px; }
  .stat dt { font-size: 30px; }
}
