@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 200 800; font-display: swap; src: url(../fonts/manrope-cyrillic.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 200 800; font-display: swap; src: url(../fonts/manrope-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400 800; font-display: swap; src: url(../fonts/jetbrains-mono-cyrillic.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400 800; font-display: swap; src: url(../fonts/jetbrains-mono-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --bg: #0b0c0e;
  --bg2: #0f1114;
  --card: #13161a;
  --card2: #191c21;
  --line: rgba(255, 255, 255, .075);
  --line2: rgba(255, 255, 255, .14);
  --ink: #eef1f4;
  --mute: #a2aab3;
  --dim: #6c747e;
  --volt: #4aa8ff;
  --volt2: #9fd0ff;
  --volt-ink: #031120;
  --glow: rgba(74, 168, 255, .32);
  --red: #ff5d52;
  --f: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --pad: clamp(16px, 4.2vw, 64px);
  --nav: 68px;
  --r: 18px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: var(--nav); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.6 var(--f); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: clip; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 800; letter-spacing: -.025em; line-height: 1.05; }
p { margin: 0; }
em { font-style: normal; color: var(--volt); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--volt); color: var(--volt-ink); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--volt); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(1240px, 100% - 2 * var(--pad)); margin-inline: auto; }

/* ---------------------------------------------------------------- copy mode (Як є / Культурно) */
html:not([data-mode="clean"]) .m-clean { display: none !important; }
html[data-mode="clean"] .m-raw { display: none !important; }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 600 11.5px/1.2 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.eyebrow::before { content: ''; width: 18px; height: 2px; border-radius: 2px; background: var(--volt); box-shadow: 0 0 10px var(--glow); }
.tag { display: inline-block; vertical-align: .12em; margin-left: 4px; padding: 3px 7px 2px; border: 1px solid var(--line2); border-radius: 999px; font: 600 10px/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--mute); white-space: nowrap; }
.eyebrow .tag { margin-left: 2px; }

