/* HamRig "Take a tour" (tour.html) - own CSS, no framework.
 * Dark and cinematic: #0B0B0E / #16161A backgrounds, #1F1F24 cards,
 * crimson #8B1D1D -> #5F0F12, accent #E05252, text #F2F2F7 / #AEAEB2.
 */
@font-face { font-family: 'Inter Fallback'; font-weight: 100 549; src: local('Arial'), local('ArialMT'), local('Liberation Sans'), local('LiberationSans'), local('Helvetica'); size-adjust: 107.1%; ascent-override: 90.4%; descent-override: 22.5%; line-gap-override: 0%; }
@font-face { font-family: 'Inter Fallback'; font-weight: 550 900; src: local('Arial Bold'), local('Arial-BoldMT'), local('Liberation Sans Bold'), local('LiberationSans-Bold'), local('Helvetica Bold'); size-adjust: 104%; ascent-override: 93%; descent-override: 23.2%; line-gap-override: 0%; }
:root {
    --bg0: #0B0B0E;
    --bg1: #16161A;
    --card: #1F1F24;
    --card2: #26262C;
    --line: rgba(255, 255, 255, .08);
    --line2: rgba(255, 255, 255, .14);
    --text: #F2F2F7;
    --muted: #AEAEB2;
    --dim: #8E8E93;
    --red: #E05252;
    --red-hi: #FF6B6B;
    --crimson: #8B1D1D;
    --crimson2: #5F0F12;
    --green: #34C759;
    --blue: #5AA9FF;
    --amber: #F5A524;
    --grad: linear-gradient(135deg, #B42828 0%, #8B1D1D 50%, #5F0F12 100%);
    --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    --sans: 'Inter', 'Inter Fallback', system-ui, -apple-system, 'Segoe UI', Roboto, 'Hiragino Sans', 'Noto Sans JP', 'Yu Gothic', sans-serif;
    --gutter: 32px;
    --maxw: 1200px;
    --bar-h: 64px;
    --r: 20px;
    color-scheme: dark;
}
@media (max-width: 1024px) { :root { --gutter: 24px; } }
@media (max-width: 640px) { :root { --gutter: 16px; --bar-h: 58px; } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--bar-h) + 56px); -webkit-text-size-adjust: 100%; }
@media (max-width: 760px) { html { scroll-padding-top: calc(var(--bar-h) + 12px); } }
body {
    margin: 0; background: var(--bg0); color: var(--text);
    font-family: var(--sans); font-size: 16px; line-height: 1.6;
    -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
    overflow-x: hidden;
}
img { max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; overflow-wrap: break-word; text-wrap: balance; }
@media (max-width: 640px) { html:is([lang="de"], [lang="nl"], [lang="pl"], [lang="ru"], [lang="uk"]) :is(h1, h2, h3, h4, .chase-step, .rung-t) { hyphens: auto; } }
p { margin: 0; overflow-wrap: break-word; }
kbd {
    font: 600 .82em/1 var(--mono); padding: 3px 7px; border-radius: 6px;
    background: rgba(255, 255, 255, .08); border: 1px solid var(--line2); border-bottom-width: 2px;
}
:focus-visible { outline: 2px solid var(--red-hi); outline-offset: 3px; border-radius: 6px; }
.vh { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; padding: 10px 14px; border-radius: 10px; background: var(--card); text-decoration: none; }
.skip:focus { top: 12px; }

/* languages: CJK needs its own breaking, Cyrillic and German long words hyphenate */
html[lang="ja"] body { line-break: strict; word-break: normal; overflow-wrap: anywhere; }
html[lang="ja"] h1, html[lang="ja"] h2, html[lang="ja"] h3, html[lang="ja"] h4 { word-break: auto-phrase; letter-spacing: 0 !important; line-height: 1.25; }
html[lang="ja"] .hero-title { line-height: 1.18; font-size: clamp(2rem, 3.9vw, 3.6rem); }
html[lang="ja"] .seg-b { word-break: auto-phrase; }
@media (max-width: 640px) { html[lang="ja"] :is(.ch-head h2, .start h2) { font-size: 1.75rem; } }

/* auth + frame state (set in <head> before paint) */
html:not([data-auth="in"]) .auth-in { display: none !important; }
html[data-auth="in"] .auth-out { display: none !important; }
html[data-framed] .no-frame { display: none !important; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }

