/* Staz Labs. Three colours: black, white, #0071E3. Staz Sans / Italic / Mono v0.992. */
@font-face { font-family: "Staz Sans"; src: url("fonts/StazSans-VF.woff2") format("woff2"); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Staz Sans"; src: url("fonts/StazSansItalic-VF.woff2") format("woff2"); font-weight: 300 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Staz Mono"; src: url("fonts/StazMono-VF.woff2") format("woff2"); font-weight: 300 700; font-style: normal; font-display: swap; }

:root { --k: #000; --w: #fff; --b: #0071e3; --sans: "Staz Sans", system-ui, sans-serif; --mono: "Staz Mono", ui-monospace, monospace;
  --pad: clamp(20px, 5vw, 72px); --bar: 44px; --ease: cubic-bezier(0.16, 1, 0.3, 1); }
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--sans); font-weight: 400; font-size: 18px; line-height: 1.5; background: var(--k); color: var(--w); padding-bottom: var(--bar); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid var(--b); outline-offset: 4px; }
ul, ol { list-style: none; }
img, svg { display: block; }
.mono { font-family: var(--mono); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--w); color: var(--k); padding: 8px 14px; z-index: 50; }
.skip:focus { left: 8px; }

/* ---------- grounds ---------- */
.sec { position: relative; overflow: hidden; overflow: clip; padding: clamp(84px, 12vw, 176px) 0; }
.dark { background: var(--k); color: var(--w); --fg: 255, 255, 255; --bg: 0, 0, 0; }
.light { background: var(--w); color: var(--k); --fg: 0, 0, 0; --bg: 255, 255, 255; }
.blue { background: var(--b); color: var(--w); --fg: 255, 255, 255; --bg: 0, 113, 227; }
.wrap { position: relative; z-index: 1; max-width: 1320px; margin: 0 auto; padding: 0 var(--pad); }
.field { position: absolute; border-radius: 50%; pointer-events: none; z-index: 0; }
.dark .field { background: radial-gradient(closest-side, rgba(0, 113, 227, 0.6), rgba(0, 113, 227, 0.2) 48%, rgba(0, 113, 227, 0)); }
.light .field { background: radial-gradient(closest-side, rgba(0, 113, 227, 0.26), rgba(0, 113, 227, 0.08) 52%, rgba(0, 113, 227, 0)); }
.blue .field { background: radial-gradient(closest-side, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0)); }
.f-a { width: 110vmax; height: 110vmax; left: -34vmax; bottom: -74vmax; animation: driftA 22s ease-in-out infinite alternate; }
.f-b { width: 70vmax; height: 70vmax; right: -30vmax; top: -40vmax; animation: driftB 26s ease-in-out infinite alternate; }
.f-c { width: 80vmax; height: 80vmax; right: -36vmax; bottom: -46vmax; animation: driftB 24s ease-in-out infinite alternate; }
.f-d { width: 80vmax; height: 80vmax; left: -40vmax; top: -44vmax; animation: driftA 28s ease-in-out infinite alternate; }
@keyframes driftA { to { transform: translate(9vmax, -7vmax) scale(1.12); } }
@keyframes driftB { to { transform: translate(-8vmax, 7vmax) scale(1.08); } }

/* ---------- type ---------- */
.eye { font-family: var(--mono); font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(var(--fg), 0.62); margin-bottom: clamp(20px, 3vw, 36px); display: flex; align-items: center; gap: 14px; }
.eye b { font-weight: 500; color: rgb(var(--fg)); display: inline-block; padding: 5px 12px; border: 1px solid rgba(var(--fg), 0.4); border-radius: 99px; letter-spacing: 0.08em; }
h1, h2, h3 { font-weight: 650; letter-spacing: -0.028em; line-height: 1.02; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 7.7vw, 7.1rem); line-height: 0.98; letter-spacing: -0.034em; }
h1 span { display: block; }
html[lang="en"] h1 { font-size: clamp(2.5rem, 5.9vw, 5.5rem); }
h2 { font-size: clamp(2.1rem, 5.4vw, 4.75rem); max-width: 17ch; }
h3 { font-size: clamp(1.5rem, 2.6vw, 2.25rem); letter-spacing: -0.02em; line-height: 1.08; }
.name { font-size: clamp(3.6rem, 14.5vw, 13rem); font-weight: 700; letter-spacing: -0.045em; line-height: 0.9; margin-left: -0.04em; }
.name.long { font-size: clamp(3.1rem, 12.6vw, 11.5rem); }
.acc { color: var(--b); font-style: normal; }
.lead { font-size: clamp(1.14rem, 1.75vw, 1.5rem); line-height: 1.38; letter-spacing: -0.01em; max-width: 34em; color: rgba(var(--fg), 0.86); margin-top: clamp(22px, 3vw, 40px); }
.note { font-size: 15px; line-height: 1.55; color: rgba(var(--fg), 0.66); max-width: 46em; }
.cap { font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.04em; color: rgba(var(--fg), 0.6); }
.gap { margin-top: clamp(56px, 8vw, 120px); }
.gap-s { margin-top: clamp(32px, 4.4vw, 64px); }

/* ---------- reveal ---------- */
.js .r { opacity: 0; transform: translateY(26px); filter: blur(10px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease), filter 0.9s var(--ease); transition-delay: calc(var(--d, 0) * 80ms); }
.js .r.in { opacity: 1; transform: none; filter: none; }

