/* MetroMax - introduction site. Static, no external requests. RTL, mobile first. */
@font-face { font-family: "Vazirmatn"; src: url("../fonts/vazirmatn_regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Vazirmatn"; src: url("../fonts/vazirmatn_bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Vazirmatn"; src: url("../fonts/vazirmatn_black.ttf") format("truetype"); font-weight: 900; font-display: swap; }

:root {
  color-scheme: dark;
  --accent-text: #F5B800;
  --bar-surface: rgba(11,11,12,.82);
  --map-surface: #101012;
  --map-glow: #1B1B1E;
  --map-label: #CFCFC8;
  --map-station: #E9E9E4;
  --yellow: #F5B800;
  --yellow-2: #FFD54A;
  --ink: #0B0B0C;
  --ink-2: #131315;
  --card: #1A1A1D;
  --card-2: #232327;
  --line: #2E2E33;
  --text: #F5F5F0;
  --muted: #B5B2A8;
  --red: #FF4A3D;
  --green: #36C46B;
  --cyan: #00AAD4;
  --radius: 22px;
  --gutter: clamp(16px, 5vw, 56px);
  --max: 1160px;
}
:root[data-theme="light"] {
  color-scheme: light;
  --accent-text: #775000;
  --bar-surface: rgba(250,248,242,.94);
  --map-surface: #F3EEE1;
  --map-glow: #FFFCF4;
  --map-label: #393325;
  --map-station: #3C372D;
  --ink: #FAF8F2;
  --ink-2: #F1EBDE;
  --card: #FFFDF7;
  --card-2: #F9F1DA;
  --line: #CFC5B2;
  --text: #201E18;
  --muted: #615A4D;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
main, footer { overflow-x: clip; }
body {
  background: var(--ink); color: var(--text); font-family: "Vazirmatn", system-ui, sans-serif;
  line-height: 1.85; overflow-x: clip; font-size: 17px;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
.wrap { width: min(100%, var(--max)); margin-inline: auto; padding-inline: var(--gutter); }
section { position: relative; scroll-margin-top: 68px; padding-block: clamp(64px, 11vw, 132px); }
h1, h2, h3 { line-height: 1.35; font-weight: 900; }
h2 { font-size: clamp(28px, 5.4vw, 52px); letter-spacing: -.5px; }
h3 { font-size: clamp(19px, 2.6vw, 23px); font-weight: 700; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; color: var(--accent-text); font-weight: 700; font-size: 14px;
  letter-spacing: .5px; margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 26px; height: 3px; border-radius: 3px; background: var(--yellow); }
.lead { color: var(--muted); font-size: clamp(16px, 2.2vw, 20px); max-width: 38em; margin-top: 16px; }
.hl { color: var(--accent-text); }
.soon-tag {
  display: inline-block; font-size: 12px; font-weight: 700; color: #111; background: var(--yellow);
  border-radius: 999px; padding: 1px 10px; line-height: 1.8; vertical-align: middle; margin-inline-start: 8px;
}

/* ---------- reveal on scroll ---------- */
.rv { opacity: 0; transform: translateY(34px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); }
.rv.in { opacity: 1; transform: none; }
.rv-l { transform: translateX(-46px); }
.rv-r { transform: translateX(46px); }
.rv-s { transform: scale(.92); }

/* ---------- top bar ---------- */
.bar {
  position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background .3s, backdrop-filter .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.bar.solid { background: var(--bar-surface); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--line); }
.bar .wrap { display: flex; align-items: center; gap: 22px; height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 900; font-size: 22px; }
.logo { width: 40px; height: 40px; border-radius: 12px; background: var(--yellow); display: grid; place-items: center; }
.logo svg { width: 26px; height: 26px; fill: #000; }
.nav { display: none; margin-inline-start: auto; gap: 26px; font-weight: 700; font-size: 15px; color: var(--muted); }
.nav a:hover { color: var(--accent-text); }
.theme-toggle {
  margin-inline-start: auto; border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 12px; font-size: 14px; font-weight: 700; white-space: nowrap;
}
.theme-toggle:hover { border-color: var(--accent-text); }
.theme-toggle:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 3px; }
.theme-toggle[aria-pressed="true"] { background: var(--card-2); }
.bar .cta { margin-inline-start: auto; white-space: nowrap; }
.theme-toggle:not([hidden]) + .cta { margin-inline-start: 0; }
@media (max-width: 479px) {
  .bar .wrap { gap: 8px; }
  .bar .brand { gap: 6px; font-size: 18px; }
  .bar .cta { padding-inline: 12px; }
}
@media (min-width: 900px) {
  .nav { display: flex; }
  .bar .cta, .theme-toggle { margin-inline-start: 0; }
}
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; border-radius: 999px; padding: 12px 26px;
  font-weight: 700; font-size: 16px; transition: transform .2s, box-shadow .2s, background .2s;
}
.btn.primary { background: var(--yellow); color: #111; }
.btn.primary:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(245,184,0,.35); }
.btn.ghost { border: 1.5px solid var(--line); color: var(--text); }
.btn.ghost:hover { border-color: var(--yellow); color: var(--accent-text); }
.btn[aria-disabled="true"] { cursor: default; opacity: .88; }
.btn[aria-disabled="true"]:hover { transform: none; box-shadow: none; }

/* ---------- hero ---------- */
.hero { padding-top: 130px; padding-bottom: 70px; min-height: min(100svh, 860px); display: flex; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.hero-bg::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px;
  background: radial-gradient(closest-side, rgba(245,184,0,.18), transparent 70%);
}
.tracks { position: absolute; inset: 0; opacity: .12; }
@media (min-width: 940px) { .tracks { opacity: .26; } }
.tracks .stripe { position: absolute; height: 6px; border-radius: 6px; left: -10%; width: 120%; opacity: .9; }
.tracks .stripe::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.55) 0 22px, transparent 22px 44px); mix-blend-mode: overlay;
  animation: slide 6s linear infinite; animation-play-state: var(--run, paused);
}
@keyframes slide { to { transform: translateX(-44px); } }
.hero-grid { position: relative; z-index: 1; display: grid; gap: 48px; align-items: center; }
@media (min-width: 940px) { .hero-grid { grid-template-columns: 1.1fr .9fr; } }
.hero h1 { font-size: clamp(38px, 8vw, 78px); line-height: 1.2; letter-spacing: -1.5px; }
.hero h1 .row { display: block; overflow: hidden; }
.hero h1 .row > span { display: inline-block; transform: translateY(110%); animation: rise .9s cubic-bezier(.2,.8,.2,1) forwards; }
.hero h1 .row:nth-child(2) > span { animation-delay: .12s; }
@keyframes rise { to { transform: none; } }
.hero .lead { animation: fade 1s .35s both; }
.hero .actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; animation: fade 1s .5s both; }
@keyframes fade { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.hero-note { color: var(--muted); font-size: 14px; margin-top: 16px; animation: fade 1s .65s both; }
.hero-phone { display: grid; place-items: center; position: relative; animation: fade 1.1s .3s both; }
.hero-phone .float { animation: bob 6s ease-in-out infinite; animation-play-state: var(--run, paused); }
@keyframes bob { 50% { transform: translateY(-14px) rotate(-.6deg); } }
.scroll-hint { position: absolute; bottom: 22px; left: 50%; width: 26px; height: 44px; border: 2px solid var(--line); border-radius: 14px; translate: -50% 0; z-index: 1; display: none; }
.scroll-hint::after { content: ""; position: absolute; top: 8px; left: 50%; width: 4px; height: 8px; border-radius: 4px; background: var(--yellow); translate: -50% 0; animation: wheel 1.8s infinite; animation-play-state: var(--run, paused); }
@keyframes wheel { 0% { opacity: 1; } 100% { opacity: 0; transform: translateY(16px); } }
@media (min-width: 940px) { .scroll-hint { display: block; } }

/* ---------- phone mockup ---------- */
.phone {
  --w: 290px; width: var(--w); aspect-ratio: 290 / 600; border-radius: 44px; background: #050505; padding: 11px; position: relative;
  box-shadow: 0 0 0 2px #2a2a2e, 0 0 0 5px #0a0a0b, 0 40px 80px rgba(0,0,0,.65), 0 0 90px rgba(245,184,0,.14);
}
.phone {
  color-scheme: dark;
  --text: #F5F5F0;
  --muted: #B5B2A8;
  color: var(--text);
}
.phone::before { content: ""; position: absolute; top: 20px; left: 50%; width: 14px; height: 14px; border-radius: 50%; background: #16161a; translate: -50% 0; z-index: 6; box-shadow: inset 0 0 0 3px #0c0c0e; }
.screen { position: relative; width: 100%; height: 100%; border-radius: 34px; overflow: hidden; background: #0F0F0F; font-size: 13px; line-height: 1.6; }
.screen > .scr { position: absolute; inset: 0; padding: 46px 16px 18px; display: flex; flex-direction: column; opacity: 0; transition: opacity .5s ease; }
.screen > .scr.on { opacity: 1; }
.app-head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.app-head .logo { width: 30px; height: 30px; border-radius: 9px; }
.app-head .logo svg { width: 19px; height: 19px; }
.app-head b { font-size: 15px; display: block; line-height: 1.2; }
.app-head small { color: var(--muted); font-size: 11px; }
.pro { margin-inline-start: auto; font-size: 10px; font-weight: 900; padding: 1px 8px; border-radius: 6px; color: #fff; background: linear-gradient(90deg,#FF5C5C,#FFB020,#34C759,#35A7FF,#B45CFF); }
.board { background: #181818; border-radius: 18px; padding: 14px; border-top: 4px solid var(--yellow); }
.board small { color: var(--muted); display: block; font-size: 11px; }
.board .name { font-size: 29px; font-weight: 900; line-height: 1.25; margin: 2px 0 6px; transition: transform .45s cubic-bezier(.2,.8,.2,1), opacity .35s; }
.board .name.swap { transform: translateY(14px); opacity: 0; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { font-size: 11px; font-weight: 700; padding: 1px 10px; border-radius: 999px; color: #fff; background: var(--c, #555); }
.next { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; padding-top: 10px; border-top: 1px solid #2c2c2c; }
.next b { font-size: 15px; }
.mini-line { position: relative; margin: 22px 6px 6px; height: 4px; background: #2d2d2d; border-radius: 4px; }
.mini-line i { position: absolute; top: 0; right: 0; height: 100%; border-radius: 4px; background: var(--c, var(--cyan)); width: 0; transition: width .9s cubic-bezier(.3,.7,.2,1); }
.mini-line em { position: absolute; top: 50%; width: 12px; height: 12px; border-radius: 50%; background: #0F0F0F; border: 3px solid #555; translate: 50% -50%; transition: border-color .5s, background .5s; }
.mini-line em.done { border-color: var(--c, var(--cyan)); background: var(--c, var(--cyan)); }
.mini-line .train { position: absolute; top: 50%; width: 22px; height: 22px; border-radius: 50%; background: #fff; translate: 50% -50%; display: grid; place-items: center; transition: right .9s cubic-bezier(.3,.7,.2,1); box-shadow: 0 0 0 5px rgba(255,255,255,.18); }
.mini-line .train svg { width: 13px; height: 13px; fill: #000; }
.status-row { display: flex; gap: 8px; margin-top: auto; }
.pill { flex: 1; text-align: center; background: #1c1c1c; border-radius: 12px; padding: 7px 4px; font-size: 11px; color: var(--muted); }
.pill b { display: block; color: var(--text); font-size: 13px; }
.btn-fake { background: var(--yellow); color: #111; text-align: center; font-weight: 900; border-radius: 999px; padding: 11px; margin-top: 12px; font-size: 14px; }
.field { background: #181818; border-radius: 14px; padding: 10px 12px; margin-bottom: 10px; }
.field small { color: var(--muted); font-size: 11px; display: block; }
.field b { font-size: 15px; }
.seg { display: flex; gap: 6px; margin: 8px 0 4px; }
.seg span { flex: 1; text-align: center; padding: 5px 0; border-radius: 10px; background: #1c1c1c; font-size: 11px; color: var(--muted); }
.seg span.sel { background: var(--yellow); color: #111; font-weight: 700; }
.scr.alarm { background: #3d1210; align-items: center; justify-content: center; text-align: center; padding-top: 40px; }
.scr.alarm.calm { background: #2a2208; }
.ring-wrap { position: relative; width: 112px; height: 112px; display: grid; place-items: center; margin-bottom: 18px; }
.ring-wrap::before, .ring-wrap::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 3px solid var(--red); animation: ring 1.8s ease-out infinite; animation-play-state: var(--run, paused); }
.ring-wrap::after { animation-delay: .9s; }
.calm .ring-wrap::before, .calm .ring-wrap::after { border-color: var(--yellow); }
@keyframes ring { from { transform: scale(.55); opacity: .95; } to { transform: scale(1.45); opacity: 0; } }
.ring-wrap svg { width: 52px; height: 52px; fill: #fff; animation: shake 1.2s ease-in-out infinite; animation-play-state: var(--run, paused); }
@keyframes shake { 0%, 100% { rotate: 0deg; } 10%, 30%, 50% { rotate: -14deg; } 20%, 40% { rotate: 14deg; } 60% { rotate: 0deg; } }
.alarm h4 { font-size: 22px; font-weight: 900; line-height: 1.4; }
.alarm p { color: #ffd7d3; margin-top: 8px; font-size: 13px; }
.calm p { color: #f3e3a8; }
.alarm .ok { margin-top: 22px; width: 100%; background: #fff; color: #111; border-radius: 999px; padding: 11px; font-weight: 900; }
.notif { background: rgba(35,35,39,.96); border-radius: 18px; padding: 11px 13px; margin-bottom: 10px; display: flex; gap: 10px; align-items: flex-start; box-shadow: 0 6px 18px rgba(0,0,0,.4); }
.notif .logo { width: 28px; height: 28px; border-radius: 8px; flex: none; }
.notif .logo svg { width: 17px; height: 17px; }
.notif b { display: block; font-size: 13px; line-height: 1.5; }
.notif small { color: var(--muted); font-size: 12px; line-height: 1.5; display: block; }
.quiz { margin-top: 14px; width: 100%; background: rgba(0,0,0,.28); border-radius: 14px; padding: 10px; }
.quiz b { font-size: 18px; }
.quiz .opts { display: flex; gap: 6px; margin-top: 8px; }
.quiz .opts span { flex: 1; border-radius: 10px; background: rgba(255,255,255,.14); padding: 5px 0; font-weight: 700; }

/* ---------- stats strip ---------- */
.strip { padding-block: 0; background: var(--yellow); color: #111; overflow: hidden; }
.strip .wrap { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; padding-block: 28px; }
@media (min-width: 800px) { .strip .wrap { grid-template-columns: repeat(4, 1fr); } }
.stat { text-align: center; padding: 8px 10px; }
.stat b { display: block; font-size: clamp(34px, 6vw, 56px); font-weight: 900; line-height: 1.1; }
.stat span { font-weight: 700; font-size: 15px; opacity: .8; }

/* ---------- marquee of stations ---------- */
.marquee { padding-block: 26px; border-block: 1px solid var(--line); overflow: hidden; background: var(--ink-2); }
.marquee .row { display: flex; width: max-content; animation: marq 70s linear infinite; animation-play-state: var(--run, paused); }
.marquee .row:hover { animation-play-state: paused; }
.marquee span { display: inline-flex; align-items: center; gap: 12px; padding-inline: 18px; font-weight: 700; color: var(--muted); font-size: 18px; white-space: nowrap; }
.marquee span::after { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 3px rgba(255,255,255,.08); }
@keyframes marq { to { transform: translateX(50%); } }

/* ---------- story (sticky phone) ---------- */
.story-grid { display: grid; gap: 40px; margin-top: 56px; }
.story-phone { position: sticky; top: 76px; z-index: 3; display: grid; place-items: center; padding-block: 6px; background: linear-gradient(var(--ink) 70%, transparent); }
.story-phone .phone { --w: 176px; }
.story-phone .phone .screen { font-size: 8.4px; }
.story-phone .phone .scr { padding: 34px 11px 12px; }
.story-phone .phone { border-radius: 32px; padding: 8px; }
.story-phone .screen { border-radius: 25px; }
.steps { display: grid; gap: 28px; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; transition: border-color .4s, transform .4s, background .4s; }
.step.active { border-color: var(--yellow); background: var(--card-2); transform: scale(1.01); }
.step .num { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--yellow); color: #111; font-weight: 900; margin-bottom: 12px; }
.step p { color: var(--muted); margin-top: 8px; }
@media (min-width: 900px) {
  .story-phone .phone .scr { padding: 46px 16px 18px; }
  .story-phone .phone { border-radius: 44px; padding: 11px; }
  .story-phone .screen { border-radius: 34px; }
  .story-grid { grid-template-columns: .9fr 1fr; gap: 80px; align-items: start; }
  .story-phone { top: 110px; background: none; padding: 0; }
  .story-phone .phone { --w: 300px; }
  .story-phone .phone .screen { font-size: 13px; }
  .steps { gap: 36vh; padding-block: 8vh 24vh; }
  .step { padding: 32px; }
}

/* ---------- map ---------- */
.map-card { background: radial-gradient(120% 90% at 70% 0%, var(--map-glow), var(--map-surface)); border: 1px solid var(--line); border-radius: 30px; padding: clamp(10px, 2vw, 22px); margin-top: 40px; position: relative; overflow: hidden; }
.map-svg { width: 100%; height: auto; max-height: 76vh; }
.map-svg .ln { fill: none; stroke-width: 9; stroke-linecap: round; stroke-linejoin: round; transition: opacity .35s; }
.map-svg .ln.dim { opacity: .1; }
.map-svg .st { fill: var(--map-surface); stroke: var(--map-station); stroke-width: 3.5; }
.map-svg .st.hub { stroke-width: 5; }
.map-svg .lbl { fill: var(--map-label); font-size: 22px; font-weight: 700; paint-order: stroke; stroke: var(--map-surface); stroke-width: 6px; stroke-linejoin: round; font-family: "Vazirmatn", sans-serif; }
.map-svg .lbl { opacity: 0; transition: opacity 1s; }
.map-svg.ready .lbl { opacity: 1; }
.map-svg .tr { stroke: #fff; stroke-width: 3; }
[data-theme="light"] .map-svg [data-line="tehran-4"] { stroke: #8A6900; }
[data-theme="light"] .map-svg [data-line="tehran-3"] { stroke: #007798; }
[data-theme="light"] .map-svg .tr, [data-theme="light"] .map-svg .you { stroke: var(--map-station); }
.map-svg .you { fill: var(--yellow); }
.map-svg .halo { fill: var(--yellow); opacity: .5; transform-box: fill-box; transform-origin: center; animation: halo 2.4s ease-out infinite; animation-play-state: var(--run, paused); }
@keyframes halo { from { transform: scale(.6); opacity: .7; } to { transform: scale(3.4); opacity: 0; } }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.f { border: 1.5px solid var(--line); border-radius: 999px; padding: 4px 16px; font-weight: 700; font-size: 14px; display: inline-flex; align-items: center; gap: 8px; transition: all .25s; }
.f i { width: 12px; height: 12px; border-radius: 50%; background: var(--c); }
.f[aria-pressed="false"] { opacity: .4; }
.f:hover { border-color: var(--yellow); }
.map-foot { color: var(--muted); font-size: 13px; margin-top: 12px; }

/* ---------- feature grid ---------- */
.grid3 { display: grid; gap: 18px; margin-top: 48px; }
@media (min-width: 760px) { .grid3 { grid-template-columns: repeat(3, 1fr); } }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: transform .3s, border-color .3s, box-shadow .3s; position: relative; overflow: hidden; }
.card:hover { transform: translateY(-6px); border-color: var(--yellow); box-shadow: 0 18px 50px rgba(0,0,0,.4); }
.ico { width: 56px; height: 56px; border-radius: 16px; background: rgba(245,184,0,.12); display: grid; place-items: center; margin-bottom: 18px; }
.ico svg { width: 30px; height: 30px; stroke: var(--accent-text); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card p { color: var(--muted); margin-top: 8px; font-size: 16px; }

/* ---------- transfer timeline ---------- */
.split { display: grid; gap: 48px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 80px; } .split.flip > :first-child { order: 2; } }
.tl { position: relative; padding-inline-start: 34px; display: grid; gap: 22px; }
.tl::before { content: ""; position: absolute; top: 8px; bottom: 8px; right: 11px; width: 3px; background: var(--line); border-radius: 3px; }
.tl .fill { position: absolute; top: 8px; right: 11px; width: 3px; border-radius: 3px; background: var(--yellow); height: 0; transition: height 1.6s cubic-bezier(.3,.7,.2,1); }
.tl.in .fill { height: calc(100% - 16px); }
.tl-item { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 16px 18px; margin-inline-start: -8px; }
.tl-item::before { content: ""; position: absolute; top: 22px; right: -34px; width: 17px; height: 17px; border-radius: 50%; background: var(--ink); border: 3px solid var(--yellow); }
.tl-item small { color: var(--accent-text); font-weight: 700; display: block; }
.tl-item b { display: block; font-size: 18px; }
.tl-item p { color: var(--muted); font-size: 15px; margin-top: 2px; }
.badge-line { display: inline-block; padding: 0 12px; border-radius: 999px; font-weight: 700; font-size: 14px; color: #fff; background: var(--c); }

/* ---------- planner ---------- */
.route { background: var(--card); border: 1px solid var(--line); border-radius: 26px; padding: 26px; }
.route-top { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 6px; }
.route-top b { font-size: 22px; }
.route-top span { color: var(--muted); }
.legs { display: flex; height: 54px; margin-top: 22px; gap: 4px; direction: rtl; }
.leg { flex: var(--w); position: relative; border-radius: 12px; display: grid; place-items: center; font-weight: 700; font-size: 13px; color: #fff; transform-origin: right; transform: scaleX(0); transition: transform .9s cubic-bezier(.3,.7,.2,1); transition-delay: var(--d); white-space: nowrap; overflow: hidden; }
.legs.in .leg { transform: none; }
.leg.walk { background: repeating-linear-gradient(135deg, #3a3a3f 0 8px, #2d2d31 8px 16px); }
.leg.brt { background: repeating-linear-gradient(135deg, #7a4a2b 0 10px, #6a3f24 10px 20px); }
.leg.metro { background: var(--c); }
.leg-legend { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 16px; color: var(--muted); font-size: 14px; }
.leg-legend i { display: inline-block; width: 18px; height: 10px; border-radius: 4px; margin-inline-end: 6px; vertical-align: middle; }
.bullets { list-style: none; display: grid; gap: 14px; margin-top: 26px; }
.bullets li { display: flex; gap: 12px; color: var(--muted); }
.bullets li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 6px; border-radius: 50%; background: var(--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='%23111' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.bullets b { color: var(--text); }

/* ---------- champions ---------- */
.tiers { display: flex; gap: 16px; overflow-x: auto; padding: 8px var(--gutter) 24px; margin-inline: calc(var(--gutter) * -1); scroll-snap-type: x proximity; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.tier { flex: none; width: 150px; scroll-snap-align: center; background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 18px 10px 14px; text-align: center; transition: transform .3s, border-color .3s; }
.tier:hover { transform: translateY(-8px) scale(1.03); border-color: var(--yellow); }
.tier img { width: 92px; height: 92px; margin: 0 auto 8px; object-fit: contain; }
.tier b { display: block; font-size: 16px; }
.tier small { color: var(--muted); font-size: 12px; }
.avatars { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.avatars img { width: 64px; height: 64px; border-radius: 18px; background: var(--card-2); border: 2px solid var(--line); padding: 6px; transition: transform .3s; }
.avatars img:hover { transform: translateY(-6px) rotate(-4deg); border-color: var(--yellow); }
.fw-btn { margin-top: 28px; }
#fw { position: fixed; inset: 0; z-index: 80; pointer-events: none; width: 100%; height: 100%; }
.leg.metro:last-child, .badge-line[style*="#FF0F04"] { color: #16110F; }
.toast { position: fixed; bottom: 30px; left: 50%; translate: -50% 40px; opacity: 0; z-index: 90; background: var(--yellow); color: #111; font-weight: 900; padding: 12px 26px; border-radius: 999px; transition: all .5s; pointer-events: none; text-align: center; }
.toast.show { translate: -50% 0; opacity: 1; }

/* ---------- light ---------- */
.meters { display: grid; gap: 18px; margin-top: 44px; }
@media (min-width: 760px) { .meters { grid-template-columns: repeat(4, 1fr); } }
.meter { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.meter b { display: block; font-size: 42px; font-weight: 900; color: var(--yellow); line-height: 1.2; }
.meter .bar-bg { height: 8px; border-radius: 8px; background: var(--line); margin: 14px 0 8px; overflow: hidden; }
.meter .bar-bg i { display: block; height: 100%; width: 0; border-radius: 8px; background: var(--yellow); transition: width 1.6s cubic-bezier(.3,.7,.2,1); float: right; }
.meter.in .bar-bg i { width: var(--p); }
.meter span { color: var(--muted); font-size: 15px; display: block; }
.fine { color: var(--muted); font-size: 13px; margin-top: 18px; }

/* ---------- soon + faq ---------- */
.soon-list { display: grid; gap: 14px; margin-top: 40px; }
@media (min-width: 760px) { .soon-list { grid-template-columns: repeat(2, 1fr); } }
.soon-item { display: flex; gap: 16px; align-items: flex-start; background: var(--card); border: 1px dashed #4a4a50; border-radius: 20px; padding: 20px; }
.soon-item .ico { margin: 0; flex: none; width: 48px; height: 48px; }
.soon-item p { color: var(--muted); font-size: 15px; }
.final { text-align: center; background: radial-gradient(70% 120% at 50% 0%, rgba(245,184,0,.18), transparent 70%); }
.final .btn { margin-top: 28px; }
footer { border-top: 1px solid var(--line); padding-block: 40px; color: var(--muted); font-size: 14px; }
footer .wrap { display: grid; gap: 14px; }
footer b { color: var(--text); }
.credits { font-size: 12.5px; line-height: 1.9; opacity: .85; }

/* ---------- motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .rv { opacity: 1; transform: none; }
  .hero h1 .row > span { transform: none; }
  .leg { transform: none; }
  .tl .fill { height: calc(100% - 16px); }
  .meter .bar-bg i { width: var(--p); }
  .map-svg .lbl { opacity: 1; }
}
