/* Rooney Systems. One page, one world: paper, ink, machine yellow, steel, night. */

@font-face { font-family: "Schibsted Grotesk"; src: url("/fonts/schibsted-grotesk-var.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("/fonts/geist-mono-var.woff2") format("woff2"); font-weight: 400 500; font-display: swap; }
@font-face { font-family: "VT323"; src: url("/fonts/vt323-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }

:root {
  --paper: #FEFEFD;
  --ink: #1E1E1E;
  --ink-soft: #4A4A48;
  --yellow: #F5CD3D;
  --steel: #AEB9C1;
  --night: #1E1E1E;
  --night-line: #3A3A38;
  --night-soft: #B9B9B4;
  --win: #DEDEDE;
  --win-field: #F3F3F1;

  --sans: "Schibsted Grotesk", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --px: "VT323", "Geist Mono", ui-monospace, monospace;

  --gutter: clamp(16px, 3.5vw, 50px);
  --max: 1340px;
  --section: clamp(96px, 12vw, 180px);
  --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 56px; scrollbar-color: var(--ink) var(--paper); scrollbar-width: thin; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.4; font-kerning: normal; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; caret-color: var(--ink); overflow-x: clip; }
::selection { background: var(--yellow); color: var(--ink); }
.field-yellow ::selection { background: var(--ink); color: var(--yellow); }
.field-night ::selection { background: var(--yellow); color: var(--ink); }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--paper); }
::-webkit-scrollbar-thumb { background: var(--ink); border: 3px solid var(--paper); }

img, svg, canvas { display: block; max-width: 100%; }
h1, h2, h3, p, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .18em; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.field-night :focus-visible { outline-color: var(--yellow); }

.skip { position: absolute; left: 8px; top: -60px; z-index: 50; background: var(--ink); color: var(--paper); padding: 8px 12px; font-family: var(--px); font-size: 20px; }
.skip:focus { top: 8px; }

/* ---------- Cursor: a standard arrow is the pointer (fine pointers only) ---------- */
@media (hover: hover) and (pointer: fine) {
  html { cursor: url("/assets/cursor-aubergine.svg") 1 1, auto; }
  a, button, summary, label, select, [role="button"] { cursor: url("/assets/cursor-aubergine-link.svg") 1 1, pointer; }
  input, textarea { cursor: text; }
}

/* ---------- Type ---------- */
.display-xl { font-weight: 500; font-size: clamp(3.1rem, 9.1vw, 8.5rem); line-height: .88; letter-spacing: -.05em; text-align: center; text-wrap: balance; }
.display-l { font-weight: 500; font-size: clamp(2.6rem, 6.3vw, 6rem); line-height: .9; letter-spacing: -.045em; text-wrap: balance; }
.display-m { font-weight: 500; font-size: clamp(2.2rem, 3.8vw, 3.5rem); line-height: .95; letter-spacing: -.045em; }
.display-s { font-weight: 500; font-size: clamp(1.45rem, 1.9vw, 1.75rem); line-height: 1; letter-spacing: -.03em; }
.display-m a, .display-s a { text-decoration: none; }
.display-m a:hover, .display-s a:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.body-l { font-size: clamp(1.06rem, 1.3vw, 1.25rem); line-height: 1.3; letter-spacing: -.01em; max-width: 34ch; }
.mono { font-family: var(--mono); font-size: 12.5px; line-height: 1.35; letter-spacing: 0; }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 20; display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; height: 0; overflow: visible; }
.nav > * { display: flex; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 8px; background: var(--paper); color: var(--ink); font-size: 19px; letter-spacing: -.02em; text-decoration: none; white-space: nowrap; transition: background-color .2s var(--ease), color .2s var(--ease); }
.chip:hover { background: var(--yellow); }
.chip-ink { background: var(--ink); color: var(--paper); }
.chip-ink:hover { background: var(--yellow); color: var(--ink); }
.nav .chip:focus-visible { outline-offset: -4px; }
.nav .chip-ink:focus-visible { outline-color: var(--yellow); }
.nav-mid { position: absolute; left: 50%; transform: translateX(-50%); }
.mark { height: 21px; width: auto; fill: currentColor; flex: none; }
.lockup { display: block; height: auto; color: inherit; }
.show-s { display: none; }

/* ---------- Windows ---------- */
.win { display: block; position: relative; background: var(--win); border: 1px solid var(--ink); box-shadow: inset 0 0 0 2px var(--win), inset 0 0 0 3px var(--ink); color: var(--ink); text-decoration: none; }
.win-bar { display: flex; justify-content: space-between; gap: 12px; background: var(--ink); color: var(--paper); font-family: var(--px); font-size: 19px; line-height: 1; padding: 4px 7px 3px; white-space: nowrap; overflow: hidden; }
.win-bar > span:last-child:not(:first-child) { opacity: .75; overflow: hidden; text-overflow: ellipsis; }
.win-body { display: block; padding: 14px 13px 13px; }
.px, .px-title { font-family: var(--px); font-size: 21px; line-height: 1.12; font-weight: 400; letter-spacing: .01em; }
.px-title { font-size: 23px; }
.px-small { font-size: 18px; color: var(--ink-soft); }
.px-big { font-family: var(--px); font-size: 44px; line-height: .9; display: inline-block; background: var(--ink); color: var(--paper); padding: 2px 6px 0; margin-bottom: 6px; }
.px-big-ink { background: var(--yellow); color: var(--ink); outline: 1px solid var(--ink); }
.px-btn { display: block; margin: 14px 0 10px; background: var(--ink); color: var(--paper); font-family: var(--px); font-size: 24px; line-height: 1; text-align: center; text-decoration: none; padding: 9px 12px 7px; transition: background-color .15s var(--ease), color .15s var(--ease); }
.px-btn:hover { background: var(--yellow); color: var(--ink); outline: 1px solid var(--ink); }
.px-link { display: inline-block; margin-top: 12px; font-family: var(--px); font-size: 21px; }
.px-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 8px; font-family: var(--px); font-size: 18px; line-height: 1; }
.px-tags span { background: var(--win-field); border: 1px solid #BDBDBA; padding: 3px 5px 2px; }
.px-tags span::before { content: "+"; margin-right: 3px; opacity: .6; }
.px-tags-lg { font-size: 22px; gap: 6px; }
.px-tags-lg span { padding: 5px 8px 4px; }
.px-tags-ink span { background: var(--ink); color: var(--yellow); border-color: var(--ink); }
.tag-ink { display: inline-block; background: var(--ink); color: var(--paper); font-family: var(--px); font-size: 18px; line-height: 1; padding: 3px 6px 2px; }
.tag-yellow { display: inline-block; background: var(--yellow); color: var(--ink); font-family: var(--px); font-size: 19px; line-height: 1; padding: 4px 7px 3px; }

/* ---------- Links ---------- */
.big-link { font-size: clamp(1.7rem, 2.6vw, 2.35rem); font-weight: 500; letter-spacing: -.04em; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .14em; }
.big-link:hover { background: var(--yellow); text-decoration-thickness: 3px; }
.big-link-quiet { text-decoration-style: dotted; text-decoration-thickness: 2px; }
.text-link { display: inline-block; font-size: 1.2rem; font-weight: 500; letter-spacing: -.02em; text-decoration: underline; text-decoration-thickness: 1.5px; }
.text-link::after { content: ""; display: inline-block; width: .5em; height: .5em; margin-left: .35em; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: translateY(-.1em) rotate(45deg); }
.text-link:hover { text-decoration-thickness: 2.5px; }

/* ---------- Decorative code strings and crop marks ---------- */
.crop { position: relative; width: fit-content; max-width: 100%; margin-inline: auto; padding: clamp(28px, 4vw, 56px) clamp(8px, 2vw, 32px); }
.crop::before, .crop::after { content: ""; position: absolute; width: 10px; height: 10px; border: 0 solid currentColor; opacity: .6; }
.crop::before { left: -14px; top: 0; border-left-width: 1px; border-top-width: 1px; }
.crop::after { right: -14px; bottom: 0; border-right-width: 1px; border-bottom-width: 1px; }
.corner-marks { position: absolute; inset: 10px var(--gutter) auto; display: flex; justify-content: space-between; font-family: var(--mono); font-size: 12px; opacity: .55; pointer-events: none; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 96px var(--gutter) var(--section); overflow: hidden; }
.steam { position: absolute; left: 0; top: 0; width: 100%; height: 640px; image-rendering: pixelated; pointer-events: none; }
.hero-windows { position: relative; display: grid; gap: 20px; width: min(364px, 100%); margin: 0 auto; }
.win-audit .px { margin-top: 6px; text-align: center; }
.win-audit .px-title { text-align: center; }
.win-audit .px-small { text-align: center; margin-top: 0; }
.win-news .win-body { text-align: center; }
.hero h1 { position: relative; margin: clamp(88px, 10vw, 128px) auto 0; max-width: 1340px; }
.hero h1 span { display: block; text-wrap: balance; }
.hero-sub { position: relative; max-width: 38ch; margin: 40px auto 0; text-align: center; font-size: clamp(1.1rem, 1.4vw, 1.3rem); line-height: 1.3; letter-spacing: -.01em; color: var(--ink); }
.hero-cta { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 40px; margin-top: 36px; }

/* ---------- Colour fields ---------- */
.field { position: relative; }
.field-yellow { background: var(--yellow); }
.field-steel { background: var(--steel); }
.field-night { background: var(--night); color: var(--paper); }

/* ---------- The desk (OS scene) ---------- */
.desk { position: relative; max-width: var(--max); margin: 0 auto; height: 900px; padding: 0 var(--gutter); }
.blobs { position: absolute; inset: 0; width: 100%; height: 100%; image-rendering: pixelated; pointer-events: none; }
.desk-tag { position: absolute; left: var(--gutter); top: 44px; }
.desk-win { position: absolute; }
.d-sheets { left: 9%; top: 150px; width: 250px; }
.d-zaps { left: 21%; top: 238px; width: 250px; }
.d-chat { left: 37%; top: 120px; width: 270px; }
.d-agents { left: 30%; top: 330px; width: 380px; }
.agents-body { display: flex; gap: 14px; align-items: flex-start; }
.agents-art { width: 96px; height: 96px; image-rendering: pixelated; border: 1px solid var(--ink); flex: none; }
.d-log { left: 25%; top: 540px; width: 560px; }
.d-clock { right: 5%; top: 90px; width: 230px; }
.d-machine { right: 6%; top: 712px; width: 250px; }
.d-machine:hover .win-bar { background: var(--ink); color: var(--yellow); }
.px-clock { font-family: var(--px); font-size: 30px; line-height: 1.1; }
.lights { display: flex; gap: 6px; margin-bottom: 10px; }
.lights i { width: 18px; height: 18px; background: var(--ink); border: 1px solid var(--ink); animation: blink 1.6s steps(1) infinite; }
.lights i:nth-child(2) { animation-delay: .4s; }
.lights i:nth-child(3) { animation-delay: .8s; }
.lights i:nth-child(4) { animation-delay: 1.2s; }
.lights i.human { background: var(--yellow); animation: none; margin-left: 10px; }
@keyframes blink { 50% { background: var(--win-field); } }
.d-machine .px { display: block; }

.log-body { padding: 10px 12px; background: var(--win-field); margin: 3px; }
.log { font-family: var(--px); font-size: 19px; line-height: 1.12; }
.log li { display: grid; grid-template-columns: 76px 96px 1fr; gap: 8px; }
.log time { color: var(--ink-soft); }
.log b { font-weight: 400; }
.log .log-wait > span { background: var(--yellow); justify-self: start; padding: 0 4px; }
.log .log-you b { background: var(--ink); color: var(--paper); justify-self: start; padding: 0 4px; }
.log.is-typing li { visibility: hidden; }
.log.is-typing li.shown { visibility: visible; }

/* ---------- Leak ---------- */
.leak, .days, .handles, .fit { position: relative; max-width: var(--max); margin: 0 auto; padding: var(--section) var(--gutter) 0; }
.leak .crop, .handles .crop, .fit .crop { text-align: center; }
.leak .display-l, .handles .display-l, .fit .display-l { margin: 0 auto; max-width: 14ch; }
.cols { display: grid; gap: 28px 0; margin-top: clamp(56px, 7vw, 96px); }
.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.col { border-left: 1px solid var(--ink); padding: 0 28px 4px 14px; }
.col .mono { margin-bottom: 40px; }
.leak 
/* ---------- Days ---------- */
.days { padding-bottom: var(--section); }
.crop-left { margin-inline: 0; padding-left: 0; padding-right: 40px; }
.foot { margin-top: 10px; }
.days-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 0; margin-top: clamp(48px, 6vw, 80px); border-left: 1px solid var(--ink); }
.dotpanel { position: relative; padding: 48px clamp(16px, 4vw, 56px) 56px; background-image: radial-gradient(var(--ink) .9px, transparent 1.1px); background-size: 5px 5px; background-color: color-mix(in srgb, var(--yellow) 88%, var(--ink)); }
.dotpanel .tag-ink { position: absolute; left: 0; top: 0; }
.term .win-body { background: var(--paper); margin: 3px; }
.term-body { font-family: var(--px); font-size: 21px; line-height: 1.15; padding: 14px 16px; }
.cmd { font-family: var(--px); }
.steps { margin: 12px 0 14px; display: grid; gap: 10px; }
.steps li { display: grid; grid-template-columns: 120px 1fr; gap: 12px; }
.steps b { font-weight: 400; background: var(--ink); color: var(--paper); justify-self: start; padding: 0 5px; height: max-content; }
.caret { display: inline-block; width: 10px; height: 18px; margin-left: 6px; background: var(--ink); vertical-align: -2px; animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.days-side { padding: 48px 0 0 clamp(20px, 3vw, 44px); display: flex; flex-direction: column; justify-content: flex-end; gap: 22px; border-left: 1px solid var(--ink); }

/* ---------- Handles ---------- */
.handles { padding-bottom: var(--section); }
.queue { max-width: 1040px; margin: clamp(48px, 6vw, 80px) auto 0; }
.queue-body { padding: 0; margin: 3px; background: var(--win-field); }
.queue-list li { display: grid; grid-template-columns: 22px minmax(0, 15em) minmax(0, 1fr) 96px; align-items: baseline; gap: 16px; padding: 16px 18px; border-bottom: 1px solid #CFCFCC; }
.queue-list b { font-family: var(--px); font-weight: 400; font-size: 23px; line-height: 1.1; }
.queue-list p { font-size: 1.06rem; line-height: 1.35; letter-spacing: -.01em; color: var(--ink); }
.q-box { align-self: center; width: 14px; height: 14px; border: 1px solid var(--ink); background: var(--yellow); box-shadow: inset 0 0 0 3px var(--win-field); }
.q-state { justify-self: end; font-family: var(--px); font-size: 19px; line-height: 1; padding: 3px 6px 2px; background: var(--ink); color: var(--yellow); transition: background-color .25s var(--ease), color .25s var(--ease); }
.queue-list li.is-team .q-box { background: transparent; }
.queue-list li.is-team .q-state { background: transparent; color: var(--ink-soft); outline: 1px dashed #9A9A96; }
.queue-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; padding: 16px 18px 18px; }
.queue-foot .px-tags { margin-top: 0; }

/* ---------- Machines ---------- */
.machines { padding: 0 var(--gutter) var(--section); }
.machines-head { max-width: var(--max); margin: 0 auto; padding-top: var(--section); display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 40px; align-items: end; }
.machines-head .display-l { max-width: 12ch; }
.machines-grid { max-width: var(--max); margin: clamp(56px, 7vw, 96px) auto 0; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); }
.machine-art { position: relative; display: block; border: 1px solid var(--ink); background: var(--ink); }
.machine-art img { width: 100%; height: auto; image-rendering: pixelated; }
.machine-art .tag-yellow { position: absolute; left: 0; bottom: 0; }
.machine-lead .display-m { margin-top: 24px; }
.machine-lead .body-l { margin: 14px 0 18px; max-width: 46ch; }
.machine-list { display: flex; flex-direction: column; gap: 36px; }
.machine-item { display: grid; grid-template-columns: 150px 1fr; gap: 18px; align-items: start; }
.machine-item img { width: 150px; height: auto; border: 1px solid var(--ink); image-rendering: pixelated; }
.machine-item .mono { margin-bottom: 6px; }
.machine-item p:last-child { margin-top: 8px; font-size: 16px; line-height: 1.35; max-width: 34ch; }

/* ---------- Fit ---------- */
.fit { padding-bottom: var(--section); }
.fit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: clamp(48px, 6vw, 80px); }
.px-list { display: grid; gap: 12px; font-family: var(--px); font-size: 24px; line-height: 1.15; }
.px-list li { display: grid; grid-template-columns: 22px 1fr; }
.px-list li::before { content: ""; width: 10px; height: 10px; margin-top: 6px; background: var(--ink); }
.px-list-x li { color: var(--ink-soft); }
.px-list-x li::before { background: transparent; border: 1px solid var(--ink-soft); }
.win-dim { background: #E9E9E7; box-shadow: inset 0 0 0 2px #E9E9E7, inset 0 0 0 3px var(--ink); }
.fit-grid .win-body { padding: 18px 16px; }

/* ---------- Book ---------- */
.book { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 80px); padding: var(--section) var(--gutter); max-width: none; }
.book > * { max-width: calc(var(--max) / 2); }
.book-head { justify-self: end; display: flex; flex-direction: column; gap: 24px; align-self: start; position: sticky; top: 80px; }
.lockup-book { width: clamp(150px, 16vw, 210px); margin-left: -6px; }
.book-head .body-l { max-width: 32ch; }
.book-win { width: 100%; }
.book-body { background: var(--paper); margin: 3px; padding: 0; min-height: 700px; position: relative; }
.book-body iframe { display: block; width: 100%; height: 700px; border: 0; }
.book-fallback { position: absolute; inset: 0; z-index: 1; display: grid; place-content: center; gap: 4px; text-align: center; padding: 24px; background: var(--paper); }
.book-body.is-loaded .book-fallback { display: none; }
.book-alt { font-family: var(--px); font-size: 19px; line-height: 1.1; padding: 5px 9px 6px; border-top: 1px solid var(--ink); margin: 0 3px 3px; }