/* ---------- header ---------- */
.top { position: absolute; left: 0; right: 0; top: 0; z-index: 5; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.logo img { height: 26px; width: auto; filter: invert(1); }
.nav { display: flex; gap: clamp(16px, 2.4vw, 34px); font-size: 15px; }
.nav a { color: rgba(255, 255, 255, 0.72); transition: color 0.2s; }
.nav a:hover { color: #fff; }
.lang { font-family: var(--mono); font-size: 13px; letter-spacing: 0.08em; display: flex; gap: 4px; }
.lang a, .lang span { padding: 6px 10px; border-radius: 99px; }
.lang span { background: #fff; color: #000; }
.lang a { color: rgba(255, 255, 255, 0.72); }
@media (max-width: 860px) { .nav { display: none; } .top .wrap { height: 68px; } .logo img { height: 22px; } }

/* ---------- orbs ---------- */
.orb { display: block; border-radius: 50%; flex: none;
  background: radial-gradient(circle at 34% 28%, #fff 0, rgba(255, 255, 255, 0.85) 6%, rgba(255, 255, 255, 0) 40%), radial-gradient(circle at 66% 76%, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0) 62%), var(--b);
  box-shadow: 0 0 44px 4px rgba(0, 113, 227, 0.55); }
.orb.wh { background: radial-gradient(circle at 66% 78%, rgba(0, 113, 227, 0.3), rgba(0, 113, 227, 0) 62%), #fff; box-shadow: 0 0 44px 2px rgba(255, 255, 255, 0.3); }
.light .orb { box-shadow: 0 14px 30px rgba(0, 113, 227, 0.4); }
.light .orb.wh, .blue .orb.wh { box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18); }

/* ---------- hero ---------- */
.hero { min-height: calc(100svh - var(--bar)); padding: 104px 0 40px; display: flex; align-items: center; }
.hero .wrap { width: 100%; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(300px, 0.8fr); gap: clamp(16px, 2vw, 28px) clamp(32px, 5vw, 80px); align-items: center; }
.hero .hh { grid-column: 1 / -1; }
.hero .lead { margin-top: 0; }
.hero .lead { max-width: 30em; }
.cta { display: inline-flex; align-items: center; gap: 12px; margin-top: clamp(28px, 3.6vw, 48px); height: 54px; padding: 0 26px; border-radius: 99px; background: var(--b); color: #fff; font-weight: 550; font-size: 17px; transition: transform 0.3s var(--ease), box-shadow 0.3s; box-shadow: 0 0 0 0 rgba(0, 113, 227, 0.5); }
.cta:hover { transform: translateY(-2px); box-shadow: 0 10px 40px 0 rgba(0, 113, 227, 0.6); }
.cta i { font-style: normal; display: inline-block; animation: nudge 1.8s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateY(4px); } }

/* the stage: a code card is written, dropped on the machine, fails, is fixed, passes */
.stage { position: relative; width: min(400px, 100%); height: 398px; justify-self: end; --T: 9s; }
.stage .orb { position: absolute; left: calc(50% - 30px); top: 0; width: 60px; height: 60px; animation: breathe 3s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(1.07); } }
.card { position: absolute; left: 0; right: 0; top: 82px; height: 196px; border-radius: 22px; background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.24); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); transform: translateY(76px); }
.card .hd { height: 40px; padding: 0 18px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(255, 255, 255, 0.1); font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; color: rgba(255, 255, 255, 0.55); }
.rows { padding: 16px 18px 0; }
.rows div { height: 17px; display: flex; gap: 6px; }
.rows i { display: block; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, 0.5); }
.rows i.b { background: var(--b); }
.rows i.d { background: rgba(255, 255, 255, 0.22); }
.rows i.fx { background: var(--b); box-shadow: 0 0 12px rgba(0, 113, 227, 0.9); transform-origin: 0 50%; }
.tick { position: absolute; right: -14px; top: -14px; width: 46px; height: 46px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 0 34px 2px rgba(255, 255, 255, 0.4); }
.mline { position: absolute; left: 0; right: 0; top: 356px; height: 2px; background: #fff; }
.mglow { position: absolute; left: 0; right: 0; top: 345px; height: 24px; background: radial-gradient(closest-side, rgba(0, 113, 227, 1), rgba(0, 113, 227, 0)); opacity: 0.5; }
.st { position: absolute; left: 0; top: 370px; font-family: var(--mono); font-size: 13px; color: rgba(255, 255, 255, 0.92); display: flex; gap: 9px; align-items: center; white-space: nowrap; }
.st.fail { opacity: 0; }
.mtag { position: absolute; right: 0; top: 372px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; color: rgba(255, 255, 255, 0.5); }
@media (prefers-reduced-motion: no-preference) {
  .card { animation: card var(--T) linear infinite; }
  .rows { animation: rows var(--T) linear infinite, dim var(--T) linear infinite; }
  .rows i.fx { animation: fx var(--T) linear infinite; }
  .tick { animation: tick var(--T) linear infinite; }
  .mline { animation: bump var(--T) linear infinite; }
  .mglow { animation: glow var(--T) linear infinite; }
  .st.fail { animation: fail var(--T) linear infinite; }
  .st.pass { animation: pass var(--T) linear infinite; }
}
@keyframes card { 0% { opacity: 0; transform: translateY(0); } 3% { opacity: 1; } 30% { transform: translateY(0); animation-timing-function: cubic-bezier(0.6, 0, 0.9, 0.3); } 33.5% { transform: translateY(76px); } 47% { transform: translateY(76px); animation-timing-function: cubic-bezier(0.65, 0, 0.35, 1); } 54% { transform: translateY(0); } 63% { transform: translateY(0); animation-timing-function: cubic-bezier(0.6, 0, 0.9, 0.3); } 66.5% { transform: translateY(76px); } 95% { transform: translateY(76px); opacity: 1; } 100% { transform: translateY(76px); opacity: 0; } }
@keyframes rows { 0%, 3% { clip-path: inset(0 0 100% 0); animation-timing-function: steps(8, end); } 27%, 100% { clip-path: inset(0 0 0 0); } }
@keyframes dim { 0%, 33.5% { opacity: 1; } 35% { opacity: 0.32; } 47% { opacity: 0.32; } 53%, 100% { opacity: 1; } }
@keyframes fx { 0%, 55% { transform: scaleX(0); } 61%, 100% { transform: scaleX(1); } }
@keyframes tick { 0%, 66.5% { opacity: 0; transform: scale(0.3); } 69% { opacity: 1; transform: scale(1.16); } 71.5%, 100% { opacity: 1; transform: scale(1); } }
@keyframes bump { 0%, 33.5% { transform: translateY(0); } 34.5% { transform: translateY(5px); } 37% { transform: translateY(0); } 66.5% { transform: translateY(0); } 67.5% { transform: translateY(6px); } 70%, 100% { transform: translateY(0); } }
@keyframes glow { 0%, 66.5% { opacity: 0; } 68.5% { opacity: 1; } 82% { opacity: 0.45; } 95% { opacity: 0.45; } 100% { opacity: 0; } }
@keyframes fail { 0%, 33.5% { opacity: 0; transform: translateX(-8px); } 35.5%, 48% { opacity: 1; transform: none; } 52%, 100% { opacity: 0; transform: none; } }
@keyframes pass { 0%, 66.5% { opacity: 0; transform: translateX(-8px); } 68.5%, 95% { opacity: 1; transform: none; } 100% { opacity: 0; transform: none; } }
@media (max-width: 860px) {
  .hero { padding: 100px 0 56px; }
  .hero .wrap { grid-template-columns: 1fr; }
  .stage { justify-self: center; margin-top: 12px; }
}

/* ---------- measured ---------- */
.runs { display: grid; gap: clamp(28px, 4vw, 52px); }
.run { display: grid; grid-template-columns: minmax(0, 15rem) minmax(0, 1fr); gap: 14px clamp(20px, 4vw, 64px); align-items: end; }
.run h3 small { display: block; font-family: var(--mono); font-size: 12.5px; font-weight: 400; letter-spacing: 0.04em; color: rgba(var(--fg), 0.6); margin-top: 8px; }
.fig { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; font-family: var(--mono); font-size: 14px; color: rgba(var(--fg), 0.66); }
.fig strong { font-family: var(--sans); font-size: clamp(3rem, 7.4vw, 6.4rem); font-weight: 650; letter-spacing: -0.04em; line-height: 0.9; color: rgb(var(--fg)); }
.fig .fl { margin-left: auto; }
.fig .fl b { color: rgb(var(--fg)); font-weight: 600; font-size: 18px; }
.bar { grid-column: 1 / -1; display: flex; gap: 3px; height: 14px; border-radius: 7px; overflow: hidden; background: rgba(var(--fg), 0.1); }
.bar i { display: block; height: 100%; width: var(--v); transform-origin: 0 50%; }
.bar .c { background: var(--b); }
.bar .f { background: rgb(var(--fg)); }
.js .r .bar i { transform: scaleX(0); transition: transform 1.3s var(--ease) 0.25s; }
.js .r.in .bar i { transform: none; }
.js .r .bar .f { transition-delay: 0.7s; }
.legend { display: flex; flex-wrap: wrap; gap: 8px 26px; }
.legend span::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 9px; background: rgba(var(--fg), 0.14); }
.legend .lc::before { background: var(--b); }
.legend .lf::before { background: rgb(var(--fg)); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(var(--fg), 0.16); }
.stats > div { padding: 26px 22px 6px 0; }
.stats > div + div { padding-left: 22px; border-left: 1px solid rgba(var(--fg), 0.16); }
.stats b { display: block; font-size: clamp(2rem, 3.8vw, 3.4rem); font-weight: 650; letter-spacing: -0.035em; line-height: 1; white-space: nowrap; }
.stats b small { font-size: 0.5em; font-weight: 500; color: rgba(var(--fg), 0.55); letter-spacing: -0.01em; }
.stats p { font-size: 15px; line-height: 1.4; color: rgba(var(--fg), 0.7); margin-top: 12px; max-width: 17em; }
.stats.six { grid-template-columns: repeat(3, 1fr); }
.stats.six > div:nth-child(n + 4) { border-top: 1px solid rgba(var(--fg), 0.16); }
.stats.six > div:nth-child(4) { border-left: 0; padding-left: 0; }
.stats.six > div { padding-bottom: 26px; }
.hwrow { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 44px); }
.hw svg { width: 92px; height: 92px; overflow: visible; }
.hw svg * { fill: none; stroke: currentColor; stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.js .r.hw svg * { stroke-dashoffset: 1; transition: stroke-dashoffset 1.1s var(--ease) calc(var(--d, 0) * 80ms + 0.2s); }
.js .r.hw.in svg * { stroke-dashoffset: 0; }
.hw h3 { font-size: 1.32rem; margin-top: 18px; letter-spacing: -0.015em; }
.hw p { font-size: 15.5px; line-height: 1.5; color: rgba(var(--fg), 0.72); margin-top: 8px; max-width: 24em; }
@media (max-width: 860px) {
  .run { grid-template-columns: 1fr; }
  .stats, .stats.six { grid-template-columns: 1fr 1fr; }
  .stats > div { padding: 22px 14px 22px 0; border-top: 1px solid rgba(var(--fg), 0.16); }
  .stats > div + div { padding-left: 0; border-left: 0; }
  .stats > div:nth-child(even) { padding-left: 16px; border-left: 1px solid rgba(var(--fg), 0.16); }
  .stats.six > div:nth-child(4) { padding-left: 16px; border-left: 1px solid rgba(var(--fg), 0.16); }
  .stats { border-top: 0; }
  .hwrow { grid-template-columns: 1fr; }
  .hw { display: grid; grid-template-columns: 76px 1fr; column-gap: 20px; align-items: start; }
  .hw svg { width: 68px; height: 68px; grid-row: span 2; }
  .hw h3 { margin-top: 4px; }
}

/* ---------- works ---------- */
.spec { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 clamp(20px, 3vw, 48px); }
.spec div { padding: 16px 0; border-top: 1px solid rgba(var(--fg), 0.18); }
.spec dt { font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(var(--fg), 0.56); }
.spec dd { font-size: 17px; line-height: 1.35; margin-top: 6px; }
.spec dd.mono { font-size: 15px; }
.duo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 88px); align-items: center; }
.duo.top-al { align-items: start; }
.feat li { display: grid; grid-template-columns: 2.6em 1fr; padding: 15px 0; border-top: 1px solid rgba(var(--fg), 0.16); font-size: 16.5px; line-height: 1.45; }
.feat li > span:first-child { font-family: var(--mono); font-size: 12.5px; color: var(--b); padding-top: 4px; }
.dark .feat li > span:first-child { color: rgba(255, 255, 255, 0.6); }
.feat b { font-weight: 600; display: block; }
.feat p { color: rgba(var(--fg), 0.7); }
.feat code, .lead code, .note code { font-family: var(--mono); font-size: 0.88em; }
@media (max-width: 860px) { .spec { grid-template-columns: 1fr 1fr; } .duo { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .spec { grid-template-columns: 1fr; } }

/* Ranix: one machine, a sealed agent session */
.machine { position: relative; border: 1.5px solid rgba(var(--fg), 0.42); border-radius: 34px; padding: 44px clamp(16px, 3vw, 34px) 30px; display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(12px, 2vw, 26px); align-items: center; }
.machine > .tag { position: absolute; left: 28px; top: -10px; padding: 0 12px; background: rgb(var(--bg)); font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.18em; line-height: 20px; color: rgba(var(--fg), 0.7); }
.who { display: grid; justify-items: center; gap: 16px; font-family: var(--mono); font-size: 13px; color: rgba(var(--fg), 0.66); }
.who .orb { width: 76px; height: 76px; animation: breathe 4s ease-in-out infinite; }
.sess { position: relative; border-radius: 26px; border: 1.5px solid rgba(255, 255, 255, 0.7); background: rgba(0, 113, 227, 0.2); box-shadow: inset 0 0 50px rgba(0, 113, 227, 0.35), 0 0 60px rgba(0, 113, 227, 0.35); padding: 20px 14px; display: grid; justify-items: center; gap: 12px; }
.sess .orb { width: 70px; height: 70px; margin: 8px 0; animation: knock 5s ease-in-out infinite; }
@keyframes knock { 0%, 55%, 100% { transform: translateX(0); } 66% { transform: translateX(-34px); } 72% { transform: translateX(-26px); } 80% { transform: translateX(0); } }
.sess span { font-family: var(--mono); font-size: 12.5px; line-height: 1.2; padding: 7px 12px; border-radius: 99px; border: 1px solid rgba(255, 255, 255, 0.45); background: rgba(0, 0, 0, 0.5); text-align: center; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { font-size: clamp(1.2rem, 2.3vw, 1.9rem); font-weight: 600; letter-spacing: -0.02em; padding: 10px 24px; border-radius: 99px; border: 1.5px solid rgba(var(--fg), 0.4); }

/* agentlanes: terminal and the recorded lease hand-over */
.term { border-radius: 24px; background: #000; color: #fff; padding: 0 0 22px; box-shadow: 0 40px 80px rgba(0, 113, 227, 0.25); overflow: hidden; }
.term .hd { height: 46px; padding: 0 20px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(255, 255, 255, 0.14); font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.14em; color: rgba(255, 255, 255, 0.55); }
.term .hd b { font-weight: 500; letter-spacing: 0.02em; color: #fff; border: 1px solid rgba(255, 255, 255, 0.4); border-radius: 99px; padding: 3px 10px; }
.term p { font-family: var(--mono); font-size: clamp(12.5px, 1.25vw, 15.5px); line-height: 1.5; padding: 16px 20px 0; overflow-wrap: anywhere; }
.term p u { text-decoration: none; color: var(--b); font-weight: 600; margin-right: 10px; }
.term p small { display: block; font-size: 0.86em; color: rgba(255, 255, 255, 0.5); padding-left: 1.7em; }
.demo { position: relative; border: 1.5px solid rgba(var(--fg), 0.26); border-radius: 34px; padding: 40px clamp(16px, 2.6vw, 30px) 26px; display: grid; grid-template-columns: 1fr 104px; gap: 6px clamp(14px, 2vw, 26px); --T: 13s; }
.demo > .tag { position: absolute; left: 28px; top: -10px; padding: 0 12px; background: #fff; font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.18em; line-height: 20px; color: rgba(0, 0, 0, 0.62); }
.ln { padding: 8px 0 12px; }
.ln .lb { font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.06em; color: rgba(0, 0, 0, 0.62); }
.ln .tr { position: relative; height: 34px; margin-top: 8px; }
.ln .tr::before { content: ""; position: absolute; left: 0; right: 0; top: 16px; border-top: 2px dotted rgba(0, 0, 0, 0.24); }
.ln .tr .orb { position: absolute; top: 3px; width: 28px; height: 28px; margin-left: -14px; }
.ln .ps { position: relative; height: 30px; margin-top: 6px; }
.pl { position: absolute; left: 0; top: 0; font-family: var(--mono); font-size: 12px; line-height: 26px; padding: 0 12px; border-radius: 99px; white-space: nowrap; }
.pl.h { background: var(--b); color: #fff; border: 1px solid var(--b); }
.pl.k { background: #000; color: #fff; border: 1px solid #000; letter-spacing: 0.1em; }
.pl.o { background: #fff; color: rgba(0, 0, 0, 0.66); border: 1px solid rgba(0, 0, 0, 0.26); }
.filec { grid-row: 1 / span 2; grid-column: 2; align-self: center; }
.filec .pg { border-radius: 16px; background: #fff; border: 1.5px solid rgba(0, 0, 0, 0.8); padding: 18px 14px 12px; box-shadow: 0 18px 40px rgba(0, 113, 227, 0.22); }
.filec .pg i { display: block; height: 6px; border-radius: 3px; background: rgba(0, 0, 0, 0.16); margin-bottom: 11px; transform-origin: 0 50%; }
.filec .pg i.n { background: var(--b); }
.filec .pg em { display: block; font-style: normal; font-family: var(--mono); font-size: 11.5px; text-align: center; margin-top: 4px; }
.filec .rp { font-family: var(--mono); font-size: 10.5px; line-height: 1.3; text-align: center; margin-top: 10px; color: var(--b); }
.path { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.path li { border: 1.5px solid rgba(var(--fg), 0.2); border-radius: 24px; padding: 22px 22px 26px; }
.path li:last-child { background: #000; color: #fff; border-color: #000; --fg: 255, 255, 255; }
.path .cap { display: block; }
.path b { display: block; font-size: 1.7rem; font-weight: 650; letter-spacing: -0.025em; margin: 14px 0 8px; }
.path p { font-size: 15.5px; line-height: 1.45; color: rgba(var(--fg), 0.74); }
@media (max-width: 860px) { .path { grid-template-columns: 1fr; } }

/* Metal Mile: 24 reserved tests behind frosted glass */
.cells { display: grid; grid-template-columns: repeat(8, 1fr); gap: 10px; }
.cells li { position: relative; aspect-ratio: 1.5; border-radius: 14px; border: 1px solid rgba(255, 255, 255, 0.22); background: linear-gradient(135deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.04)); overflow: hidden; font-family: var(--mono); font-size: 12px; padding: 9px 11px; color: rgba(255, 255, 255, 0.8); }
.cells li::before, .cells li::after { content: ""; position: absolute; left: 11px; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, 0.5); filter: blur(4px); }
.cells li::before { bottom: 24px; width: 62%; }
.cells li::after { bottom: 12px; width: 38%; }
.cells li.m { border-color: var(--b); background: rgba(0, 113, 227, 0.34); box-shadow: 0 0 30px rgba(0, 113, 227, 0.45); color: #fff; }
.js .cells.r li { opacity: 0; transform: translateY(18px) scale(0.92); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); transition-delay: calc(var(--i) * 28ms); }
.js .cells.r.in li { opacity: 1; transform: none; }
.js .cells.r { opacity: 1; transform: none; filter: none; }
.until { display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; font-family: var(--mono); font-size: 13px; }
.until b { font-weight: 500; display: block; font-size: 15px; }
.until span { color: rgba(255, 255, 255, 0.6); }
.until i { height: 2px; background: linear-gradient(90deg, #fff, var(--b)); position: relative; }
.until i::after { content: ""; position: absolute; right: -1px; top: -5px; width: 12px; height: 12px; border-radius: 50%; background: var(--b); box-shadow: 0 0 18px 2px rgba(0, 113, 227, 0.9); }
.until div:last-child { text-align: right; }
.cheats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cheat { border-radius: 24px; border: 1px solid rgba(255, 255, 255, 0.24); background: rgba(255, 255, 255, 0.05); padding: 22px 24px 24px; min-width: 0; }
.cheat strong { display: block; font-size: clamp(5rem, 11vw, 9rem); font-weight: 700; line-height: 0.9; letter-spacing: -0.04em; margin: 14px 0 18px; }
.cheat code { display: block; font-family: var(--mono); font-size: 12.5px; line-height: 1.5; color: rgba(255, 255, 255, 0.74); overflow-wrap: anywhere; }
.tri { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 clamp(20px, 3vw, 48px); }
.tri li { border-top: 1px solid rgba(var(--fg), 0.2); padding: 18px 0 8px; }
.tri b { display: block; font-size: 1.25rem; font-weight: 600; letter-spacing: -0.015em; margin: 10px 0 8px; line-height: 1.2; }
.tri p { font-size: 15.5px; line-height: 1.5; color: rgba(var(--fg), 0.72); }
.tri.four { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .tri.four { grid-template-columns: 1fr 1fr; } }
@media (max-width: 860px) { .cells { grid-template-columns: repeat(4, 1fr); gap: 8px; } .cheats, .tri { grid-template-columns: 1fr; } .until { grid-template-columns: 1fr; gap: 10px; } .until i { display: none; } .until div:last-child { text-align: left; } }
@media (max-width: 520px) { .tri.four { grid-template-columns: 1fr; } }

/* ---------- zeros ---------- */
.zeros { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1.5px solid #000; }
.zeros li { padding: 18px 20px 0 0; }
.zeros li + li { padding-left: 20px; border-left: 1px solid rgba(0, 0, 0, 0.16); }
.zeros strong { display: block; font-size: clamp(7rem, 19vw, 17rem); font-weight: 700; line-height: 0.86; letter-spacing: -0.05em; margin-left: -0.05em; }
.zeros b { display: block; font-size: 1.3rem; font-weight: 600; margin-top: 12px; letter-spacing: -0.015em; }
.zeros p { font-size: 15.5px; color: rgba(0, 0, 0, 0.68); margin-top: 4px; }
@media (max-width: 860px) { .zeros { grid-template-columns: 1fr 1fr; border-top: 0; } .zeros li { border-top: 1.5px solid #000; padding: 14px 10px 28px 0; } .zeros li + li { padding-left: 0; border-left: 0; } .zeros li:nth-child(even) { padding-left: 16px; border-left: 1px solid rgba(0, 0, 0, 0.16); } }

/* ---------- lab ---------- */
.orbit { position: relative; width: min(420px, 84vw); aspect-ratio: 1; margin: 0 auto; }
.orbit::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px dotted rgba(255, 255, 255, 0.6); }
.orbit .fo { position: absolute; left: 50%; top: 50%; width: 21%; height: 21%; margin: -10.5% 0 0 -10.5%; }
.orbit .fo:nth-child(1) { transform: translateX(-56%); } .orbit .fo:nth-child(2) { transform: translateX(56%); }
.orbit .ring { position: absolute; inset: 0; animation: spin 40s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.orbit .ring i { position: absolute; left: 50%; top: 50%; width: 9%; height: 9%; margin: -4.5% 0 0 -4.5%; transform: rotate(calc(var(--n) * 72deg)) translateY(-555%); }
.orbit .ring .orb { width: 100%; height: 100%; background: radial-gradient(circle at 34% 28%, #fff 0, rgba(255, 255, 255, 0.7) 10%, rgba(255, 255, 255, 0) 46%), #000; box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3); }
.blue .stats > div, .blue .stats > div + div, .blue .stats { border-color: rgba(255, 255, 255, 0.34) !important; }
.blue .lead { color: #fff; }
.blue .note, .blue .stats p, .blue .tri p { color: rgba(255, 255, 255, 0.9); }
.blue .cap, .blue .eye { color: rgba(255, 255, 255, 0.9); }
.blue .tri li { border-color: rgba(255, 255, 255, 0.4); }

/* ---------- type ---------- */
.spc { font-size: clamp(2.6rem, 9.4vw, 9rem); line-height: 0.98; letter-spacing: -0.035em; font-weight: 650; overflow-wrap: anywhere; }
.wg { display: flex; align-items: center; gap: 18px; font-family: var(--mono); font-size: 13px; margin-top: 28px; max-width: 560px; }
.wg output { min-width: 5.5em; }
.wg input { flex: 1; -webkit-appearance: none; appearance: none; height: 28px; background: transparent; cursor: pointer; }
.wg input::-webkit-slider-runnable-track { height: 2px; background: #000; }
.wg input::-moz-range-track { height: 2px; background: #000; }
.wg input::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; margin-top: -12px; border-radius: 50%; border: 0; background: radial-gradient(circle at 34% 28%, #fff 0, rgba(255, 255, 255, 0) 42%), var(--b); box-shadow: 0 8px 20px rgba(0, 113, 227, 0.5); }
.wg input::-moz-range-thumb { width: 26px; height: 26px; border-radius: 50%; border: 0; background: var(--b); }
.faces { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(20px, 3vw, 48px); }
.faces div { border-top: 1px solid rgba(0, 0, 0, 0.2); padding: 16px 0 0; }
.faces p { font-size: clamp(1.9rem, 4.6vw, 4rem); letter-spacing: -0.03em; line-height: 1.1; margin-top: 10px; font-weight: 500; white-space: nowrap; }
.faces .it { font-style: italic; }
.faces .mn { font-family: var(--mono); letter-spacing: -0.02em; font-size: clamp(1.6rem, 4vw, 3.5rem); }
@media (max-width: 860px) { .faces { grid-template-columns: 1fr; gap: 26px; } }

/* ---------- footer ---------- */
.foot { padding: clamp(72px, 9vw, 130px) 0 clamp(48px, 6vw, 80px); }
.foot .big { font-size: clamp(2.2rem, 6.6vw, 6.2rem); font-weight: 650; letter-spacing: -0.032em; line-height: 1; }
.foot .logo img { height: 34px; }
.fgrid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 28px clamp(20px, 3vw, 48px); border-top: 1px solid rgba(255, 255, 255, 0.2); padding-top: 28px; font-size: 15.5px; line-height: 1.6; color: rgba(255, 255, 255, 0.72); }
.fgrid h4 { font-family: var(--mono); font-size: 12px; font-weight: 400; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.5); margin-bottom: 10px; }
.fgrid a { color: #fff; border-bottom: 1px solid rgba(255, 255, 255, 0.4); }
.fgrid a:hover { border-color: var(--b); }
@media (max-width: 860px) { .fgrid { grid-template-columns: 1fr; } }

/* ---------- the machine line: fixed, has the last word on every section ---------- */
.mach { position: fixed; left: 0; right: 0; bottom: 0; height: var(--bar); z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 var(--pad); font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.04em;
  background: #000; color: #fff; border-top: 1px solid rgba(255, 255, 255, 0.5); transition: background-color 0.25s, color 0.25s, border-color 0.25s; }
.mach.light { background: #fff; color: #000; border-color: rgba(0, 0, 0, 0.5); }
.mach.blue { background: var(--b); color: #fff; border-color: rgba(255, 255, 255, 0.7); }
.mach #machS { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: opacity 0.18s, transform 0.18s; display: flex; align-items: center; gap: 10px; min-width: 0; }
.mach #machS::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--b); box-shadow: 0 0 10px rgba(0, 113, 227, 0.9); flex: none; }
.mach.blue #machS::before { background: #fff; box-shadow: none; }
.mach #machS.out { opacity: 0; transform: translateY(6px); }
.mach .ml { letter-spacing: 0.2em; opacity: 0.6; flex: none; }
@media (max-width: 520px) { .mach { font-size: 10.5px; letter-spacing: 0; padding: 0 16px; } .mach .ml { display: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .r, .js .cells.r li { opacity: 1; transform: none; filter: none; }
  .js .r .bar i { transform: none; }
  .js .r.hw svg * { stroke-dashoffset: 0; }
}

/* ==================== v2 layer ==================== */
::selection { background: var(--b); color: #fff; }
.sec { padding: clamp(88px, 11vw, 160px) 0; }
h2 { letter-spacing: -0.034em; }
.eye::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--b); flex: none; }
.blue .eye::before { background: #fff; }
.eye:has(b)::before { display: none; }

/* light sweep between grounds */
.js .sw { --sk: 8vw; margin-top: calc(-1 * var(--sk)); padding-top: calc(clamp(88px, 11vw, 160px) + var(--sk) * 0.6); clip-path: polygon(0 calc(var(--p, 0) * var(--sk)), 100% 0, 100% 100%, 0 100%); }
.js .foot.sw { padding-top: calc(clamp(72px, 9vw, 130px) + var(--sk)); }

/* glass nav */
.top { position: fixed; top: 14px; z-index: 30; background: none; pointer-events: none; transition: transform 0.45s var(--ease); --nfg: 255, 255, 255; --nbg: 0, 0, 0; }
.top .wrap { pointer-events: auto; }
.top[data-t="light"] { --nfg: 0, 0, 0; --nbg: 255, 255, 255; }
.top[data-t="blue"] { --nbg: 0, 113, 227; }
.top.hide { transform: translateY(-96px); }
.top .wrap { height: 58px; max-width: 1120px; width: calc(100% - 28px); padding: 0 10px 0 24px; border-radius: 99px; display: grid; grid-template-columns: 1fr auto 1fr; background: rgba(var(--nbg), 0.9); -webkit-backdrop-filter: blur(28px) saturate(1.4); backdrop-filter: blur(28px) saturate(1.4); border: 1px solid rgba(var(--nfg), 0.16); transition: background-color 0.3s, border-color 0.3s; }
.top .logo img { height: 22px; filter: invert(1); transition: filter 0.3s; }
.top[data-t="light"] .logo img { filter: none; }
.nav a { color: rgba(var(--nfg), 0.66); position: relative; padding: 6px 0; }
.nav a:hover, .nav a.on { color: rgb(var(--nfg)); }
.nav a.on::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; border-radius: 1px; background: var(--b); }
.top[data-t="blue"] .nav a.on::after { background: #fff; }
.lang a { color: rgba(var(--nfg), 0.7); }
.lang span { background: rgb(var(--nfg)); color: rgb(var(--nbg)); }
@media (max-width: 860px) { .top { top: 10px; } .top .wrap { height: 50px; padding: 0 8px 0 18px; } .top .logo img { height: 19px; } }

/* hero */
.hero { min-height: calc(100svh - var(--bar) - 50px); padding-top: 116px; }
.js .kin .w { display: inline-block; opacity: 0; transform: translateY(0.28em); filter: blur(14px); }
.js .kin.go .w { opacity: 1; transform: none; filter: none; transition: opacity 0.7s var(--ease), transform 0.9s var(--ease), filter 0.7s var(--ease); transition-delay: calc(var(--i) * 95ms + 120ms); }
.tk { position: relative; z-index: 1; height: 50px; display: flex; align-items: center; overflow: hidden; background: #000; color: #fff; border-top: 1px solid rgba(255, 255, 255, 0.16); font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.04em; }
.tk div { display: flex; white-space: nowrap; animation: tk 60s linear infinite; }
.tk span { padding: 0 22px; color: rgba(255, 255, 255, 0.78); display: flex; align-items: center; gap: 44px; }
.tk span::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--b); }
@keyframes tk { to { transform: translateX(-50%); } }

/* bento */
.bento { display: grid; grid-template-columns: 1.12fr 1fr; gap: 16px; }
.bc { position: relative; display: flex; flex-direction: column; min-height: 330px; border-radius: 36px; padding: 30px 32px 28px; overflow: hidden; isolation: isolate; }
.js .bc.r.in { transition: opacity 0.9s var(--ease), transform 0.6s var(--ease), filter 0.9s var(--ease), box-shadow 0.4s; }
.bc:hover { transform: translateY(-5px) !important; }
.bc.k { grid-row: 1 / 3; background: #000; color: #fff; --fg: 255, 255, 255; box-shadow: 0 40px 90px rgba(0, 113, 227, 0.22); }
.bc.w { background: #fff; color: #000; --fg: 0, 0, 0; border: 1.5px solid rgba(0, 0, 0, 0.14); box-shadow: 0 30px 70px rgba(0, 113, 227, 0.12); }
.bc.b { background: var(--b); color: #fff; --fg: 255, 255, 255; box-shadow: 0 30px 70px rgba(0, 113, 227, 0.3); }
.bc .cap { color: rgba(var(--fg), 0.7); }
.bc h3 { font-size: clamp(2.5rem, 5vw, 4.4rem); font-weight: 700; letter-spacing: -0.04em; line-height: 0.95; margin-top: 14px; }
.bc.k h3 { font-size: clamp(3.2rem, 7.4vw, 6.6rem); }
.bc p { font-size: 16.5px; line-height: 1.45; color: rgba(var(--fg), 0.78); margin-top: 14px; max-width: 30em; }
.bc .bv { flex: 1; min-height: 120px; margin: 22px 0; }
.bc .go { display: flex; align-items: center; justify-content: space-between; gap: 14px; font-family: var(--mono); font-size: 13px; padding-top: 16px; border-top: 1px solid rgba(var(--fg), 0.2); }
.bc .go svg { flex: none; transition: transform 0.4s var(--ease); }
.bc:hover .go svg { transform: translateX(5px); }
.glow::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity 0.4s; pointer-events: none; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0) 60%); }
.bc.k.glow::after { background: radial-gradient(460px circle at var(--mx, 50%) var(--my, 50%), rgba(0, 113, 227, 0.6), rgba(0, 113, 227, 0) 62%); }
.bc.w.glow::after { background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(0, 113, 227, 0.16), rgba(0, 113, 227, 0) 60%); }
.glow:hover::after { opacity: 1; }
.mini-m { display: grid; grid-template-columns: 0.7fr 1.3fr; align-items: center; justify-items: center; gap: 18px; border: 1.5px solid rgba(255, 255, 255, 0.3); border-radius: 28px; padding: 24px; min-height: 230px; }
.mini-m > .orb { width: 64px; height: 64px; animation: breathe 4s ease-in-out infinite; }
.mini-m .sess { width: 100%; height: 100%; align-content: center; }
.mini-m .sess .orb { width: 60px; height: 60px; }
.mini-l { display: grid; align-content: center; gap: 42px; }
.mini-l i { position: relative; display: block; height: 0; border-top: 2px dotted rgba(0, 0, 0, 0.26); }
.mini-l b { position: absolute; top: -13px; left: 0; width: 26px; height: 26px; margin-left: -13px; animation: lane 7s ease-in-out infinite alternate; }
.mini-l i:nth-child(2) b { animation-duration: 9s; animation-delay: -3s; }
.mini-l i:nth-child(3) b { animation-duration: 6s; animation-delay: -1.5s; }
@keyframes lane { from { left: 4%; } to { left: 96%; } }
.mini-c { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; align-content: center; }
.mini-c li { aspect-ratio: 1.4; border-radius: 10px; background: rgba(255, 255, 255, 0.2); border: 1px solid rgba(255, 255, 255, 0.4); }
.mini-c li.m { background: #fff; }
@media (max-width: 860px) { .bento { grid-template-columns: 1fr; } .bc.k { grid-row: auto; } .bc { padding: 26px 22px 22px; border-radius: 30px; } .mini-m { min-height: 190px; padding: 18px; } }

/* film */
.player { position: relative; width: min(300px, 72vw); aspect-ratio: 9 / 16; margin: 0 auto; border-radius: 38px; overflow: hidden; background: #000; border: 1.5px solid rgba(255, 255, 255, 0.34); box-shadow: 0 0 140px rgba(0, 113, 227, 0.6), 0 0 0 10px rgba(255, 255, 255, 0.04); }
.player video { width: 100%; height: 100%; object-fit: cover; display: block; }
.play { position: absolute; inset: 0; display: grid; place-items: center; border: 0; background: rgba(0, 0, 0, 0.16); cursor: pointer; }
.play span { width: 92px; height: 92px; border-radius: 50%; background: #fff; display: grid; place-items: center; padding-left: 5px; box-shadow: 0 0 0 14px rgba(255, 255, 255, 0.18); transition: transform 0.4s var(--ease), box-shadow 0.4s; }
.play:hover span { transform: scale(1.08); box-shadow: 0 0 0 22px rgba(255, 255, 255, 0.14); }
.player.on .play { display: none; }

/* agentlanes: the recorded hand-over as steps */
.steps button { all: unset; box-sizing: border-box; position: relative; width: 100%; display: grid; grid-template-columns: 2.6em 1fr; padding: 15px 0; border-top: 1px solid rgba(0, 0, 0, 0.16); cursor: pointer; font-size: 16.5px; line-height: 1.45; color: rgba(0, 0, 0, 0.46); transition: color 0.3s; }
.steps button > span:first-child { font-family: var(--mono); font-size: 12.5px; padding-top: 4px; }
.steps button:hover { color: rgba(0, 0, 0, 0.8); }
.steps button.on { color: #000; }
.steps button.on > span:first-child { color: var(--b); }
.steps button::after { content: ""; position: absolute; left: 0; top: -1px; width: 100%; height: 2px; background: var(--b); transform: scaleX(0); transform-origin: 0 50%; }
.steps button.on::after { transform: scaleX(1); }
.steps button:focus-visible { outline: 2px solid var(--b); outline-offset: 2px; }
@keyframes prog { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.duo:has(.demo.auto) .steps button.on::after { animation: prog 3s linear both; }
#oa, #ob { transition: left 0.9s cubic-bezier(0.65, 0, 0.35, 1), opacity 0.5s; left: 6%; }
.pl, #rp { opacity: 0; transition: opacity 0.35s, transform 0.5s var(--ease); transform: translateY(6px); }
#fa, #fb { transform: scaleX(0); transition: transform 0.6s var(--ease) 0.35s; }
.demo .pg { transition: box-shadow 0.5s, border-color 0.5s; }
.demo[data-step="1"] #oa, .demo[data-step="2"] #oa { left: 94%; }
.demo[data-step="1"] #pa1, .demo[data-step="2"] #pa1 { opacity: 1; transform: none; }
.demo[data-step] #fa { transform: scaleX(1); }
.demo[data-step="2"] #ob, .demo[data-step="3"] #ob { left: 66%; }
.demo[data-step="2"] #pb1, .demo[data-step="3"] #pb1 { opacity: 1; transform: none; }
.demo[data-step="3"] #oa, .demo[data-step="4"] #oa, .demo[data-step="5"] #oa { opacity: 0.3; }
.demo[data-step="3"] #pa2, .demo[data-step="4"] #pa2, .demo[data-step="5"] #pa2 { opacity: 1; transform: none; }
.demo[data-step="3"] #rp, .demo[data-step="4"] #rp, .demo[data-step="5"] #rp { opacity: 1; transform: none; }
.demo[data-step="4"] #ob, .demo[data-step="5"] #ob { left: 94%; }
.demo[data-step="4"] #pb2, .demo[data-step="5"] #pb2 { opacity: 1; transform: none; }
.demo[data-step="4"] #fb, .demo[data-step="5"] #fb { transform: scaleX(1); }
.demo[data-step="5"] .pg { border-color: var(--b); box-shadow: 0 0 0 6px rgba(0, 113, 227, 0.16), 0 18px 40px rgba(0, 113, 227, 0.3); }

/* log */
.stick { position: sticky; top: 110px; }
.log li { display: grid; grid-template-columns: 8.6em 1fr; gap: 8px 24px; align-items: baseline; padding: 20px 0; border-top: 1px solid rgba(255, 255, 255, 0.18); }
.log time { font-family: var(--mono); font-size: 13.5px; letter-spacing: 0.04em; color: rgba(255, 255, 255, 0.66); display: flex; align-items: center; gap: 10px; }
.log time::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #fff; flex: none; }
.log p { font-size: clamp(1.05rem, 1.5vw, 1.3rem); line-height: 1.4; letter-spacing: -0.01em; }
.log .next time { color: #fff; }
.log .next time::before { background: transparent; border: 2px solid var(--b); box-shadow: 0 0 14px rgba(0, 113, 227, 1); }
.log .next p { color: rgba(255, 255, 255, 0.7); }
@media (max-width: 860px) { .stick { position: static; } .log li { grid-template-columns: 1fr; } }

/* footer wordmark, machine line progress */
.giant { margin-top: clamp(48px, 7vw, 110px); }
.giant img { width: 100%; height: auto; filter: invert(1); }
.mach::before { content: ""; position: absolute; left: 0; top: -1px; width: 100%; height: 2px; background: var(--b); transform-origin: 0 50%; transform: scaleX(var(--sp, 0)); }
.mach.blue::before { background: #fff; }

@media (prefers-reduced-motion: reduce) {
  .js .kin .w { opacity: 1; transform: none; filter: none; }
  .js .sw { clip-path: none; }
}

.top .lang { justify-self: end; }
.top .logo { justify-self: start; }
@media (max-width: 860px) { .top .wrap { grid-template-columns: 1fr auto; } }

/* ==================== v3 layer ==================== */
/* scale: reading sizes one step up */
body { font-size: 19px; }
.lead { font-size: clamp(1.2rem, 1.9vw, 1.62rem); }
.note { font-size: 16.5px; }
.tri p, .feat li, .path p, .hw p { font-size: 17px; }
.tri b { font-size: 1.36rem; }
.spec dd { font-size: 19px; }
.stats b { font-size: clamp(2.2rem, 4.6vw, 4.2rem); }
.stats p { font-size: 16px; }
.cap { font-size: 13px; }
h2 { font-size: clamp(2.2rem, 6vw, 5.4rem); line-height: 0.99; }
.gap { margin-top: clamp(64px, 9vw, 136px); }

/* menu: the section name on small screens */
.here { display: none; font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; color: rgba(var(--nfg), 0.8); text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 860px) { .top .wrap { grid-template-columns: auto 1fr auto; gap: 10px; } .here { display: block; } }

/* Ranix: properties drive the diagram */
.sess { gap: 9px; }
.sess span { opacity: 0.5; transition: opacity 0.35s, background-color 0.35s, color 0.35s, border-color 0.35s, transform 0.5s var(--ease); }
#machine[data-on="1"] .sess span[data-k="1"], #machine[data-on="2"] .sess span[data-k="2"], #machine[data-on="3"] .sess span[data-k="3"], #machine[data-on="4"] .sess span[data-k="4"] { opacity: 1; background: #fff; color: #000; border-color: #fff; transform: scale(1.06); }
#machine:not([data-on]) .sess span { opacity: 1; }
#props li { cursor: default; transition: border-color 0.35s; position: relative; }
#props li::before { content: ""; position: absolute; left: 0; top: -1px; width: 100%; height: 2px; background: var(--b); transform: scaleX(0); transform-origin: 0 50%; transition: transform 0.5s var(--ease); }
#props li.on::before { transform: scaleX(1); }
#props li b, #props li p { transition: opacity 0.35s; }
#props:has(.on) li:not(.on) b, #props:has(.on) li:not(.on) p { opacity: 0.55; }

/* agentlanes: the recording as the centrepiece */
.rec { display: grid; grid-template-columns: 1fr; }
.rec > div { display: contents; }
.rec .eye { order: 1; } .rec h3 { order: 2; } .rec .note { order: 3; margin-top: 18px !important; } .rec .demo { order: 4; margin-top: clamp(28px, 4vw, 52px); } .rec .steps { order: 5; margin-top: 0; }
@media (min-width: 861px) {
  .rec .demo { grid-template-columns: 1fr 190px; padding: 60px 48px 44px; gap: 10px 56px; border-radius: 44px; background: rgba(255, 255, 255, 0.6); box-shadow: 0 40px 100px rgba(0, 113, 227, 0.14); }
  .rec .ln .lb { font-size: 14px; }
  .rec .ln .tr { height: 56px; margin-top: 10px; }
  .rec .ln .tr::before { top: 27px; }
  .rec .ln .tr .orb { width: 48px; height: 48px; margin-left: -24px; top: 4px; }
  .rec .ln .ps { height: 38px; }
  .rec .pl { font-size: 14px; line-height: 34px; padding: 0 16px; }
  .rec .filec .pg { border-radius: 24px; padding: 30px 24px 18px; }
  .rec .filec .pg i { height: 10px; border-radius: 5px; margin-bottom: 18px; }
  .rec .filec .pg em { font-size: 14px; margin-top: 8px; }
  .rec .filec .rp { font-size: 13px; margin-top: 14px; }
  .rec .steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0 20px; margin-top: 28px; }
  .rec .steps button { display: flex; flex-direction: column; justify-content: flex-start; align-items: stretch; text-align: left; height: 100%; padding: 16px 0 0; font-size: 16px; border-top-width: 2px; }
  .rec .steps button > span:first-child { display: block; padding: 0 0 8px; }
  .rec .steps button::after { top: -2px; }
}

/* Metal Mile: the zero lands */
.js .cheat.r strong { transform: scale(1.5); opacity: 0; transition: transform 0.7s var(--ease) 0.25s, opacity 0.4s 0.25s; transform-origin: 0 60%; }
.js .cheat.r.in strong { transform: none; opacity: 1; }
@media (prefers-reduced-motion: reduce) { .js .cheat.r strong { transform: none; opacity: 1; } }
@media (max-width: 600px) { #machine .sess { padding: 18px 10px; } #machine .sess span { font-size: 11px; letter-spacing: 0; padding: 7px 9px; text-wrap: balance; } }

/* ==================== v4 layer ==================== */
:root { --bar: 0px; }
h1, h2, h3, .big { text-wrap: balance; }
p { text-wrap: pretty; }

/* the bottom strip is now only a thin progress line */
.mach, .mach.light, .mach.blue { height: 0; padding: 0; border: 0; background: none; }
.mach::before { top: -3px; height: 3px; }

/* Staz Mono only for code, commands and measured values */
.eye, .cap, .lang, .card .hd, .st, .mtag, .spec dt, .machine > .tag, .who, .sess span, .term .hd, .ln .lb, .pl, .filec .pg em, .filec .rp, .fgrid h4, .here, .bc .go, .steps button > span:first-child, .fig, .legend { font-family: var(--sans); letter-spacing: 0; text-transform: none; }
.eye { font-size: 16px; font-weight: 550; color: rgba(var(--fg), 0.74); margin-bottom: clamp(14px, 2vw, 24px); gap: 11px; }
.cap { font-size: 15px; font-weight: 500; }
.spec dt, .fgrid h4 { font-size: 14.5px; font-weight: 500; color: rgba(var(--fg), 0.6); }
.fgrid h4 { color: rgba(255, 255, 255, 0.6); }
.lang { font-size: 13px; font-weight: 600; }
.card .hd, .mtag, .machine > .tag, .term .hd { font-size: 13px; }
.st { font-size: 14.5px; }
.who, .ln .lb { font-size: 14.5px; }
.sess span { font-size: 13.5px; font-weight: 500; }
.pl { font-size: 13px; font-weight: 550; }
.pl.k, .legend code, .note code { font-family: var(--mono); font-size: 0.9em; }
.filec .pg em { font-size: 13px; } .filec .rp { font-size: 12.5px; font-weight: 550; }
.bc .go { font-size: 15px; font-weight: 500; }
.here { font-size: 14px; font-weight: 550; }
.fig { font-size: 16px; }
.legend { font-size: 14.5px; color: rgba(var(--fg), 0.7); }
.steps button > span:first-child { font-size: 15px; font-weight: 600; }
.credit { font-size: 14px; color: rgba(var(--fg), 0.55); }
.stats b, .fig strong, .zeros strong { font-variant-numeric: tabular-nums; }

/* headings that are sentences get room to be read */
h2 { font-size: clamp(2.1rem, 5.2vw, 4.7rem); max-width: 19ch; line-height: 1.01; }
h3.sub { font-size: clamp(1.7rem, 3.3vw, 2.9rem); letter-spacing: -0.026em; line-height: 1.06; max-width: 21ch; }
.lead { max-width: 31em; }
.lead.two { max-width: 38em; font-size: clamp(1.1rem, 1.5vw, 1.32rem); line-height: 1.5; }
.hero .lead { max-width: 29em; }
.tri b { margin-top: 2px; }
.feat.plain li { grid-template-columns: 1fr; padding: 17px 0; }
.faces p { margin-top: 0; }
.spec { margin-top: clamp(56px, 7vw, 104px); }

/* less ornament: no blur-in, no glow shadows, no nudging arrow */
.js .r { transform: translateY(16px); filter: none; transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.bc.k, .bc.w, .bc.b, .rec .demo, .filec .pg, .cells li.m { box-shadow: none; }
.bc.w { border-color: rgba(0, 0, 0, 0.16); }
.rec .demo { background: #fff; border-color: rgba(0, 0, 0, 0.18); }
.cta i { animation: none; }
.cta:hover { box-shadow: none; }
.js .cheat.r strong, .js .cheat.r.in strong { transform: none; opacity: 1; transition: none; }

/* footer: where the code is */
.foot .big { font-size: clamp(2.1rem, 5.2vw, 4.7rem); max-width: 15ch; line-height: 1.01; }
.outs { display: flex; flex-wrap: wrap; gap: 12px; }
.out { display: inline-flex; align-items: center; gap: 10px; height: 58px; padding: 0 28px; border-radius: 99px; border: 1.5px solid rgba(255, 255, 255, 0.5); font-size: 18px; font-weight: 550; transition: background-color 0.25s, border-color 0.25s, color 0.25s; }
.out:first-child { background: #fff; color: #000; border-color: #fff; }
.out:hover { background: var(--b); border-color: var(--b); color: #fff; }
.fgrid.two { grid-template-columns: 1fr 1fr; max-width: 900px; }
.feat.plain li > span:first-child { font: inherit; color: inherit; padding: 0; }
.feat.plain b { margin-bottom: 3px; }
.fig { font-size: 17px; }
.term { box-shadow: none; }
.dark .legend span:not(.lc):not(.lf)::before { background: rgba(255, 255, 255, 0.3); }
@media (max-width: 600px) { .fgrid.two { grid-template-columns: 1fr; } .out { height: 52px; padding: 0 22px; font-size: 16.5px; } }

/* ==================== v5 layer ==================== */
/* headline stays on two lines at every desktop width */
h1 { font-size: clamp(2.5rem, 7.7vw, 6.85rem); }
html[lang="en"] h1 { font-size: clamp(2.5rem, 5.9vw, 5.5rem); }
/* two actions in the hero */
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(28px, 3.6vw, 48px); }
.ctas .cta { margin-top: 0; }
.cta.ghost { background: none; border: 1.5px solid rgba(255, 255, 255, 0.42); gap: 11px; transition: border-color 0.25s, background-color 0.25s, transform 0.3s var(--ease); }
.cta.ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); }
.credit { line-height: 1.7; }
/* tablet: the 24 reserved tests stay a compact grid */
@media (min-width: 600px) and (max-width: 860px) { .cells { grid-template-columns: repeat(8, 1fr); } }
@media (max-width: 420px) { .ctas .cta { height: 50px; padding: 0 20px; font-size: 16px; } }
@media (max-width: 420px) { h1, html[lang="en"] h1 { font-size: 9.6vw; } }

/* footer: paths within the page, the address */
.fgrid { grid-template-columns: 1fr 1.2fr 1.2fr; }
.fnav { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.fnav a { border-bottom-color: transparent; }
.base { display: flex; justify-content: space-between; gap: 16px; margin-top: clamp(28px, 4vw, 56px); font-size: 14.5px; color: rgba(255, 255, 255, 0.6); }
.base a { color: #fff; border-bottom: 1px solid rgba(255, 255, 255, 0.4); }
.base a:hover { border-color: var(--b); }
@media (max-width: 860px) { .fgrid { grid-template-columns: 1fr; } }
