@font-face { font-family: 'Manrope'; font-style: normal; font-display: swap; font-weight: 200 800; 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-display: swap; font-weight: 200 800; src: url(../fonts/manrope-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Manrope'; font-style: normal; font-display: swap; font-weight: 200 800; 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-display: swap; font-weight: 300 600; 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-display: swap; font-weight: 300 600; 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+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215; }

:root {
  --ink0: #06080b; --ink: #0b0e13; --ink2: #0e1218; --panel: #131820; --panel2: #19202a; --panel3: #212a36;
  --line: rgba(226, 232, 240, .08); --line2: rgba(226, 232, 240, .15);
  --tx: #eef1f3; --tx2: rgba(238, 241, 243, .68); --tx3: rgba(238, 241, 243, .44);
  --acc: #39c9a6; --acc-h: #55d8b8; --acc-soft: rgba(57, 201, 166, .13); --acc-ink: #0f7f66; --on-acc: #03150f;
  --paper: #eef0ec; --paper2: #e3e6e0; --card: #fbfbf9; --ink-t: #0d1116; --ink-t2: rgba(13, 17, 22, .68); --ink-t3: rgba(13, 17, 22, .46); --hair: rgba(13, 17, 22, .1); --hair2: rgba(13, 17, 22, .18);
  --font: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif; --mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --ease: cubic-bezier(.22, .8, .2, 1); --hdr: 68px; --gut: clamp(16px, 4vw, 56px); --r: 22px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr) + 8px); }
html:not(.reduced) { scroll-behavior: smooth; }
html.locked body { overflow: hidden; }
body { margin: 0; background: var(--ink); color: var(--tx); font: 400 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: clip; }
img, canvas, svg { display: block; }
svg { width: 1em; height: 1em; flex: none; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; border-radius: 6px; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 200; background: var(--acc); color: var(--on-acc); padding: 10px 16px; border-radius: 99px; text-decoration: none; font-weight: 700; }
.skip:focus { top: 12px; }
.wrap { width: min(1280px, calc(100% - 2 * var(--gut))); margin: 0 auto; }
.nojs { position: fixed; bottom: 0; left: 0; right: 0; z-index: 300; background: var(--acc); color: var(--on-acc); padding: 10px 16px; text-align: center; font-weight: 600; }

/* ------------------------------------------------------------------ type & atoms */
.kicker { display: inline-flex; align-items: center; gap: 12px; font: 500 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--acc); }
.kicker::before { content: attr(data-idx); color: var(--tx3); letter-spacing: .08em; padding-right: 12px; border-right: 1px solid var(--line2); }
.kicker:not([data-idx])::before { content: none; }
.light .kicker { color: var(--acc-ink); }
.light .kicker::before { color: var(--ink-t3); border-color: var(--hair2); }
h2 { font: 600 clamp(30px, 3.8vw, 54px)/1.04 var(--font); letter-spacing: -.035em; text-wrap: balance; }
.lead-s { font-size: clamp(16px, 1.25vw, 18px); line-height: 1.6; color: var(--tx2); max-width: 54ch; text-wrap: pretty; }
.light .lead-s { color: var(--ink-t2); }
.note { margin-top: 22px; font-size: 13.5px; color: var(--tx3); max-width: 80ch; }
.light .note { color: var(--ink-t3); }
.note-s { margin-top: 14px; font-size: 12.5px; }
.tk { display: inline-grid; place-items: center; min-width: 30px; height: 22px; padding: 0 6px; border-radius: 6px; font: 600 10.5px/1 var(--mono); letter-spacing: .04em; color: var(--tx); background: var(--panel3); border: 1px solid var(--line2); }

