/* SData expo landing v5 — «خط داده» (docs/landing/09…13). No framework. */

/* ═════════════ fonts ═════════════ */
@font-face { font-family: "Dana"; src: url("../assets/fonts/dana/woff2/dana-extralight.woff2") format("woff2"); font-weight: 200; font-display: swap; }
@font-face { font-family: "Dana"; src: url("../assets/fonts/dana/woff2/dana-light.woff2") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Dana"; src: url("../assets/fonts/dana/woff2/dana-regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Dana"; src: url("../assets/fonts/dana/woff2/dana-demibold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Dana"; src: url("../assets/fonts/dana/woff2/dana-bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Dana"; src: url("../assets/fonts/dana/woff2/dana-extrabold.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Dana"; src: url("../assets/fonts/dana/woff2/dana-black.woff2") format("woff2"); font-weight: 900; font-display: swap; }

/* ═════════════ tokens ═════════════ */
:root {
  --paper: #F3F0E9; --paper-2: #EAE6DC; --sheet: #FAF8F3; --white: #FFFFFF;
  --ink: #0B1220; --ink-2: #121B2D; --ink-3: #1B2640; --ink-line: #26324B;
  --text: #1D2532; --muted: #5B6371; --faint: #8A909A;
  --rule: #D9D3C6; --rule-2: #BFB8A8;
  --blue: #0E4DA8; --blue-2: #2F6FD6; --blue-soft: #E4ECF8;
  --signal: #4FE0C1; --teal: #0B7A75; --teal-soft: #DDF1EE;
  --flap: #F4E9C9; --amber: #F2C46B; --warn: #9A6100; --warn-soft: #FBF0D9; --err: #B42318; --err-soft: #FBE7E4;
  --lc: var(--blue-2);
  --display: "Dana", "Vazir", system-ui, sans-serif;
  --body: "Vazir", "Dana", system-ui, sans-serif;
  --hd: 64px; --gut: clamp(16px, 4vw, 48px); --max: 1280px;
  --r: 14px; --r-sm: 8px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow: 0 1px 0 rgba(11, 18, 32, .04), 0 10px 30px -14px rgba(11, 18, 32, .22);
  --shadow-lg: 0 2px 0 rgba(11, 18, 32, .04), 0 30px 60px -28px rgba(11, 18, 32, .45);
}
[data-line="ai"] { --lc: #2F6FD6; }
[data-line="sales"] { --lc: #D9412F; }
[data-line="finance"] { --lc: #0F9AA8; }
[data-line="supply"] { --lc: #E8871A; }
[data-line="people"] { --lc: #2E9455; }
[data-line="ops"] { --lc: #6D5FC7; }
[data-line="industry"] { --lc: #B8901C; }

/* ═════════════ base ═════════════ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--hd); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--body); font-size: 16px; line-height: 1.9; color: var(--text); background: var(--paper); overflow-x: hidden; text-rendering: optimizeLegibility; }
img, svg { max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4, h5, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
[data-tone="dark"] :focus-visible, .menu :focus-visible { outline-color: var(--signal); }
::selection { background: var(--signal); color: var(--ink); }
[hidden] { display: none !important; }
.wrap { width: min(var(--max), 100% - 2 * var(--gut)); margin-inline: auto; }
.skip { position: fixed; top: -60px; right: 16px; z-index: 100; padding: 8px 16px; background: var(--ink); color: #fff; border-radius: 8px; }
.skip:focus { top: 10px; }
.muted { color: var(--muted); }
.hidden { display: none !important; }

/* ═════════════ type ═════════════ */
.kicker { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 13px; font-weight: 700; color: var(--muted); line-height: 1.6; }
.kicker--signal { color: var(--signal); }
.h2 { font-family: var(--display); font-weight: 800; font-size: clamp(25px, min(3.3vw, 5.4vh), 50px); line-height: 1.32; color: var(--ink); letter-spacing: -.01em; margin-top: 6px; text-wrap: balance; }
.lead { margin-top: 10px; font-size: clamp(14.5px, min(1.2vw, 2.1vh), 17px); line-height: 1.95; color: var(--muted); max-width: 62ch; }
.hl { background: linear-gradient(transparent 62%, color-mix(in srgb, var(--lc) 26%, transparent) 62%, color-mix(in srgb, var(--lc) 26%, transparent) 92%, transparent 92%); padding-inline: 2px; }
[data-tone="dark"] .hl { background: none; color: var(--signal); }
.subhead { margin: 16px 0 6px; font-size: 13px; font-weight: 800; color: var(--ink); }
.checks { display: grid; gap: 6px; }
.checks li { position: relative; padding-inline-start: 26px; font-size: 15px; line-height: 1.85; }
.checks li::before { content: ""; position: absolute; inset-inline-start: 0; top: .55em; width: 14px; height: 8px; border-inline-start: 2.5px solid var(--teal); border-bottom: 2.5px solid var(--teal); transform: rotate(-45deg) scaleX(-1); }
.more { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-weight: 800; color: var(--blue); border-bottom: 2px solid currentColor; padding-bottom: 2px; }
.more i { transition: transform .25s var(--ease); }
.more:hover i { transform: translateX(-4px); }
.tag { display: inline-flex; align-items: center; gap: 4px; padding: 1px 8px; border-radius: 4px; font-size: 11.5px; font-weight: 700; line-height: 1.8; background: var(--teal-soft); color: var(--teal); white-space: nowrap; }
.tag--demo { background: var(--paper-2); color: var(--muted); }
.tag--blue { background: var(--blue-soft); color: var(--blue); }
[data-tone="dark"] .tag--demo { background: rgba(255, 255, 255, .08); color: rgba(255, 255, 255, .6); }
[data-tone="dark"] .pf .tag--demo { background: var(--paper-2); color: var(--muted); }
.line-chip { display: inline-flex; align-items: center; gap: 6px; padding: 2px 10px 2px 12px; border-radius: 4px; background: var(--lc); color: #fff; font-size: 12.5px; font-weight: 800; }
.live-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 0 rgba(79, 224, 193, .6); animation: pulse 2s infinite; flex-shrink: 0; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(79, 224, 193, .55); } 80%, 100% { box-shadow: 0 0 0 9px rgba(79, 224, 193, 0); } }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes blink { 50% { opacity: .35; } }

/* chips */
.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 4px 12px; border-radius: 6px; border: 1px solid var(--rule); background: var(--white); font-size: 13.5px; font-weight: 700; color: var(--text); white-space: nowrap; transition: .2s var(--ease); }
.chip i { color: var(--lc); }
.chip:hover { border-color: var(--rule-2); }
.chip.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip.is-on i { color: var(--signal); }
.chip--sm { min-height: 30px; padding: 2px 10px; font-size: 12.5px; }
a.chip--sm:hover { border-color: var(--lc); color: var(--ink); }
.chip-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.chip-scroll { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.chip-scroll::-webkit-scrollbar { display: none; }

/* ═════════════ buttons ═════════════ */
.btn { --b: var(--blue); --f: #fff; display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 44px; padding: 8px 18px; border-radius: 10px; border: 1.5px solid var(--b); background: var(--b); color: var(--f); font-weight: 800; font-size: 14.5px; line-height: 1.4; white-space: nowrap; transition: background .2s, border-color .2s, color .2s, transform .2s var(--ease), box-shadow .2s; }
.btn:hover { --b: #0A3A80; box-shadow: 0 10px 22px -12px var(--b); }
.btn:active { transform: translateY(1px); }
.btn > i { font-size: .9em; transition: transform .25s var(--ease); }
.btn:hover > i.fa-arrow-left { transform: translateX(-4px); }
.btn:disabled { opacity: .6; cursor: default; }
.btn--signal { --b: var(--signal); --f: var(--ink); }
.btn--signal:hover { --b: #7BEBD3; }
.btn--ghost { background: transparent; --b: rgba(255, 255, 255, .32); --f: #fff; }
.btn--ghost:hover { --b: #fff; background: rgba(255, 255, 255, .06); box-shadow: none; }
.btn--line { background: transparent; --b: var(--ink); --f: var(--ink); }
.btn--line:hover { background: var(--ink); --f: #fff; --b: var(--ink); }
.btn--white { --b: #fff; --f: var(--ink); }
.btn--sm { min-height: 36px; padding: 4px 12px; font-size: 13px; gap: 8px; border-radius: 8px; }
.btn--lg { min-height: 52px; padding: 10px 22px; font-size: 15.5px; }
.hero__cta .btn--lg, .done__btns .btn { white-space: normal; text-align: center; }
.btn--block { width: 100%; }
.end { margin-inline-start: auto; }

/* ═════════════ header ═════════════ */
.progress { position: fixed; top: 0; inset-inline: 0; height: 3px; z-index: 70; pointer-events: none; }
.progress span { display: block; height: 100%; width: 100%; background: var(--signal); transform-origin: right; transform: scaleX(var(--p, 0)); }
.hd { position: fixed; top: 0; inset-inline: 0; z-index: 50; height: var(--hd); background: var(--paper); border-bottom: 1px solid var(--rule); transition: background .35s, border-color .35s, color .35s; color: var(--ink); }
.hd.is-dark { background: var(--ink); border-color: rgba(255, 255, 255, .08); color: #fff; }
.hd__in { height: 100%; display: flex; align-items: center; gap: 20px; }
.hd__logo { position: relative; display: block; width: 116px; height: 34px; flex-shrink: 0; }
.hd__logo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: opacity .3s; }
.hd .logo-paper, .hd.is-dark .logo-ink { opacity: 0; }
.hd.is-dark .logo-paper { opacity: 1; }
.hd__where { display: flex; align-items: baseline; gap: 6px; margin-inline: auto; font-size: 13px; font-weight: 700; color: var(--muted); min-width: 0; }
.hd.is-dark .hd__where { color: rgba(255, 255, 255, .6); }
.hd__where b { font-family: var(--display); font-size: 18px; font-weight: 800; color: var(--ink); }
.hd.is-dark .hd__where b { color: var(--signal); }
.hd__where em { font-style: normal; color: inherit; margin-inline-start: 8px; padding-inline-start: 10px; border-inline-start: 1px solid currentColor; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hd__where--line { align-items: center; }
.hd__where--line em { border: 0; padding: 0; margin: 0; color: var(--ink); }
.hd__end { display: flex; align-items: center; gap: 10px; margin-inline-start: auto; }
.hd__where + .hd__end { margin-inline-start: 0; }
.hd.is-dark .hd__cta { --b: var(--signal); --f: var(--ink); }
.hd__menu { display: inline-flex; align-items: center; gap: 10px; min-height: 40px; padding: 4px 12px; border-radius: 8px; border: 1.5px solid currentColor; font-weight: 800; font-size: 13.5px; }
.hd__burger { display: grid; gap: 5px; width: 18px; }
.hd__burger i { display: block; height: 2px; background: currentColor; border-radius: 2px; transition: transform .3s var(--ease); }
.hd__menu[aria-expanded="true"] .hd__burger i:first-child { transform: translateY(3.5px) rotate(45deg); }
.hd__menu[aria-expanded="true"] .hd__burger i:last-child { transform: translateY(-3.5px) rotate(-45deg); }
main { padding-top: var(--hd); }

/* full-screen menu as a metro line */
.menu { position: fixed; inset: 0; z-index: 45; padding-top: var(--hd); background: var(--ink); color: #fff; overflow-y: auto; opacity: 0; transition: opacity .3s; }
.menu.is-open { opacity: 1; }
.menu__in { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 48px; padding-block: clamp(24px, 6vh, 64px); }
.menu__line { position: relative; display: grid; }
.menu__line::before { content: ""; position: absolute; inset-inline-start: 9px; top: 18px; bottom: 18px; width: 4px; border-radius: 4px; background: linear-gradient(var(--signal), #2F6FD6 50%, #D9412F); }
.menu__line a { position: relative; display: grid; grid-template-columns: 22px 44px 1fr; align-items: center; gap: 12px; padding: clamp(4px, .9vh, 9px) 0; font-family: var(--display); font-size: clamp(18px, 2.4vh, 26px); font-weight: 700; color: rgba(255, 255, 255, .78); transition: color .2s; }
.menu__line a i { width: 22px; height: 22px; border-radius: 50%; background: var(--ink); border: 4px solid #fff; z-index: 1; transition: transform .25s var(--ease), background .2s; }
.menu__line a em { font-style: normal; font-size: 13px; font-weight: 400; color: rgba(255, 255, 255, .45); font-family: var(--body); }
.menu__line a:hover { color: #fff; }
.menu__line a:hover i { transform: scale(1.25); background: var(--signal); }
.menu__line a.is-active { color: #fff; }
.menu__line a.is-active i { background: var(--signal); }
.menu__side { align-self: end; display: grid; gap: 18px; justify-items: start; color: rgba(255, 255, 255, .7); }
.menu__ext { display: inline-flex; gap: 8px; align-items: center; font-weight: 700; color: rgba(255, 255, 255, .7); }
.menu__ext:hover { color: #fff; }
body.menu-open { overflow: hidden; }

/* ═════════════ sections ═════════════ */
.sec { position: relative; display: flex; flex-direction: column; justify-content: center; min-height: calc(100svh - var(--hd)); padding: clamp(20px, 4.4vh, 56px) 0; scroll-margin-top: var(--hd); }
.sec > .wrap { width: min(var(--max), 100% - 2 * var(--gut)); }
.sec--paper { background-color: var(--paper); background-image: radial-gradient(rgba(11, 18, 32, .09) 1px, transparent 1.2px); background-size: 22px 22px; }
.sec--sheet { background: var(--sheet); border-block: 1px solid var(--rule); }
.sec--ink { background: var(--ink); color: rgba(255, 255, 255, .82); }
.sec--ink .h2, .sec--ink h3 { color: #fff; }
.sec--ink .lead { color: rgba(255, 255, 255, .66); }
.sec--ink .kicker { color: rgba(255, 255, 255, .55); }
.sec--ink .kicker--signal { color: var(--signal); }

.sec-head { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px clamp(14px, 2vw, 28px); align-items: start; margin-bottom: clamp(14px, 3vh, 34px); }
.sec-head__n { font-family: var(--display); font-weight: 200; font-size: clamp(54px, min(7vw, 11vh), 120px); line-height: .9; color: transparent; -webkit-text-stroke: 1.5px var(--rule-2); user-select: none; margin-top: 4px; }
.sec--ink .sec-head__n { -webkit-text-stroke-color: rgba(255, 255, 255, .22); }
.sec-head--row { grid-template-columns: auto minmax(0, 1fr) auto; align-items: end; }
.sec-head--row > .lead { max-width: 34ch; margin: 0 0 4px; }
.sec-head--stack .sec-head__n { font-size: clamp(48px, min(5.4vw, 9vh), 92px); }

/* reveal */
.js [data-rv] { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease) var(--d, 0s), transform .7s var(--ease) var(--d, 0s); }
.js [data-rv].is-in { opacity: 1; transform: none; }
.js [data-wipe] { clip-path: inset(0 0 0 100%); transition: clip-path .9s var(--ease) .05s; }
.js [data-wipe].is-in { clip-path: inset(0 0 -20% 0); }

/* ═════════════ 01 hero ═════════════ */
.hero { background: var(--ink); color: #fff; overflow: hidden; padding-bottom: 0; justify-content: space-between; }
.hero__grid-bg { position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, #000 30%, transparent 75%); }
.hero__in { position: relative; flex: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr); gap: clamp(24px, 4vw, 64px); align-items: center; padding-bottom: clamp(16px, 3vh, 36px); }
.hero__h { font-family: var(--display); font-weight: 900; font-size: clamp(46px, min(7.6vw, 13.2vh), 132px); line-height: 1.06; letter-spacing: -.02em; margin: clamp(10px, 2vh, 22px) 0 clamp(12px, 2.4vh, 26px); }
.hero__h > span { display: block; }
.hero__h-a { font-weight: 300; color: rgba(255, 255, 255, .55); }
.hero__h em { position: relative; font-style: normal; color: #fff; }
.hero__h em::after { content: ""; position: absolute; inset-inline: 0 -.06em; bottom: .3em; height: .16em; background: var(--signal); z-index: -1; transform-origin: right; transform: scaleX(0); transition: transform .8s var(--ease) .7s; }
.hero__h.is-in em::after, .no-js .hero__h em::after { transform: scaleX(1); }
.hero__h em { z-index: 0; isolation: isolate; }
.hero__lead { max-width: 54ch; font-size: clamp(14.5px, min(1.15vw, 2.1vh), 17.5px); line-height: 1.95; color: rgba(255, 255, 255, .7); }
.hero__lead b { color: #fff; font-weight: 700; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: clamp(16px, 3vh, 30px); }

/* decision board */
.board { position: relative; padding: clamp(12px, 1.6vw, 20px); border-radius: var(--r); background: linear-gradient(#0E1626, #0A101C); border: 1px solid var(--ink-line); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .05); }
.board__head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 10px; font-size: 13px; font-weight: 700; color: rgba(255, 255, 255, .7); }
.board__title { display: inline-flex; align-items: center; gap: 8px; }
.board__clock { font-family: var(--display); font-size: 22px; font-weight: 700; color: var(--amber); font-variant-numeric: tabular-nums; letter-spacing: .04em; }
.board__rows { display: grid; gap: 5px; }
.board__row { display: grid; grid-template-columns: 54px minmax(0, 1.25fr) minmax(0, 1.2fr) minmax(0, .95fr); gap: 5px; width: 100%; text-align: start; border-radius: 6px; transition: box-shadow .2s; }
.board__row--cols { font-size: 11px; font-weight: 700; color: rgba(255, 255, 255, .4); padding-inline: 8px; }
button.board__row:hover, button.board__row.is-sel { box-shadow: 0 0 0 1.5px var(--signal); }
.flap { position: relative; display: block; min-width: 0; height: clamp(34px, 5.2vh, 46px); padding: 0 9px; border-radius: 4px; overflow: hidden; perspective: 400px; background: linear-gradient(#1A2337 50%, #151D2F 50%); box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .5), inset 0 1px 0 rgba(255, 255, 255, .04); font-family: var(--display); font-weight: 700; font-size: clamp(12.5px, min(1.05vw, 1.9vh), 16px); color: var(--flap); }
.flap::after { content: ""; position: absolute; inset-inline: 0; top: 50%; height: 1px; background: rgba(0, 0, 0, .55); }
.flap > span { display: flex; align-items: center; height: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transform-origin: 50% 50%; backface-visibility: hidden; }
.flap--t { color: var(--amber); font-variant-numeric: tabular-nums; text-align: center; }
.flap--t > span { justify-content: center; }
.flap--dec { color: #fff; }
.flap--eff { color: var(--signal); }
.flap > span.is-out { animation: flapOut .11s ease-in forwards; }
.flap > span.is-in { animation: flapIn .13s ease-out; }
@keyframes flapOut { to { transform: rotateX(-90deg); opacity: .4; } }
@keyframes flapIn { from { transform: rotateX(90deg); opacity: .4; } to { transform: none; opacity: 1; } }
.board__src { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 12.5px; color: rgba(255, 255, 255, .6); min-height: 24px; }
.board__src i { color: var(--signal); }
.board__src .tag { margin-inline-start: auto; }

/* ticker */
.ticker { position: relative; display: flex; align-items: stretch; border-top: 1px solid var(--ink-line); background: #0A101C; font-size: 13.5px; height: 46px; }
.ticker__label { display: flex; align-items: center; gap: 8px; padding: 0 var(--gut) 0 18px; font-weight: 800; color: var(--ink); background: var(--signal); white-space: nowrap; z-index: 1; }
.ticker__label .live-dot { background: var(--ink); animation: blink 1.4s infinite; box-shadow: none; }
.ticker__view { flex: 1; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.ticker__track { display: flex; width: max-content; height: 100%; animation: tick 70s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__set { display: flex; align-items: center; }
.ticker__set span { display: inline-flex; align-items: center; gap: 14px; padding-inline: 14px; white-space: nowrap; color: rgba(255, 255, 255, .78); }
.ticker__set span::after { content: ""; width: 6px; height: 6px; transform: rotate(45deg); background: var(--amber); }
@keyframes tick { to { transform: translateX(50%); } }

/* ═════════════ product frame ═════════════ */
.pf { position: relative; background: var(--white); border: 1px solid var(--rule); border-radius: var(--r); box-shadow: var(--shadow-lg); color: var(--text); text-align: start; }
.pf--marks::before, .pf--marks::after { content: ""; position: absolute; width: 16px; height: 16px; border: 0 solid var(--rule-2); pointer-events: none; }
.pf--marks::before { top: -9px; right: -9px; border-top-width: 1.5px; border-right-width: 1.5px; }
.pf--marks::after { bottom: -9px; left: -9px; border-bottom-width: 1.5px; border-left-width: 1.5px; }
.sec--ink .pf--marks::before, .sec--ink .pf--marks::after { border-color: rgba(255, 255, 255, .3); }
.pf__bar { display: flex; align-items: center; gap: 10px; padding: 9px 14px; border-bottom: 1px solid #ECE8DF; background: #F8F6F1; border-radius: var(--r) var(--r) 0 0; min-width: 0; }
.pf__mark { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 6px; background: var(--ink); color: var(--signal); font-family: var(--display); font-weight: 900; font-size: 13px; flex-shrink: 0; }
.pf__crumb { flex: 1; min-width: 0; font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pf__crumb b { color: var(--ink); }
.pf__main { display: grid; grid-template-columns: 52px minmax(0, 1fr); }
.pf__side { display: flex; flex-direction: column; gap: 6px; padding: 10px 8px; border-inline-end: 1px solid #ECE8DF; background: #FBFAF7; border-end-start-radius: var(--r); }
.pf__side button { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 8px; color: var(--faint); transition: .2s; }
.pf__side button:hover { color: var(--ink); background: var(--paper-2); }
.pf__side button.is-on { background: var(--ink); color: var(--signal); }
.pf__body { padding: clamp(12px, 1.4vw, 18px); min-width: 0; }

/* in-app atoms */
.scene { display: none; }
.scene.is-on { display: block; animation: fade .45s var(--ease); }
.app-tools { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.seg { display: inline-flex; padding: 3px; gap: 2px; border-radius: 9px; background: var(--paper-2); }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: block; padding: 6px 14px; border-radius: 7px; font-size: 13.5px; font-weight: 700; color: var(--muted); transition: .2s; white-space: nowrap; }
.seg input:checked + span { background: var(--white); color: var(--ink); box-shadow: 0 1px 3px rgba(11, 18, 32, .15); }
.seg input:focus-visible + span { outline: 2px solid var(--blue); }
.seg--sm span { padding: 4px 10px; font-size: 12.5px; }
.toggle { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 4px 12px; border-radius: 8px; border: 1px solid var(--rule); font-size: 13px; font-weight: 700; color: var(--muted); background: var(--white); transition: .2s; }
.toggle::before { content: ""; width: 26px; height: 15px; border-radius: 15px; background: var(--rule) radial-gradient(circle at 7.5px 50%, #fff 5px, transparent 5.5px); transition: .25s var(--ease); flex-shrink: 0; }
.toggle.is-on { color: var(--ink); border-color: var(--ink); }
.toggle.is-on::before { background: var(--teal) radial-gradient(circle at 18.5px 50%, #fff 5px, transparent 5.5px); }
.toggle--sm { min-height: 32px; font-size: 12.5px; }
.kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.kpi { padding: 9px 12px; border-radius: var(--r-sm); background: #FBFAF7; border: 1px solid #ECE8DF; min-width: 0; }
.kpi small { display: block; font-size: 11.5px; color: var(--muted); font-weight: 700; }
.kpi b { display: block; font-family: var(--display); font-size: clamp(15px, 1.4vw, 20px); font-weight: 800; color: var(--ink); line-height: 1.5; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kpi b.good { color: var(--teal); } .kpi b.bad { color: var(--err); }
.kpi em { display: block; font-style: normal; font-size: 11.5px; color: var(--teal); font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ptitle { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin: 14px 0 8px; font-size: 13px; font-weight: 800; color: var(--ink); }
.ptitle span:last-child, .ptitle > span { font-weight: 500; font-size: 12px; color: var(--muted); }
.ptitle > span:first-child { font-weight: 800; color: var(--ink); font-size: 13px; }
.vbars { position: relative; display: flex; align-items: flex-end; gap: 6px; height: clamp(90px, 16vh, 150px); padding-bottom: 18px; border-bottom: 1px solid var(--rule); }
.vbar { position: relative; flex: 1; height: 100%; display: flex; align-items: flex-end; justify-content: center; gap: 2px; border-radius: 4px; }
.vbar:hover, .vbar.is-on { background: rgba(14, 77, 168, .05); }
.vbar i { display: block; flex: 1; max-width: 26px; height: 0; border-radius: 3px 3px 0 0; background: var(--blue); transition: height .6s var(--ease); }
.vbar i.prev { display: none; background: #C9C3B5; }
.vbars.is-compare .vbar i.prev { display: block; }
.vbar.is-on i.cur { background: var(--teal); }
.vbar small { position: absolute; bottom: -19px; font-size: 10px; color: var(--faint); white-space: nowrap; }
.vbar__tip { position: absolute; bottom: calc(var(--h) + 6px); left: 50%; transform: translateX(-50%); padding: 2px 8px; border-radius: 5px; background: var(--ink); color: #fff; font-size: 11px; font-weight: 700; white-space: nowrap; pointer-events: none; z-index: 2; }
.stock { display: grid; gap: 10px; }
.stock__row { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto; gap: 10px; align-items: center; font-size: 13px; }
.stock__row b { color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stock__row em { font-style: normal; font-weight: 700; color: var(--err); font-size: 12.5px; }
.stock__bar { position: relative; height: 10px; border-radius: 10px; background: var(--paper-2); }
.stock__bar::after { content: ""; position: absolute; top: -4px; bottom: -4px; left: 30%; width: 2px; background: var(--err); }
.stock__bar span { position: absolute; top: 0; bottom: 0; right: 0; width: var(--v); border-radius: inherit; background: var(--err); transition: width .8s var(--ease), background .4s; }
.scene.is-ordered .stock__bar span { width: 86% !important; background: var(--teal); }
.scene.is-ordered .stock__row em { color: var(--teal); }
.alert-line { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 14px; padding: 10px 12px; border-radius: var(--r-sm); background: var(--err-soft); color: #7A1C12; font-size: 13px; line-height: 1.8; transition: .3s; }
.alert-line span { flex: 1; min-width: 180px; }
.scene.is-ordered .alert-line { background: var(--teal-soft); color: #0A4F4C; }
.scene-tabs { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; margin-top: 14px; }
.scene-tabs button { min-height: 34px; padding: 4px 14px; border-radius: 6px; font-size: 13px; font-weight: 700; color: var(--muted); border: 1px solid var(--rule); background: var(--white); transition: .2s; }
.scene-tabs button.is-on { background: var(--ink); color: #fff; border-color: var(--ink); }
.hero__app { position: relative; }
.ghost { position: absolute; top: 0; left: 0; z-index: 5; width: 22px; height: 22px; pointer-events: none; opacity: 0; transition: transform 1s cubic-bezier(.5, 0, .2, 1), opacity .3s; filter: drop-shadow(0 3px 6px rgba(0, 0, 0, .35)); }
.ghost.is-on { opacity: 1; }
.ghost svg { width: 22px; height: 22px; position: relative; z-index: 1; }
.ghost__ring { position: absolute; top: -9px; left: -9px; width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--teal); opacity: 0; transform: scale(.4); }
.ghost.is-click .ghost__ring { animation: ghostclick .45s ease-out; }
@keyframes ghostclick { 0% { opacity: 1; transform: scale(.4); } 100% { opacity: 0; transform: scale(1.4); } }

/* chat */
.chat { display: flex; flex-direction: column; gap: 8px; height: clamp(170px, 28vh, 300px); overflow-y: auto; padding: 2px 2px 6px; scroll-behavior: smooth; }
.msg { max-width: 88%; padding: 9px 13px; border-radius: 12px; font-size: 13.5px; line-height: 1.85; animation: fade .35s var(--ease); }
.msg--me { align-self: flex-start; background: var(--ink); color: #fff; border-end-start-radius: 3px; }
.msg--ai { align-self: flex-end; background: #F4F1EA; color: var(--text); border-end-end-radius: 3px; border: 1px solid #ECE8DF; }
.msg--sys { align-self: center; max-width: 100%; background: var(--teal-soft); color: var(--teal); font-size: 12.5px; font-weight: 700; text-align: center; }
.msg--phase { align-self: center; padding: 2px 12px; border-radius: 4px; background: var(--paper-2); color: var(--muted); font-size: 11.5px; font-weight: 800; }
.msg--sum { align-self: stretch; max-width: 100%; background: var(--teal-soft); color: #0A4F4C; border: 1px solid #BFE3DE; }
.msg--sum > b { display: block; color: var(--teal); }
.msg--sum li b { color: var(--ink); }
.msg--sum ul { margin: 6px 0; padding-inline-start: 18px; list-style: disc; }
.msg--sum em { font-style: normal; font-weight: 800; font-size: 12.5px; }
.msg.is-hidden { display: none; }
.msg__name { display: block; font-size: 11px; font-weight: 800; color: var(--blue); }
.msg__meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; margin-top: 6px; padding-top: 6px; border-top: 1px dashed var(--rule); font-size: 11.5px; color: var(--muted); }
.msg__meta i { color: var(--teal); }
.typing { display: inline-flex; gap: 4px; padding: 4px 0; }
.typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--faint); animation: blink 1s infinite; }
.typing span:nth-child(2) { animation-delay: .15s; } .typing span:nth-child(3) { animation-delay: .3s; }
.mini { display: flex; align-items: flex-end; gap: 5px; height: 46px; margin-top: 8px; }
.mini span { width: 16px; height: 0; border-radius: 3px 3px 0 0; background: #C9D6EA; transition: height .5s var(--ease); }
.mini span.hi { background: var(--teal); }
.ask { display: flex; gap: 6px; margin-top: 10px; overflow-x: auto; scrollbar-width: none; }
.ask--wrap { flex-wrap: wrap; overflow: visible; }
.ask button { min-height: 34px; padding: 4px 12px; border-radius: 8px; border: 1px solid var(--rule); background: var(--white); font-size: 12.5px; font-weight: 700; color: var(--text); text-align: start; line-height: 1.6; transition: .2s; }
.ask button:hover:not(:disabled) { border-color: var(--ink); color: var(--ink); }
.ask button:disabled { opacity: .5; }
.ask__go { background: var(--ink) !important; color: #fff !important; border-color: var(--ink) !important; }

/* ═════════════ 02 live ═════════════ */
.live2 { display: grid; grid-template-columns: minmax(0, .84fr) minmax(0, 1.16fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.flow3 { position: relative; display: grid; gap: clamp(8px, 1.6vh, 14px); margin-top: clamp(12px, 2.4vh, 24px); }
.flow3::before { content: ""; position: absolute; inset-inline-start: 17px; top: 18px; bottom: 18px; width: 2px; background: repeating-linear-gradient(var(--rule-2) 0 6px, transparent 6px 11px); }
.flow3 li { position: relative; display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 12px; align-items: start; }
.flow3__n { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--paper); border: 2px solid var(--ink); font-family: var(--display); font-weight: 800; color: var(--ink); z-index: 1; }
.flow3 li:last-child .flow3__n { background: var(--ink); color: var(--signal); }
.flow3 b { display: block; font-family: var(--display); font-size: 17px; color: var(--ink); line-height: 1.5; }
.flow3 small { display: block; font-size: 13.5px; color: var(--muted); line-height: 1.8; }
.stats { display: flex; flex-wrap: wrap; margin-top: clamp(14px, 3vh, 30px); border-top: 1px solid var(--ink); }
.stats > div { flex: 1 1 auto; padding: 10px 14px 0; border-inline-start: 1px solid var(--rule); }
.stats > div:first-child { border: 0; padding-inline-start: 0; }
.stats dt { font-family: var(--display); font-size: clamp(18px, 1.8vw, 26px); font-weight: 800; color: var(--ink); line-height: 1.3; }
.stats dd { font-size: 12px; color: var(--muted); line-height: 1.6; }

/* ═════════════ 03 results ═════════════ */
.tickets { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: clamp(12px, 2.4vh, 22px); }
.ticket { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; text-align: start; border-radius: 10px; background: var(--white); border: 1px solid var(--rule); transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease); overflow: hidden; }
.ticket::before, .ticket::after { content: ""; position: absolute; inset-inline-start: calc(clamp(52px, 5vw, 72px) - 8px); width: 16px; height: 16px; border-radius: 50%; background: var(--sheet); border: 1px solid var(--rule); }
.ticket::before { top: -9px; } .ticket::after { bottom: -9px; }
.ticket__n { display: grid; place-items: center; width: clamp(52px, 5vw, 72px); align-self: stretch; font-family: var(--display); font-size: clamp(26px, 2.6vw, 38px); font-weight: 900; color: var(--rule-2); border-inline-end: 2px dashed var(--rule); }
.ticket__t { padding: clamp(8px, 1.4vh, 14px) 16px; min-width: 0; }
.ticket__t b { display: block; font-family: var(--display); font-size: clamp(15px, 1.3vw, 18px); color: var(--ink); line-height: 1.5; }
.ticket__t b i { color: var(--blue); font-size: .85em; }
.ticket__t small { display: block; font-size: 12.5px; color: var(--muted); line-height: 1.7; }
.ticket:hover { border-color: var(--ink); }
.ticket.is-on { background: var(--ink); border-color: var(--ink); }
.ticket.is-on .ticket__n { color: var(--signal); border-color: rgba(255, 255, 255, .2); }
.ticket.is-on b, .ticket.is-on b i { color: #fff; }
.ticket.is-on small { color: rgba(255, 255, 255, .65); }
.result { display: none; grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); gap: clamp(20px, 3.4vw, 48px); align-items: start; }
.result.is-on { display: grid; animation: fade .45s var(--ease); }
.result__q { font-family: var(--display); font-size: clamp(20px, 2vw, 28px); font-weight: 800; color: var(--ink); line-height: 1.45; }
.result__intro { margin-top: 10px; font-size: 15px; line-height: 1.95; color: var(--muted); }
.result .checks li { font-size: 14px; }
.mview { display: none; }

/* demos */
.chart { display: block; width: 100%; height: auto; font-family: var(--body); }
.result__demo .chart { max-height: 30vh; }
.chart text { font-family: var(--body); }
.range-row { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-top: 8px; font-size: 13px; color: var(--muted); }
.range-row b { font-family: var(--display); font-size: 18px; color: var(--ink); }
.range { width: 100%; height: 30px; margin: 2px 0 0; background: transparent; -webkit-appearance: none; appearance: none; direction: ltr; cursor: pointer; }
.range::-webkit-slider-runnable-track { height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--ink) var(--p, 50%), var(--paper-2) var(--p, 50%)); }
.range::-moz-range-track { height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--ink) var(--p, 50%), var(--paper-2) var(--p, 50%)); }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; margin-top: -9px; border-radius: 6px; background: var(--signal); border: 2px solid var(--ink); box-shadow: 0 2px 8px rgba(11, 18, 32, .25); }
.range::-moz-range-thumb { width: 22px; height: 22px; border-radius: 6px; background: var(--signal); border: 2px solid var(--ink); }
.ctl-label { display: block; margin: 10px 0 6px; font-size: 12.5px; font-weight: 800; color: var(--ink); }
.advice { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 12px; padding: 10px 12px; border-radius: var(--r-sm); background: var(--teal-soft); color: #0A4F4C; font-size: 13.5px; line-height: 1.8; }
.advice > i { color: var(--teal); }
.advice p, .advice span { flex: 1; min-width: 160px; }
.advice.down { background: var(--err-soft); color: #7A1C12; } .advice.down > i { color: var(--err); }
.advice.flat { background: var(--warn-soft); color: #5E3D00; } .advice.flat > i { color: var(--warn); }
.trend { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 14px; margin-top: 12px; }
.trend__list { display: grid; gap: 4px; align-content: start; }
.trend__row { display: grid; grid-template-columns: minmax(0, 1fr) 60px 52px; gap: 8px; align-items: center; min-height: 40px; padding: 4px 10px; border-radius: 8px; text-align: start; font-size: 13px; font-weight: 700; color: var(--text); border: 1px solid transparent; transition: .2s; }
.trend__row span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.trend__row svg { width: 60px; height: 24px; }
.trend__row em { font-style: normal; text-align: end; font-weight: 800; }
.trend__row:hover { background: #FBFAF7; }
.trend__row.is-on { border-color: var(--ink); background: #FBFAF7; }
.c-up { color: var(--teal); } .c-down { color: var(--err); } .c-flat { color: var(--warn); }
.trend__big h4 { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-family: var(--display); font-size: 16px; color: var(--ink); margin-bottom: 4px; }
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 1px 8px; border-radius: 4px; font-size: 11.5px; font-family: var(--body); }
.badge.up { background: var(--teal-soft); color: var(--teal); } .badge.down { background: var(--err-soft); color: var(--err); } .badge.flat { background: var(--warn-soft); color: var(--warn); }
.market { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 16px; align-items: center; margin-top: 12px; }
.rings { position: relative; aspect-ratio: 1; width: 100%; max-width: 240px; margin-inline: auto; }
.ring { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); border-radius: 50%; display: flex; justify-content: center; padding-top: 6%; font-size: 11.5px; font-weight: 800; transition: width .8s var(--ease), height .8s var(--ease); }
.ring--tam { width: 100%; height: 100%; background: #E4ECF8; color: var(--blue); border: 1px dashed #A9C0E6; }
.ring--sam { width: var(--sam, 60%); height: var(--sam, 60%); background: #BCD0EF; color: var(--blue); }
.ring--som { width: var(--som, 28%); height: var(--som, 28%); background: var(--ink); color: var(--signal); align-items: center; padding: 0; }
.legend { display: grid; gap: 8px; }
.legend > div { display: grid; grid-template-columns: 12px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid #ECE8DF; }
.legend i { width: 12px; height: 12px; border-radius: 3px; }
.legend span { font-size: 11.5px; color: var(--muted); line-height: 1.6; }
.legend strong { display: block; font-size: 13px; color: var(--ink); }
.legend b { font-family: var(--display); font-size: 20px; color: var(--ink); }
.note { margin-top: 10px; font-size: 13px; line-height: 1.85; color: var(--muted); }

/* ═════════════ 04 journey ═════════════ */
.journey { display: grid; grid-template-columns: minmax(250px, 340px) minmax(0, 1fr); gap: clamp(20px, 3.6vw, 56px); align-items: center; }
.receipt { display: grid; gap: 18px; }
.receipt__paper { position: relative; padding: 20px 20px 22px; background: #FFFDF6; box-shadow: var(--shadow-lg); font-size: 13px; transform: rotate(-1.2deg); }
.receipt__paper::before, .receipt__paper::after { content: ""; position: absolute; inset-inline: 0; height: 9px; background: radial-gradient(circle at 8px 9px, transparent 5.5px, #FFFDF6 6px) 0 0 / 16px 9px repeat-x; }
.receipt__paper::before { top: -9px; transform: scaleY(-1); }
.receipt__paper::after { bottom: -9px; }
.receipt__head { padding-bottom: 10px; border-bottom: 1.5px dashed var(--rule-2); }
.receipt__head b { display: block; font-family: var(--display); font-size: 16px; color: var(--ink); }
.receipt__head small { display: block; color: var(--muted); font-size: 12px; line-height: 1.8; }
.receipt table { width: 100%; border-collapse: collapse; margin: 6px 0; font-variant-numeric: tabular-nums; }
.receipt td { padding: 7px 0; border-bottom: 1px dotted var(--rule); }
.receipt td:last-child { text-align: end; font-weight: 700; color: var(--ink); white-space: nowrap; }
.receipt__sum { display: flex; justify-content: space-between; align-items: baseline; padding-top: 8px; border-top: 2px solid var(--ink); font-weight: 700; }
.receipt__sum b { font-family: var(--display); font-size: 20px; color: var(--ink); }
.stamp { position: absolute; left: 16px; top: 18px; padding: 2px 10px; border: 2.5px solid var(--warn); border-radius: 6px; color: var(--warn); font-family: var(--display); font-weight: 900; font-size: 14px; transform: rotate(-9deg); opacity: .85; transition: color .3s, border-color .3s; }
.stamp.is-run { color: var(--blue); border-color: var(--blue); animation: blink 1s infinite; }
.stamp.is-done { color: var(--teal); border-color: var(--teal); animation: stamp .45s var(--ease); }
@keyframes stamp { 0% { transform: rotate(-9deg) scale(1.8); opacity: 0; } 100% { transform: rotate(-9deg) scale(1); opacity: .9; } }
.route { min-width: 0; }
.route__track { position: relative; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; padding-top: 6px; }
.route__rail { position: absolute; top: 34px; inset-inline: calc(100% / 12); height: 8px; margin-top: -4px; border-radius: 8px; background: var(--paper-2); box-shadow: inset 0 0 0 1px var(--rule); }
.route__fill { position: absolute; inset-block: 0; inset-inline-start: 0; width: var(--fill, 0px); border-radius: inherit; background: linear-gradient(-90deg, #D9412F, #0F9AA8 50%, #E8871A); transition: width .9s var(--ease), height .9s var(--ease); }
.train { position: absolute; z-index: 3; top: 34px; left: 0; display: grid; place-items: center; width: 34px; height: 22px; margin: -11px 0 0 -17px; border-radius: 11px; background: var(--ink); color: var(--signal); font-size: 11px; box-shadow: 0 6px 16px -6px rgba(11, 18, 32, .6); opacity: 0; transition: left .9s var(--ease), top .9s var(--ease), opacity .3s; }
.train.is-on { opacity: 1; }
.station { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; min-width: 0; padding: 0 2px 6px; border-radius: 10px; }
.station__dot { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--white); border: 4px solid var(--rule-2); color: var(--faint); font-size: 18px; transition: background .35s, border-color .35s, color .35s, transform .35s var(--ease); }
.station b { font-size: 13.5px; color: var(--ink); line-height: 1.5; }
.station small { font-size: 11.5px; color: var(--faint); font-weight: 700; }
.station:hover .station__dot { border-color: var(--lc); }
.station.is-on .station__dot { background: var(--lc); border-color: var(--lc); color: #fff; }
.station.is-on small { color: var(--teal); }
.station.is-current .station__dot { transform: scale(1.12); box-shadow: 0 0 0 6px color-mix(in srgb, var(--lc) 22%, transparent); }
.route__detail { margin-top: clamp(14px, 2.6vh, 26px); padding: 14px 18px; min-height: 92px; border-radius: var(--r-sm); background: var(--white); border: 1px solid var(--rule); border-inline-start: 4px solid var(--ink); font-size: 14.5px; line-height: 1.95; }
.route__detail p { animation: fade .4s var(--ease); }
.route__detail b { color: var(--ink); }
.jstats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 14px; border-top: 1px solid var(--ink); }
.jstats > div { padding: 10px 12px 0; border-inline-start: 1px solid var(--rule); }
.jstats > div:first-child { border: 0; padding-inline-start: 0; }
.jstats b { display: block; font-family: var(--display); font-size: clamp(20px, 2vw, 28px); color: var(--ink); line-height: 1.4; }
.jstats span { font-size: 12.5px; color: var(--muted); }

/* ═════════════ 05 metro ═════════════ */
.metro__filters { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: clamp(12px, 2.2vh, 22px); }
.lchip { display: inline-flex; align-items: center; gap: 7px; min-height: 34px; padding: 3px 11px; border-radius: 6px; border: 1px solid var(--rule); background: var(--white); font-size: 12.5px; font-weight: 700; white-space: nowrap; transition: .2s; }
.lchip i { width: 10px; height: 10px; border-radius: 50%; background: var(--lc); }
.lchip em { font-style: normal; color: var(--faint); font-size: 11.5px; }
.lchip:hover { border-color: var(--lc); }
.lchip.is-on { background: var(--ink); color: #fff; border-color: var(--ink); }
.lchip.is-on em { color: rgba(255, 255, 255, .6); }
.metro__map { position: relative; display: grid; grid-template-columns: clamp(70px, 7vw, 96px) minmax(0, 1fr); gap: 0 clamp(18px, 2vw, 28px); }
.metro__links { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 3; overflow: visible; }
.metro__links path { fill: none; stroke-width: 2.5; stroke-dasharray: 5 6; stroke-linecap: round; animation: flow 1s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -11; } }
.metro__hub { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; border-radius: 999px; background: var(--ink); color: #fff; text-align: center; padding: 18px 6px; box-shadow: 0 0 0 5px var(--sheet), 0 0 0 7px var(--ink); margin-block: 6px; }
.metro__hub b { font-family: var(--display); font-size: 14px; line-height: 1.4; }
.metro__hub small { font-size: 11px; font-weight: 800; letter-spacing: .12em; color: var(--signal); }
.metro__lines { display: grid; gap: clamp(0px, .6vh, 8px); }
.mline { position: relative; transition: opacity .3s; }
.mline__name { display: flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 800; color: var(--lc); line-height: 1.6; height: 20px; }
.mline__badge { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--lc); color: #fff; font-size: 10.5px; font-weight: 900; flex-shrink: 0; }
.mline__track { position: relative; display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); }
.mline__track::before { content: ""; position: absolute; top: 8px; height: 6px; margin-top: -3px; border-radius: 6px; background: var(--lc); inset-inline-start: calc(-1 * clamp(18px, 2vw, 28px) - 6px); width: calc((var(--n) - .5) / 9 * 100% + clamp(18px, 2vw, 28px) + 6px); }
.mline__track li { min-width: 0; }
.stn { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; padding: 0 3px 4px; border-radius: 8px; transition: opacity .25s; }
.stn__dot { position: relative; z-index: 1; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 4px solid var(--lc); transition: transform .25s var(--ease), background .25s; }
.stn__name { font-size: 12px; font-weight: 700; line-height: 1.55; color: var(--text); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.stn:hover .stn__dot, .stn:focus-visible .stn__dot, .stn.is-self .stn__dot { transform: scale(1.45); background: var(--lc); }
.stn:hover .stn__name, .stn.is-self .stn__name { color: var(--ink); }
.stn.is-rel .stn__dot { border-color: var(--ink); box-shadow: 0 0 0 4px color-mix(in srgb, var(--lc) 30%, transparent); }
.metro.is-focus .stn:not(.is-self):not(.is-rel) { opacity: .22; }
.metro.is-focus .mline__track::before { opacity: .35; }
.metro[data-filter]:not([data-filter="all"]) .mline:not(.is-line) { opacity: .16; }
.metro.is-drawing .mline__track::before { transform: scaleX(0); transform-origin: right; transition: transform 1s var(--ease), opacity .3s; }
.metro.is-drawing .mline.is-drawn .mline__track::before { transform: scaleX(1); }
.metro.is-drawing .mline .stn { transition: opacity .4s var(--ease) calc(var(--si, 0) * 50ms + .3s); }
.metro.is-drawing .mline:not(.is-drawn) .stn { opacity: 0; }
.metro.is-focus .mline .stn { transition-delay: 0s; }
.metro__info { margin-top: clamp(10px, 2vh, 20px); min-height: 60px; }
.minfo { display: none; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 10px; background: var(--white); border: 1px solid var(--rule); border-inline-start: 4px solid var(--lc, var(--ink)); font-size: 13.5px; line-height: 1.85; }
.minfo.is-on { display: flex; animation: fade .3s var(--ease); }
.minfo > i { color: var(--ink); }
.minfo b { color: var(--ink); }
.minfo p { margin: 0; color: var(--muted); }
.minfo--stn > div { flex: 1; min-width: 0; }
.minfo--stn > div p { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.minfo__ic { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--lc); color: #fff; flex-shrink: 0; }
.minfo__go { font-weight: 800; color: var(--lc); white-space: nowrap; font-size: 13px; }

/* ═════════════ 06 ai ═════════════ */
.ai { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.caps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin-top: clamp(14px, 3vh, 28px); background: var(--ink-line); border: 1px solid var(--ink-line); border-radius: 10px; overflow: hidden; }
.caps li { display: flex; gap: 12px; padding: clamp(10px, 1.6vh, 16px); background: var(--ink); }
.caps i { color: var(--signal); font-size: 18px; margin-top: 4px; }
.caps b { display: block; color: #fff; font-family: var(--display); font-size: 15px; }
.caps span { display: block; font-size: 12.5px; line-height: 1.75; color: rgba(255, 255, 255, .6); }
.aichat .chat { height: clamp(220px, 40vh, 400px); }

/* ═════════════ 07 twin ═════════════ */
.twin { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.lanyards { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; padding-top: 34px; margin-top: 8px; }
.lanyards::before { content: ""; position: absolute; top: 0; inset-inline: -8px; height: 6px; border-radius: 6px; background: var(--ink); }
.idcard { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; transform-origin: 50% -34px; transform: rotate(var(--rot, 0deg)); transition: transform .5s var(--ease); }
.idcard:nth-child(1) { --rot: -1.5deg; } .idcard:nth-child(2) { --rot: 1.2deg; } .idcard:nth-child(3) { --rot: -.8deg; } .idcard:nth-child(4) { --rot: 1.6deg; }
.idcard__strap { position: absolute; top: -34px; width: 12px; height: 40px; background: repeating-linear-gradient(var(--lc, var(--blue)) 0 3px, color-mix(in srgb, var(--lc, var(--blue)) 80%, #000) 3px 6px); transition: height .5s var(--ease); }
.idcard { --lc: var(--blue-2); }
.idcard--org { --lc: #0F9AA8; } .idcard--meet { --lc: #2E9455; }
.idcard__card { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; width: 100%; padding: 18px 8px 0; border-radius: 10px; background: var(--white); border: 1px solid var(--rule); box-shadow: var(--shadow); overflow: hidden; transition: box-shadow .3s, border-color .3s; }
.idcard__hole { position: absolute; top: 6px; width: 26px; height: 6px; border-radius: 6px; background: var(--paper-2); box-shadow: inset 0 1px 2px rgba(0, 0, 0, .2); }
.idcard__av { display: grid; place-items: center; width: clamp(38px, 3.6vw, 50px); height: clamp(38px, 3.6vw, 50px); margin: 6px 0 4px; border-radius: 50%; background: var(--paper-2); color: var(--ink); font-family: var(--display); font-weight: 900; font-size: 20px; }
.idcard b { font-family: var(--display); font-size: 13.5px; color: var(--ink); line-height: 1.45; }
.idcard small { font-size: 11px; color: var(--muted); line-height: 1.55; min-height: 34px; padding-inline: 2px; }
.idcard em { display: block; width: 100%; margin-top: 6px; padding: 3px 0; font-style: normal; font-size: 10.5px; font-weight: 800; background: var(--lc); color: #fff; }
.idcard:hover { transform: rotate(0deg) translateY(3px); }
.idcard.is-on { transform: translateY(12px); }
.idcard.is-on .idcard__strap { height: 52px; }
.idcard.is-on .idcard__card { border-color: var(--ink); box-shadow: 0 24px 40px -20px rgba(11, 18, 32, .55); }
.idcard.is-on .idcard__av { background: var(--ink); color: var(--signal); }
.twin__note { display: flex; gap: 8px; align-items: baseline; margin-top: clamp(22px, 4vh, 36px); font-size: 13px; color: var(--muted); }
.twin__note i { color: var(--teal); }
.twin__app { display: flex; flex-direction: column; }
.twin__tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-bottom: 1px solid #ECE8DF; }
.twin__tiles:empty { display: none; }
.twin__tiles > div { padding: 8px 14px; border-inline-start: 1px solid #ECE8DF; }
.twin__tiles > div:first-child { border: 0; }
.twin__tiles small { display: block; font-size: 11px; color: var(--muted); }
.twin__tiles b { font-family: var(--display); font-size: 17px; color: var(--ink); }
.twin__log { height: clamp(200px, 34vh, 340px); padding: 12px 14px; }
.twin__ask { padding: 0 14px 14px; margin-top: 0; }

/* ═════════════ 08 industries ═════════════ */
.spines { display: flex; gap: 6px; height: clamp(380px, calc(100svh - 300px), 580px); }
.spine { position: relative; display: flex; flex: 0 0 clamp(48px, 4.4vw, 62px); min-width: 0; border-radius: 10px; background: var(--white); border: 1px solid var(--rule); overflow: hidden; transition: flex-basis .55s var(--ease), flex-grow .55s var(--ease), background .3s; }
.spine:nth-child(odd):not(.is-on) { background: #F6F3EC; }
.spine.is-on { flex: 1 1 auto; }
.spine__tab { flex: 0 0 clamp(48px, 4.4vw, 62px); display: flex; flex-direction: row; align-items: center; gap: 12px; padding: 14px 0; writing-mode: vertical-rl; font-family: var(--display); font-weight: 800; font-size: 16px; color: var(--ink); transition: background .3s, color .3s; }
.spine__n { writing-mode: horizontal-tb; font-size: 12px; color: var(--faint); font-weight: 700; }
.spine__tab i { writing-mode: horizontal-tb; color: var(--blue); }
.spine__tab:hover { background: var(--paper-2); }
.spine.is-on .spine__tab { background: var(--ink); color: #fff; }
.spine.is-on .spine__tab i, .spine.is-on .spine__n { color: var(--signal); }
.spine__body { display: none; flex: 1; min-width: 0; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(16px, 2.6vw, 36px); padding: clamp(16px, 2.4vw, 32px); overflow-y: auto; }
.spine.is-on .spine__body { display: grid; animation: fade .5s var(--ease) .15s both; }
.ind__body h3 { font-family: var(--display); font-size: clamp(19px, 1.8vw, 26px); font-weight: 800; color: var(--ink); line-height: 1.45; }
.ind__body > p { margin: 8px 0 12px; font-size: 14.5px; color: var(--muted); line-height: 1.9; }
.ind__body .checks li { font-size: 13.5px; }
.ind__viz { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.ind__viz-title { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 13px; font-weight: 800; color: var(--ink); }
.ind__viz .chart { flex: 1; min-height: 0; max-height: 280px; }
.chart-legend { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 12px; color: var(--muted); }
.chart-legend span { display: inline-flex; align-items: center; gap: 6px; }
.chart-legend i { width: 10px; height: 10px; border-radius: 2px; }

/* ═════════════ 09 how ═════════════ */
.how { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2vw, 28px); }
.how::before { content: ""; position: absolute; top: 25px; inset-inline: 12px; height: 6px; border-radius: 6px; background: var(--ink); }
.how li { position: relative; }
.how__dot { position: relative; z-index: 1; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--paper); border: 5px solid var(--ink); font-family: var(--display); font-weight: 900; font-size: 20px; color: var(--ink); margin-bottom: 16px; }
.sec--sheet .how__dot { background: var(--sheet); }
.how li:last-child .how__dot { background: var(--signal); }
.how .tag { margin-bottom: 4px; }
.how h3 { font-family: var(--display); font-size: clamp(17px, 1.5vw, 21px); color: var(--ink); font-weight: 800; }
.how p { margin-top: 6px; font-size: 14px; line-height: 1.95; color: var(--muted); }

/* ═════════════ 10 faq ═════════════ */
.faq { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(20px, 3vw, 48px); align-items: start; }
.faq__list { border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { display: grid; grid-template-columns: 34px minmax(0, 1fr) 20px; gap: 10px; align-items: center; padding: clamp(9px, 1.6vh, 14px) 0; cursor: pointer; list-style: none; font-family: var(--display); font-weight: 700; font-size: clamp(14.5px, 1.2vw, 17px); color: var(--ink); line-height: 1.6; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; font-weight: 300; text-align: center; transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq__n { font-size: 12px; color: var(--faint); }
.faq details p { padding: 0 44px 14px 30px; font-size: 14.5px; line-height: 1.95; color: var(--muted); animation: fade .3s var(--ease); }
.gloss { padding: clamp(16px, 2vw, 24px); border-radius: var(--r); background: var(--ink); color: rgba(255, 255, 255, .72); }
.gloss h3 { font-family: var(--display); color: #fff; font-size: 18px; margin-bottom: 8px; }
.gloss dl { display: grid; gap: 0; max-height: clamp(260px, 52vh, 480px); overflow-y: auto; }
.gloss dl > div { padding: 9px 0; border-bottom: 1px solid var(--ink-line); }
.gloss dt { display: flex; align-items: center; gap: 8px; font-weight: 800; color: #fff; font-size: 14px; }
.gloss dt i { color: var(--signal); width: 18px; }
.gloss dd { margin: 2px 0 0; font-size: 13px; line-height: 1.8; }
.mview--faq { display: none; }

/* ═════════════ 11 cta ═════════════ */
.cta { overflow: hidden; }
.cta::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(ellipse 60% 80% at 30% 50%, #000 20%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse 60% 80% at 30% 50%, #000 20%, transparent 70%); pointer-events: none; }
.cta__in { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(24px, 5vw, 80px); align-items: center; }
.cta__h { font-family: var(--display); font-weight: 900; font-size: clamp(32px, min(5vw, 8.4vh), 80px); line-height: 1.18; color: #fff; margin: 14px 0; letter-spacing: -.015em; text-wrap: balance; }
.cta__h em { font-style: normal; color: var(--signal); }
.cta--inner { min-height: auto; padding-block: clamp(48px, 10vh, 110px); }
.cta--inner .cta__in { grid-template-columns: minmax(0, 1fr); }
.qr { display: grid; gap: 12px; justify-items: center; padding: 18px; border-radius: var(--r); background: #fff; color: var(--ink); text-align: center; max-width: 280px; transform: rotate(1.5deg); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .9); }
.qr img { display: block; width: clamp(160px, 16vw, 230px); height: auto; image-rendering: pixelated; }
.qr figcaption b { display: block; font-family: var(--display); font-size: 16px; }
.qr figcaption span { display: block; font-size: 12.5px; color: var(--muted); line-height: 1.7; }
.qr--sm { grid-template-columns: auto minmax(0, 1fr); text-align: start; max-width: none; transform: none; margin-top: 22px; padding: 12px; box-shadow: none; }
.qr--sm img { width: 96px; }

/* footer, dock, rail, hints */
.ft { background: #070C16; color: rgba(255, 255, 255, .6); padding: 34px 0 calc(34px + env(safe-area-inset-bottom)); font-size: 13.5px; }
.ft__in { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px 40px; align-items: center; }
.ft__brand p { margin-top: 6px; font-family: var(--display); color: #fff; font-weight: 700; }
.ft__nav { display: flex; flex-wrap: wrap; gap: 6px 22px; justify-content: flex-end; }
.ft__nav a:hover { color: #fff; }
.ft small { grid-column: 1 / -1; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 12px; }
.dock { display: none; }
.dots { position: fixed; left: 18px; top: 50%; z-index: 40; display: flex; flex-direction: column; gap: 12px; padding: 10px 0; transform: translateY(-50%); }
.dots::before { content: ""; position: absolute; left: 5px; top: 0; bottom: 0; width: 2px; background: var(--rule-2); }
.dots a { position: relative; width: 12px; height: 12px; border-radius: 50%; background: var(--paper); border: 2px solid var(--rule-2); transition: .25s var(--ease); }
.dots a span { position: absolute; left: 22px; top: 50%; transform: translate(-6px, -50%); padding: 2px 10px; border-radius: 4px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 700; white-space: nowrap; opacity: 0; pointer-events: none; transition: .2s; }
.dots a:hover span, .dots a:focus-visible span { opacity: 1; transform: translate(0, -50%); }
.dots a.is-on { background: var(--ink); border-color: var(--ink); transform: scale(1.35); }
.dots.is-dark::before { background: rgba(255, 255, 255, .25); }
.dots.is-dark a { background: var(--ink); border-color: rgba(255, 255, 255, .35); }
.dots.is-dark a.is-on { background: var(--signal); border-color: var(--signal); }
.keyhint { position: fixed; bottom: 64px; left: 50%; z-index: 40; transform: translateX(-50%); display: flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 8px; background: var(--ink); color: rgba(255, 255, 255, .8); font-size: 12.5px; transition: opacity .6s; box-shadow: var(--shadow-lg); }
.keyhint kbd { display: grid; place-items: center; min-width: 24px; height: 22px; border-radius: 4px; background: rgba(255, 255, 255, .12); font-family: inherit; font-size: 12px; }
.keyhint.is-gone { opacity: 0; pointer-events: none; }
.expo-badge { position: fixed; top: calc(var(--hd) + 12px); left: 50%; transform: translateX(-50%); z-index: 45; display: none; padding: 6px 16px; border-radius: 6px; background: var(--signal); color: var(--ink); font-size: 13px; font-weight: 800; box-shadow: var(--shadow-lg); }
.is-touring .expo-badge { display: block; }

/* ═════════════ inner pages ═════════════ */
.page-inner .phero { background: var(--paper); background-image: radial-gradient(rgba(11, 18, 32, .08) 1px, transparent 1.2px); background-size: 22px 22px; padding-top: clamp(14px, 2.4vh, 28px); }
.page-inner .phero::before { content: ""; position: absolute; top: 0; inset-inline: 0; height: 6px; background: var(--lc); }
.linebar { display: flex; align-items: flex-start; gap: 14px; margin-bottom: clamp(14px, 3vh, 30px); }
.linebar__home { white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 2px 12px; border-radius: 6px; background: var(--ink); color: #fff; font-size: 12.5px; font-weight: 800; flex-shrink: 0; }
.linebar__home i { color: var(--signal); }
.linebar ol { position: relative; flex: 1; display: flex; min-width: 0; overflow-x: auto; scrollbar-width: none; padding-top: 4px; }
.linebar ol::-webkit-scrollbar { display: none; }
.linebar li { position: relative; flex: 1 0 96px; }
.linebar li::before { content: ""; position: absolute; top: 12px; inset-inline: 0; height: 5px; margin-top: -2.5px; background: var(--lc); }
.linebar li:first-child::before { inset-inline-start: 50%; }
.linebar li:last-child::before { inset-inline-end: 50%; }
.linebar a { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 0 4px; text-align: center; }
.linebar a i { width: 14px; height: 14px; margin-top: 5px; border-radius: 50%; background: #fff; border: 3.5px solid var(--lc); transition: transform .2s var(--ease); }
.linebar a span { font-size: 11.5px; font-weight: 700; line-height: 1.5; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.linebar a:hover i { transform: scale(1.3); }
.linebar a:hover span { color: var(--ink); }
.linebar li.is-here a i { width: 24px; height: 24px; margin-top: 0; background: var(--lc); border: 4px solid #fff; box-shadow: 0 0 0 2.5px var(--lc); }
.linebar li.is-here a span { color: var(--ink); font-weight: 900; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: clamp(14px, 3vh, 28px); font-size: 13px; color: var(--muted); }
.crumbs i { font-size: 10px; color: var(--faint); }
.crumbs a:hover { color: var(--ink); }
.phero__grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: clamp(24px, 4vw, 60px); align-items: center; }
.ph__h { font-family: var(--display); font-weight: 900; font-size: clamp(32px, min(4.6vw, 8vh), 70px); line-height: 1.18; color: var(--ink); margin: 10px 0 10px; letter-spacing: -.015em; text-wrap: balance; }
.phero__tag { font-family: var(--display); font-weight: 600; font-size: clamp(16px, 1.4vw, 20px); color: var(--ink); line-height: 1.7; }
.phero__intro { margin-top: 10px; font-size: 14.5px; line-height: 1.95; color: var(--muted); max-width: 62ch; }
.kstrip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(14px, 2.6vh, 24px); border-top: 2px solid var(--lc); }
.kstrip > div { padding: 10px 12px 0; border-inline-start: 1px solid var(--rule); }
.kstrip > div:first-child { border: 0; padding-inline-start: 0; }
.kstrip dt { font-family: var(--display); font-size: clamp(24px, 2.4vw, 36px); font-weight: 900; color: var(--lc); line-height: 1.25; }
.kstrip dt small { font-size: .42em; font-weight: 800; margin-inline-start: 4px; }
.kstrip dd { margin: 0; font-size: 12px; color: var(--muted); line-height: 1.6; }
.forwho { display: flex; gap: 10px; align-items: baseline; margin-top: 14px; font-size: 13.5px; line-height: 1.85; color: var(--muted); }
.forwho i { color: var(--lc); }
.forwho b { color: var(--ink); }
.feats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(24px, 4vw, 64px); }
.feats li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; align-items: baseline; padding: clamp(12px, 2.2vh, 20px) 0; border-top: 1px solid var(--rule); }
.feats li:nth-child(-n+2) { border-top: 2px solid var(--ink); }
.feats__n { font-family: var(--display); font-size: clamp(26px, 2.6vw, 38px); font-weight: 900; color: var(--lc); line-height: 1; min-width: 1.6em; }
.feats p { font-size: clamp(14.5px, 1.2vw, 16.5px); color: var(--text); line-height: 1.9; }
.story { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2.4vw, 32px); }
.story::before { content: ""; position: absolute; top: 15px; inset-inline: 15px; height: 6px; border-radius: 6px; background: linear-gradient(-90deg, var(--rule-2), var(--lc) 50%, var(--teal)); }
.story__step { position: relative; padding-top: 44px; }
.story__dot { position: absolute; top: 0; inset-inline-start: 0; width: 36px; height: 36px; border-radius: 50%; background: var(--paper); border: 6px solid var(--rule-2); }
.story__step:nth-child(2) .story__dot { border-color: var(--lc); }
.story__step:nth-child(3) .story__dot { border-color: var(--teal); background: var(--teal); }
.story__step small { display: block; font-family: var(--display); font-size: 13px; font-weight: 800; color: var(--muted); }
.story__step:nth-child(2) small { color: var(--lc); } .story__step:nth-child(3) small { color: var(--teal); }
.story__step p { margin-top: 6px; font-size: clamp(15px, 1.3vw, 18px); line-height: 1.95; color: var(--ink); }
.story__step:nth-child(3) p { font-weight: 700; }
.cmap { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: clamp(24px, 6vw, 96px); align-items: center; }
.cmap__lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.cmap__lines path { fill: none; stroke-width: 5; stroke-linecap: round; opacity: .9; }
.cmap__lines path.flow { stroke: #fff; stroke-width: 2; stroke-dasharray: 2 12; animation: flow 1s linear infinite; opacity: 1; }
.cmap__side { position: relative; z-index: 1; display: grid; gap: 12px; }
.cmap__node { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 10px; background: var(--white); border: 1px solid var(--rule); border-inline-start: 5px solid var(--lc); transition: transform .25s var(--ease), box-shadow .25s; }
.cmap__node:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.cmap__node > i { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--lc); color: #fff; flex-shrink: 0; font-size: 14px; }
.cmap__node b { display: block; font-size: 14px; color: var(--ink); line-height: 1.5; }
.cmap__node small { display: block; font-size: 12px; color: var(--muted); line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cmap__core { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; max-width: 200px; }
.cmap__ring { display: grid; place-items: center; width: clamp(96px, 9vw, 128px); height: clamp(96px, 9vw, 128px); border-radius: 50%; background: #fff; border: 10px solid var(--lc); box-shadow: 0 0 0 4px #fff, 0 0 0 7px var(--ink); color: var(--lc); font-size: clamp(28px, 2.6vw, 38px); }
.cmap__core b { font-family: var(--display); font-size: 17px; color: var(--ink); line-height: 1.5; }
.cmap__core small { font-size: 12px; color: var(--muted); }
.pager { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: clamp(24px, 5vh, 48px); }
.pager a { display: grid; gap: 2px; padding: 14px 18px; border-radius: 10px; background: var(--white); border: 1px solid var(--rule); border-top: 5px solid var(--lc); transition: .25s var(--ease); }
.pager a:hover { border-color: var(--ink); border-top-color: var(--lc); }
.pager a small { font-size: 12.5px; color: var(--muted); }
.pager a b { font-family: var(--display); font-size: 17px; color: var(--ink); }
.pager .next { grid-column: 2; text-align: end; }
.cols2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 32px); }
.panel { min-width: 0; padding: clamp(18px, 2.4vw, 30px); border-radius: var(--r); background: var(--white); border: 1px solid var(--rule); }
.panel h3 { font-family: var(--display); font-size: 20px; color: var(--ink); margin-bottom: 12px; }
.modlist { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; }
.modlist a { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 8px; border: 1px solid var(--rule); border-inline-start: 4px solid var(--lc); transition: .2s; }
.modlist a:hover { border-color: var(--ink); border-inline-start-color: var(--lc); }
.modlist a > i:first-child { color: var(--lc); width: 20px; text-align: center; }
.modlist span { flex: 1; min-width: 0; }
.modlist b { display: block; font-size: 14px; color: var(--ink); }
.modlist small { display: block; font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tickets--links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tickets--links .ticket::before, .tickets--links .ticket::after { background: var(--sheet); }

/* ═════════════ module demo screens (landing_screens.py) ═════════════ */
.scr .v-a { display: none; }
.scr.is-acted .v-b { display: none; }
.scr.is-acted .v-a { display: inline; }
.scr.is-acted div.v-a, .scr.is-acted p.v-a { display: block; }
.scr.is-acted .kpi.v-a { display: block; animation: fade .4s var(--ease); }
.scr__body { min-height: clamp(260px, 40vh, 380px); }
.scr__foot { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 10px 14px; border-top: 1px solid #ECE8DF; background: #FBFAF7; border-radius: 0 0 var(--r) var(--r); }
.scr__foot .btn { --b: var(--ink); }
.scr__foot .btn:hover { --b: #000; }
.scr__hint { font-size: 12px; color: var(--faint); }
.scr__hint::before { content: "← "; color: var(--lc); font-weight: 900; animation: blink 1.4s infinite; }
.scr.is-acted .scr__hint { display: none; }
.scr__done { margin-top: 12px; padding: 10px 12px; border-radius: var(--r-sm); background: var(--teal-soft); color: #0A4F4C; font-size: 13.5px; line-height: 1.8; animation: fade .4s var(--ease); }
.scr__alert { margin-top: 12px; padding: 10px 12px; border-radius: var(--r-sm); background: var(--warn-soft); color: #5E3D00; font-size: 13.5px; line-height: 1.8; }
.scr.is-acted .scr__alert { background: var(--teal-soft); color: #0A4F4C; }
.scr__status { margin-bottom: 10px; }
.scr__kpis { margin-bottom: 12px; }
.chg { color: var(--teal); font-weight: 800; animation: fade .4s var(--ease); }
.tbl-wrap { overflow-x: auto; border: 1px solid #ECE8DF; border-radius: var(--r-sm); }
.tbl { width: 100%; border-collapse: collapse; font-size: 13px; }
.tbl th { text-align: start; font-size: 11.5px; font-weight: 800; color: var(--muted); padding: 8px 10px; background: #F8F6F1; white-space: nowrap; border-bottom: 1px solid #ECE8DF; }
.tbl td { padding: 9px 10px; border-bottom: 1px solid #F0EDE6; color: var(--text); }
.tbl tr:last-child td { border-bottom: 0; }
.tbl tr.hl td { background: var(--warn-soft); }
.scr.is-acted .tbl tr.hl td { background: var(--teal-soft); }
.tr-new { display: none; }
.scr.is-acted .tr-new { display: table-row; animation: fade .5s var(--ease); }
.scr.is-acted .tr-new td { background: var(--teal-soft); font-weight: 700; }
.scr__chat { height: auto; max-height: clamp(220px, 38vh, 340px); }
.pcard { margin-bottom: 10px; padding: 12px; border-radius: var(--r-sm); background: #FBFAF7; border: 1px solid #ECE8DF; }
.pcard__head { display: flex; align-items: center; gap: 10px; }
.pcard__head > div { flex: 1; min-width: 0; }
.pcard__head b { display: block; font-family: var(--display); color: var(--ink); }
.pcard__head small { display: block; font-size: 12px; color: var(--muted); }
.pcard__av { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: var(--signal); font-family: var(--display); font-weight: 900; font-size: 18px; }
.pcard__sum { margin: 8px 0; font-size: 12.5px; line-height: 1.8; color: var(--muted); }
.pcard__bars { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 14px; }
.pcard__bars > div { display: grid; grid-template-columns: 70px minmax(0, 1fr); gap: 0 8px; align-items: center; }
.pcard__bars small { font-size: 11px; font-weight: 700; color: var(--ink); }
.pcard__bars em { grid-column: 2; font-style: normal; font-size: 10px; color: var(--faint); }
.pbar { position: relative; height: 6px; border-radius: 6px; background: var(--paper-2); }
.pbar i { position: absolute; top: -3px; right: var(--v); width: 12px; height: 12px; margin-right: -6px; border-radius: 50%; background: var(--ink); }
.pcard__tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin-top: 10px; }
.pcard__tiles > div { padding: 6px 8px; border-radius: 6px; background: #fff; border: 1px solid #ECE8DF; }
.pcard__tiles small { display: block; font-size: 10.5px; color: var(--muted); }
.pcard__tiles b { font-size: 13px; color: var(--ink); }
.ocards { display: grid; gap: 8px; }
.ocard { padding: 12px 14px; border: 1px solid #ECE8DF; border-radius: var(--r-sm); border-inline-start: 4px solid var(--rule-2); }
.ocard.is-target { border-inline-start-color: var(--lc); }
.ocard__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.ocard__top b { color: var(--ink); font-size: 14.5px; }
.ocard p { font-size: 13px; color: var(--muted); margin: 2px 0; }
.ocard small { font-size: 12.5px; font-weight: 700; color: var(--blue); }
.tag--swap { background: var(--warn-soft); color: var(--warn); }
.scr.is-acted .tag--swap { background: var(--teal-soft); color: var(--teal); }
.kpis--grow { grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); }
.kpi--new { border-color: var(--teal); background: var(--teal-soft); }
.dash-row { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 10px; margin-top: 10px; }
.dash-box { padding: 10px; border: 1px solid #ECE8DF; border-radius: var(--r-sm); min-width: 0; }
.dash-box .ptitle { margin-top: 0; }
.bars { display: flex; align-items: flex-end; gap: 6px; height: 120px; }
.bars span { flex: 1; height: 0; border-radius: 3px 3px 0 0; background: var(--lc); transition: height .8s var(--ease) calc(var(--i, 0) * 60ms); }
.bars span:last-child { background: var(--ink); }
.live { display: grid; gap: 8px; }
.live__src { padding: 10px 12px; border: 1px solid #ECE8DF; border-radius: var(--r-sm); }
.live__head { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.live__head b { color: var(--ink); }
.live__head .tag { margin-inline-start: auto; }
.dot-on { width: 8px; height: 8px; border-radius: 50%; background: #1FA36A; box-shadow: 0 0 0 3px rgba(31, 163, 106, .2); animation: blink 1.6s infinite; }
.live__tags { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 6px; }
.live__tags small { display: block; font-size: 11.5px; color: var(--muted); }
.live__tags b { font-family: var(--display); font-size: 17px; color: var(--ink); font-variant-numeric: tabular-nums; direction: ltr; unicode-bidi: isolate; }
.live__tags b small { display: inline; }
.rcpt { max-width: 420px; margin: 0 auto; padding: 14px 16px; border: 1px dashed var(--rule-2); border-radius: var(--r-sm); background: #FFFDF6; }
.rcpt__line { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; border-bottom: 1px dotted var(--rule); font-size: 13.5px; }
.rcpt__line b { color: var(--ink); white-space: nowrap; }
.rcpt__total { display: flex; justify-content: space-between; gap: 10px; padding-top: 10px; font-weight: 800; color: var(--ink); font-size: 15px; }
.rcpt__total b { font-family: var(--display); }
.rcpt__total b.good { color: var(--teal); } .rcpt__total b.bad { color: var(--err); }
.rcpt__stamp { margin-top: 10px; text-align: center; font-size: 13px; font-weight: 700; color: var(--warn); }
.scr.is-acted .rcpt__stamp { color: var(--teal); }
.kanban { display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); gap: 8px; }
.kanban__col { padding: 8px; border-radius: var(--r-sm); background: #F6F3EC; min-height: 200px; min-width: 0; }
.kanban__col h5 { margin: 0 0 8px; font-size: 12px; font-weight: 800; color: var(--muted); }
.kanban__card { padding: 8px 10px; margin-bottom: 6px; border-radius: 8px; background: #fff; border: 1px solid #ECE8DF; box-shadow: 0 1px 2px rgba(11, 18, 32, .06); }
.kanban__card b { display: block; font-size: 13px; color: var(--ink); line-height: 1.6; }
.kanban__card small { font-size: 11.5px; color: var(--muted); line-height: 1.6; display: block; }
.kanban__card[data-move] { border-inline-start: 3px solid var(--lc); }
.kanban__card.is-moved { border-color: var(--teal); border-inline-start-color: var(--teal); animation: fade .5s var(--ease); }
.smap { position: relative; height: clamp(240px, 36vh, 320px); border-radius: var(--r-sm); overflow: hidden; background: #F8F6F1; border: 1px solid #ECE8DF; }
.smap svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.smap__stop { position: absolute; transform: translate(-7px, -50%); flex-direction: row-reverse; display: flex; align-items: center; gap: 6px; z-index: 1; }
.smap__stop i { width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--faint); flex-shrink: 0; }
.smap__stop span { padding: 1px 8px; border-radius: 5px; background: rgba(255, 255, 255, .94); font-size: 11.5px; font-weight: 700; color: var(--ink); white-space: nowrap; box-shadow: var(--shadow); }
.smap__stop.is-done i { border-color: var(--teal); background: var(--teal); }
.smap__stop.is-next i { border-color: var(--blue); animation: blink 1.2s infinite; }
.smap__car { position: absolute; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--signal); font-size: 12px; box-shadow: 0 6px 16px -6px var(--ink); z-index: 2; transition: left 1.4s var(--ease), top 1.4s var(--ease); }
.calc__rows { margin-top: 10px; }
.calc__rows div { display: flex; justify-content: space-between; padding: 7px 0; border-bottom: 1px dotted var(--rule); font-size: 13.5px; }
.calc__rows b { color: var(--ink); }

/* ═════════════ request form ═════════════ */
.req { padding: clamp(18px, 4vh, 48px) 0 clamp(32px, 6vh, 64px); background: var(--paper); background-image: radial-gradient(rgba(11, 18, 32, .08) 1px, transparent 1.2px); background-size: 22px 22px; min-height: calc(100svh - var(--hd)); }
.req__grid { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(18px, 3vw, 40px); align-items: start; }
.req__aside { position: sticky; top: calc(var(--hd) + 18px); padding: clamp(20px, 2.6vw, 34px); border-radius: var(--r); background: var(--ink); color: rgba(255, 255, 255, .7); }
.req__aside h1 { font-family: var(--display); font-weight: 900; font-size: clamp(28px, 3vw, 44px); line-height: 1.3; color: #fff; margin: 10px 0; }
.req__aside > p { font-size: 14.5px; line-height: 1.95; }
.promise { display: grid; gap: 10px; margin-top: 20px; }
.promise li { display: flex; gap: 12px; padding: 12px 0; border-top: 1px solid var(--ink-line); }
.promise i { color: var(--signal); font-size: 18px; margin-top: 4px; width: 22px; }
.promise b { display: block; color: #fff; font-size: 14.5px; }
.promise span { display: block; font-size: 13px; line-height: 1.8; }
.form { padding: clamp(18px, 2.6vw, 34px); border-radius: var(--r); background: var(--white); border: 1px solid var(--rule); box-shadow: var(--shadow-lg); }
.steps-ind { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 26px; }
.steps-ind::before { content: ""; position: absolute; top: 17px; inset-inline: 16.6%; height: 5px; margin-top: -2.5px; background: var(--paper-2); border-radius: 5px; }
.steps-ind > div { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; }
.steps-ind span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #fff; border: 4px solid var(--rule-2); font-family: var(--display); font-weight: 800; font-size: 14px; color: var(--muted); z-index: 1; transition: .3s; }
.steps-ind b { font-size: 12.5px; color: var(--muted); }
.steps-ind .is-on span { border-color: var(--ink); color: var(--ink); transform: scale(1.12); }
.steps-ind .is-on b { color: var(--ink); }
.steps-ind .is-done span { background: var(--teal); border-color: var(--teal); color: #fff; }
.fstep { display: none; border: 0; margin: 0; padding: 0; min-width: 0; }
.fstep.is-on { display: block; animation: fade .4s var(--ease); }
.fstep legend { font-family: var(--display); font-weight: 800; font-size: clamp(20px, 2vw, 26px); color: var(--ink); padding: 0; }
.fstep__help { margin: 2px 0 16px; font-size: 14px; color: var(--muted); }
.choice { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 16px; }
.opt { position: relative; display: block; cursor: pointer; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt .box { display: flex; align-items: center; gap: 12px; height: 100%; padding: 12px 14px; border-radius: 10px; border: 1.5px solid var(--rule); background: #fff; transition: .2s; }
.opt .box > i { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 8px; background: var(--paper-2); color: var(--ink); flex-shrink: 0; }
.opt .box b { display: block; font-size: 14.5px; color: var(--ink); }
.opt .box small { display: block; font-size: 12px; color: var(--muted); line-height: 1.6; }
.opt .box > span { flex: 1; min-width: 0; }
.opt .box .tag { flex: none; }
.opt:hover .box { border-color: var(--rule-2); }
.opt input:checked + .box { border-color: var(--ink); background: #FBFAF7; box-shadow: inset 0 0 0 1px var(--ink); }
.opt input:checked + .box > i { background: var(--ink); color: var(--signal); }
.opt input:focus-visible + .box { outline: 2px solid var(--blue); outline-offset: 2px; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 14px; }
.field { display: grid; gap: 4px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13.5px; font-weight: 700; color: var(--ink); }
.field input, .field textarea { width: 100%; min-height: 46px; padding: 10px 12px; border-radius: 8px; border: 1.5px solid var(--rule); background: #FDFCFA; font-size: 15px; transition: border-color .2s, box-shadow .2s; }
.field textarea { resize: vertical; line-height: 1.8; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(79, 224, 193, .35); background: #fff; }
.field__err { display: none; font-size: 12.5px; color: var(--err); font-weight: 700; }
.field.is-bad input, .field.is-bad textarea { border-color: var(--err); }
.field.is-bad .field__err, .field__err.is-on { display: block; }
.star { color: var(--err); }
.subjects { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.group-label { display: block; margin: 20px 0 8px; font-size: 13.5px; font-weight: 800; color: var(--ink); }
.group-label small { font-weight: 500; color: var(--muted); }
.modpick { display: flex; flex-wrap: wrap; gap: 6px; max-height: 220px; overflow-y: auto; padding: 2px; }
.modpick label { cursor: pointer; }
.modpick input { position: absolute; opacity: 0; pointer-events: none; }
.modpick span { display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 3px 10px; border-radius: 6px; border: 1px solid var(--rule); font-size: 12.5px; font-weight: 700; transition: .2s; }
.modpick span i { color: var(--faint); }
.modpick input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.modpick input:checked + span i { color: var(--signal); }
.modpick input:focus-visible + span { outline: 2px solid var(--blue); }
.form .seg { flex-wrap: wrap; }
.form__nav { display: flex; gap: 10px; margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--rule); }
.alert { display: flex; gap: 10px; align-items: center; margin-bottom: 16px; padding: 10px 14px; border-radius: 8px; background: var(--err-soft); color: #7A1C12; font-size: 14px; }
.done { text-align: center; padding: 20px 0; }
.done__icon { width: 90px; height: 90px; margin: 0 auto 12px; }
.done h2 { font-family: var(--display); font-size: 26px; color: var(--ink); }
.done p { margin: 10px auto 0; max-width: 46ch; color: var(--muted); }
.done__btns { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 22px; }

/* ═════════════ responsive ═════════════ */
@media (min-width: 1025px) {
  .faq [data-swap-pane] { display: block !important; }
}
@media (max-height: 820px) and (min-width: 1025px) {
  .sec { padding-block: 16px; }
  .stn__name { -webkit-line-clamp: 1; font-size: 11.5px; }
  .mline__name { height: 18px; font-size: 11px; }
  .station__dot { width: 46px; height: 46px; font-size: 15px; }
  .route__rail, .train { top: 29px; }
  .chat { height: clamp(150px, 24vh, 240px); }
  .aichat .chat { height: clamp(200px, 36vh, 320px); }
  .twin__log { height: clamp(170px, 30vh, 260px); }
  .result__intro { font-size: 14px; line-height: 1.85; }
  .checks li { line-height: 1.7; }
}
@media (max-height: 820px) and (min-width: 1025px) {
  .ind__body > p { display: none; }
  .ind__body h3 { margin-bottom: 10px; }
  .ind__viz .chart { max-height: 210px; }
  .result__demo .chart { max-height: 22vh; }
  .result__demo .kpi { padding: 6px 10px; }
  .result__demo .ptitle { margin: 8px 0 4px; }
  .result__demo .advice { margin-top: 8px; padding: 6px 10px; }
  .result__demo .ctl-label { margin: 6px 0 4px; }
  .tickets { margin-bottom: 10px; }
  .ticket__t small { display: none; }
}
@media (max-width: 1180px) {
  .lanyards { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 50px; }
  .lanyards::before { display: none; }
  .hd__where em { display: none; }
}
@media (max-width: 1099px) { .dots { display: none; } }
@media (max-width: 1024px) {
  :root { --hd: 58px; }
  .sec { min-height: auto; padding-block: clamp(36px, 7vh, 64px); }
  .hero { min-height: calc(100svh - var(--hd)); padding-top: 24px; }
  .hero__in, .live2, .ai, .twin, .journey, .phero__grid, .req__grid, .cta__in { grid-template-columns: minmax(0, 1fr); }
  .hero__in { align-content: center; }
  .hd__where { display: none; }
  .hd__cta span { display: none; }
  .hd__cta { padding-inline: 12px; }
  .live2__text .stats { display: none; }
  .mview { display: flex; gap: 4px; padding: 4px; margin-bottom: 12px; border-radius: 10px; background: var(--paper-2); }
  .mview button { flex: 1; min-height: 40px; border-radius: 7px; font-size: 14px; font-weight: 800; color: var(--muted); }
  .mview button.is-on { background: var(--white); color: var(--ink); box-shadow: 0 1px 3px rgba(11, 18, 32, .15); }
  .result { grid-template-columns: minmax(0, 1fr); }
  .result[data-mview="text"] .result__demo, .result[data-mview="demo"] .result__text { display: none; }
  .phero > .wrap > .mview { display: flex; }
  .phero__grid[data-mview="text"] .ph__demo, .phero__grid[data-mview="demo"] .ph__text { display: none; }
  .journey .receipt { max-width: 420px; width: 100%; margin-inline: auto; }
  .metro__map { grid-template-columns: minmax(0, 1fr); }
  .metro__hub { flex-direction: row; border-radius: 10px; padding: 10px 16px; margin: 0 0 18px; box-shadow: none; }
  .metro__links { display: none; }
  .mline { display: none; }
  .mline.is-line { display: block; }
  .lchip--all { display: none; }
  .metro__filters { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * var(--gut)); padding-inline: var(--gut); }
  .metro__filters::-webkit-scrollbar { display: none; }
  .mline__name { font-size: 14px; height: auto; margin-bottom: 8px; }
  .mline__track { display: block; padding-inline-start: 0; }
  .mline__track::before { top: 8px; bottom: 8px; height: auto; width: 6px; margin: 0; inset-inline-start: 5px; }
  .mline__track li { padding: 4px 0; }
  .stn { flex-direction: row; text-align: start; gap: 14px; padding: 6px 0; }
  .stn__dot { flex-shrink: 0; }
  .stn__name { font-size: 15px; -webkit-line-clamp: 2; }
  .metro__info { display: none; }
  .spines { flex-direction: column; height: auto; gap: 6px; }
  .spine { flex: none !important; flex-direction: column; }
  .spine__tab { flex: none; writing-mode: horizontal-tb; flex-direction: row; justify-content: flex-start; min-height: 52px; padding: 0 16px; gap: 12px; font-size: 15.5px; }
  .spine__body { grid-template-columns: minmax(0, 1fr); padding: 16px; overflow: visible; }
  .twin__side .sec-head { margin-bottom: 4px; }
  .lanyards { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 10px; }
  .faq { grid-template-columns: minmax(0, 1fr); }
  .mview--faq { display: flex; }
  .faq [data-swap-pane] { display: none; }
  .faq [data-swap-pane].is-on { display: block; }
  .sec-head--row { grid-template-columns: auto minmax(0, 1fr); }
  .sec-head--row > .lead, .sec-head--row > .mview { grid-column: 1 / -1; }
  .how { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
  .how::before { display: none; }
  .cmap { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .cmap__lines { display: none; }
  .cmap__core { order: -1; max-width: none; flex-direction: row; justify-content: flex-start; text-align: start; margin-bottom: 6px; }
  .cmap__ring { width: 76px; height: 76px; border-width: 7px; font-size: 24px; }
  .req__aside { position: static; }
  .cta__in { justify-items: start; }
  .qr { transform: none; }
  .dock { position: fixed; z-index: 40; inset-inline: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); display: flex; gap: 8px; padding: 8px; border-radius: 14px; background: var(--ink); box-shadow: 0 20px 40px -16px rgba(0, 0, 0, .6); transform: translateY(140%); transition: transform .4s var(--ease); }
  .dock.is-on { transform: none; }
  .dock .btn { flex: 1; }
  .dock__ic { display: grid; place-items: center; width: 48px; border-radius: 10px; background: var(--ink-3); color: var(--signal); }
  .ft { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
  .keyhint { display: none; }
  .menu__in { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .menu__side { align-self: start; }
}
@media (max-width: 640px) {
  body { font-size: 15px; }
  .hero__h { font-size: clamp(44px, 14.5vw, 72px); }
  .hero__lead { font-size: 14.5px; }
  .hero__cta .btn { flex: 1 1 auto; }
  .hero__cta .btn--ghost { display: none; }
  .sec-head { grid-template-columns: minmax(0, 1fr); }
  .sec-head__n { font-size: 46px !important; -webkit-text-stroke-width: 1.2px; margin-bottom: -8px; }
  .sec-head--row > .lead, .sec-head--row > .mview { grid-column: auto; }
  .h2 { font-size: clamp(23px, 7vw, 30px); }
  .hd__menu-t { display: none; }
  .hd__menu { padding-inline: 10px; }
  .board { padding: 10px; }
  .board__row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .board__row .flap--t, .board__row .flap--eff, .board__row--cols span:first-child, .board__row--cols span:last-child { display: none; }
  .board__row--cols { display: none; }
  .board__rows .board__row:nth-child(n+4) { display: none; }
  .board__src .tag { display: none; }
  .ticker { height: 40px; font-size: 12.5px; }
  .ticker__label { padding-inline: 12px; }
  .ticker__label span, .ticker__label { font-size: 12px; }
  .tickets { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .ticket__t small { display: none; }
  .tickets .ticket:not(.is-on) .ticket__t { padding-block: 6px; }
  .tickets--links .ticket__t small { display: block; }
  .tickets--links { grid-template-columns: minmax(0, 1fr); }
  .kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; }
  .kpi { padding: 7px 8px; }
  .kpi b { font-size: 14px; }
  .pf__main { grid-template-columns: minmax(0, 1fr); }
  .pf__side { display: none; }
  .scene-tabs { margin-top: 10px; }
  .trend { grid-template-columns: minmax(0, 1fr); }
  .trend__list { grid-template-columns: minmax(0, 1fr); }
  .trend__list .trend__row:nth-child(n+4) { display: none; }
  .market { grid-template-columns: minmax(0, 1fr); }
  .rings { max-width: 170px; }
  .route__track { grid-template-columns: minmax(0, 1fr); gap: 4px; padding: 0; }
  .route__rail { top: calc(100% / 12); bottom: calc(100% / 12); inset-inline: auto; right: 23px; width: 8px; height: auto; margin: 0 -4px 0 0; }
  .route__fill { width: 100%; height: var(--fill, 0px); inset-inline: 0; }
  .train { top: 0; margin: -17px 0 0 -11px; width: 22px; height: 34px; }
  .station { flex-direction: row; text-align: start; gap: 12px; padding: 2px 0; }
  .station__dot { width: 46px; height: 46px; font-size: 15px; flex-shrink: 0; }
  .station b { flex: 1; }
  .route__detail { min-height: 0; font-size: 13.5px; }
  .lanyards { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 46px; padding-top: 30px; }
  .idcard small { min-height: 0; }
  .twin__tiles b { font-size: 14.5px; }
  .twin__tiles > div { padding: 6px 10px; }
  .how { grid-template-columns: minmax(0, 1fr); }
  .faq details p { padding-inline: 0; }
  .cta__h { font-size: clamp(30px, 9vw, 44px); }
  .qr { display: none; }
  .ft__in { grid-template-columns: minmax(0, 1fr); }
  .ft__nav { justify-content: flex-start; }
  .linebar__home span { display: none; }
  .linebar li { flex-basis: 82px; }
  .kstrip dt { font-size: 24px; }
  .feats { grid-template-columns: minmax(0, 1fr); }
  .feats li:nth-child(2) { border-top: 1px solid var(--rule); }
  .story { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .story::before { top: 15px; bottom: 15px; inset-inline: auto; right: 15px; width: 6px; height: auto; background: linear-gradient(var(--rule-2), var(--lc) 50%, var(--teal)); }
  .story__step { padding: 0 52px 0 0; min-height: 36px; }
  .pager { grid-template-columns: minmax(0, 1fr); }
  .pager .next { grid-column: auto; }
  .cols2 { grid-template-columns: minmax(0, 1fr); }
  .choice, .fields, .subjects { grid-template-columns: minmax(0, 1fr); }
  .dash-row { grid-template-columns: minmax(0, 1fr); }
  .pcard__bars, .pcard__tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kanban { grid-template-columns: repeat(var(--cols), minmax(150px, 1fr)); overflow-x: auto; }
  .caps { grid-template-columns: minmax(0, 1fr); }
  .caps li:nth-child(n+3) { display: none; }
  .qr--sm { display: grid; }
}

/* ═════════════ reduced motion ═════════════ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js [data-rv] { opacity: 1; transform: none; }
  .js [data-wipe] { clip-path: none; }
  .ticker__track { animation: none; }
}
.page-inner .sec:not(.phero):not(.cta) { min-height: auto; padding-block: clamp(48px, 9vh, 104px); }