/* meme captions: styled like the burned-in subtitles of a phone video */
.meme { margin-top: 16px; font: 800 clamp(17px, 1.45vw, 21px)/1.5 var(--f); letter-spacing: -.005em; max-width: 34em; }
.meme span { background: #f4f6f8; color: #0a0b0d; padding: .1em .42em .14em; border-radius: 5px; -webkit-box-decoration-break: clone; box-decoration-break: clone; box-shadow: 0 6px 24px rgba(0, 0, 0, .35); }
.meme::before { content: 'як є'; display: inline-block; margin-right: 9px; padding: 3px 6px 2px; border-radius: 4px; background: var(--volt); color: var(--volt-ink); font: 700 10px/1.2 var(--mono); letter-spacing: .1em; text-transform: uppercase; vertical-align: .22em; }
.meme--sm { font-size: clamp(15px, 1.2vw, 17px); margin-top: 12px; }
.meme--xs { font-size: 14px; margin-top: 10px; line-height: 1.55; }
.meme--xs::before, .meme--sm::before { font-size: 9px; }

/* ---------------------------------------------------------------- buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border: 0; border-radius: 999px; font: 700 15px/1 var(--f); text-decoration: none; cursor: pointer; white-space: nowrap; transition: transform .2s, background .2s, box-shadow .25s, color .2s; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:active { transform: translateY(1px) scale(.99); }
.btn--volt { background: var(--volt); color: var(--volt-ink); box-shadow: 0 0 0 1px rgba(255, 255, 255, .18) inset, 0 10px 34px -10px var(--glow); }
.btn--volt:hover { background: #69b8ff; box-shadow: 0 0 0 1px rgba(255, 255, 255, .25) inset, 0 12px 42px -8px rgba(74, 168, 255, .55); }
.btn--ghost { background: rgba(255, 255, 255, .04); color: var(--ink); box-shadow: 0 0 0 1px var(--line2) inset; }
.btn--ghost:hover { background: rgba(255, 255, 255, .08); }
.btn--full { width: 100%; }

/* ---------------------------------------------------------------- header */
.hdr { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--nav); display: flex; align-items: center; gap: 22px; padding: 0 var(--pad); transition: background .35s, box-shadow .35s, backdrop-filter .35s; }
.hdr.is-solid { background: rgba(11, 12, 14, .78); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); box-shadow: 0 1px 0 var(--line); }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--volt); }
.logo svg { width: 32px; height: 32px; }
.logo b { color: var(--ink); font: 800 16px/1 var(--f); letter-spacing: .2em; }
.hdr__nav { display: flex; gap: 26px; margin-left: auto; }
.hdr__nav a { font: 600 14px/1 var(--f); color: var(--mute); text-decoration: none; transition: color .2s; }
.hdr__nav a:hover { color: var(--ink); }
.mode { position: relative; display: flex; align-items: center; gap: 10px; }
.mode__badge { font: 700 10px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--volt2); padding: 6px 8px 5px; border: 1px dashed rgba(74, 168, 255, .5); border-radius: 6px; white-space: nowrap; }
.mode__seg { position: relative; display: grid; grid-template-columns: 1fr 1fr; padding: 3px; border-radius: 999px; background: rgba(255, 255, 255, .05); box-shadow: 0 0 0 1px var(--line2) inset; }
.mode__seg button { position: relative; z-index: 1; border: 0; background: none; padding: 9px 14px; border-radius: 999px; font: 700 13px/1 var(--f); color: var(--mute); cursor: pointer; white-space: nowrap; transition: color .25s; }
.mode__seg button small { font: 700 9px/1 var(--mono); margin-left: 3px; vertical-align: .25em; opacity: .85; }
.mode__seg button[aria-pressed="true"] { color: var(--volt-ink); }
.mode__thumb { position: absolute; top: 3px; bottom: 3px; left: 3px; width: calc(50% - 3px); border-radius: 999px; background: var(--volt); box-shadow: 0 0 18px var(--glow); transition: transform .35s cubic-bezier(.3, 1.4, .5, 1); }
html[data-mode="clean"] .mode__thumb { transform: translateX(100%); background: #e9edf1; box-shadow: none; }
html[data-mode="clean"] .mode__badge { opacity: .45; }
.hdr__cta { min-height: 42px; padding: 0 18px; font-size: 14px; }

/* ---------------------------------------------------------------- story: hero -> exploded panel */
.story { position: relative; }
.story__stage { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; background: radial-gradient(120% 90% at 72% 48%, #121519 0%, var(--bg) 62%); }
.story__grid { position: absolute; inset: 0; opacity: 0; background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px); background-size: 44px 44px; background-position: center; -webkit-mask-image: radial-gradient(70% 70% at 62% 50%, #000 30%, transparent 85%); mask-image: radial-gradient(70% 70% at 62% 50%, #000 30%, transparent 85%); }
.story__glow { position: absolute; width: 70vmin; height: 70vmin; left: 62%; top: 50%; translate: -50% -50%; border-radius: 50%; background: radial-gradient(circle, rgba(74, 168, 255, .11), transparent 66%); opacity: 0; pointer-events: none; }
.hero-copy { position: absolute; z-index: 4; left: var(--pad); top: 50%; translate: 0 -46%; width: min(600px, 46vw); }
.hero-copy h1 { margin-top: 20px; font-size: clamp(46px, 6.1vw, 96px); line-height: .94; letter-spacing: -.045em; }
.hero-copy h1 em { display: inline; }
.h1-clean { display: block; font-size: .8em; line-height: .98; }
.story__top { position: absolute; z-index: 3; inset: 0 0 auto; height: 190px; background: linear-gradient(180deg, var(--bg) 34%, rgba(11, 12, 14, .7) 62%, rgba(11, 12, 14, 0)); pointer-events: none; }
.hero-copy .lead { margin-top: 20px; max-width: 30em; font-size: clamp(16px, 1.2vw, 18px); color: var(--mute); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.facts { display: flex; gap: 28px; margin: 36px 0 0; padding: 22px 0 0; list-style: none; border-top: 1px solid var(--line); }
.facts li { display: grid; gap: 2px; }
.facts b { font: 800 15px/1.2 var(--f); }
.facts span { font: 500 12.5px/1.3 var(--f); color: var(--dim); }
.hero-panel { position: absolute; z-index: 2; right: max(1vw, calc(50vw - 760px)); top: 50%; height: min(104vh, 104svh, 66vw * 1.5); aspect-ratio: 2 / 3; translate: 0 -48%; transform-origin: 50% 55%; }
.hero-panel { container-type: inline-size; }
.hero-panel .lcd--hero { left: 40.6%; top: 26.4%; width: 5.3%; height: 2.4%; border-radius: 2px; }
.hero-panel .lcd--hero b { font-size: 2.15cqi; text-shadow: 0 0 4px rgba(120, 200, 255, .9), 0 0 10px rgba(74, 168, 255, .6); }
.hero-panel .lcd--hero b small { font-size: 1cqi; }
.hero-panel img { width: 100%; height: 100%; -webkit-mask-image: radial-gradient(64% 58% at 50% 52%, #000 66%, transparent 100%); mask-image: radial-gradient(64% 58% at 50% 52%, #000 66%, transparent 100%); }
.flash { position: absolute; z-index: 6; inset: 0; pointer-events: none; opacity: 0; background: radial-gradient(40% 46% at var(--fx, 70%) 50%, rgba(205, 232, 255, .55), rgba(74, 168, 255, .16) 40%, transparent 72%); mix-blend-mode: screen; }
.parts { position: absolute; inset: 0; z-index: 5; pointer-events: none; }
.part { position: absolute; left: 0; top: 0; transform-origin: 0 0; opacity: 0; will-change: transform, opacity; transition: filter .45s; }
.part img { width: 100%; height: 100%; }
.part.is-dim { filter: brightness(.38) saturate(.5); }
.part.is-on { filter: drop-shadow(0 0 18px rgba(74, 168, 255, .45)) brightness(1.08); }
.lcd { position: absolute; left: 20.1%; top: 31%; width: 59.8%; height: 18.3%; border-radius: 3px; background: linear-gradient(180deg, #0d2a52, #071a36); box-shadow: inset 0 0 0 1px rgba(120, 190, 255, .25), inset 0 0 12px rgba(74, 168, 255, .35); display: grid; place-items: center; overflow: hidden; }
.lcd b { font: 700 19px/1 var(--mono); color: #bfe2ff; text-shadow: 0 0 6px rgba(120, 200, 255, .9), 0 0 14px rgba(74, 168, 255, .6); letter-spacing: .02em; }
.lcd b small { font-size: 9px; margin-left: 1px; opacity: .8; }
.labelstrip { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; height: 100%; background: linear-gradient(180deg, #fbfbfa, #e6e7e6); border-radius: 3px; box-shadow: 0 1px 0 rgba(255, 255, 255, .6) inset, 0 4px 14px rgba(0, 0, 0, .5); overflow: hidden; }
.labelstrip span { display: grid; place-items: center; font: 700 11px/1 var(--mono); letter-spacing: .02em; color: #15181c; border-left: 1px solid rgba(0, 0, 0, .14); }
.labelstrip span:first-child { border-left: 0; }
.leaders { position: absolute; inset: 0; z-index: 6; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.leaders path { fill: none; stroke: rgba(255, 255, 255, .28); stroke-width: 1; }
.leaders .cur { stroke: var(--volt); stroke-width: 1.5; stroke-dasharray: 6 10; opacity: 0; filter: drop-shadow(0 0 4px var(--volt)); animation: current 0.9s linear infinite; transition: opacity .3s; }
.leaders g.is-on .cur { opacity: 1; }
.leaders g.is-on path:first-child { stroke: rgba(74, 168, 255, .55); }
.leaders circle { fill: var(--bg); stroke: rgba(255, 255, 255, .6); stroke-width: 1.4; }
.leaders g.is-on circle { stroke: var(--volt); fill: var(--volt); }
@keyframes current { to { stroke-dashoffset: -32; } }
.tags { position: absolute; inset: 0; z-index: 7; margin: 0; padding: 0; list-style: none; pointer-events: none; }
.ptag { position: absolute; left: 0; top: 0; width: 200px; opacity: 0; pointer-events: auto; cursor: pointer; transition: color .3s; }
.ptag.is-l { text-align: right; }
.ptag .n { display: block; font: 700 10.5px/1 var(--mono); letter-spacing: .12em; color: var(--volt); }
.ptag b { display: block; margin-top: 5px; font: 800 15.5px/1.15 var(--f); letter-spacing: -.01em; transition: color .3s; }
.ptag small { display: block; margin-top: 3px; font: 500 11.5px/1.35 var(--f); color: var(--dim); }
.ptag.is-dim b { color: var(--dim); }
.ptag.is-on b { color: #fff; }
.anat { position: absolute; z-index: 8; left: var(--pad); top: calc(var(--nav) + 4vh); width: min(410px, 31vw); opacity: 0; visibility: hidden; }
.anat h2 { margin-top: 16px; font-size: clamp(30px, 2.9vw, 44px); letter-spacing: -.035em; }
.anat__sub { margin-top: 14px; color: var(--mute); }
.pcard { position: relative; margin-top: 26px; padding: 22px 22px 18px; border-radius: var(--r); background: linear-gradient(180deg, rgba(25, 28, 33, .9), rgba(16, 18, 22, .9)); box-shadow: 0 0 0 1px var(--line2) inset, 0 30px 60px -30px rgba(0, 0, 0, .8); backdrop-filter: blur(6px); }
.pcard::before { content: ''; position: absolute; left: 22px; right: 22px; top: -1px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, transparent, var(--volt), transparent); opacity: .8; }
.pcard__top { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: baseline; font: 600 10.5px/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.pcard__n { color: var(--volt); }
.pcard__why { color: var(--mute); }
.pcard h3 { margin-top: 10px; font-size: 26px; letter-spacing: -.025em; }
.pcard__txt { margin-top: 12px; color: var(--mute); font-size: 15px; line-height: 1.55; }
.pcard__dots { display: flex; gap: 6px; margin-top: 16px; }
.pcard__dots i { width: 18px; height: 3px; border-radius: 3px; background: var(--line2); transition: background .3s, width .3s; }
.pcard__dots i.is-on { background: var(--volt); width: 30px; }
.pcard.swap > *:not(.pcard__dots) { animation: swap .42s cubic-bezier(.2, .7, .2, 1); }
@keyframes swap { from { opacity: 0; transform: translateY(6px); } }
.scroll-hint { position: absolute; z-index: 9; left: 50%; bottom: 22px; translate: -50% 0; display: flex; align-items: center; gap: 10px; font: 600 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.scroll-hint i { width: 1px; height: 26px; background: linear-gradient(var(--volt), transparent); animation: drip 1.6s ease-in-out infinite; }
@keyframes drip { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }


/* compact anatomy (phones, tablets, portrait): diagram on top, one card at the bottom, numbered tags */
.story.is-compact .anat { left: 14px; right: 14px; top: auto; bottom: 14px; width: auto; }
.story.is-compact .anat > .eyebrow, .story.is-compact .anat > h2, .story.is-compact .anat > .meme, .story.is-compact .anat__sub { display: none; }
.story.is-compact .pcard { margin-top: 0; padding: 16px 16px 14px; }
.story.is-compact .pcard h3 { margin-top: 6px; font-size: 21px; }
.story.is-compact .pcard__txt { margin-top: 8px; font-size: 14px; line-height: 1.45; }
.story.is-compact .pcard__dots { margin-top: 12px; }
.story.is-compact .ptag { width: auto; }
.story.is-compact .ptag b, .story.is-compact .ptag small { display: none; }
.story.is-compact .ptag .n { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: rgba(11, 12, 14, .85); box-shadow: 0 0 0 1px var(--line2) inset; font-size: 9.5px; letter-spacing: 0; color: var(--mute); }
.story.is-compact .ptag.is-on .n { background: var(--volt); color: var(--volt-ink); box-shadow: 0 0 12px var(--glow); }
.story.is-compact .pcard__top { font-size: 9.5px; }
.story.is-compact .pcard .meme--sm { font-size: 13.5px; line-height: 1.5; }
.story.is-compact .pcard__txt { font-size: 13.5px; }
@media (min-width: 861px) { .story.is-compact .anat { left: 50%; right: auto; width: min(560px, 100% - 28px); translate: -50% 0; } }

/* static anatomy for reduced motion / no JS */
.anat-static { display: none; padding: 90px 0 40px; }
html:not(.js) .anat-static, html.rm .anat-static { display: block; }
html:not(.js) .parts, html.rm .parts, html:not(.js) .anat, html.rm .anat, html:not(.js) .scroll-hint, html.rm .scroll-hint { display: none; }
.anat-static__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(340px, 100%), 1fr)); gap: 14px; margin: 34px 0 0; padding: 0; list-style: none; }
.anat-static__list li { display: grid; grid-template-columns: 96px 1fr; gap: 16px; align-items: start; padding: 18px; border-radius: var(--r); background: var(--card); box-shadow: 0 0 0 1px var(--line) inset; }
.anat-static__list .ph { height: 84px; display: grid; place-items: center; }
.anat-static__list img { max-height: 84px; width: auto; object-fit: contain; }
.anat-static__list h3 { font-size: 18px; }
.anat-static__list p { margin-top: 6px; color: var(--mute); font-size: 14px; }

/* ---------------------------------------------------------------- film: one camera, seven stages */
.film { position: relative; height: 900vh; background: #0a0b0d; }
.film__sticky { position: sticky; top: 0; height: 100vh; height: 100lvh; overflow: hidden; }
.film__stage { position: absolute; inset: 0; }
.film__poster img, .film__canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.film__canvas { opacity: 0; transition: opacity .6s; }
.film__canvas.is-on { opacity: 1; }
.film__shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(8, 9, 11, .78) 0%, rgba(8, 9, 11, .38) 34%, rgba(8, 9, 11, 0) 58%), linear-gradient(0deg, rgba(8, 9, 11, .7) 0%, rgba(8, 9, 11, 0) 34%), linear-gradient(180deg, rgba(8, 9, 11, .55) 0%, rgba(8, 9, 11, 0) 16%); }
.fintro { position: absolute; z-index: 3; left: var(--pad); top: 50%; translate: 0 -50%; width: min(620px, 52vw); }
.fintro h2 { margin-top: 18px; font-size: clamp(40px, 5vw, 76px); line-height: .98; letter-spacing: -.04em; }
.fintro__txt { margin-top: 18px; max-width: 30em; color: #c9d0d7; font-size: 17px; }
.fcap { position: absolute; z-index: 3; left: var(--pad); bottom: 104px; width: min(520px, 44vw); opacity: var(--co, 1); transform: translateY(calc((1 - var(--co, 1)) * 10px)); transition: opacity .25s; }
.fcap.is-hidden { opacity: 0 !important; pointer-events: none; }
.fcap__num { font: 600 11.5px/1.2 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--volt2); }
.fcap__title { margin-top: 10px; font-size: clamp(36px, 4vw, 60px); letter-spacing: -.04em; text-shadow: 0 2px 30px rgba(0, 0, 0, .4); }
.fcap__txt { margin-top: 14px; max-width: 34em; color: #d5dbe1; font-size: 16px; text-shadow: 0 1px 12px rgba(0, 0, 0, .6); }
.rail { position: absolute; z-index: 3; left: var(--pad); right: var(--pad); bottom: 26px; display: grid; grid-template-columns: 1fr auto; align-items: end; row-gap: 12px; opacity: 0; transition: opacity .4s; }
.film:not(.is-intro) .rail { opacity: 1; }
.rail__label { font: 600 12px/1.4 var(--mono); letter-spacing: .04em; color: #c9d0d7; }
.rail__label b { color: #fff; }
.rail__list { grid-column: 1 / -1; display: flex; gap: 5px; margin: 0; padding: 0; list-style: none; }
.rail__list li { flex: var(--w, 1) 1 0; min-width: 0; }
.rail__list button { position: relative; display: flex; gap: 8px; align-items: baseline; width: 100%; padding: 12px 0 0; border: 0; background: none; text-align: left; cursor: pointer; color: rgba(255, 255, 255, .45); font: 600 12.5px/1.2 var(--f); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color .25s; }
.rail__list button::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--volt), var(--volt)) left / calc(var(--fill, 0) * 100%) 100% no-repeat, rgba(255, 255, 255, .2); }
.rail__list .n { font: 600 10px/1 var(--mono); }
.rail__list .d { display: none; }
.rail__list button.is-done { color: rgba(255, 255, 255, .7); }
.rail__list button.is-active { color: #fff; }
.rail__list button.is-active .n { color: var(--volt2); }
.rail__day { grid-column: 2; grid-row: 1; font: 600 12px/1.4 var(--mono); letter-spacing: .04em; color: #c9d0d7; }
.rail__day b { color: var(--volt2); font-size: 14px; }
.fend { position: absolute; z-index: 4; left: 50%; top: 22%; translate: -50% 0; text-align: center; opacity: 0; transform: translateY(14px); transition: opacity .5s, transform .5s; pointer-events: none; }
.fend.is-on { opacity: 1; transform: none; pointer-events: auto; }
.fend p { font: 800 clamp(26px, 3vw, 44px)/1.1 var(--f); letter-spacing: -.03em; margin-bottom: 20px; text-shadow: 0 2px 30px rgba(0, 0, 0, .55); }
.film-static { display: none; padding: 90px 0 30px; }
html:not(.js) .film-static, html.rm .film-static { display: block; }
html:not(.js) .film, html.rm .film { display: none; }
.film-static__list { display: grid; gap: 22px; margin: 34px 0 0; padding: 0; list-style: none; }
.film-static__list li { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 26px; align-items: center; }
.film-static__list img { width: 100%; height: auto; border-radius: var(--r); }
.film-static__list h3 { margin-top: 8px; font-size: 28px; }
.film-static__list p { margin-top: 10px; color: var(--mute); }

/* ---------------------------------------------------------------- sections */
.sec { position: relative; padding: clamp(80px, 11vw, 150px) 0; }
.sec + .sec { padding-top: clamp(40px, 6vw, 80px); }
.sec__head { max-width: 760px; }
.h2 { margin-top: 18px; font-size: clamp(38px, 4.6vw, 68px); letter-spacing: -.04em; line-height: 1; }
.sec__head .lead { margin-top: 18px; color: var(--mute); font-size: 17px; max-width: 40em; }
.sec__head .meme { margin-top: 18px; }

/* calculator */
.calc__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 22px; margin-top: 44px; }
.calc__inputs, .calc__out { padding: 30px; border-radius: 24px; background: var(--card); box-shadow: 0 0 0 1px var(--line) inset; }
.calc__inputs { display: grid; gap: 26px; align-content: start; }
.field { margin: 0; padding: 0; border: 0; min-width: 0; }
.field legend, .field label[for], .step__lbl { font: 700 14px/1.3 var(--f); color: var(--ink); padding: 0; }
.field legend { margin-bottom: 12px; }
.field__row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.field__row output { font: 700 15px/1 var(--mono); color: var(--volt); }
input[type="range"] { --p: 23%; width: 100%; height: 28px; margin: 0; background: none; -webkit-appearance: none; appearance: none; cursor: pointer; }
input[type="range"]::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--volt) var(--p), rgba(255, 255, 255, .12) var(--p)); }
input[type="range"]::-moz-range-track { height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--volt) var(--p), rgba(255, 255, 255, .12) var(--p)); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; margin-top: -10px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 5px rgba(74, 168, 255, .25), 0 4px 14px rgba(0, 0, 0, .5); }
input[type="range"]::-moz-range-thumb { width: 24px; height: 24px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 0 0 5px rgba(74, 168, 255, .25), 0 4px 14px rgba(0, 0, 0, .5); }
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 6px; padding: 5px; border-radius: 14px; background: rgba(255, 255, 255, .035); box-shadow: 0 0 0 1px var(--line) inset; }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg span { display: grid; place-items: center; min-height: 44px; padding: 8px 6px; border-radius: 10px; font: 700 15px/1.15 var(--f); color: var(--mute); text-align: center; transition: background .2s, color .2s, box-shadow .2s; }
.seg span small { display: block; margin-top: 3px; font: 500 11.5px/1.2 var(--f); color: var(--dim); }
.seg input:checked + span { background: rgba(74, 168, 255, .14); color: var(--ink); box-shadow: 0 0 0 1px rgba(74, 168, 255, .55) inset; }
.seg input:checked + span small { color: var(--volt2); }
.seg input:focus-visible + span { outline: 2px solid var(--volt); outline-offset: 2px; }
.field--steps { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.step { display: grid; gap: 10px; }
.step__ctl { display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; padding: 4px; border-radius: 14px; background: rgba(255, 255, 255, .035); box-shadow: 0 0 0 1px var(--line) inset; }
.step__ctl button { height: 40px; border: 0; border-radius: 10px; background: rgba(255, 255, 255, .06); font: 600 20px/1 var(--f); cursor: pointer; transition: background .2s; }
.step__ctl button:hover { background: rgba(74, 168, 255, .2); }
.step__ctl output { text-align: center; font: 700 18px/1 var(--mono); }
.switch { display: flex; align-items: center; gap: 14px; cursor: pointer; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch i { position: relative; flex: none; width: 50px; height: 30px; border-radius: 999px; background: rgba(255, 255, 255, .1); box-shadow: 0 0 0 1px var(--line2) inset; transition: background .25s; }
.switch i::after { content: ''; position: absolute; left: 4px; top: 4px; width: 22px; height: 22px; border-radius: 50%; background: #dfe4e9; transition: transform .3s cubic-bezier(.3, 1.4, .5, 1); }
.switch input:checked + i { background: var(--volt); }
.switch input:checked + i::after { transform: translateX(20px); background: #fff; }
.switch input:focus-visible + i { outline: 2px solid var(--volt); outline-offset: 3px; }
.switch b { display: block; font: 700 15px/1.3 var(--f); }
.switch small { display: block; font: 500 13px/1.4 var(--f); color: var(--dim); }
.calc__out { position: relative; overflow: hidden; display: flex; flex-direction: column; background: radial-gradient(120% 80% at 100% 0%, rgba(74, 168, 255, .12), transparent 55%), var(--card); }
.calc__label { font: 600 11.5px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
.calc__price { margin-top: 16px; font: 800 clamp(34px, 3.6vw, 54px)/1 var(--f); letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.calc__term { display: flex; align-items: center; gap: 8px; margin-top: 14px; font: 700 17px/1 var(--f); color: var(--volt2); }
.calc__term svg { width: 18px; height: 18px; color: var(--volt); }
.calc__bar { display: flex; gap: 3px; height: 10px; margin-top: 28px; border-radius: 6px; overflow: hidden; }
.calc__bar i { display: block; height: 100%; transition: flex-grow .5s cubic-bezier(.2, .7, .2, 1); background: rgba(74, 168, 255, var(--a, 1)); }
.calc__legend { display: grid; gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; }
.calc__legend li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--mute); }
.calc__legend li i { width: 10px; height: 10px; border-radius: 3px; background: rgba(74, 168, 255, var(--a, 1)); }
.calc__legend li b { margin-left: auto; color: var(--ink); font: 700 14px/1 var(--mono); }
.calc__meme { margin-top: 22px; }
.calc__note { margin-top: auto; padding-top: 18px; font-size: 13px; color: var(--dim); }
.calc__out .btn { margin-top: 18px; white-space: normal; text-align: center; line-height: 1.2; padding-block: 12px; }

/* triage */
.tri__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 22px; margin-top: 44px; align-items: start; }
.tri__pick { display: grid; gap: 18px; }
.tri__opts { display: grid; gap: 8px; }
.tri__opt { display: flex; align-items: center; gap: 14px; width: 100%; padding: 14px 16px; border: 0; border-radius: 16px; background: var(--card); box-shadow: 0 0 0 1px var(--line) inset; text-align: left; cursor: pointer; font: 700 16px/1.25 var(--f); color: var(--mute); transition: background .2s, color .2s, box-shadow .2s; }
.tri__opt svg { width: 26px; height: 26px; flex: none; color: var(--dim); transition: color .2s; }
.tri__opt:hover { color: var(--ink); background: var(--card2); }
.tri__opt[aria-checked="true"] { color: var(--ink); background: rgba(74, 168, 255, .1); box-shadow: 0 0 0 1px rgba(74, 168, 255, .55) inset; }
.tri__opt[aria-checked="true"] svg { color: var(--volt); }
.switch--alert { padding: 16px; border-radius: 16px; background: rgba(255, 93, 82, .06); box-shadow: 0 0 0 1px rgba(255, 93, 82, .25) inset; }
.switch--alert input:checked + i { background: var(--red); }
.tri__res { min-height: 420px; padding: 28px; border-radius: 24px; background: var(--card); box-shadow: 0 0 0 1px var(--line) inset; }
.tri__res.swap > * { animation: swap .4s cubic-bezier(.2, .7, .2, 1) both; }
.lvl { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.lvl__scale { display: grid; grid-template-columns: repeat(3, auto); gap: 4px; padding: 4px; border-radius: 999px; background: rgba(255, 255, 255, .04); box-shadow: 0 0 0 1px var(--line) inset; }
.lvl__scale span { padding: 7px 12px 6px; border-radius: 999px; font: 700 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--dim); }
.lvl__scale span.is-on { background: var(--volt); color: var(--volt-ink); }
.lvl__scale span.is-on.now { background: var(--red); color: #fff; box-shadow: 0 0 0 0 rgba(255, 93, 82, .6); animation: pulse 1.6s ease-out infinite; }
.lvl__scale span.is-on.wait { background: #e9edf1; color: #0b0c0e; }
@keyframes pulse { to { box-shadow: 0 0 0 12px rgba(255, 93, 82, 0); } }
.lvl__note { font: 600 14px/1.3 var(--f); color: var(--mute); }
.tri__res h3 { margin-top: 20px; font-size: 26px; letter-spacing: -.025em; }
.tri__what { margin-top: 10px; color: var(--mute); }
.tri__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 22px; }
.tri__cols h4 { font: 700 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
.tri__cols ul { display: grid; gap: 10px; margin: 12px 0 0; padding: 0; list-style: none; }
.tri__cols li { position: relative; padding-left: 26px; font-size: 15px; line-height: 1.45; }
.tri__cols li svg { position: absolute; left: 0; top: 2px; width: 17px; height: 17px; }
.tri__do li svg { color: var(--volt); }
.tri__dont li svg { color: var(--red); }
.tri__dont li { color: var(--mute); }
.tri__res .btn { margin-top: 26px; }
.tri__fine { margin-top: 16px; font-size: 13px; color: var(--dim); }
.sos { display: flex; gap: 18px; align-items: center; margin-top: 22px; padding: 18px 22px; border-radius: 18px; background: rgba(255, 93, 82, .05); box-shadow: 0 0 0 1px rgba(255, 93, 82, .2) inset; }
.sos > svg { width: 26px; height: 26px; flex: none; color: var(--red); }
.sos ul { display: flex; flex-wrap: wrap; gap: 8px 26px; margin: 0; padding: 0; list-style: none; font-size: 14px; color: var(--mute); }
.sos b { margin-right: 6px; font: 800 16px/1 var(--mono); color: var(--ink); }

/* prices */
.pgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 44px; }
.price { display: flex; flex-direction: column; padding: 26px; border-radius: 22px; background: var(--card); box-shadow: 0 0 0 1px var(--line) inset; transition: transform .3s, box-shadow .3s; }
.price:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px var(--line2) inset, 0 24px 50px -30px rgba(0, 0, 0, .9); }
.price h3 { font-size: 19px; letter-spacing: -.015em; }
.price__v { margin-top: 14px; font: 800 30px/1 var(--f); letter-spacing: -.03em; color: var(--ink); }
.price__v small { font: 600 13px/1 var(--f); color: var(--dim); letter-spacing: 0; }
.price > p:not(.meme) { margin-top: 12px; color: var(--mute); font-size: 14.5px; }
.price--hl { background: radial-gradient(120% 90% at 100% 0%, rgba(74, 168, 255, .16), transparent 60%), var(--card); box-shadow: 0 0 0 1px rgba(74, 168, 255, .4) inset; }

/* why */
.wgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 44px; }
.wcard { padding: 26px; border-radius: 22px; background: linear-gradient(180deg, var(--card2), var(--card)); box-shadow: 0 0 0 1px var(--line) inset; }
.wcard__n { font: 700 12px/1 var(--mono); color: var(--volt); letter-spacing: .1em; }
.wcard h3 { margin-top: 18px; font-size: 20px; letter-spacing: -.02em; line-height: 1.15; }
.wcard > p:not(.meme) { margin-top: 12px; color: var(--mute); font-size: 14.5px; }

/* call */
.call__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .95fr); gap: 40px; align-items: center; padding: clamp(28px, 4vw, 56px); border-radius: 30px; background: radial-gradient(90% 120% at 0% 0%, rgba(74, 168, 255, .13), transparent 55%), var(--card); box-shadow: 0 0 0 1px var(--line2) inset; }
.call__copy .lead { margin-top: 18px; color: var(--mute); font-size: 17px; }
.call__list { display: grid; gap: 10px; margin: 24px 0 0; padding: 0; list-style: none; }
.call__list li { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.call__list svg { width: 18px; height: 18px; color: var(--volt); }
.call__sos { display: flex; align-items: center; gap: 10px; margin-top: 22px; font-size: 14px; color: var(--mute); }
.call__sos svg { width: 18px; height: 18px; color: var(--red); flex: none; }
.cform { position: relative; padding: 26px; border-radius: 22px; background: rgba(8, 9, 11, .6); box-shadow: 0 0 0 1px var(--line2) inset; }
.cform__body { display: grid; gap: 14px; }
.in { display: grid; gap: 7px; }
.in span { font: 600 13px/1 var(--f); color: var(--mute); }
.in input, .in textarea { width: 100%; padding: 14px 16px; border: 0; border-radius: 14px; background: rgba(255, 255, 255, .05); box-shadow: 0 0 0 1px var(--line2) inset; outline: none; font-size: 16px; resize: vertical; transition: box-shadow .2s; }
.in input:focus, .in textarea:focus { box-shadow: 0 0 0 1px var(--volt) inset, 0 0 0 4px rgba(74, 168, 255, .15); }
.in input.bad, .in textarea.bad { box-shadow: 0 0 0 1px var(--red) inset; }
.in ::placeholder { color: var(--dim); }
.cform__fine { font-size: 12.5px; color: var(--dim); text-align: center; }
.cform__done { display: none; text-align: center; padding: 30px 10px; }
.cform__done svg { width: 54px; height: 54px; margin: 0 auto; padding: 12px; border-radius: 50%; color: var(--volt-ink); background: var(--volt); box-shadow: 0 0 30px var(--glow); }
.cform__done h3 { margin-top: 18px; font-size: 24px; }
.cform__done p { margin-top: 10px; color: var(--mute); }
.cform.is-sent .cform__body { display: none; }
.cform.is-sent .cform__done { display: block; }

/* footer */
.foot { padding: 56px 0 46px; border-top: 1px solid var(--line); }
.foot__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 30px; }
.foot__note { margin-top: 16px; max-width: 44em; font-size: 13.5px; color: var(--dim); }
.foot h4 { font: 700 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--mute); margin-bottom: 14px; }
.foot p { font-size: 14px; color: var(--mute); }
.foot p + p { margin-top: 6px; }
.foot a { color: var(--ink); text-underline-offset: 3px; }

.toast { position: fixed; z-index: 60; left: 50%; bottom: 24px; translate: -50% 0; padding: 12px 18px; border-radius: 999px; background: #f4f6f8; color: #0b0c0e; font: 700 14px/1.2 var(--f); box-shadow: 0 16px 40px rgba(0, 0, 0, .5); opacity: 0; transform: translateY(10px); transition: opacity .3s, transform .3s; pointer-events: none; white-space: nowrap; }
.toast.is-on { opacity: 1; transform: none; }

.rv { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1); }
.rv.is-in { opacity: 1; transform: none; }
html.rm .rv { opacity: 1; transform: none; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1180px) {
  .hdr__nav { display: none; }
  .mode { margin-left: auto; }
  .wgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .calc__grid, .tri__grid, .call__grid { grid-template-columns: 1fr; }
  .foot__grid { grid-template-columns: 1fr 1fr; }
  .foot__grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  :root { --nav: 58px; }
  .hdr { gap: 10px; }
  .hdr__cta { width: 42px; padding: 0; }
  .hdr__cta span { display: none; }
  .logo svg { width: 28px; height: 28px; }
  .logo b { font-size: 13px; letter-spacing: .16em; }
  .mode__badge { position: absolute; right: 8px; top: calc(100% + 3px); padding: 4px 6px 3px; font-size: 8.5px; background: rgba(11, 12, 14, .9); }
  .mode__seg button { padding: 8px 10px; font-size: 12.5px; }
  .hero-copy { top: calc(var(--nav) + 18px); translate: none; width: auto; right: var(--pad); }
  .hero-copy h1 { margin-top: 12px; font-size: clamp(38px, 11.4vw, 60px); }
  .hero-copy .meme { margin-top: 12px; font-size: 15px; }
  .hero-copy .lead { display: none; }
  .hero-ctas { margin-top: 18px; }
  .hero-ctas .btn { min-height: 44px; padding: 0 18px; font-size: 14px; }
  .hero-ctas__calc { display: none; }
  .scroll-hint span { display: none; }
  .facts { display: none; }
  .hero-panel { right: auto; left: 50%; top: auto; bottom: -6svh; height: min(70svh, 150vw); translate: -50% 0; }
  .story__stage { background: radial-gradient(120% 70% at 50% 80%, #121519 0%, var(--bg) 62%); }
  .meme--sm { font-size: 14px; margin-top: 8px; }
  .scroll-hint { bottom: 12px; }
  .fintro { top: auto; bottom: 18svh; translate: none; width: auto; right: var(--pad); }
  .fintro h2 { font-size: clamp(36px, 10.5vw, 52px); }
  .fintro__txt { font-size: 15px; }
  .film__shade { background: linear-gradient(0deg, rgba(8, 9, 11, .9) 0%, rgba(8, 9, 11, .55) 38%, rgba(8, 9, 11, 0) 62%), linear-gradient(180deg, rgba(8, 9, 11, .6) 0%, rgba(8, 9, 11, 0) 18%); }
  .fcap { left: 16px; right: 16px; width: auto; bottom: 64px; }
  .fcap__title { font-size: 34px; }
  .fcap__txt { font-size: 14.5px; margin-top: 8px; }
  .rail { left: 16px; right: 16px; bottom: 16px; row-gap: 8px; }
  .rail__label { font-size: 10.5px; }
  .rail__list { gap: 3px; }
  .rail__list button { padding-top: 8px; font-size: 0; }
  .rail__list button > span { display: none; }
  .rail__day { font-size: 10.5px; }
  .fend { top: 16svh; width: calc(100% - 32px); }
  .film-static__list li { grid-template-columns: 1fr; gap: 12px; }
  .pgrid, .wgrid { grid-template-columns: 1fr; }
  .tri__cols { grid-template-columns: 1fr; }
  .calc__inputs, .calc__out, .tri__res { padding: 22px; }
  .sos { align-items: flex-start; }
  .h2 { font-size: clamp(34px, 9.6vw, 48px); }
  .meme { font-size: 16px; }
}
@media (max-width: 760px) and (orientation: portrait) {
  /* the film on a phone: a framed picture on top, caption and status rail below it */
  .film__stage { inset: auto 0 auto 0; top: var(--nav); height: 60svh; }
  .film__shade { background: linear-gradient(0deg, #0a0b0d 0%, rgba(10, 11, 13, 0) 20%), linear-gradient(180deg, rgba(10, 11, 13, .55) 0%, rgba(10, 11, 13, 0) 14%); }
  .fintro { top: auto; bottom: 22px; }
  .fintro h2 { font-size: 34px; }
  .fintro .meme { margin-top: 10px; font-size: 14px; }
  .fintro__txt { margin-top: 10px; font-size: 14px; }
  .fcap { bottom: 70px; }
  .fcap__title { font-size: 30px; margin-top: 6px; }
  .fcap .meme--sm { font-size: 14px; }
  .fcap__txt { font-size: 14px; }
  .fend { top: calc(var(--nav) + 30svh); }
}
@media (max-width: 380px) {
  .logo b { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