/* ===== Buttons, badges ===== */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 46px; padding: 0 20px; border-radius: 12px;
    font: 700 15px/1.2 var(--sans); text-decoration: none; text-align: center;
    border: 1px solid transparent; cursor: pointer; transition: transform .15s, box-shadow .2s, background .2s, border-color .2s;
}
.btn i { font-size: .95em; }
.btn-red { background: var(--grad); color: #fff; border-color: rgba(255, 255, 255, .12); box-shadow: 0 12px 34px -14px rgba(224, 82, 82, .75), inset 0 1px 0 rgba(255, 255, 255, .14); }
.btn-red:hover { transform: translateY(-1px); box-shadow: 0 16px 40px -14px rgba(224, 82, 82, .9), inset 0 1px 0 rgba(255, 255, 255, .2); }
.btn-ghost { background: rgba(255, 255, 255, .05); color: var(--text); border-color: var(--line2); }
.btn-ghost:hover { background: rgba(255, 255, 255, .09); border-color: rgba(224, 82, 82, .55); }
.btn-link { background: none; color: var(--text); padding: 0 8px; }
.btn-link:hover { color: var(--red-hi); }
.btn-link i { transition: transform .2s; }
.btn-link:hover i { transform: translateY(3px); }
.btn-sm { min-height: 38px; padding: 0 14px; font-size: 13.5px; border-radius: 10px; }
.btn-lg { min-height: 54px; padding: 0 24px; font-size: 16px; border-radius: 14px; }
@media (pointer: coarse) { .btn-sm { min-height: 44px; } }

.badge {
    display: inline-flex; align-items: center; gap: 6px; vertical-align: middle;
    padding: 3px 9px; border-radius: 999px; white-space: normal; max-width: 100%;
    font: 700 11px/1.4 var(--sans); letter-spacing: .04em; text-transform: uppercase;
    border: 1px solid; margin-left: 4px;
}
.badge-preview { color: #F7C66B; background: rgba(245, 165, 36, .1); border-color: rgba(245, 165, 36, .38); }
/* a feature that needs Gateway 3.0 - a requirement, not a preview (amber) */
.badge-gw { color: #C9B8FF; background: rgba(139, 109, 255, .1); border-color: rgba(139, 109, 255, .38); }
.badge-exp { color: #FFA27A; background: rgba(255, 120, 70, .1); border-color: rgba(255, 120, 70, .38); }
.badge-region { color: #9CC8FF; background: rgba(90, 169, 255, .1); border-color: rgba(90, 169, 255, .35); }
.badge-ok { color: #7EE29B; background: rgba(52, 199, 89, .1); border-color: rgba(52, 199, 89, .35); }
html[lang="ja"] .badge, html[lang="ru"] .badge, html[lang="uk"] .badge { text-transform: none; letter-spacing: 0; }

/* ===== Top bar ===== */
.bar {
    position: sticky; top: 0; z-index: 50;
    background: rgba(11, 11, 14, .78); -webkit-backdrop-filter: saturate(160%) blur(16px); backdrop-filter: saturate(160%) blur(16px);
    border-bottom: 1px solid var(--line);
}
.bar-in { max-width: 1440px; margin: 0 auto; padding: 0 var(--gutter); height: var(--bar-h); display: flex; align-items: center; gap: 18px; }
.bar-logo { flex: none; display: flex; align-items: center; height: 44px; }
.bar-logo img { height: 26px; width: auto; display: block; }
.chips {
    flex: 1 1 auto; min-width: 0; display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 14px, #000 calc(100% - 14px), transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 14px, #000 calc(100% - 14px), transparent 100%);
    padding: 0 10px;
}
.chips::-webkit-scrollbar { display: none; }
.chip {
    flex: none; display: inline-flex; align-items: center; height: 34px; padding: 0 11px; border-radius: 999px;
    color: var(--muted); font: 600 13px/1 var(--sans); text-decoration: none; white-space: nowrap; transition: color .2s, background .2s;
}
.chip:hover { color: var(--text); background: rgba(255, 255, 255, .05); }
.chip.is-on { color: #fff; background: rgba(224, 82, 82, .16); box-shadow: inset 0 0 0 1px rgba(224, 82, 82, .5); }
.bar-end { flex: none; display: flex; align-items: center; gap: 8px; }
.bar-lang { display: flex; justify-content: flex-end; min-width: 87px; height: 36px; }
.bar-cta .lbl-s { display: none; }
.chap-btn { display: none; }
.bar-progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; overflow: hidden; }
.bar-progress i { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, #5F0F12, #E05252 70%, #FF8A8A); }
@media (max-width: 1240px) {
    .bar-in { gap: 12px; }
    .chap-btn {
        order: 2; display: inline-flex; align-items: center; gap: 8px; min-width: 0; flex: 1 1 auto; max-width: 200px;
        height: 44px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--line2); background: rgba(255, 255, 255, .05);
        color: var(--text); font: 600 13.5px/1 var(--sans); cursor: pointer;
    }
    .chap-btn span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .chap-btn i { color: var(--red); flex: none; }
    .bar-end { order: 3; margin-left: auto; }
    .chips {
        position: absolute; left: var(--gutter); right: var(--gutter); top: calc(var(--bar-h) + 6px); z-index: 60;
        flex-direction: column; gap: 2px; padding: 8px; margin: 0; overflow: visible;
        background: rgba(22, 22, 26, .98); border: 1px solid var(--line2); border-radius: 16px; box-shadow: 0 24px 60px rgba(0, 0, 0, .6);
        -webkit-mask-image: none; mask-image: none; display: none;
    }
    .chips { right: auto; width: min(340px, calc(100vw - 2 * var(--gutter))); }
    .bar.menu-open .chips { display: flex; }
    .chip { height: 46px; font-size: 15px; padding: 0 14px; border-radius: 10px; }
}
@media (max-width: 760px) {
    .bar-in { gap: 10px; }
    .chips { right: var(--gutter); width: auto; }
    .bar-end .bar-signin { display: none; }
    .bar-end .btn-sm { padding: 0 12px; }
    .bar-lang { min-width: 44px; height: 44px; align-items: center; }
}
@media (max-width: 520px) {
    .bar-cta { gap: 7px; }
    .bar-cta .lbl { display: none; }
    .bar-cta .lbl-s { display: inline; }
    .chap-btn { max-width: none; padding: 0 10px; }
}
/* other languages: longer "Join" labels; the chapter button keeps room for its name */
@media (max-width: 520px) {
    html:not([lang="en"]) .bar-in { gap: 8px; }
    html:not([lang="en"]) .bar-end { gap: 6px; }
    html:not([lang="en"]) .bar-end .btn-sm { padding: 0 10px; }
    html:not([lang="en"]) .bar-cta i { display: none; }
    html:not([lang="en"]) .chap-btn { gap: 6px; padding: 0 9px; }
}
/* 360 px phones: a little more room for the chapter name and the five chase steps */
@media (max-width: 380px) {
    html:not([lang="en"]) .bar-logo img { height: 22px; }
    html:not([lang="en"]) .chase-steps { gap: 4px; }
    html:not([lang="en"]) .chase-step { padding-left: 3px; padding-right: 3px; }
    html[lang="ja"] .chase-step .cs-t { font-size: 11px; }
}
/* the "shown in your language" note (teaser-i18n.js): full width on a phone instead of half */
@media (max-width: 640px) { body > .tl-note { left: 16px; right: 16px; transform: none; max-width: none; } }
@media (min-width: 1241px) { html:is([lang="fr"], [lang="es"], [lang="pl"], [lang="ru"], [lang="uk"]) .chip { padding: 0 7px; } }
/* inside the portal shell: its rail already carries the logo */
html[data-framed] .bar-logo { display: none; }
html[data-burger] .bar-in { padding-left: calc(var(--gutter) + 52px); }

/* ===== Hero ===== */
.hero { position: relative; overflow: hidden; padding: clamp(32px, 4vw, 60px) 0 clamp(56px, 7vw, 96px); }
.hero-glow {
    position: absolute; inset: 0; pointer-events: none;
    background:
        radial-gradient(60% 55% at 78% 45%, rgba(139, 29, 29, .38), transparent 70%),
        radial-gradient(40% 40% at 10% 0%, rgba(95, 15, 18, .35), transparent 70%),
        linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px) 0 0 / 100% 48px,
        linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px) 0 0 / 48px 100%;
    -webkit-mask-image: radial-gradient(80% 80% at 50% 40%, #000 30%, transparent 100%);
    mask-image: radial-gradient(80% 80% at 50% 40%, #000 30%, transparent 100%);
}
.hero-in { position: relative; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); grid-template-areas: "text graph" "shot shot"; gap: 0 clamp(24px, 3.5vw, 56px); align-items: start; }
.hero-text { grid-area: text; } .hero-graph { grid-area: graph; } .hero-shot { grid-area: shot; }
.hero-shot { position: relative; margin-top: clamp(28px, 3.5vw, 48px); }
.hero-shot .shot-hero { margin: 0; }
.hero-shot .shot-hero::before { top: 4%; bottom: 30%; left: 4%; right: 4%; background: radial-gradient(closest-side, rgba(224, 82, 82, .5), rgba(139, 29, 29, .26) 55%, transparent); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; padding: 6px 14px 6px 10px; border-radius: 999px; border: 1px solid rgba(224, 82, 82, .4); background: rgba(224, 82, 82, .08); color: #FFB3B3; font: 600 13px/1.3 var(--sans); letter-spacing: .02em; }
.eyebrow i { color: var(--red); }
.hero-title { font-weight: 800; font-size: clamp(2.5rem, 4.4vw, 4.1rem); line-height: 1.04; letter-spacing: -.045em; text-wrap: balance; }
.hero-title .grad { display: block; }
.grad { background: linear-gradient(92deg, #FF8A8A 0%, #E05252 45%, #B42828 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { margin-top: 20px; max-width: 34em; color: var(--muted); font-size: clamp(1.06rem, 1.35vw, 1.28rem); line-height: 1.6; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.trust { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--muted); font-size: 14px; font-weight: 500; }
.trust li { display: inline-flex; align-items: center; gap: 8px; }
.trust i { color: var(--red); width: 16px; text-align: center; }
.hero-graph { position: relative; }
.graph { display: block; width: 100%; height: auto; max-width: 640px; margin: 0 auto; overflow: visible; }
@media (max-width: 1100px) {
    .hero-in { grid-template-columns: minmax(0, 1fr); grid-template-areas: "text" "shot" "graph"; }
    .hero-shot { margin-top: 28px; }
    .hero-graph { max-width: 600px; width: 100%; margin: 8px auto 0; }
}

/* SVG labels (hero graph, follow diagram) */
.gl { font: 600 15.5px var(--sans); fill: var(--muted); }
.gl-strong { font-weight: 700; font-size: 16.5px; fill: var(--text); }
.gl-sub { font-size: 14.5px; font-weight: 500; fill: rgba(255, 255, 255, .82); }
.gl-tiny { font: 500 14.5px var(--mono); fill: #A1A1A6; }
.gl-mono { font: 600 14px var(--mono); fill: #FF8A8A; letter-spacing: .02em; }
.al { font: 500 13px var(--sans); fill: var(--text); }
.al-strong { font-weight: 700; font-size: 15px; }
.al-sub { font-size: 12px; fill: var(--muted); }
.al-small { font-size: 12px; fill: var(--muted); }
.al-accent { fill: #FF9C9C; font-weight: 600; }
@media (max-width: 640px) {
    .gl { font-size: 20px; } .gl-strong { font-size: 21px; } .gl-sub { font-size: 19px; } .gl-tiny { font-size: 19px; } .gl-mono { font-size: 17px; }
    .al { font-size: 17px; } .al-strong { font-size: 19px; } .al-sub, .al-small { font-size: 16px; }
}
.lk { stroke: rgba(255, 255, 255, .16); stroke-width: 1.6; }
.lk-net { stroke: rgba(224, 82, 82, .45); stroke-width: 2; }
.lk-up { stroke: rgba(224, 82, 82, .7); stroke-width: 2.2; stroke-dasharray: 5 5; animation: dash 1.4s linear infinite; }
.lk-acc { stroke: rgba(255, 255, 255, .13); }
.g-led { fill: var(--green); }
.g-ports circle { fill: none; stroke: #AEAEB2; stroke-width: 1.6; }
.g-ports circle.on { fill: var(--red); stroke: var(--red); }
.g-outlets circle { fill: rgba(52, 199, 89, .9); }
.g-outlets circle.off { fill: rgba(255, 255, 255, .15); }
.pulse { fill: #FF8A8A; }
.pulse-acc { fill: #F2F2F7; opacity: .85; }
@keyframes dash { to { stroke-dashoffset: -20; } }
@keyframes blink { 50% { opacity: .35; } }
.g-led { animation: blink 2.4s ease-in-out infinite; }

/* ===== Chapters ===== */
.chapter { position: relative; padding: clamp(60px, 7vw, 100px) 0; }
.chapter-alt { background: linear-gradient(180deg, var(--bg1) 0%, #131317 100%); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ch-head { max-width: 860px; margin-bottom: clamp(32px, 4vw, 52px); }
.kicker { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 18px; color: #FF9C9C; font: 600 13px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
html[lang="ja"] .kicker, html[lang="ru"] .kicker, html[lang="uk"] .kicker { letter-spacing: .04em; }
.kicker-n::before { content: attr(data-n); }
.kicker-n { display: inline-grid; place-items: center; min-width: 34px; height: 26px; padding: 0 8px; border-radius: 8px; background: var(--grad); color: #fff; font: 700 12px/1 var(--mono); letter-spacing: 0; }
.ch-head h2, .start h2 { font-weight: 800; font-size: clamp(2.05rem, 4.3vw, 3.65rem); line-height: 1.06; letter-spacing: -.035em; }
.lead { margin-top: 20px; color: var(--muted); font-size: clamp(1.05rem, 1.3vw, 1.24rem); line-height: 1.62; max-width: 42em; }
.open-area { margin-top: 24px; }
.sub-head { max-width: 760px; margin-bottom: 28px; }
.sub-head h3 { font-weight: 800; font-size: clamp(1.5rem, 2.4vw, 2.1rem); letter-spacing: -.025em; line-height: 1.15; }
.sub-head p { margin-top: 12px; color: var(--muted); font-size: 1.05rem; }
.row-cta { margin-top: 28px; }

/* reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js:not(.tour-ready) .reveal { animation: rv-safe .6s 2.5s forwards; }
@keyframes rv-safe { to { opacity: 1; transform: none; } }
@media print { .reveal { opacity: 1 !important; transform: none !important; } .bar, .lb { display: none !important; } }

/* ===== Cards ===== */
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.pillar, .card, .tile {
    position: relative; border-radius: var(--r); border: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .015)), var(--card);
    transition: border-color .25s, transform .25s, box-shadow .25s;
}
.pillar { padding: 28px 26px 30px; }
.pillar:hover, .card:hover { border-color: rgba(224, 82, 82, .38); box-shadow: 0 30px 60px -40px rgba(224, 82, 82, .45); }
.p-ic, .card-ic { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; background: var(--grad); color: #fff; font-size: 19px; box-shadow: 0 10px 24px -10px rgba(224, 82, 82, .8), inset 0 1px 0 rgba(255, 255, 255, .18); margin-bottom: 18px; flex: none; }
.pillar h3, .card h3, .tile h3 { font-weight: 700; font-size: 1.2rem; line-height: 1.3; letter-spacing: -.012em; }
.pillar p, .card p, .tile p { margin-top: 10px; color: var(--muted); font-size: 15.5px; line-height: 1.62; }
.pillar-wide { grid-column: 1 / -1; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; column-gap: 22px; background: linear-gradient(110deg, rgba(139, 29, 29, .28), rgba(95, 15, 18, .08) 60%), var(--card); border-color: rgba(224, 82, 82, .28); }
.pillar-wide .p-ic { margin: 0; grid-row: 1 / 3; }
.pillar-wide p { margin-top: 4px; }
.pillar-wide .more { grid-row: 1 / 3; grid-column: 3; }
.more { display: inline-flex; align-items: center; gap: 8px; color: #FF9C9C; font-weight: 700; text-decoration: none; white-space: nowrap; min-height: 44px; }
.more:hover { color: #fff; }
@media (max-width: 1024px) { .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) {
    .pillar-wide { grid-template-columns: minmax(0, 1fr); }
    .pillar-wide .p-ic { grid-row: auto; margin-bottom: 16px; }
    .pillar-wide .more { grid-row: auto; grid-column: auto; margin-top: 8px; }
}
@media (max-width: 640px) {
    .pillars { grid-template-columns: minmax(0, 1fr); gap: 12px; }
    .pillar { padding: 20px 18px; display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 16px; }
    .pillar .p-ic { width: 40px; height: 40px; font-size: 17px; margin: 2px 0 0; grid-row: 1 / 4; }
    .pillar p { margin-top: 6px; font-size: 15px; }
    .pillar-wide .p-ic { grid-row: 1 / 4; margin-bottom: 0; }
    .pillar-wide .more { grid-column: 2; }
}

.card { padding: 28px 26px; }
.card-wide { display: flex; gap: 22px; align-items: flex-start; margin-top: 18px; }
.card-wide .card-ic { margin: 0; }
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 18px; }
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 18px; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin-top: clamp(40px, 5vw, 72px); }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: clamp(40px, 5vw, 72px); }
.duo + .grid2, .trio + .grid2 { margin-top: 22px; }
@media (max-width: 1024px) { .trio, .grid3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .duo, .trio, .grid2, .grid3 { grid-template-columns: minmax(0, 1fr); } .card-wide { flex-direction: column; } }
.tile { padding: 14px 14px 26px; }
.tile > h3, .tile > p, .tile > .proof { padding: 0 12px; }
.tile > h3 { margin-top: 22px; }
.tile-sm > h3 { font-size: 1.1rem; }
.tile-note { padding: 28px 26px; background: linear-gradient(160deg, rgba(139, 29, 29, .22), rgba(95, 15, 18, .05) 55%), var(--card); border-color: rgba(224, 82, 82, .25); }
.tile-note > h3, .tile-note > p, .tile-note > .proof { padding: 0; }
.tile-note > h3 { margin-top: 0; }
.tile .badge, .feature-text h3 .badge { font-size: 10.5px; }

/* proof points */
.proof { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.proof li { position: relative; padding-left: 26px; color: #D6D6DB; font-size: 15px; line-height: 1.5; }
.proof li { padding-left: 20px; }
.proof li::before { content: ""; position: absolute; left: 3px; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: #E05252; box-shadow: 0 0 0 3px rgba(224, 82, 82, .16); }
.proof-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
.proof-grid li { padding: 20px 18px 20px 18px; border-radius: 16px; border: 1px solid var(--line); background: rgba(255, 255, 255, .025); color: var(--muted); font-size: 14.5px; }
.proof-grid li { padding-left: 18px; border-top: 2px solid rgba(224, 82, 82, .45); }
.proof-grid li::before { display: none; }
.proof-grid b { display: block; color: var(--text); font-size: 15.5px; margin-bottom: 4px; }
@media (max-width: 1100px) { .proof-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .proof-grid { grid-template-columns: minmax(0, 1fr); } }
.status { margin-top: 14px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.status .badge { margin: 0 6px 0 0; }

/* ===== Feature rows ===== */
.feature { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: center; margin-top: clamp(48px, 5.5vw, 80px); }
.feature-flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.feature-flip .feature-text { order: 2; }
.feature-text h3 { font-weight: 800; font-size: clamp(1.55rem, 2.5vw, 2.2rem); line-height: 1.14; letter-spacing: -.028em; }
.feature-text > p { margin-top: 16px; color: var(--muted); font-size: 1.06rem; line-height: 1.65; }
.feature-text-only { grid-template-columns: minmax(0, 1fr); margin-top: 40px; }
.feature-text-only .feature-text { max-width: 760px; }
.feature-text-only .proof-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1100px) { .feature-text-only .proof-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .feature-text-only .proof-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 960px) {
    .feature, .feature-flip { grid-template-columns: minmax(0, 1fr); }
    .feature-flip .feature-text { order: 0; }
}
.feature .shot-phone { justify-self: center; }

/* ===== Screenshots ===== */
.shot { margin: 0; position: relative; }
.shot figcaption { margin-top: 14px; color: var(--dim); font-size: 13.5px; line-height: 1.5; text-align: center; }
.frame { position: relative; overflow: hidden; }
.frame-browser { border-radius: 14px; border: 1px solid var(--line2); background: #101014; box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .9), 0 0 0 1px rgba(0, 0, 0, .4); }
.frame-bar { display: flex; align-items: center; gap: 7px; height: 30px; padding: 0 12px; background: linear-gradient(#1D1D22, #17171B); border-bottom: 1px solid var(--line); }
.frame-bar > i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .16); flex: none; }
.frame-bar > i:first-child { background: #C94A4A; }
.frame-url { margin: 0 auto; transform: translateX(-24px); max-width: 62%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 3px 14px; border-radius: 999px; background: rgba(255, 255, 255, .055); color: var(--dim); font: 500 11.5px/1.3 var(--mono); }
.shot-open { display: block; width: 100%; padding: 0; margin: 0; border: 0; cursor: zoom-in; position: relative; color: inherit;
    background: linear-gradient(100deg, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, .045) 50%, rgba(255, 255, 255, 0) 70%) 0 0 / 300% 100%, #111115; animation: skel 1.6s linear infinite; }
@keyframes skel { from { background-position: 100% 0; } to { background-position: -50% 0; } }
.shot-open img { display: block; width: 100%; height: auto; }
.tour-ready .shot-open img { opacity: 0; transition: opacity .45s ease; }
.tour-ready .shot-open img.is-loaded { opacity: 1; }
.shot-open.is-loaded { animation: none; background: #0E0E12; }
.shot-open::after {
    content: "\f00e"; font: 900 15px/1 'Font Awesome 6 Free'; position: absolute; right: 10px; bottom: 10px; z-index: 2;
    display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; color: #fff;
    background: rgba(11, 11, 14, .78); border: 1px solid rgba(255, 255, 255, .22); opacity: 0; transform: translateY(4px); transition: opacity .2s, transform .2s;
}
.shot-open:hover::after, .shot-open:focus-visible::after { opacity: 1; transform: none; }
@media (hover: none) { .shot-open::after { opacity: .9; transform: none; width: 30px; height: 30px; font-size: 13px; } }
.shot.is-missing .shot-open::after { display: none; }
.shot-fb { display: none; }
.shot-hero { margin-top: 8px; }
.shot-hero::before { content: ""; position: absolute; left: 8%; right: 8%; top: 12%; bottom: 8%; background: radial-gradient(closest-side, rgba(224, 82, 82, .38), rgba(139, 29, 29, .2) 55%, transparent); filter: blur(40px); z-index: -1; }
.shot-hero .frame-browser { border-radius: 16px; }
.feature .shot::before, .vus-main::before { content: ""; position: absolute; inset: 10% 6% 4%; background: radial-gradient(closest-side, rgba(224, 82, 82, .22), transparent); filter: blur(34px); z-index: -1; }
.tile .shot .frame-browser { border-radius: 12px; box-shadow: 0 20px 50px -30px rgba(0, 0, 0, .9); }
.tile .shot-open img, .vus-grid .shot-open img, .grid3 > .shot .shot-open img, .grid2 > .shot .shot-open img { aspect-ratio: 16 / 10; object-fit: cover; object-position: 50% 0; }
.tile .frame-bar { height: 24px; gap: 6px; }
.tile .frame-bar > i { width: 8px; height: 8px; }
.tile .frame-url { font-size: 10.5px; }

/* the missing-image fallback: a styled card, never a broken image */
.shot.is-missing .shot-open { cursor: default; aspect-ratio: 16 / 10; overflow: hidden; }
.shot.is-missing .shot-open img { display: none; }
.shot.is-missing .shot-fb {
    position: absolute; inset: 0; display: grid; place-items: center;
    background:
        radial-gradient(55% 65% at 50% 45%, rgba(139, 29, 29, .34), transparent 72%),
        linear-gradient(rgba(255, 255, 255, .035), rgba(255, 255, 255, .035)) 3% 5% / 94% 6% no-repeat,
        linear-gradient(rgba(255, 255, 255, .03), rgba(255, 255, 255, .03)) 3% 16% / 15% 79% no-repeat,
        linear-gradient(rgba(255, 255, 255, .03), rgba(255, 255, 255, .03)) 21% 16% / 76% 34% no-repeat,
        linear-gradient(rgba(255, 255, 255, .025), rgba(255, 255, 255, .025)) 21% 95% / 37% 40% no-repeat,
        linear-gradient(rgba(255, 255, 255, .025), rgba(255, 255, 255, .025)) 97% 95% / 37% 40% no-repeat,
        linear-gradient(160deg, #18181D, #0F0F13);
}
.shot.is-missing .shot-fb i { display: grid; place-items: center; width: 74px; height: 74px; border-radius: 22px; background: rgba(224, 82, 82, .12); border: 1px solid rgba(224, 82, 82, .35); color: #FF8A8A; font-size: 30px; box-shadow: 0 20px 50px -20px rgba(224, 82, 82, .6); }
.tile .shot.is-missing .shot-fb i, .vus-grid .shot.is-missing .shot-fb i { width: 56px; height: 56px; font-size: 22px; border-radius: 16px; }
.shot-phone.is-missing .shot-open { aspect-ratio: 9 / 19; }
.shot-phone.is-missing .shot-fb { background: radial-gradient(60% 50% at 50% 45%, rgba(139, 29, 29, .35), transparent 72%), linear-gradient(160deg, #18181D, #0F0F13); }
@media (min-width: 761px) { .shot.is-missing:not(.shot-phone):not(.mode-shot) > figcaption { position: absolute; left: 12%; right: 12%; top: calc(50% + 15px + 56px); margin: 0; color: var(--muted); font-size: 14.5px; font-weight: 500; }
.vus-grid .shot.is-missing:not(.vus-main) > figcaption, .grid3 > .shot.is-missing > figcaption { position: static; margin-top: 10px; color: var(--dim); font-size: 13px; }
.shot.is-missing:not(.shot-phone):not(.mode-shot) .shot-fb i { transform: translateY(-14px); }
.vus-grid .shot.is-missing:not(.vus-main) .shot-fb i, .grid3 > .shot.is-missing .shot-fb i { transform: none; } }

.frame-phone { width: min(300px, 78vw); margin: 0 auto; border-radius: 44px; padding: 26px 10px 12px; background: linear-gradient(160deg, #2A2A31, #141418); box-shadow: 0 0 0 1px var(--line2), 0 50px 90px -40px rgba(0, 0, 0, .95), inset 0 1px 0 rgba(255, 255, 255, .08); }
.frame-phone::before { content: ""; position: absolute; top: 9px; left: 50%; width: 56px; height: 8px; transform: translateX(-50%); border-radius: 6px; background: #050507; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); z-index: 2; }
.frame-phone .shot-open { border-radius: 10px 10px 32px 32px; overflow: hidden; }

/* ===== Numbers ===== */
.numbers {
    position: relative; margin-top: clamp(56px, 7vw, 96px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
    border-radius: 24px; border: 1px solid rgba(224, 82, 82, .22); overflow: hidden;
    background: radial-gradient(80% 120% at 0% 0%, rgba(139, 29, 29, .3), transparent 60%), radial-gradient(70% 120% at 100% 100%, rgba(95, 15, 18, .35), transparent 60%), #131317;
}
.stat { padding: 30px 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat:nth-child(4n) { border-right: 0; }
.stat:nth-last-child(-n+4) { border-bottom: 0; }
.stat-n { font: 700 clamp(2.4rem, 4vw, 3.4rem)/1 var(--mono); letter-spacing: -.04em; background: linear-gradient(180deg, #fff, #FFB0B0); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.stat-l { margin-top: 10px; color: var(--muted); font-size: 14.5px; line-height: 1.45; overflow-wrap: anywhere; hyphens: auto; }
@media (max-width: 900px) {
    .numbers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .stat:nth-child(4n) { border-right: 1px solid var(--line); }
    .stat:nth-child(2n) { border-right: 0; }
    .stat:nth-last-child(-n+4) { border-bottom: 1px solid var(--line); }
    .stat:nth-last-child(-n+2) { border-bottom: 0; }
}
@media (max-width: 400px) { .stat { padding: 22px 16px; } .stat-l { font-size: 13.5px; } }

/* ===== Mission ===== */
.mission { margin-top: clamp(56px, 7vw, 96px); display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.mission blockquote { margin: 0; position: relative; padding-left: 34px; border-left: 2px solid var(--red); }
.mission blockquote p { font-weight: 600; font-size: clamp(1.2rem, 1.9vw, 1.6rem); line-height: 1.5; letter-spacing: -.012em; color: var(--text); }
.mission blockquote footer { margin-top: 18px; color: var(--muted); font-size: 14.5px; }
.mission blockquote footer::before { content: "— "; color: var(--red); }
.timeline { list-style: none; margin: 0; padding: 0 0 0 28px; position: relative; display: grid; gap: 26px; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--line2), var(--red)); }
.timeline li { position: relative; display: grid; gap: 2px; }
.timeline li::before { content: ""; position: absolute; left: -27px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: var(--bg0); border: 2px solid var(--dim); }
.timeline li.now::before { border-color: var(--red); background: var(--red); box-shadow: 0 0 0 6px rgba(224, 82, 82, .18), 0 0 22px rgba(224, 82, 82, .8); }
.tl-date { font: 600 12.5px/1.4 var(--mono); color: #FF9C9C; letter-spacing: .04em; }
.timeline b { font-size: 1.08rem; }
.timeline .tl-text { color: var(--muted); font-size: 14.5px; }
@media (max-width: 900px) { .mission { grid-template-columns: minmax(0, 1fr); } }

/* ===== Architecture ===== */
.arch { border-radius: 24px; border: 1px solid var(--line2); background: radial-gradient(70% 100% at 50% 0%, rgba(139, 29, 29, .16), transparent 70%), #121216; padding: clamp(18px, 3vw, 36px); }
.seg { display: grid; grid-template-columns: repeat(2, minmax(0, auto)); gap: 4px; padding: 4px; border-radius: 14px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); width: max-content; max-width: 100%; }
.seg-b { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 44px; padding: 8px 18px; border: 0; border-radius: 10px; background: none; color: var(--muted); font: 600 14px/1.25 var(--sans); cursor: pointer; text-align: center; }
.seg-b:hover { color: var(--text); }
.seg-b.is-on { background: var(--grad); color: #fff; box-shadow: 0 8px 22px -10px rgba(224, 82, 82, .8); }
@media (max-width: 640px) { .seg { width: 100%; grid-template-columns: repeat(2, minmax(0, 1fr)); } .seg-b { padding: 8px 10px; font-size: 13.5px; } }
.arch-stage { position: relative; margin-top: 30px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(190px, 220px) minmax(170px, 200px); gap: clamp(40px, 5vw, 76px); align-items: center; padding: 8px 0 18px; }
.arch-links { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 0; }
.az { position: relative; z-index: 1; display: grid; gap: 34px; }
.az-shack { padding: 44px 22px 22px; border-radius: 22px; border: 1.5px dashed rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .02); gap: 34px; }
.az-label { position: absolute; top: 14px; left: 20px; color: var(--muted); font: 700 12px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; display: flex; gap: 8px; align-items: center; }
html[lang="ja"] .az-label, html[lang="ru"] .az-label, html[lang="uk"] .az-label { letter-spacing: .03em; }
.az-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 76px; }
.an { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 12px; align-items: center; padding: 14px 16px; border-radius: 16px; border: 1px solid var(--line2); background: linear-gradient(180deg, #26262C, #1B1B20); box-shadow: 0 18px 40px -26px rgba(0, 0, 0, .9); transition: opacity .4s, border-color .4s, box-shadow .4s, filter .4s; }
.an-ic { grid-row: 1 / 3; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(255, 255, 255, .06); color: var(--text); font-size: 17px; }
.an b { font-size: 15px; line-height: 1.25; }
.an small { color: var(--muted); font-size: 12.5px; line-height: 1.35; }
.an-gw { border-color: rgba(224, 82, 82, .55); }
.an-gw .an-ic { background: rgba(224, 82, 82, .16); color: #FF8A8A; }
.an-relay { background: var(--grad); border-color: rgba(255, 255, 255, .22); box-shadow: 0 20px 50px -20px rgba(224, 82, 82, .7); }
.an-relay .an-ic { background: rgba(0, 0, 0, .25); }
.an-relay small { color: rgba(255, 255, 255, .8); }
.an-lan { border-style: dashed; border-color: rgba(255, 255, 255, .12); background: rgba(255, 255, 255, .02); box-shadow: none; }
.an-lan .an-ic, .an-lan b { opacity: .55; }
.arch[data-mode="local"] .an-lan .an-ic, .arch[data-mode="local"] .an-lan b { opacity: 1; }
.an-lan small { color: #F7C66B; }
.az-shield { position: absolute; right: 18px; bottom: -14px; z-index: 3; display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px; background: #121216; border: 1px solid rgba(52, 199, 89, .45); color: #7EE29B; font: 600 11.5px/1.2 var(--sans); white-space: nowrap; }
.az-cut { display: none; align-self: center; justify-self: center; text-align: center; padding: 10px 16px; border-radius: 12px; background: #2A1416; border: 1px solid rgba(224, 82, 82, .6); box-shadow: 0 16px 40px -16px rgba(0, 0, 0, .9); color: #FFB3B3; font: 600 13px/1.35 var(--sans); }
.lt { position: absolute; z-index: 2; transform: translate(-50%, calc(-100% - 7px)); padding: 3px 9px; border-radius: 999px; background: #121216; border: 1px solid var(--line2); color: var(--muted); font: 500 11.5px/1.3 var(--mono); white-space: nowrap; pointer-events: none; transition: opacity .4s; }
.lt-up { color: #FF9C9C; border-color: rgba(224, 82, 82, .45); transform: translate(0, -100%) !important; }
.lt-audio { color: #8FD9A8; border-color: rgba(52, 199, 89, .35); }
.lt-lan { color: #8FD9A8; border-color: rgba(52, 199, 89, .45); opacity: 0; transform: translate(12px, -50%); }
.lt-audio { transform: translate(-50%, -50%); }
.alk { fill: none; stroke: rgba(255, 255, 255, .2); stroke-width: 2; stroke-linecap: round; transition: opacity .4s; }
.alk-up { stroke: rgba(224, 82, 82, .75); stroke-width: 2.5; stroke-dasharray: 6 6; animation: dash 1.2s linear infinite; }
.alk-net { stroke: rgba(224, 82, 82, .5); stroke-width: 2.2; }
.alk-audio { stroke: rgba(52, 199, 89, .55); stroke-dasharray: 2 7; stroke-width: 2.5; }
.alk-turn { stroke: rgba(255, 255, 255, .16); stroke-dasharray: 2 7; }
.alk-lan { stroke: rgba(52, 199, 89, .7); stroke-width: 2.5; opacity: .15; }
.apulse { fill: #FF8A8A; }
.apulse-audio { fill: #7EE29B; }
.arch[data-mode="local"] .az-net .an, .arch[data-mode="local"] .az-ends .an { opacity: .22; filter: grayscale(1); }
.arch[data-mode="local"] .az-cut { display: block; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: max-content; max-width: 220px; z-index: 3; }
.arch[data-mode="local"] .an-lan { opacity: 1; border-color: rgba(52, 199, 89, .65); box-shadow: 0 0 0 4px rgba(52, 199, 89, .1), 0 18px 40px -20px rgba(52, 199, 89, .5); }
.arch[data-mode="local"] .alk:not(.alk-lan):not(.alk-rg) { opacity: .12; }
.arch[data-mode="local"] .alk-lan { opacity: 1; }
.arch[data-mode="local"] .lt:not(.lt-lan) { opacity: 0; }
.arch[data-mode="local"] .lt-lan { opacity: 1; }
.arch-notes { list-style: none; margin: 30px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: n; }
.arch-notes li { counter-increment: n; position: relative; padding: 18px 18px 18px 52px; border-radius: 16px; border: 1px solid var(--line); background: rgba(255, 255, 255, .02); color: var(--muted); font-size: 14.5px; line-height: 1.55; }
.arch-notes li::before { content: counter(n); position: absolute; left: 16px; top: 17px; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 8px; background: rgba(224, 82, 82, .16); color: #FF9C9C; font: 700 12px/1 var(--mono); }
.arch-notes b { color: var(--text); }
.arch-local { display: none; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.arch-local li::before { background: rgba(52, 199, 89, .14); color: #8FD9A8; }
.arch[data-mode="local"] .arch-remote { display: none; }
.arch[data-mode="local"] .arch-local { display: grid; }
.arch-foot { margin-top: 20px; color: var(--dim); font-size: 13.5px; line-height: 1.6; }
.arch-foot i { color: var(--red); margin-right: 6px; }
@media (max-width: 1100px) { .arch-notes, .arch-local { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
@media (max-width: 900px) {
    .arch-stage { grid-template-columns: minmax(0, 1fr); gap: 56px; }
    .az-net, .az-ends { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
    .az-shield { position: static; justify-self: start; order: -2; margin: -12px 0 -14px; }
    .an-lan { order: -1; }
    .az-row { gap: 56px; }
    .arch[data-mode="local"] .az-cut { max-width: 90%; }
}
@media (max-width: 640px) {
    .arch-notes, .arch-local { grid-template-columns: minmax(0, 1fr) !important; }
    .az-shack { padding: 42px 12px 26px; }
    .az-row { gap: 16px; }
    .an { grid-template-columns: minmax(0, 1fr); padding: 12px; row-gap: 6px; }
    .an-ic { grid-row: auto; width: 34px; height: 34px; font-size: 15px; }
    .an b { font-size: 14px; }
    .az-net, .az-ends { gap: 14px; }
}

/* steps */
.steps { margin-top: clamp(48px, 6vw, 80px); }
.steps-title { font-weight: 800; font-size: clamp(1.5rem, 2.4vw, 2.1rem); letter-spacing: -.025em; line-height: 1.15; }
.steps-list { list-style: none; margin: 26px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; position: relative; }
.steps-list li { position: relative; padding: 26px 24px 28px; border-radius: var(--r); border: 1px solid var(--line); background: var(--card); }
.step-n { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--grad); color: #fff; font: 700 16px/1 var(--mono); box-shadow: 0 0 0 6px rgba(224, 82, 82, .1); margin-bottom: 16px; }
.steps-list h4 { font-size: 1.12rem; font-weight: 700; }
.steps-list p { margin-top: 8px; color: var(--muted); font-size: 15px; }
.steps-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
@media (max-width: 860px) { .steps-list { gap: 12px; } .steps-list li { padding: 20px 18px 22px; } }

/* gateway cards */
.gw-cards { display: grid; gap: 14px; margin-top: 20px; }
.gw { padding: 18px 20px; border-radius: 16px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); }
.gw-3 { border-color: rgba(245, 165, 36, .3); background: rgba(245, 165, 36, .04); }
.gw-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 1.05rem; }
.gw p:not(.gw-top) { margin-top: 8px; color: var(--muted); font-size: 15px; line-height: 1.6; }

/* radios */
.radios { margin-top: clamp(48px, 6vw, 80px); }
.radios h3 { font-weight: 800; font-size: clamp(1.35rem, 2vw, 1.75rem); letter-spacing: -.02em; line-height: 1.2; }
.radio-list { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 10px; }
.radio-list li { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 16px 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--card); }
.radio-list b { font: 700 15px/1.2 var(--mono); letter-spacing: -.01em; }
.radio-list span { font: 600 11px/1 var(--mono); padding: 4px 7px; border-radius: 6px; background: rgba(255, 255, 255, .06); color: var(--muted); }
.radio-list span.lan { background: rgba(224, 82, 82, .14); color: #FF9C9C; }
.radio-list li.untested { border-style: dashed; }
.radio-list span.untested-tag { background: rgba(245, 165, 36, .12); color: #F7C66B; font-family: var(--sans); letter-spacing: .02em; }
.radio-note { margin-top: 16px; color: var(--dim); font-size: 14px; max-width: 60em; }
@media (max-width: 1100px) { .radio-list { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 520px) { .radio-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.callout { margin-top: clamp(40px, 5vw, 64px); display: flex; gap: 20px; align-items: flex-start; padding: 26px 28px; border-radius: var(--r); border: 1px solid rgba(52, 199, 89, .28); background: linear-gradient(120deg, rgba(52, 199, 89, .08), transparent 60%), var(--card); }
.callout-ic { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; background: rgba(52, 199, 89, .14); color: #7EE29B; font-size: 19px; }
.callout h3 { font-size: 1.2rem; font-weight: 700; }
.callout p { margin-top: 6px; color: var(--muted); font-size: 15.5px; }
@media (max-width: 520px) { .callout { flex-direction: column; padding: 22px 20px; } }

/* seat legend */
.seat-legend { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 16px; color: var(--muted); font-size: 14px; }
.seat-legend li { display: inline-flex; align-items: center; gap: 8px; }
.dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.dot-green { background: var(--green); box-shadow: 0 0 10px rgba(52, 199, 89, .7); }
.dot-blue { background: var(--blue); }
.dot-amber { background: var(--amber); }
.dot-red { background: var(--red); }

/* ===== Mode carousel ===== */
.modes { margin-top: clamp(56px, 7vw, 104px); border-radius: 24px; border: 1px solid var(--line2); background: radial-gradient(60% 90% at 100% 0%, rgba(139, 29, 29, .18), transparent 70%), #131317; padding: clamp(22px, 3.4vw, 44px); }
.modes-title { font-weight: 800; font-size: clamp(1.55rem, 2.5vw, 2.2rem); letter-spacing: -.028em; line-height: 1.15; }
.modes-lead { margin-top: 10px; color: var(--muted); font-size: 1.05rem; }
.mode-tabs { display: flex; gap: 8px; margin: 26px 0 0; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.mode-tabs::-webkit-scrollbar { display: none; }
.mode-tab { flex: none; display: inline-flex; align-items: center; gap: 9px; min-height: 44px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--line2); background: rgba(255, 255, 255, .03); color: var(--muted); font: 600 14.5px/1 var(--sans); cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.mode-tab:hover { color: var(--text); border-color: rgba(224, 82, 82, .45); }
.mode-tab.is-on { background: var(--grad); color: #fff; border-color: rgba(255, 255, 255, .16); }
@media (max-width: 1024px) { .mode-tabs { flex-wrap: wrap; overflow: visible; } }
.mode-panels { margin-top: 26px; display: grid; }
.mode-panel { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.mode-panel.is-on { animation: fadein .45s ease; }
.mode-panel { align-content: start; }
.mode-panel { grid-area: 1 / 1; }
.mode-panel:not(.is-on) { visibility: hidden; opacity: 0; pointer-events: none; animation: none; }
@keyframes fadein { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.mode-text h4 { font-weight: 700; font-size: clamp(1.25rem, 1.8vw, 1.55rem); line-height: 1.25; letter-spacing: -.015em; }
.mode-text > p { margin-top: 12px; color: var(--muted); font-size: 15.5px; line-height: 1.65; }
.mode-text .status { margin-top: 16px; }
@media (max-width: 900px) { .mode-panel { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { .mode-vis.vis-phone { aspect-ratio: auto; min-height: 250px; padding: 18px; } .mem { gap: 4px; } .mem b { height: 34px; font-size: 12px; } }
.mode-vis { position: relative; border-radius: 16px; border: 1px solid var(--line2); background: #0E0E12; aspect-ratio: 16 / 10; overflow: hidden; display: grid; place-items: center; }
.vis-phone { grid-template-rows: 1fr auto; padding: 26px; gap: 22px; place-items: stretch; background: radial-gradient(70% 70% at 50% 30%, rgba(139, 29, 29, .25), transparent 70%), #0E0E12; }
.eq { display: flex; align-items: flex-end; justify-content: center; gap: 4%; height: 100%; min-height: 120px; }
.eq i { flex: 1; max-width: 46px; height: calc(var(--h) * 100%); border-radius: 8px 8px 3px 3px; background: linear-gradient(180deg, #FF8A8A, #8B1D1D); box-shadow: 0 0 24px rgba(224, 82, 82, .35); animation: eq 1.6s ease-in-out infinite alternate; transform-origin: bottom; }
.eq i:nth-child(2) { animation-delay: -.4s; } .eq i:nth-child(3) { animation-delay: -.8s; } .eq i:nth-child(4) { animation-delay: -1.1s; } .eq i:nth-child(5) { animation-delay: -.2s; } .eq i:nth-child(6) { animation-delay: -1.3s; }
@keyframes eq { from { transform: scaleY(.55); } to { transform: scaleY(1); } }
.mem { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 6px; }
.mem b { display: grid; place-items: center; height: 38px; border-radius: 9px; border: 1px solid var(--line2); background: rgba(255, 255, 255, .04); font: 700 13px/1 var(--mono); color: var(--muted); }
.mem b.on { background: var(--grad); color: #fff; border-color: transparent; animation: blink 1.2s ease-in-out infinite; }
.vis-rtty { place-items: stretch; grid-template-rows: auto 1fr; background: #0A0C0A; }
.rtty-head { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; border-bottom: 1px solid rgba(255, 255, 255, .07); color: #8FD9A8; font: 600 12px/1 var(--mono); }
.rtty-head .ms { display: flex; gap: 6px; }
.rtty-head .ms i { width: 30px; height: 8px; border-radius: 4px; background: rgba(52, 199, 89, .25); animation: blink 1s infinite; }
.rtty-head .ms i:last-child { animation-delay: -.5s; }
.rtty-text { margin: 0; padding: 16px; font: 500 14px/1.65 var(--mono); color: #B7F0C8; white-space: pre-wrap; overflow: hidden; text-shadow: 0 0 10px rgba(52, 199, 89, .35); }
.rtty-text::after { content: "▋"; color: #7EE29B; animation: blink .9s steps(1) infinite; }
.vis-sstv { background: radial-gradient(70% 70% at 50% 50%, rgba(139, 29, 29, .2), transparent 70%), #0E0E12; }
.sstv-pic { position: relative; width: min(78%, 420px); aspect-ratio: 320 / 256; border-radius: 6px; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .12); }
.sstv-img { position: absolute; inset: 0; display: grid; grid-template-rows: 58% 9% 1fr; animation: sstv 6s linear infinite; }
.sstv-pic::before { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(14, 14, 18, .55), rgba(14, 14, 18, .55)), linear-gradient(90deg, #E6E6E6 0 14.28%, #E8D24A 0 28.56%, #4FC9D9 0 42.84%, #4CC45A 0 57.12%, #C94FC0 0 71.4%, #D9443F 0 85.68%, #3F4FD9 0) 0 0 / 100% 58% no-repeat, radial-gradient(80% 120% at 50% 100%, #5a1416, #1a0708 70%) 0 100% / 100% 42% no-repeat; }
.sstv-bars { background: linear-gradient(90deg, #E6E6E6 0 14.28%, #E8D24A 0 28.56%, #4FC9D9 0 42.84%, #4CC45A 0 57.12%, #C94FC0 0 71.4%, #D9443F 0 85.68%, #3F4FD9 0); }
.sstv-steps { background: linear-gradient(90deg, #111 0 16.6%, #333 0 33.3%, #555 0 50%, #888 0 66.6%, #BBB 0 83.3%, #EEE 0); }
.sstv-low { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; background: radial-gradient(80% 120% at 50% 100%, #8B1D1D, #2A0B0D 70%); color: #fff; }
.sstv-low b { font: 800 clamp(16px, 2.6vw, 28px)/1 var(--sans); letter-spacing: .05em; text-shadow: 0 2px 0 #000; }
.sstv-low span { font: 600 clamp(10px, 1.2vw, 13px)/1 var(--mono); opacity: .85; }
.vis-sstv { grid-template-rows: 1fr auto; padding: 18px 0 14px; }
.sstv-meta { display: flex; gap: 10px; justify-content: center; font: 600 11.5px/1 var(--mono); color: var(--muted); }
.sstv-meta span { padding: 4px 8px; border-radius: 6px; background: rgba(255, 255, 255, .06); }
.sstv-scan { position: absolute; left: 0; right: 0; height: 2px; background: #fff; box-shadow: 0 0 12px #fff; animation: scan 6s linear infinite; }
@keyframes sstv { 0% { clip-path: inset(0 0 100% 0); } 50%, 100% { clip-path: inset(0 0 0 0); } }
@keyframes scan { 0% { top: 0; opacity: 1; } 50% { top: 100%; opacity: 1; } 51%, 100% { top: 100%; opacity: 0; } }
.mode-shot figcaption { display: none; }

/* ===== Follow diagram ===== */
.follow { margin-top: clamp(56px, 7vw, 96px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; padding: clamp(24px, 3.5vw, 44px); border-radius: 24px; border: 1px solid var(--line2); background: radial-gradient(70% 100% at 100% 50%, rgba(139, 29, 29, .2), transparent 70%), #131317; }
.follow-text h3 { font-weight: 800; font-size: clamp(1.45rem, 2.3vw, 2rem); letter-spacing: -.025em; line-height: 1.15; }
.follow-text > p { margin-top: 14px; color: var(--muted); font-size: 1.04rem; }
.follow-svg { width: 100%; height: auto; display: block; overflow: visible; }
.follow-svg .al-sub { font-size: 13.5px; } .follow-svg .al-small { font-size: 13.5px; } .follow-svg .al-strong { font-size: 16px; }
@media (max-width: 900px) { .follow { grid-template-columns: minmax(0, 1fr); } }

.displays { margin-top: clamp(56px, 7vw, 96px); }
.displays .grid3 { margin-top: 0; }

/* ===== Chase ===== */
.chase { border-radius: 24px; border: 1px solid var(--line2); background: radial-gradient(60% 100% at 0% 0%, rgba(139, 29, 29, .2), transparent 70%), #121216; padding: clamp(18px, 3vw, 36px); }
.chase-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; position: relative; }
.chase-step { width: 100%; display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 8px 14px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); color: var(--muted); font: 700 15px/1.2 var(--sans); cursor: pointer; text-align: left; position: relative; overflow: hidden; transition: background .3s, color .3s, border-color .3s; }
.chase-step::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: linear-gradient(90deg, #8B1D1D, #E05252); transform: scaleX(0); transform-origin: 0 50%; }
.chase-step.is-on { color: #fff; border-color: rgba(224, 82, 82, .5); background: rgba(224, 82, 82, .12); }
.chase.playing .chase-step.is-on::after { animation: fill var(--dur, 3.6s) linear forwards; }
.chase-step.is-done { color: var(--text); }
.cs-n { display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 9px; background: rgba(255, 255, 255, .07); font: 700 13px/1 var(--mono); }
.chase-step.is-on .cs-n, .chase-step.is-done .cs-n { background: var(--grad); color: #fff; }
@keyframes fill { to { transform: scaleX(1); } }
.chase-says { position: relative; margin-top: 22px; display: grid; }
.cs-say { grid-area: 1 / 1; font-weight: 600; font-size: clamp(1.08rem, 1.6vw, 1.32rem); line-height: 1.5; color: var(--text); opacity: 0; transform: translateY(6px); transition: opacity .4s, transform .4s; }
.cs-say.is-on { opacity: 1; transform: none; }
.chase-stage {
    margin-top: 22px; display: grid; gap: 14px;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr) minmax(0, 1.05fr);
    grid-template-areas: "spots spots log" "map vfo log" "map rose log";
    font-family: var(--mono);
}
.cz { position: relative; border-radius: 16px; border: 1px solid var(--line); background: #17171B; padding: 14px 16px; transition: opacity .45s, border-color .45s, box-shadow .45s, transform .45s, filter .45s; filter: saturate(.45); }
.cz.is-on { filter: none; border-color: rgba(224, 82, 82, .6); box-shadow: 0 0 0 4px rgba(224, 82, 82, .1), 0 24px 50px -30px rgba(224, 82, 82, .7); }
.cz.is-past { filter: saturate(.8); }
.cz-title { font: 700 11px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--dim); margin-bottom: 12px; }
.cz-spots { grid-area: spots; }
.cz-map { grid-area: map; display: flex; flex-direction: column; }
.cz-vfo { grid-area: vfo; }
.cz-rose { grid-area: rose; display: flex; flex-direction: column; }
.cz-log { grid-area: log; display: flex; flex-direction: column; gap: 10px; }
.sp { display: grid; grid-template-columns: 52px 78px minmax(0, 1fr) 44px auto; gap: 10px; align-items: center; padding: 8px 10px; border-radius: 10px; font-size: 13px; color: var(--muted); }
.sp b { color: var(--text); font-size: 14px; }
.sp + .sp { margin-top: 4px; }
.sp-hot { background: rgba(224, 82, 82, .1); box-shadow: inset 0 0 0 1px rgba(224, 82, 82, .35); }
.cz-spots.is-on .sp-hot { animation: hot 1.2s ease-in-out 2; }
@keyframes hot { 50% { background: rgba(224, 82, 82, .28); } }
.tag { justify-self: end; padding: 3px 7px; border-radius: 6px; font: 700 10.5px/1.2 var(--sans); letter-spacing: .04em; white-space: nowrap; }
.tag-dxcc { background: #C62828; color: #fff; }
.tag-band { background: rgba(245, 165, 36, .2); color: #F7C66B; }
.tag-ok { background: rgba(52, 199, 89, .18); color: #7EE29B; }
.azmap { width: 100%; max-width: 230px; height: auto; margin: 0 auto; display: block; flex: 1; }
.az-path { stroke-dasharray: 100; stroke-dashoffset: 0; }
.cz-map.is-on .az-path { animation: draw 1.1s ease-out both; }
.cz-map.is-on .az-end { animation: pop 1.6s ease-out both; }
@keyframes draw { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
@keyframes pop { 0%, 60% { r: 0; } 80% { r: 8; } 100% { r: 5; } }
.azl { font: 600 11px var(--mono); fill: var(--muted); }
.azl-dx { fill: #FF9C9C; font-weight: 700; }
.cz-foot { display: flex; justify-content: space-between; margin-top: 10px; font-size: 12.5px; color: var(--muted); }
.vfo { font: 700 clamp(26px, 3vw, 40px)/1.1 var(--mono); letter-spacing: -.02em; color: var(--text); font-variant-numeric: tabular-nums; text-shadow: 0 0 22px rgba(224, 82, 82, .35); }
.cz-vfo.is-on .vfo { color: #FFD1D1; }
.vfo-mode { display: flex; gap: 6px; margin-top: 12px; }
.vfo-mode b { padding: 5px 10px; border-radius: 8px; border: 1px solid var(--line2); font-size: 12px; color: var(--muted); }
.vfo-mode b.on { background: var(--grad); color: #fff; border-color: transparent; }
.rose { width: 100%; max-width: 170px; height: auto; margin: 0 auto; display: block; flex: 1; }
.rl { font: 700 11px var(--sans); fill: var(--muted); text-anchor: middle; }
.rose-to { color: #FF9C9C; }
.lf { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.lf label { width: 44px; color: var(--dim); font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; font-family: var(--sans); font-weight: 700; }
.lf label + b + label { width: auto; margin-left: 10px; }
.lf b { padding: 7px 10px; border-radius: 8px; background: #0E0E12; border: 1px solid var(--line2); font-size: 14px; min-width: 52px; }
.lf .tag { margin-left: auto; }
.lf-info { justify-content: space-between; padding: 8px 2px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 12.5px; }
.lf-info span:first-child { color: var(--dim); }
.lf-btn { margin-top: auto; position: relative; height: 44px; }
.lf-go, .lf-done { position: absolute; inset: 0; display: grid; place-items: center; border-radius: 10px; font: 700 14px/1 var(--sans); transition: opacity .4s, transform .4s; }
.lf-go { background: var(--grad); color: #fff; }
.lf-done { background: rgba(52, 199, 89, .16); color: #7EE29B; border: 1px solid rgba(52, 199, 89, .45); opacity: 0; transform: scale(.96); }
.cz-log.logged .lf-go { opacity: 0; }
.cz-log.logged .lf-done { opacity: 1; transform: none; }
@media (max-width: 1100px) { .chase-step { padding: 8px 10px; gap: 8px; font-size: 14px; } }
@media (max-width: 900px) {
    .chase-steps { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
    .chase-step { flex-direction: column; justify-content: center; gap: 6px; padding: 10px 4px; font-size: 13px; text-align: center; min-height: 64px; }
    .chase-step .cs-t { overflow-wrap: anywhere; hyphens: auto; }
    .chase-stage { grid-template-columns: minmax(0, 1fr); grid-template-areas: "a"; min-height: 300px; }
    .cz { grid-area: a !important; display: flex; flex-direction: column; align-self: center; visibility: hidden; opacity: 0; }
    .cz.is-on { visibility: visible; opacity: 1; }
}
@media (max-width: 420px) { .chase-step .cs-t { font-size: 12px; } .sp { grid-template-columns: 44px 70px minmax(0, 1fr) auto; } .sp > span:first-child { display: none; } .sp { grid-template-columns: 74px minmax(0, 1fr) 36px auto; gap: 8px; } }

/* VUS */
.vus { margin-top: clamp(56px, 7vw, 96px); }
.vus-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto auto; gap: 18px; }
.vus-main { grid-row: span 2; }
.vus-grid .shot figcaption { margin-top: 10px; font-size: 13px; }
.vus-grid .frame-bar { height: 24px; } .vus-grid .frame-bar > i { width: 8px; height: 8px; }
@media (max-width: 900px) { .vus-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .vus-main { grid-column: 1 / -1; grid-row: auto; } }
.pills { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.pills li { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 8px; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line2); background: rgba(255, 255, 255, .03); color: #D6D6DB; font-size: 14.5px; }
.pills i { color: var(--red); }
@media (max-width: 640px) { .pills li { border-radius: 14px; } }

/* ===== Access ladder ===== */
.ladder { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: end; padding: clamp(22px, 3.4vw, 44px); border-radius: 24px; border: 1px solid var(--line2); background: radial-gradient(60% 90% at 0% 100%, rgba(139, 29, 29, .22), transparent 70%), #131317; }
.rungs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; align-items: end; height: 260px; }
.rung { position: relative; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: 10px; padding: 14px 12px; border-radius: 14px 14px 8px 8px; border: 1px solid var(--line2); background: rgba(255, 255, 255, .03); color: var(--muted); font: 700 14px/1.2 var(--sans); cursor: pointer; text-align: left; transition: background .3s, color .3s, border-color .3s, box-shadow .3s; }
.rung:nth-child(1) { height: 40%; } .rung:nth-child(2) { height: 60%; } .rung:nth-child(3) { height: 80%; } .rung:nth-child(4) { height: 100%; }
.rung-ic { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: rgba(255, 255, 255, .06); font-size: 15px; }
.rung-t { overflow-wrap: normal; word-break: normal; }
.rung.is-lit { background: linear-gradient(180deg, rgba(224, 82, 82, .3), rgba(95, 15, 18, .5)); color: #fff; border-color: rgba(224, 82, 82, .45); }
.rung.is-lit .rung-ic { background: rgba(0, 0, 0, .25); }
.rung.is-on { box-shadow: 0 0 0 3px rgba(224, 82, 82, .35), 0 20px 50px -20px rgba(224, 82, 82, .8); border-color: #E05252; }
.caps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.caps li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); color: var(--muted); font-size: 15px; line-height: 1.5; transition: opacity .3s, border-color .3s, background .3s; }
.caps li i { flex: none; display: grid; place-items: center; width: 24px; height: 24px; margin-top: 1px; border-radius: 7px; background: rgba(52, 199, 89, .16); color: #7EE29B; font-size: 12px; }
.caps li b { color: var(--text); }
.caps li.off { color: #8E8E93; background: transparent; border-color: rgba(255, 255, 255, .05); }
.caps li.off b { color: #A9A9AE; }
.caps li.off i { background: rgba(255, 255, 255, .06); color: transparent; }
.caps li.new { border-color: rgba(224, 82, 82, .5); background: rgba(224, 82, 82, .08); }
.ladder-notes { grid-column: 1 / -1; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 6px; }
.ladder-body { display: contents; }
@media (max-width: 900px) { .ladder { grid-template-columns: minmax(0, 1fr); } .rungs { height: 220px; } .ladder-notes { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 400px) { .rungs { height: auto; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; } .rung { height: auto !important; flex-direction: row; align-items: center; min-height: 52px; font-size: 13px !important; } }
@media (max-width: 520px) { .rungs { height: 200px; gap: 6px; } .rung { padding: 10px 8px; font-size: 12.5px; } .rung-ic { width: 30px; height: 30px; font-size: 13px; } }

/* seat demo */
.seat { margin-top: 18px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; padding: clamp(22px, 3.4vw, 40px); border-radius: 24px; border: 1px solid var(--line); background: var(--card); }
.seat-text h3 { font-weight: 800; font-size: clamp(1.35rem, 2.1vw, 1.8rem); letter-spacing: -.02em; line-height: 1.2; }
.seat-text p { margin-top: 12px; color: var(--muted); font-size: 15.5px; }
.seat-demo { position: relative; display: grid; gap: 12px; padding-right: 64px; }
.seat-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; min-height: 60px; padding: 10px 16px; border-radius: 14px; border: 1px solid var(--line2); background: #141418; transition: border-color .4s, background .4s; }
.seat-call { font: 700 16px/1 var(--mono); min-width: 84px; }
.seat-state { display: none; align-items: center; gap: 8px; padding: 6px 11px; border-radius: 999px; font: 600 13px/1.2 var(--sans); }
.seat-state::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.s-op { color: #7EE29B; background: rgba(52, 199, 89, .14); }
.s-li { color: #9CC8FF; background: rgba(90, 169, 255, .12); }
.s-ans, .s-req { color: #F7C66B; background: rgba(245, 165, 36, .14); }
.seat-demo[data-a="op"] [data-who="a"] .s-op, .seat-demo[data-a="ans"] [data-who="a"] .s-ans, .seat-demo[data-a="li"] [data-who="a"] .s-li,
.seat-demo[data-b="op"] [data-who="b"] .s-op, .seat-demo[data-b="req"] [data-who="b"] .s-req, .seat-demo[data-b="li"] [data-who="b"] .s-li { display: inline-flex; }
.seat-demo[data-a="op"] [data-who="a"], .seat-demo[data-b="op"] [data-who="b"] { border-color: rgba(52, 199, 89, .5); background: rgba(52, 199, 89, .05); }
.seat-demo[data-a="ans"] [data-who="a"], .seat-demo[data-b="req"] [data-who="b"] { border-color: rgba(245, 165, 36, .45); }
.seat-token { position: absolute; right: 0; top: 0; width: 50px; height: 60px; display: grid; place-items: center; border-radius: 14px; background: var(--grad); color: #fff; font-size: 18px; box-shadow: 0 14px 34px -12px rgba(224, 82, 82, .8); transition: transform .8s cubic-bezier(.5, 0, .2, 1); }
.seat-demo[data-b="op"] .seat-token { transform: translateY(calc(100% + 12px)); }
@media (max-width: 900px) { .seat { grid-template-columns: minmax(0, 1fr); } }

/* ===== Start ===== */
.start { overflow: hidden; text-align: center; padding: clamp(100px, 12vw, 170px) 0; }
.start-glow { position: absolute; inset: 0; background: radial-gradient(50% 60% at 50% 55%, rgba(139, 29, 29, .5), transparent 70%), radial-gradient(30% 40% at 50% 60%, rgba(224, 82, 82, .25), transparent 70%); pointer-events: none; }
.start-in { position: relative; max-width: 900px; }
.start .lead { margin-left: auto; margin-right: auto; }
.start .kicker { justify-content: center; }
.start-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 38px; }
.start-small { margin-top: 22px; color: var(--muted); font-size: 15px; }
.start-small a { color: #FF9C9C; font-weight: 600; display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px; }
@media (max-width: 520px) { .start-cta .btn, .hero-cta .btn:not(.btn-link) { width: 100%; } }

/* ===== Footer ===== */
.foot { border-top: 1px solid var(--line); padding: 40px 0 48px; color: var(--dim); font-size: 14px; background: #09090B; }
.foot-in { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.foot-logo { height: 22px; width: auto; opacity: .55; display: block; margin-bottom: 12px; }
.foot-links { display: flex; gap: 6px 22px; flex-wrap: wrap; }
.foot-links a { text-decoration: none; color: var(--muted); min-height: 44px; min-width: 44px; justify-content: center; display: inline-flex; align-items: center; }
.foot-links a:hover { color: #fff; }

/* ===== Lightbox ===== */
.lb { position: fixed; inset: 0; z-index: 300; display: grid; grid-template-columns: 64px minmax(0, 1fr) 64px; align-items: center; background: rgba(5, 5, 7, .92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); animation: fadein .25s ease; }
.lb[hidden] { display: none; }
.lb-fig { margin: 0; grid-column: 2; display: flex; flex-direction: column; align-items: center; gap: 14px; max-height: 100vh; padding: 56px 0 24px; }
.lb-img { max-width: 100%; display: flex; justify-content: center; }
.lb-fig img { max-width: 100%; max-height: calc(100vh - 140px); width: auto; height: auto; border-radius: 12px; box-shadow: 0 40px 100px rgba(0, 0, 0, .8), 0 0 0 1px var(--line2); background: #0E0E12; }
.lb-fig figcaption { color: var(--muted); font-size: 14.5px; text-align: center; max-width: 60em; }
.lb-x, .lb-nav { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; border: 1px solid var(--line2); background: rgba(255, 255, 255, .06); color: #fff; font-size: 18px; cursor: pointer; }
.lb-x:hover, .lb-nav:hover { background: rgba(224, 82, 82, .25); border-color: rgba(224, 82, 82, .6); }
.lb-x { position: absolute; top: 14px; right: 14px; }
.lb-prev { grid-column: 1; justify-self: center; } .lb-next { grid-column: 3; justify-self: center; }
@media (max-width: 640px) {
    .lb { grid-template-columns: minmax(0, 1fr); }
    .lb-fig { grid-column: 1; padding: 64px 10px 90px; }
    .lb-nav { position: absolute; bottom: 20px; }
    .lb-prev { left: calc(50% - 60px); } .lb-next { right: calc(50% - 60px); }
}

/* ===== 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 .reveal { opacity: 1; transform: none; }
    .sstv-img { clip-path: none !important; }
    .sstv-scan { display: none; }
}

/* portrait crops (a panel of the client) sit centred in their frame */
.mode-shot .shot-open { display: grid; place-items: center; }
.mode-shot .shot-open img { width: auto; max-width: 100%; max-height: 430px; }
@media (max-width: 900px) { .mode-shot .shot-open img { max-height: 340px; } }

/* touch: 44 px targets for the chapter chips and the language switch */
@media (pointer: coarse) {
    .chip { height: 44px; }
    .bar .tl-btn { height: 44px; }
    .bar .tl-item { min-height: 44px; }
}
@media (max-width: 640px) {
    .follow-svg .al-sub, .follow-svg .al-small { font-size: 16px; }
    .follow-svg .al-strong { font-size: 18px; }
}

/* ===== Assembled screenshots ===== */
/* a hero shot after a grid gets air above it */
:is(.grid2, .grid3, .duo, .trio, .proof-grid, .feature) + .shot-hero { margin-top: clamp(48px, 6vw, 88px); }
.feature-text-only { row-gap: 26px; }
/* rows of wide shots: a common, wider crop so nothing is cut at the sides */
.grid2.shots-wide .shot-open img { aspect-ratio: 1600 / 760; }
/* the control seat strip inside a card */
.shot-strip { margin: 20px 0 4px; }
.frame-plain { border-radius: 12px; border: 1px solid var(--line2); background: #0E0E12; box-shadow: 0 18px 40px -26px rgba(0, 0, 0, .9); }
.shot-strip figcaption { text-align: left; margin-top: 10px; font-size: 13px; }
.shot-strip.is-missing { display: none; }
/* two phones side by side, the second one a little lower */
.phones { display: flex; justify-content: center; align-items: flex-start; gap: clamp(14px, 3vw, 34px); justify-self: center; }
.phones .shot-phone { flex: 0 1 auto; min-width: 0; }
.phones .frame-phone { width: min(270px, 40vw); border-radius: clamp(28px, 7vw, 42px); padding: clamp(18px, 4vw, 26px) clamp(6px, 1.6vw, 10px) clamp(8px, 2vw, 12px); }
.phones .frame-phone .shot-open { border-radius: 8px 8px clamp(20px, 5vw, 30px) clamp(20px, 5vw, 30px); }
.phones .shot-phone-2 { margin-top: clamp(28px, 6vw, 64px); }
.phones .shot-phone figcaption { max-width: min(270px, 40vw); margin-left: auto; margin-right: auto; }
.phones .shot-phone.is-missing { display: none; }
@media (max-width: 640px) { .phones .frame-phone::before { width: 40px; height: 6px; top: 7px; } }
.mode-shot.show-cap figcaption { display: block; }
/* FT8 illustration (no live shot: no radio was free on an FT8 frequency) */
.vis-ft8 { place-items: stretch; grid-template-rows: auto 1fr; background: #0B0D12; }
.ft8-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid rgba(255, 255, 255, .07); color: #9CC8FF; font: 600 12px/1 var(--mono); }
.ft8-cyc { width: 34%; height: 6px; border-radius: 3px; background: rgba(90, 169, 255, .15); overflow: hidden; }
.ft8-cyc i { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, #2F6FD0, #5AA9FF); transform-origin: left; animation: ft8cyc 15s linear infinite; }
@keyframes ft8cyc { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.ft8-rows { padding: 10px 8px; display: grid; align-content: start; gap: 2px; font: 500 13.5px/1.5 var(--mono); }
.ft8-rows p { display: grid; grid-template-columns: 7ch 4ch 5ch minmax(0, 1fr); gap: 10px; padding: 5px 10px; border-radius: 7px; color: #C9D6E8; white-space: nowrap; }
.ft8-rows p span { color: #7F8DA3; }
.ft8-rows p b { font-weight: 600; overflow: hidden; text-overflow: ellipsis; }
.ft8-rows p.dim { opacity: .55; }
.ft8-rows p.tx { background: rgba(224, 82, 82, .12); color: #FFC9C9; }
.ft8-rows p.tx span:nth-child(2) { color: #FF8A8A; }
.ft8-rows .ft8-logged { display: block; margin-top: 8px; color: #8FD9A8; background: rgba(52, 199, 89, .1); }
.ft8-rows .ft8-logged span { color: inherit; }
@media (max-width: 640px) { .ft8-rows { font-size: 11.5px; } .ft8-rows p { gap: 6px; padding: 4px 6px; grid-template-columns: 6.5ch 3.5ch 4.5ch minmax(0, 1fr); } }
.vis-ft8 { grid-template-rows: auto 1fr auto; }
.ft8-wf { position: relative; height: 64px; margin: 0 14px 14px; border-radius: 8px; overflow: hidden; background: linear-gradient(180deg, #0B1640, #081030); box-shadow: inset 0 0 0 1px rgba(90, 169, 255, .15); }
.ft8-wf i { position: absolute; top: 0; bottom: 0; left: var(--x); width: var(--w); opacity: var(--o, 1); background: repeating-linear-gradient(180deg, rgba(120, 220, 255, .85) 0 7px, rgba(60, 140, 255, .35) 7px 14px); filter: blur(.4px); animation: ft8fall 15s linear infinite; }
.ft8-wf i.me { background: repeating-linear-gradient(180deg, rgba(255, 138, 138, .95) 0 7px, rgba(224, 82, 82, .4) 7px 14px); box-shadow: 0 0 12px rgba(224, 82, 82, .6); }
@keyframes ft8fall { from { background-position: 0 0; } to { background-position: 0 140px; } }
@media (max-width: 640px) { .ft8-wf { height: 46px; } }
/* pills: the icon hangs in front, so a long line never leaves it alone on the first row */
.pills li { display: block; position: relative; padding-left: 42px; line-height: 1.5; }
.pills li > i:first-child { position: absolute; left: 16px; top: 13px; width: 18px; text-align: center; }
.pills li .badge { margin-left: 6px; vertical-align: 1px; }
/* tablet: two columns would leave the third card of a row alone */
@media (min-width: 761px) and (max-width: 1024px) {
    .trio > :nth-child(3):last-child, .grid3 > .tile:nth-child(3):last-child { grid-column: 1 / -1; }
    .grid3 > .tile:not(.tile-note):nth-child(3):last-child { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 22px; align-content: start; }
    .grid3 > .tile:not(.tile-note):nth-child(3):last-child > .shot { grid-row: 1 / span 4; }
    .grid3 > .tile:not(.tile-note):nth-child(3):last-child > h3 { margin-top: 10px; }
    .displays .grid3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
/* inside the portal on a narrow screen: room for the shell's floating menu button (42 px at 12 px) */
html[data-burger] .bar-logo { margin-left: 52px; }

/* ===== One rhythm per chapter: "More in ..." cards, rails on phones, mid-page CTAs ===== */
.badge-new { color: #7EE2D0; background: rgba(52, 199, 170, .1); border-color: rgba(52, 199, 170, .38); }
:is(.chase, .rail, .more-block) + .shot-hero { margin-top: clamp(48px, 6vw, 88px); }
.more-block { margin-top: clamp(48px, 6vw, 84px); }
.more-title { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; color: #FF9C9C; font: 700 13px/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
html:is([lang="ja"], [lang="ru"], [lang="uk"]) .more-title { letter-spacing: .04em; }
.more-title::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, rgba(224, 82, 82, .45), transparent); }
.mgrid { display: grid; gap: 14px; }
.mgrid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mgrid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 860px) { .mcard { grid-template-columns: 140px minmax(0, 1fr); } }
@media (max-width: 760px) { .mgrid-3, .mgrid-2 { grid-template-columns: minmax(0, 1fr); } }
.mcard {
    position: relative; display: grid; grid-template-columns: 184px minmax(0, 1fr); gap: 18px; align-items: start;
    padding: 14px; border-radius: 16px; border: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .012)), var(--card); transition: border-color .25s, box-shadow .25s;
}
.mcard:hover { border-color: rgba(224, 82, 82, .38); box-shadow: 0 24px 50px -36px rgba(224, 82, 82, .5); }
.mcard-ic { grid-template-columns: 46px minmax(0, 1fr); padding: 18px 18px 18px 16px; }
.mc-ic { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; background: var(--grad); color: #fff; font-size: 18px; box-shadow: 0 10px 24px -10px rgba(224, 82, 82, .8), inset 0 1px 0 rgba(255, 255, 255, .18); }
.mc-body h3 { font-weight: 700; font-size: 1.02rem; line-height: 1.3; letter-spacing: -.01em; }
.mc-body h3 .badge { font-size: 10px; margin: 4px 0 0; }
.mc-body p { margin-top: 6px; color: var(--muted); font-size: 14.5px; line-height: 1.55; }
.mshot .frame-plain { border-radius: 10px; box-shadow: none; }
.mshot .shot-open img { aspect-ratio: 16 / 10; object-fit: cover; object-position: 50% 0; }
.mshot .shot-open::after { width: 28px; height: 28px; font-size: 12px; right: 6px; bottom: 6px; }
.mshot.is-missing .shot-fb i { width: 40px; height: 40px; font-size: 16px; border-radius: 12px; }
.displays .mgrid { margin-top: 0; }
.vus-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-rows: none; align-items: start; }
.vus-main { grid-row: auto; }
.mlist { display: grid; gap: 10px; }
.mlist .mcard { grid-template-columns: 112px minmax(0, 1fr); gap: 14px; padding: 10px; }
.mlist .mc-body p { font-size: 13.5px; margin-top: 4px; }
@media (max-width: 900px) { .vus-grid { grid-template-columns: minmax(0, 1fr); } .mlist { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.mid-cta {
    margin-top: clamp(48px, 6vw, 84px); display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px 28px;
    padding: 22px 26px; border-radius: 20px; border: 1px solid rgba(224, 82, 82, .35);
    background: linear-gradient(110deg, rgba(139, 29, 29, .38), rgba(95, 15, 18, .1) 60%), var(--card);
}
.mid-t { color: var(--muted); font-size: 1.05rem; line-height: 1.55; max-width: 44em; }
.mid-t b { color: var(--text); }
.mid-b { display: flex; flex-wrap: wrap; gap: 10px; }
html[data-framed]:not([data-auth="in"]) .mid-cta { display: none; }
@media (max-width: 520px) { .mid-cta { padding: 20px 18px; } .mid-b, .mid-b .btn { width: 100%; } }
/* the founder's words close the tour */
.start .mission { position: relative; max-width: 1040px; margin-top: clamp(64px, 8vw, 110px); text-align: left; }
@media (max-width: 640px) {
    /* phones: rows of cards become horizontal rails */
    .rail, .vus-grid .mlist {
        display: flex !important; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; gap: 12px;
        margin-left: calc(-1 * var(--gutter)); margin-right: calc(-1 * var(--gutter)); padding: 4px var(--gutter) 14px; scroll-padding-left: var(--gutter);
        scrollbar-width: none; -webkit-overflow-scrolling: touch;
    }
    .rail::-webkit-scrollbar, .vus-grid .mlist::-webkit-scrollbar { display: none; }
    .rail > *, .vus-grid .mlist > * { flex: 0 0 84%; min-width: 0; scroll-snap-align: start; }
    .proof-grid.rail > li { flex-basis: 76%; }
    .mcard, .mlist .mcard { grid-template-columns: minmax(0, 1fr); gap: 12px; }
    .mcard-ic { grid-template-columns: 42px minmax(0, 1fr); }
    .mc-ic { width: 42px; height: 42px; font-size: 16px; }
    .grid2.rail { margin-top: 32px; }
    .tile { padding: 12px 12px 20px; }
    .tile > h3, .tile > p, .tile > .proof { padding: 0 6px; }
    .lb-fig { padding: 60px 0 96px; width: 100%; }
    .lb-img { width: 100%; max-height: calc(100dvh - 210px); overflow: auto; touch-action: pan-x pan-y pinch-zoom; justify-content: flex-start; border-radius: 10px; }
    .lb-img img { width: 100%; max-height: none; border-radius: 10px; }
    .lb.zoomed .lb-img img { width: auto; max-width: none; height: calc(100dvh - 210px); }
    .lb-zoom { display: grid !important; position: absolute; top: 14px; left: 14px; }
    .lb-fig figcaption { padding: 0 14px; font-size: 13.5px; }
}
.lb-zoom { display: none; place-items: center; width: 48px; height: 48px; border-radius: 14px; border: 1px solid var(--line2); background: rgba(255, 255, 255, .06); color: #fff; font-size: 18px; cursor: pointer; }
.lb.zoomed .lb-zoom { background: rgba(224, 82, 82, .25); border-color: rgba(224, 82, 82, .6); }
.mc-body .mc-note { margin-top: 8px; font-size: 13px; line-height: 1.5; color: #D9C38A; }
.mc-note .badge { margin-left: 2px; font-size: 10px; }
@media (max-width: 640px) {
    .arch:not([data-mode="local"]) .arch-local.rail, .arch[data-mode="local"] .arch-remote.rail { display: none !important; }
    .pillars.rail > .pillar { display: block; }
    .pillars.rail .pillar .p-ic { margin: 0 0 14px; }
    .pillars.rail .pillar-wide .more { margin-top: 10px; }
    .steps-list.rail > li { flex-basis: 80%; }
    .radio-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .radio-list li { flex-direction: row; flex-wrap: wrap; align-items: center; padding: 10px; gap: 5px; }
    .radio-list b { font-size: 13px; flex: 1 0 100%; }
    .radio-list span { font-size: 10px; padding: 3px 5px; }
}