/* ---------- FAQ ---------- */
.faq { padding: var(--section) var(--gutter); }
.crop-night { text-align: center; }
.faq .display-l { margin: 0 auto; }
.faq-list { max-width: 760px; margin: clamp(48px, 6vw, 80px) auto 0; display: grid; gap: 10px; }
.faq details { border-left: 1px dotted var(--night-soft); padding: 10px 0 10px 18px; }
.faq summary { display: flex; justify-content: space-between; gap: 24px; cursor: url("/assets/cursor-aubergine-link.svg") 1 1, pointer; list-style: none; font-family: var(--mono); font-size: 14px; line-height: 1.4; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 14px; height: 14px; border: 1px solid var(--night-soft); background: linear-gradient(var(--paper), var(--paper)) center / 7px 1px no-repeat, linear-gradient(var(--paper), var(--paper)) center / 1px 7px no-repeat; }
.faq details[open] summary::after { background: linear-gradient(var(--paper), var(--paper)) center / 7px 1px no-repeat; }
.faq summary:hover { color: var(--yellow); }
.faq details p { margin-top: 18px; font-size: clamp(1.1rem, 1.4vw, 1.3rem); line-height: 1.3; letter-spacing: -.01em; max-width: 44ch; }
.faq details a { color: var(--yellow); }

