/* Handover's website. Colours from the app (dmx-merge web/launch.html): dark, red = live, green = next.
   Design: Apple's approach translated for the web (the apple-design skill): system type with size-specific
   tracking and leading, translucent chrome, instant press feedback, springs for anything you can touch,
   reduced motion / transparency / more contrast honoured. Spacing in rem so larger text scales the layout. */
:root {
  --base: #0b0c0e; --panel: #151619; --panel-2: #1b1c20; --raised: #232428; --well: #0d0e10;
  --line: rgba(255,255,255,.09); --line-soft: rgba(255,255,255,.055); --line-hi: rgba(255,255,255,.2);
  --text: #f2f2f4; --dim: #9a9ca3; --faint: #6c6e75; --cur: #f25c61; --tgt: #35cfa0; --warn: #f2b85c;
  --font: -apple-system, BlinkMacSystemFont, system-ui, "Segoe UI Variable Text", "Segoe UI", "Inter", sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --r-card: 1.5rem; --r-ctl: .75rem; --w: 68rem; --w-text: 44rem;
  --press: transform 100ms ease-out;
  --glass: rgba(16,17,20,.72);
  color-scheme: dark;
}
* { box-sizing: border-box; }
/* scrollbars: Handover's own (thin and dark), as in the app; Firefox takes the standard properties */
::-webkit-scrollbar { width: 10px; height: 10px; background: transparent; }
::-webkit-scrollbar-track, ::-webkit-scrollbar-corner { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,.14); border-radius: 5px; border: 2px solid transparent; background-clip: padding-box; min-height: 32px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,.26); background-clip: padding-box; border: 2px solid transparent; }
::-webkit-scrollbar-button { display: none; width: 0; height: 0; }
@supports not selector(::-webkit-scrollbar) { * { scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.18) transparent; } }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 4.5rem; }
html, body { margin: 0; }
body { background: var(--base); color: var(--text); font: 100%/1.5 var(--font); font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased; min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }
a { color: inherit; text-decoration-color: rgba(255,255,255,.3); text-underline-offset: .2em; }
a:hover { text-decoration-color: currentColor; }
h1, h2, h3, h4 { margin: 0; font-weight: 650; text-wrap: balance; }   /* no word left alone on a line ("pass." at 390 px) */
p { margin: 0; }
img { max-width: 100%; display: block; height: auto; }
code, kbd { font-family: var(--mono); font-size: .88em; background: var(--raised); border-radius: .375rem; padding: .05em .4em; }
:focus-visible { outline: 2px solid var(--tgt); outline-offset: 3px; border-radius: .25rem; }
.wrap { width: 100%; max-width: var(--w); margin: 0 auto; padding-inline: 1.375rem; }
.dim { color: var(--dim); }
.small { font-size: .875rem; letter-spacing: 0; }

/* ---- type scale: tracking tightens and leading closes as size grows ---- */
.display { font-size: clamp(2.6rem, 7.2vw, 5.25rem); line-height: 1.04; letter-spacing: -.035em; font-weight: 700; }
.headline, .h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); line-height: 1.07; letter-spacing: -.028em; font-weight: 700; }
.title { font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.15; letter-spacing: -.02em; font-weight: 650; text-wrap: balance; }
.sub { font-size: clamp(1.125rem, 1.8vw, 1.375rem); line-height: 1.42; letter-spacing: -.012em; color: var(--dim); font-weight: 450; }
.lead { font-size: 1.1875rem; line-height: 1.47; letter-spacing: -.01em; color: var(--dim); max-width: var(--w-text); }
.eyebrow { color: var(--tgt); font-size: .9375rem; font-weight: 600; letter-spacing: -.005em; }
.eyebrow.red { color: var(--cur); }

/* ---- global nav: a translucent layer, content scrolls under it ---- */
.top { position: sticky; top: 0; z-index: 20; background: var(--glass);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); }
.top::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--line);
  opacity: 0; transition: opacity 200ms ease; }           /* scroll edge: only once content is under it */
.top.scrolled::after { opacity: 1; }
.top .wrap { display: flex; align-items: center; gap: 1.5rem; height: 3.25rem; }
/* the logo: mark + "handover" wordmark (dmx-merge docs/brand): Helvetica Neue 500, tight tracking,
   the mark 1.25× the type, a 0.25em gap, nudged down to centre on the x-height */
