/* 3DSceneBench site. One stylesheet for the landing page and the leaderboard. Dark first. */
/* Colours follow the company page (pranalab.ai): pale paper, deep green ink, a lime accent. Light is the default;
   the visitor can switch to the dark green theme with the button in the header. */
:root {
  --bg: #f8f9f5; --panel: #ffffff; --raise: #ffffff; --ink: #172d24; --mute: #667168; --line: #dce2d7; --soft: #eaf0e1;
  --lime: #d5efb4; --app: #c98a1a; --geo: #2f6f8f; --fun: #2f8f57;
  --sans: "Geist", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --wrap: 1200px; --gutter: 24px; --radius: 14px; --ease: cubic-bezier(.2, .7, .1, 1);
  color-scheme: light;
}
:root[data-theme="dark"] { --bg: #0b1f18; --panel: #10251f; --raise: #15302a; --ink: #f6f8ec; --mute: #9db0a4; --line: #23423a; --soft: #173028;
  --lime: #d5efb4; --app: #f0b54a; --geo: #6fb6d6; --fun: #6fd08f; color-scheme: dark; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 var(--sans); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img, video, canvas { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
code, pre { font-family: var(--mono); font-size: .86em; }
p code, li code, td code { background: var(--soft); padding: .1em .4em; border-radius: 5px; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.mute { color: var(--mute); } .small { font-size: 14px; }
.todo { border: 1px dashed var(--app); border-radius: 6px; padding: .15em .55em; font: 500 12px var(--mono); color: var(--app); white-space: nowrap; }
pre.todo { white-space: normal; padding: 14px 16px; margin: 0; }
.kicker, .eyebrow { font: 500 12px var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--mute); margin: 0 0 14px; }

/* Motion */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.rise { opacity: 0; transform: translateY(22px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.loaded .rise { opacity: 1; transform: none; }
.loaded .rise:nth-child(2) { transition-delay: .08s; } .loaded .rise:nth-child(3) { transition-delay: .18s; }
.loaded .rise:nth-child(4) { transition-delay: .28s; } .loaded .rise:nth-child(5) { transition-delay: .38s; }
.progress { position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 60; pointer-events: none; }
.progress i { display: block; height: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--geo), var(--fun), var(--app)); }

/* Header */
.top { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background .3s, border-color .3s; border-bottom: 1px solid transparent; }
.top.scrolled, body:not([data-page="landing"]) .top { background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom-color: var(--line); }
.top .wrap { display: flex; align-items: center; gap: 20px; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-size: 17px; letter-spacing: -.02em; white-space: nowrap; }
.brand img { width: 26px; height: 26px; }
.brand b { font-weight: 600; } .brand span span { opacity: .65; }
.nav { display: flex; gap: 2px; margin-left: auto; align-items: center; }
.nav a { text-decoration: none; font-size: 14px; padding: 7px 12px; border-radius: 999px; color: var(--mute); transition: color .2s, background .2s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); background: color-mix(in srgb, var(--ink) 9%, transparent); }
.nav .navcta { color: var(--bg); background: var(--ink); font-weight: 500; margin-left: 6px; }
.nav .navcta:hover { color: var(--bg); background: var(--ink); opacity: .86; }
.theme { border: 1px solid var(--line); background: none; color: var(--mute); border-radius: 999px; width: 34px; height: 34px; cursor: pointer; margin-left: 6px; }
body[data-page="landing"] .top:not(.scrolled) { --ink: #f2f0ea; --mute: #c3c7ce; --bg: #090b0e; --line: rgba(255,255,255,.25); color: #f2f0ea; }
@media (max-width: 820px) { .nav a:not(.navcta) { display: none; } }
@media (max-width: 420px) { .brand .word { display: none; } }

/* Pills */
.pill { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; cursor: pointer; font-size: 15px; font-weight: 500; padding: 11px 18px; border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--ink) 28%, transparent); background: color-mix(in srgb, var(--ink) 6%, transparent); color: var(--ink); transition: transform .2s var(--ease), background .2s, opacity .2s; }
.pill:hover { transform: translateY(-2px); background: color-mix(in srgb, var(--ink) 14%, transparent); }
.pill.solid { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.pill.solid:hover { background: var(--ink); opacity: .9; }
.pill.ghost { border-color: transparent; background: none; }
.pill:disabled { opacity: .4; cursor: default; transform: none; }
.pill[aria-pressed="true"] { background: var(--ink); color: var(--bg); }

/* Hero */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; color: #f2f0ea; background: #081b15; overflow: hidden; --ink: #f6f8ec; --bg: #0b1f18; --mute: #c3cfc4; }
.hero .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); opacity: 0; transition: opacity 1.3s ease; }
.hero .bg.on { opacity: 1; }
.reel { position: absolute; right: 84px; bottom: 26px; z-index: 2; display: flex; align-items: center; gap: 14px; font: 500 12px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: #e4e1da; }
.reel[hidden] { display: none; }
.reeldots { display: flex; gap: 6px; }
.reeldots button { width: 22px; height: 18px; padding: 0; border: 0; background: none; cursor: pointer; position: relative; }
.reeldots button::before { content: ""; position: absolute; left: 0; right: 0; top: 8px; height: 2px; border-radius: 2px; background: rgba(255,255,255,.3); }
.reeldots button::after { content: ""; position: absolute; left: 0; top: 8px; height: 2px; width: 0; border-radius: 2px; background: #fff; }
.reeldots button.on::after { width: 100%; transition: width var(--len, 6s) linear; }
.reeldots button.done::after { width: 100%; }
@media (max-width: 700px) { .reel { right: 60px; bottom: 14px; font-size: 10px; } .reeldots button { width: 14px; } }
.hero .veil { position: absolute; inset: 0; background:
  radial-gradient(120% 80% at 15% 100%, rgba(8,27,21,.92) 0%, rgba(8,27,21,.55) 45%, rgba(8,27,21,0) 75%),
  linear-gradient(180deg, rgba(8,27,21,.55) 0%, rgba(8,27,21,.15) 30%, rgba(8,27,21,.85) 100%); }
.hero .wrap { position: relative; width: 100%; padding-top: 120px; padding-bottom: 76px; }
.hero h1 { font: 300 clamp(44px, 11.5vw, 168px)/.92 var(--sans); letter-spacing: -.055em; margin: 0 0 22px -.04em; }
.hero h1 b { font-weight: 600; } .hero h1 span { opacity: .62; }
.hero .tag { font: 400 clamp(22px, 3vw, 38px)/1.2 var(--sans); letter-spacing: -.02em; margin: 0 0 30px; color: #e4e1da; }
.hero .tag em { font-size: 1.12em; color: #fff; }
.links { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.sources { display: flex; flex-wrap: wrap; gap: 6px 22px; align-items: center; font-size: 14px; color: var(--mute); }
.sources a { text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.25); padding-bottom: 1px; }
.sources a:hover { color: #fff; }
.sources a[aria-disabled="true"] { border-bottom-style: dashed; cursor: default; }
.sources small { font: 500 10px var(--mono); letter-spacing: .08em; text-transform: uppercase; opacity: .7; margin-left: 4px; }
.cue { position: absolute; right: var(--gutter); bottom: 34px; width: 26px; height: 42px; border: 1px solid rgba(255,255,255,.4); border-radius: 14px; z-index: 2; }
.cue i { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 80%, 100% { transform: translateY(16px); opacity: 0; } }
@media (max-width: 700px) { .hero .wrap { padding-bottom: 48px; } .cue { display: none; } .hero .tag br { display: none; } }

/* Ticker */
.ticker { overflow: hidden; border-block: 1px solid var(--line); background: var(--panel); }
.ticker .track { display: flex; width: max-content; animation: slide 46s linear infinite; padding: 15px 0; }
.ticker span { font: 500 13px var(--mono); letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; }
.ticker i { font-style: normal; font-size: 8px; margin: 0 28px; align-self: center; }
.ticker i:nth-of-type(3n+1) { color: var(--app); } .ticker i:nth-of-type(3n+2) { color: var(--geo); } .ticker i:nth-of-type(3n) { color: var(--fun); }
@keyframes slide { to { transform: translateX(-50%); } }

/* Sections */
section.block { padding: 120px 0; position: relative; }
section.block.alt { background: var(--panel); border-block: 1px solid var(--line); }
section.block h2 { font: 500 clamp(40px, 6.6vw, 92px)/.98 var(--sans); letter-spacing: -.045em; margin: 0 0 26px; }
section.block h2 em { font-size: 1.1em; letter-spacing: -.02em; }
.lede { font-size: clamp(17px, 1.6vw, 21px); color: var(--mute); max-width: 40em; margin: 0 0 44px; }
h3 { font: 600 19px/1.25 var(--sans); letter-spacing: -.01em; margin: 0 0 8px; }
@media (max-width: 860px) { section.block { padding: 76px 0; } }

/* Scene gallery */
.roomchips { display: flex; gap: 10px; overflow-x: auto; padding: 4px 2px 16px; scrollbar-width: thin; scroll-snap-type: x proximity; }
.roomchips button { all: unset; box-sizing: border-box; cursor: pointer; flex: none; display: flex; align-items: center; gap: 10px; padding: 6px 16px 6px 6px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--panel); font-size: 14px; white-space: nowrap; scroll-snap-align: start; transition: border-color .2s, background .2s, transform .2s var(--ease); }
.roomchips button:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--ink) 40%, transparent); }
.roomchips button:focus-visible { outline: 2px solid var(--geo); outline-offset: 2px; }
.roomchips img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }
.roomchips button[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.scene { display: grid; grid-template-columns: minmax(0, 1.9fr) minmax(300px, 1fr); gap: 34px; align-items: start; }
.stage { position: relative; border-radius: var(--radius); overflow: hidden; border: 0; min-height: 620px; height: min(74vh, 760px); position: sticky; top: 84px;
  background: radial-gradient(90% 70% at 50% 35%, #2a4a3f 0%, #14302a 55%, #0b1f18 100%); color: #f2f0ea; }
.stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; cursor: grab; touch-action: none; opacity: 0; transition: opacity .8s; }
.stage.live canvas { opacity: 1; } .stage.dragging canvas { cursor: grabbing; }
.cover { all: unset; box-sizing: border-box; position: absolute; inset: 0; cursor: pointer; background-size: cover; background-position: center; display: grid; place-items: center; }
.cover[hidden] { display: none; }
.cover::before { content: ""; position: absolute; inset: 0; background: rgba(8,10,13,.5); backdrop-filter: blur(3px); transition: background .3s; }
.cover:hover::before { background: rgba(8,10,13,.34); }
.cover .enter { position: relative; display: grid; justify-items: center; gap: 6px; text-align: center; padding: 20px; }
.cover .enter i { font-style: normal; width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; font-size: 26px; padding-left: 6px; background: #f2f0ea; color: #0c0f13; margin-bottom: 12px; transition: transform .3s var(--ease); box-shadow: 0 0 0 0 rgba(242,240,234,.5); animation: pulse 2.4s infinite; }
.cover:hover .enter i { transform: scale(1.08); }
.cover.busy .enter i { animation: spin 1s linear infinite; border: 3px solid rgba(255,255,255,.25); border-top-color: #fff; background: none; color: transparent; }
@keyframes pulse { 70% { box-shadow: 0 0 0 22px rgba(242,240,234,0); } 100% { box-shadow: 0 0 0 0 rgba(242,240,234,0); } }
@keyframes spin { to { transform: rotate(360deg); } }
.cover .enter b { font: 500 30px/1.1 var(--sans); letter-spacing: -.03em; }
.cover .enter em { font-size: 22px; }
.cover .enter small { font: 500 11px var(--mono); letter-spacing: .12em; text-transform: uppercase; opacity: .7; }
.status, .picked { position: absolute; left: 50%; transform: translateX(-50%); font: 500 12px var(--mono); letter-spacing: .06em; padding: 8px 14px; border-radius: 999px; background: rgba(8,10,13,.78); backdrop-filter: blur(8px); white-space: nowrap; max-width: calc(100% - 24px); overflow: hidden; text-overflow: ellipsis; z-index: 3; }
.status { bottom: 50%; margin-bottom: -110px; } .picked { top: 16px; border: 1px solid rgba(72,224,164,.5); }
.picked b { font-weight: 600; color: #48e0a4; }
.tools { position: absolute; left: 14px; bottom: 14px; display: flex; flex-wrap: wrap; gap: 6px; opacity: 0; pointer-events: none; transition: opacity .4s; z-index: 2; }
.stage.live .tools { opacity: 1; pointer-events: auto; }
.tools button { all: unset; cursor: pointer; font: 500 12px var(--mono); letter-spacing: .04em; padding: 7px 12px; border-radius: 999px; background: rgba(8,10,13,.7); border: 1px solid rgba(255,255,255,.16); backdrop-filter: blur(8px); }
.tools button:hover { border-color: rgba(255,255,255,.5); }
.tools button[aria-pressed="true"] { background: #f2f0ea; color: #0c0f13; }
.hint { position: absolute; right: 16px; bottom: 20px; margin: 0; font: 500 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: rgba(242,240,234,.6); opacity: 0; transition: opacity .5s; pointer-events: none; }
.stage.live .hint { opacity: 1; } .stage.live.touched .hint { opacity: 0; }
.scenepanel { background: none; border: 0; padding: 4px 0 0; display: flex; flex-direction: column; min-width: 0; }
.scenepanel h3 { font: 500 34px/1.05 var(--sans); letter-spacing: -.035em; margin: 0 0 10px; }
.scenepanel .desc { color: var(--mute); font-size: 15px; margin: 0 0 18px; }
.facts3 { display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid var(--line); margin-bottom: 18px; }
.facts3 div { padding: 12px 0; } .facts3 div + div { padding-left: 14px; border-left: 1px solid var(--line); }
.facts3 b { display: block; font: 500 26px/1 var(--sans); letter-spacing: -.03em; }
.facts3 span { font: 500 10px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
.actions { display: flex; flex-wrap: wrap; gap: 8px; }
.scenepanel .pill { font-size: 13px; padding: 8px 14px; }
.tasks-h { margin: 22px 0 8px; }
.tasklist { list-style: none; margin: 0 -8px 0 0; padding: 0 8px 0 0; overflow-y: auto; flex: 1; min-height: 120px; }
.tasklist button { all: unset; box-sizing: border-box; display: block; width: 100%; cursor: pointer; padding: 11px 12px; border-radius: 10px; font-size: 14px; line-height: 1.45; color: var(--mute); transition: background .2s, color .2s; }
.tasklist button:hover, .tasklist button.on { background: var(--soft); color: var(--ink); }
.tasklist button.on { box-shadow: inset 2px 0 0 var(--fun); }
.tasklist i { font: 500 10px var(--mono); font-style: normal; letter-spacing: .1em; text-transform: uppercase; padding: 2px 7px; border-radius: 999px; margin-right: 8px; vertical-align: 1px; }
.tasklist i.robot { background: color-mix(in srgb, var(--geo) 22%, transparent); color: var(--geo); }
.tasklist i.force { background: color-mix(in srgb, var(--app) 22%, transparent); color: var(--app); }
.missing-note { display: none; } #gallery.missing .scene, #gallery.missing .roomchips { display: none; } #gallery.missing .missing-note { display: block; color: var(--mute); }
@media (max-width: 900px) { .scene { grid-template-columns: 1fr; gap: 18px; } .stage { min-height: 0; height: auto; aspect-ratio: 4 / 3.4; position: relative; top: 0; } .scenepanel { max-height: none; } .tasklist { overflow: visible; } .hint { display: none; } }

/* Room wall */
.wall { padding: 0 0 110px; overflow: hidden; }
.wall .eyebrow { margin-bottom: 22px; }
.wall .row { overflow: hidden; margin-bottom: 12px; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.wall .track { display: flex; gap: 12px; width: max-content; animation: slide 110s linear infinite; }
.wall .row.b .track { animation-direction: reverse; animation-duration: 130s; }
.wall .row:hover .track { animation-play-state: paused; }
.wall figure { margin: 0; position: relative; width: 210px; aspect-ratio: 1; border-radius: 12px; overflow: hidden; flex: none; }
.wall img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.wall figure:hover img { transform: scale(1.08); }
.wall figcaption { position: absolute; left: 10px; bottom: 8px; font: 500 11px var(--mono); color: #fff; text-shadow: 0 1px 4px rgba(0,0,0,.9); }
@media (max-width: 700px) { .wall figure { width: 140px; } .wall { padding-bottom: 70px; } }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 54px; }
.step { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; min-width: 0; position: relative; overflow: hidden; }
.step:nth-child(2) { transition-delay: .12s; } .step:nth-child(3) { transition-delay: .24s; }
.step .num { position: absolute; right: 22px; top: 12px; margin: 0; font: 400 76px/1 var(--serif); font-style: italic; color: var(--line); }
.step h3 { font: 500 30px/1 var(--sans); letter-spacing: -.03em; margin: 22px 0 10px; }
.step p:last-child { color: var(--mute); font-size: 15px; margin: 0; }
.art { height: 230px; border-radius: 10px; background: var(--soft); position: relative; overflow: hidden; }
.fan { display: grid; place-items: center; }
.fan img { position: absolute; width: 38%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; box-shadow: 0 10px 30px rgba(0,0,0,.45); border: 2px solid var(--panel);
  transform: translateX(calc(var(--i) * 24%)) translateY(calc(var(--i) * var(--i) * 1.6%)) rotate(calc(var(--i) * 5deg)); transition: transform .6s var(--ease); }
.step:hover .fan img { transform: translateX(calc(var(--i) * 30%)) translateY(calc(var(--i) * var(--i) * 2.4% - 6%)) rotate(calc(var(--i) * 8deg)) scale(1.06); }
.code pre { margin: 0; padding: 18px; font-size: 12px; line-height: 1.6; color: var(--ink); white-space: pre-wrap; height: 100%; }
.code pre::after { content: "▍"; color: var(--fun); animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.dials { display: grid; grid-template-columns: repeat(3, 1fr); align-items: center; padding: 0 10px; }
.dial { text-align: center; position: relative; }
.dial svg { width: 100%; max-width: 104px; margin: 0 auto; transform: rotate(-90deg); display: block; }
.dial circle { fill: none; stroke: var(--line); stroke-width: 6; }
.dial circle.v { stroke: var(--c); stroke-linecap: round; stroke-dasharray: 201.06; stroke-dashoffset: 201.06; transition: stroke-dashoffset 1.4s var(--ease); }
.dial b { position: absolute; left: 0; right: 0; top: 0; aspect-ratio: 1; max-width: 104px; margin: 0 auto; display: grid; place-items: center; font: 500 20px var(--mono); }
.dial span { display: block; margin-top: 8px; font: 500 10px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }

/* Mug test */
.mugs { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 48px; align-items: center; margin-top: 50px; }
.lab { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px 24px; }
.lab svg { width: 100%; height: auto; overflow: visible; }
.lab .floor { stroke: var(--line); stroke-width: 2; }
.lab .body, .lab .lip { fill: color-mix(in srgb, var(--ink) 86%, var(--bg)); transition: fill-opacity .4s; }
.lab .lip { fill: color-mix(in srgb, var(--ink) 60%, var(--bg)); }
.lab .handle { fill: none; stroke: color-mix(in srgb, var(--ink) 86%, var(--bg)); stroke-width: 9; stroke-linecap: round; }
.lab .ball { fill: var(--app); opacity: 0; }
.lab .xray { fill: none; stroke: var(--fun); stroke-width: 2; stroke-dasharray: 5 5; opacity: 0; transition: opacity .4s; }
.lab .solid .xray { stroke: #ef6b5f; stroke-dasharray: none; stroke-width: 3; }
.lab.xrayed .xray { opacity: 1; } .lab.xrayed .body { fill-opacity: .22; }
.lab.drop .hollow .ball { animation: fall-in 1s cubic-bezier(.5, 0, .9, .6) forwards; }
.lab.drop .solid .ball { animation: bounce-off 1.9s linear forwards; }
@keyframes fall-in { 0% { opacity: 1; transform: translateY(0); } 100% { opacity: 1; transform: translateY(151px); } }
@keyframes bounce-off {
  0% { opacity: 1; transform: translate(0, 0); animation-timing-function: cubic-bezier(.5, 0, .9, .6); }
  32% { transform: translate(0, 78px); animation-timing-function: cubic-bezier(.1, .5, .5, 1); }
  50% { transform: translate(22px, 42px); animation-timing-function: cubic-bezier(.5, 0, .9, .6); }
  76% { transform: translate(62px, 159px); animation-timing-function: cubic-bezier(.1, .5, .5, 1); }
  86% { transform: translate(76px, 142px); animation-timing-function: cubic-bezier(.5, 0, .9, .6); }
  100% { opacity: 1; transform: translate(96px, 159px); }
}
.labsrc { margin: 0 0 6px; font: 400 12px/1.5 var(--mono); color: var(--mute); } .labsrc b { color: var(--fun); font-weight: 500; text-transform: uppercase; letter-spacing: .08em; margin-right: 8px; }
.lab .names { display: grid; grid-template-columns: 1fr 1fr; text-align: center; font-size: 13px; color: var(--mute); margin-top: 2px; } .lab .names b { display: block; color: var(--ink); font-weight: 500; font-size: 15px; }
.labnote { margin: 16px 0 0; text-align: center; font-size: 12px; color: var(--mute); }
.verdicts { display: grid; grid-template-columns: 1fr 1fr; text-align: center; margin: 6px 0 18px; font: 500 12px var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.verdicts span { opacity: 0; transform: translateY(6px); transition: opacity .4s, transform .4s; }
.lab.drop .verdicts span { opacity: 1; transform: none; transition-delay: 1s; } .lab.drop .verdicts .no { transition-delay: 1.8s; }
.verdicts .ok { color: var(--fun); } .verdicts .no { color: #ef6b5f; }
.lab .actions { justify-content: center; }
.say .big { font: 400 clamp(22px, 2.4vw, 30px)/1.25 var(--sans); letter-spacing: -.02em; margin: 0 0 18px; }
.say p { margin: 0 0 16px; color: var(--mute); }
.say .big { color: var(--ink); }
.three { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 2px; }
.three li { padding: 14px 0 14px 18px; border-left: 3px solid var(--c); color: var(--mute); font-size: 15px; }
.three b { display: block; color: var(--ink); font: 500 12px var(--mono); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 3px; }
@media (max-width: 900px) { .mugs { grid-template-columns: 1fr; gap: 30px; } }

/* Caught in the test: real copies */
.casetabs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.casetabs button { all: unset; box-sizing: border-box; cursor: pointer; padding: 12px 20px; border-radius: 14px; border: 1px solid var(--line); background: var(--panel); font-size: 16px; font-weight: 500; letter-spacing: -.01em; transition: transform .2s var(--ease), border-color .2s, background .2s; }
.casetabs button small { display: block; font: 500 10px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--mute); margin-bottom: 2px; }
.casetabs button:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--ink) 40%, transparent); }
.casetabs button[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.casetabs button[aria-pressed="true"] small { color: inherit; opacity: .6; }
.casegrid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(320px, 1fr); gap: 18px; align-items: start; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; position: sticky; top: 80px; }
.pair figure { margin: 0; position: relative; aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--soft); }
.pair img, .pair canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pair canvas { cursor: grab; touch-action: none; opacity: 0; transition: opacity .6s; }
.copystage.live canvas { opacity: 1; }
.pair figcaption { position: absolute; left: 10px; top: 10px; font: 500 11px var(--mono); letter-spacing: .06em; padding: 6px 10px; border-radius: 999px; background: rgba(8,10,13,.78); color: #f2f0ea; backdrop-filter: blur(8px); max-width: calc(100% - 20px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; pointer-events: none; }
.samecam { all: unset; cursor: pointer; position: absolute; left: 10px; bottom: 10px; font: 500 11px var(--mono); padding: 6px 10px; border-radius: 999px; background: rgba(8,10,13,.78); color: #f2f0ea; border: 1px solid rgba(255,255,255,.2); }
.samecam:hover { border-color: rgba(255,255,255,.6); }
.copystage .spin2 { position: absolute; left: 50%; top: 50%; width: 34px; height: 34px; margin: -17px; border-radius: 50%; border: 3px solid color-mix(in srgb, var(--ink) 20%, transparent); border-top-color: var(--ink); animation: spin 1s linear infinite; }
.copystage.live:not(.busy) .spin2 { display: none; }
.casebody { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; min-width: 0; }
.caseline { margin: 0 0 16px; font-size: 16px; }
.scorechips { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 18px; }
.scorechips span { border-top: 3px solid var(--c); padding-top: 8px; font: 500 10px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }
.scorechips b { display: block; font: 500 26px/1.1 var(--sans); letter-spacing: -.03em; color: var(--ink); text-transform: none; }
.checks { list-style: none; margin: 0; padding: 0; max-height: 0; overflow: hidden; transition: max-height .6s var(--ease); }
#cases.tested .checks { max-height: 1400px; margin-top: 6px; }
#cases.tested .runtests { display: none; }
.checks li { opacity: 0; transform: translateY(10px); }
#cases.tested .checks li { opacity: 1; transform: none; transition: opacity .5s var(--ease) var(--d), transform .5s var(--ease) var(--d); }
.checks button { all: unset; box-sizing: border-box; display: grid; grid-template-columns: 52px 1fr; gap: 2px 12px; width: 100%; cursor: pointer; padding: 13px 10px; border-top: 1px solid var(--line); border-radius: 8px; transition: background .2s; }
.checks button:hover, .checks button.on { background: var(--soft); }
.checks i { grid-row: 1 / 3; align-self: start; font: 600 10px var(--mono); font-style: normal; letter-spacing: .1em; text-transform: uppercase; text-align: center; padding: 4px 0; border-radius: 999px; }
.checks .no i { background: color-mix(in srgb, #ef6b5f 20%, transparent); color: #ef6b5f; }
.checks .ok i { background: color-mix(in srgb, var(--fun) 20%, transparent); color: var(--fun); }
.checks .t { font-size: 13px; color: var(--mute); line-height: 1.4; }
.checks .v { font-size: 15px; font-weight: 500; line-height: 1.4; }
#cases .foot { display: none; } #cases.tested .foot { display: block; }
@media (max-width: 1000px) { .casegrid { grid-template-columns: 1fr; } .pair { position: static; } }
@media (max-width: 560px) { .pair { grid-template-columns: 1fr; } .scorechips { grid-template-columns: 1fr 1fr; } .scorechips b { font-size: 22px; } }

/* Results race */
.race { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; margin-top: 40px; }
.racehead { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; margin-bottom: 18px; }
.racenote { margin: 0; color: var(--mute); font-size: 14px; flex: 1; min-width: 220px; }
.seg { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg); }
.seg button { all: unset; cursor: pointer; padding: 7px 14px; border-radius: 999px; font-size: 13px; font-weight: 500; color: var(--mute); transition: background .2s, color .2s; white-space: nowrap; }
.seg button:hover { color: var(--ink); }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.lanes { list-style: none; margin: 0; padding: 0; }
.lanes li { display: grid; grid-template-columns: 28px minmax(130px, 220px) 1fr 60px; gap: 14px; align-items: center; padding: 11px 0; border-top: 1px solid var(--line); transition: transform .7s var(--ease); }
.lanes .pos { font: 500 12px var(--mono); color: var(--mute); }
.lanes .who { font-weight: 500; font-size: 15px; line-height: 1.2; }
.lanes .who small { display: block; font: 500 10px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--mute); margin-top: 3px; }
.lanes .track { height: 12px; border-radius: 6px; background: var(--soft); overflow: hidden; }
.lanes .track i { display: block; height: 100%; border-radius: 6px; width: 0; transition: width 1.1s var(--ease), background .4s; }
.lanes .val { font: 500 16px var(--mono); text-align: right; }
.foot { font-size: 13px; color: var(--mute); margin: 16px 0 0; max-width: 70em; }
.findings { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 18px; }
.finding { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; min-width: 0; position: relative; overflow: hidden; }
.finding::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--c); }
.finding b { display: block; font: 500 clamp(44px, 5vw, 68px)/1 var(--sans); letter-spacing: -.05em; margin-bottom: 14px; font-variant-numeric: tabular-nums; }
.finding h3 { font-size: 15px; margin-bottom: 6px; }
.finding p { margin: 0; color: var(--mute); font-size: 14px; }
.finding:nth-child(2) { transition-delay: .08s; } .finding:nth-child(3) { transition-delay: .16s; } .finding:nth-child(4) { transition-delay: .24s; }
@media (max-width: 1000px) { .findings { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .findings { grid-template-columns: 1fr; } .lanes li { grid-template-columns: 20px minmax(0, 1fr) 52px; } .lanes .track { grid-column: 2 / 4; grid-row: 2; } .race { padding: 18px; } }

/* Enter */
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.way { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; min-width: 0; }
body:not([data-page="landing"]) .way { background: var(--panel); }
.way p { color: var(--mute); font-size: 15px; margin: 0; }
.way .kicker { margin-bottom: 10px; }
pre.cmd { background: #07090b; color: #e6e3dc; border: 1px solid #222830; border-radius: 10px; padding: 16px 18px; overflow-x: auto; font-size: 13px; line-height: 1.65; margin: 16px 0 0; }
dl.facts { display: grid; grid-template-columns: repeat(4, 1fr); margin: 14px 0 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); }
dl.facts div { padding: 18px 20px; border-right: 1px solid var(--line); }
dl.facts div:last-child { border-right: 0; }
dl.facts dt { font: 500 10px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--mute); margin-bottom: 5px; }
dl.facts dd { margin: 0; font-size: 15px; }
.more { font-weight: 500; text-decoration: none; border-bottom: 1px solid currentColor; }
.cite { margin-top: 44px; }
@media (max-width: 860px) { .two { grid-template-columns: 1fr; } dl.facts { grid-template-columns: 1fr 1fr; } dl.facts div:nth-child(2) { border-right: 0; } dl.facts div:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }

/* Footer */
footer { padding: 40px 0 56px; font-size: 14px; color: var(--mute); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; }
footer span { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; }
footer a { text-decoration: none; border-bottom: 1px solid var(--line); }
footer a.by { border: 0; display: inline-flex; align-items: center; gap: 10px; }
footer a.by small { font: 500 10px var(--mono); letter-spacing: .12em; text-transform: uppercase; }
footer a.by img { height: 24px; width: auto; filter: invert(1) brightness(1.6); opacity: .9; }
footer a.by img { filter: none; }
:root[data-theme="dark"] footer a.by img { filter: invert(1) hue-rotate(180deg); }

/* Film dialog */
dialog.film { border: 1px solid #2a3038; border-radius: var(--radius); padding: 0; background: #07090b; color: #f2f0ea; width: min(1100px, 94vw); overflow: hidden; }
dialog.film::backdrop { background: rgba(4,5,7,.86); backdrop-filter: blur(6px); }
.filmhead { display: flex; align-items: center; justify-content: space-between; padding: 12px 18px; }
.filmhead h3 { margin: 0; font-size: 15px; font-weight: 500; }
.filmhead button { all: unset; cursor: pointer; font-size: 24px; line-height: 1; padding: 2px 8px; border-radius: 6px; }
.filmhead button:hover { background: rgba(255,255,255,.12); }
dialog.film video { width: 100%; aspect-ratio: 16 / 9; background: #000; }

/* Leaderboard page */
.pagehead { padding-top: 130px; padding-bottom: 30px; }
.pagehead h1 { font: 500 clamp(44px, 7vw, 92px)/.98 var(--sans); letter-spacing: -.045em; margin: 0 0 16px; }
.pagehead p { color: var(--mute); max-width: 44em; margin: 0; font-size: 18px; }
.controls { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 14px; }
.controls .hint2 { font-size: 13px; color: var(--mute); margin-left: auto; }
.tablewrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
table.board { border-collapse: collapse; width: 100%; font-size: 14px; white-space: nowrap; }
table.board th, table.board td { padding: 13px 16px; text-align: right; border-bottom: 1px solid var(--line); }
table.board th { font: 500 11px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--mute); background: var(--soft); cursor: pointer; user-select: none; }
table.board th[aria-sort] { color: var(--ink); }
table.board th[aria-sort="descending"]::after { content: " ↓"; } table.board th[aria-sort="ascending"]::after { content: " ↑"; }
table.board th.l, table.board td.l { text-align: left; }
table.board tr:last-child td { border-bottom: 0; }
table.board tbody tr { transition: background .2s; } table.board tbody tr:hover { background: var(--soft); }
table.board td.num { font-family: var(--mono); font-size: 13px; }
table.board td.best { font-weight: 700; color: var(--ink); }
table.board td.agent { font-weight: 600; }
table.board td .tag { font: 500 10px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--mute); border: 1px solid var(--line); border-radius: 999px; padding: 1px 7px; margin-left: 8px; }
table.board th.a { color: var(--app); } table.board th.g { color: var(--geo); } table.board th.f { color: var(--fun); }
.cellbar { display: inline-block; width: 46px; height: 5px; border-radius: 3px; background: var(--soft); margin-right: 8px; vertical-align: middle; overflow: hidden; }
.cellbar i { display: block; height: 100%; border-radius: 3px; }
.howto { margin: 32px 0 72px; }
@media (max-width: 700px) { table.board th, table.board td { padding: 10px 9px; } table.board .cellbar { display: none; } table.board td .tag { margin-left: 4px; } .pagehead { padding-top: 100px; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .rise { opacity: 1; transform: none; transition: none; }
  .ticker .track, .wall .track, .cue i, .cover .enter i { animation: none; }
  .lanes li, .lanes .track i, .dial circle.v { transition: none; }
}

/* Task recordings in the scene gallery */
.tasklist .watch { display: inline-block; margin-left: 8px; font: 500 11px var(--mono); font-style: normal; letter-spacing: .04em; color: var(--fun); white-space: nowrap; }
.replaybar { position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 4; padding: 10px 12px 10px; border-radius: 12px; background: rgba(10,12,15,.82); color: #f2f0ea; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.replaybar[hidden] { display: none; }
.replaybar .rrow { display: flex; align-items: center; gap: 10px; }
.replaybar button { font: 500 12px var(--sans); color: inherit; background: rgba(255,255,255,.12); border: 0; border-radius: 999px; padding: 6px 12px; cursor: pointer; }
.replaybar button:disabled { opacity: .5; }
.replaybar .rclose { padding: 4px 10px; font-size: 16px; line-height: 1; }
.replaybar .rseek { flex: 1; min-width: 0; accent-color: var(--fun); }
.replaybar .rtime { font: 400 12px var(--mono); white-space: nowrap; }
.replaybar p { margin: 8px 2px 0; font-size: 12.5px; line-height: 1.45; color: #c9ccd2; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.replaybar p b { color: #fff; font-weight: 500; }
.stage.replaying .tools, .stage.replaying .picked { display: none; }

/* Caught in the test: the measured amount shown over the copy, and the watch tag on a check */
.copystage .readout { position: absolute; left: 124px; right: 10px; bottom: 10px; padding: 8px 12px; border-radius: 10px; font: 500 13px var(--mono); color: #fff; background: rgba(8,10,13,.8); border-left: 3px solid #ef6b5f; pointer-events: none; }
.copystage .readout.ok { border-left-color: var(--fun); }
.copystage .readout[hidden] { display: none; }
.checks .mv { display: inline-block; margin-left: 8px; font: 500 11px var(--mono); font-style: normal; color: var(--app); white-space: nowrap; }
.casetabs { flex-wrap: wrap; }

.hero .sub { max-width: 62ch; margin: -12px 0 28px; font-size: clamp(15px, 1.25vw, 17px); line-height: 1.55; color: #c9ccd2; }

/* Round 3: quieter panels and results */
.tasklist { overflow: visible; }
.scenepanel .linkish { all: unset; cursor: pointer; font-size: 13px; color: var(--mute); text-decoration: underline; text-underline-offset: 3px; }
.scenepanel .linkish:hover { color: var(--ink); } .scenepanel .linkish:disabled { opacity: .4; cursor: default; }
.race .more { margin: 22px 0 0; } .race .more a { font-weight: 500; }
.pill.solid { background: var(--ink); color: var(--bg); }
.navcta { background: var(--lime); color: #172d24; }

/* Caught in the test: the true scene plays on the left once a check is chosen */
.inpic canvas { opacity: 0; pointer-events: none; background: radial-gradient(90% 70% at 50% 35%, #2a4a3f 0%, #14302a 55%, #0b1f18 100%); }
.inpic.live3d.ready canvas { opacity: 1; pointer-events: auto; }
.inpic.live3d img { filter: brightness(.55); }
.inpic .tnote { position: absolute; left: 10px; bottom: 10px; font: 500 11px var(--mono); padding: 6px 10px; border-radius: 999px; background: rgba(8,27,21,.8); color: #f6f8ec; }
.inpic .tnote[hidden] { display: none; }
.pair figure { border: 0; }

/* Looks against works: a true-scene picture beside the agent's world */
.pair2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 10px 0 16px; }
.pair2 figure { margin: 0; position: relative; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--soft); }
.pair2 img, .pair2 canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pair2 canvas { cursor: grab; touch-action: none; opacity: 0; transition: opacity .6s; }
.pair2 .live canvas { opacity: 1; }
.pair2 figcaption { position: absolute; left: 8px; top: 8px; right: 8px; width: fit-content; font: 500 10.5px var(--mono); padding: 5px 9px; border-radius: 999px; background: rgba(8,27,21,.78); color: #f6f8ec; }
.pair2 .spin2 { position: absolute; left: 50%; top: 50%; width: 30px; height: 30px; margin: -15px; border-radius: 50%; border: 3px solid color-mix(in srgb, var(--ink) 20%, transparent); border-top-color: var(--ink); animation: spin 1s linear infinite; }
.pair2 .live .spin2 { display: none; }
#hollow .actions .pill.solid { background: none; color: var(--ink); border: 1px solid var(--line); }
#hollow .actions .pill.solid.on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
#hollow .labnote { text-align: left; font-size: 14px; color: var(--ink); min-height: 2.9em; }
@media (max-width: 560px) { .pair2 { grid-template-columns: 1fr; } }

/* The 3D view runs from the left edge of the browser to the task panel: as wide and as tall as the window allows. */
@media (min-width: 901px) {
  .scene { width: 100vw; margin-left: calc(50% - 50vw); padding-right: 28px; grid-template-columns: minmax(0, 1fr) minmax(300px, 380px); gap: 30px; }
  .stage { border-radius: 0 var(--radius) var(--radius) 0; height: min(84vh, 900px); min-height: 560px; top: 72px; }
}

/* Looks against works: one frame, drag to compare (true picture under, agent's world over) */
.cmpwrap { max-width: 860px; margin: 44px auto 0; }
.cmphead { display: grid; grid-template-columns: 1fr auto 1fr; align-items: baseline; margin-bottom: 10px; }
.cmphead h3 { margin: 0; font: 500 20px var(--sans); letter-spacing: -.02em; } .cmphead h3:last-child { text-align: right; }
.cmphead span { font: 500 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }
.cmp { position: relative; margin: 0; aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; background: var(--soft); cursor: ew-resize; user-select: none; touch-action: pan-y; }
.cmp img, .cmp .over, .cmp canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cmp img { -webkit-user-drag: none; }
.cmp .over { clip-path: inset(0 0 0 50%); } .cmp canvas { opacity: 0; transition: opacity .6s; } .cmp.live canvas { opacity: 1; }
.cmp .rule { position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 0 1px rgba(8,27,21,.25); pointer-events: none; }
.cmp .rule i { position: absolute; top: 50%; left: 50%; width: 38px; height: 38px; margin: -19px; border-radius: 50%; background: #fff; color: #172d24; display: grid; place-items: center; font: 500 16px var(--sans); font-style: normal; box-shadow: 0 2px 10px rgba(0,0,0,.25); }
.cmp .ring { position: absolute; width: 54px; height: 54px; margin: -27px; border-radius: 50%; border: 2px solid var(--lime); box-shadow: 0 0 0 2px rgba(8,27,21,.5); pointer-events: none; animation: ringpulse 1.8s ease-in-out infinite; }
.cmp .ring[hidden] { display: none; }
.cmp .ring b { position: absolute; left: 50%; top: 100%; transform: translate(-50%, 6px); white-space: nowrap; font: 500 11px var(--mono); padding: 3px 8px; border-radius: 999px; background: var(--lime); color: #172d24; }
@keyframes ringpulse { 50% { transform: scale(1.12); } }
.cmp figcaption { position: absolute; bottom: 10px; font: 500 11px var(--mono); padding: 6px 10px; border-radius: 999px; background: rgba(8,27,21,.78); color: #f6f8ec; pointer-events: none; max-width: 46%; }
.cmp .capl { left: 10px; } .cmp .capr { right: 10px; text-align: right; }
.cmp .verdict { position: absolute; left: 10px; right: 10px; bottom: 10px; margin: 0; padding: 12px 14px; border-radius: 12px; background: rgba(8,27,21,.86); color: #f6f8ec; font-size: 15px; border-left: 3px solid #ef6b5f; }
.cmp .verdict[hidden] { display: none; }
#hollow.inside .cmp { cursor: grab; } #hollow.inside .rule, #hollow.inside figcaption { display: none; }
.cmpfoot { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; margin-top: 16px; }
.three.inline { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 0; padding: 0; list-style: none; font-size: 13px; color: var(--mute); }
.three.inline li { padding: 0 0 0 10px; border-left: 3px solid var(--c); margin: 0; } .three.inline b { color: var(--ink); font-weight: 500; margin-right: 6px; display: inline; font: inherit; font-weight: 500; text-transform: none; letter-spacing: 0; }
@media (max-width: 560px) { .cmphead span { display: none; } .cmp figcaption { font-size: 9.5px; } }

/* Looks against works: the same test, true scene beside the agent's world */
.duel { margin-top: 44px; }
.duelgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.duel h3 { margin: 0 0 10px; font: 500 20px var(--sans); letter-spacing: -.02em; }
.dfig { position: relative; margin: 0; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: radial-gradient(90% 70% at 50% 35%, #2a4a3f 0%, #14302a 55%, #0b1f18 100%); }
.dfig canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .8s; cursor: grab; touch-action: none; }
.dfig.live canvas { opacity: 1; }
.dfig .spin2 { position: absolute; left: 50%; top: 50%; width: 30px; height: 30px; margin: -15px; border-radius: 50%; border: 3px solid rgba(246,248,236,.25); border-top-color: #f6f8ec; animation: spin 1s linear infinite; }
.dfig.live .spin2 { display: none; }
.dfig figcaption { position: absolute; left: 12px; right: 12px; bottom: 12px; padding: 11px 14px; border-radius: 12px; background: rgba(8,27,21,.84); color: #f6f8ec; font-size: 16px; border-left: 3px solid var(--lime); pointer-events: none; }
.dfig figcaption.no { border-left-color: #ef6b5f; }
.duelnote { margin: 16px 0 0; font-size: 14px; color: var(--mute); max-width: 80ch; }
@media (max-width: 760px) { .duelgrid { grid-template-columns: 1fr; } .dfig figcaption { font-size: 14px; } }

/* Scene gallery, wide screens: the scene picker runs the full width above the 3D view and starts where the view starts;
   the details panel sits at the top right, level with the picker. */
@media (min-width: 901px) {
  #gallery { width: 100vw; margin-left: calc(50% - 50vw); padding-right: 28px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 380px); column-gap: 30px; row-gap: 12px; align-items: start; grid-template-rows: auto 1fr; }
  #gallery .roomchips { grid-column: 1; grid-row: 1; flex-wrap: wrap; overflow: visible; padding: 0 0 0 14px; margin: 0; }
  #gallery .scene { display: contents; }
  #gallery .stage { grid-column: 1; grid-row: 2; }
  #gallery .scenepanel { grid-column: 2; grid-row: 1 / span 2; padding-top: 0; }
  #gallery .missing-note { grid-column: 1 / -1; padding-left: 28px; }
}

/* Scene panel: three matching buttons, and a quiet task list (play mark, text, length) */
.scenepanel .actions { gap: 8px; }
.scenepanel .actions .pill.solid { font-size: 13px; padding: 9px 15px; }
.tasklist { margin: 0; padding: 0; border-top: 1px solid var(--line); }
.tasklist li { border-bottom: 1px solid var(--line); }
.tasklist button { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; column-gap: 10px; align-items: start; padding: 13px 6px; border-radius: 0; font-size: 14px; line-height: 1.5; color: var(--ink); }
.tasklist button:hover { background: var(--soft); }
.tasklist button.on { background: var(--soft); box-shadow: inset 3px 0 0 var(--fun); }
.tasklist .pl { width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; font-size: 9px; color: var(--mute); margin-top: 1px; transition: background .2s, color .2s, border-color .2s; }
.tasklist button:hover .pl, .tasklist button.on .pl { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.tasklist .du { font: 400 12px var(--mono); color: var(--mute); padding-top: 2px; }

.dueltabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.dueltabs button { all: unset; cursor: pointer; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; font-weight: 500; transition: background .2s, color .2s; }
.dueltabs button:hover { border-color: var(--ink); }
.dueltabs button[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.duelnote b { color: var(--ink); font-weight: 500; margin-right: 6px; }

/* Caught in the test, in the two-pane format */
#cases .caseline { margin: 0 0 14px; font-size: 17px; max-width: 80ch; }
#cases .scorechips { margin: 0 0 18px; max-width: 640px; }
.testchips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.testchips button { all: unset; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 8px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; font-weight: 500; }
.testchips button i { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 12px; color: #fff; background: #d9534a; }
.testchips button.ok i { background: var(--fun); }
.testchips button:hover { border-color: var(--ink); }
.testchips button[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.dfig figcaption.ok { border-left-color: var(--fun); }
.verdictline { margin: 16px 0 0; font-size: 18px; font-weight: 500; max-width: 80ch; }
#cases .casetabs button small { letter-spacing: .1em; }

/* Scene section, wide screens: everything starts 28 px from the browser's left edge, and the 3D view is rounded all round. */
@media (min-width: 901px) {
  #scenes .edge { margin-left: calc(50% - 50vw + 28px); }
  #gallery { padding-left: 28px; }
  #gallery .roomchips { padding-left: 0; }
  #gallery .stage { border-radius: var(--radius); }
}

/* Hero and header: three matching buttons, and a plain Leaderboard link in the menu */
.hero .links .pill { background: rgba(246,248,236,.1); border: 1px solid rgba(246,248,236,.55); color: #f6f8ec; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.hero .links .pill:hover { background: #f6f8ec; color: #172d24; }
.nav .navcta { background: none; color: var(--mute); font-weight: inherit; margin-left: 0; opacity: 1; }
.nav .navcta:hover { background: none; color: var(--ink); opacity: 1; }
/* The task film: one mark per task in the playback bar */
.replaybar .rdots { display: flex; gap: 5px; }
.replaybar .rdots button { width: 16px; height: 16px; padding: 0; border-radius: 50%; background: none; position: relative; }
.replaybar .rdots button::before { content: ""; position: absolute; inset: 5px; border-radius: 50%; background: rgba(255,255,255,.35); }
.replaybar .rdots button.done::before { background: rgba(255,255,255,.8); }
.replaybar .rdots button.on::before { inset: 3px; background: var(--lime); }
.replaybar p { -webkit-line-clamp: 3; font-size: 14px; }
.replaybar p b { display: inline-block; margin-right: 6px; font: 500 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--lime); }

.lede.wide { max-width: none; }
.wall figcaption b { font-weight: 500; margin-right: 4px; opacity: .7; }
.wall figcaption { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: calc(100% - 12px); }

/* Hero: the name stands out from the film */
.hero h1 { color: #fff; text-shadow: 0 2px 28px rgba(4,16,12,.75), 0 1px 2px rgba(4,16,12,.6); }
.hero h1 b { font-weight: 700; } .hero h1 span { opacity: 1; font-weight: 400; }
.hero .veil { background:
  radial-gradient(120% 90% at 12% 100%, rgba(8,27,21,.96) 0%, rgba(8,27,21,.74) 46%, rgba(8,27,21,.18) 80%),
  linear-gradient(180deg, rgba(8,27,21,.6) 0%, rgba(8,27,21,.25) 30%, rgba(8,27,21,.9) 100%); }

/* Scene explorer: tabs, then the scene's description with its one button, then the 3D view across the page */
.sceneinfo { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin: 4px 0 14px; }
.sceneinfo .desc { margin: 0; flex: 1 1 520px; max-width: 110ch; font-size: 16px; color: var(--mute); }
.sceneinfo .desc b { color: var(--ink); font-weight: 500; }
.sceneinfo .pill { flex: none; }
.coverfilm { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.coverfilm[hidden] { display: none; }
.cover { background: linear-gradient(180deg, rgba(8,27,21,.25), rgba(8,27,21,.6)); color: #f6f8ec; }
@media (min-width: 901px) {
  #gallery { display: block; padding: 0 28px; }
  #gallery .roomchips { padding: 0 0 12px; }
  #gallery .scene { display: block; }
  #gallery .stage { position: relative; top: 0; height: min(86vh, 940px); }
}
.cover::before { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(8,27,21,.3); }

/* Scene explorer, centred: heading, scene tabs, a 16:9 view with room around it, then the scene's name and description */
#scenes .edge { margin-left: auto; margin-right: auto; text-align: center; }
#scenes .lede.edge { max-width: 60ch; }
@media (min-width: 901px) {
  #gallery { display: block; width: auto; margin: 0 auto; max-width: 1080px; padding: 0; }
  #gallery .roomchips { justify-content: center; padding: 0 0 18px; }
  #gallery .stage { position: relative; top: 0; height: auto; min-height: 0; aspect-ratio: 16 / 9; max-height: 76vh; margin: 0 auto; border-radius: 18px; }
}
.roomchips { justify-content: center; }
.sceneinfo { display: block; text-align: center; margin: 22px auto 0; max-width: 68ch; }
.sceneinfo h3 { margin: 0 0 6px; font: 500 26px/1.15 var(--sans); letter-spacing: -.03em; }
.sceneinfo .desc { margin: 0; font-size: 16px; color: var(--mute); max-width: none; }
/* inside the view: the task film button in the middle of the bottom edge, zoom at the right */
.taskbtn { all: unset; box-sizing: border-box; cursor: pointer; position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); z-index: 3; display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 18px 7px 7px; border-radius: 999px; background: var(--lime); color: #172d24; font: 500 14px var(--sans); box-shadow: 0 6px 22px rgba(4,16,12,.35); transition: transform .2s; }
.taskbtn i { width: 30px; height: 30px; border-radius: 50%; background: #172d24; color: var(--lime); display: grid; place-items: center; font-style: normal; font-size: 11px; padding-left: 2px; }
.taskbtn:hover { transform: translateX(-50%) translateY(-2px); }
.stage.replaying .taskbtn { display: none; }
.zoomers { position: absolute; right: 12px; bottom: 12px; z-index: 3; display: flex; gap: 6px; }
.zoomers button { all: unset; cursor: pointer; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font: 500 18px var(--sans); background: rgba(8,27,21,.72); color: #f6f8ec; border: 1px solid rgba(246,248,236,.2); }
.zoomers button:hover { background: #f6f8ec; color: #172d24; }
.stage:not(.live) .zoomers, .stage.replaying .zoomers { display: none; }
@media (max-width: 700px) { .taskbtn { font-size: 13px; bottom: 56px; } }

/* Scene section, left aligned like the others: heading, sentence, tabs, description, then the view */
#scenes .edge { margin-left: 0; margin-right: 0; text-align: left; }
#scenes .lede.edge { max-width: 60ch; }
.roomchips, #gallery .roomchips { justify-content: flex-start; }
@media (min-width: 901px) { #gallery { max-width: none; } #gallery .roomchips { padding-bottom: 14px; } }
.sceneinfo { text-align: left; margin: 0 0 16px; max-width: 90ch; }
.sceneinfo h3 { display: inline; font: 500 16px var(--sans); letter-spacing: 0; margin: 0 6px 0 0; }
.sceneinfo h3::after { content: "."; }
.sceneinfo .desc { display: inline; font-size: 16px; }
/* the two buttons on top of the view */
.modes { position: absolute; left: 50%; top: 14px; transform: translateX(-50%); z-index: 5; display: flex; padding: 4px; border-radius: 999px; background: rgba(8,27,21,.72); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid rgba(246,248,236,.18); }
.modes button { all: unset; cursor: pointer; padding: 8px 18px; border-radius: 999px; font: 500 14px var(--sans); color: #f6f8ec; white-space: nowrap; transition: background .2s, color .2s; }
.modes button:hover { background: rgba(246,248,236,.14); }
.modes button[aria-pressed="true"] { background: var(--lime); color: #172d24; }
.cover .enter { display: none; }
@media (max-width: 560px) { .modes button { padding: 7px 12px; font-size: 13px; } }

@media (min-width: 901px) {
  #gallery .scene { width: auto; margin: 0; padding: 0; }
  #gallery .stage { width: 100%; max-height: none; }
}

/* Scene tabs: eight even picture buttons across the width of the 3D view */
.roomchips, #gallery .roomchips { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 8px; padding: 0 0 16px; overflow: visible; }
.roomchips button { all: unset; box-sizing: border-box; cursor: pointer; position: relative; height: 68px; border-radius: 12px; overflow: hidden; background-size: cover; background-position: center; display: flex; align-items: flex-end; padding: 0; border: 0; transition: transform .2s, box-shadow .2s; }
.roomchips button::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,27,21,.15) 0%, rgba(8,27,21,.78) 100%); transition: background .2s; }
.roomchips button span { position: relative; width: 100%; padding: 6px 8px 7px; font: 500 12.5px/1.2 var(--sans); color: #f6f8ec; text-align: center; }
.roomchips button:hover { transform: translateY(-2px); border: 0; }
.roomchips button[aria-pressed="true"] { background-color: transparent; color: inherit; box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--ink); }
.roomchips button[aria-pressed="true"]::before { background: linear-gradient(180deg, rgba(8,27,21,0) 0%, rgba(8,27,21,.6) 100%); }
.roomchips button[aria-pressed="true"] span { color: var(--lime); }
@media (max-width: 900px) { .roomchips, #gallery .roomchips { grid-template-columns: repeat(4, minmax(0, 1fr)); } .roomchips button { height: 58px; } .roomchips button span { font-size: 11px; } }
/* The scene's description, in the same text style as the sentence under each section heading */
.sceneinfo { max-width: none; margin: 0 0 18px; }
.sceneinfo .lede { margin: 0; max-width: 78ch; }

/* Scene tabs, round 2: bright pictures cropped to the furniture, and the name on a pill like the buttons on the 3D view */
.roomchips button { height: 92px; background-position: center 72%; align-items: flex-end; justify-content: center; padding-bottom: 8px; }
.roomchips button::before, .roomchips button[aria-pressed="true"]::before { background: none; }
.roomchips button span { width: auto; max-width: calc(100% - 10px); padding: 6px 12px; border-radius: 999px; font: 500 13.5px/1.15 var(--sans); color: #f6f8ec; background: rgba(8,27,21,.78); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid rgba(246,248,236,.18); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.roomchips button[aria-pressed="true"] span { background: var(--lime); color: #172d24; border-color: transparent; }
.roomchips button[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--lime); }
.roomchips button:not([aria-pressed="true"]) { filter: saturate(1.05); }
@media (max-width: 1200px) { .roomchips button span { font-size: 12px; padding: 5px 9px; } }
/* the description: smaller and quieter */
.sceneinfo .lede { font-size: 16px; line-height: 1.6; max-width: 96ch; }
.roomchips button span { white-space: normal; text-align: center; border-radius: 14px; text-wrap: balance; }
/* the selected tab keeps the same crop as the others (an older rule reset it to the picture's top-left corner) */
.roomchips button[aria-pressed="true"] { background-size: cover; background-position: center 72%; background-repeat: no-repeat; }

/* Two-pane players: tabs spread evenly across both panes; "True scene" and "Agent's world" sit inside the frames */
.dueltabs, #cases .casetabs, #cases .testchips { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 8px; }
.dueltabs button, #cases .casetabs button, #cases .testchips button { box-sizing: border-box; text-align: center; justify-content: center; padding-left: 8px; padding-right: 8px; min-width: 0; }
.dueltabs button { font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#cases .testchips button { font-size: 13px; padding: 7px 8px; }
#cases .testchips button i { flex: none; }
.duelgrid > div { position: relative; }
.duel .duelgrid h3 { position: absolute; left: 12px; top: 12px; z-index: 3; margin: 0; padding: 6px 12px; border-radius: 999px; font: 500 13px var(--sans); letter-spacing: 0; color: #f6f8ec; background: rgba(8,27,21,.78); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid rgba(246,248,236,.18); pointer-events: none; }
#cases .scorechips { max-width: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 900px) {
  .dueltabs, #cases .casetabs, #cases .testchips { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #cases .scorechips { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Before the visitor chooses: the film is clearly a preview (darker, softly blurred), a line says what to do, and the two buttons pulse */
.cover::before { background: rgba(8,27,21,.52); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.cover .enter { display: grid; }
.cover .enter i, .cover .enter b, .cover .enter small { display: none; }
.cover .enter em { font: 500 17px/1.4 var(--sans); font-style: normal; color: #f6f8ec; padding: 12px 20px; border-radius: 999px; background: rgba(8,27,21,.7); border: 1px solid rgba(246,248,236,.2); max-width: min(90%, 560px); }
.cover .enter em u { text-decoration: none; color: var(--lime); }
.cover.busy .enter em { opacity: 0; }
#gallery:not(.started) .modes { animation: modepulse 1.8s ease-in-out infinite; }
#gallery:not(.started) .modes button { background: rgba(213,239,180,.16); }
@keyframes modepulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(213,239,180,.0); } 50% { box-shadow: 0 0 0 10px rgba(213,239,180,.28); } }
@media (prefers-reduced-motion: reduce) { #gallery:not(.started) .modes { animation: none; box-shadow: 0 0 0 3px rgba(213,239,180,.5); } }

/* Results: the leaderboard link sits beside the heading */
.headrow { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px 24px; margin-bottom: 36px; }
.headrow h2 { margin: 0; }
.headrow .pill { flex: none; margin-bottom: 10px; }
.lede .guide { color: var(--ink); font-weight: 500; white-space: nowrap; text-underline-offset: 4px; }
@media (max-width: 700px) { .lede .guide { white-space: normal; } }

/* Before a choice is made, the two buttons sit in the middle of the preview film, larger; after a click they glide to the top. No pulse, no line of text. */
.cover .enter { display: none; }
.modes { transition: top .7s var(--ease), transform .7s var(--ease), padding .4s; }
#gallery:not(.started) .modes { animation: none; top: 50%; transform: translate(-50%, -50%); padding: 6px; box-shadow: 0 10px 40px rgba(4,16,12,.45); }
#gallery:not(.started) .modes button { background: none; padding: 13px 26px; font-size: 16px; transition: padding .4s, font-size .4s, background .2s, color .2s; }
#gallery:not(.started) .modes button:hover { background: var(--lime); color: #172d24; }
.modes button { transition: padding .4s, font-size .4s, background .2s, color .2s; }

/* Authors, under the title: names with superscripts, then affiliations, then notes */
.authors { text-align: center; margin: 0 0 26px; color: #f6f8ec; }
.authors p { margin: 0; display: flex; flex-wrap: wrap; justify-content: center; }
.authors .names { gap: 4px 18px; font: 500 clamp(15px, 1.35vw, 18px)/1.5 var(--sans); }
.authors .names span { white-space: nowrap; }
.authors sup { font-size: .62em; margin-left: 1px; opacity: .85; }
.authors .affil { gap: 2px 28px; margin-top: 8px; font-size: 14px; color: #c3cfc4; }
.authors .affil sup, .authors .notes sup { margin: 0 3px 0 0; }
.authors .notes { gap: 2px 28px; margin-top: 4px; font-size: 13px; font-style: italic; color: #c3cfc4; }
/* the author block lines up on the left with the title */
.authors { text-align: left; }
.authors p { justify-content: flex-start; }

/* First screen: the name, the authors, one row of buttons. The question, the paragraph and the film follow below. */
.hero h1 { margin-bottom: 30px; }
.hero .links { margin: 26px 0 0; }
.hero .links .pill small { font: 500 10px var(--mono); letter-spacing: .08em; text-transform: uppercase; opacity: .7; }
.hero .links .pill[aria-disabled="true"] { cursor: default; border-style: dashed; }
.hero .links .pill[aria-disabled="true"]:hover { background: rgba(246,248,236,.1); color: #f6f8ec; transform: none; }
.intro { padding: clamp(64px, 9vw, 120px) 0 clamp(40px, 6vw, 72px); text-align: center; }
.intro .ask { font: 500 clamp(24px, 2.6vw, 34px)/1.25 var(--sans); letter-spacing: -.02em; max-width: 36em; margin: 0 auto 22px; color: var(--ink); }
.intro .ask em { font-family: var(--serif, "Instrument Serif", serif); font-size: 1.14em; font-weight: 400; color: var(--fun); }
.intro .about { font-size: 17px; line-height: 1.6; color: var(--mute); max-width: 49em; margin: 0 auto clamp(36px, 5vw, 60px); }
.demo { position: relative; max-width: 1152px; margin: 0 auto; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; background: #081b15; border: 1px solid var(--line); box-shadow: 0 24px 60px -30px rgba(23,45,36,.45); }
.demo video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.democover { all: unset; box-sizing: border-box; cursor: pointer; position: absolute; inset: 0; display: grid; place-items: center; background: rgba(8,27,21,.28); transition: background .25s; }
.democover:hover { background: rgba(8,27,21,.12); }
.democover span { display: inline-flex; align-items: center; gap: 12px; padding: 9px 24px 9px 9px; border-radius: 999px; background: #fff; color: #172d24; font: 500 16px var(--sans); box-shadow: 0 10px 30px rgba(4,16,12,.4); transition: transform .2s; }
.democover:hover span { transform: scale(1.04); }
.democover i { width: 36px; height: 36px; border-radius: 50%; background: #172d24; color: #fff; display: grid; place-items: center; font-style: normal; font-size: 12px; padding-left: 3px; }
.democover:focus-visible span { outline: 2px solid var(--fun); outline-offset: 3px; }
.demo.on .democover { display: none; }
.intro .skip { margin: 22px 0 0; font-size: 14px; }
.intro .skip a { color: var(--mute); text-underline-offset: 3px; }
.intro .skip a:hover { color: var(--ink); }
@media (max-width: 700px) { .demo { border-radius: 12px; } .democover span { font-size: 14px; } }

/* Entry section: the first step across the width, then the two ways */
.way.start { margin-bottom: 18px; }
#enter .lede.board { margin-top: 0; }
#enter .lede a { color: inherit; text-underline-offset: 3px; }
.way.start p { margin-top: 14px; }

/* Leaderboard on the home page */
#leaderboard .controls { margin-top: 26px; }
#leaderboard { scroll-margin-top: 20px; }

/* the one-line subtitle under "Built to be used, not just seen." */
.lede.subline { white-space: nowrap; max-width: none; }
.lede.subline em { color: var(--fun); font-size: 1.12em; }
@media (max-width: 560px) { .lede.subline { white-space: normal; } }
.lede.subline { font-size: clamp(22px, 2.1vw, 30px); line-height: 1.25; letter-spacing: -.015em; color: var(--ink); margin-bottom: 30px; }