/* ---------- Footer ---------- */
.footer { padding: 0 var(--gutter) 22px; border-top: 1px solid var(--night-line); }
.footer-lockup { position: relative; display: grid; place-items: center; min-height: clamp(360px, 44vw, 560px); }
.footer-dither { position: absolute; inset: 0; width: 100%; height: 100%; image-rendering: pixelated; opacity: .9; }
.footer-word { position: relative; margin: 0; color: var(--paper); }
.lockup-footer { width: clamp(220px, 30vw, 420px); }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; font-size: 14px; color: var(--night-soft); }
.footer-row nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer-row a { color: var(--paper); text-decoration: none; }
.footer-row a:hover { color: var(--yellow); text-decoration: underline; }

/* ---------- Boot: first visit per session only ---------- */
.boot { display: none; }
html.booting .boot { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: var(--paper); animation: boot-failsafe .01s 3s forwards; }
html.booting body { overflow: hidden; }
.boot-win { width: 250px; }
.boot-bar { height: 16px; margin-top: 10px; border: 1px solid var(--ink); background: var(--win-field); padding: 2px; }
.boot-bar i { display: block; height: 100%; width: 0; background: var(--ink); }
html.boot-done .boot { opacity: 0; transition: opacity .2s ease-out; pointer-events: none; }
@keyframes boot-failsafe { to { opacity: 0; visibility: hidden; } }
html.motion .hero-windows .win { clip-path: inset(0 0 calc(100% - 26px) 0); animation: open-failsafe .01s 3.5s forwards; }
html.motion .hero-windows .win.is-open { clip-path: inset(0 0 0 0); transition: clip-path .5s var(--ease); }
@keyframes open-failsafe { to { clip-path: inset(0 0 0 0); } }