.brand { display: inline-grid; grid-template-columns: auto auto; align-items: center; column-gap: .25em; text-decoration: none; color: #ededee;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-weight: 500; font-size: 1.3rem; letter-spacing: -.045em; line-height: 1; }
.brand .mark { width: 1.25em; height: 1.25em; flex: none; transform: translateY(.08em); }
.brand .wordmark { padding-right: .05em; }
/* "by Persistence Labs": a quiet line under the wordmark (as on the app's launch screen and About), in the page's own type */
.brand .byline { grid-column: 2; margin-top: .2rem; font: 400 .625rem/1 var(--font); letter-spacing: 0; color: var(--dim); white-space: nowrap; }
.nav { display: flex; gap: 1.6rem; margin-left: auto; align-items: center; font-size: .875rem; letter-spacing: 0; }
.nav a { text-decoration: none; color: var(--dim); transition: color 150ms ease; }
.nav a:hover, .nav a[aria-current] { color: var(--text); }
.nav a.btn, .nav a.btn[aria-current] { color: #0b0c0e; padding: .3rem .85rem; font-size: .8125rem; }
.menu { display: none; margin-left: auto; width: 2.5rem; height: 2.5rem; padding: 0; border: 0; background: none; color: var(--text);
  border-radius: .625rem; position: relative; cursor: pointer; }
.menu i { position: absolute; left: .75rem; right: .75rem; height: 1.5px; background: currentColor; border-radius: 1px;
  transition: transform 260ms cubic-bezier(.2,.8,.2,1); }
.menu i:first-child { transform: translateY(-3.5px); } .menu i:last-child { transform: translateY(3.5px); }
.menu[aria-expanded=true] i:first-child { transform: rotate(45deg); }
.menu[aria-expanded=true] i:last-child { transform: rotate(-45deg); }

/* ---- buttons: pill shapes, feedback on press (not on release) ---- */
.btn, button { font: inherit; font-size: 1rem; letter-spacing: -.01em; border-radius: 980px; padding: .66rem 1.3rem; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: .4em; border: 1px solid var(--line);
  background: var(--raised); color: var(--text); text-decoration: none; line-height: 1.3; font-weight: 500;
  transition: var(--press), background-color 150ms ease, border-color 150ms ease; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.btn:hover, button:hover { border-color: var(--line-hi); }
.btn:active, button:active { transform: scale(.97); }
.btn.primary, button.primary { background: #f5f5f7; color: #0b0c0e; border-color: transparent; font-weight: 600; }
.btn.primary:hover, button.primary:hover { background: #fff; }
.btn.go, button.go { background: var(--tgt); color: #06231a; border-color: transparent; font-weight: 700; }
.btn.small, button.small { padding: .38rem .85rem; font-size: .875rem; }
.more { color: var(--tgt); text-decoration: none; font-size: 1.0625rem; font-weight: 500; letter-spacing: -.01em; display: inline-flex; gap: .3em; align-items: center; }
.more::after { content: "›"; font-size: 1.25em; line-height: 1; transition: transform 150ms ease; }
.more:hover::after { transform: translateX(3px); }
.danger { color: var(--cur); }
button:disabled, .btn[aria-disabled=true] { opacity: .4; cursor: default; pointer-events: none; }
.btns { display: flex; gap: .75rem 1.25rem; flex-wrap: wrap; align-items: center; }
.center .btns { justify-content: center; }

/* ---- forms ---- */
input[type=email], input[type=password], input[type=text], input[type=number], textarea, select {
  width: 100%; background: var(--well); border: 1px solid var(--line); border-radius: var(--r-ctl); padding: .72rem .9rem;
  color: var(--text); font: inherit; font-size: 1rem; transition: border-color 150ms ease, box-shadow 150ms ease; }
input:focus, textarea:focus, select:focus { outline: none; border-color: rgba(53,207,160,.6); box-shadow: 0 0 0 4px rgba(53,207,160,.14); }
input[type=number] { width: 5.5rem; }
label.field { display: grid; gap: .4rem; font-size: .875rem; color: var(--dim); }
form.stack { display: grid; gap: .75rem; }
.stepper { display: inline-flex; align-items: center; gap: .15rem; background: var(--well); border: 1px solid var(--line); border-radius: 980px; padding: .2rem; }
.stepper button { width: 2.1rem; height: 2.1rem; padding: 0; border: 0; background: var(--raised); font-size: 1.15rem; font-weight: 500; }
.stepper input[type=number] { width: 3rem; text-align: center; font-variant-numeric: tabular-nums; font-weight: 600;
  background: none; border: 0; padding: 0; box-shadow: none; -moz-appearance: textfield; appearance: textfield; }
.stepper input::-webkit-inner-spin-button, .stepper input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }

/* ---- surfaces ---- */
.card { background: var(--panel); border: 1px solid var(--line-soft); border-radius: var(--r-card); padding: 1.75rem; }
.tag { font-size: .75rem; font-weight: 600; color: var(--tgt); border: 1px solid rgba(53,207,160,.35); border-radius: 980px; padding: .1rem .55rem; white-space: nowrap; letter-spacing: 0; }
.tag.warn { color: var(--warn); border-color: rgba(242,184,92,.35); }
.tag.red { color: var(--cur); border-color: rgba(242,92,97,.35); }
.note { background: var(--panel); border-radius: var(--r-ctl); padding: 1rem 1.25rem; border: 1px solid rgba(242,184,92,.25); }
.err { color: var(--cur); font-size: .9375rem; }
.ok { color: var(--tgt); font-weight: 600; }
.placeholder { border: 1px dashed rgba(242,184,92,.5); border-radius: var(--r-ctl); padding: 1rem 1.25rem; color: var(--warn); background: rgba(242,184,92,.04); }
.placeholder ul { margin: .5rem 0; }

/* ---- page structure ---- */
.pagehead { padding-block: clamp(3rem, 7vw, 5rem) 1.5rem; display: grid; gap: .75rem; }
.pagehead h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); line-height: 1.06; letter-spacing: -.03em; font-weight: 700; }
.pagehead p { color: var(--dim); max-width: var(--w-text); font-size: 1.1875rem; line-height: 1.47; letter-spacing: -.01em; }
.pagehead.center { text-align: center; justify-items: center; }
.app-icon { width: 8rem; height: 8rem; filter: drop-shadow(0 18px 40px rgba(0,0,0,.55)); }
.section { padding-block: 1.75rem; }
.band { padding-block: clamp(4.5rem, 11vw, 8.5rem); }
.band + .band { border-top: 1px solid var(--line-soft); }
.center { text-align: center; }
.center .lead, .center .sub { margin-inline: auto; }
.stack-lg { display: grid; gap: 1.25rem; }

/* ---- home ---- */
.hero { padding-block: clamp(4rem, 10vw, 7.5rem) 2rem; display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.4rem; justify-items: center; text-align: center; position: relative; }
.hero::before { content: ""; position: absolute; inset: -6rem 0 auto; height: 38rem; z-index: -1; pointer-events: none;
  background: radial-gradient(40rem 22rem at 35% 30%, rgba(242,92,97,.13), transparent 70%),
              radial-gradient(40rem 22rem at 65% 30%, rgba(53,207,160,.13), transparent 70%); }
.hero h1 { max-width: 15ch; }
.hero h1 .next { color: var(--tgt); }
.hero .sub { max-width: 40rem; }
.chip { display: inline-flex; gap: .5rem; align-items: center; font-size: .8125rem; font-weight: 500; color: var(--dim);
  border: 1px solid var(--line); border-radius: 980px; padding: .3rem .8rem; background: rgba(255,255,255,.03); }
.chip i { width: .45rem; height: .45rem; border-radius: 50%; background: var(--tgt); box-shadow: 0 0 0 3px rgba(53,207,160,.18); }
.window { border-radius: 1.1rem; border: 1px solid var(--line); background: var(--panel); overflow: hidden;
  box-shadow: 0 40px 120px -30px rgba(0,0,0,.8), 0 0 0 1px rgba(0,0,0,.4); }
.window .bar { height: 2.1rem; display: flex; align-items: center; gap: .45rem; padding-inline: .9rem; border-bottom: 1px solid var(--line-soft); background: #121316; }
.window .bar i { width: .7rem; height: .7rem; border-radius: 50%; background: #3a3b40; }
.window .bar span { margin-left: auto; margin-right: auto; font-size: .75rem; color: var(--faint); transform: translateX(-1.2rem); }
.window figcaption { color: var(--dim); font-size: .875rem; padding: .8rem 1rem; border-top: 1px solid var(--line-soft); }
.flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: .75rem; align-items: center; max-width: 54rem; margin: 2.5rem auto 0; text-align: left; }
.flow .box { border: 1px solid var(--line-soft); border-radius: 1rem; padding: .9rem 1rem; display: grid; gap: .2rem; background: rgba(255,255,255,.02); }
.flow .box b { font-size: .9375rem; } .flow .box span { color: var(--dim); font-size: .8125rem; line-height: 1.4; }
.flow .box.seg { border-color: rgba(53,207,160,.4); background: rgba(53,207,160,.05); }
.flow .arrow { color: var(--faint); }

/* coming soon (SITE_MODE=soon): the logo, "Coming soon" and the versions, nothing else */
.soon { min-height: calc(100vh - 6rem); min-height: calc(100dvh - 6rem); display: grid; grid-template-columns: minmax(0, 1fr);
  align-content: center; justify-items: center; text-align: center; padding-block: 3rem 4rem; position: relative; }
.soon::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(36rem 20rem at 40% 40%, rgba(242,92,97,.12), transparent 70%),
              radial-gradient(36rem 20rem at 60% 40%, rgba(53,207,160,.12), transparent 70%); }
.soon-logo { display: grid; justify-items: center; font-weight: 400; animation: mark-in 1.2s cubic-bezier(.2,.8,.2,1) both; }
.soon-logo img { width: clamp(6rem, 16vw, 8.5rem); height: auto; }
/* the wordmark as in the header (.brand): Helvetica Neue 500, tight tracking */
.soon-wordmark { margin-top: 1.25rem; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-weight: 500;
  font-size: clamp(3rem, 10vw, 5.5rem); letter-spacing: -.045em; line-height: 1; color: #ededee; padding-right: .05em; }
.soon-byline { margin-top: .9rem; font-size: clamp(.875rem, 1.6vw, 1rem); letter-spacing: 0; color: var(--dim); }
@keyframes mark-in { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }
.soon .chip { margin-top: 3rem; font-size: .875rem; padding: .35rem .9rem; }
.soon-versions { list-style: none; margin: 1.25rem 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 1.5rem;
  font-size: clamp(1rem, 1.8vw, 1.125rem); letter-spacing: -.01em; }
.soon-versions li + li::before { content: "·"; color: var(--faint); margin-right: 1.5rem; }
@media (max-width: 30rem) { .soon-versions { flex-direction: column; gap: .35rem; } .soon-versions li + li::before { content: none; } }

/* feature bands with a live demo */
.feature-band { display: grid; gap: 2.75rem; }
.feature-band header { display: grid; gap: .9rem; justify-items: center; text-align: center; }
.feature-band header .lead { text-align: center; }
.demo { background: var(--panel); border: 1px solid var(--line-soft); border-radius: 1.75rem; padding: clamp(1rem, 3vw, 2rem); display: grid; gap: 1.25rem; }
.demo-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.demo .hint { color: var(--faint); font-size: .8125rem; text-align: center; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.ticks li { position: relative; padding-left: 1.6rem; color: var(--dim); font-size: 1rem; line-height: 1.47; letter-spacing: -.008em; }
.ticks li b { color: var(--text); font-weight: 600; }
.ticks li::before { content: ""; position: absolute; left: .1rem; top: .5em; width: .55rem; height: .3rem;
  border: solid var(--tgt); border-width: 0 0 2px 2px; transform: rotate(-45deg); }
.ticks.cols { grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 1.25rem 2rem; }

/* curve demo */
.curve { width: 100%; aspect-ratio: 1; max-width: 26rem; margin: 0 auto; touch-action: none; user-select: none; -webkit-user-select: none; cursor: crosshair; display: block; }
.curve .pt { cursor: grab; outline: none; }
.curve .pt:active { cursor: grabbing; }
.curve .pt .ring { fill: var(--panel); stroke: var(--tgt); stroke-width: 2.5; }
.curve .pt.on .ring, .curve .pt:focus-visible .ring { fill: var(--tgt); }
.readout { font-variant-numeric: tabular-nums; color: var(--dim); font-size: .9375rem; text-align: center; min-height: 1.5em; }
.readout b { color: var(--text); font-weight: 600; }
.presets { justify-content: center; }
.presets button[aria-pressed=true] { border-color: var(--tgt); color: var(--tgt); }

/* rig demo */
.rig { width: 100%; display: block; border-radius: 1.1rem; background: radial-gradient(120% 90% at 50% 0%, #17181c, #08090a 70%); }
.rig .beam, .rig .pool { mix-blend-mode: screen; }
.controls { display: grid; gap: .9rem; }
.controls .row { display: grid; grid-template-columns: 6rem 1fr; gap: .9rem; align-items: center; }
.controls .row > span { color: var(--dim); font-size: .9375rem; }
.seg-ctl { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; background: var(--well); border: 1px solid var(--line-soft);
  border-radius: .7rem; padding: .2rem; gap: .15rem; }
.seg-ctl label { position: relative; text-align: center; font-size: .8125rem; font-weight: 500; padding: .45rem .4rem; border-radius: .55rem;
  cursor: pointer; color: var(--dim); transition: color 150ms ease, background-color 150ms ease, transform 100ms ease-out; white-space: nowrap; }
.seg-ctl label:active { transform: scale(.96); }
.seg-ctl input { position: absolute; opacity: 0; pointer-events: none; }
.seg-ctl label:has(input:checked) { color: var(--text); background: var(--raised); box-shadow: 0 1px 2px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.05); }
.seg-ctl label:has(input:focus-visible) { outline: 2px solid var(--tgt); outline-offset: 1px; }
.swatch { display: inline-block; width: .55rem; height: .55rem; border-radius: 50%; margin-right: .35rem; vertical-align: .05em; }
.livebar { display: flex; gap: .75rem; align-items: center; flex-wrap: wrap; justify-content: center; }
.livebar .src { display: inline-flex; gap: .45rem; align-items: center; font-size: .9375rem; font-weight: 600; padding: .4rem .85rem;
  border-radius: 980px; border: 1.5px solid var(--line); transition: border-color 200ms ease; }
.livebar .src small { font-size: .6875rem; font-weight: 700; letter-spacing: .02em; color: var(--faint); }
.livebar .src.live { border-color: var(--cur); } .livebar .src.live small { color: var(--cur); }
.livebar .src.next { border-color: var(--tgt); } .livebar .src.next small { color: var(--tgt); }
.fader { width: 100%; accent-color: var(--tgt); height: 1.5rem; cursor: ew-resize; }
.faderrow { display: grid; grid-template-columns: auto 1fr auto; gap: .9rem; align-items: center; font-size: .8125rem; color: var(--dim); }
.locks { display: flex; gap: .6rem; flex-wrap: wrap; justify-content: center; align-items: center; }
.locks > span { color: var(--dim); font-size: .875rem; margin-right: .25rem; }
.lock { display: inline-flex; align-items: center; gap: .45rem; font-size: .875rem; font-weight: 500; padding: .45rem .85rem;
  border-radius: 980px; border: 1px solid var(--line); background: var(--well); color: var(--dim); }
.lock svg { width: .85rem; height: .85rem; }
.lock[aria-pressed=true] { color: var(--warn); border-color: rgba(242,184,92,.45); background: rgba(242,184,92,.08); }
.status { text-align: center; color: var(--dim); font-size: .875rem; min-height: 1.4em; }

/* failsafe */
.eyebrow .tag { margin-left: .35rem; vertical-align: .1em; }
.fs { display: grid; grid-template-columns: 1fr 3rem 1fr 3rem 1fr; align-items: center; gap: 0; max-width: 54rem; margin: .5rem auto; width: 100%; }
.fs-node { border: 1.5px solid var(--line); border-radius: 1rem; padding: 1rem; display: grid; gap: .25rem; text-align: center; background: var(--well);
  transition: opacity 300ms ease, border-color 300ms ease, transform 300ms cubic-bezier(.2,.8,.2,1); }
.fs-node b { font-size: 1.0625rem; letter-spacing: -.012em; }
.fs-note { color: var(--dim); font-size: .8125rem; line-height: 1.4; }
.fs-safe { border-color: rgba(53,207,160,.45); }
.fs-rig { border-color: rgba(242,92,97,.45); }
.fs-link { height: 2px; background: var(--line-hi); position: relative; overflow: hidden; transition: opacity 300ms ease; }
.fs-link::after { content: ""; position: absolute; inset: 0; width: 40%; background: linear-gradient(90deg, transparent, var(--tgt), transparent);
  animation: flow 1.4s linear infinite; }
@keyframes flow { from { transform: translateX(-100%); } to { transform: translateX(250%); } }
.fs[data-state=gone] .fs-app { opacity: .35; border-style: dashed; transform: scale(.97); }
.fs[data-state=gone] .fs-link:not(.live) { opacity: .15; }
.fs[data-state=gone] .fs-link:not(.live)::after { animation: none; }
.fs[data-state=gone] .fs-safe { border-color: var(--warn); box-shadow: 0 0 0 4px rgba(242,184,92,.12); }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 1rem; }
.stats div { background: var(--panel); border: 1px solid var(--line-soft); border-radius: 1.25rem; padding: 1.4rem; display: grid; gap: .35rem; }
.stats b { font-size: 2.25rem; letter-spacing: -.035em; line-height: 1; font-weight: 700; }
.stats span { color: var(--dim); font-size: .9375rem; line-height: 1.45; }

/* position calibration: three steps */
.howto { list-style: none; counter-reset: h; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 1rem; }
.howto li { counter-increment: h; background: var(--panel); border: 1px solid var(--line-soft); border-radius: 1.25rem; padding: 1.4rem; display: grid; gap: .4rem; align-content: start; }
.howto li::before { content: counter(h); width: 1.9rem; height: 1.9rem; border-radius: 50%; background: rgba(53,207,160,.12); color: var(--tgt);
  display: grid; place-items: center; font-weight: 700; font-size: .9375rem; margin-bottom: .3rem; }
.howto b { font-size: 1.125rem; letter-spacing: -.014em; }
.howto span { color: var(--dim); font-size: .9375rem; line-height: 1.47; }
.locks .tag { margin-right: .25rem; }

/* recordings and emergency */
.rigwrap { position: relative; border-radius: 1.1rem; overflow: hidden; }
.rigwrap.em { box-shadow: inset 0 0 0 4px #c62828; }
/* the festival site in the emergency demo: dark in the show, lit by the floods in the emergency (a cut, like the rig) */
.rig .site-ground { fill: #0b0c0e; }
.rig .site-deck { fill: #1c1d21; }
.rig .crowd { fill: #050506; }
.rig .tower { fill: #2a2b30; }
.rig .flood-head { fill: #3a3b40; }
.rig .flood, .rig .site-wash { opacity: 0; mix-blend-mode: screen; }
.rigwrap.em .rig .flood, .rigwrap.em .rig .site-wash { opacity: 1; }
.rigwrap.em .rig .site-ground { fill: #3b3a35; }
.rigwrap.em .rig .crowd { fill: #6e6d68; }
.rigwrap.em .rig .flood-head { fill: #fff8e8; }
.rigwrap.em .rig { outline: 4px solid #c62828; outline-offset: -4px; }
.em-banner { position: absolute; left: 0; right: 0; top: 0; background: #c62828; color: #fff; font-weight: 700; font-size: .875rem;
  letter-spacing: .01em; text-align: center; padding: .55rem .75rem; }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; max-width: 36rem; margin: 0 auto; width: 100%; }
.tile { position: relative; border: 1.5px solid var(--line); border-radius: 1rem; padding: .8rem .9rem .9rem; display: grid; gap: .15rem;
  background: var(--well); transition: border-color 200ms ease, opacity 200ms ease; overflow: hidden; }
.tile::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--look, #222); transition: background-color 300ms ease; }
.tile b { font-size: .9375rem; }
.tile-sub { color: var(--dim); font-size: .8125rem; }
.tile-tag { position: absolute; right: .7rem; top: .7rem; font-size: .6875rem; font-weight: 700; letter-spacing: .02em; }
.tile.live { border-color: var(--cur); } .tile.live .tile-tag { color: var(--cur); }
.tile.next { border-color: var(--tgt); } .tile.next .tile-tag { color: var(--tgt); }
.tile.empty { opacity: .55; }
.tile.loading .tile-sub { color: var(--warn); }
.tile-bar { height: 3px; border-radius: 2px; background: transparent; overflow: hidden; margin-top: .35rem; }
.tile.loading .tile-bar { background: var(--raised); }
.tile-bar i { display: block; height: 100%; width: 0; background: var(--warn); }
.flowsteps { list-style: none; counter-reset: f; margin: 0 auto; padding: 0; display: flex; gap: .4rem 1.25rem; flex-wrap: wrap; justify-content: center;
  font-size: .8125rem; color: var(--faint); }
.flowsteps li { counter-increment: f; display: inline-flex; gap: .45rem; align-items: center; }
.flowsteps li::before { content: counter(f); width: 1.35rem; height: 1.35rem; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center;
  font-size: .6875rem; font-weight: 600; }
.flowsteps li.now { color: var(--text); } .flowsteps li.now::before { border-color: var(--tgt); color: var(--tgt); }
.flowsteps li.done { color: var(--dim); } .flowsteps li.done::before { content: "✓"; background: var(--tgt); color: #06231a; border-color: var(--tgt); }
.em-hold { position: relative; overflow: hidden; background: #2c1314; color: #ff9da0; border-color: rgba(242,92,97,.4); font-weight: 600; }
.em-hold i { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--cur); }
.em-hold.down { transform: scale(.97); }
.em-endask { color: #ff9da0; border-color: rgba(242,92,97,.4); }
.triggers { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: .75rem; }
.trigger { background: var(--well); border: 1px solid var(--line-soft); border-radius: 1rem; padding: 1rem; display: grid; gap: .55rem; align-content: start; }
.trigger > b { font-size: 1rem; }
.trigger > button { justify-self: start; }
.trigger code { font-size: .75rem; background: none; padding: 0; color: var(--dim); }
.switch { display: flex; align-items: center; gap: .6rem; cursor: pointer; }
.switch input { position: absolute; opacity: 0; pointer-events: none; }
.switch span { width: 2.4rem; height: 1.4rem; border-radius: 1rem; background: var(--raised); border: 1px solid var(--line); position: relative; flex: none;
  transition: background-color 200ms ease; }
.switch span::after { content: ""; position: absolute; top: 2px; left: 2px; width: calc(1.4rem - 6px); height: calc(1.4rem - 6px); border-radius: 50%;
  background: #f5f5f7; transition: transform 250ms cubic-bezier(.2,.8,.2,1); }
.switch input:checked + span { background: var(--cur); border-color: var(--cur); }
.switch input:checked + span::after { transform: translateX(1rem); }
.switch input:focus-visible + span { outline: 2px solid var(--tgt); outline-offset: 2px; }
.dmxrow { display: grid; grid-template-columns: 1fr 2.4rem; gap: .2rem .6rem; align-items: center; font-size: .8125rem; color: var(--dim); }
.dmxrow > span { grid-column: 1 / -1; }
.dmxrow input { accent-color: var(--cur); width: 100%; }
.dmxrow output { font-family: var(--mono); font-variant-numeric: tabular-nums; color: var(--text); text-align: right; }
.alarm { color: #ff9da0; border-color: rgba(242,92,97,.4); }
.emlog { min-height: 6rem; }
.tcrow { display: grid; grid-template-columns: 5rem 1fr; gap: .5rem; align-items: center; font-size: .8125rem; color: var(--dim); }
.tcrow input { font-family: var(--mono); font-size: .875rem; padding: .4rem .6rem; }
.tcrow input.bad { border-color: var(--cur); }
.tcclock { font-family: var(--mono); font-size: 1.5rem; font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: .02em; color: var(--text); }
.trigger .tag { margin-left: .3rem; vertical-align: .1em; }

.meter-snd { position: relative; height: .55rem; border-radius: 4px; background: var(--raised); overflow: hidden; }
.meter-snd .lvl { position: absolute; left: 0; top: 0; bottom: 0; width: 20%; background: var(--tgt); transition: width 80ms linear; }
.meter-snd .lvl.over { background: var(--cur); }
.meter-snd .thr { position: absolute; top: -2px; bottom: -2px; width: 2px; background: var(--warn); }

/* performance: the frame-time history */
.perf { background: var(--panel); border: 1px solid var(--line); border-radius: 1.25rem; padding: 1.1rem 1.1rem .9rem; display: grid; gap: .6rem; text-align: left; }
.perf-head { display: flex; gap: .4rem 1rem; align-items: baseline; flex-wrap: wrap; }
.perf-now { margin-left: auto; color: var(--dim); font-size: .875rem; font-variant-numeric: tabular-nums; }
.perf-now b { color: var(--tgt); }
.perf-chart { width: 100%; height: auto; display: block; }

/* fixture locks and the pixel (coming) */
.setcard { display: flex; gap: .75rem 1.25rem; align-items: center; justify-content: space-between; flex-wrap: wrap; background: var(--well);
  border: 1px solid var(--line-soft); border-radius: 1rem; padding: .8rem 1rem; }
.setcard > div:first-child { display: grid; gap: .1rem; }
.setcard .seg-ctl { min-width: min(100%, 24rem); }
.pixel-demo { gap: 1rem; }
.pixel-head { display: grid; gap: .25rem; }
.pixel-head .tag { margin-left: .35rem; vertical-align: .1em; }
.pixel-row { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; justify-content: center; }
.pixel-src { display: grid; justify-items: center; gap: .4rem; }
.px { width: 2.2rem; height: 2.2rem; border-radius: .4rem; box-shadow: 0 0 24px -2px currentColor; border: 1px solid rgba(255,255,255,.2); }
.pixel-out { display: flex; gap: .55rem; flex-wrap: wrap; }
.pixel-out i { width: 1.6rem; height: 1.6rem; border-radius: 50%; background: var(--px); box-shadow: 0 0 18px 2px var(--px); transition: background-color 120ms linear, box-shadow 120ms linear; }
.em-confirm { display: flex; gap: .6rem; align-items: center; justify-content: center; flex-wrap: wrap; color: var(--text); font-size: .9375rem; }

/* automation: the tab with example triggers */
.tab { background: var(--panel); border: 1px solid var(--line); border-radius: 1.25rem; overflow: hidden; }
.tab-bar { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; padding: .9rem 1.1rem; border-bottom: 1px solid var(--line-soft); }
.tab-bar .tc { margin-left: auto; font-family: var(--mono); font-variant-numeric: tabular-nums; font-size: .875rem; color: var(--dim); }
.tab-bar .tc i { font-style: normal; color: var(--text); }
.arule { display: grid; grid-template-columns: 2.4rem minmax(0, 1fr) minmax(0, 1.2fr) auto; gap: 1rem; align-items: center;
  padding: .95rem 1.1rem; border-bottom: 1px solid var(--line-soft); text-align: left; }
.toggle { width: 2.2rem; height: 1.3rem; border-radius: 1rem; background: var(--tgt); position: relative; }
.toggle::after { content: ""; position: absolute; top: 2px; right: 2px; width: calc(1.3rem - 4px); height: calc(1.3rem - 4px); border-radius: 50%; background: #f5f5f7; }
.toggle.off { background: var(--raised); } .toggle.off::after { right: auto; left: 2px; }
.arule .when, .arule .then { display: grid; gap: .15rem; }
.arule .when b { font-size: .9375rem; }
.arule .when span, .arule .then > span { color: var(--dim); font-size: .8125rem; }
.arule ol { margin: 0; padding-left: 1.1rem; font-size: .875rem; display: grid; gap: .1rem; }
.arule .next { font-size: .8125rem; color: var(--dim); white-space: nowrap; font-variant-numeric: tabular-nums; }
.tab-foot { padding: .7rem 1.1rem; font-size: .8125rem; color: var(--faint); background: var(--well); text-align: left; }
.split .card.stack-lg .ticks { gap: .7rem; }

/* toolkit: how the tab looks */
.tk { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 1rem; background: var(--panel); border: 1px solid var(--line);
  border-radius: 1.25rem; padding: 1rem; text-align: left; }
.tk figcaption { grid-column: 1 / -1; }
.tk-list { display: grid; gap: .3rem; align-content: start; }
.tk-chips, .tk-macros, .tk-btns { display: flex; gap: .4rem; flex-wrap: wrap; align-items: center; margin-bottom: .4rem; }
.chipb { font-size: .75rem; font-weight: 500; padding: .25rem .6rem; border-radius: 980px; border: 1px solid var(--line); background: var(--well); color: var(--dim); }
.chipb.on { color: var(--tgt); border-color: rgba(53,207,160,.45); }
.chipb.set { border-style: dashed; }
.tk-row { display: grid; grid-template-columns: 3rem 1fr auto auto; gap: .6rem; align-items: center; font-size: .875rem; padding: .45rem .7rem;
  border-radius: .55rem; background: var(--well); font-variant-numeric: tabular-nums; }
.tk-row .id { font-family: var(--mono); color: var(--dim); }
.tk-row .addr { font-family: var(--mono); color: var(--faint); font-size: .8125rem; }
.tk-row.picked { background: rgba(53,207,160,.1); box-shadow: inset 0 0 0 1px rgba(53,207,160,.35); }
.tk-row .dot { width: .45rem; height: .45rem; border-radius: 50%; background: var(--warn); }
.tk-side { display: grid; gap: .8rem; align-content: start; }
.tk-btns .btn { pointer-events: none; }
.tk-pad { position: relative; aspect-ratio: 2 / 1; max-width: 100%; border-radius: .8rem; background:
  linear-gradient(var(--line-soft) 1px, transparent 1px) 0 0 / 25% 50%, linear-gradient(90deg, var(--line-soft) 1px, transparent 1px) 0 0 / 12.5% 100%, var(--well);
  border: 1px solid var(--line-soft); }
.tk-pad i { position: absolute; left: 62%; top: 38%; width: .9rem; height: .9rem; border-radius: 50%; background: var(--tgt); transform: translate(-50%, -50%);
  box-shadow: 0 0 0 5px rgba(53,207,160,.2); }
.tk-pad span { position: absolute; left: .6rem; bottom: .4rem; font-size: .75rem; color: var(--faint); }
.tk-faders { display: grid; gap: .35rem; }
.tk-faders b { font-size: .75rem; color: var(--dim); font-weight: 600; margin-top: .2rem; }
.fd { display: grid; grid-template-columns: 4rem 1fr; gap: .6rem; align-items: center; font-size: .8125rem; }
.fd i { height: .4rem; border-radius: 3px; background: linear-gradient(90deg, var(--tgt) var(--v), var(--raised) var(--v)); }
@media (max-width: 54rem) { .tk { grid-template-columns: 1fr; } .arule { grid-template-columns: 2.4rem minmax(0, 1fr); } .arule .then, .arule .next { grid-column: 2; } }

/* control: a Stream Deck page and the OSC it sends */
.deck { display: grid; grid-template-columns: repeat(5, 1fr); gap: .6rem; background: #050506; padding: .9rem; border-radius: 1.25rem;
  border: 1px solid var(--line); max-width: 26rem; margin: 0 auto; width: 100%; }
.deck .key { aspect-ratio: 1; border-radius: .7rem; padding: .2rem; font-size: .8125rem; font-weight: 700; letter-spacing: .01em; line-height: 1.15;
  background: linear-gradient(180deg, #2a2b30, #1e1f23); border: 1px solid rgba(255,255,255,.06); color: var(--text); flex-direction: column; gap: .1rem;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 2px 0 #000; }
.deck .key:hover { border-color: var(--line-hi); }
.deck .key:active, .deck .key.down { transform: scale(.93); }
.deck .key small { font-size: .625rem; font-weight: 500; color: var(--dim); letter-spacing: 0; }
.deck .key.go { background: linear-gradient(180deg, #3fe0ac, #2ab88b); color: #06231a; }
.deck .key.em { background: linear-gradient(180deg, #4a1f21, #2c1314); color: #ff9da0; border-color: rgba(242,92,97,.35); position: relative; overflow: hidden; }
.deck .key.em i { position: absolute; left: 0; bottom: 0; height: 4px; background: var(--cur); width: 0; }
.deck .key.src.on { box-shadow: inset 0 0 0 2px var(--tgt), 0 2px 0 #000; }
.osclog { background: var(--well); border: 1px solid var(--line-soft); border-radius: 1rem; padding: .9rem 1rem; font-family: var(--mono);
  font-size: .8125rem; line-height: 1.6; min-height: 8.5rem; display: grid; align-content: start; gap: .1rem; overflow: hidden; }
.osclog .in { color: var(--tgt); } .osclog .fb { color: var(--dim); }

/* NDI */
.monitor { background: #050506; border-radius: 1.25rem; padding: clamp(.5rem, 1.4vw, 1rem); border: 1px solid var(--line);
  box-shadow: 0 40px 120px -30px rgba(0,0,0,.8); }
.monitor img { border-radius: .6rem; }
.monitor figcaption { color: var(--dim); font-size: .875rem; padding: .8rem .25rem 0; text-align: center; }

/* editions */
.editions { display: grid; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); gap: 1rem; text-align: left; }
.edition { transition: border-color 300ms ease; }
.edition .universes b { font-size: 1.0625rem; color: var(--tgt); }
.edition .ticks { gap: .6rem; }
.edition .ticks li { font-size: .9375rem; }
.edition > .btn, .edition > button { justify-self: start; }
.edition.flash { border-color: var(--tgt); }
.editions.ladder { grid-template-columns: repeat(auto-fit, minmax(14.5rem, 1fr)); }
.side-editions { margin-top: 2.5rem; display: grid; gap: 1rem; }
.side-editions > .title { font-size: 1.1875rem; }
.side-editions .editions { max-width: 30rem; margin-inline: auto; width: 100%; }
/* the ladder's cards side by side: smaller titles ("Handover Creative" on one line), and each part (price, universes,
   list, seats, button) level across the cards (subgrid; without it the cards simply stack their parts). The spans are
   the cards' parts in build.mjs (editionCard, passCards): home 6, buy 8, passes 7. A card that gains a part needs +1 */
.ladder .edition .title { font-size: 1.625rem; }
@supports (grid-template-rows: subgrid) {
  .editions.ladder > .edition { grid-template-rows: subgrid; grid-row: span 6; row-gap: 1rem; }
  .editions.ladder > .edition:has(> .qty) { grid-row: span 8; }
  #passes .editions.ladder > .edition { grid-row: span 7; }
  .editions.ladder > .edition > * { align-self: start; }      /* each part its own height: a short list keeps its spacing */
}
.compare .side { border-left: 1px solid var(--line-soft); }
.compare-wrap { overflow-x: auto; border: 1px solid var(--line-soft); border-radius: 1.25rem; background: var(--panel); }
.compare { width: 100%; border-collapse: collapse; font-size: .9375rem; min-width: 44rem; }
.compare th, .compare td { padding: .8rem 1rem; text-align: center; border-bottom: 1px solid var(--line-soft); }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.compare th[scope=row] { text-align: left; font-weight: 500; color: var(--dim); }
.compare thead th { font-weight: 650; font-size: 1rem; }
.compare .yes { color: var(--tgt); font-weight: 700; } .compare .no { color: var(--faint); }

/* feature sections fold: the heading and its line stay, the demo and details open on demand */
.fold > summary { list-style: none; cursor: pointer; justify-self: center; display: inline-flex; align-items: center; gap: .5em;
  margin: -1.25rem auto 0; padding: .55rem 1.1rem; border-radius: 980px; border: 1px solid var(--line); background: var(--raised);
  color: var(--text); font-size: .9375rem; font-weight: 500; width: max-content; transition: transform 100ms ease-out, border-color 150ms ease; }
.fold > summary::-webkit-details-marker { display: none; }
.fold > summary::after { content: ""; width: .45rem; height: .45rem; border: solid var(--dim); border-width: 0 1.5px 1.5px 0;
  transform: translateY(-.15em) rotate(45deg); transition: transform 200ms cubic-bezier(.2,.8,.2,1); }
.fold[open] > summary::after { transform: translateY(.1em) rotate(-135deg); }
.fold > summary:hover { border-color: var(--line-hi); }
.fold > summary:active { transform: scale(.97); }
.fold > summary:focus-visible { outline: 2px solid var(--tgt); outline-offset: 3px; }
.fold .when-open, .fold[open] .when-closed { display: none; }
.fold[open] .when-open { display: inline; }
.fold { display: grid; }
.fold-body { display: grid; gap: 2.75rem; margin-top: 2.25rem; }
.fold[open] .fold-body { animation: fold-in 380ms cubic-bezier(.2,.8,.2,1); }
@keyframes fold-in { from { opacity: 0; transform: translateY(-.5rem); } to { opacity: 1; transform: none; } }
/* a folded section takes less room */
.band:has(> .wrap > .fold:not([open])) { padding-block: clamp(2.25rem, 4.5vw, 3.25rem); }
.band:has(> .wrap > .fold:not([open])) .feature-band { gap: 1.75rem; }

/* fixture aware: one real fixture's channels, coloured by feature group */
.fmap { background: var(--panel); border: 1px solid var(--line); border-radius: 1.25rem; padding: 1.1rem 1.2rem; display: grid; gap: .8rem; text-align: left; margin: 0; }
.fmap-head { display: flex; gap: .3rem 1rem; align-items: baseline; flex-wrap: wrap; }
.fmap-strip { display: flex; gap: 2px; height: 2.6rem; border-radius: .6rem; overflow: hidden; }
.fmap-strip i { flex-basis: 0; min-width: 4px; opacity: .88; transition: opacity 120ms ease; }
.fmap-strip i:hover { opacity: 1; box-shadow: inset 0 0 0 2px rgba(255,255,255,.7); }
.fmap-legend { display: flex; flex-wrap: wrap; gap: .4rem 1.1rem; font-size: .8125rem; color: var(--dim); }
.fmap-legend span { display: inline-flex; align-items: center; gap: .4rem; }
.fmap-legend i { width: .7rem; height: .7rem; border-radius: .2rem; }

/* Help: every feature in detail */
.details-page { display: grid; gap: 3rem; }
.detail { display: grid; gap: 1.1rem; scroll-margin-top: 4.5rem; padding-top: 2rem; border-top: 1px solid var(--line-soft); }
.detail .split { margin: 0; }
.fold-more { margin-top: -1rem; }

/* use cases: tabs and their panels */
.uc { display: grid; gap: 1.75rem; justify-items: center; text-align: center; }
.uc-tabs { width: 100%; max-width: 40rem; }
.uc-tabs button { border: 0; border-radius: .55rem; background: none; color: var(--dim); font-size: .9375rem; font-weight: 500; padding: .55rem .5rem; }
.uc-tabs button[aria-selected=true] { color: var(--text); background: var(--raised); box-shadow: 0 1px 2px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.05); }
.uc-panel { display: grid; gap: 1rem; justify-items: center; max-width: 44rem; }
.uc-panel .lead { text-align: center; }
.uc-features { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; align-items: center; }
.uc-features .chipb { text-decoration: none; color: var(--text); font-size: .875rem; padding: .35rem .8rem; transition: border-color 150ms ease; }
.uc-features .chipb:hover { border-color: var(--tgt); }
.uc-licence { color: var(--dim); font-size: .9375rem; }
.uc-licence a { color: var(--tgt); font-weight: 600; text-decoration: none; }
.uc-licence a:hover { text-decoration: underline; }
@media (max-width: 45rem) { .uc-tabs { grid-auto-flow: row; grid-template-columns: 1fr 1fr; } }

/* toolkit grid, uses, shots */
.features { display: grid; grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr)); gap: 1rem; }
.feature { background: var(--panel); border: 1px solid var(--line-soft); border-radius: 1.25rem; padding: 1.5rem; display: grid; gap: .5rem; align-content: start; }
.feature h3 { font-size: 1.1875rem; letter-spacing: -.016em; line-height: 1.25; }
.feature p { color: var(--dim); font-size: .9375rem; line-height: 1.47; }
.uses { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 2rem; text-align: left; }
.uses div { display: grid; gap: .4rem; align-content: start; }
.uses b { font-size: 1.1875rem; letter-spacing: -.016em; }
.uses span { color: var(--dim); font-size: .9375rem; line-height: 1.47; }
.shot { border-radius: 1.1rem; border: 1px solid var(--line-soft); overflow: hidden; background: var(--panel); }
.shot figcaption { color: var(--dim); font-size: .875rem; padding: .8rem 1rem; }
figure { margin: 0; }
.shots { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* prices */
.price { display: grid; gap: 1rem; align-content: start; }
.price .amount { font-size: 3rem; font-weight: 700; letter-spacing: -.035em; line-height: 1; }
.price .amount small { font-size: 1rem; color: var(--dim); font-weight: 400; letter-spacing: -.005em; white-space: nowrap; }
.ladder .price .amount { font-size: 2.5rem; }
.ladder .price .amount small { display: block; margin-top: .4rem; }
.price ul { margin: 0; padding-left: 1.2rem; color: var(--dim); display: grid; gap: .35rem; line-height: 1.45; }
.qty { display: flex; align-items: center; gap: .75rem; color: var(--dim); font-size: .9375rem; flex-wrap: wrap; }
.total { font-size: .9375rem; color: var(--dim); font-variant-numeric: tabular-nums; }
.total b { color: var(--text); }

/* faq and prose */
.faq { display: grid; max-width: 48rem; margin: 0 auto; border-top: 1px solid var(--line); text-align: left; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 600; font-size: 1.125rem; letter-spacing: -.012em; padding: 1.15rem 2rem 1.15rem 0; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .25rem; top: 50%; transform: translateY(-50%); color: var(--dim);
  font-weight: 300; font-size: 1.5rem; transition: transform 200ms cubic-bezier(.2,.8,.2,1); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--dim); padding-bottom: 1.25rem; max-width: 40rem; line-height: 1.5; }
.prose { max-width: var(--w-text); display: grid; gap: 1rem; }
.prose h2 { font-size: 1.5rem; letter-spacing: -.02em; margin-top: 1.5rem; }
.prose h3 { font-size: 1.125rem; margin-top: .5rem; }
.prose ul, .prose ol { margin: 0; padding-left: 1.4rem; display: grid; gap: .4rem; }
.prose p, .prose li { color: #c9cacf; line-height: 1.55; }

/* help */
.guides { display: grid; grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr)); gap: 1rem; }
.guide { background: var(--panel); border: 1px solid var(--line-soft); border-radius: 1.25rem; padding: 1.4rem; display: grid; gap: .4rem;
  align-content: start; text-decoration: none; min-height: 8rem; transition: var(--press), border-color 150ms ease; }
.guide:hover { border-color: var(--line-hi); }
.guide:active { transform: scale(.985); }
.guide .t { font-weight: 650; font-size: 1.0625rem; letter-spacing: -.012em; }
.guide .s { color: var(--dim); font-size: .9375rem; line-height: 1.45; }
.guide .n { color: var(--faint); font-size: .8125rem; font-family: var(--mono); }
ol.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; gap: .75rem; max-width: var(--w-text); }
ol.steps li { counter-increment: s; display: grid; grid-template-columns: 2rem 1fr; gap: .9rem; background: var(--panel);
  border: 1px solid var(--line-soft); border-radius: 1rem; padding: 1rem 1.15rem; line-height: 1.5; }
ol.steps li::before { content: counter(s); width: 1.75rem; height: 1.75rem; border-radius: 50%; background: var(--raised); color: var(--dim);
  display: grid; place-items: center; font-size: .8125rem; font-weight: 600; }
.video { aspect-ratio: 16 / 9; border-radius: 1.1rem; overflow: hidden; border: 1px solid var(--line-soft); max-width: var(--w-text); }
.video iframe { width: 100%; height: 100%; border: 0; }
.vidbtn { width: 100%; height: 100%; border: 0; border-radius: 0; background: var(--panel); display: grid; place-content: center;
  justify-items: center; gap: .5rem; font-size: 1.0625rem; font-weight: 600; padding: 1.25rem; }
.vidbtn:active { transform: none; }
.vidbtn .play { width: 3.5rem; height: 3.5rem; border-radius: 50%; background: var(--cur); color: #fff; display: grid; place-items: center; font-size: 1.25rem;
  transition: var(--press); }
.vidbtn:active .play { transform: scale(.94); }
.vidbtn .small { font-weight: 400; max-width: 24rem; }
.pager { display: flex; justify-content: space-between; gap: .75rem; max-width: var(--w-text); margin-top: 1.5rem; flex-wrap: wrap; }
.release { display: grid; gap: .6rem; padding-block: 1.5rem; border-top: 1px solid var(--line-soft); max-width: var(--w-text); }
.release h2 { font-size: 1.375rem; letter-spacing: -.02em; display: flex; gap: .75rem; align-items: baseline; flex-wrap: wrap; }
.release ul { margin: 0; padding-left: 1.4rem; display: grid; gap: .35rem; color: #c9cacf; }

/* account and activation (step cards like the app's activate page) */
.narrow { max-width: 35rem; }
.steps-cards { display: grid; gap: 1rem; max-width: 35rem; }
.stepcard { background: var(--panel); border: 1px solid var(--line-soft); border-radius: 1.25rem; padding: 1.25rem; display: grid; gap: .8rem;
  transition: opacity 200ms ease; }
.stepcard h2 { font-size: 1.0625rem; letter-spacing: -.012em; display: flex; gap: .65rem; align-items: center; }
.stepcard .n { width: 1.6rem; height: 1.6rem; border-radius: 50%; background: var(--raised); display: inline-grid; place-items: center;
  font-size: .8125rem; color: var(--dim); flex: none; transition: background-color 200ms ease, color 200ms ease; }
.stepcard.done .n { background: var(--tgt); color: #06231a; }
.stepcard.off { opacity: .4; pointer-events: none; }
.lic { display: flex; align-items: center; gap: .75rem; padding: .75rem .9rem; border-radius: var(--r-ctl); background: var(--raised);
  cursor: pointer; border: 1px solid transparent; transition: border-color 150ms ease, var(--press); }
.lic:active { transform: scale(.99); }
.lic.sel { border-color: var(--tgt); }
.lic .meta { color: var(--dim); font-size: .875rem; }
.lic input { accent-color: var(--tgt); }
.seat { display: flex; align-items: center; gap: .65rem; padding: .6rem .75rem; border-radius: .7rem; background: var(--well); }
.seat > span { margin-right: auto; min-width: 0; }
.seat .meta { color: var(--dim); font-size: .8125rem; }
.seat button { flex: none; white-space: nowrap; }
.file { display: block; padding: 1.1rem; border: 1px dashed rgba(255,255,255,.18); border-radius: var(--r-ctl); text-align: center;
  color: var(--dim); cursor: pointer; transition: border-color 150ms ease; }
.file:hover { border-color: rgba(255,255,255,.35); }
.licard { background: var(--panel); border: 1px solid var(--line-soft); border-radius: 1.25rem; padding: 1.25rem; display: grid; gap: .8rem;
  transition: border-color 300ms ease; }
.licard .row { display: flex; align-items: center; gap: .65rem; flex-wrap: wrap; }
.licard .nm { font-weight: 650; font-size: 1.125rem; letter-spacing: -.015em; }
.licard .key { font-family: var(--mono); font-size: .8125rem; color: var(--dim); }
.licard .tag.red { color: var(--warn); border-color: rgba(242,184,92,.35); }   /* ended, suspended: not red, red is on air */
.licard .seats { display: grid; gap: .4rem; }
.licard .add { display: flex; gap: .65rem; align-items: center; flex-wrap: wrap; padding-top: .8rem; border-top: 1px solid var(--line-soft); }
.licard.flash { border-color: var(--tgt); }
.who { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; color: var(--dim); }
.who .btn, .who button { margin-left: auto; }
.meter { height: .375rem; border-radius: 3px; background: var(--raised); overflow: hidden; width: 7.5rem; }
.meter i { display: block; height: 100%; background: var(--tgt); border-radius: 3px; }
.meter.full i { background: var(--warn); }

/* footer */
footer { border-top: 1px solid var(--line-soft); padding-block: 2.5rem 2rem; color: var(--dim); font-size: .8125rem; letter-spacing: 0; background: #0e0f11; }
footer .cols { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 1.5rem; }
footer h4 { color: var(--text); font-size: .8125rem; margin-bottom: .6rem; font-weight: 600; }
footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
footer a { text-decoration: none; }
footer a:hover { color: var(--text); text-decoration: underline; }
footer .legal { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid var(--line-soft); display: flex; gap: 1rem; flex-wrap: wrap; justify-content: space-between; align-items: center; color: var(--faint); }
footer .copy { display: inline-flex; align-items: center; gap: .55rem; }
footer .maker { height: 1.15rem; width: auto; flex: none; }

/* gentle arrival of sections (only with JS; none with reduced motion) */
.js .reveal { opacity: 0; transform: translateY(1.25rem); transition: opacity 700ms ease, transform 900ms cubic-bezier(.2,.8,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }

@media (max-width: 54rem) {
  footer .cols { grid-template-columns: 1fr 1fr; }
  .flow { grid-template-columns: 1fr; } .flow .arrow { transform: rotate(90deg); justify-self: center; }
  .split, .shots, .demo-grid { grid-template-columns: 1fr; }
  .fs { grid-template-columns: 1fr; gap: 0; }
  .fs-link { width: 2px; height: 1.5rem; justify-self: center; }
  .fs-link::after { width: 100%; height: 40%; background: linear-gradient(180deg, transparent, var(--tgt), transparent); animation-name: flow-down; }
  @keyframes flow-down { from { transform: translateY(-100%); } to { transform: translateY(250%); } }
}
@media (max-width: 45rem) {
  .menu { display: block; }
  .nav { position: absolute; top: 3.25rem; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(14,15,17,.985); -webkit-backdrop-filter: saturate(180%) blur(30px); backdrop-filter: saturate(180%) blur(30px);
    box-shadow: 0 30px 60px -20px rgba(0,0,0,.7);   /* a bigger surface reads thicker */
    padding: .5rem 1rem 1.25rem; border-bottom: 1px solid var(--line); font-size: 1.0625rem;
    /* the sheet comes from the menu button and goes back the same way */
    transform-origin: top right; opacity: 0; transform: translateY(-.5rem) scale(.98); visibility: hidden;
    transition: opacity 220ms ease, transform 300ms cubic-bezier(.2,.8,.2,1), visibility 0s linear 300ms; }
  .nav.open { opacity: 1; transform: none; visibility: visible; transition: opacity 220ms ease, transform 300ms cubic-bezier(.2,.8,.2,1); }
  .nav a { padding: .75rem 0; border-bottom: 1px solid var(--line-soft); }
  .nav a.btn { margin-top: .9rem; padding: .7rem 1rem; font-size: 1rem; border: 0; }
  .wrap { padding-inline: 1rem; }
  .controls .row { grid-template-columns: 1fr; gap: .4rem; }
  .card { padding: 1.35rem; }
}

/* accessibility preferences */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 1ms !important; animation-duration: 1ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .btn:active, button:active, .guide:active, .lic:active { transform: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .top, .nav { background: #121316; -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@media (prefers-contrast: more) {
  :root { --dim: #c4c5ca; --faint: #a0a2a8; --line: rgba(255,255,255,.35); --line-soft: rgba(255,255,255,.25); --glass: #0b0c0e; }
  .top { -webkit-backdrop-filter: none; backdrop-filter: none; }
  .top::after { opacity: 1; }
}
