@font-face { font-family: "Sora"; font-weight: 800; src: url(/fonts/Sora_800ExtraBold.woff2) format("woff2"); font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; font-weight: 400; src: url(/fonts/IBMPlexSans_400Regular.woff2) format("woff2"); font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; font-weight: 600; src: url(/fonts/IBMPlexSans_600SemiBold.woff2) format("woff2"); font-display: swap; }
/* broutine.app round 2: shared base for the four proposals. Neo only. No inline styles (CSP style-src 'self'). */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
:root {
  --bg: #121316; --text: #f2f3f5; --muted: #9aa0a9; --accent: #c8ff4d; --onaccent: #121316; --line: rgba(255,255,255,.12);
  --surf: #1b1d21; --head: Sora, system-ui, sans-serif; --body: "IBM Plex Sans", system-ui, sans-serif;
  --pad: clamp(18px, 4.4vw, 64px); --p: 0; --hp: 0; --mx: 60vw; --my: 40vh; --nx: 0; --ny: 0;
}
body { margin: 0; background: var(--bg); color: var(--text); font: 400 clamp(16px, 1.25vw, 19px)/1.6 var(--body); overflow-x: hidden; }
a { color: var(--accent); }
em { font-style: normal; color: var(--accent); }
img { display: block; max-width: 100%; }
canvas { display: block; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 60; background: var(--accent); color: var(--onaccent); padding: 8px 14px; }
.skip:focus { left: 8px; }
.fx { position: fixed; inset: 0; pointer-events: none; z-index: 40; }
main { position: relative; z-index: 2; }

/* header */
header.top { position: fixed; top: 0; left: 0; right: 0; z-index: 50; display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 18px var(--pad); mix-blend-mode: normal; }
.brand { font: 800 22px var(--head); letter-spacing: -.02em; color: var(--text); text-decoration: none; }
nav { display: flex; gap: 22px; align-items: center; }
nav a { color: var(--muted); text-decoration: none; font-size: 15px; }
nav a:hover, nav a:focus-visible { color: var(--accent); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* type */
.eyebrow { font: 600 13px/1 var(--body); letter-spacing: .18em; text-transform: uppercase; color: var(--accent); }
h1, h2 { font: 800 clamp(34px, 5.2vw, 76px)/1.03 var(--head); letter-spacing: -.025em; margin: 14px 0 18px; }
h1 { font-size: clamp(40px, 7.4vw, 112px); line-height: .98; }
.copy p, .hcopy p, .end p { color: var(--muted); max-width: 32em; margin: 0 0 18px; }
.facts { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 20px 0 0; }
.facts li { font: 600 13px/1 var(--body); padding: 9px 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--text); }
.facts li.on { border-color: var(--accent); color: var(--accent); }

