@font-face { font-family: "Sora"; src: url("../assets/fonts/Sora-Variable.ttf") format("truetype"); font-weight: 100 800; font-display: swap; }
@font-face { font-family: "Share Tech Mono"; src: url("../assets/fonts/ShareTechMono-Regular.ttf") format("truetype"); font-display: swap; }

:root {
  --bg: #0A0A0D;
  --ink: #ECECF1;
  --dim: #ABABBA;
  --line: rgba(180, 200, 255, .16);
  --line-hi: rgba(200, 215, 255, .5);
  --panel: rgba(8, 10, 14, .72);
  --gut: 80px;
  --nav: 72px;
  --agent: #00BCD4;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
@media (max-width: 1023px) { :root { --gut: 48px; } }
@media (max-width: 639px) { :root { --gut: 24px; --nav: 56px; } }

* { box-sizing: border-box; }
html, body { margin: 0; }
html { background: var(--bg); scroll-behavior: auto; }
body { color: var(--ink); font: 400 16px/1.6 "Sora", system-ui, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; }
p, h1, h2, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
:focus-visible { outline: 2px solid #fff; outline-offset: 3px; border-radius: 4px; }

#stage { position: fixed; inset: 0; width: 100vw; height: 100lvh; display: block; z-index: 0; }
#spectrum { position: fixed; inset: 0; z-index: 2; background: #F3F3EE; clip-path: circle(0px at 50% 50%); pointer-events: none; will-change: clip-path; }
#track { width: 1px; }
.anchor { position: absolute; left: 0; width: 1px; height: 1px; }

.wrap { width: min(100% - 2 * var(--gut), 1280px); margin-inline: auto; }
.mono, .label { font-family: "Share Tech Mono", ui-monospace, monospace; text-transform: uppercase; letter-spacing: .14em; font-size: 13px; line-height: 1.5; color: var(--dim); }

/* nav */
.nav { position: fixed; inset: 0 0 auto 0; height: var(--nav); z-index: 10; transition: color .3s; }
.nav__row { height: 100%; display: flex; align-items: center; gap: 32px; }
.nav__logo { display: block; line-height: 0; margin-right: auto; }
.nav__logo img { height: 30px; width: auto; display: block; }
.nav__links { display: flex; gap: 32px; }
.nav__links a { font-size: 15px; font-weight: 500; text-decoration: none; position: relative; padding: 12px 0; white-space: nowrap; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 8px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav__links a:hover::after, .nav__links a[aria-current]::after { transform: scaleX(1); }
.skip { position: absolute; left: var(--gut); top: -80px; background: #fff; color: #000; padding: 10px 14px; border-radius: 8px; z-index: 20; font-size: 14px; }
.skip:focus { top: 14px; }
body.on-light .nav { color: #0A0A0D; }
.lg--dark { display: none !important; }
body.on-light .lg--light { display: none; }
body.on-light .lg--dark { display: block !important; }
/* the language switch: both codes, the one in use lit */
.lang { display: inline-flex; align-items: center; gap: 2px; height: 44px; padding: 0 5px; border: 1px solid var(--line); border-radius: 10px; background: transparent; color: inherit; font: 500 13px/1 "Sora", sans-serif; letter-spacing: .04em; cursor: pointer; transition: border-color .25s; }
.lang b, .lang span { display: inline-flex; align-items: center; height: 30px; padding: 0 8px; border-radius: 7px; font-weight: 500; opacity: .55; transition: background .25s, opacity .25s; }
html[lang="en"] .lang b, html[lang="es"] .lang span { background: rgba(255, 255, 255, .13); opacity: 1; }
.lang:hover { border-color: var(--line-hi); } .lang:hover b, .lang:hover span { opacity: 1; } .lang:active { transform: translateY(1px) scale(.985); }
body.on-light .lang { border-color: rgba(10, 10, 13, .3); color: #0A0A0D; }
html[lang="en"] body.on-light .lang b, html[lang="es"] body.on-light .lang span { background: rgba(10, 10, 13, .1); }
/* in Spanish the bar waits for its words, so no English shows first */
/* between a tablet and a small laptop the bar holds six things: it closes up instead of running off the edge */
@media (min-width: 900px) and (max-width: 1199px) { .nav__row { gap: 16px; } .nav__links { gap: 20px; margin-right: 6px; } .nav__links a { font-size: 14px; } .nav__cta { padding: 0 16px; font-size: 14px; } }
@media (min-width: 900px) and (max-width: 1059px) { .nav__row { gap: 12px; } .nav__links { gap: 16px; margin-right: 4px; } .sound__t { display: none; } }
html[lang="es"]:not(.i18n) .nav__links, html[lang="es"]:not(.i18n) .nav__cta, html[lang="es"]:not(.i18n) .sound__t { visibility: hidden; }
.ch--trial { --mv: " moves"; } html[lang="es"] .ch--trial { --mv: " jugadas"; }
body.on-light .nav .btn, body.on-light .sound { border-color: rgba(10,10,13,.3); background: transparent; color: #0A0A0D; }

.sound { display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 14px; background: transparent; color: inherit; border: 1px solid var(--line); border-radius: 10px; font: 500 13px "Sora", sans-serif; cursor: pointer; transition: border-color .25s, transform .15s; }
.sound:hover { border-color: var(--line-hi); }
.sound:active { transform: scale(.97); }
.sound__bars { display: inline-flex; align-items: flex-end; gap: 2px; height: 12px; }
.sound__bars i { width: 2px; height: 3px; background: currentColor; border-radius: 1px; }
.sound[aria-pressed="true"] .sound__bars i { animation: bar 1.1s ease-in-out infinite; }
.sound.is-waiting .sound__bars i { animation-play-state: paused; }
.sound[aria-pressed="false"] { color: var(--dim); }
.sound[aria-pressed="true"] .sound__bars i:nth-child(2) { animation-delay: -.3s; }
.sound[aria-pressed="true"] .sound__bars i:nth-child(3) { animation-delay: -.6s; }
.sound[aria-pressed="true"] .sound__bars i:nth-child(4) { animation-delay: -.15s; }
@keyframes bar { 0%, 100% { height: 3px; } 50% { height: 12px; } }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 12px; height: 44px; padding: 0 20px; border-radius: 10px; border: 1px solid var(--line); background: var(--panel); color: var(--ink); font: 500 15px/1 "Sora", sans-serif; text-decoration: none; white-space: nowrap; cursor: pointer; backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); transition: border-color .25s, box-shadow .35s, transform .15s, background .25s; }
.btn .arr { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease); }
.btn:hover { border-color: var(--line-hi); }
.btn:hover .arr { transform: translateX(4px); }
.btn:active { transform: translateY(1px) scale(.985); }
.btn--primary { border-color: rgba(220, 230, 255, .42); box-shadow: 0 0 24px rgba(160, 190, 255, .08), inset 0 1px 0 rgba(255, 255, 255, .08); }
.btn--primary:hover { box-shadow: 0 0 34px rgba(170, 200, 255, .22), inset 0 1px 0 rgba(255, 255, 255, .14); border-color: rgba(255,255,255,.8); }
.btn--secondary { background: transparent; }
.btn--xl { height: 56px; padding: 0 28px; font-size: 17px; border-radius: 12px; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }

/* chapters: fixed layers, shown by the timeline */
.ch { position: fixed; inset: 0; z-index: 3; padding-top: calc(var(--nav) + 36px); opacity: 0; visibility: hidden; pointer-events: none; }
.ch.is-on { visibility: visible; }
.ch.is-live a, .ch.is-live button, .ch.is-live .agent { pointer-events: auto; }
.col { max-width: 640px; }
.h1 { font-weight: 600; font-size: clamp(38px, 4.4vw, 68px); line-height: 1.06; letter-spacing: -.035em; margin: 18px 0 28px; }
.h1 .ln { display: block; }
.h2 { font-weight: 600; font-size: clamp(30px, 3.3vw, 50px); line-height: 1.1; letter-spacing: -.03em; margin: 14px 0 0; max-width: 18em; }
.lead { font-size: clamp(16px, 1.25vw, 19px); line-height: 1.6; color: #D5D5DE; max-width: 30em; margin-bottom: 36px; }
.lead--s { margin: 20px 0 0; max-width: 34em; }
.small { color: #C4C4D0; font-size: 15px; }

/* hero entrance, once */
.ch--hero .ln { opacity: 0; transform: translateY(18px); }
body.is-ready .ch--hero .ln { opacity: 1; transform: none; transition: opacity .9s var(--ease) calc(.9s + var(--i) * .12s), transform 1.1s var(--ease) calc(.9s + var(--i) * .12s); }
.ch--hero { display: flex; align-items: center; padding-top: var(--nav); }
.ch--hero .wrap { margin-top: -4vh; }
/* the scroll cue: a point of light runs down a line. A click glides into the fly-through. If nobody scrolls, the page moves a little by itself and the cue asks again (.is-urged) */
.cue { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 10px 22px 0; background: none; border: 0; cursor: pointer; font: clamp(15px, 1.15vw, 22px) "Share Tech Mono", monospace; letter-spacing: .24em; text-indent: .24em; text-transform: uppercase; white-space: nowrap; color: var(--ink); text-shadow: 0 0 14px #000, 0 0 4px #000; opacity: 0; transition: opacity 1s 2.2s; }
body.is-ready .cue { opacity: 1; }
.cue i { position: relative; width: 1px; height: clamp(54px, 7vh, 84px); background: linear-gradient(rgba(255,255,255,.55), rgba(255,255,255,0)); }
.cue i::after { content: ""; position: absolute; left: -2.5px; top: -3px; width: 6px; height: 6px; border-radius: 50%; background: #fff; box-shadow: 0 0 12px 3px rgba(255,255,255,.75); animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { 0% { top: -3px; opacity: 0; } 18% { opacity: 1; } 78% { opacity: 1; } 100% { top: calc(100% - 3px); opacity: 0; } }
.cue:hover span, .cue:focus-visible span { color: #fff; }
.cue.is-urged span { animation: urge 1.6s ease-in-out infinite; }
.cue.is-urged i::after { animation-duration: 1.3s; }
@keyframes urge { 50% { opacity: .45; } }

/* pass HUD */
.ch--pass { display: flex; align-items: flex-end; padding-bottom: 72px; }
/* the line that opens the fly-through: three sentences that arrive one by one with the scroll, then leave */
.pass__line { position: absolute; left: max(var(--gut), calc((100% - 1280px) / 2)); top: calc(var(--nav) + 69px); margin: 0; text-shadow: 0 0 26px rgba(5, 5, 8, .95), 0 0 8px rgba(5, 5, 8, .8); }
.pass__line span { display: block; opacity: 0; will-change: opacity, transform; }
.hud__name { font-weight: 600; font-size: clamp(34px, 4vw, 60px); letter-spacing: -.03em; line-height: 1.1; margin: 8px 0 6px; }
.hud__meta { display: flex; gap: 24px; color: var(--ink); margin-top: 4px; }
.hud__count { color: var(--dim); }
.hud__ticks { display: flex; gap: 6px; margin-top: 20px; }
.hud__ticks i { width: 28px; height: 2px; background: rgba(255,255,255,.14); transition: background .3s, box-shadow .3s; }
.hud__ticks i.on { background: var(--c); box-shadow: 0 0 12px var(--c); }

/* spectrum statement, on the one light screen */
.ch--spectrum { display: flex; align-items: center; color: #0A0A0D; }
.statement { font-weight: 600; font-size: clamp(30px, 4.6vw, 72px); line-height: 1.08; letter-spacing: -.035em; max-width: 15em; }
.statement span { display: block; }
/* the white screen starts as static made of the eight agent colours, and settles into plain white as clarity arrives */
#noise { position: absolute; inset: 0; opacity: 0; background-repeat: repeat; image-rendering: pixelated; will-change: opacity, background-position; }
/* noise, then clarity: the label and the weight of the two lines follow --cl (0 to 1), set from the scroll */
.ch--spectrum .wrap { --cl: 0; }
.statement__k { position: relative; height: 1.5em; font-size: clamp(14px, 1.1vw, 18px); margin: 0 0 clamp(14px, 1.4vw, 24px); letter-spacing: calc(.14em + .34em * (1 - var(--cl))); }
.statement__k span { position: absolute; left: -8px; top: 0; padding: 1px 8px; background: #F3F3EE; color: rgba(10,10,13,.8); opacity: calc(1 - var(--cl)); }
.statement__k span + span { color: #0A0A0D; opacity: var(--cl); }
.statement span { color: rgba(10,10,13, calc(1 - .54 * var(--cl))); }
.statement span + span { color: rgba(10,10,13, calc(.46 + .54 * var(--cl))); }

/* process */
.steps { position: absolute; inset: 0; }
.steps li { position: absolute; left: 0; top: 0; width: 232px; margin-left: -116px; text-align: center; display: flex; flex-direction: column; gap: 8px; opacity: .28; transition: opacity .5s; will-change: transform; }
.steps li.on { opacity: 1; }
.steps__swap { position: absolute; left: 0; top: 0; display: inline-flex; align-items: center; gap: 8px; opacity: 0; visibility: hidden; transition: opacity .4s, border-color .25s; will-change: transform; min-height: 36px; padding: 0 12px; background: rgba(8, 10, 14, .6); border: 1px solid var(--line); border-radius: 10px; color: var(--ink); font: 500 13px/1 "Sora", sans-serif; cursor: pointer; white-space: nowrap; }
.steps__swap.on { opacity: 1; visibility: visible; }
.steps__swap b { font-weight: 600; transition: color .4s; }
.steps__swap span { color: var(--dim); }
.steps__swap .arr { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease); }
.steps__swap:hover { border-color: var(--line-hi); }
.steps__swap:hover .arr { transform: translateX(3px); }

.steps li .mono { color: var(--ink); }
.steps__t { font-size: 15px; line-height: 1.45; color: #D5D5DE; }
.steps li { text-shadow: 0 0 12px #000, 0 0 4px #000; }
.names button { text-shadow: 0 1px 10px rgba(0,0,0,.9), 0 0 3px rgba(0,0,0,.9); }

/* agents */
.names { position: absolute; inset: 0; }
.names button { position: absolute; left: 0; top: 0; width: 124px; margin-left: -62px; padding: 10px 2px; background: none; border-radius: 10px; border: 0; color: var(--ink); cursor: pointer; text-align: center; font: inherit; display: flex; flex-direction: column; gap: 4px; align-items: center; will-change: transform; transition: opacity .35s; pointer-events: auto; }
.names button b { font-weight: 600; font-size: clamp(13px, 1.25vw, 19px); letter-spacing: -.01em; position: relative; }
.names button b::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1px; background: var(--c); transform: scaleX(0); transition: transform .35s var(--ease); box-shadow: 0 0 10px var(--c); }
.names button:hover b::after, .names button.sel b::after, .names button:focus-visible b::after { transform: scaleX(1); }
.names button span { font: 12px/1.35 "Share Tech Mono", monospace; letter-spacing: .05em; margin-top: 4px; white-space: normal !important; color: rgba(255,255,255,.78) !important; max-width: 9.5em; text-transform: uppercase; color: var(--dim); white-space: nowrap; }
.names.has-sel button:not(.sel) { opacity: .4; }
.ch--agents:not(.is-live) .names button { pointer-events: none; }
/* the operator's cue on the floor of the line-up, and the hint under an agent that woke; both leave for good once a card is opened */
.wake { position: absolute; left: 0; top: 0; margin: 0; isolation: isolate; white-space: nowrap; font-size: clamp(16px, 1.1vw, 22px); letter-spacing: .2em; color: #fff; opacity: 0; transition: opacity .5s; will-change: transform; pointer-events: none; text-shadow: 0 0 14px #000, 0 0 4px #000; }
.wake::before { content: ""; position: absolute; inset: -16px -52px; z-index: -1; background: radial-gradient(closest-side, rgba(5, 5, 8, .78), rgba(5, 5, 8, .45) 62%, transparent); }
.wake.on { opacity: 1; }
.wake__op { color: rgba(255,255,255,.6); }
@media (prefers-reduced-motion: reduce) { .wake::after { animation: none !important; } }
.wake:not(.wake--hint)::after { content: ""; display: inline-block; width: .55em; height: 1em; margin-left: .35em; vertical-align: -.14em; background: #fff; animation: blink 1s steps(2) infinite; }
.wake--hint { font-size: clamp(12px, .82vw, 16px); letter-spacing: .18em; color: rgba(255,255,255,.88); transition-duration: .3s; }
.wake--hint::before { inset: -8px -22px; }
@media (max-width: 639px) { .wake { font-size: 15px; } }

.agent { position: absolute; right: var(--gut); top: calc(var(--nav) + 28px); width: min(440px, 32vw); }
.agent[hidden] { display: none; }
.agent__frame { position: relative; border: 1px solid color-mix(in srgb, var(--agent) 70%, transparent); border-radius: 14px; overflow: hidden; background: var(--panel); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: 0 0 40px color-mix(in srgb, var(--agent) 22%, transparent); animation: rise .5s var(--ease); }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } }
.agent video { display: block; width: 100%; aspect-ratio: 2206 / 804; object-fit: cover; background: #000; }
.agent__id { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 14px 18px; }
.agent__id img { width: 48px; height: 48px; border-radius: 50%; background: #0A0A0D; object-fit: cover; }
.agent__name { font-weight: 600; font-size: 20px; line-height: 1.2; }
.agent__char { font-size: 15px; color: #D5D5DE; text-align: right; }
.agent__x { position: absolute; right: 10px; top: 10px; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line); background: rgba(8,10,14,.6); color: #fff; cursor: pointer; display: grid; place-items: center; transition: border-color .25s, transform .15s; }
.agent__x:hover { border-color: var(--line-hi); }
.agent__x:active { transform: scale(.94); }
.agent__x svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; }

.agent__tag { margin: 0; padding: 0 18px 12px; font-size: 17px; font-weight: 500; letter-spacing: -.01em; color: color-mix(in srgb, var(--agent) 45%, #fff); }
.agent__facts { margin: 0; padding: 4px 18px 8px; display: grid; gap: 9px; }
.agent__facts div { display: grid; grid-template-columns: 6.4em 1fr; gap: 14px; align-items: baseline; }
.agent__facts dt { font-size: 12px; letter-spacing: .1em; }
.agent__facts dd { margin: 0; font-size: 14px; line-height: 1.45; color: #E2E2EA; }
.agent__hear { margin: 10px 18px 18px; justify-content: space-between; width: calc(100% - 36px); }
.ch--agents .lead { transition: opacity .35s; }
.ch--agents .wrap.is-covered .lead { opacity: 0; }
/* desktop: a wide card between the headline and the line-up. The banner keeps its own shape (2206 x 804) and is never cropped;
   the tagline and the voice button sit under it, the agent's thinking beside it. The card is as tall as its content. */
@media (min-width: 900px) {
  .agent { right: auto; left: 50%; top: calc(var(--nav) + 28px); width: min(calc(100% - 2 * var(--gut)), max(1120px, 55vw)); transform: translateX(-50%); }
  .agent__frame { display: grid; grid-template-columns: minmax(0, 64fr) minmax(0, 36fr); grid-template-rows: auto auto auto; background: rgba(7, 8, 12, .93); box-shadow: 0 0 60px color-mix(in srgb, var(--agent) 26%, transparent), 0 24px 60px rgba(0, 0, 0, .5); }
  .agent video { grid-column: 1; grid-row: 1 / 3; width: 100%; height: auto; aspect-ratio: 2206 / 804; object-fit: contain; align-self: start; border-bottom: 1px solid color-mix(in srgb, var(--agent) 30%, transparent); }
  .agent__tag { grid-column: 1; grid-row: 3; align-self: center; padding: clamp(14px, 1vw, 22px) clamp(250px, 19vw, 330px) clamp(14px, 1vw, 22px) clamp(22px, 1.3vw, 34px); font-size: clamp(17px, 1.25vw, 25px); line-height: 1.25; }
  .agent__hear { grid-column: 1; grid-row: 3; align-self: center; justify-self: end; margin: 0 clamp(16px, 1.1vw, 26px) 0 0; width: auto; gap: 18px; }
  .agent__id { grid-column: 2; grid-row: 1; align-self: start; padding: clamp(16px, 1.1vw, 26px) 66px 10px clamp(22px, 1.3vw, 32px); }
  .agent__id img { width: clamp(50px, 2.5vw, 64px); height: clamp(50px, 2.5vw, 64px); }
  .agent__name { font-size: clamp(21px, 1.05vw, 27px); }
  .agent__char { display: none; }
  .agent__facts { grid-column: 2; grid-row: 2 / 4; align-content: start; gap: clamp(10px, .75vw, 16px); padding: 6px clamp(22px, 1.3vw, 32px) clamp(18px, 1.2vw, 26px); }
  .agent__id, .agent__facts { border-left: 1px solid color-mix(in srgb, var(--agent) 30%, transparent); }
  .agent__facts div { grid-template-columns: 6.6em minmax(0, 1fr); gap: 12px; }
  .agent__facts dt { font-size: clamp(11.5px, .5vw, 13px); padding-top: .2em; color: color-mix(in srgb, var(--agent) 38%, #B9B9C6); }
  .agent__facts dd { font-size: clamp(13px, .66vw, 16.5px); line-height: 1.48; }
}
.spectrum { position: absolute; left: 0; top: 0; width: 100%; --c: #00BCD4; will-change: transform; pointer-events: none; }
.spectrum::before { content: ""; position: absolute; left: 0; top: -28px; bottom: -28px; width: calc(var(--gut) + 250px); background: linear-gradient(90deg, rgba(5, 5, 8, .86) 55%, transparent); z-index: -1; }   /* the plate follows its content: the same margin under the strategy line as above the label */
.spectrum { isolation: isolate; }
.spectrum .label { margin-left: var(--gut); }
.rail { position: relative; height: 76px; margin-top: 10px; }
.rail__in, .rail__out { position: absolute; top: 57px; height: 2px; border-radius: 2px; }
.rail__in { left: 0; background: linear-gradient(90deg, transparent, #fff 60%); box-shadow: 0 0 10px rgba(255,255,255,.7); }
.rail__out { background: var(--c); box-shadow: 0 0 12px var(--c), 0 0 2px #fff; transition: background .4s, box-shadow .4s; }
.rail__filters { position: absolute; left: var(--gut); top: 0; display: flex; gap: 2px; pointer-events: auto; }
.rail__filters button { position: relative; width: 20px; height: 76px; padding: 0; background: none; border: 0; cursor: pointer; }
.rail__filters button i { position: absolute; left: 2px; top: 4px; width: 16px; height: 30px; border-radius: 4px; border: 1.5px solid var(--c); background: color-mix(in srgb, var(--c) 16%, transparent); box-shadow: inset 0 0 8px color-mix(in srgb, var(--c) 45%, transparent); transition: transform .55s var(--ease), background .4s, box-shadow .4s; }
.rail__filters button::after { content: ""; position: absolute; left: 9px; top: 36px; width: 2px; height: 0; background: color-mix(in srgb, var(--c) 60%, transparent); transition: height .55s var(--ease); }
.rail__filters button:hover i, .rail__filters button:focus-visible i { transform: translateY(8px); box-shadow: inset 0 0 8px var(--c), 0 0 12px color-mix(in srgb, var(--c) 60%, transparent); }
.rail__filters button.on i { transform: translateY(38px); background: color-mix(in srgb, var(--c) 46%, transparent); box-shadow: inset 0 0 10px var(--c), 0 0 18px var(--c); }
.rail__filters button:active i { transform: translateY(12px) scale(.96); }
.rail__filters button.on:active i { transform: translateY(38px) scale(.96); }
.rail__name { margin: 12px 0 0 var(--gut); display: grid; gap: 4px; }
.rail__name b { font-weight: 600; font-size: 20px; letter-spacing: -.01em; }
.rail__name .mono { color: color-mix(in srgb, var(--c) 55%, #fff); font-size: 13px; }
.ch--reasoning:not(.is-live) .rail__filters { pointer-events: none; }

.op { margin-top: 30px; color: var(--ink); }
.glass { position: absolute; left: 0; top: 0; container-type: size; opacity: 0; transition: opacity .5s; overflow: hidden; }
.view { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; padding: 0 8%; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .45s, transform .55s var(--ease), visibility 0s .45s; }
.glass[data-depth="0"] .view--0, .glass[data-depth="1"] .view--1, .glass[data-depth="2"] .view--2 { opacity: 1; visibility: visible; transform: none; transition-delay: .12s, .12s, 0s; }
.glass.on { opacity: 1; }
.rows { margin: 0; display: grid; gap: 3.4cqh; }
.rows div { display: grid; grid-template-columns: 27% 1fr; gap: 3cqw; align-items: baseline; }
.rows dt { color: rgba(255,255,255,.62); font-size: clamp(8px, 2.5cqw, 13px); letter-spacing: .1em; }
.rows dd { margin: 0; color: #fff; font-size: clamp(10px, 3.25cqw, 17px); line-height: 1.35; }
.rows__pass dd { text-shadow: 0 0 16px var(--agent); }
.rows__pass dt { color: color-mix(in srgb, var(--agent) 40%, #fff); }
.rows__hold dd { color: rgba(255,255,255,.5); }
.raw__line { margin-top: 6cqh; color: rgba(255,255,255,.62); font-size: clamp(9px, 2.7cqw, 14px); }
.glass__who { color: color-mix(in srgb, var(--agent) 30%, #fff); font-size: clamp(11px, 2.6cqw, 16px); margin-bottom: 4cqh; }
.glass__say { color: #fff; font-size: clamp(13px, 4.7cqw, 32px); line-height: 1.5; letter-spacing: .04em; text-transform: none; min-height: 4.5em; text-shadow: 0 0 18px color-mix(in srgb, var(--agent) 60%, transparent); }
.glass[data-beat="1"] .glass__say { font-size: clamp(12px, 4.05cqw, 27px); }
.beats { display: flex; gap: 2cqw; margin: 4cqh 0 0; }
.beats button { position: relative; width: clamp(20px, 8cqw, 44px); height: 24px; padding: 0; border: 0; background: none; cursor: pointer; }
.beats button::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; background: rgba(255,255,255,.24); transition: background .3s, box-shadow .3s; }
.beats button.on::before { background: #fff; box-shadow: 0 0 12px var(--agent); }
.glass__say .cur { display: inline-block; width: .55em; height: 1em; background: #fff; vertical-align: -.12em; margin: 0 -.65em 0 .1em; animation: blink 1s steps(2) infinite; }
.glass__say .rest { visibility: hidden; }
@keyframes blink { 50% { opacity: 0; } }
.glass__scan { position: absolute; left: 0; right: 0; top: 0; height: 1px; background: color-mix(in srgb, var(--agent) 40%, #fff); box-shadow: 0 0 14px 2px var(--agent); opacity: 0; }
.glass.scan .glass__scan { animation: scan 2.6s linear 1; }
@keyframes scan { 0% { top: 22%; opacity: 1; } 90% { opacity: 1; } 100% { top: 78%; opacity: 0; } }
.depthbox { position: absolute; left: 0; top: 0; will-change: transform; padding: 14px 18px 12px; border-radius: 14px; background: rgba(8, 10, 14, .84); border: 1px solid var(--line); }
.depth__line { font-size: clamp(15px, 1.3vw, 19px); white-space: nowrap; margin-bottom: 10px; }
.depth { display: grid; gap: 2px; }
.depth button { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 36px; padding: 0 10px 0 0; background: none; border: 0; color: var(--dim); cursor: pointer; white-space: nowrap; text-align: left; transition: color .3s, transform .15s; }
.depth button i { font-style: normal; color: inherit; opacity: .6; }
.depth button::before { content: ""; width: 12px; height: 1px; background: currentColor; transition: width .4s var(--ease); }
.depth button:hover { color: var(--ink); }
.depth button:hover::before { width: 20px; }
.depth button:active { transform: translateX(2px); }
.depth button.on { color: #fff; }
.depth button.on::before { width: 30px; box-shadow: 0 0 8px #fff; }
.ch--reasoning:not(.is-live) .depth button { pointer-events: none; }
.ch--reasoning.is-live .depthbox { pointer-events: auto; }

/* control */
.ch--control { display: flex; align-items: center; padding-top: var(--nav); }
.ch--control .col, .ch--close .col, .ch--pass .hud { position: relative; isolation: isolate; }
.ch--control .col::before, .ch--close .col::before, .ch--pass .hud::before { content: ""; position: absolute; inset: -70px -110px -70px -140px; z-index: -1; background: radial-gradient(closest-side, rgba(5, 5, 8, .82), rgba(5, 5, 8, .5) 60%, transparent); pointer-events: none; }
.youdo { font-weight: 600; font-size: clamp(64px, 9vw, 148px); line-height: 1; letter-spacing: -.045em; margin: 16px 0 36px -0.04em; }
.ch--control .op { margin-top: 28px; }
.lines li { font-size: clamp(18px, 1.7vw, 24px); line-height: 1.5; }
.lines li + li { margin-top: 6px; }
.custody { margin: 26px 0 0; max-width: 27em; padding-left: 14px; border-left: 1px solid var(--line-hi); font-size: clamp(15px, 1.15vw, 17px); line-height: 1.55; color: #D5D5DE; }
.ch--control .small { margin-top: 26px; }

/* ---------- the trial run: text top left, the operator's moves bottom left, one working panel at the right, labels on the floor ---------- */
.ch--trial [hidden] { display: none !important; }
.ch--trial { --edge: max(var(--gut), calc((100% - max(1280px, 66vw)) / 2)); }   /* on very wide screens the section opens out a little, so the room keeps its size */
.ch--trial .wrap { width: auto; margin-inline: var(--edge); }
.ch--trial .op { margin-top: 12px; }
.ch--trial .h2 { max-width: 14em; margin-top: 8px; font-size: clamp(26px, min(2.9vw, 5vh), 44px); }
.ch--trial .lead { max-width: 23em; min-height: 4.8em; margin-top: 12px; font-size: clamp(15px, min(1.15vw, 2vh), 18px); }
.ch--trial .lead.nudge { animation: tnudge .55s var(--ease); }
@keyframes tnudge { 35% { color: #fff; transform: translateX(6px); } }
/* the key: the one way forward, under the ring. When a step is ready, light leaves the ring, runs to the key and keeps circling its edge. */
@property --ka { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
.tdock { position: absolute; left: 0; top: 0; display: flex; align-items: center; gap: 10px; will-change: transform; }
.tkey { position: relative; display: inline-flex; align-items: center; justify-content: space-between; gap: 18px; height: 56px; min-width: 268px; padding: 0 24px; border-radius: 14px; border: 1px solid var(--line); background: rgba(8, 10, 14, .9); color: var(--ink); font: 500 16px/1 "Sora", sans-serif; white-space: nowrap; cursor: pointer; transition: border-color .3s, box-shadow .4s, color .3s, transform .15s, opacity .3s; }
.tkey .arr { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease); }
.tkey:disabled { color: var(--dim); cursor: default; } .tkey:disabled .arr { opacity: 0; }
.tkey:not(:disabled):hover { border-color: #fff; } .tkey:not(:disabled):hover .arr { transform: translateX(5px); } .tkey:not(:disabled):active { transform: translateY(1px) scale(.985); }
.tkey.is-ready { color: #fff; border-color: rgba(255, 255, 255, .5); box-shadow: 0 0 34px rgba(170, 200, 255, .22), inset 0 1px 0 rgba(255, 255, 255, .12); }
.tkey.is-ready::before { content: ""; position: absolute; inset: -2px; padding: 2px; border-radius: 16px; background: conic-gradient(from var(--ka), rgba(255, 255, 255, 0) 0 70%, rgba(255, 255, 255, .5) 86%, #fff 95%, rgba(255, 255, 255, 0) 100%); -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); pointer-events: none; animation: tkey 2.6s linear infinite; }
.tkey.is-ready::after { content: ""; position: absolute; inset: -1px; border-radius: 15px; box-shadow: 0 0 26px rgba(190, 215, 255, .5); opacity: 0; pointer-events: none; animation: tkeyglow 2.6s ease-in-out infinite; }
.tkey.is-hit { box-shadow: 0 0 60px rgba(210, 228, 255, .7), inset 0 0 22px rgba(255, 255, 255, .22); border-color: #fff; }
.tkey.is-run { min-width: 0; }
@keyframes tkey { to { --ka: 360deg; } }
@keyframes tkeyglow { 50% { opacity: 1; } }
.tkey--s { min-width: 0; height: 44px; padding: 0 16px; border-radius: 11px; font-size: 14px; background: rgba(8, 10, 14, .72); color: #D5D5DE; }
.ch--trial:not(.is-live) .tdock { pointer-events: none; }
.tpanel .tkey { width: 100%; min-width: 0; } .tpanel [data-act="back"] { display: none; } .tp__ctl { display: none; gap: 8px; } .tp__ctl .tkey { flex: 1; justify-content: center; }
.moves { position: absolute; left: var(--edge); bottom: 20px; width: 226px; margin: 0; padding: 11px 15px 10px; list-style: none; display: grid; gap: 3px; border-radius: 14px; background: rgba(8, 10, 14, .8); border: 1px solid var(--line); font-size: 13px; color: var(--dim); }
@media (max-height: 980px) and (min-width: 900px) { .moves { gap: 2px; padding: 10px 14px 9px; font-size: 12.5px; width: 212px; } .moves__note { display: none; } .moves__sub { margin-top: 3px !important; } }
@media (max-height: 820px) and (min-width: 900px) { .moves:not(.is-open) li:not(.moves__h) { display: none !important; } .moves:not(.is-open) .moves__h { margin: 0 !important; } .moves__c { display: block; } .moves__h button { cursor: pointer; min-height: 30px; } .moves.is-open { z-index: 6; background: rgba(8, 10, 14, .97); } }
.moves__h { margin-bottom: 3px; } .moves__h button { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; padding: 0; border: 0; background: none; color: var(--dim); font-size: 12px; cursor: default; text-align: left; } .moves__h b { font-weight: 400; color: var(--ink); margin-left: auto; }
.moves__c { display: none; width: 7px; height: 7px; border-right: 1.5px solid #fff; border-bottom: 1.5px solid #fff; transform: rotate(45deg) translateY(-2px); transition: transform .25s; } .moves.is-open .moves__c { transform: rotate(-135deg) translateY(-2px); }
.moves li:not(.moves__h):not(.moves__sub):not(.moves__note) { display: flex; align-items: center; gap: 10px; transition: color .4s; }
.moves li i { flex: none; width: 9px; height: 9px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .42); transition: background .4s, border-color .4s, box-shadow .4s; }
.moves__sub { margin: 4px 0 0; font-size: 11px; opacity: .8; } .moves__note { margin-top: 6px; padding-top: 7px; border-top: 1px solid var(--line); font-size: 11px; letter-spacing: .06em; line-height: 1.45; text-transform: none; }
.moves li.now { color: #fff; } .moves li.now i { border-color: #fff; animation: tnow 1.5s ease-out infinite; }
@keyframes tnow { 0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .6); } 100% { box-shadow: 0 0 0 9px rgba(255, 255, 255, 0); } }
.tp__next { display: none; margin-top: 8px; position: sticky; bottom: -18px; background: rgba(8, 10, 14, .97); }
.tring__hint { margin-top: 6px; color: #fff !important; animation: urge 1.6s ease-in-out infinite; }
.moves li.on { color: var(--ink); } .moves li.on i { background: #fff; border-color: #fff; box-shadow: 0 0 10px rgba(255, 255, 255, .8); }
.tpanel { position: absolute; right: var(--edge); bottom: 20px; width: clamp(292px, 24vw, 344px); max-height: calc(100% - var(--nav) - 52px); overflow: auto; overscroll-behavior: contain; padding: 18px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; align-content: start; border-radius: 14px; background: rgba(8, 10, 14, .88); border: 1px solid var(--line); font-size: 14px; line-height: 1.45; pointer-events: none; scrollbar-width: thin; }
.ch--trial.is-live .tpanel { pointer-events: auto; }
.tp__k { display: flex; justify-content: space-between; gap: 12px; margin: 6px 0 0; font-size: 11.5px; } .tp__k:first-child { margin-top: 0; } .tp__k b { font-weight: 400; color: var(--ink); }
.tp__opt { display: grid; gap: 2px; padding: 11px 13px; border-radius: 10px; border: 1px solid var(--line); } .tp__opt b { font-weight: 600; } .tp__opt span { color: var(--dim); font-size: 13px; }
.tp__opt.on { border-color: rgba(255, 255, 255, .7); box-shadow: 0 0 22px rgba(170, 200, 255, .12); } .tp__opt.off { opacity: .55; }
.tp__rows { margin: 0; display: grid; gap: 8px; } .tp__rows div { display: grid; grid-template-columns: 9.2em minmax(0, 1fr); gap: 10px; align-items: baseline; } .tp__rows dt { font-size: 11px; } .tp__rows dd { margin: 0; color: var(--ink); overflow-wrap: anywhere; }
.tp__name { margin: 0; display: grid; gap: 2px; } .tp__name b { font-weight: 600; font-size: 21px; letter-spacing: -.01em; } .tp__name .mono { font-size: 11.5px; color: color-mix(in srgb, var(--c) 55%, #fff); }
.tp__tag { margin: 0; font-size: 16px; color: var(--ink); } .tp__why { margin: 2px 0 0; color: #D5D5DE; } .tp__none { margin: 0; color: var(--dim); font-size: 13px; } .tp__foot { margin: 2px 0 0; font-size: 11px; }
.tp__chips { display: flex; align-items: center; gap: 2px; margin: -6px 0 2px -8px; } .tp__chips span { flex: none; max-width: 7.2em; margin-left: auto; padding-left: 6px; font-size: 11px; text-align: right; }
.tp__chips button { position: relative; flex: 1 1 0; min-width: 0; max-width: 30px; height: 36px; padding: 0; border: 0; background: none; cursor: pointer; } .tp__chips i { position: absolute; left: 50%; margin-left: -6px; top: 9px; width: 12px; height: 18px; border-radius: 3px; border: 1.5px solid var(--c); opacity: .6; transition: opacity .2s, box-shadow .2s, background .2s, transform .2s; }
.tp__chips button:hover i { opacity: 1; transform: translateY(-2px); } .tp__chips button.on i { opacity: 1; box-shadow: 0 0 12px var(--c); } .tp__chips button.in i { background: var(--c); opacity: 1; }
.tp__wide { width: 100%; justify-content: space-between; margin-top: 4px; }
.tp__pool { display: grid; grid-template-columns: minmax(0, 1fr) auto 4.6em; gap: 10px; align-items: center; padding: 5px 0; border-top: 1px solid var(--line); } .tp__pool b { font-weight: 600; color: color-mix(in srgb, var(--c) 45%, #fff); } .tp__amt { text-align: right; color: var(--ink); font-variant-numeric: tabular-nums; }
.tp__step { display: inline-flex; align-items: center; gap: 2px; } .tp__step em { width: 3.1em; text-align: center; font-style: normal; font-variant-numeric: tabular-nums; }
.tp__step button { width: 38px; height: 38px; border-radius: 11px; border: 1px solid var(--line); background: transparent; color: var(--ink); font: 400 18px/1 "Sora", sans-serif; cursor: pointer; transition: border-color .25s, transform .15s; } .tp__step button:hover { border-color: var(--line-hi); } .tp__step button:active { transform: scale(.94); }
.tp__mk { display: grid; grid-template-columns: 84px minmax(0, 1fr); column-gap: 14px; row-gap: 1px; align-items: center; padding: 11px 13px; border-radius: 10px; border: 1px solid var(--line); background: transparent; color: var(--ink); text-align: left; font: inherit; cursor: pointer; transition: border-color .25s, box-shadow .25s, transform .15s; }
.tp__mk svg { grid-row: 1 / 3; width: 84px; height: 34px; } .tp__mk path { fill: none; stroke: #fff; stroke-width: 1.4; vector-effect: non-scaling-stroke; opacity: .55; } .tp__mk b { font-weight: 600; } .tp__mk span { color: var(--dim); font-size: 12.5px; line-height: 1.35; }
.tp__mk:hover { border-color: var(--line-hi); } .tp__mk:active { transform: scale(.985); } .tp__mk.on { border-color: rgba(255, 255, 255, .78); box-shadow: 0 0 22px rgba(170, 200, 255, .14); } .tp__mk.on path { opacity: 1; }
.tp__bar { height: 2px; background: rgba(255, 255, 255, .14); } .tp__bar i { display: block; height: 100%; background: #fff; transform-origin: left; box-shadow: 0 0 10px rgba(255, 255, 255, .7); }
.tp__item { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 0 8px 11px; border-left: 2px solid var(--c); font-size: 13px; } .tp__item b { font-weight: 600; }
.tp__act { flex: none; min-height: 40px; padding: 0 14px; border-radius: 11px; border: 1px solid rgba(255, 255, 255, .5); background: transparent; color: var(--ink); font: 500 13px/1 "Sora", sans-serif; cursor: pointer; transition: background .2s, transform .15s; } .tp__act:hover { background: rgba(255, 255, 255, .1); } .tp__act:active { transform: scale(.95); }
.tp__feed { display: grid; gap: 2px; }
.tp__dec { display: grid; grid-template-columns: 3.4em max-content minmax(0, 1fr); gap: 8px; align-items: baseline; min-height: 36px; padding: 6px 8px 6px 10px; border: 0; border-left: 2px solid var(--c); border-radius: 0 8px 8px 0; background: transparent; color: var(--ink); text-align: left; font: inherit; font-size: 13px; cursor: pointer; transition: background .2s; }
.tp__dec .mono { font-size: 11px; white-space: nowrap; } .tp__dec b { font-weight: 600; } .tp__dec span:last-child { color: #D5D5DE; } .tp__dec:hover { background: rgba(255, 255, 255, .07); }
.tp__shut { justify-self: start; min-height: 32px; padding: 0; border: 0; background: none; color: var(--ink); cursor: pointer; font-size: 11.5px; }
.tp__layers { display: grid; gap: 2px; } .tp__layers button { display: flex; gap: 12px; align-items: center; min-height: 34px; padding: 0 0 0 12px; border: 0; border-left: 1px solid var(--line); background: none; color: var(--dim); cursor: pointer; text-align: left; font-size: 11.5px; transition: color .25s, border-color .25s; }
.tp__layers button i { font-style: normal; opacity: .6; } .tp__layers button.on { color: #fff; border-left-color: #fff; } .tp__layers button:hover { color: var(--ink); }
.tp__res { display: grid; grid-template-columns: 6.6em minmax(0, 1fr) auto; gap: 10px; align-items: baseline; padding: 9px 0 9px 11px; border-left: 2px solid var(--c, rgba(255, 255, 255, .5)); font-size: 13px; } .tp__res b { font-weight: 600; } .tp__res span { color: var(--dim); } .tp__res em { font-style: normal; color: #fff; font-variant-numeric: tabular-nums; }
.tp__res--t { border-left-color: rgba(255, 255, 255, .5); border-top: 1px solid var(--line); }
.tlabels { position: absolute; inset: 0; pointer-events: none; }
.tname { position: absolute; left: 0; top: 0; display: flex; flex-direction: column; align-items: center; gap: 2px; white-space: nowrap; text-shadow: 0 0 10px #000, 0 0 3px #000; will-change: transform; transition: opacity .4s; }
.tname b { font-weight: 600; font-size: clamp(11px, .95vw, 15px); } .tname i { font: 11px/1.3 "Share Tech Mono", monospace; font-style: normal; letter-spacing: .06em; color: #fff; } .tname em { font: 11px/1.3 "Share Tech Mono", monospace; font-style: normal; letter-spacing: .1em; text-transform: uppercase; color: color-mix(in srgb, var(--c) 45%, #fff); }
.tname.on b { text-shadow: 0 0 14px var(--c), 0 0 3px #000; } .tname.dim { opacity: .38; }
.ch--trial.is-tight .tname i, .ch--trial.is-tight .tname em { display: none; } .ch--trial.is-tight .tname:not(.on):not(.hov) { display: none; }
.tring, .thold { position: absolute; left: 0; top: 0; will-change: transform; }
.tring { display: grid; justify-items: center; gap: 2px; text-align: center; pointer-events: none; text-shadow: 0 0 14px #000, 0 0 4px #000; } .tring b { font-weight: 600; font-size: calc(clamp(20px, 1.9vw, 30px) * max(var(--rs, 1), .82)); letter-spacing: -.02em; font-variant-numeric: tabular-nums; } .tring .mono { font-size: 11px; }
.tring.is-small .mono:first-child { display: none; } .tring.is-small .tring__hint { margin-top: 2px; }
.thold { --f: 0; width: calc(132px * var(--rs, 1)); height: calc(132px * var(--rs, 1)); min-width: 88px; min-height: 88px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .5); background: rgba(8, 10, 14, .82); color: var(--ink); cursor: pointer; font: 12px/1.3 "Share Tech Mono", monospace; letter-spacing: .14em; text-transform: uppercase; touch-action: none; user-select: none; -webkit-user-select: none; transition: box-shadow .3s, border-color .3s; }
.thold::before { content: ""; position: absolute; inset: -7px; border-radius: 50%; background: conic-gradient(#fff calc(var(--f) * 360deg), rgba(255, 255, 255, .12) 0); -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px)); mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px)); }
.thold::after { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 0 rgba(255, 255, 255, .5); animation: tpulse 2.2s ease-out infinite; }
.thold:hover { border-color: #fff; box-shadow: 0 0 30px rgba(170, 200, 255, .25); } .thold.is-held::after { animation: none; } .thold.is-held span { color: #fff; }
.thold span { position: relative; display: block; width: 7.5em; margin: 0 auto; }
@keyframes tpulse { 0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .45); } 100% { box-shadow: 0 0 0 22px rgba(255, 255, 255, 0); } }
.torder { position: absolute; left: 0; top: 0; display: grid; gap: 4px; justify-items: start; margin-top: -16px; padding: 11px 13px 12px; border-radius: 12px; background: rgba(8, 10, 14, .92); border: 1px solid color-mix(in srgb, var(--c) 55%, #fff); box-shadow: 0 0 26px color-mix(in srgb, var(--c) 30%, transparent); white-space: nowrap; font-size: 13px; will-change: transform; }
.torder__t { display: block; justify-self: stretch; height: 2px; margin-top: 8px; background: #fff; transform-origin: left; box-shadow: 0 0 10px rgba(255, 255, 255, .7); }
.torder .mono { font-size: 11px; color: color-mix(in srgb, var(--c) 45%, #fff); } .torder b { font-weight: 600; }
.torder button { min-height: 40px; margin-top: 4px; padding: 0 14px; border-radius: 11px; border: 1px solid rgba(255, 255, 255, .5); background: transparent; color: #fff; font: 500 13px/1 "Sora", sans-serif; cursor: pointer; transition: background .2s, transform .15s; } .torder button:hover { background: rgba(255, 255, 255, .12); } .torder button:active { transform: scale(.95); }
.ch--trial:not(.is-live) .thold, .ch--trial:not(.is-live) .torder button { pointer-events: none; }
@media (max-width: 899px) and (max-height: 720px) and (max-aspect-ratio: 6/5) { .tname { display: none !important; } .ch--trial .lead { display: none; } .tpanel { max-height: 38vh !important; } .thold { width: 74px !important; height: 74px !important; min-width: 0; min-height: 0; font-size: 11px; letter-spacing: .08em; } .thold span { width: 5.6em; } }
@media (prefers-reduced-motion: reduce) { .thold::after, .ch--trial .lead.nudge, .moves li.now i, .tkey.is-ready::before, .tkey.is-ready::after, .tring__hint { animation: none !important; } }
@media (max-width: 899px), (max-aspect-ratio: 4/5) {
  .ch--trial .wrap { margin-inline: var(--gut); }
  .tp__act, .torder button, .tp__dec, .tp__layers button, .tp__shut { min-height: 44px; } .tp__step button { width: 44px; height: 44px; } .tp__chips button { max-width: 36px; height: 44px; } .tp__chips i { top: 13px; }
  .ch--trial .h2 { font-size: clamp(24px, 6.4vw, 34px); } .ch--trial .lead { min-height: 0; margin-top: 10px; font-size: 14px; line-height: 1.45; } .ch--trial .op { margin-top: 6px; }
  .moves { left: auto; right: var(--gut); bottom: auto; top: calc(var(--nav) + 30px); width: auto; padding: 6px 10px; border-radius: 9px; } .moves:not(.is-open) li:not(.moves__h) { display: none !important; } .moves:not(.is-open) .moves__h { margin: 0; } .moves__c { display: block; } .moves__h button { cursor: pointer; min-height: 32px; gap: 8px; }
  .moves.is-open { z-index: 6; width: min(250px, calc(100vw - 2 * var(--gut))); padding: 8px 14px 12px; background: rgba(8, 10, 14, .97); box-shadow: 0 18px 50px rgba(0, 0, 0, .6); } .moves.is-open li:not(.moves__h):not(.moves__sub):not(.moves__note) { font-size: 14px; min-height: 26px; }
  .tdock { display: none; } .tp__ctl { display: flex; } .tp__next { display: inline-flex; } .tpanel [data-act="back"] { display: block; } .tpanel .tkey { height: 48px; font-size: 15px; } .tpanel .tkey--s { height: 42px; font-size: 14px; }
  .moves__h span { display: none; } .moves__h b::after { content: var(--mv); }
  @media (max-width: 479px) { html[lang="es"] .trial__of { display: none; } }
  @media (max-width: 379px) { .tp__chips span { display: none; } .thold { width: 88px !important; height: 88px !important; } }
  @media (max-width: 379px) { .trial__of { display: none; } .moves__h b::after { content: ""; } .moves.is-open .moves__h b::after { content: var(--mv); } }
  .moves { top: calc(var(--nav) + 54px) !important; padding: 0 10px; } .moves.is-open { padding: 4px 14px 12px; }
  .tpanel { left: var(--gut); right: var(--gut); bottom: 10px; width: auto; max-height: 36vh; padding: 12px 14px; gap: 8px; font-size: 13px; }
  .tp__name b { font-size: 18px; } .tp__tag { font-size: 14px; } .ch--trial .lead { max-width: none; }
  .tname b { font-size: 11px; writing-mode: vertical-rl; } .tname i, .tname em { display: none; } .tname:not(.on):not(.hov) { display: none; }
  .thold { width: 104px; height: 104px; font-size: 11px; }
}

/* a phone held sideways: text top left, the table in the middle, the working panel down the right side with the key inside it */
@media (max-height: 520px) and (orientation: landscape) {
  .ch--trial { padding-top: calc(var(--nav) + 2px); --pw: clamp(248px, 36vw, 310px); }
  /* the same folded controls as on an upright phone, whatever the width */
  .tdock { display: none; } .tp__ctl { display: flex; } .tp__next { display: inline-flex; } .tpanel [data-act="back"] { display: block; }
  .tp__act, .torder button, .tp__dec, .tp__layers button, .tp__shut { min-height: 44px; } .tp__step button { width: 44px; height: 44px; } .tp__chips button { max-width: 36px; height: 44px; } .tp__chips i { top: 13px; }
  .moves { bottom: auto; width: auto; } .moves:not(.is-open) li:not(.moves__h) { display: none !important; } .moves:not(.is-open) .moves__h { margin: 0; } .moves__c { display: block; } .moves__h button { cursor: pointer; min-height: 32px; gap: 8px; } .moves__h span { display: none; } .moves__h b::after { content: var(--mv); }
  .moves.is-open { z-index: 6; width: 250px; padding: 4px 14px 12px; background: rgba(8, 10, 14, .97); box-shadow: 0 18px 50px rgba(0, 0, 0, .6); }
  .tname i, .tname em { display: none; }
  .ch--trial .wrap { margin: 0 calc(var(--gut) + var(--pw) + 14px) 0 var(--gut); }
  .ch--trial .label { display: none; } .ch--trial .op { margin-top: 0; font-size: 11px; } .ch--trial .h2 { margin-top: 2px; font-size: clamp(19px, 5.4vh, 26px); } .ch--trial .lead { display: none; }
  .tpanel { left: auto; right: var(--gut); top: calc(var(--nav) + 2px); bottom: 8px; width: var(--pw); max-height: none; padding: 10px 12px; gap: 7px; font-size: 12.5px; }
  .tpanel .tkey { height: 44px; font-size: 14px; } .tp__name b { font-size: 16px; } .tp__tag { font-size: 13px; } .tp__next { bottom: -10px; }
  .moves { left: auto; right: calc(var(--gut) + var(--pw) + 14px); top: calc(var(--nav) + 2px) !important; }
  .tname:not(.hov) { display: none !important; } .tname b { writing-mode: horizontal-tb; font-size: 11px; } .moves { padding: 0 10px; } .moves.is-open { max-height: calc(100vh - var(--nav) - 12px); overflow: auto; } .thold { width: 76px !important; height: 76px !important; min-width: 0; min-height: 0; font-size: 11px; letter-spacing: .08em; } .thold span { width: 5.6em; }
}

/* close */
.ch--close { display: flex; align-items: center; padding-top: var(--nav); }
.closing { font-weight: 400; margin: 0 0 40px; }
.closing span { display: block; }
.closing__q { font-size: clamp(20px, 2vw, 28px); line-height: 1.5; color: #D5D5DE; }
@media (max-width: 359px) { .closing__q { font-size: 17px; } }
.closing__b { font-weight: 600; font-size: clamp(40px, 4.6vw, 68px); line-height: 1.1; letter-spacing: -.035em; margin-top: 22px; }
.closing__b--s { font-size: clamp(24px, 2.5vw, 36px); margin-top: 10px; letter-spacing: -.02em; }
.mark { position: absolute; left: 0; top: 0; width: 100px; height: 100px; transform-origin: 0 0; opacity: 0; pointer-events: none; will-change: transform, opacity; }
.legal { position: absolute; left: 0; right: 0; bottom: 20px; }
.legal__row { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; font-size: 13px; color: var(--dim); }
.legal__risk { font-size: 12px; }
.close__note { margin: 16px 0 0; }

@media (max-width: 899px) {
  .nav__links { display: none; }
  .nav__row { gap: 12px; }
  .sound__t { display: none; }
  .ch--hero, .ch--control, .ch--close { align-items: flex-start; padding-top: calc(var(--nav) + 40px); }
  .ch--hero .wrap { margin-top: 0; }
  .lead { margin-bottom: 24px; }
  .agent { top: auto; bottom: 20px; right: var(--gut); width: calc(100% - 2 * var(--gut)); }
  .agent__char { display: none; }
  .names button span { display: none; }
  .names button { width: 44px; margin-left: -22px; min-height: 44px; }
  .names button b { font-size: 11px; writing-mode: vertical-rl; }
  .steps { inset: auto var(--gut) 36px var(--gut); display: grid; gap: 10px; }
  .steps li { position: static; transform: none !important; width: auto; margin: 0; text-align: left; display: grid; grid-template-columns: 11.5em 1fr; gap: 12px; align-items: baseline; }
  .steps__t { font-size: 14px; }
  .names button { width: 44px; padding: 0; transform: none; }
  .depthbox { transform: none !important; left: var(--gut); top: auto; bottom: 36px; }
  .glass__say { font-size: clamp(9px, 5.6cqw, 36px); }
  .legal__row { flex-wrap: wrap; gap: 2px 20px; }
  .legal__row .legal__note { display: none; }
  .youdo { margin-bottom: 20px; }
}
@media (max-width: 639px) {
  /* reasoning on a phone: filters above the upright pane, depth as one row under it */
  .spectrum .label { display: none; }
  .spectrum::before { top: -8px; bottom: auto; width: 100%; height: 96px; background: linear-gradient(180deg, transparent, rgba(5, 5, 8, .74) 24%, rgba(5, 5, 8, .74) 76%, transparent); }
  .rail { margin-top: 0; }
  .rail__out { display: none; }
  .rail__name { position: absolute; left: calc(var(--gut) + 184px); right: var(--gut); top: 8px; margin: 0; }
  .rail__name b { font-size: 18px; }
  .rail__name .mono { font-size: 12px; }
  .depthbox { left: var(--gut); right: var(--gut); bottom: 14px; padding: 2px 6px; }
  .depth__line, .depth__more { display: none; }
  .depth { display: flex; justify-content: space-between; gap: 2px; }
  .depth button { min-height: 44px; padding: 0 6px; gap: 6px; font-size: 11px; border-bottom: 1px solid transparent; }
  .depth button::before { display: none; }
  .depth button.on { border-bottom-color: #fff; }
  .rows { gap: 3cqh; }
  .rows div { grid-template-columns: 1fr; gap: 2px; }
  .rows dt { font-size: 10px; }
  .rows dd { font-size: 12.5px; }
  .glass__who { font-size: 11px; }
  .glass__say { font-size: clamp(12px, 5.6cqw, 16px); min-height: 0; }
  .view { padding: 0 9%; }
  .nav__cta { padding: 0 14px; font-size: 14px; }
  .btn-row .btn { width: 100%; justify-content: space-between; }
  .custody { margin-top: 18px; font-size: 14.5px; }
  .lead__more { display: none; }
  .ch--control .small { margin-top: 16px; }
  .steps li { grid-template-columns: 1fr; gap: 2px; }
  .nav__cta { display: none; }
}
@media (max-width: 639px) and (max-height: 720px) { .ch--reasoning .wrap > .label { display: none; } }
/* upright phones with little height: the hero is set tighter, so the paragraph, both buttons and the scroll cue each keep their own place */
@media (max-width: 639px) and (max-height: 700px) and (orientation: portrait) {
  .ch--hero { padding-top: calc(var(--nav) + 14px); } .ch--hero .h1 { font-size: clamp(30px, 9vw, 38px); margin: 10px 0 14px; }
  .ch--hero .lead { font-size: 14.5px; line-height: 1.45; margin-bottom: 16px; } .ch--hero .btn-row { gap: 8px; }
  .cue { bottom: 12px; gap: 8px; } .cue i { height: 30px; }
}
@media (max-width: 639px) and (max-height: 600px) and (orientation: portrait) { .ch--hero .label { display: none; } .ch--hero .h1 { margin-top: 0; } .ch--hero .lead { font-size: 13.5px; } .cue { font-size: 13px; padding-top: 0; } .cue i { height: 22px; } }
@media (prefers-reduced-motion: reduce) {
  .cue i::after, .cue.is-urged span, .sound__bars i, .glass__say .cur { animation: none !important; }
  .cue i::after { top: calc(100% - 3px); }
  body.is-ready .ch--hero .ln { transition: none; }
}

/* ---------- a phone held sideways: very little height, so every chapter is set smaller and keeps to its own side ---------- */
@media (max-height: 520px) and (orientation: landscape) {
  :root { --nav: 52px; --gut: 28px; }
  .nav__logo img { height: 24px; } .nav .btn, .sound, .lang { height: 36px; } .lang b, .lang span { height: 26px; } .nav__cta { padding: 0 14px; font-size: 13px; }
  .ch { padding-top: calc(var(--nav) + 8px); }
  .label, .mono { font-size: 11px; } .op { margin-top: 10px; }
  .h1 { font-size: clamp(22px, 7.4vh, 30px); margin: 8px 0 12px; } .h2 { font-size: clamp(19px, 6.2vh, 26px); margin-top: 6px; }
  .lead { font-size: 13px; line-height: 1.45; margin-bottom: 14px; max-width: 30em; } .lead--s { margin-top: 8px; }
  .btn { height: 38px; padding: 0 14px; font-size: 13.5px; } .btn--xl { height: 44px; padding: 0 18px; font-size: 15px; }
  /* hero: the text keeps the left 46%, the tunnel has the right */
  .ch--hero, .ch--control, .ch--close { align-items: center; padding-top: var(--nav); } .ch--hero .wrap { margin-top: 0; }
  .ch--hero .col, .ch--control .col, .ch--close .col { max-width: 47%; } .ch--hero .btn-row .btn { width: auto; }
  .cue { bottom: 6px; left: 76%; font-size: 12px; gap: 6px; } .cue i { height: 30px; }
  @media (max-height: 400px) { .ch--hero .label { display: none; } .ch--hero .h1 { margin-top: 0; } }
  @media (max-height: 340px) { .ch--hero .col { max-width: 54%; } .ch--hero .h1 { font-size: 20px; margin-bottom: 8px; } .ch--hero .lead { font-size: 12px; margin-bottom: 10px; } .ch--hero .btn-row .btn + .btn { display: none; } }
  .pass__line { top: calc(var(--nav) + 12px); } .hud__name { font-size: 26px; } .ch--pass { padding-bottom: 20px; } .hud__ticks { margin-top: 8px; }
  .statement { font-size: clamp(22px, 8vh, 34px); max-width: 16em; }
  /* process: the four steps in one row along the bottom */
  .steps { inset: auto var(--gut) 8px var(--gut); grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; } .steps li { grid-template-columns: 1fr; gap: 2px; } .steps__t { font-size: 12px; line-height: 1.35; } .steps li .mono { font-size: 11px; } .steps__swap { margin-top: -40px; min-height: 30px; }
  /* agents: the headline only; the card opens as a sheet at the right */
  .ch--agents .lead { display: none; } .ch--agents .h2 { max-width: none; }
  .agent { left: auto; right: var(--gut); top: calc(var(--nav) + 4px); bottom: 6px; width: min(430px, 56vw); overflow: auto; }
  /* reasoning: headline at the left of the glass, the depth choice bottom right */
  .ch--reasoning .wrap > .label, .ch--reasoning .h2 { display: none; } .ch--reasoning .op { margin-top: 2px; }
  .depthbox { left: auto; right: var(--gut); bottom: 8px; padding: 8px 12px; } .depth__line { font-size: 13px; }
  /* control and close */
  .youdo { font-size: clamp(40px, 15vh, 64px); margin: 6px 0 10px -0.04em; } .lines li { font-size: 14.5px; line-height: 1.4; } .lines li + li { margin-top: 2px; }
  .custody { margin-top: 10px; font-size: 12.5px; line-height: 1.4; } .ch--control .small { margin-top: 8px; font-size: 12.5px; } .ch--control .op { margin-top: 6px; }
  .closing { margin-bottom: 14px; } .closing__q { font-size: 14.5px; line-height: 1.4; } .closing__b { font-size: clamp(26px, 9vh, 36px); margin-top: 8px; } .closing__b--s { font-size: clamp(16px, 5.4vh, 21px); margin-top: 4px; }
  .close__note { margin-top: 8px; font-size: 12.5px; } .legal { bottom: 6px; } .legal__row { font-size: 11px; flex-wrap: nowrap; justify-content: flex-end; gap: 16px; } .legal__row .legal__note { display: none; } .legal__risk { font-size: 11px; }
}