/* ---------- The headline tag ---------- */
.hover-tag { position: absolute; left: 0; top: 0; z-index: 5; display: inline-flex; align-items: center; gap: 6px; padding: 4px 8px 3px; background: var(--yellow); color: var(--ink); border: 1px solid var(--ink); font-family: var(--px); font-size: 20px; line-height: 1; text-decoration: none; white-space: nowrap; pointer-events: none; opacity: 0; transform: translate(-9999px, 0); transition: opacity .15s; }
.hover-tag svg { width: 7px; height: auto; fill: currentColor; shape-rendering: crispEdges; }
.hero.show-tag .hover-tag { opacity: 1; }
.hero.show-tag h1 { cursor: url("/assets/cursor-aubergine-link.svg") 1 1, pointer; }

/* ---------- Draggable desk windows ---------- */
@media (min-width: 901px) {
  .desk-win .win-bar { cursor: grab; touch-action: none; user-select: none; }
  .desk-win.is-dragging .win-bar { cursor: grabbing; }
  .desk-win.is-dragging .win-bar { background: var(--yellow); color: var(--ink); }
}

/* ---------- Approve: the one human tap ---------- */
.approve { font-family: var(--px); font-size: 19px; line-height: 1; padding: 2px 7px 1px; margin-left: 6px; background: var(--ink); color: var(--yellow); border: 1px solid var(--ink); cursor: url("/assets/cursor-aubergine-link.svg") 1 1, pointer; vertical-align: 1px; transition: background-color .15s var(--ease), color .15s var(--ease); }
.approve:hover { background: var(--paper); color: var(--ink); }
.approve:active { transform: translateY(1px); }
.approved { background: var(--ink); color: var(--yellow); padding: 0 4px; }
.log li.log-new { animation: log-in .4s var(--ease); }
@keyframes log-in { from { background: var(--yellow); } to { background: transparent; } }