.btn { --h: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: var(--h); padding: 0 26px; border-radius: 99px; font-weight: 700; font-size: 15px; letter-spacing: .005em; text-decoration: none; white-space: nowrap; transition: transform .25s var(--ease), background-color .2s, color .2s, box-shadow .25s, border-color .2s; }
.btn svg { font-size: 18px; transition: transform .25s var(--ease); }
.btn:hover svg[aria-hidden] { transform: translateX(2px); }
.btn:active { transform: scale(.98); }
.btn small { font: 500 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; opacity: .7; }
.btn-acc { background: var(--acc); color: var(--on-acc); box-shadow: 0 10px 30px -10px rgba(57, 201, 166, .55); }
.btn-acc:hover { background: var(--acc-h); }
.btn-glass { background: rgba(255, 255, 255, .1); color: #fff; border: 1px solid rgba(255, 255, 255, .28); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn-glass:hover { background: rgba(255, 255, 255, .18); }
.btn-ink { background: var(--ink-t); color: #fff; }
.btn-ink:hover { background: #222a33; }
.btn-line { border: 1px solid var(--line2); color: var(--tx); }
.btn-line:hover { border-color: var(--tx2); }
.btn-sm { --h: 40px; padding: 0 18px; font-size: 13.5px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; box-shadow: none; }

/* ------------------------------------------------------------------ header */
.hdr { position: fixed; inset: 0 0 auto; z-index: 60; height: var(--hdr); color: var(--tx); background: rgba(9, 12, 16, .72); backdrop-filter: saturate(1.4) blur(16px); -webkit-backdrop-filter: saturate(1.4) blur(16px); box-shadow: 0 1px 0 var(--line); transition: background-color .35s, color .35s, box-shadow .35s; }
.hdr-in { height: 100%; display: flex; align-items: center; gap: 28px; padding: 0 var(--gut); max-width: 1440px; margin: 0 auto; }
html.in-film .hdr { background: linear-gradient(rgba(5, 7, 10, .5), rgba(5, 7, 10, 0)); backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: none; }
html.hdr-light .hdr { background: rgba(242, 243, 240, .84); color: var(--ink-t); box-shadow: 0 1px 0 var(--hair); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 19px; letter-spacing: -.02em; }
.brand-mark { font-size: 30px; color: var(--acc); }
html.hdr-light .hdr .brand-mark { color: var(--acc-ink); }
.nav { display: flex; gap: 2px; margin-right: auto; }
.nav a { text-decoration: none; font-size: 14px; font-weight: 500; padding: 8px 12px; border-radius: 99px; opacity: .78; transition: opacity .2s, background-color .2s; }
.nav a:hover { opacity: 1; background: rgba(255, 255, 255, .07); }
html.hdr-light .nav a:hover { background: rgba(13, 17, 22, .06); }
.nav a.on { opacity: 1; background: rgba(255, 255, 255, .09); }
html.hdr-light .nav a.on { background: rgba(13, 17, 22, .07); }
.hdr-act { display: flex; align-items: center; gap: 12px; }
.lng { display: inline-flex; border: 1px solid rgba(255, 255, 255, .2); border-radius: 99px; padding: 3px; }
html.hdr-light .lng { border-color: var(--hair2); }
.lng button { font: 600 11.5px/1 var(--mono); letter-spacing: .06em; padding: 7px 10px; border-radius: 99px; opacity: .7; }
.lng button[aria-pressed=true] { background: var(--tx); color: var(--ink); opacity: 1; }
html.hdr-light .lng button[aria-pressed=true] { background: var(--ink-t); color: #fff; }
.burger { display: none; width: 44px; height: 44px; border-radius: 50%; place-items: center; align-content: center; gap: 6px; }
.burger span { display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .3s var(--ease); }
.top-prog { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--acc); transform-origin: left; transform: scaleX(0); }
html.in-film .top-prog { opacity: 0; }

.menu { position: fixed; inset: var(--hdr) 0 auto; z-index: 59; background: rgba(9, 12, 16, .97); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); padding: 20px var(--gut) 28px; display: grid; gap: 18px; transform: translateY(-12px); opacity: 0; transition: opacity .3s, transform .35s var(--ease); border-bottom: 1px solid var(--line); }
.menu.open { opacity: 1; transform: none; }
.menu nav { display: grid; }
.menu nav a { text-decoration: none; font-size: 22px; font-weight: 600; letter-spacing: -.02em; padding: 10px 0; border-bottom: 1px solid var(--line); }
.menu-risk { font-size: 12.5px; color: var(--tx3); }
.scrim { position: fixed; inset: 0; z-index: 58; background: rgba(0, 0, 0, .45); opacity: 0; transition: opacity .3s; }
.scrim.open { opacity: 1; }

/* ------------------------------------------------------------------ film */
.film { position: relative; height: 470vh; background: var(--ink0); z-index: 2; }
.film-stage { position: sticky; top: 0; height: 100vh; height: 100lvh; overflow: hidden; }
.film-media { position: absolute; inset: 0; }
.film-poster, #film-cv { position: absolute; inset: 0; width: 100%; height: 100%; }
.film-poster { object-fit: cover; }
#film-cv { opacity: 0; transition: opacity .3s; }
#film-cv.on { opacity: 1; }
.film-paper { position: absolute; inset: 0; background: var(--paper); opacity: 0; pointer-events: none; }
.scr { position: absolute; left: 0; top: 0; width: 0; height: 0; transform-origin: 0 0; pointer-events: none; z-index: 1; }
.scr .dash { position: absolute; left: 0; top: 0; transform-origin: 0 0; }
.scr.live { pointer-events: auto; }
.scr:not(.live) .dash { box-shadow: none; border-radius: 0; }
.film-shade { position: absolute; inset: 0; pointer-events: none; z-index: 2; background: linear-gradient(90deg, rgba(4, 6, 9, .86) 0%, rgba(4, 6, 9, .6) 32%, rgba(4, 6, 9, 0) 56%), linear-gradient(0deg, rgba(4, 6, 9, .55) 0%, rgba(4, 6, 9, 0) 30%); transition: opacity .6s; }
.film-stage[data-p-high] .film-shade { opacity: 0; }
.hero-copy { position: absolute; z-index: 3; left: var(--gut); top: 50%; transform: translateY(-46%); width: min(600px, 44vw); color: #fff; will-change: opacity, transform; }
.pill-k { display: inline-flex; align-items: center; gap: 10px; font: 500 11.5px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; padding: 9px 14px; border-radius: 99px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.pill-k .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--acc); box-shadow: 0 0 12px var(--acc); }
.hero-copy h1 { margin-top: 22px; font: 600 clamp(34px, 3.9vw, 60px)/1.03 var(--font); letter-spacing: -.04em; text-wrap: balance; }
.hero-copy .lead { margin-top: 18px; font-size: clamp(16px, 1.25vw, 18.5px); color: rgba(255, 255, 255, .8); max-width: 44ch; text-wrap: pretty; }
.facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.facts li { font-size: 13.5px; color: rgba(255, 255, 255, .78); padding: 8px 13px; border-radius: 99px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .13); }
.facts b { color: #fff; font-weight: 700; }
.facts em { font-style: normal; font: 500 10.5px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: rgba(255, 255, 255, .55); margin-left: 4px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hint { display: inline-flex; align-items: center; gap: 8px; margin-top: 26px; font-size: 13px; color: rgba(255, 255, 255, .6); }
.hint svg { animation: nudge 1.8s var(--ease) infinite; }
@keyframes nudge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(4px); } }
.film-cap { position: absolute; z-index: 3; left: 50%; bottom: clamp(80px, 12vh, 120px); transform: translate(-50%, 10px); max-width: min(560px, calc(100% - 32px)); text-align: center; color: #fff; font-weight: 600; font-size: clamp(15px, 1.3vw, 18px); line-height: 1.35; padding: 12px 20px; border-radius: 16px; background: rgba(8, 10, 14, .55); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid rgba(255, 255, 255, .1); opacity: 0; transition: opacity .45s, transform .45s var(--ease); pointer-events: none; }
.film-cap.on { opacity: 1; transform: translate(-50%, 0); }
.film-ui { position: absolute; z-index: 3; left: var(--gut); bottom: 20px; opacity: 0; transition: opacity .4s; }
.film-stage[data-p-high] .film-ui { opacity: 1; }
.film-ch { display: flex; gap: 18px; color: #fff; padding: 11px 16px; border-radius: 99px; background: rgba(8, 10, 14, .5); border: 1px solid rgba(255, 255, 255, .14); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.film-ch li { display: grid; gap: 7px; font: 500 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; opacity: .6; transition: opacity .3s; }
.film-ch li.on, .film-ch li.done { opacity: 1; }
.film-ch i { display: block; width: 64px; height: 2px; background: rgba(255, 255, 255, .26); border-radius: 2px; overflow: hidden; position: relative; }
.film-ch i::after { content: ''; position: absolute; inset: 0; background: var(--acc); transform-origin: left; transform: scaleX(var(--f, 0)); }
.film-skip { position: absolute; z-index: 3; right: var(--gut); bottom: 20px; display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 700; font-size: 13.5px; padding: 11px 16px; border-radius: 99px; background: rgba(8, 10, 14, .5); border: 1px solid rgba(255, 255, 255, .2); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); opacity: 0; pointer-events: none; transition: opacity .4s, background-color .2s; }
.film-stage[data-p-high] .film-skip { opacity: 1; pointer-events: auto; }
.film-skip:hover { background: rgba(8, 10, 14, .75); }
.film-stage.ending .film-ui, .film-stage.ending .film-skip, .film-stage.ending .film-cap { opacity: 0; pointer-events: none; }
.credit { position: absolute; z-index: 3; left: var(--gut); bottom: 14px; display: inline-flex; align-items: center; gap: 7px; font-size: 12px; color: rgba(255, 255, 255, .62); text-decoration: none; transition: opacity .4s; }
.credit:hover { color: #fff; }
.credit .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--acc); }
.film-risk { position: absolute; z-index: 3; right: var(--gut); bottom: 14px; font-size: 11.5px; color: rgba(255, 255, 255, .5); max-width: 46ch; text-align: right; transition: opacity .4s; }
.film-stage[data-p-high] .credit, .film-stage[data-p-high] .film-risk { opacity: 0; pointer-events: none; }
html.no-intro .film { height: 100vh; height: 100svh; }
html.no-intro .film-ui, html.no-intro .film-skip, html.no-intro .hint, html.no-intro .film-cap { display: none; }
html.has-intro .cab { display: none; }

/* ------------------------------------------------------------------ the course dashboard (one DOM, two layouts) */
.dash { --dw: 1280px; --dh: 780px; width: var(--dw); height: var(--dh); background: #f6f7f4; color: var(--ink-t); display: grid; grid-template-columns: 224px 1fr; overflow: hidden; font-size: 14px; line-height: 1.45; border-radius: 14px; box-shadow: 0 30px 80px -30px rgba(13, 17, 22, .35); text-align: left; }
.dash a { text-decoration: none; color: inherit; }
.dash svg { font-size: 16px; }
.d-side { background: #0f141a; color: #e8ecee; padding: 24px 16px; display: flex; flex-direction: column; gap: 22px; }
.d-brand { display: flex; align-items: center; gap: 10px; font-size: 18px; padding: 0 8px; letter-spacing: -.02em; }
.d-brand svg { font-size: 28px; color: var(--acc); }
.d-nav { display: grid; gap: 2px; }
.d-nav a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; font-weight: 500; color: rgba(232, 236, 238, .72); transition: background-color .2s, color .2s; }
.d-nav a:hover { background: rgba(255, 255, 255, .06); color: #fff; }
.d-nav a.on { background: rgba(57, 201, 166, .14); color: #fff; }
.d-nav a.on svg { color: var(--acc); }
.d-risk { margin-top: auto; font-size: 11.5px; line-height: 1.5; color: rgba(232, 236, 238, .5); padding: 12px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .08); }
.d-main { padding: 26px 28px; display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: auto 238px 168px 1fr; gap: 18px; min-height: 0; }
.d-top { grid-column: 1 / -1; display: flex; align-items: center; gap: 24px; }
.d-hi { display: grid; margin-right: auto; }
.d-hi small { font: 500 11px/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-t3); }
.d-hi b { font-size: 26px; font-weight: 700; letter-spacing: -.03em; }
.d-week { display: grid; gap: 7px; font-size: 13px; font-weight: 600; color: var(--ink-t2); min-width: 170px; }
.d-week i { display: block; height: 6px; border-radius: 6px; background: var(--paper2); overflow: hidden; }
.d-week i b { display: block; height: 100%; background: var(--acc); border-radius: 6px; }
.d-ava { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: #0f141a; color: #fff; font-weight: 700; }
.d-card { background: #fff; border-radius: 18px; padding: 20px; border: 1px solid var(--hair); position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 6px; transition: transform .3s var(--ease), box-shadow .3s; }
a.d-card:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -18px rgba(13, 17, 22, .35); }
.d-k { display: inline-flex; align-items: center; gap: 8px; font: 500 11px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-t3); }
.d-k svg { color: var(--acc-ink); font-size: 15px; }
.d-cont { grid-column: span 2; background: #0f141a; color: #fff; border: 0; padding: 26px 28px; gap: 10px; }
.d-cont .d-k { color: rgba(255, 255, 255, .55); }
.d-t { font-size: 25px; line-height: 1.15; font-weight: 700; letter-spacing: -.025em; max-width: 15em; }
.d-meta { display: inline-flex; align-items: center; gap: 8px; color: rgba(255, 255, 255, .62); font-size: 13.5px; }
.d-go { margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 9px; background: var(--acc); color: var(--on-acc); font-weight: 700; padding: 11px 18px; border-radius: 99px; font-size: 14px; }
.d-pbar { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(255, 255, 255, .1); }
.d-pbar i { display: block; height: 100%; background: var(--acc); }
.d-chart { position: absolute; right: 26px; top: 50%; transform: translateY(-50%); width: 250px; height: 140px; }
.d-chart .g { stroke: rgba(255, 255, 255, .07); stroke-width: 1; }
.d-chart .cu path { stroke: var(--acc); stroke-width: 1.6; } .d-chart .cu rect { fill: var(--acc); }
.d-chart .cd path { stroke: #6b7684; stroke-width: 1.6; } .d-chart .cd rect { fill: #6b7684; }
.d-chart .sl { stroke: rgba(255, 255, 255, .7); stroke-width: 1.2; stroke-dasharray: 4 4; }
.d-chart text { fill: rgba(255, 255, 255, .8); font: 600 10px var(--mono); }
.d-prog { display: grid; grid-template-columns: 86px 1fr; grid-template-rows: auto auto 1fr auto; column-gap: 16px; row-gap: 2px; align-content: start; }
.d-ring-w { position: relative; width: 86px; height: 86px; grid-row: 1 / 3; }
.d-ring { width: 86px; height: 86px; transform: rotate(-90deg); }
.d-ring circle { fill: none; stroke: var(--paper2); stroke-width: 8; }
.d-ring .v { stroke: var(--acc); stroke-linecap: round; }
.d-pct { position: absolute; inset: 0; display: grid; place-items: center; font-size: 20px; font-weight: 800; letter-spacing: -.03em; }
.d-pt { font-size: 16px; font-weight: 700; align-self: end; margin-top: 14px; }
.d-prog .d-s { align-self: start; }
.d-mods { grid-column: 1 / -1; display: flex; gap: 6px; margin-top: 18px; }
.d-mods li { flex: 1; height: 6px; border-radius: 6px; background: var(--paper2); }
.d-mods li.ok { background: var(--acc); }
.d-mods li.now { background: linear-gradient(90deg, var(--acc) 50%, var(--paper2) 50%); }
.d-small { grid-column: 1 / -1; font-size: 13px; color: var(--ink-t2); margin-top: 10px; }
.d-num { font-size: 26px; font-weight: 800; letter-spacing: -.03em; margin-top: 4px; }
.d-s { font-size: 13px; color: var(--ink-t2); }
.d-spark { margin-top: auto; width: 100%; height: 40px; }
.d-spark path { fill: none; stroke: var(--acc-ink); stroke-width: 2; stroke-linejoin: round; }
.d-t2 { font-size: 17px; font-weight: 700; letter-spacing: -.015em; line-height: 1.25; margin-top: 4px; }
.d-who { margin-top: auto; display: inline-flex; align-items: center; gap: 10px; font-size: 13px; color: var(--ink-t2); }
.d-who i { font-style: normal; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: #0f141a; color: #fff; font-size: 11px; font-weight: 700; }
.d-list { display: grid; gap: 7px; margin-top: 6px; }
.d-list li { display: flex; align-items: center; gap: 9px; font-size: 13.5px; }
.d-list li::before { content: ''; width: 16px; height: 16px; border-radius: 5px; border: 1.5px solid var(--hair2); flex: none; }
.d-list li.ok { color: var(--ink-t2); }
.d-list li.ok::before { background: var(--acc) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.2 4.2L19 7' fill='none' stroke='%2303150f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; border-color: var(--acc); }
.d-map { grid-column: span 2; }
.d-chips { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.d-chips li { font-size: 13px; font-weight: 600; padding: 8px 12px; border-radius: 99px; background: var(--paper); color: var(--ink-t2); }
.d-chips li.ok { background: rgba(57, 201, 166, .14); color: var(--acc-ink); }
.d-chips li.now { background: #0f141a; color: #fff; }
.d-sec { background: linear-gradient(160deg, #fff, #f1f4f1); }
.d-tabs { display: none; }

/* phone layout of the same dashboard */
.dash.v-m { --dw: 390px; --dh: 870px; grid-template-columns: 1fr; grid-template-rows: 1fr auto; border-radius: 0; font-size: 13.5px; }
.dash.v-m .d-side { display: none; }
.dash.v-m .d-main { padding: 22px 16px 14px; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto auto auto auto 1fr; gap: 12px; overflow: hidden; }
.dash.v-m .d-top { gap: 12px; padding-top: 18px; }
.dash.v-m .d-hi b { font-size: 22px; }
.dash.v-m .d-week { display: none; }
.dash.v-m .d-cont { grid-column: 1 / -1; padding: 20px; min-height: 236px; }
.dash.v-m .d-t { font-size: 21px; max-width: none; }
.dash.v-m .d-chart { position: static; transform: none; width: 100%; height: 66px; margin: 4px 0 2px; }
.dash.v-m .d-prog { grid-column: 1 / -1; grid-template-columns: 64px 1fr; padding: 14px 16px; }
.dash.v-m .d-ring-w, .dash.v-m .d-ring { width: 64px; height: 64px; }
.dash.v-m .d-pct { font-size: 16px; }
.dash.v-m .d-pt { font-size: 15px; margin-top: 8px; }
.dash.v-m .d-mods { margin-top: 12px; }
.dash.v-m .d-small { margin-top: 8px; font-size: 12.5px; }
.dash.v-m .d-tile { padding: 14px; min-height: 120px; }
.dash.v-m .d-num { font-size: 21px; }
.dash.v-m .d-s { font-size: 12px; }
.dash.v-m .d-t2 { font-size: 15px; }
.dash.v-m .d-who span { display: none; }
.dash.v-m .d-hw { display: none; }
.dash.v-m .d-map { grid-column: 1 / -1; }
.dash.v-m .d-chips li { padding: 6px 10px; font-size: 12px; }
.dash.v-m .d-tabs { display: grid; grid-template-columns: repeat(4, 1fr); padding: 10px 8px 22px; background: #fff; border-top: 1px solid var(--hair); }
.d-tabs span { display: grid; justify-items: center; gap: 4px; font-size: 11px; color: var(--ink-t3); }
.d-tabs span svg { font-size: 20px; }
.d-tabs span.on { color: var(--acc-ink); }
.d-tabs i { font-style: normal; }

/* the cabinet section (no intro / reduced motion): the same dashboard, framed */
.cab { background: var(--paper); color: var(--ink-t); padding: calc(var(--hdr) + 56px) 0 110px; position: relative; z-index: 3; }
.cab .kicker { color: var(--acc-ink); }
.cab-head { display: grid; gap: 16px; margin-bottom: 40px; }
.cab-head .lead-s { color: var(--ink-t2); }
.cab-frame { width: min(1280px, calc(100% - 2 * var(--gut))); margin: 0 auto; position: relative; overflow: clip; border-radius: 14px; }
.cab-frame .dash { transform-origin: 0 0; position: absolute; left: 0; top: 0; }

/* ------------------------------------------------------------------ sections */
main { position: relative; z-index: 3; }
.sec { position: relative; padding: clamp(84px, 9vw, 136px) 0; border-radius: 30px 30px 0 0; margin-top: -30px; }
.sec.dark { background: var(--ink); color: var(--tx); }
.sec.deep { background: var(--ink2); }
.sec.light { background: var(--paper); color: var(--ink-t); }
.sec.light h2 { color: var(--ink-t); }
#program { margin-top: 0; border-radius: 0; }
.has-intro #program { box-shadow: 0 -30px 60px rgba(0, 0, 0, .25); }
.sec-head { display: grid; gap: 16px; margin-bottom: clamp(34px, 4vw, 54px); max-width: 760px; }
.sec-head-row { max-width: none; grid-template-columns: 1fr minmax(0, 470px); align-items: end; gap: 22px 56px; }
.sec-head-row > div { display: grid; gap: 16px; }
.rv { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.rv.in { opacity: 1; transform: none; }

/* ------------------------------------------------------------------ program: route + module */
.route { position: relative; display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; padding-top: 6px; }
.route::before { content: ''; position: absolute; left: 3%; right: 3%; top: 30px; height: 2px; background: repeating-linear-gradient(90deg, var(--line2) 0 8px, transparent 8px 14px); }
.rt { position: relative; display: grid; justify-items: center; gap: 12px; text-align: center; padding: 0 4px 18px; border-radius: 16px; transition: background-color .25s; }
.rt-n { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; font: 600 15px/1 var(--mono); background: var(--panel); border: 1px solid var(--line2); color: var(--tx2); position: relative; z-index: 1; transition: background-color .25s, color .25s, border-color .25s, transform .3s var(--ease), box-shadow .3s; }
.rt b { font-size: 15px; font-weight: 700; letter-spacing: -.01em; line-height: 1.25; }
.rt small { font: 500 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--tx3); }
.rt:hover .rt-n { border-color: var(--acc); color: var(--tx); }
.rt[aria-selected=true] .rt-n { background: var(--acc); color: var(--on-acc); border-color: var(--acc); transform: scale(1.08); box-shadow: 0 0 0 8px var(--acc-soft); }
.rt[aria-selected=true] { background: rgba(255, 255, 255, .03); }
.mod { margin-top: 26px; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 20px; }
.mod-ls { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 10px; }
.mod-ls-h { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 16px 18px 12px; }
.mod-ls-h b { font-size: 22px; letter-spacing: -.02em; }
.mod-ls-h span { font: 500 12px/1 var(--mono); color: var(--tx3); letter-spacing: .06em; white-space: nowrap; }
.ls { display: grid; grid-template-columns: 36px 1fr auto; align-items: center; gap: 14px; padding: 13px 16px; border-radius: 14px; transition: background-color .2s; }
.ls:hover { background: rgba(255, 255, 255, .035); }
.ls + .ls { border-top: 1px solid var(--line); }
.ls-i { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--panel2); color: var(--acc); font-size: 18px; }
.ls-t { font-weight: 600; font-size: 15px; line-height: 1.35; }
.ls-t small { display: block; font: 500 11px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--tx3); margin-top: 2px; }
.ls-d { font: 500 13px/1 var(--mono); color: var(--tx2); }
.mod-out { background: linear-gradient(160deg, var(--panel2), var(--panel)); border: 1px solid var(--line); border-radius: var(--r); padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.mod-out .kick { font: 500 11.5px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--acc); }
.mod-out p { font-size: 21px; line-height: 1.4; letter-spacing: -.01em; font-weight: 600; text-wrap: pretty; }
.mod-out .mo-nav { margin-top: auto; display: flex; gap: 10px; }
.mo-nav button { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 99px; border: 1px solid var(--line2); font-size: 13.5px; font-weight: 600; transition: border-color .2s, background-color .2s; }
.mo-nav button:hover { border-color: var(--tx2); }
.mo-nav button svg { font-size: 16px; }
.mo-nav .prev svg { transform: rotate(180deg); }
.mod-mix { display: flex; gap: 8px; flex-wrap: wrap; }
.mod-mix span { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--tx2); padding: 7px 11px; border-radius: 99px; background: rgba(255, 255, 255, .05); }
.mod-mix svg { color: var(--acc); }
.prog-sum { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 10px 28px; font: 500 13px/1.4 var(--mono); color: var(--tx3); letter-spacing: .02em; }
.prog-sum b { color: var(--tx); font-weight: 600; }

/* ------------------------------------------------------------------ trainer terminal */
.term { background: #0a0d11; border: 1px solid var(--line2); border-radius: 24px; overflow: hidden; box-shadow: 0 40px 100px -40px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .04); }
.t-bar { display: flex; align-items: center; gap: 18px; padding: 14px 18px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.t-pair { display: inline-flex; align-items: center; gap: 10px; }
.t-pair b { font: 600 15px/1 var(--mono); letter-spacing: .02em; }
.t-tf { font: 500 12px/1 var(--mono); color: var(--tx3); padding: 5px 7px; border-radius: 6px; background: var(--panel); }
.t-syn { font: 500 10.5px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--tx3); padding: 6px 8px; border-radius: 6px; border: 1px dashed var(--line2); }
.t-scen { display: inline-flex; gap: 4px; padding: 4px; border-radius: 12px; background: var(--panel); margin: 0 auto; }
.t-scen button { font-size: 13px; font-weight: 600; padding: 8px 12px; border-radius: 9px; color: var(--tx2); transition: background-color .2s, color .2s; white-space: nowrap; }
.t-scen button:hover { color: var(--tx); }
.t-scen button[aria-checked=true] { background: var(--panel3); color: var(--tx); box-shadow: inset 0 0 0 1px var(--line2); }
.t-scen button:disabled { opacity: .4; cursor: not-allowed; }
.t-bal { display: grid; text-align: right; }
.t-bal span { font: 500 10.5px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--tx3); }
.t-bal b { font: 600 18px/1.2 var(--mono); letter-spacing: -.01em; }
.t-body { display: grid; grid-template-columns: minmax(0, 1fr) 320px; }
.t-chart { position: relative; height: 470px; border-right: 1px solid var(--line); touch-action: pan-y; }
#t-cv { position: absolute; inset: 0; width: 100%; height: 100%; cursor: crosshair; }
.t-ohlc { position: absolute; left: 14px; top: 12px; font: 500 11.5px/1 var(--mono); color: var(--tx3); display: flex; gap: 12px; pointer-events: none; }
.t-ohlc b { color: var(--tx2); font-weight: 500; }
.t-hdl { position: absolute; right: 0; top: 0; z-index: 2; display: flex; align-items: center; gap: 0; height: 26px; transform: translateY(-50%); cursor: ns-resize; touch-action: none; user-select: none; -webkit-user-select: none; }
.t-hdl b { font: 700 10.5px/26px var(--mono); padding: 0 8px; background: #e9edf0; color: #0a0d11; border-radius: 6px 0 0 6px; letter-spacing: .04em; }
.t-hdl span { font: 600 11.5px/26px var(--mono); padding: 0 8px; background: #1d242e; color: var(--tx); border: 1px solid rgba(233, 237, 240, .5); border-left: 0; border-radius: 0 6px 6px 0; min-width: 76px; text-align: right; }
.t-hdl.tp b { background: var(--acc); color: var(--on-acc); }
.t-hdl.tp span { border-color: rgba(57, 201, 166, .6); }
.t-hdl::before { content: ''; position: absolute; inset: -10px -4px; }
.t-hdl:hover b, .t-hdl.drag b { box-shadow: 0 0 0 4px rgba(233, 237, 240, .15); }
.t-hdl.tp:hover b, .t-hdl.tp.drag b { box-shadow: 0 0 0 4px var(--acc-soft); }
.t-hdl[hidden] { display: none; }
.t-drag { position: absolute; right: 108px; bottom: 34px; font-size: 12px; color: var(--tx3); display: inline-flex; gap: 6px; align-items: center; pointer-events: none; transition: opacity .4s; }
.t-drag.off { opacity: 0; }
.t-run { position: absolute; left: 14px; bottom: 34px; display: inline-flex; align-items: center; gap: 10px; font-size: 13px; color: var(--tx2); padding: 6px 6px 6px 12px; border-radius: 99px; background: rgba(20, 25, 32, .9); border: 1px solid var(--line2); }
.t-run[hidden] { display: none; }
.t-live { width: 8px; height: 8px; border-radius: 50%; background: var(--acc); animation: pulse 1.2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }
.t-run button { font-size: 12.5px; font-weight: 700; padding: 7px 12px; border-radius: 99px; background: var(--tx); color: var(--ink); }
.t-ticket { padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.t-side { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 4px; border-radius: 14px; background: var(--panel); }
.t-side button { display: grid; gap: 2px; padding: 10px 8px; border-radius: 11px; text-align: center; font-weight: 700; font-size: 15px; color: var(--tx2); transition: background-color .2s, color .2s; }
.t-side small { font-size: 11px; font-weight: 500; opacity: .7; }
.t-side button[aria-checked=true] { background: var(--tx); color: var(--ink); }
.t-side button:disabled { cursor: not-allowed; }
.t-row { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: 13.5px; color: var(--tx2); }
.t-row b { font: 600 13.5px/1 var(--mono); color: var(--tx); }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 22px; background: transparent; margin: -6px 0 0; --v: 25%; }
input[type=range]::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--acc) var(--v), var(--panel3) var(--v)); }
input[type=range]::-moz-range-track { height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--acc) var(--v), var(--panel3) var(--v)); }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%; background: #fff; margin-top: -8px; box-shadow: 0 2px 8px rgba(0, 0, 0, .4); }
input[type=range]::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 0; }
.t-lv { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; border-radius: 12px; background: var(--panel); }
.t-chk { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; cursor: pointer; }
.t-chk input { appearance: none; -webkit-appearance: none; width: 34px; height: 20px; border-radius: 20px; background: var(--panel3); position: relative; cursor: pointer; transition: background-color .2s; margin: 0; }
.t-chk input::after { content: ''; position: absolute; left: 3px; top: 3px; width: 14px; height: 14px; border-radius: 50%; background: #fff; transition: transform .2s var(--ease); }
.t-chk input:checked { background: var(--acc); }
.t-chk input:checked::after { transform: translateX(14px); }
.t-px { font: 600 13px/1 var(--mono); color: var(--tx); text-align: right; }
.t-px small { display: block; font-size: 11px; color: var(--tx3); margin-top: 4px; }
.t-risk { padding: 12px; border-radius: 12px; border: 1px solid var(--line); display: grid; gap: 10px; }
.t-meter { position: relative; height: 6px; border-radius: 6px; background: var(--panel3); }
.t-meter i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 6px; background: var(--acc); width: 0; transition: width .3s var(--ease), background-color .3s; }
.t-meter span { position: absolute; top: -3px; width: 1px; height: 12px; background: var(--tx3); }
.t-meter .m1 { left: 20%; } .t-meter .m2 { left: 40%; }
.t-risk.hi .t-meter i { background: #e9edf0; }
.t-risk p { font-size: 12.5px; line-height: 1.45; color: var(--tx2); }
.t-risk.hi p { color: var(--tx); }
.t-risk.hi p::before { content: '! '; font-weight: 800; }
.t-ticket .btn { --h: 54px; gap: 10px; }
.t-speed { display: flex; align-items: center; gap: 4px; font-size: 12.5px; color: var(--tx3); }
.t-speed span { margin-right: auto; }
.t-speed button { font: 600 12px/1 var(--mono); padding: 7px 9px; border-radius: 8px; color: var(--tx2); }
.t-speed button[aria-checked=true] { background: var(--panel3); color: var(--tx); }
.t-foot { display: grid; grid-template-columns: 1.1fr 1.1fr .9fr; border-top: 1px solid var(--line); }
.t-foot > div { padding: 18px 20px; min-height: 186px; }
.t-foot > div + div { border-left: 1px solid var(--line); }
.t-k { display: flex; align-items: center; gap: 8px; font: 500 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--tx3); margin-bottom: 14px; }
.t-k svg { color: var(--acc); font-size: 15px; }
.t-empty { font-size: 14px; color: var(--tx3); line-height: 1.55; }
.t-res-big { font: 600 34px/1 var(--mono); letter-spacing: -.03em; }
.t-res-sub { margin-top: 8px; font-size: 13.5px; color: var(--tx2); }
.t-res-row { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 6px 22px; margin-top: 14px; }
.t-res-row span { font-size: 11.5px; color: var(--tx3); display: grid; gap: 4px; }
.t-res-row b { font: 600 13.5px/1 var(--mono); color: var(--tx); }
.t-badge { display: inline-flex; align-items: center; gap: 6px; font: 600 11px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; padding: 6px 9px; border-radius: 7px; background: var(--panel2); color: var(--tx2); margin-bottom: 12px; }
.t-badge.good { background: var(--acc-soft); color: var(--acc); }
#t-hint-in p { font-size: 15px; line-height: 1.55; color: var(--tx); text-wrap: pretty; }
#t-hint-in p + p { margin-top: 10px; font-size: 13.5px; color: var(--tx2); }
#t-hint-in a { color: var(--acc); font-weight: 600; text-decoration: none; }
#t-hint-in a:hover { text-decoration: underline; }
#t-hint-in .big { color: var(--acc); }
.t-reset { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font: 500 11px/1 var(--mono); letter-spacing: .06em; color: var(--tx3); text-transform: uppercase; }
.t-reset:hover { color: var(--tx); }
#t-log { display: grid; gap: 6px; max-height: 150px; overflow: auto; }
#t-log li:not(.t-empty) { display: grid; grid-template-columns: 22px 1fr auto; gap: 10px; align-items: center; font-size: 12.5px; padding: 7px 10px; border-radius: 9px; background: var(--panel); }
#t-log .n { font: 500 11px/1 var(--mono); color: var(--tx3); }
#t-log .r { font: 600 12.5px/1 var(--mono); }
#t-log .ok { color: var(--acc); }
#t-log small { display: block; color: var(--tx3); font-size: 11px; margin-top: 2px; }

/* ------------------------------------------------------------------ wallet mini-lesson */
.wal-grid { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: clamp(36px, 6vw, 96px); align-items: start; }
.wal-copy { display: grid; gap: 18px; align-content: start; position: sticky; top: calc(var(--hdr) + 32px); }
.wal-steps { counter-reset: s; display: grid; gap: 4px; margin-top: 8px; }
.wal-steps li { counter-increment: s; display: flex; align-items: center; gap: 14px; padding: 11px 14px; border-radius: 14px; font-weight: 600; color: var(--ink-t3); transition: background-color .3s, color .3s; }
.wal-steps li::before { content: counter(s); width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font: 600 12px/1 var(--mono); border: 1px solid var(--hair2); flex: none; transition: background-color .3s, color .3s, border-color .3s; }
.wal-steps li.on { background: #fff; color: var(--ink-t); box-shadow: 0 8px 24px -16px rgba(13, 17, 22, .4); }
.wal-steps li.on::before { background: var(--ink-t); color: #fff; border-color: var(--ink-t); }
.wal-steps li.done { color: var(--ink-t2); }
.wal-steps li.done::before { content: '✓'; background: var(--acc); border-color: var(--acc); color: var(--on-acc); }
.wal-photo { margin-top: 10px; border-radius: 20px; overflow: hidden; position: relative; background: #1a1d21; }
.wal-photo img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.wal-photo figcaption { position: absolute; left: 14px; right: 14px; bottom: 14px; font-size: 13px; color: #fff; padding: 10px 14px; border-radius: 12px; background: rgba(8, 10, 14, .6); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.phone { width: 400px; height: 820px; border-radius: 58px; padding: 14px; background: linear-gradient(145deg, #2a2f36, #0d1014 40%, #1f242b); box-shadow: 0 50px 100px -40px rgba(13, 17, 22, .55), inset 0 0 0 1.5px rgba(255, 255, 255, .12); position: relative; }
.phone::before { content: ''; position: absolute; left: 50%; top: 26px; width: 104px; height: 30px; border-radius: 20px; background: #05070a; transform: translateX(-50%); z-index: 3; }
.ph-scr { width: 100%; height: 100%; border-radius: 45px; overflow: hidden; background: #f7f8f6; color: var(--ink-t); position: relative; display: flex; flex-direction: column; }
.ph-bar { display: flex; justify-content: space-between; padding: 20px 30px 0; font: 600 13px/1 var(--font); height: 58px; flex: none; }
.ph-app { display: flex; align-items: center; gap: 10px; padding: 8px 22px 14px; border-bottom: 1px solid var(--hair); flex: none; }
.ph-app i { width: 30px; height: 30px; border-radius: 9px; background: #0f141a; color: var(--acc); display: grid; place-items: center; font-size: 17px; }
.ph-app b { font-size: 15px; }
.ph-app small { margin-left: auto; font: 500 10px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-t3); }
.ph-body { flex: 1; padding: 22px; display: flex; flex-direction: column; gap: 14px; overflow: hidden; animation: phin .45s var(--ease); }
@keyframes phin { from { opacity: 0; transform: translateX(16px); } to { opacity: 1; transform: none; } }
.ph-body h3 { font-size: 24px; line-height: 1.15; letter-spacing: -.025em; font-weight: 700; }
.ph-body p { font-size: 14px; color: var(--ink-t2); line-height: 1.5; }
.ph-hero { height: 190px; border-radius: 22px; background: radial-gradient(120% 90% at 30% 20%, #1d2a2a, #0f141a 70%); display: grid; place-items: center; color: var(--acc); font-size: 64px; flex: none; }
.ph-hero svg { width: 76px; height: 76px; }
.ph-cta { margin-top: auto; display: grid; gap: 8px; }
.ph-btn { height: 52px; border-radius: 16px; font-weight: 700; font-size: 15px; background: #0f141a; color: #fff; display: inline-flex; align-items: center; justify-content: center; gap: 8px; transition: opacity .2s, transform .2s; }
.ph-btn:disabled { opacity: .35; cursor: not-allowed; }
.ph-btn:not(:disabled):active { transform: scale(.98); }
.ph-btn.alt { background: transparent; color: var(--ink-t2); height: 40px; font-size: 13.5px; }
.ph-chk { display: flex; gap: 12px; align-items: flex-start; padding: 13px 14px; border-radius: 16px; background: #fff; border: 1px solid var(--hair); font-size: 13.5px; line-height: 1.45; cursor: pointer; transition: border-color .2s; }
.ph-chk input { appearance: none; -webkit-appearance: none; width: 22px; height: 22px; border-radius: 7px; border: 1.5px solid var(--hair2); flex: none; margin: 0; display: grid; place-items: center; transition: background-color .2s, border-color .2s; }
.ph-chk input:checked { background: var(--acc); border-color: var(--acc); }
.ph-chk input:checked::after { content: ''; width: 10px; height: 6px; border-left: 2.4px solid var(--on-acc); border-bottom: 2.4px solid var(--on-acc); transform: rotate(-45deg) translate(1px, -1px); }
.ph-chk:has(input:checked) { border-color: rgba(57, 201, 166, .6); }
.seed { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; padding: 12px; border-radius: 18px; background: #fff; border: 1px solid var(--hair); }
.seed li { display: flex; gap: 6px; align-items: baseline; padding: 9px 8px; border-radius: 10px; background: var(--paper); font-size: 13.5px; font-weight: 600; transition: filter .5s; }
.seed li small { font: 500 10px/1 var(--mono); color: var(--ink-t3); }
.seed.blur li { filter: blur(6px); }
.seed-stamp { position: absolute; right: 10px; top: -11px; font: 700 10px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; padding: 6px 8px; border-radius: 6px; background: var(--ink-t); color: #fff; }
.seed-show { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 8px; border-radius: 18px; font-weight: 700; font-size: 14px; color: var(--ink-t); background: rgba(247, 248, 246, .55); }
.seed-show svg { font-size: 26px; }
.seed-warn { display: flex; gap: 10px; font-size: 12.5px; line-height: 1.45; color: var(--ink-t2); padding: 11px 12px; border-radius: 14px; background: rgba(13, 17, 22, .05); }
.seed-warn svg { font-size: 18px; flex: none; color: var(--ink-t); }
.opt { display: grid; gap: 8px; }
.opt button { text-align: left; padding: 13px 14px; border-radius: 16px; background: #fff; border: 1px solid var(--hair); font-size: 14px; font-weight: 600; line-height: 1.35; transition: border-color .2s, background-color .2s; display: flex; gap: 10px; align-items: flex-start; }
.opt button:hover { border-color: var(--hair2); }
.opt button i { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--hair2); flex: none; display: grid; place-items: center; font-style: normal; font-size: 12px; margin-top: -1px; }
.opt button.ok { border-color: var(--acc); background: rgba(57, 201, 166, .08); }
.opt button.ok i { background: var(--acc); border-color: var(--acc); color: var(--on-acc); }
.opt button.no { border-color: var(--ink-t2); background: rgba(13, 17, 22, .04); }
.opt button.no i { background: var(--ink-t); border-color: var(--ink-t); color: #fff; }
.fb { font-size: 13px; line-height: 1.5; padding: 12px 14px; border-radius: 14px; background: #fff; border: 1px solid var(--hair); animation: phin .35s var(--ease); }
.fb b { display: block; margin-bottom: 3px; }
.fb.ok { border-color: rgba(57, 201, 166, .6); }
.vpick { display: grid; gap: 14px; }
.vq { display: grid; gap: 7px; }
.vq > span { font-size: 13px; font-weight: 600; color: var(--ink-t2); }
.vq div { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.vq button { padding: 10px 6px; border-radius: 12px; background: #fff; border: 1px solid var(--hair); font-size: 13.5px; font-weight: 600; transition: border-color .2s, background-color .2s; }
.vq button.ok { background: var(--acc); border-color: var(--acc); color: var(--on-acc); }
.vq button.no { animation: shake .35s; border-color: var(--ink-t2); }
@keyframes shake { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
.ph-done { display: grid; justify-items: center; text-align: center; gap: 12px; margin-top: 30px; }
.ph-done .tick { width: 84px; height: 84px; border-radius: 50%; background: var(--acc); color: var(--on-acc); display: grid; place-items: center; font-size: 40px; box-shadow: 0 0 0 12px var(--acc-soft); animation: pop .5s var(--ease); }
@keyframes pop { from { transform: scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }
.ph-sum { display: grid; gap: 8px; text-align: left; width: 100%; margin-top: 6px; }
.ph-sum li { display: flex; gap: 10px; font-size: 13.5px; padding: 10px 12px; border-radius: 12px; background: #fff; border: 1px solid var(--hair); }
.ph-sum li svg { color: var(--acc-ink); font-size: 18px; }

/* ------------------------------------------------------------------ pricing + quiz */
.pr-grid { display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: 20px; align-items: stretch; }
.quiz { background: linear-gradient(170deg, #142a26, #10161d 60%); border: 1px solid rgba(57, 201, 166, .22); border-radius: var(--r); padding: 26px; display: flex; flex-direction: column; gap: 16px; min-height: 520px; }
.qz-k { display: flex; justify-content: space-between; font: 500 11.5px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--acc); }
.qz-k span:last-child { color: var(--tx3); }
.qz-bar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; }
.qz-bar i { height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .12); transition: background-color .3s; }
.qz-bar i.on { background: var(--acc); }
.quiz h3 { font-size: 23px; line-height: 1.2; letter-spacing: -.02em; font-weight: 700; margin-top: 4px; }
.qz-opts { display: grid; gap: 8px; }
.qz-opts button { text-align: left; padding: 15px 16px; border-radius: 14px; border: 1px solid var(--line2); background: rgba(255, 255, 255, .03); font-weight: 600; font-size: 15px; transition: border-color .2s, background-color .2s, transform .2s var(--ease); display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.qz-opts button:hover { border-color: var(--acc); background: var(--acc-soft); }
.qz-opts button svg { opacity: 0; transition: opacity .2s, transform .2s var(--ease); color: var(--acc); }
.qz-opts button:hover svg { opacity: 1; transform: translateX(2px); }
.qz-back { margin-top: auto; align-self: flex-start; font-size: 13px; color: var(--tx3); display: inline-flex; gap: 6px; align-items: center; }
.qz-back:hover { color: var(--tx); }
.qz-res p { font-size: 15px; line-height: 1.55; color: var(--tx2); }
.qz-res .qz-pick { font-size: 30px; font-weight: 800; letter-spacing: -.03em; color: var(--tx); }
.qz-res .qz-pick small { display: block; font: 500 11.5px/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--acc); margin-bottom: 6px; }
.qz-act { margin-top: auto; display: grid; gap: 8px; }
.tracks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.trk { position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 26px 24px; display: flex; flex-direction: column; gap: 14px; transition: border-color .35s, transform .35s var(--ease), box-shadow .35s, background-color .35s; }
.trk.hot { background: linear-gradient(170deg, var(--panel2), var(--panel)); }
.trk-tag { position: absolute; top: -11px; left: 22px; font: 600 10.5px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; padding: 6px 9px; border-radius: 7px; background: var(--tx); color: var(--ink); }
.trk.rec { border-color: var(--acc); box-shadow: 0 0 0 4px var(--acc-soft), 0 30px 60px -30px rgba(57, 201, 166, .35); transform: translateY(-6px); }
.trk.rec .trk-tag { background: var(--acc); color: var(--on-acc); }
.trk h3 { font-size: 26px; letter-spacing: -.03em; font-weight: 700; }
.trk .f { font-size: 14px; color: var(--tx2); margin-top: -8px; }
.trk .pr { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trk .pr b { font-size: 36px; font-weight: 800; letter-spacing: -.04em; }
.trk .pr span { font: 500 10.5px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--tx3); padding: 5px 7px; border-radius: 6px; border: 1px solid var(--line2); }
.trk .who { font-size: 13.5px; color: var(--tx2); }
.trk ul { display: grid; gap: 9px; }
.trk li { display: flex; gap: 10px; font-size: 14px; line-height: 1.4; }
.trk li svg { color: var(--acc); font-size: 17px; margin-top: 1px; }
.trk .btn { margin-top: auto; }

/* ------------------------------------------------------------------ lesson player */
.player { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 18px; }
.pl-main { background: #0b0e13; border-radius: 22px; overflow: hidden; box-shadow: 0 40px 80px -40px rgba(13, 17, 22, .5); }
.pl-video { position: relative; aspect-ratio: 16 / 9; background: #0b0e13; overflow: hidden; }
.pl-frames { position: absolute; inset: 0; }
.pl-frames > * { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .6s; }
.pl-frames > .on { opacity: 1; }
.pl-frames img { object-fit: cover; }
.pl-slide { background: radial-gradient(120% 120% at 80% 0%, #17202a, #0b0e13 60%); color: #fff; }
.pl-slide canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.pl-slide .sl-h { position: absolute; left: 5%; top: 7%; font-size: clamp(15px, 2vw, 26px); font-weight: 700; letter-spacing: -.02em; max-width: 60%; }
.pl-slide .sl-h small { display: block; font: 500 clamp(9px, .9vw, 11.5px)/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--acc); margin-bottom: 6px; }
.pl-slide .sl-f { position: absolute; right: 5%; top: 7%; padding: clamp(8px, 1.2vw, 16px) clamp(10px, 1.4vw, 18px); border-radius: 12px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); font: 500 clamp(10px, 1.05vw, 14px)/1.6 var(--mono); }
.pl-slide .sl-f b { color: var(--acc); font-weight: 600; }
.pl-slide ul.sl-l { position: absolute; left: 5%; top: 30%; display: grid; gap: clamp(6px, 1vw, 14px); font-size: clamp(12px, 1.4vw, 19px); font-weight: 600; }
.pl-slide ul.sl-l li { display: flex; gap: 12px; align-items: center; }
.pl-slide ul.sl-l li::before { content: ''; width: clamp(14px, 1.6vw, 22px); height: clamp(14px, 1.6vw, 22px); border-radius: 6px; border: 2px solid var(--acc); flex: none; }
.pl-lower { position: absolute; left: 4%; bottom: 13%; display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px; border-radius: 14px; background: rgba(8, 10, 14, .7); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: #fff; transition: opacity .4s; }
.pl-lower b { display: block; font-size: 13.5px; }
.pl-lower small { font-size: 11.5px; color: rgba(255, 255, 255, .6); }
.pl-mono { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--acc); color: var(--on-acc); font-weight: 800; font-size: 12px; }
.pl-video[data-ch]:not([data-ch="0"]) .pl-lower { opacity: 0; }
.pl-sub { position: absolute; left: 50%; bottom: 5%; transform: translateX(-50%); width: min(80%, 720px); text-align: center; font-size: clamp(12px, 1.25vw, 16px); line-height: 1.45; color: #fff; background: rgba(0, 0, 0, .62); padding: 6px 12px; border-radius: 8px; opacity: 0; transition: opacity .3s; }
.pl-sub.on { opacity: 1; }
.pl-big { position: absolute; left: 50%; top: 50%; width: 82px; height: 82px; margin: -41px 0 0 -41px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .92); color: var(--ink-t); font-size: 30px; box-shadow: 0 20px 40px -10px rgba(0, 0, 0, .5); transition: transform .3s var(--ease), opacity .3s; }
.pl-big svg { margin-left: 4px; }
.pl-big:hover { transform: scale(1.06); }
.player.playing .pl-big { opacity: 0; pointer-events: none; transform: scale(.8); }
.pl-demo { position: absolute; right: 12px; top: 12px; font: 500 10px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .6); padding: 6px 8px; border-radius: 6px; background: rgba(0, 0, 0, .4); }
.pl-ctrl { display: flex; align-items: center; gap: 14px; padding: 12px 16px; color: #fff; }
.pl-ctrl button { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; font-size: 18px; color: rgba(255, 255, 255, .85); transition: background-color .2s; }
.pl-ctrl button:hover { background: rgba(255, 255, 255, .08); }
.pl-ctrl .pl-txt { font: 600 12.5px/1 var(--mono); width: auto; padding: 0 8px; }
.pl-ctrl #pl-cc[aria-pressed=false] { opacity: .45; }
.pl-time { font: 500 12.5px/1 var(--mono); color: rgba(255, 255, 255, .7); white-space: nowrap; }
.pl-bar { flex: 1; height: 22px; position: relative; cursor: pointer; }
.pl-bar::before { content: ''; position: absolute; left: 0; right: 0; top: 9px; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .16); }
.pl-bar i { position: absolute; left: 0; top: 9px; height: 4px; border-radius: 4px; background: var(--acc); width: 0; }
.pl-bar i::after { content: ''; position: absolute; right: -6px; top: -4px; width: 12px; height: 12px; border-radius: 50%; background: #fff; }
.pl-bar span b { position: absolute; top: 7px; width: 2px; height: 8px; background: #0b0e13; }
.pl-side { background: #fff; border-radius: 22px; border: 1px solid var(--hair); display: flex; flex-direction: column; overflow: hidden; min-height: 0; max-height: 100%; }
.pl-tabs { display: flex; gap: 4px; padding: 8px; border-bottom: 1px solid var(--hair); }
.pl-tabs button { flex: 1; padding: 9px 8px; border-radius: 10px; font-size: 13.5px; font-weight: 600; color: var(--ink-t2); }
.pl-tabs button[aria-selected=true] { background: var(--paper); color: var(--ink-t); }
.pl-pane { flex: 1; overflow: auto; padding: 8px; min-height: 0; }
.pl-pane[hidden] { display: none; }
.pl-chap { width: 100%; display: grid; grid-template-columns: 52px 1fr; gap: 12px; align-items: center; padding: 10px; border-radius: 12px; text-align: left; transition: background-color .2s; }
.pl-chap:hover { background: var(--paper); }
.pl-chap .th { width: 52px; height: 34px; border-radius: 7px; background: #0f141a; position: relative; overflow: hidden; }
.pl-chap .th img { width: 100%; height: 100%; object-fit: cover; }
.pl-chap .th::after { content: ''; position: absolute; inset: 0; border-radius: 7px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.pl-chap b { display: block; font-size: 14px; }
.pl-chap small { font: 500 11.5px/1 var(--mono); color: var(--ink-t3); }
.pl-chap.on { background: rgba(57, 201, 166, .12); }
.pl-chap.on small { color: var(--acc-ink); }
.pl-chap.on .th { box-shadow: 0 0 0 2px var(--acc); }
.pl-line { display: grid; grid-template-columns: 46px 1fr; gap: 10px; padding: 9px 10px; border-radius: 10px; font-size: 13.5px; line-height: 1.5; color: var(--ink-t2); text-align: left; width: 100%; transition: background-color .2s, color .2s; }
.pl-line small { font: 500 11.5px/1.7 var(--mono); color: var(--ink-t3); }
.pl-line:hover { background: var(--paper); }
.pl-line.on { color: var(--ink-t); background: rgba(57, 201, 166, .1); }
.pl-notes { display: grid; gap: 6px; }
.pl-notes li { font-size: 13.5px; padding: 10px; border-radius: 10px; background: var(--paper); line-height: 1.45; }
.pl-notes li small { display: block; font: 500 11px/1.4 var(--mono); color: var(--acc-ink); }
.pl-nform { display: flex; gap: 6px; margin-top: 10px; }
.pl-nform input { flex: 1; min-width: 0; height: 40px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--hair2); background: #fff; font-size: 13.5px; }
.pl-under { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 18px; }
.pl-meta { display: flex; flex-wrap: wrap; gap: 8px; align-content: start; }
.pl-chip { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; padding: 9px 13px; border-radius: 99px; background: #fff; border: 1px solid var(--hair); }
.pl-chip svg { color: var(--acc-ink); }
.hw { background: #fff; border: 1px solid var(--hair); border-radius: 18px; padding: 16px; }
.hw-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.hw-head span { font: 600 12px/1 var(--mono); color: var(--ink-t3); }
.hw li label { display: flex; gap: 10px; align-items: flex-start; padding: 8px 4px; font-size: 14px; line-height: 1.4; cursor: pointer; }
.hw input { appearance: none; -webkit-appearance: none; width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid var(--hair2); flex: none; margin: 0; display: grid; place-items: center; }
.hw input:checked { background: var(--acc); border-color: var(--acc); }
.hw input:checked::after { content: ''; width: 9px; height: 5px; border-left: 2.2px solid var(--on-acc); border-bottom: 2.2px solid var(--on-acc); transform: rotate(-45deg) translate(1px, -1px); }
.hw input:checked + span { color: var(--ink-t3); text-decoration: line-through; }

/* ------------------------------------------------------------------ mentors */
.men-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.men { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; }
.men-ph { position: relative; aspect-ratio: 4 / 3.4; overflow: hidden; }
.men-ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.men:hover .men-ph img { transform: scale(1.04); }
.men-ph::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, var(--panel) 2%, rgba(19, 24, 32, 0) 45%); }
.men-mono { position: absolute; left: 18px; bottom: -2px; z-index: 1; width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; font-weight: 800; font-size: 17px; letter-spacing: .02em; background: var(--tx); color: var(--ink); box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .6); }
.men-in { padding: 18px 20px 22px; display: grid; gap: 6px; }
.men-in b { font-size: 19px; letter-spacing: -.02em; }
.men-in .r { font-size: 13.5px; color: var(--acc); font-weight: 600; }
.men-in ul { display: grid; gap: 6px; margin-top: 10px; }
.men-in li { font-size: 13.5px; color: var(--tx2); display: flex; gap: 8px; }
.men-in li::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--tx3); margin-top: 8px; flex: none; }
.outc { margin-top: 56px; padding: 30px; border-radius: var(--r); border: 1px solid var(--line); background: linear-gradient(170deg, #11171e, #0d1116); }
.outc-h { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; margin-bottom: 22px; }
.outc-h b { font-size: 20px; letter-spacing: -.02em; }
.outc-h span { font: 500 11.5px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--tx3); }
.outc-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.outc-row li { display: grid; gap: 8px; align-content: start; padding-left: 18px; border-left: 1px solid var(--line2); }
.outc-row b { font-size: clamp(34px, 3.6vw, 52px); font-weight: 700; letter-spacing: -.045em; line-height: 1; }
.outc-row b small { font-size: .45em; color: var(--tx3); letter-spacing: 0; }
.outc-row span { font-size: 14px; color: var(--tx2); line-height: 1.45; }
.revs { margin-top: 18px; display: grid; grid-template-columns: repeat(5, minmax(260px, 1fr)); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: thin; }
.rev { scroll-snap-align: start; background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.rev p { font-size: 15px; line-height: 1.55; text-wrap: pretty; }
.rev span { margin-top: auto; font-size: 13px; color: var(--tx3); font-weight: 600; }

/* ------------------------------------------------------------------ certificate */
.cert-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 90px); align-items: center; }
.cert-copy { display: grid; gap: 18px; }
.cert-req { display: grid; gap: 10px; margin-top: 6px; }
.cert-req li { display: flex; gap: 12px; align-items: center; font-size: 16px; font-weight: 600; }
.cert-req svg { width: 28px; height: 28px; padding: 6px; border-radius: 50%; background: var(--acc); color: var(--on-acc); }
.cert-name { display: grid; gap: 8px; margin-top: 10px; font-size: 14px; font-weight: 600; color: var(--ink-t2); }
.cert-name input { height: 54px; padding: 0 18px; border-radius: 14px; border: 1px solid var(--hair2); background: #fff; font-size: 17px; font-weight: 600; color: var(--ink-t); }
.cert-name input:focus { outline: none; border-color: var(--acc-ink); box-shadow: 0 0 0 4px rgba(57, 201, 166, .2); }
.cert-card { position: relative; aspect-ratio: 1.414; background: #fdfdfb; border-radius: 10px; padding: clamp(22px, 3.4vw, 46px); color: var(--ink-t); box-shadow: 0 40px 80px -36px rgba(13, 17, 22, .45), 0 0 0 1px rgba(13, 17, 22, .06); display: flex; flex-direction: column; gap: clamp(6px, 1vw, 12px); transform: rotate(-1.2deg); transition: transform .6s var(--ease); background-image: radial-gradient(circle at 100% 0, rgba(57, 201, 166, .09), transparent 40%); }
.cert-card:hover { transform: rotate(0); }
.cert-card::before { content: ''; position: absolute; inset: 12px; border: 1px solid var(--hair2); border-radius: 4px; pointer-events: none; }
.cc-top { display: flex; justify-content: space-between; align-items: center; }
.cc-brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: clamp(14px, 1.5vw, 18px); }
.cc-brand svg { font-size: 1.6em; color: var(--acc-ink); }
.cc-id { font: 500 clamp(9px, .9vw, 11.5px)/1 var(--mono); color: var(--ink-t3); letter-spacing: .06em; }
.cc-k { margin-top: auto; font: 500 clamp(9.5px, .95vw, 12px)/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--acc-ink); }
.cc-name { font-size: clamp(26px, 3.3vw, 46px); font-weight: 700; letter-spacing: -.035em; line-height: 1.05; min-height: 1.05em; overflow-wrap: anywhere; }
.cc-c { font-size: clamp(11.5px, 1.1vw, 14.5px); line-height: 1.5; color: var(--ink-t2); max-width: 46ch; }
.cc-mods { display: flex; flex-wrap: wrap; gap: 5px; }
.cc-mods li { font-size: clamp(9px, .85vw, 11px); font-weight: 600; padding: 4px 8px; border-radius: 99px; background: var(--paper); color: var(--ink-t2); }
.cc-foot { margin-top: auto; display: grid; grid-template-columns: 1fr auto auto; gap: clamp(12px, 2vw, 28px); align-items: end; padding-top: clamp(8px, 1.2vw, 16px); border-top: 1px solid var(--hair); }
.cc-foot > div { display: grid; gap: 4px; font-size: clamp(9.5px, .9vw, 11.5px); color: var(--ink-t3); }
.cc-foot b { font: 600 clamp(11px, 1.1vw, 14px)/1 var(--mono); color: var(--ink-t); }
.cc-sig { width: clamp(90px, 10vw, 140px); height: auto; }
.cc-sig path { fill: none; stroke: var(--ink-t); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.cc-qr { width: clamp(52px, 6vw, 84px); height: clamp(52px, 6vw, 84px); image-rendering: pixelated; }

/* ------------------------------------------------------------------ faq */
.faq-sec { padding-top: 40px; margin-top: 0; border-radius: 0; }
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 90px); align-items: start; }
.faq-grid > div:first-child { display: grid; gap: 18px; position: sticky; top: calc(var(--hdr) + 32px); }
.risk-card { display: flex; gap: 14px; margin-top: 10px; padding: 18px 20px; border-radius: 18px; background: var(--ink-t); color: #e9ecee; font-size: 14px; line-height: 1.6; }
.risk-card svg { font-size: 22px; color: var(--acc); margin-top: 2px; }
.risk-card b { color: #fff; }
.acc { display: grid; gap: 10px; }
.acc details { background: #fff; border-radius: 18px; border: 1px solid var(--hair); transition: box-shadow .3s; }
.acc details[open] { box-shadow: 0 16px 40px -28px rgba(13, 17, 22, .4); }
.acc summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 18px; align-items: center; padding: 20px 22px; font-size: 17px; font-weight: 700; letter-spacing: -.01em; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: '+'; font: 400 24px/1 var(--font); color: var(--ink-t3); transition: transform .3s var(--ease); flex: none; }
.acc details[open] summary::after { transform: rotate(45deg); }
.acc details p { padding: 0 22px 22px; font-size: 15.5px; line-height: 1.65; color: var(--ink-t2); max-width: 64ch; }

/* ------------------------------------------------------------------ signup */
.signup { background: radial-gradient(90% 120% at 100% 0%, #11302a 0%, var(--ink) 55%); }
.su-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: clamp(32px, 6vw, 90px); align-items: center; }
.su-copy { display: grid; gap: 18px; }
.su-list { display: grid; gap: 12px; margin-top: 8px; }
.su-list li { display: flex; gap: 12px; align-items: center; font-size: 15.5px; font-weight: 600; }
.su-list svg { width: 38px; height: 38px; padding: 9px; border-radius: 12px; background: var(--panel2); color: var(--acc); }
.su-form { background: var(--panel); border: 1px solid var(--line2); border-radius: 26px; padding: 28px; position: relative; min-height: 520px; }
.su-in { display: grid; gap: 16px; }
.fld { display: grid; gap: 7px; font-size: 13.5px; font-weight: 600; color: var(--tx2); border: 0; padding: 0; margin: 0; min-width: 0; }
.fld legend { padding: 0; margin-bottom: 7px; }
.fld input { height: 52px; padding: 0 16px; border-radius: 14px; border: 1px solid var(--line2); background: var(--ink2); font-size: 16px; font-weight: 500; color: var(--tx); transition: border-color .2s, box-shadow .2s; }
.fld input::placeholder { color: var(--tx3); }
.fld input:focus { outline: none; border-color: var(--acc); box-shadow: 0 0 0 4px var(--acc-soft); }
.err { display: none; font-style: normal; font-size: 12.5px; color: #f0f2f4; font-weight: 500; }
.err::before { content: '! '; color: var(--acc); font-weight: 800; }
.bad .err, .err-risk.on { display: block; }
.bad input { border-color: rgba(240, 242, 244, .6); }
.seg { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; padding: 4px; border-radius: 14px; background: var(--ink2); border: 1px solid var(--line); }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg span { display: grid; place-items: center; height: 40px; border-radius: 10px; font-size: 13px; font-weight: 600; color: var(--tx2); transition: background-color .2s, color .2s; text-align: center; padding: 0 4px; }
.seg input:checked + span { background: var(--tx); color: var(--ink); }
.seg input:focus-visible + span { outline: 2px solid var(--acc); outline-offset: 2px; }
.su-ok { display: flex; gap: 12px; align-items: flex-start; font-size: 13px; line-height: 1.5; color: var(--tx2); cursor: pointer; }
.su-ok input { appearance: none; -webkit-appearance: none; width: 22px; height: 22px; border-radius: 7px; border: 1.5px solid var(--line2); flex: none; margin: 0; display: grid; place-items: center; background: var(--ink2); }
.su-ok input:checked { background: var(--acc); border-color: var(--acc); }
.su-ok input:checked::after { content: ''; width: 10px; height: 6px; border-left: 2.4px solid var(--on-acc); border-bottom: 2.4px solid var(--on-acc); transform: rotate(-45deg) translate(1px, -1px); }
.su-demo { font-size: 12px; color: var(--tx3); text-align: center; }
.su-done { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; text-align: center; gap: 14px; padding: 30px; animation: phin .5s var(--ease); }
.su-done[hidden] { display: none; }
.su-tick { width: 80px; height: 80px; border-radius: 50%; display: grid; place-items: center; background: var(--acc); color: var(--on-acc); font-size: 38px; box-shadow: 0 0 0 12px var(--acc-soft); animation: pop .5s var(--ease); }
.su-done b { font-size: 26px; letter-spacing: -.025em; }
.su-done p { color: var(--tx2); max-width: 36ch; font-size: 15px; }

/* ------------------------------------------------------------------ footer, toast */
.foot { position: relative; z-index: 3; background: var(--ink0); padding: 64px 0 34px; color: var(--tx2); border-top: 1px solid var(--line); }
.foot-top { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 28px 56px; align-items: start; }
.foot-top .brand { color: var(--tx); }
.foot-top p { font-size: 14px; max-width: 46ch; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; }
.foot-nav a { text-decoration: none; }
.foot-nav a:hover { color: var(--tx); }
.foot-risk { margin-top: 40px; padding: 18px 20px; border-radius: 16px; border: 1px solid var(--line2); font-size: 13.5px; line-height: 1.6; }
.foot-risk b { color: var(--tx); }
.foot-bot { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; font-size: 12.5px; color: var(--tx3); }
.foot-bot span:first-child { margin-right: auto; }
.foot-bot a { text-decoration: none; color: var(--tx2); }
.foot-bot a:hover { color: var(--acc); }
.foot-replay { display: inline-flex; gap: 6px; align-items: center; color: var(--tx2); font-size: 12.5px; }
.foot-replay:hover { color: var(--tx); }
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 150; transform: translate(-50%, 30px); opacity: 0; background: var(--tx); color: var(--ink); padding: 13px 20px; border-radius: 99px; font-size: 14px; font-weight: 600; transition: opacity .3s, transform .4s var(--ease); pointer-events: none; max-width: calc(100% - 32px); text-align: center; box-shadow: 0 12px 40px rgba(0, 0, 0, .35); }
.toast.on { opacity: 1; transform: translate(-50%, 0); }

/* ------------------------------------------------------------------ responsive */
@media (max-width: 1180px) {
  .nav a { padding: 8px 9px; font-size: 13.5px; }
  .hdr-cta { display: none; }
  .t-body { grid-template-columns: minmax(0, 1fr) 290px; }
  .pr-grid { grid-template-columns: 1fr; }
  .quiz { min-height: 0; }
  .men-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .player, .pl-under { grid-template-columns: minmax(0, 1fr) 300px; }
}
@media (max-width: 980px) {
  .nav { display: none; }
  .hdr-act { margin-left: auto; }
  .hdr-cta { display: inline-flex; }
  .burger { display: grid; }
  .sec-head-row { grid-template-columns: 1fr; }
  .route { grid-template-columns: repeat(7, minmax(120px, 1fr)); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: none; }
  .route::-webkit-scrollbar { display: none; }
  .rt { scroll-snap-align: start; }
  .mod { grid-template-columns: 1fr; }
  .t-body { grid-template-columns: 1fr; }
  .t-chart { border-right: 0; border-bottom: 1px solid var(--line); }
  .t-foot { grid-template-columns: 1fr; }
  .t-foot > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .t-foot > div { min-height: 0; }
  .wal-grid { grid-template-columns: 1fr; justify-items: center; }
  .wal-copy { position: static; width: 100%; }
  .tracks { grid-template-columns: 1fr; }
  .player { grid-template-columns: 1fr; }
  .pl-side { max-height: 380px; }
  .pl-under { grid-template-columns: 1fr; }
  .outc-row { grid-template-columns: repeat(2, 1fr); }
  .cert-grid, .faq-grid, .su-grid { grid-template-columns: 1fr; }
  .faq-grid > div:first-child { position: static; }
  .foot-top { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  :root { --hdr: 60px; --r: 18px; }
  .hdr-in { gap: 12px; }
  .brand { font-size: 17px; }
  .brand-mark { font-size: 26px; }
  .hdr-cta { display: none; }
  .lng button { padding: 7px 8px; }
  .film { height: 400vh; }
  .hero-copy { top: calc(var(--hdr) + 14px); transform: none; width: auto; right: var(--gut); }
  .hero-copy h1 { font-size: clamp(30px, 8.6vw, 40px); margin-top: 16px; }
  .hero-copy .lead { font-size: 15.5px; margin-top: 14px; }
  .facts { display: none; }
  .hero-copy { bottom: calc(18px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; }
  .cta-row { margin: auto 0 0; display: grid; gap: 10px; }
  .hero-copy .btn { width: 100%; }
  .hint { display: none; }
  .film-shade { background: linear-gradient(180deg, rgba(4, 6, 9, .82) 0%, rgba(4, 6, 9, .45) 42%, rgba(4, 6, 9, 0) 58%), linear-gradient(0deg, rgba(4, 6, 9, .75) 0%, rgba(4, 6, 9, 0) 26%); }
  .film-ui { display: none; }
  .film-cap { bottom: 90px; font-size: 14.5px; }
  .film-skip { bottom: 22px; }
  .credit, .film-risk { display: none; }
  .sec { padding: 72px 0; border-radius: 22px 22px 0 0; margin-top: -22px; }
  h2 { font-size: clamp(28px, 8vw, 36px); }
  .route { grid-template-columns: repeat(7, minmax(108px, 1fr)); }
  .rt b { font-size: 13.5px; }
  .ls { grid-template-columns: 32px 1fr; gap: 12px; padding: 12px 10px; }
  .ls-i { width: 32px; height: 32px; }
  .ls-d { grid-column: 2; }
  .mod-ls-h { flex-direction: column; gap: 6px; padding: 14px 12px 10px; }
  .mod-out { padding: 22px; }
  .mod-out p { font-size: 18px; }
  .term { border-radius: 18px; margin: 0 calc(-1 * var(--gut) + 8px); }
  .t-bar { gap: 10px; padding: 12px; }
  .t-scen { order: 3; width: 100%; overflow-x: auto; scrollbar-width: none; margin: 0; }
  .t-scen button { padding: 8px 10px; font-size: 12.5px; }
  .t-syn { display: none; }
  .t-bal { margin-left: auto; }
  .t-chart { height: 330px; }
  .t-drag { right: 96px; bottom: 30px; font-size: 11px; }
  .t-ticket { padding: 14px; }
  .t-foot > div { padding: 16px; }
  .phone { width: min(360px, 100%); height: 740px; border-radius: 52px; padding: 12px; }
  .ph-scr { border-radius: 41px; }
  .ph-body { padding: 18px; }
  .ph-body h3 { font-size: 21px; }
  .quiz { padding: 20px; }
  .trk { padding: 22px 20px; }
  .pl-ctrl { gap: 8px; padding: 10px; }
  .pl-ctrl #pl-full, .pl-ctrl #pl-cc { display: none; }
  .pl-lower { display: none; }
  .men-grid { grid-template-columns: 1fr; }
  .men-ph { aspect-ratio: 16 / 10; }
  .outc { padding: 22px; margin-top: 40px; }
  .outc-row { gap: 22px 14px; }
  .outc-row li { padding-left: 12px; }
  .revs { grid-template-columns: repeat(5, 84%); }
  .cert-card { transform: none; }
  .su-form { padding: 20px; min-height: 0; }
  .seg { grid-template-columns: repeat(2, 1fr); }
  .acc summary { font-size: 16px; padding: 17px 18px; }
  .acc details p { padding: 0 18px 18px; font-size: 15px; }
  .cab { padding-top: calc(var(--hdr) + 36px); padding-bottom: 80px; }
}

/* ------------------------------------------------------------------ reduced motion */
html.reduced *, html.reduced *::before, html.reduced *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; scroll-behavior: auto !important; }
html.reduced .rv { opacity: 1; transform: none; }

/* =================================================================== v2: owner additions + signature moments */
/* who + how */
.who-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.who-c { background: #fff; border: 1px solid var(--hair); border-radius: var(--r); padding: 18px 18px 24px; display: flex; flex-direction: column; gap: 10px; transition: transform .4s var(--ease), box-shadow .4s; }
.who-c:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -30px rgba(13, 17, 22, .35); }
.who-c h3 { font-size: 20px; letter-spacing: -.02em; line-height: 1.2; margin-top: 8px; }
.who-c p { font-size: 14.5px; color: var(--ink-t2); line-height: 1.55; }
.who-ui { height: 132px; border-radius: 16px; background: var(--paper); position: relative; overflow: hidden; display: grid; place-content: center; padding: 14px; font-size: 13.5px; }
.ui-term { justify-items: start; gap: 10px; place-content: center start; }
.ui-term > span:first-child { font-weight: 700; font-size: 15px; }
.ui-term u { text-decoration: none; border-bottom: 2px dotted var(--acc-ink); color: var(--acc-ink); }
.ui-term .tip { position: relative; background: var(--ink-t); color: #e9edf0; font-size: 12px; line-height: 1.45; padding: 9px 11px; border-radius: 10px; max-width: 230px; }
.ui-term .tip b { color: var(--acc); }
.ui-term .tip::before { content: ''; position: absolute; left: 26px; top: -5px; width: 10px; height: 10px; background: var(--ink-t); transform: rotate(45deg); }
.ui-route { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; }
.ui-route .rt-l { display: flex; align-items: center; }
.ui-route i { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--hair2); background: #fff; flex: none; }
.ui-route i.ok { background: var(--acc); border-color: var(--acc); }
.ui-route i.now { border-color: var(--ink-t); box-shadow: 0 0 0 5px rgba(13, 17, 22, .08); }
.ui-route b { width: 30px; height: 2px; background: var(--acc); }
.ui-route b.dim { background: var(--hair2); }
.ui-route span { font: 500 11.5px/1 var(--mono); color: var(--ink-t3); letter-spacing: .02em; text-align: center; }
.ui-pill { justify-items: center; gap: 10px; }
.ui-pill .pp { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 99px; background: var(--ink-t); color: #fff; font-weight: 700; font-size: 13.5px; }
.ui-pill .pp svg { color: var(--acc); }
.ui-pill small { font-size: 12px; color: var(--ink-t3); }
.ui-warn { grid-auto-flow: column; gap: 10px; align-items: start; place-content: center; padding: 14px 16px; }
.ui-warn svg { font-size: 22px; color: var(--ink-t); }
.ui-warn span { font-size: 13px; line-height: 1.45; background: #fff; padding: 10px 12px; border-radius: 12px; border: 1px dashed var(--hair2); }
.ui-warn b { color: var(--ink-t); }
.how { margin-top: 56px; display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 32px; align-items: start; }
.how-h { display: grid; gap: 12px; }
.how-h b { font-size: 26px; letter-spacing: -.03em; line-height: 1.15; }
.how-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; position: relative; }
.how-steps li { position: relative; padding: 0 22px 0 0; display: grid; gap: 8px; align-content: start; }
.how-steps li::before { content: ''; position: absolute; left: 48px; right: 10px; top: 22px; height: 2px; background: repeating-linear-gradient(90deg, var(--hair2) 0 6px, transparent 6px 11px); }
.how-steps li:last-child::before { display: none; }
.hn { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font: 600 13px/1 var(--mono); background: var(--ink-t); color: #fff; position: relative; z-index: 1; margin-bottom: 8px; }
.how-steps li:first-child .hn { background: var(--acc); color: var(--on-acc); }
.how-steps b { font-size: 16.5px; line-height: 1.3; letter-spacing: -.01em; }
.how-steps p { font-size: 14px; color: var(--ink-t2); line-height: 1.5; }

/* course catalogue (cards = the route) */
.cat { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; counter-reset: c; }
.cc { position: relative; text-align: left; background: var(--panel); border: 1px solid var(--line); border-radius: 20px; padding: 18px 18px 16px; display: flex; flex-direction: column; gap: 10px; min-height: 172px; transition: border-color .25s, background-color .25s, transform .35s var(--ease); }
.cc:hover { border-color: var(--line2); transform: translateY(-3px); }
.cc[aria-selected=true] { border-color: var(--acc); background: linear-gradient(170deg, #12241f, var(--panel) 70%); box-shadow: 0 0 0 4px var(--acc-soft); }
.cc-row { display: flex; justify-content: space-between; align-items: center; }
.cc-tag { font: 600 10.5px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; padding: 6px 8px; border-radius: 7px; background: rgba(255, 255, 255, .06); color: var(--tx2); }
.cc[aria-selected=true] .cc-tag { background: var(--acc); color: var(--on-acc); }
.cc-n { font: 500 12px/1 var(--mono); color: var(--tx3); }
.cc-t { font-size: 17px; font-weight: 700; letter-spacing: -.015em; line-height: 1.25; text-wrap: balance; }
.cc-m { margin-top: auto; display: flex; flex-wrap: wrap; gap: 6px 12px; font: 500 12px/1.3 var(--mono); color: var(--tx3); }
.cc-free { color: var(--acc); }
.cc-tr { display: inline-flex; gap: 6px; align-items: center; font: 600 10.5px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--tx); padding: 6px 8px; border-radius: 7px; border: 1px solid var(--line2); }
.mod-go { display: inline-flex; align-items: center; gap: 8px; color: var(--acc); font-weight: 700; text-decoration: none; font-size: 14.5px; }
.mod-go:hover { text-decoration: underline; }
.mod-in { font-size: 13.5px; color: var(--tx2); }
.mod-in b { color: var(--tx); }

/* trainer story */
.story { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 16px; }
.story li { display: grid; grid-template-columns: 36px 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; padding: 14px 16px; border-radius: 16px; border: 1px solid var(--line); background: rgba(255, 255, 255, .02); transition: border-color .35s, background-color .35s, opacity .35s; opacity: .55; }
.story li span { grid-row: 1 / 3; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font: 600 13px/1 var(--mono); border: 1px solid var(--line2); transition: background-color .35s, color .35s, border-color .35s; }
.story li b { font-size: 15px; }
.story li small { font-size: 12.5px; color: var(--tx3); }
.story li.on { opacity: 1; border-color: rgba(57, 201, 166, .5); background: var(--acc-soft); }
.story li.on span { background: var(--acc); color: var(--on-acc); border-color: var(--acc); }
.story li.done { opacity: 1; }
.story li.done span { background: var(--tx); color: var(--ink); border-color: var(--tx); }
.t-flash { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(60% 60% at 70% 50%, rgba(233, 237, 240, .14), transparent 70%); opacity: 0; }
.t-flash.on { animation: flash .9s var(--ease); }
@keyframes flash { 0% { opacity: 0; } 20% { opacity: 1; } 100% { opacity: 0; } }
.t-again { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.t-again button { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 700; padding: 8px 12px; border-radius: 99px; border: 1px solid var(--line2); color: var(--tx); transition: border-color .2s, background-color .2s; }
.t-again button:hover { border-color: var(--acc); background: var(--acc-soft); }
.t-again button svg { font-size: 14px; color: var(--acc); }
.t-cmp { margin-top: 12px; display: grid; gap: 6px; }
.t-cmp div { display: grid; grid-template-columns: 96px 1fr auto; gap: 10px; align-items: center; font-size: 12px; color: var(--tx2); }
.t-cmp i { display: block; height: 8px; border-radius: 8px; background: var(--panel3); position: relative; overflow: hidden; }
.t-cmp i b { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 8px; background: var(--tx); }
.t-cmp div.on i b { background: var(--acc); }
.t-cmp em { font: 600 12px/1 var(--mono); font-style: normal; color: var(--tx); }

/* 3D device */
.dev { position: relative; height: 430vh; background: #05070a; color: var(--tx); z-index: 3; border-radius: 30px 30px 0 0; margin-top: -30px; }
.dev-stage { position: sticky; top: 0; height: 100vh; height: 100lvh; overflow: hidden; background: radial-gradient(60% 55% at 58% 55%, #1a242c 0%, #0b1015 55%, #05070a 100%); border-radius: inherit; }
#dev-cv { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .8s; }
#dev-cv.on { opacity: 1; }
.dev-lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.dev-lines line { stroke: rgba(238, 241, 243, .35); stroke-width: 1; }
.dev-lines circle { fill: var(--acc); }
.dev-lines circle.ring { fill: none; stroke: var(--acc); stroke-width: 1.2; opacity: .5; }
.dev-head { position: absolute; left: var(--gut); top: calc(var(--hdr) + 5vh); width: min(430px, 34vw); display: grid; gap: 14px; transition: opacity .5s, transform .5s var(--ease); }
.dev-head.off { opacity: 0; transform: translateY(-14px); pointer-events: none; }
.dev-calls { position: absolute; inset: 0; pointer-events: none; }
.dev-calls li { position: absolute; left: 0; top: 0; width: 300px; padding: 14px 16px; border-radius: 16px; background: rgba(14, 18, 24, .72); border: 1px solid rgba(238, 241, 243, .12); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); opacity: 0; transition: opacity .45s, border-color .45s, background-color .45s; }
.dev-calls li.on { opacity: 1; }
.dev-calls li.cur { border-color: rgba(57, 201, 166, .7); background: rgba(16, 30, 27, .82); }
.dev-calls li b { display: flex; align-items: center; gap: 10px; font-size: 15.5px; letter-spacing: -.01em; }
.dev-calls li b i { font: 600 11px/1 var(--mono); font-style: normal; color: var(--acc); }
.dev-calls li p { margin-top: 6px; font-size: 13.5px; line-height: 1.5; color: var(--tx2); }
.dev-calls li.cur p { color: var(--tx); }
.dev-cap { display: none; }
.dev-end { position: absolute; left: var(--gut); top: calc(var(--hdr) + 5vh); transform: translateY(16px); display: grid; justify-items: start; gap: 18px; text-align: left; opacity: 0; transition: opacity .6s, transform .6s var(--ease); pointer-events: none; width: min(460px, calc(100% - 32px)); }
.dev-end.on { opacity: 1; transform: none; pointer-events: auto; }
.dev-end b { font-size: clamp(28px, 3vw, 44px); letter-spacing: -.035em; line-height: 1.08; max-width: 12em; font-weight: 600; }
.dev-dots { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); display: grid; gap: 10px; }
.dev-dots li { width: 8px; height: 8px; border-radius: 50%; background: rgba(238, 241, 243, .2); transition: background-color .3s, transform .3s; }
.dev-dots li.on { background: var(--acc); transform: scale(1.3); }
.dev-fallback { display: none; }
html.no-webgl .dev, html.reduced .dev { height: auto; }
html.no-webgl .dev-stage, html.reduced .dev-stage { position: relative; height: auto; padding: 120px var(--gut) 100px; display: grid; gap: 32px; }
html.no-webgl .dev-head, html.reduced .dev-head { position: static; width: auto; max-width: 640px; order: -1; }
html.no-webgl .dev-fallback, html.reduced .dev-fallback { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
html.reduced #dev-cv.on { position: relative; height: 56vh; }
.dev-fallback li { padding: 18px; border-radius: 16px; border: 1px solid var(--line2); background: var(--panel); }
.dev-fallback b { display: block; margin-bottom: 6px; }
.dev-fallback p { font-size: 14px; color: var(--tx2); }
html.no-webgl .dev-calls, html.no-webgl .dev-dots, html.no-webgl .dev-end, html.reduced .dev-dots, html.reduced .dev-end, html.reduced .dev-calls, html.reduced .dev-lines { display: none; }

/* scam game */
#scam { padding-bottom: 60px; }
.scam-grid { display: grid; grid-template-columns: minmax(0, 1fr) 460px; gap: clamp(32px, 6vw, 96px); align-items: center; }
.scam-copy { display: grid; gap: 18px; }
.g-score { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 6px; }
.g-score span { font: 500 11.5px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-t3); }
.g-score > b { font: 600 22px/1 var(--mono); letter-spacing: -.02em; }
#g-pips { display: flex; gap: 6px; }
#g-pips li { width: 22px; height: 6px; border-radius: 6px; background: var(--paper2); transition: background-color .3s; }
#g-pips li.ok { background: var(--acc); }
#g-pips li.no { background: var(--ink-t); }
.game { display: grid; gap: 18px; justify-items: center; }
.g-stack { position: relative; width: min(420px, 100%); height: 470px; perspective: 1400px; }
.g-card { position: absolute; inset: 0; transform-style: preserve-3d; touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: grab; will-change: transform; }
.g-card:active { cursor: grabbing; }
.g-card.back1 { transform: translateY(14px) scale(.955); filter: brightness(.97); pointer-events: none; }
.g-card.back2 { transform: translateY(28px) scale(.91); filter: brightness(.94); pointer-events: none; }
.g-inner { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform .7s var(--ease); }
.g-card.flip .g-inner { transform: rotateY(180deg); }
.g-face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; border-radius: 28px; background: #fff; border: 1px solid var(--hair); box-shadow: 0 30px 70px -36px rgba(13, 17, 22, .45); padding: 22px; display: flex; flex-direction: column; gap: 14px; overflow: hidden; }
.g-back { transform: rotateY(180deg); background: var(--ink-t); color: #eef1f3; border: 0; }
.g-k { display: flex; justify-content: space-between; font: 500 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-t3); }
.g-q { font-size: 15px; font-weight: 700; color: var(--ink-t); }
.g-stamp { position: absolute; top: 26px; padding: 8px 12px; border-radius: 10px; font: 700 13px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; border: 2px solid; opacity: 0; pointer-events: none; z-index: 3; }
.g-stamp.l { right: 22px; color: var(--ink-t); transform: rotate(8deg); }
.g-stamp.r { left: 22px; color: var(--acc-ink); transform: rotate(-8deg); }
.g-ui { flex: 1; border-radius: 20px; background: var(--paper); padding: 16px; display: flex; flex-direction: column; gap: 10px; overflow: hidden; font-size: 14px; }
.g-chat-h { display: flex; align-items: center; gap: 10px; padding-bottom: 10px; border-bottom: 1px solid var(--hair); }
.g-ava { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--ink-t); color: #fff; font-weight: 700; font-size: 13px; flex: none; }
.g-chat-h b { font-size: 14px; display: block; }
.g-chat-h small { font-size: 11.5px; color: var(--ink-t3); }
.g-bub { align-self: flex-start; max-width: 92%; background: #fff; border-radius: 16px 16px 16px 4px; padding: 12px 14px; line-height: 1.5; box-shadow: 0 2px 0 rgba(13, 17, 22, .04); }
.g-bub small { display: block; margin-top: 6px; font: 500 10.5px/1 var(--mono); color: var(--ink-t3); text-align: right; }
.g-link { color: #1b5fb8; text-decoration: underline; word-break: break-all; }
.g-input { margin-top: auto; height: 40px; border-radius: 20px; background: #fff; border: 1px solid var(--hair); display: flex; align-items: center; padding: 0 14px; font-size: 13px; color: var(--ink-t3); }
.g-bar { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px; border-radius: 12px; background: #fff; border: 1px solid var(--hair); font: 500 13px/1 var(--mono); }
.g-bar svg { font-size: 14px; color: var(--ink-t3); }
.g-site { flex: 1; border-radius: 14px; background: #fff; border: 1px solid var(--hair); padding: 18px; display: grid; gap: 10px; align-content: start; }
.g-site b { font-size: 18px; }
.g-site .f { height: 38px; border-radius: 10px; background: var(--paper); border: 1px solid var(--hair); font-size: 12.5px; color: var(--ink-t3); display: flex; align-items: center; padding: 0 12px; }
.g-site .bt { height: 40px; border-radius: 10px; background: var(--ink-t); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 13.5px; }
.g-site .bn { font-size: 13px; padding: 10px 12px; border-radius: 10px; background: #fff7e0; border: 1px solid #ecd9a4; color: #5c4a14; }
.g-notif { background: #0f141a; color: #eef1f3; border-radius: 18px; padding: 16px; display: grid; gap: 10px; }
.g-notif .ln { display: flex; justify-content: space-between; font-size: 13px; color: rgba(238, 241, 243, .7); }
.g-notif .ln b { color: #fff; font: 600 13px/1 var(--mono); }
.g-notif .big { font: 700 26px/1 var(--mono); letter-spacing: -.02em; color: #fff; }
.g-dev { display: grid; place-items: center; padding: 6px; }
.g-dev span { width: 160px; height: 72px; border-radius: 14px; background: #1a1f26; display: grid; place-items: center; color: var(--acc); font: 600 12px/1.3 var(--mono); text-align: center; box-shadow: inset 0 0 0 6px #0b0e12; }
.g-mail { background: #fff; border-radius: 14px; border: 1px solid var(--hair); padding: 14px; display: grid; gap: 8px; line-height: 1.5; }
.g-mail .mh { font-size: 12px; color: var(--ink-t3); display: grid; gap: 2px; }
.g-mail .mh b { color: var(--ink-t); font-size: 14px; }
.g-live { position: relative; border-radius: 14px; background: linear-gradient(160deg, #1d2833, #0d1218); height: 120px; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 26px; letter-spacing: -.02em; }
.g-live i { position: absolute; left: 10px; top: 10px; font: 700 10px/1 var(--mono); font-style: normal; background: #e9edf0; color: #0f141a; padding: 4px 6px; border-radius: 5px; }
.g-live em { position: absolute; right: 10px; top: 10px; font: 600 12px/1 var(--mono); font-style: normal; color: #fff; background: rgba(0, 0, 0, .4); padding: 4px 6px; border-radius: 5px; }
.g-qr { display: flex; gap: 12px; align-items: center; }
.g-qr canvas { width: 104px; height: 104px; border-radius: 10px; background: #fff; padding: 6px; border: 1px solid var(--hair); image-rendering: pixelated; flex: none; }
.g-verd { display: flex; align-items: center; gap: 12px; }
.g-verd i { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-size: 22px; flex: none; }
.g-verd.ok i { background: var(--acc); color: var(--on-acc); }
.g-verd.no i { background: #e9edf0; color: var(--ink-t); }
.g-verd b { font-size: 22px; letter-spacing: -.02em; display: block; }
.g-verd small { font-size: 13px; color: rgba(238, 241, 243, .65); }
.g-exp { font-size: 15.5px; line-height: 1.6; color: rgba(238, 241, 243, .88); }
.g-tag { align-self: flex-start; font: 600 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; padding: 7px 9px; border-radius: 7px; background: rgba(255, 255, 255, .08); }
.g-tag.scam { background: #e9edf0; color: var(--ink-t); }
.g-tag.safe { background: var(--acc); color: var(--on-acc); }
.g-next { margin-top: auto; }
.g-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: min(420px, 100%); }
.g-b { height: 56px; border-radius: 18px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-weight: 700; font-size: 15.5px; transition: transform .2s var(--ease), background-color .2s, box-shadow .2s; }
.g-b:active { transform: scale(.97); }
.g-b.scam { background: var(--ink-t); color: #fff; }
.g-b.safe { background: #fff; color: var(--ink-t); border: 1.5px solid var(--hair2); }
.g-b.safe svg { color: var(--acc-ink); }
.g-b:disabled { opacity: .35; cursor: default; }
.g-end { display: flex; flex-direction: column; gap: 16px; justify-content: center; text-align: left; }
.g-end .g-big { font: 700 64px/1 var(--mono); letter-spacing: -.05em; color: var(--ink-t); }
.g-end .g-big small { font-size: .4em; color: var(--ink-t3); }
.g-end p { font-size: 15px; line-height: 1.55; color: var(--ink-t2); }
.g-end .btn-line { color: var(--ink-t); border-color: var(--hair2); }

/* private key mini-check */
.pkq { margin-top: 10px; background: #fff; border: 1px solid var(--hair); border-radius: 22px; padding: 20px; display: grid; gap: 12px; }
.pkq-k { display: flex; justify-content: space-between; font: 500 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--acc-ink); }
.pkq-k span:last-child { color: var(--ink-t3); }
.pkq h3 { font-size: 20px; letter-spacing: -.02em; line-height: 1.25; }
.pkq .opt button { background: var(--paper); border-color: transparent; }
.pkq .opt button.ok { background: rgba(57, 201, 166, .12); border-color: var(--acc); }
.pkq .opt button.no { background: rgba(13, 17, 22, .05); border-color: var(--ink-t2); }
.pkq .opt button[disabled] { cursor: default; }
.wal-sec { margin-top: 0; border-radius: 0; padding-top: 60px; }
.wal-sec .wal-copy { position: static; }

/* school */
.sch-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; margin-bottom: 44px; }
.sch-copy { display: grid; gap: 18px; }
.sch-fmt { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.sch-fmt li { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; padding: 10px 14px; border-radius: 99px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); }
.sch-fmt svg { color: var(--acc); font-size: 17px; }
.sch-ph { position: relative; border-radius: 24px; overflow: hidden; aspect-ratio: 3 / 2; background: #12161b; }
.sch-ph img { width: 100%; height: 100%; object-fit: cover; }
.sch-ph figcaption { position: absolute; left: 14px; right: 14px; bottom: 14px; font-size: 13px; padding: 10px 14px; border-radius: 12px; background: rgba(8, 10, 14, .62); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.blocks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; position: relative; }
.blk { position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: 22px; padding: 22px; display: flex; flex-direction: column; gap: 12px; overflow: hidden; }
.blk::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--acc) var(--f, 25%), rgba(255, 255, 255, .06) var(--f, 25%)); }
.blk-n { display: flex; justify-content: space-between; font: 500 11.5px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--tx3); }
.blk-n b { color: var(--acc); font-weight: 600; }
.blk h3 { font-size: 21px; letter-spacing: -.02em; line-height: 1.2; }
.blk p { font-size: 14px; color: var(--tx2); line-height: 1.55; }
.blk ul { margin-top: auto; display: flex; flex-wrap: wrap; gap: 6px; padding-top: 6px; }
.blk ul li { font-size: 12px; font-weight: 600; padding: 6px 9px; border-radius: 99px; background: rgba(255, 255, 255, .06); color: var(--tx2); }
.pr-sec { margin-top: 0; border-radius: 0; padding-top: 40px; }
.trk .pr b.free { color: var(--acc); }

/* why */
.why { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); margin-bottom: 72px; }
.why li { padding: 26px 26px 30px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; gap: 10px; align-content: start; transition: background-color .3s; }
.why li:hover { background: rgba(255, 255, 255, .02); }
.wn { font: 500 12px/1 var(--mono); color: var(--acc); }
.why b { font-size: 19px; letter-spacing: -.02em; line-height: 1.25; }
.why p { font-size: 14.5px; color: var(--tx2); line-height: 1.55; }
.men-head { display: grid; gap: 12px; margin-bottom: 28px; }
.men-head b { font-size: clamp(22px, 2.2vw, 30px); letter-spacing: -.03em; line-height: 1.15; }

/* certificate: tilt + foil */
.cert-wrap { perspective: 1200px; }
.cert-card { transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, -6deg)) rotateZ(-1deg); transition: transform .5s var(--ease); transform-style: preserve-3d; }
.cert-wrap:hover .cert-card { transition: transform .12s linear; }
.cc-foil { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .55) calc(var(--fx, 40%) - 6%), rgba(57, 201, 166, .14) var(--fx, 40%), rgba(255, 255, 255, .4) calc(var(--fx, 40%) + 6%), transparent 70%); mix-blend-mode: soft-light; z-index: 2; }
.cc-name { background: linear-gradient(100deg, #0d1116 0%, #0d1116 calc(var(--fx, 40%) - 12%), #3c4a52 var(--fx, 40%), #0d1116 calc(var(--fx, 40%) + 12%), #0d1116 100%); -webkit-background-clip: text; background-clip: text; color: transparent; transition: opacity .2s; }
.cc-name.pop { animation: namepop .35s var(--ease); }
@keyframes namepop { 0% { opacity: .4; transform: translateY(3px); } 100% { opacity: 1; transform: none; } }
.cc-foot { grid-template-columns: 1fr auto auto auto; }
.cc-seal { width: clamp(56px, 6.4vw, 88px); height: clamp(56px, 6.4vw, 88px); border-radius: 50%; background: radial-gradient(circle at 35% 30%, #f4f6f3, #d9dfdb 55%, #c3ccc7); box-shadow: inset 0 2px 3px rgba(255, 255, 255, .9), inset 0 -3px 5px rgba(13, 17, 22, .18), 0 6px 14px -6px rgba(13, 17, 22, .4); color: var(--acc-ink); }
.cc-seal svg { width: 100%; height: 100%; }
.cc-seal .s1 { fill: none; stroke: rgba(15, 127, 102, .35); stroke-width: 1.2; }
.cc-seal .s2 { fill: none; stroke: rgba(15, 127, 102, .25); stroke-width: 1; stroke-dasharray: 2 3; }
.cc-seal text { font: 700 7.4px var(--mono); letter-spacing: .14em; fill: rgba(15, 127, 102, .75); }

/* sticky path */
.path { position: fixed; left: 18px; bottom: 18px; z-index: 55; display: flex; align-items: center; gap: 10px; padding: 9px 14px; border-radius: 99px; background: rgba(12, 15, 20, .82); color: var(--tx); border: 1px solid var(--line2); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); text-decoration: none; transform: translateY(20px); opacity: 0; pointer-events: none; transition: opacity .4s, transform .4s var(--ease), background-color .3s; box-shadow: 0 18px 40px -20px rgba(0, 0, 0, .6); }
.path:hover { background: rgba(12, 15, 20, .95); }
.path.on { opacity: 1; transform: none; pointer-events: auto; }
.path-k { font: 500 10.5px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--tx3); }
.path b#path-n { font: 600 15px/1 var(--mono); }
.path-u { font-size: 12px; color: var(--tx2); }
.path-bar { display: grid; grid-template-columns: repeat(8, 12px); gap: 3px; height: 4px; }
.path-bar b { display: none; }
.path-bar s { display: block; border-radius: 4px; background: rgba(255, 255, 255, .12); transition: background-color .35s; }
.path-bar s.on { background: var(--acc); }
.path em { font-style: normal; font-size: 12px; font-weight: 600; color: var(--tx2); max-width: 0; overflow: hidden; white-space: nowrap; transition: max-width .45s var(--ease); }
.path:hover em, .path.bump em { max-width: 260px; }
.path.bump { animation: bump .5s var(--ease); }
@keyframes bump { 40% { transform: scale(1.05); } }
html.hdr-light .path { background: rgba(250, 250, 248, .88); color: var(--ink-t); border-color: var(--hair); }
html.hdr-light .path-k, html.hdr-light .path-u, html.hdr-light .path em { color: var(--ink-t3); }
html.hdr-light .path-bar s { background: rgba(13, 17, 22, .1); }
html.hdr-light .path-bar s.on { background: var(--acc-ink); }

@media (max-width: 1180px) {
  .who-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .how { grid-template-columns: 1fr; }
  .cat { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .blocks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dev-calls li { width: 260px; }
}
@media (max-width: 980px) {
  .scam-grid { grid-template-columns: 1fr; justify-items: center; }
  .scam-copy { width: 100%; }
  .sch-top { grid-template-columns: 1fr; }
  .why { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .how-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 26px; }
  .how-steps li:nth-child(2)::before { display: none; }
  .dev-head { width: min(430px, 60vw); }
}
@media (max-width: 760px) {
  .who-grid { grid-template-columns: 1fr; }
  .who-ui { height: 116px; }
  .how { margin-top: 40px; }
  .how-steps { grid-template-columns: 1fr; row-gap: 18px; }
  .how-steps li { grid-template-columns: 44px 1fr; column-gap: 14px; padding: 0; }
  .how-steps li .hn { grid-row: 1 / 3; margin: 0; }
  .how-steps li::before { display: none; }
  .cat { grid-template-columns: repeat(8, 78%); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: none; margin-right: calc(-1 * var(--gut)); padding-right: var(--gut); }
  .cat::-webkit-scrollbar { display: none; }
  .cc { scroll-snap-align: start; min-height: 150px; }
  .story { grid-template-columns: 1fr; gap: 6px; }
  .story li { padding: 10px 12px; }
  .dev { height: 420vh; border-radius: 22px 22px 0 0; margin-top: -22px; }
  .dev-head { left: var(--gut); right: var(--gut); width: auto; top: calc(var(--hdr) + 18px); }
  .dev-head .lead-s { font-size: 15px; }
  .dev-calls { display: none; }
  .dev-lines line { display: none; }
  .dev-cap { display: block; position: absolute; left: var(--gut); right: var(--gut); bottom: calc(22px + env(safe-area-inset-bottom)); padding: 16px 18px; border-radius: 18px; background: rgba(14, 18, 24, .82); border: 1px solid rgba(57, 201, 166, .45); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); opacity: 0; transition: opacity .4s; }
  .dev-cap.on { opacity: 1; }
  .dev-cap b { display: flex; gap: 10px; align-items: center; font-size: 16px; }
  .dev-cap b i { font: 600 11px/1 var(--mono); font-style: normal; color: var(--acc); }
  .dev-cap p { margin-top: 6px; font-size: 14px; color: var(--tx2); line-height: 1.5; }
  .dev-dots { right: 12px; }
  .dev-end { top: auto; left: var(--gut); right: var(--gut); bottom: calc(26px + env(safe-area-inset-bottom)); }
  .dev-end b { font-size: 26px; }
  html.no-webgl .dev-fallback, html.reduced .dev-fallback { grid-template-columns: 1fr; }
  .g-stack { height: 430px; }
  .g-face { padding: 18px; border-radius: 24px; }
  .g-b { height: 58px; }
  .why { grid-template-columns: 1fr; }
  .why li { padding: 20px; }
  .blocks { grid-template-columns: 1fr; }
  .path { left: 0; right: 0; top: var(--hdr); bottom: auto; transform: translateY(-8px); display: flex; align-items: center; gap: 8px; min-width: 0; width: auto; padding: 7px var(--gut); border-radius: 0; border-width: 0 0 1px; box-shadow: none; }
  .path.on { transform: none; }
  .path-k { font-size: 10px; }
  .path b#path-n { font-size: 12.5px; }
  .path-u { display: none; }
  .path-bar { flex: 1; height: 3px; grid-template-columns: repeat(8, 1fr); }
  .path:hover em, .path.bump em { max-width: 46%; }
  .path em { margin: 0; font-size: 11px; max-width: 46%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .cert-card { transform: none; }
  .cc-foot { grid-template-columns: 1fr auto auto; }
  .cc-qr { display: none; }
}
.pl-fr > * { position: absolute; inset: 0; width: 100%; height: 100%; }
.pl-fr img { object-fit: cover; }
.qz-hint { margin-top: auto; font: 500 12px/1 var(--mono); letter-spacing: .06em; color: var(--tx3); }
.film-end { position: absolute; z-index: 3; left: 50%; bottom: 30px; transform: translate(-50%, 10px); display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 99px; background: var(--ink-t); color: #fff; font-size: 13px; font-weight: 600; opacity: 0; transition: opacity .5s, transform .5s var(--ease); pointer-events: none; white-space: nowrap; box-shadow: 0 14px 30px -12px rgba(13, 17, 22, .5); }
.film-end svg { color: var(--acc); animation: nudge 1.8s var(--ease) infinite; }
.film-stage.done .film-end { opacity: 1; transform: translate(-50%, 0); }
html.no-intro .film-end { display: none; }
@media (max-width: 760px) { .film-end { bottom: 18px; font-size: 12px; white-space: normal; text-align: center; width: max-content; max-width: calc(100% - 40px); } }
.g-flags { display: grid; gap: 8px; }
.g-flags span { font: 500 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: rgba(238, 241, 243, .5); }
.g-flags ul { display: flex; flex-wrap: wrap; gap: 6px; }
.g-flags li { font-size: 12.5px; font-weight: 600; padding: 7px 10px; border-radius: 99px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .1); }
.g-verd.ok ~ .g-flags li { border-color: rgba(57, 201, 166, .35); }
.g-card.flip .g-front { pointer-events: none; }
.game.over .g-btns { visibility: hidden; }
@media (max-width: 760px) {
  .g-exp { font-size: 14px; line-height: 1.5; }
  .g-flags li { font-size: 11.5px; padding: 6px 9px; }
  .g-verd b { font-size: 19px; }
  .g-back { gap: 10px; }
  .pl-slide .sl-f { display: none; }
  .pl-slide .sl-h { max-width: 80%; }
}
html.rec, html.rec *, html.rec *::before, html.rec *::after { scroll-behavior: auto !important; }
html.rec :focus-visible { outline: none; }