/* hero + scenes */
.hero { position: relative; height: 150vh; }
.hstage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: grid; align-items: center; padding: 90px var(--pad) 60px; }
.hero canvas.body { position: absolute; inset: 0; width: 100%; height: 100%; }
.hcopy { position: relative; z-index: 3; max-width: 760px; }
.cue { display: inline-flex; gap: 10px; align-items: center; margin-top: 8px; font: 600 13px var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.cue::after { content: ""; width: 1px; height: 36px; background: linear-gradient(var(--accent), transparent); animation: cue 2s ease-in-out infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
.scene { position: relative; height: 300vh; }
.stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: center; gap: var(--pad); padding: 90px var(--pad) 40px; }
.copy { position: relative; z-index: 3; }
.media { position: relative; z-index: 2; min-width: 0; display: grid; place-items: center; }

/* device frame: real app screenshots and recordings */
.dev { --dw: min(270px, 24vw); position: relative; width: var(--dw); margin: 0; aspect-ratio: 1206 / 2622; border-radius: calc(var(--dw) * .15); background: #050506; padding: calc(var(--dw) * .028); box-shadow: 0 0 0 1.5px rgba(255,255,255,.14), 0 30px 80px rgba(0,0,0,.55); }
.dev-in { position: relative; width: 100%; height: 100%; border-radius: calc(var(--dw) * .125); overflow: hidden; background: #0c0d10; }
.dev-in img, .dev-in picture { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.dev::after { content: ""; position: absolute; top: calc(var(--dw) * .06); left: 50%; width: 27%; height: calc(var(--dw) * .075); margin-left: -13.5%; border-radius: 99px; background: #000; z-index: 2; }
.dev.empty .dev-in::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(135deg, #15171b 0 12px, #101216 12px 24px); }

/* two devices side by side, the second one stepped down */
.pair { display: flex; align-items: flex-start; justify-content: center; gap: 0; }
.pair .dev, .pair .mock { --dw: min(236px, 21vw); }
.pair > :nth-child(2) { margin-left: calc(var(--dw) * -.14); margin-top: calc(var(--dw) * .22); }
.pair > .lib, .pair > .mythbox { margin-left: 24px; margin-top: 0; align-self: center; }

/* plan props */
.week { display: flex; gap: 8px; margin-top: 22px; }
.week span { flex: 1; text-align: center; padding: 11px 0; border: 1px solid var(--line); border-radius: 12px; font: 600 13px var(--body); color: var(--muted); transition: all .35s; }
.week span.on { border-color: var(--accent); color: var(--onaccent); background: var(--accent); box-shadow: 0 0 22px rgba(200,255,77,.35); }
.week span.rest { opacity: .55; }
.curve { width: min(420px, 100%); height: auto; overflow: visible; }
.curve .bg { fill: none; stroke: var(--line); stroke-width: 2; }
.curve .cv { fill: none; stroke: var(--accent); stroke-width: 3.5; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--c, 0)); filter: drop-shadow(0 0 6px rgba(200,255,77,.6)); }
.curve .dot { fill: var(--accent); }

/* food: phone drawn in HTML (no real screen reachable for the scan flow) */
.mock { --dw: min(290px, 26vw); width: var(--dw); aspect-ratio: 9 / 18.2; position: relative; border-radius: calc(var(--dw) * .15); background: #0d0e11; border: 1.5px solid var(--line); overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.ps { position: absolute; inset: 0; padding: 26px 18px 18px; opacity: 0; transition: opacity .4s; display: flex; flex-direction: column; gap: 12px; }
.scene[data-st="0"] .ps0, .scene[data-st="2"] .ps0, .scene[data-st="1"] .ps1 { opacity: 1; }
.ph { font: 600 12px var(--body); letter-spacing: .14em; color: var(--accent); text-transform: uppercase; }
.ring { width: 46%; aspect-ratio: 1; margin: 4px auto 0; position: relative; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 9; }
.ring .rt { stroke: var(--line); }
.ring .rv { stroke: var(--accent); stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 82; transition: stroke-dashoffset 1s ease; filter: drop-shadow(0 0 5px var(--accent)); }
.scene[data-st="2"] .ring .rv { stroke-dashoffset: 78; }
.ring .rc { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.ring .rc b { font: 800 clamp(20px, 2vw, 30px)/1 var(--head); }
.ring .rc span { font-size: 11px; color: var(--muted); }
.bars { display: grid; gap: 9px; }
.bars div { display: grid; grid-template-columns: 70px 1fr; align-items: center; gap: 8px; font: 600 12px var(--body); color: var(--muted); }
.bars i { height: 7px; border-radius: 99px; background: var(--line); position: relative; overflow: hidden; }
.bars i::after { content: ""; position: absolute; inset: 0; width: var(--w, 40%); background: var(--accent); }
.bars .b1 { --w: 62%; } .bars .b2 { --w: 28%; } .bars .b3 { --w: 18%; }
.meals { display: grid; gap: 6px; }
.meals div { display: flex; justify-content: space-between; font-size: 14px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; }
.meals span { color: var(--muted); font: 600 12px var(--body); }
.meals .new { opacity: 0; transform: translateX(16px); transition: opacity .5s, transform .5s; border-color: var(--accent); }
.scene[data-st="2"] .meals .new { opacity: 1; transform: none; }
.vf { flex: 1; position: relative; border: 1.5px solid var(--accent); border-radius: 14px; overflow: hidden; display: grid; place-items: center; background: rgba(0,0,0,.25); }
.barcode { width: 74%; height: 54%; background: repeating-linear-gradient(90deg, var(--text) 0 2px, transparent 2px 5px, var(--text) 5px 6px, transparent 6px 9px, var(--text) 9px 12px, transparent 12px 14px, var(--text) 14px 15px, transparent 15px 19px); border-radius: 3px; opacity: .9; }
.scan { position: absolute; left: 0; right: 0; height: 2px; background: var(--accent); box-shadow: 0 0 14px var(--accent); animation: scan 1.8s ease-in-out infinite alternate; top: 18%; }
@keyframes scan { to { top: 80%; } }
.ok { font: 600 13px var(--body); color: var(--accent); letter-spacing: .06em; text-transform: uppercase; }
.pn { font: 800 22px/1.1 var(--head); letter-spacing: -.02em; }
.pq { color: var(--muted); font-size: 14px; }
.nut { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; text-align: center; }
.nut div { border: 1px solid var(--line); border-radius: 10px; padding: 8px 2px; font-size: 11px; color: var(--muted); }
.nut b { display: block; font: 800 16px var(--head); color: var(--text); }
.btn { display: inline-flex; align-items: center; justify-content: center; font: 800 15px var(--head); color: var(--onaccent); background: var(--accent); border-radius: 14px; padding: 11px 22px; text-decoration: none; letter-spacing: -.01em; box-shadow: 0 0 24px rgba(200,255,77,.3); }
.tapw { margin-top: auto; }
.scene[data-st="1"] .ps1 { display: flex; }
.chips2 { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }

/* library */
.lib { display: grid; gap: 14px; width: min(640px, 100%); }
.lib .cnt { display: flex; align-items: flex-end; gap: 14px; font: 600 13px var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.lib .cnt b { font: 800 clamp(56px, 8vw, 120px)/.9 var(--head); color: var(--accent); letter-spacing: -.04em; text-transform: none; }
.wall { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; perspective: 900px; }
.art { padding: 14px; border: 1px solid var(--line); background: var(--surf); border-radius: 18px; display: grid; gap: 8px; align-content: start; min-height: 104px; --k: clamp(0, calc(var(--p, 1) * 36 - var(--i, 0) * 1.6 - 5), 1); opacity: var(--k); transform: translateY(calc((1 - var(--k)) * 46px)) rotateX(calc((1 - var(--k)) * 30deg)); }
.art .tg { font: 600 10.5px var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.art .tg.l { color: #ffb020; } .art .tg.n2 { color: #4dd9ff; }
.art b { font: 800 15px/1.2 var(--head); letter-spacing: -.01em; }
.art .vv { font: 600 11px var(--body); color: var(--muted); }
.art .vv::before { content: "\2713 "; color: var(--accent); font-weight: 700; }

/* myth game */
.mythbox { display: grid; gap: 12px; width: min(560px, 100%); }
.mythbox .score { display: flex; justify-content: space-between; font: 600 13px var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.mythbox .score b { color: var(--accent); }
.claim { padding: 20px 22px; border: 1px solid var(--line); background: var(--surf); border-radius: 22px; display: grid; gap: 14px; opacity: .38; transition: opacity .4s, border-color .4s, transform .4s; }
.claim.cur, .claim.done { opacity: 1; }
.claim.cur { border-color: var(--accent); transform: scale(1.02); }
.claim .q { font: 800 clamp(18px, 1.9vw, 25px)/1.22 var(--head); letter-spacing: -.015em; }
.claim .q::before { content: "\201E"; color: var(--accent); } .claim .q::after { content: "\201C"; color: var(--accent); }
.pickrow { display: flex; gap: 10px; }
.pickrow button { flex: 1; font: 800 15px var(--head); color: var(--text); background: transparent; border: 1.5px solid var(--line); border-radius: 14px; padding: 12px 16px; cursor: pointer; }
.pickrow button:hover { border-color: var(--accent); color: var(--accent); }
.claim:not(.cur) .pickrow button { pointer-events: none; }
.verdict { display: none; gap: 6px; border-top: 1px solid var(--line); padding-top: 12px; }
.verdict .vt { font: 800 20px var(--head); letter-spacing: -.01em; }
.verdict .vt.myth { color: #ff6b5e; } .verdict .vt.true { color: var(--accent); }
.verdict .you { font: 600 12px var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.verdict .you.right { color: var(--accent); } .verdict .you.wrong { color: #ffb020; }
.verdict p { margin: 0; color: var(--muted); font-size: 15px; }
.claim.done .pickrow { display: none; } .claim.done .verdict { display: grid; }

/* end */
.end { position: relative; min-height: 100vh; min-height: 100svh; display: grid; align-content: center; justify-items: center; text-align: center; gap: 20px; padding: 110px var(--pad) 70px; }
.end p { margin: 0 auto; }
.shots { display: flex; gap: clamp(10px, 2.6vw, 34px); justify-content: center; align-items: flex-start; margin: 10px 0 6px; }
.shots .dev { --dw: clamp(110px, 17vw, 230px); }
.shots .dev:nth-child(2) { transform: translateY(-18px); }
.stores { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.store { display: grid; text-align: left; border: 1.5px solid var(--line); border-radius: 16px; padding: 10px 24px; min-width: 200px; color: var(--text); background: var(--surf); }
.store small { font: 600 11px var(--body); letter-spacing: .14em; color: var(--muted); text-transform: uppercase; }
.store b { font: 800 21px var(--head); letter-spacing: -.02em; }
footer.foot { position: relative; z-index: 3; display: flex; gap: 18px; flex-wrap: wrap; justify-content: center; padding: 18px var(--pad) 40px; color: var(--muted); font-size: 14px; }
footer.foot a { color: var(--muted); } footer.foot a:hover { color: var(--accent); }
footer.foot .note { flex-basis: 100%; text-align: center; }

/* no JavaScript, or narrow screens: everything in sequence */
html:not(.js) .hero, html:not(.js) .scene { height: auto; }
html:not(.js) .hstage, html:not(.js) .stage { position: static; height: auto; overflow: visible; }
html:not(.js) canvas { display: none; }
html:not(.js) .stage { padding-top: 70px; padding-bottom: 50px; }
@media (max-width: 860px) {
  .stage { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); gap: 14px; padding: 76px var(--pad) 16px; align-items: start; }
  .copy p { font-size: 15.5px; margin-bottom: 10px; }
  h1 { font-size: clamp(38px, 11vw, 60px); } h2 { font-size: clamp(28px, 8vw, 42px); margin: 8px 0 10px; }
  nav a:not(.lang) { display: none; }
  .dev { --dw: min(210px, 46vw); } .mock { --dw: min(220px, 52vw); }
  .pair .dev, .pair .mock { --dw: min(150px, 34vw); } .pair > .lib, .pair > .mythbox { margin-left: 0; }
  .pair:has(> .lib), .pair:has(> .mythbox) { flex-direction: column; align-items: center; } .pair:has(> .lib) > .dev, .pair:has(> .mythbox) > .dev { display: none; }
  .wall { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } .art { min-height: 0; padding: 10px; } .art b { font-size: 13.5px; } .art:nth-child(n+9) { display: none; }
  .facts li { font-size: 12px; padding: 7px 10px; }
  .claim { padding: 14px 16px; }
}
@media (max-width: 520px) { .shots .dev:nth-child(3) { display: none; } .hstage { padding-top: 80px; } }
@media (prefers-reduced-motion: reduce) {
  .scan, .cue::after { animation: none; }
  .ps, .claim, .meals .new, .week span { transition: none; }
}
/* P4 Atlas: one body in the middle of the whole page. Scrolling flies a camera through it: the area a feature is about
   lights up, and a leader line ties it to the real app screen, like a plate in an anatomical atlas. */
:root { --bg: #0a0c0e; }
body { background: #0a0c0e; }
.back { position: fixed; inset: 0; z-index: 1; pointer-events: none; background:
  linear-gradient(rgba(200,255,77,.035) 1px, transparent 1px) 0 0 / 72px 72px, linear-gradient(90deg, rgba(200,255,77,.035) 1px, transparent 1px) 0 0 / 72px 72px,
  radial-gradient(60vmax 60vmax at 50% 55%, #151c1c, #0a0c0e 70%); }
.back canvas.atlas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero canvas.body { display: none; }
.fx .brk i { position: absolute; width: 22px; height: 22px; border: 1.5px solid rgba(200,255,77,.55); }
.fx .brk i:nth-child(1) { left: 20px; top: 74px; border-right: 0; border-bottom: 0; } .fx .brk i:nth-child(2) { right: 20px; top: 74px; border-left: 0; border-bottom: 0; }
.fx .brk i:nth-child(3) { left: 20px; bottom: 20px; border-right: 0; border-top: 0; } .fx .brk i:nth-child(4) { right: 20px; bottom: 20px; border-left: 0; border-top: 0; }
.fx .cap { position: absolute; left: 50%; top: 22px; transform: translateX(-50%); font: 600 12px var(--body); letter-spacing: .22em; text-transform: uppercase; color: var(--accent); white-space: nowrap; display: none; }
.fx .leadl { position: absolute; inset: 0; width: 100%; height: 100%; }
.fx .leadl path { fill: none; stroke: var(--accent); stroke-width: 1.5; stroke-dasharray: 5 6; animation: dash 1.2s linear infinite; filter: drop-shadow(0 0 5px var(--accent)); }
.fx .leadl circle { fill: var(--accent); filter: drop-shadow(0 0 8px var(--accent)); }
@keyframes dash { to { stroke-dashoffset: -22; } }

.hstage { align-items: end; padding-bottom: 12vh; }
.hcopy { max-width: min(38rem, 46vw); }
h1 { font-size: clamp(38px, 5.6vw, 88px); }
h2 { font-size: clamp(30px, 3.8vw, 58px); }
.pair:has(> .lib) > .dev, .pair:has(> .mythbox) > .dev { display: none; }
.wall { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.art:nth-child(n+7) { display: none; }
.stage { grid-template-columns: minmax(0, 4.8fr) minmax(0, 2.4fr) minmax(0, 4.4fr); align-items: end; padding-bottom: 7vh; }
.copy { grid-column: 1; align-self: end; border-left: 2px solid var(--accent); padding: 4px 0 4px 22px; background: linear-gradient(90deg, rgba(10,12,14,.82), rgba(10,12,14,0)); opacity: clamp(0, calc((1 - var(--p)) * 8), 1); }
.media { grid-column: 3; align-self: center; opacity: clamp(0, calc((1 - var(--p)) * 8), 1); }
.dev, .mock { box-shadow: 0 0 0 1.5px rgba(200,255,77,.35), 0 30px 80px rgba(0,0,0,.7); }
.props { margin-top: 20px; width: min(380px, 100%); }
.pair { transform: translateY(calc((.5 - var(--p)) * 50px)); }
.pair .dev, .pair .mock { --dw: min(236px, 17vw, 30vh); }

@media (max-width: 860px) {
  .stage { grid-template-columns: minmax(0, 1fr); grid-template-rows: 1fr; align-items: end; padding: 70px var(--pad) 14px; }
  .copy { grid-column: 1; background: linear-gradient(rgba(10,12,14,.0), rgba(10,12,14,.9) 30%); padding-top: 24px; }
  .media { display: block; position: absolute; right: 14px; top: 84px; z-index: 2; }
  .pair .dev { --dw: min(112px, 28vw); } .pair > :nth-child(2), .props, .lib, .mythbox, .mock { display: none; } .pair:has(> .lib) > .dev, .pair:has(> .mythbox) > .dev { display: block; }
  .pair { transform: none; }
  .hcopy { max-width: none; }
  .fx .cap, .fx .leadl { display: none; }
  .hstage { padding-bottom: 8vh; }
}
@media (prefers-reduced-motion: reduce) { .fx .leadl path { animation: none; } }
html:not(.js) .back, html:not(.js) .fx { display: none; }
html:not(.js) .media { display: grid; }
.end h2, .end p { text-shadow: 0 0 26px #0a0c0e, 0 0 10px #0a0c0e, 0 0 4px #0a0c0e; }

.lib .cnt { display: none; }
/* Neo, as in the app (core/theme + lib/ui): dark ground #121316, ONE accent (lime #c8ff4d), tiles #1c1e22 with a #2a2d33 edge,
   the page backdrop of NeoScreenBackdrop (top lift, accent glow from the top right, a lit edge in opposite corners),
   NeoTileLight (the same glow falls on every tile from that corner), neon tubes (neonTube text, _NeonFramePainter frames),
   "Proud" arrivals (directional, staggered, the arriving edge in the accent). Loaded after atlas.css, so it wins. */
:root { --bg: #121316; --surf: #1c1e22; --line: #2a2d33; --muted: #8a8f98; --hot: #e6ffaf; --danger: #ff3b3b; --neon: 0 0 4px rgba(200,255,77,.9), 0 0 14px rgba(200,255,77,.75), 0 0 34px rgba(200,255,77,.45); }
body { background: var(--bg); }

/* NeoScreenBackdrop */
.back { background:
  radial-gradient(105vw 75vh at 100% 0, rgba(200,255,77,.18), rgba(200,255,77,.114) 25%, rgba(200,255,77,.06) 50%, rgba(200,255,77,.02) 75%, rgba(200,255,77,0) 100%),
  linear-gradient(rgba(28,30,34,.7), rgba(18,19,22,0) 45%), var(--bg); }
.back::after { content: ""; position: absolute; inset: 8px; border-radius: 30px; padding: 1.5px; pointer-events: none;
  background: linear-gradient(135deg, rgba(200,255,77,.9), rgba(200,255,77,0) 24%, rgba(200,255,77,0) 76%, rgba(200,255,77,.75));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); mask-composite: exclude; }
.fx .brk { display: none; }

/* neon tube text: the eyebrow and the accent words (neonTube: white-hot lime, three glows) */
.eyebrow, em { color: var(--hot); text-shadow: var(--neon); }
.eyebrow { font-weight: 700; }
.fx .cap { color: var(--hot); text-shadow: 0 0 4px rgba(200,255,77,.9), 0 0 12px rgba(200,255,77,.5); font-weight: 600; letter-spacing: .24em; }
h1 em, h2 em { text-shadow: 0 0 5px rgba(200,255,77,.75), 0 0 18px rgba(200,255,77,.42), 0 0 40px rgba(200,255,77,.2); }

/* the leader line is a neon tube too: glow, lime body, white-hot core */
.fx .leadl path { animation: none; stroke-dasharray: none; stroke-linecap: round; }
.fx .leadl .bl { stroke: var(--accent); stroke-width: 2.4; filter: drop-shadow(0 0 3px rgba(200,255,77,.95)) drop-shadow(0 0 12px rgba(200,255,77,.6)); }
.fx .leadl .co { stroke: var(--hot); stroke-width: .9; opacity: .9; filter: none; }
.fx .leadl circle { fill: var(--hot); filter: drop-shadow(0 0 4px #c8ff4d) drop-shadow(0 0 14px #c8ff4d); }

/* copy: the lit edge is a tube; text on a quiet scrim */
.copy { border-left: 0; position: relative; background: linear-gradient(90deg, rgba(18,19,22,.82), rgba(18,19,22,0)); }
.copy::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; border-radius: 2px; background: var(--hot); box-shadow: 0 0 4px #c8ff4d, 0 0 14px rgba(200,255,77,.8), 0 0 34px rgba(200,255,77,.4); }
.copy p, .hcopy p, .end p { color: var(--muted); }

/* tiles: NeoTileLight, one light from the top-right corner; edge lit towards it */
.dev, .mock { box-shadow: 0 30px 80px rgba(0,0,0,.65), 0 0 90px rgba(200,255,77,.07); }
.dev::before, .mock::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; z-index: 3; pointer-events: none;
  background: linear-gradient(225deg, rgba(200,255,77,.9), rgba(200,255,77,.18) 45%, rgba(42,45,51,.9) 75%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); mask-composite: exclude; }
.art, .claim, .store, .meals div, .nut div, .week span, .facts li { background-image: radial-gradient(120% 120% at 100% 0, rgba(200,255,77,.075), rgba(200,255,77,0) 70%); }
.art, .claim { border-color: var(--line); }
.art .tg, .art .tg.l, .art .tg.n2 { color: var(--hot); text-shadow: 0 0 8px rgba(200,255,77,.5); }
.claim.cur { border-color: var(--accent); box-shadow: 0 0 0 1px rgba(200,255,77,.35), 0 0 26px rgba(200,255,77,.22); }
.pickrow button:hover, .pickrow button:focus-visible { border-color: var(--accent); color: var(--hot); box-shadow: 0 0 16px rgba(200,255,77,.3); }
.verdict .vt.myth { color: var(--danger); text-shadow: 0 0 14px rgba(255,59,59,.55); } .verdict .vt.true { color: var(--hot); text-shadow: 0 0 14px rgba(200,255,77,.55); }
.verdict .you.wrong { color: var(--danger); } .verdict .you.right { color: var(--hot); }
.claim.hit { border-color: rgba(200,255,77,.5); } .claim.miss { border-color: rgba(255,59,59,.5); }
.facts li.on { color: var(--hot); border-color: var(--accent); box-shadow: 0 0 14px rgba(200,255,77,.25); }
.week span.on { box-shadow: 0 0 22px rgba(200,255,77,.4); }
.btn { box-shadow: 0 0 30px rgba(200,255,77,.35); }
.lib .cnt b, .mythbox .score b { color: var(--hot); text-shadow: var(--neon); }
nav a:hover, nav a:focus-visible { color: var(--hot); text-shadow: 0 0 10px rgba(200,255,77,.6); }

/* "Proud": blocks hand over physically (--e = how far this one has slid in, --x = how far the next one has pushed it out, both from common.js).
   The copy comes in from the left and leaves to the left, the screen from the right, and the old one dissolves as it goes: nothing waits on an empty stage. */
.copy { opacity: calc(1 - var(--x, 0) * 1.15); transform: translateX(calc((1 - var(--e, 1)) * -90px + var(--x, 0) * -110px)); }
.media { opacity: calc(1 - var(--x, 0) * 1.15); transform: translateX(calc((1 - var(--e, 1)) * 140px + var(--x, 0) * 150px)); }
.dev, .mock { isolation: isolate; }
@keyframes strike { 0% { opacity: .15; } 10% { opacity: .95; } 22% { opacity: .35; } 38% { opacity: 1; } 52% { opacity: .55; } 64% { opacity: 1; } 100% { opacity: 1; } }
@keyframes strikeglow { 0% { text-shadow: none; } 10% { text-shadow: var(--neon); } 22% { text-shadow: 0 0 4px rgba(200,255,77,.4); } 38%, 100% { text-shadow: var(--neon); } }
.copy.lit::before { animation: strike 2s linear 1 both; }
.copy.lit .eyebrow { animation: strikeglow 2s linear 1 both; }
.dev.lit::before { animation: strike 2.2s linear 1 both; }
@media (max-width: 860px) {
  .copy { background: linear-gradient(rgba(18,19,22,0), rgba(18,19,22,.9) 30%); transform: none; } .media { transform: none; }
  .back::after { inset: 4px; border-radius: 22px; }
}
/* short windows: answered claims fold to verdict + label, only the latest keeps its explanation, so the third claim stays reachable */
@media (max-height: 940px) { .claim.done:has(~ .claim.done) .verdict p { display: none; } .claim.done:has(~ .claim.done) { padding-top: 14px; padding-bottom: 14px; } }
@media (prefers-reduced-motion: reduce) {
  .copy, .media { transform: none; }
  .copy.lit::before, .copy.lit .eyebrow, .dev.lit::before { animation: none; }
}
html:not(.js) .copy, html:not(.js) .media { transform: none; }

/* claims: the waiting ones dim their content, not the card, so the orbit never shows through them */
.claim { opacity: 1; background-color: var(--surf); }
.claim:not(.cur):not(.done) > * { opacity: .38; }

/* three phones in the analysis scene: smaller, each stepped down further */
.pair:has(> .dev:nth-child(3)) .dev { --dw: min(166px, 12.2vw, 25vh); }
.pair > .dev:nth-child(3) { margin-left: calc(var(--dw) * -.14); margin-top: calc(var(--dw) * .44); }
@media (max-width: 860px) { .pair > .dev:nth-child(3) { display: none; } }
/* p15: the centre element. Three stacked canvases in .back: floor (pool of light + back half of the orbit), mgl (WebGL points), atlas (front half, icons, knee readout). */
.back canvas.mfloor, .back canvas.mgl { position: absolute; inset: 0; width: 100%; height: 100%; }
.fx .cap { display: none !important; }
html:not(.js) .back canvas { display: none; }
/* no JS: the page scrolls normally under a fixed header, so the header gets its own solid ground and the text never runs through it */
html:not(.js) header.top { background: #121316; border-bottom: 1px solid #2a2d33; padding-top: 14px; padding-bottom: 14px; }
html:not(.js) main { padding-top: 64px; }
/* phones: the fixed header gets a ground so scrolled text does not run through the logo and the language link */
@media (max-width: 860px) { header.top { background: linear-gradient(#121316 62%, rgba(18,19,22,0)); padding-bottom: 26px; } }

/* phones: every scene is about one screen long, so one swipe moves to the next section and the page never stands still while an animation plays
   (the stage stays sticky, the centre element stays visible, copy and screens hand over as before) */
@media (max-width: 860px) {
  .hero, .scene { height: 112vh; height: 112svh; }
  #myth { height: 135vh; height: 135svh; }                      /* the game needs a moment to be played */
  /* the myth game on phones: headline, then the current claim as one card (answered ones fold away) */
  #myth .stage { grid-template-rows: 1fr auto auto; }
  #myth .copy { grid-row: 2; }
  #myth .copy p { display: none; }
  #myth .media { position: static; right: auto; top: auto; grid-row: 3; grid-column: 1; display: block; z-index: 3; padding: 4px 0 0; }
  #myth .pair { display: block; }
  #myth .pair > .dev { display: none !important; }
  #myth .pair > .mythbox { display: grid; width: 100%; gap: 8px; margin: 0; }
  #myth .mythbox .claim:not(.cur) { display: none; }
  #myth .mythbox .claim { padding: 14px 16px; background-color: rgba(20, 22, 26, .94); }
  #myth .mythbox .score { font-size: 12px; }
  #myth .claim .q { font-size: 17px; }
  #myth .claim .pickrow button { padding: 10px 12px; }
}