/* ---------- The report race ---------- */
.race { position: relative; max-width: var(--max); margin: 0 auto; padding: var(--section) var(--gutter) 0; }
.race .crop { text-align: center; }
.race .display-l { max-width: 13ch; margin: 0 auto; }
.race-panel { margin-top: clamp(48px, 6vw, 80px); padding: 56px clamp(16px, 5vw, 72px) 48px; }
.race-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.race-win .term-body { background: var(--paper); margin: 3px; min-height: 300px; }
.race-team .term-body { background: #D2D2CF; }
.race-lines { margin-top: 10px; display: grid; gap: 4px; }
.race-lines li { display: grid; grid-template-columns: 18px 1fr; }
.race-lines li::before { content: ""; width: 9px; height: 9px; margin-top: 6px; background: var(--ink); }
.race-team .race-lines li::before { background: transparent; border: 1px solid var(--ink); }
.race-panel.is-running .race-lines li { visibility: hidden; }
.race-panel.is-running .race-lines li.shown { visibility: visible; }
.race-foot { font-family: var(--px); font-size: 20px; line-height: 1; padding: 6px 9px 5px; margin: 0 3px 3px; border-top: 1px solid var(--ink); }
.race-foot-done { background: var(--yellow); }
.race-panel.is-running .race-foot-done:not(.shown) { background: transparent; }
.race-note { text-align: center; margin-top: 14px; }
.steps.is-typing li { visibility: hidden; }
.steps.is-typing li.shown { visibility: visible; }

/* ---------- A machine opened in a window ---------- */
.sandbox-win { position: fixed; inset: 0; width: min(1180px, 94vw); height: min(820px, 88vh); padding: 0; margin: auto; display: none; flex-direction: column; overflow: hidden; }
.sandbox-win[open] { display: flex; animation: win-in .45s var(--ease); }
.sandbox-win::backdrop { background-color: rgba(30, 30, 30, .35); background-image: radial-gradient(rgba(30, 30, 30, .5) .9px, transparent 1.1px); background-size: 5px 5px; }
.sandbox-win iframe { flex: 1; width: auto; margin: 3px; border: 0; background: var(--paper); }
.sandbox-actions { display: flex; gap: 14px; opacity: 1 !important; }
.sandbox-actions a, .sandbox-actions button { color: var(--paper); font: inherit; background: none; border: 0; padding: 0; cursor: url("/assets/cursor-aubergine-link.svg") 1 1, pointer; text-decoration: underline; text-underline-offset: 3px; }
.sandbox-actions a:hover, .sandbox-actions button:hover { color: var(--yellow); }
@keyframes win-in { from { opacity: 0; transform: scale(.96); filter: blur(8px); } to { opacity: 1; transform: none; filter: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .d-sheets { left: 3%; }
  .d-zaps { left: 14%; }
  .d-chat { left: 32%; }
  .d-agents { left: 22%; }
  .d-log { left: 12%; }
  .d-clock { right: 3%; }
  .d-machine { right: 3%; top: 730px; }
}

@media (max-width: 900px) {
  .hide-s { display: none; }
  .show-s { display: inline; }
  .brand-name { display: none; }
  .nav-mid { position: static; transform: none; }
  .chip { font-size: 17px; height: 34px; }

  .desk { height: auto; padding: 88px var(--gutter) 72px; display: grid; gap: 14px; }
  .desk-tag { top: 32px; }
  .desk-win { position: relative; left: auto; right: auto; top: auto; width: auto; }
  .d-sheets, .d-zaps, .d-chat { width: 78%; }
  .d-zaps { margin-left: 11%; margin-top: -36px; }
  .d-chat { margin-left: 22%; margin-top: -36px; }
  .d-agents { margin-top: -20px; }
  .d-clock, .d-machine { width: 100%; }
  .log { display: grid; gap: 6px; }
  .log li { grid-template-columns: 76px 1fr; gap: 0 6px; }
  .log li > span { grid-column: 1 / -1; padding-left: 82px; }
  .log .log-wait { margin-top: -6px; }
  .log .log-wait time, .log .log-wait b { display: none; }
  .log .log-wait > span { justify-self: start; margin-left: 82px; padding-left: 4px; }

  .cols-3 { grid-template-columns: 1fr; }
  .col .mono { margin-bottom: 14px; }
  .leak 
  .days-grid { grid-template-columns: 1fr; border-left: 0; }
  .days-side { border-left: 0; padding: 32px 0 0; }
  .dotpanel { margin: 0 calc(var(--gutter) * -1); padding: 44px 12px 32px; }
  .steps li { grid-template-columns: 1fr; gap: 4px; }

  .machines-head, .machines-grid { grid-template-columns: 1fr; }
  .machine-item { grid-template-columns: 110px 1fr; }
  .machine-item img { width: 110px; }

  .fit-grid { grid-template-columns: 1fr; }
  .race-grid { grid-template-columns: 1fr; }
  .race-panel { margin-inline: calc(var(--gutter) * -1); padding: 44px 12px 24px; }
  .race-win .term-body { min-height: 0; }
  .queue-list li { grid-template-columns: 22px minmax(0, 1fr) auto; gap: 6px 12px; padding: 14px; }
  .queue-list .q-box { grid-row: 1; grid-column: 1; }
  .queue-list b { grid-row: 1; grid-column: 2; }
  .queue-list .q-state { grid-row: 1; grid-column: 3; align-self: start; }
  .queue-list p { grid-row: 2; grid-column: 2 / -1; }
  .queue-foot { padding: 14px; }

  .book { grid-template-columns: minmax(0, 1fr); }
  .book > * { max-width: none; }
  .book-head { position: static; justify-self: stretch; }
  .book-win { margin: 0 calc(var(--gutter) * -1 + 4px); width: auto; }

    .crop::before { left: -6px; }
  .crop::after { right: -6px; }
}

@media (max-width: 520px) {
  body { font-size: 16px; }
  .hero { padding-top: 76px; }
  .hero h1 { margin-top: 64px; }
  .hero-cta { flex-direction: column; align-items: center; gap: 14px; }
  .px-big { font-size: 38px; }
  .agents-art { width: 72px; height: 72px; }
  .px-list { font-size: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
