/* Downstage Systems - product tiles, quiet type, the lights do the talking. */
@font-face { font-family: 'Rajdhani'; font-weight: 700; font-display: swap; src: url('/static/fonts/rajdhani-700.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 400; font-display: swap; src: url('/static/fonts/inter-400.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 600; font-display: swap; src: url('/static/fonts/inter-600.woff2') format('woff2'); }

:root {
  --white: #ffffff;
  --tile: #f5f5f7;        /* the light tile */
  --ink: #1d1d1f;         /* text on light */
  --grey: #6e6e73;        /* secondary text on light */
  --black: #000000;       /* the dark tile */
  --night: #161617;       /* a step up from black */
  --paper: #f5f5f7;       /* text on dark */
  --mist: #86868b;        /* secondary text on dark */
  --line: #d2d2d7;        /* hairlines on light */
  --green: #2FD97B;       /* Run Green */
  --green-ink: #067a3c;   /* Run Green as text on light */
  --red: #E5484D;         /* on air */
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', system-ui, sans-serif;
  --ease: cubic-bezier(.25,.1,.25,1);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 48px; }
body { font-family: var(--font); font-size: 17px; line-height: 1.47; letter-spacing: -0.022em; background: var(--white); color: var(--ink); -webkit-font-smoothing: antialiased; }
::selection { background: var(--green); color: var(--black); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-weight: 600; letter-spacing: -0.015em; line-height: 1.07; }
.dark { background: var(--black); color: var(--paper); }
.light { background: var(--tile); }

/* ---- pills ---- */
.pills { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.pill { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 22px; border-radius: 980px; font-size: 17px; font-weight: 400;
  background: var(--green); color: var(--black); border: 1px solid var(--green); transition: background .2s, color .2s; cursor: pointer; font-family: inherit; letter-spacing: inherit; }
.pill:hover { background: #5be597; border-color: #5be597; }
.pill.ghost { background: transparent; color: var(--green-ink); border-color: var(--green-ink); }
.pill.ghost:hover { background: var(--green-ink); color: var(--white); }
.dark .pill.ghost { color: var(--green); border-color: var(--green); }
.dark .pill.ghost:hover { background: var(--green); color: var(--black); }
.more { color: var(--green-ink); font-size: 17px; }
.more::after { content: ' \203A'; }
.more:hover { text-decoration: underline; }
.dark .more { color: var(--green); }

/* ---- the bar ---- */
.nav { position: sticky; top: 0; z-index: 50; height: 48px; background: rgba(22,22,23,.8); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); color: var(--paper); }
.nav .in { max-width: 1024px; height: 100%; margin: 0 auto; padding: 0 22px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav .logo { height: 34px; width: auto; display: block; }
.nav nav { display: flex; gap: 32px; font-size: 13px; letter-spacing: -0.01em; }
.nav nav a { opacity: .8; transition: opacity .2s; }
.nav nav a:hover { opacity: 1; }
.nav .pill { min-height: 30px; padding: 0 14px; font-size: 13px; }

/* ---- hero ---- */
.hero { text-align: center; padding: 72px 22px 64px; overflow: hidden; }
.hero h1 { font-size: 56px; }
.hero h1 .go { color: var(--green); }
.hero .sub { font-size: 24px; line-height: 1.17; color: var(--mist); max-width: 720px; margin: 14px auto 28px; letter-spacing: .009em; }
.hero .sub strong { color: var(--paper); font-weight: 600; }
.when-line { font-size: 14px; color: var(--mist); margin-top: 18px; }
.trio { display: flex; justify-content: center; align-items: flex-end; gap: 4vw; margin: 56px auto 32px; }
.trio img { width: 230px; height: 230px; transition: opacity .2s var(--ease); }
.trio img.mid { width: 230px; height: 230px; }
/* the live thing: a segmented tally control */
.seg { display: inline-flex; padding: 4px; gap: 4px; border-radius: 980px; background: var(--night); }
.key { min-height: 36px; padding: 0 20px; border: 0; border-radius: 980px; background: transparent; color: var(--paper); font: inherit; font-size: 14px; cursor: pointer; transition: background .2s, color .2s; }
.key:hover { background: #2a2a2d; }
.key[aria-pressed="true"][data-state="program"] { background: var(--red); color: var(--black); }
.key[aria-pressed="true"][data-state="preview"] { background: var(--green); color: var(--black); }
.key[aria-pressed="true"][data-state="off"] { background: var(--paper); color: var(--black); }
.seg-note { font-size: 14px; color: var(--mist); margin-top: 12px; }

/* ---- product tiles ---- */
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 12px; }
.t { text-align: center; padding: 52px 24px 0; min-height: 580px; display: flex; flex-direction: column; align-items: center; overflow: hidden; }
.t.wide { grid-column: 1 / -1; min-height: 620px; }
.t h2 { font-size: 40px; }
.t .tag { font-size: 21px; line-height: 1.19; margin: 6px 0 16px; letter-spacing: .011em; }
.t .links { display: flex; gap: 28px; justify-content: center; }
.t .art { flex: 1; display: flex; align-items: center; justify-content: center; padding: 32px 0 48px; }
.t .art img { width: 260px; height: 260px; }
.t.wide .art img { width: 300px; height: 300px; }
.t .art img.unit { width: 320px; height: auto; }
.t .fine { font-size: 14px; color: var(--grey); margin-top: 14px; max-width: 46ch; }
.dark .fine { color: var(--mist); }

/* ---- sections ---- */
.sec { padding: 96px 22px; }
.sec .head { max-width: 980px; margin: 0 auto 56px; text-align: center; }
.sec h2 { font-size: 48px; }
.sec .head p { font-size: 21px; line-height: 1.38; color: var(--grey); margin-top: 14px; max-width: 640px; margin-left: auto; margin-right: auto; }

/* compare: which Cue */
.compare { max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 32px; }
.compare.three { max-width: 960px; grid-template-columns: repeat(3, 1fr); }
.col { display: grid; grid-template-rows: subgrid; grid-row: span 13; text-align: center; justify-items: center; }
.col img { width: 150px; height: 150px; }
.col h3 { font-size: 24px; margin-top: 16px; }
.col .lead { color: var(--grey); margin-top: 4px; }
.col .pill { min-height: 36px; font-size: 14px; padding: 0 16px; margin: 18px 0 28px; }
.col .spec { font-size: 14px; line-height: 1.43; padding: 16px 0; border-top: 1px solid var(--line); width: 100%; }
.col .spec b { display: block; font-weight: 600; font-size: 17px; }
.acc { text-align: center; color: var(--grey); font-size: 14px; margin-top: 40px; }

/* rigs: four ways to rig it */
.rigs { max-width: 1024px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.rig { background: var(--black); color: var(--paper); border-radius: 28px; padding: 36px 32px 28px; display: flex; flex-direction: column; min-height: 400px; }
.rig h3 { font-size: 28px; }
.rig p { color: var(--mist); margin-top: 6px; max-width: 34ch; }
.flow { flex: 1; display: flex; align-items: center; justify-content: center; gap: 16px; padding-top: 28px; }
.dev { display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 13px; color: var(--mist); }
.dev img { width: 112px; height: 112px; }
.stack { display: grid; grid-template-columns: repeat(2, auto); gap: 2px; }
.stack .dev img, .fleet .dev img { width: 74px; height: 74px; }
.fleet { display: flex; gap: 8px; }
.wire { flex: 0 1 110px; min-width: 48px; border-top: 2px dashed var(--green); position: relative; margin-bottom: 22px; }
.wire b { position: absolute; left: 50%; bottom: 8px; transform: translateX(-50%); font-weight: 600; font-size: 13px; color: var(--green); white-space: nowrap; letter-spacing: 0; }
.wire.wifi { border-top-style: dotted; border-color: var(--mist); }
.wire.wifi b { color: var(--mist); }
.deck { display: grid; grid-template-columns: repeat(3, 18px); gap: 4px; padding: 7px; background: var(--night); border-radius: 6px; }
.deck i { height: 18px; border-radius: 3px; background: #2a2a2d; }
.deck i.on { background: var(--red); transition: background .25s; }
html[data-tally="preview"] .deck i.on { background: var(--green); }
html[data-tally="off"] .deck i.on { background: #2a2a2d; }

/* steps: linked before doors */
.steps { max-width: 1024px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; text-align: center; }
.steps h3 { font-size: 32px; color: var(--green-ink); }
.steps p { color: var(--grey); margin-top: 10px; font-size: 15px; }

/* works with */
.with { text-align: center; }
.names { max-width: 980px; margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 40px; font-size: 24px; font-weight: 600; color: var(--grey); }

/* questions */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; font-size: 19px; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-weight: 400; font-size: 28px; line-height: 1; color: var(--grey); transition: transform .2s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .ans { padding: 0 0 24px; color: var(--grey); max-width: 680px; }
.faq .ans a, .spec a { color: var(--green-ink); text-decoration: underline; }

/* sign up */
.signup-card { max-width: 980px; margin: 0 auto; text-align: center; }
.signup-card p { font-size: 21px; color: var(--grey); max-width: 600px; margin: 14px auto 32px; line-height: 1.38; }
.signup { display: flex; gap: 10px; max-width: 520px; margin: 0 auto; }
.signup input { flex: 1; min-height: 48px; padding: 0 20px; border-radius: 980px; border: 1px solid var(--line); background: var(--white); font: inherit; color: var(--ink); }
.signup input:focus { outline: 2px solid var(--green); border-color: transparent; }
.signup .pill { min-height: 48px; }
.signup-ok { min-height: 24px; margin-top: 14px; color: var(--grey); font-size: 14px; }
.small { font-size: 13px; color: var(--grey); margin-top: 8px; }

/* footer */
footer { background: var(--tile); color: var(--grey); font-size: 13px; line-height: 1.33; letter-spacing: -0.01em; }
footer .in { max-width: 980px; margin: 0 auto; padding: 40px 22px 24px; }
footer .logo-foot { height: 40px; width: auto; color: var(--ink); margin-bottom: 28px; }
.foot-links { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.foot-links strong { display: block; color: var(--ink); font-weight: 600; margin-bottom: 10px; }
.foot-links a { display: block; margin-bottom: 8px; }
.foot-links a:hover { text-decoration: underline; color: var(--ink); }
.last { display: flex; justify-content: space-between; gap: 16px; padding-top: 16px; flex-wrap: wrap; }
.last a:hover { text-decoration: underline; }

/* entrances: a short fade up, once */
.js [data-rise] { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.js [data-rise].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-rise] { opacity: 1; transform: none; transition: none; }
}

@media (max-width: 1068px) {
  .hero h1 { font-size: 48px; }
  .sec h2 { font-size: 40px; }
  .t h2 { font-size: 32px; }
  .t .tag { font-size: 19px; }
  .trio img { width: 170px; height: 170px; }
  .trio img.mid { width: 170px; height: 170px; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 48px; }
}
@media (max-width: 734px) {
  .hero { padding: 48px 16px 48px; }
  .hero h1 { font-size: 40px; }
  .hero .sub { font-size: 19px; }
  .trio { gap: 10px; margin: 40px auto 28px; }
  .trio img { width: 104px; height: 104px; }
  .trio img.mid { width: 104px; height: 104px; }
  .key { padding: 0 16px; }
  .tiles { grid-template-columns: 1fr; padding: 12px 0; }
  .t, .t.wide { min-height: 0; padding-top: 44px; }
  .t h2 { font-size: 28px; }
  .t .tag { font-size: 17px; }
  .t .art img, .t.wide .art img { width: 200px; height: 200px; }
  .t .art img.unit { width: 240px; }
  .sec { padding: 64px 16px; }
  .sec .head { margin-bottom: 40px; }
  .sec h2 { font-size: 32px; }
  .sec .head p, .signup-card p { font-size: 17px; }
  .compare, .compare.three { grid-template-columns: 1fr; row-gap: 56px; }
  .col { grid-row: auto; display: flex; flex-direction: column; align-items: center; }
  .rigs { grid-template-columns: 1fr; }
  .rig { min-height: 340px; padding: 28px 22px 22px; border-radius: 22px; }
  .rig h3 { font-size: 24px; }
  .dev img { width: 88px; height: 88px; }
  .stack .dev img, .fleet .dev img { width: 54px; height: 54px; }
  .flow { gap: 10px; flex-wrap: wrap; }
  .steps { grid-template-columns: 1fr; row-gap: 36px; }
  .steps h3 { font-size: 28px; }
  .names { font-size: 19px; gap: 8px 24px; }
  .faq summary { font-size: 17px; }
  .signup { flex-direction: column; }
  .foot-links { grid-template-columns: 1fr 1fr; }
}

/* ---- the floating tally pill: starts in the hero, docks in the corner ---- */
.seg-slot { min-height: 44px; display: flex; justify-content: center; }
.seg.docked.away { opacity: 0; pointer-events: none; }
.seg { transition: opacity .3s; }
.seg.docked { position: fixed; right: 20px; bottom: 20px; z-index: 60; background: rgba(22,22,23,.86);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); box-shadow: 0 10px 32px rgba(0,0,0,.28); }

/* ---- the One's page ---- */
.one-hero .one-art { width: min(520px, 84%); margin: 64px auto 0; }
.nav nav a[aria-current="page"] { opacity: 1; }
.cards { max-width: 1024px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.card { background: var(--white); border-radius: 28px; padding: 40px 36px; }
.card h3 { font-size: 24px; }
.card p { color: var(--grey); margin-top: 10px; }
.steps.three { grid-template-columns: repeat(3, 1fr); text-align: left; }
.steps.three h3 { font-size: 28px; }
.feats { max-width: 1024px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 44px 32px; }
.feats h3 { font-size: 19px; }
.feats p { color: var(--mist); font-size: 15px; margin-top: 8px; }
.sec.dark .head p { color: var(--mist); }
.specs { max-width: 820px; margin: 0 auto; }
.specs div { display: grid; grid-template-columns: 200px 1fr; gap: 24px; padding: 18px 0; border-top: 1px solid var(--line); }
.specs div:last-child { border-bottom: 1px solid var(--line); }
.specs dt { font-weight: 600; }
.specs dd { color: var(--grey); }
.specs a { color: var(--green-ink); text-decoration: underline; }
@media (max-width: 1068px) {
  .feats { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 734px) {
  .seg.docked { right: 12px; bottom: 12px; }
  .cards, .steps.three, .feats { grid-template-columns: 1fr; }
  .card { padding: 30px 24px; border-radius: 22px; }
  .card h3 { font-size: 21px; }
  .steps.three { text-align: center; }
  .specs div { grid-template-columns: 1fr; gap: 4px; }
}

/* ---- live device faces (static/faces.js), the colours of the tally ---- */
html { --t: #FF2D2D; }
html[data-tally="preview"] { --t: #2FD97B; }
html[data-tally="off"] { --t: #8b9299; }
svg.face { display: block; width: 100%; height: auto; }
.face text { font-family: 'Rajdhani', 'Arial Narrow', sans-serif; font-weight: 700; }
.face .num { font-size: 38px; fill: var(--t); }
.face .cd { font-size: 25px; fill: var(--t); letter-spacing: .5px; }
.face .cap { font-size: 7.5px; letter-spacing: 1.4px; }
.face .chipcap { font-size: 5.6px; letter-spacing: .8px; }
.face .tint { fill: var(--t); }
.face .soft { fill: #7d858d; }
.face .dark { fill: #000; }
.face .chip { fill: var(--t); }
.face .ring { stroke: var(--t); }
.face .arc { stroke: var(--t); transition: stroke-dasharray 1s linear; }
html[data-tally="off"] .face .ring { stroke: #1f262e; }
html[data-tally="off"] .face .arc { stroke: #3a434c; }
.face .s-program, .face .s-preview, .face .s-off { display: none; }
html[data-tally="program"] .face .s-program, html[data-tally="preview"] .face .s-preview, html[data-tally="off"] .face .s-off { display: inline; }
.trio svg.face { width: 200px; }
.trio svg.face.mid { width: 197px; }
/* the trio at true scale: the Lite 47.6 mm wide, the Cue 51 mm across, the 360's box 36 mm
   (each icon's body is 80%, 87% and 86.5% of its width) */
.t .art svg.face { width: 260px; }
.t.wide .art svg.face { width: 300px; }
.col svg.face { width: 150px; }
.dev svg.face { width: 96px; }
.stack .dev svg.face, .fleet .dev svg.face { width: 60px; }
.rig.wide { grid-column: 1 / -1; }
/* the podium: the Cue in its Dock, and the phone running its timer page */
.docked { position: relative; display: block; line-height: 0; margin-bottom: 7px; }
.docked .dock { position: absolute; left: 0; top: 0; width: 100%; height: auto; pointer-events: none; }
.dev svg.phone { width: 46px; height: auto; }
.rig .dev figcaption { white-space: nowrap; }
.rig .flow .wire { flex-basis: 64px; }
@media (max-width: 734px) { .dev svg.phone { width: 38px; } .docked { margin-bottom: 7px; } }
.dev img.unit, .dev .unit { width: 150px; height: auto; }
@media (max-width: 1068px) {
  .trio svg.face { width: 150px; } .trio svg.face.mid { width: 148px; }
}
@media (max-width: 734px) {
  .trio svg.face { width: 96px; } .trio svg.face.mid { width: 95px; }
  .t .art svg.face, .t.wide .art svg.face { width: 200px; }
  .dev svg.face { width: 76px; }
  .stack .dev svg.face, .fleet .dev svg.face { width: 46px; }
  .dev img.unit, .dev .unit { width: 110px; }
}

/* ---- fine print ---- */
sup.fn { font-size: .6em; font-weight: 400; vertical-align: super; line-height: 0; margin-left: 1px; }
sup.fn a { color: inherit; opacity: .7; text-decoration: none; }
sup.fn a:hover { opacity: 1; text-decoration: underline; }
footer .notes { padding-bottom: 20px; margin-bottom: 28px; border-bottom: 1px solid var(--line); }
footer .notes ol { padding-left: 16px; }
footer .notes li, footer .notes p { margin-bottom: 10px; }
footer .notes li:target { color: var(--ink); }

/* ---- built by hand ---- */
.built .head { margin-bottom: 0; }
.built .head p { color: var(--mist); }
footer .notes a { text-decoration: underline; }

/* ---- prices and kits ---- */
.price { font-size: 17px; font-weight: 600; margin: 0 0 14px; }
.col .price { margin: 10px 0 0; }
.col .pill { margin-top: 12px; }
.kits { max-width: 1024px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.kits.one { grid-template-columns: minmax(0, 500px); justify-content: center; }
.see3d { margin-top: 20px; }
.kit { background: var(--tile); border-radius: 28px; padding: 40px 32px 36px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.kit .pair { display: flex; align-items: center; justify-content: center; gap: 14px; margin-bottom: 24px; }
.kit .pair svg.face, .kit .pair img { width: 130px; height: auto; }
.kit .plus { font-size: 28px; color: var(--grey); }
.kit h3 { font-size: 28px; }
.kit > p { color: var(--grey); margin-top: 4px; }
.kit .price { color: var(--ink); margin: 14px 0 18px; font-size: 21px; }
@media (max-width: 734px) {
  .kits { grid-template-columns: 1fr; }
  .kit { border-radius: 22px; padding: 32px 22px 28px; }
  .kit .pair svg.face, .kit .pair img { width: 100px; }
}
html[data-tally="off"] .face .num { transform: translateY(6px); }

/* ---- support ---- */
.sec[hidden] { display: none; }
.support-hero { padding-bottom: 72px; }
.support-hero h1 { font-size: 56px; }
.tuts { max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px 20px; }
.tut { display: block; }
.tut .poster { position: relative; aspect-ratio: 16 / 10; background: var(--black); border-radius: 18px; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.tut .poster .art { display: flex; gap: 10px; align-items: center; }
.tut .poster svg.face, .tut .poster img { width: 88px; height: auto; }
.tut .poster img.unit { width: 140px; }
.tut .badge { position: absolute; left: 12px; bottom: 12px; font-size: 13px; padding: 4px 10px; border-radius: 980px; background: rgba(255,255,255,.12); color: var(--paper); }
.tut.ready .badge { background: var(--green); color: var(--black); }
.tut .play { display: none; }
.tut.ready .play { display: block; position: absolute; right: 14px; bottom: 12px; width: 0; height: 0; border-left: 14px solid var(--paper); border-top: 9px solid transparent; border-bottom: 9px solid transparent; }
.tut h3 { font-size: 19px; margin-top: 14px; }
.tut p { color: var(--grey); font-size: 15px; margin-top: 4px; }
.tut[aria-disabled="true"] { cursor: default; }
.tut.ready:hover h3 { text-decoration: underline; }
.tut .poster img.shot { width: 100%; height: 100%; object-fit: cover; }
.guide { max-width: 720px; margin: 0 auto; }
.guide h3 { font-size: 21px; margin: 32px 0 12px; }
.guide h3:first-child { margin-top: 0; }
.guide p { margin-top: 16px; }
.guide ol, .guide ul { padding-left: 24px; }
.guide li { margin-top: 12px; }
.guide li b { font-weight: 600; }
.guide code { font-family: ui-monospace, Menlo, monospace; font-size: .92em; }
.guide a, .acc a { text-decoration: underline; }
.guide-table { overflow-x: auto; margin-top: 8px; }
.guide table { width: 100%; border-collapse: collapse; }
.guide th, .guide td { text-align: left; padding: 12px 16px 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.guide-note { max-width: 640px; margin: 24px auto 0; text-align: center; font-size: 17px; font-weight: 600; color: var(--paper); }
.guide-warn { margin-top: 0; padding: 16px 20px; border-left: 4px solid #f5a623; border-radius: 4px; background: rgba(245, 166, 35, .12); }
.guide-video { max-width: 1024px; margin: 48px auto 0; }
.guide-video video { display: block; width: 100%; height: auto; border-radius: 16px; background: #000; }
.guide-video figcaption { text-align: center; color: var(--mist); font-size: 14px; margin-top: 12px; }
.howto { max-width: 1024px; margin: 0 auto; list-style: none; counter-reset: s; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.howto li { counter-increment: s; }
.howto li::before { content: counter(s); display: block; font-size: 40px; font-weight: 600; color: var(--green-ink); line-height: 1; margin-bottom: 12px; }
.howto h3 { font-size: 21px; }
.howto p { color: var(--grey); font-size: 15px; margin-top: 8px; }
.howto b, .acc a { color: var(--ink); }
.acc a { text-decoration: underline; }
#contact .signup-card p { color: var(--mist); }
@media (max-width: 1068px) {
  .tuts { grid-template-columns: 1fr 1fr; }
  .howto { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 734px) {
  .support-hero h1 { font-size: 40px; }
  .tuts, .howto { grid-template-columns: 1fr; }
}

/* ---- the phone menu (static/nav.js builds .menu-sheet on <body>) ---- */
.menu-btn { display: none; width: 44px; height: 44px; margin-right: -12px; border: 0; padding: 0; background: transparent; cursor: pointer; position: relative; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.menu-btn span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--paper); border-radius: 1px; transition: transform .3s var(--ease), top .3s var(--ease); }
.menu-btn span:first-child { top: 18px; }
.menu-btn span:last-child { top: 25px; }
.menu-open .menu-btn span:first-child { top: 21.5px; transform: rotate(45deg); }
.menu-open .menu-btn span:last-child { top: 21.5px; transform: rotate(-45deg); }
.menu-sheet { display: none; }
@media (max-width: 734px) {
  .nav nav { display: none; }
  .nav .in { gap: 12px; }
  .nav .in > a:first-child { margin-right: auto; }
  .menu-btn { display: block; }
  .menu-sheet { display: flex; flex-direction: column; position: fixed; z-index: 49; top: 48px; left: 0; right: 0; bottom: 0;
    padding: 20px 32px; background: var(--night); color: var(--paper); font-size: 28px; font-weight: 600; letter-spacing: -0.015em;
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s .25s; }
  .menu-sheet a { padding: 10px 0; }
  .menu-open .menu-sheet { opacity: 1; visibility: visible; transform: none; transition: opacity .25s var(--ease), transform .25s var(--ease); }
  .menu-open body { overflow: hidden; }
  .menu-open .seg.docked { opacity: 0; pointer-events: none; }
}

/* ---- early pre-order prices ---- */
.price .reg { display: block; font-weight: 400; font-size: 14px; color: var(--grey); margin: 2px 0 0; }
.dark .price .reg { color: var(--mist); }
.price .save { font-weight: 400; color: var(--green-ink); margin-left: 6px; font-size: 14px; }
.early { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .02em; color: var(--green-ink); margin-bottom: 4px; }

/* ---- legal pages ---- */
.legal { max-width: 760px; margin: 0 auto; }
.legal h1 { font-size: 48px; }
.legal .updated { color: var(--grey); font-size: 14px; margin: 10px 0 36px; }
.legal h2 { font-size: 24px; margin: 40px 0 10px; }
.legal p, .legal li { color: var(--ink); margin-bottom: 12px; }
.legal ul { padding-left: 22px; }
.legal a { color: var(--green-ink); text-decoration: underline; }
@media (max-width: 734px) { .legal h1 { font-size: 34px; } .legal h2 { font-size: 21px; } }

/* ---- not your ordinary tally light ---- */
.uses { max-width: 1024px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.use { background: var(--night); border-radius: 28px; padding: 32px 28px 30px; }
.use .lamp { color: var(--c, #FF2D2D); display: flex; flex-direction: column; align-items: center; padding: 8px 0 20px; }
.use .tower { width: 120px; height: auto; }
.use .word { font-family: 'Rajdhani', 'Arial Narrow', sans-serif; font-weight: 700; font-size: 22px; letter-spacing: .14em; margin-top: 4px; min-height: 1.2em; position: relative; text-align: center; width: 100%; }
.use h3 { font-size: 24px; }
.use > p { color: var(--mist); margin-top: 6px; }
.u-rec { --c: #FF2D2D; }
.u-live { --c: #FF6A2D; }
.use .w1, .use .w2, .use .w3 { position: absolute; left: 0; right: 0; opacity: 0; }
.u-timer .lamp { animation: timer 9s steps(1) infinite; }
.u-timer .w1 { animation: w1 9s steps(1) infinite; }
.u-timer .w2 { animation: w2 9s steps(1) infinite; }
.u-timer .w3 { animation: w3 9s steps(1) infinite; }
@keyframes timer { 0% { color: #2FD97B; } 33.3% { color: #F5A524; } 66.6% { color: #FF2D2D; } }
@keyframes w1 { 0% { opacity: 1; } 33.3% { opacity: 0; } }
@keyframes w2 { 0% { opacity: 0; } 33.3% { opacity: 1; } 66.6% { opacity: 0; } }
@keyframes w3 { 0% { opacity: 0; } 66.6% { opacity: 1; } }
.u-cue .lamp { animation: cue 6s steps(1) infinite; }
.u-cue .w1 { animation: cw1 6s steps(1) infinite; }
.u-cue .w2 { animation: cw2 6s steps(1) infinite; }
@keyframes cue { 0% { color: #F5A524; } 60% { color: #2FD97B; } }
@keyframes cw1 { 0% { opacity: 1; } 60% { opacity: 0; } }
@keyframes cw2 { 0% { opacity: 0; } 60% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .u-timer .lamp, .u-cue .lamp, .use .w1, .use .w2, .use .w3 { animation: none; }
  .u-timer .lamp { color: #F5A524; } .u-timer .w2 { opacity: 1; }
  .u-cue .lamp { color: #F5A524; } .u-cue .w1 { opacity: 1; }
}
@media (max-width: 1068px) { .uses { grid-template-columns: 1fr 1fr; } }
@media (max-width: 734px) { .uses { grid-template-columns: 1fr; } .use { border-radius: 22px; } }

.use .lamp { min-height: 160px; justify-content: center; }
.use .screen { width: 150px; height: auto; }
.use .screen .msg { font-family: 'Rajdhani', 'Arial Narrow', sans-serif; font-weight: 700; font-size: 17px; letter-spacing: 1px; fill: #F5F5F7; }
.use .lamp svg.face, .use .lamp > img, .use .tapper img { width: 130px; height: auto; }
.tapper { position: relative; display: inline-block; }
.tapper .ripple { position: absolute; left: 50%; top: 50%; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; border: 2px solid rgba(255,255,255,.75); animation: tap 2.4s ease-out infinite; }
@keyframes tap { 0% { transform: scale(.4); opacity: 0; } 15% { opacity: 1; } 60%, 100% { transform: scale(2.4); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .tapper .ripple { animation: none; opacity: .8; } }

/* ---- coming later ---- */
.later { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .02em; color: var(--green-ink); }
.dark .later, .rig .later { color: var(--green); }
.t { position: relative; }
.t > .later { position: absolute; top: 24px; left: 0; right: 0; text-align: center; }
.col .price .later { font-size: 15px; }
.rig .later { margin-bottom: 6px; }
.later-one { padding-top: 40px; padding-bottom: 40px; }
.later-card { max-width: 820px; margin: 0 auto; display: flex; align-items: center; gap: 40px; background: var(--tile); border-radius: 28px; padding: 36px 40px; }
.later-card img.unit { width: 200px; flex: none; }
.later-card h2 { font-size: 32px; margin: 4px 0 8px; }
.later-card p { color: var(--grey); }
.later-card .links { display: flex; gap: 28px; justify-content: flex-start; margin-top: 14px; }
@media (max-width: 734px) { .later-card { flex-direction: column; text-align: center; gap: 20px; padding: 28px 22px; border-radius: 22px; } .later-card .links { justify-content: center; } .later-card img.unit { width: 150px; } }

/* ---- the Cue Mini ---- */
.mini-tile { min-height: 520px; }
.mini-tile .art img { width: 300px; height: auto; }
.col img[data-dev="mini"] { width: 150px; height: 150px; }
@media (min-width: 735px) and (max-width: 1068px) { .compare { grid-template-columns: 1fr 1fr; row-gap: 56px; } }

/* Video loops drawn from the lights' own firmware (Content/pipeline/webloops.py) */
.how-video { max-width: 1024px; margin: 0 auto 56px; border-radius: 28px; overflow: hidden; background: #000; }
.how-video video { display: block; width: 100%; height: auto; }
.use .lamp video.loop { display: block; width: 240px; max-width: 100%; height: auto; margin: -24px 0 -12px; }
@media (max-width: 734px) { .how-video { border-radius: 18px; margin-bottom: 40px; } }

.mini-tile .art.render { flex-direction: column; gap: 10px; padding-bottom: 32px; }
.mini-tile .art.render img { width: min(300px, 70%); height: auto; }
.mini-tile .art.render figcaption { font-size: 13px; color: var(--grey); }

/* ---- real photos ---- */
.t .art.photo { padding: 16px 0 0; align-items: flex-end; }
.t .art.photo img { width: auto; max-width: 92%; max-height: 440px; height: auto; }
.later-card img.unit.photo { width: 260px; }
.one-photos { max-width: 980px; margin: 0 auto 48px; display: grid; gap: 16px; }
.one-photos { grid-template-columns: 1fr; justify-items: center; }
.one-photos img { width: min(100%, 820px); height: auto; }
@media (max-width: 734px) { .later-card img.unit.photo { width: 220px; } }

/* ---- the Shop page ---- */
.shop-hero { padding-bottom: 24px; }
.shop-hero h1 { font-size: 56px; }
@media (max-width: 734px) { .shop-hero h1 { font-size: 40px; } }

/* the One's page opens light, so the black One shows */
.hero.light { background: var(--tile); color: var(--ink); }
.hero.light .sub { color: var(--grey); }
.hero.light .sub strong { color: var(--ink); }
.one-hero .one-art.photo { width: min(560px, 82%); margin: 40px auto 0; }

/* real photos in the Shop's kits and compare columns */
.kit .pair img.photo { width: auto; height: 150px; object-fit: contain; }
.col img.photo { width: auto; height: 170px; max-width: 100%; object-fit: contain; }
/* the 360 at its true size beside the Lite: its box is 36 mm wide, the Lite 47.6 mm */
.kit .pair img.photo.s360 { width: auto; height: 117px; }
.col img.photo.s360 { height: 132px; margin: 22px 0 16px; }
@media (max-width: 734px) { .kit .pair img.photo.s360 { height: 86px; } }
@media (max-width: 734px) { .kit .pair img.photo { height: 110px; } }

/* ---- View in 3D ---- */
.v3d-btn { margin-top: 10px; }
.col .v3d-btn { min-height: 32px; padding: 0 14px; font-size: 14px; }
.v3d { position: fixed; inset: 0; margin: auto; width: min(1100px, 100vw); height: min(760px, 100dvh); max-width: 100vw; max-height: 100dvh; padding: 0; border: 0; border-radius: 28px;
  background: radial-gradient(120% 90% at 50% 40%, #ffffff 0%, #eef0f3 70%, #e4e7eb 100%); color: var(--ink); overflow: hidden; }
.v3d[open] { display: flex; flex-direction: column; }
.v3d { transition: background .4s; }
.v3d[data-glow="program"] { background: radial-gradient(42% 38% at 50% 46%, rgba(255,60,50,.20) 0%, rgba(255,60,50,0) 100%), radial-gradient(120% 90% at 50% 40%, #ffffff 0%, #eef0f3 70%, #e4e7eb 100%); }
.v3d[data-glow="preview"] { background: radial-gradient(42% 38% at 50% 46%, rgba(47,217,123,.20) 0%, rgba(47,217,123,0) 100%), radial-gradient(120% 90% at 50% 40%, #ffffff 0%, #eef0f3 70%, #e4e7eb 100%); }
.v3d::backdrop { background: rgba(0,0,0,.55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.v3d model-viewer { touch-action: none; flex: 1; width: 100%; min-height: 0; --poster-color: transparent; background: transparent; }
.v3d-top, .v3d-bottom { display: flex; align-items: center; justify-content: center; gap: 16px; padding: 18px 22px; position: relative; flex-wrap: wrap; }
.v3d-bottom { flex-direction: column; gap: 10px; padding-bottom: 22px; }
.v3d-bottom p { font-size: 13px; color: var(--grey); }
.v3d-seg { display: inline-flex; padding: 4px; gap: 4px; border-radius: 980px; background: rgba(0,0,0,.06); }
.v3d-seg button { min-height: 36px; padding: 0 16px; border: 0; border-radius: 980px; background: transparent; color: var(--ink); font: inherit; font-size: 14px; cursor: pointer; }
.v3d-seg button[aria-pressed="true"] { background: var(--white); box-shadow: 0 1px 4px rgba(0,0,0,.14); font-weight: 600; }
.v3d-x { position: absolute; right: 16px; top: 14px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(0,0,0,.07); color: var(--ink); font-size: 24px; line-height: 1; cursor: pointer; }
.v3d-ar { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); }
.v3d-fail { display: none; }
.v3d-title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.v3d.failed .v3d-fail { display: block; color: var(--ink); }
html.v3d-open, html.v3d-open body { overflow: hidden; overscroll-behavior: none; }
.v3d { overscroll-behavior: contain; touch-action: none; }
@media (max-width: 734px) { .v3d { border-radius: 0; width: 100vw; height: 100dvh; } .v3d-x { top: 12px; right: 12px; } .v3d-top { justify-content: flex-start; } }

/* Add-ons on /shop/: kept small, under the lineup */
.addons { padding-top: 40px; }
.addons h2 { font-size: 21px; font-weight: 600; text-align: center; margin-bottom: 22px; }
.addon-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 760px; margin: 0 auto; }
.addon { display: flex; gap: 16px; align-items: center; background: var(--tile); border-radius: 18px; padding: 16px 20px 16px 16px; }
.addon img { width: 92px; height: 92px; object-fit: contain; flex-shrink: 0; mix-blend-mode: multiply; }
.addon h3 { font-size: 15px; font-weight: 600; margin-bottom: 3px; }
.addon p { font-size: 13px; color: var(--grey); line-height: 1.45; }
.addon .addon-price { color: var(--ink); margin-top: 6px; }
.addon a { color: var(--green-ink); text-decoration: underline; }
@media (max-width: 734px) { .addon-row { grid-template-columns: 1fr; } }
/* the Downstage Cue has no 3D model yet: an invisible button keeps its spec rows level with the others */
.v3d-btn.hold { visibility: hidden; }
@media (max-width: 734px) { .v3d-btn.hold { display: none; } }

/* ---- the One leads the home page; the Cue lights open with their own hero ---- */
.hero .h1 { font-size: 56px; }
.hero .h1 .go { color: var(--green); }
@media (max-width: 1068px) { .hero .h1 { font-size: 48px; } }
@media (max-width: 734px) { .hero .h1 { font-size: 40px; } }
.cards.on-white .card { background: var(--tile); }
.links-row { display: flex; gap: 28px; justify-content: center; flex-wrap: wrap; margin-top: 40px; }
.later-card .shot { width: 320px; height: auto; flex: none; border-radius: 12px; }
@media (max-width: 734px) { .later-card .shot { width: 100%; } }
.shop-hero .later-card { text-align: left; margin-top: 8px; }
@media (max-width: 734px) { .shop-hero .later-card { text-align: center; } }

/* ---- apps ---- */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.apps-hero { padding-bottom: 24px; }
.app-title { display: flex; align-items: center; justify-content: center; gap: 16px; }
.app-title img { width: 56px; height: 56px; border-radius: 13px; }
.app-note { font-size: 14px; color: var(--mist); text-align: center; margin-top: 16px; }
.light .app-note, .sec:not(.dark) .app-note { color: var(--grey); }
.app-shot { display: block; width: 100%; height: auto; max-width: 1100px; margin: 48px auto 0; border-radius: 16px; border: 1px solid #2a2f35; }
/* the picker: one card per app, and its details open below */
.app-picks { max-width: 980px; margin: 0 auto; display: grid; gap: 20px; }
.app-pick { display: flex; align-items: center; gap: 40px; background: var(--tile); color: inherit; border-radius: 28px; padding: 36px 40px; text-decoration: none; box-shadow: inset 0 0 0 2px transparent; transition: box-shadow .2s; }
.app-pick:hover { box-shadow: inset 0 0 0 2px var(--line); }
.app-pick[aria-expanded="true"] { box-shadow: inset 0 0 0 2px var(--green-ink); }
.app-pick img { width: 320px; flex: none; aspect-ratio: 2000 / 1146; height: auto; object-fit: cover; object-position: top; border-radius: 12px; background: #000; }
.app-pick h2 { font-size: 32px; margin: 4px 0 8px; }
.app-pick p { color: var(--grey); }
.app-pick p.later { font-size: 13px; color: var(--green-ink); margin: 0 0 6px; }
.app-pick .more { display: inline-block; margin-top: 14px; }
.app-pick .pick-close, .app-pick[aria-expanded="true"] .pick-open { display: none; }
.app-pick[aria-expanded="true"] .pick-close { display: inline; }
.js .app-panel:not(.open) { display: none; }
.app-back { text-align: center; margin-top: 40px; }
.vd-feats { margin-top: 48px; }
.sec.dark .head p.later { color: var(--green); }
@media (max-width: 734px) {
  .app-pick { flex-direction: column; text-align: center; gap: 20px; padding: 28px 22px; border-radius: 22px; }
  .app-pick img { width: 100%; }
  .app-pick h2 { font-size: 26px; }
}
.app-why { max-width: 760px; margin: 0 auto; text-align: center; }
.app-why blockquote { font-size: 28px; line-height: 1.25; font-weight: 600; letter-spacing: -0.015em; }
.app-why cite { display: block; margin-top: 16px; font-style: normal; color: var(--grey); }
.app-note + .app-feats { margin-top: 48px; }
.app-feats { max-width: 1024px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.app-feat { background: var(--night); color: var(--paper); border-radius: 28px; padding: 36px 36px 0; overflow: hidden; display: flex; flex-direction: column; min-height: 420px; }
.app-feat h3 { font-size: 24px; }
.app-feat p { color: var(--mist); margin-top: 10px; }
.app-feat .pic { flex: 1; display: flex; align-items: flex-start; justify-content: center; margin-top: 28px; max-height: 340px; overflow: hidden; }
.app-feat .pic img { border-radius: 12px 12px 0 0; width: min(320px, 100%); }
.app-feat .pic video.loop { display: block; border-radius: 12px 12px 0 0; width: 100%; height: auto; }
.app-feat-stack { display: grid; gap: 20px; }
.app-feat-stack .app-feat { min-height: 0; }
.app-feat.wide { grid-column: 1 / -1; min-height: 0; padding-bottom: 36px; }
.app-feat.wide .pic { max-height: none; overflow: visible; }
.app-feat.wide .pic img { width: 100%; max-width: 900px; border-radius: 12px; }
.app-feat.wide .pic video.loop { max-width: 640px; border-radius: 12px; }
.app-community { margin-top: 48px; }
.app-also { max-width: 820px; margin: 40px auto 0; text-align: center; color: var(--grey); }
.soon-shot { display: block; width: 100%; max-width: 980px; margin: 0 auto; border-radius: 16px; border: 1px solid var(--line); }
@media (max-width: 734px) {
  .app-feats { grid-template-columns: 1fr; }
  .app-feat { padding: 28px 22px 0; border-radius: 22px; min-height: 0; }
  .app-feat.wide { padding-bottom: 28px; }
  .app-why blockquote { font-size: 22px; }
  .app-title img { width: 44px; height: 44px; border-radius: 10px; }
  .app-shot, .soon-shot { border-radius: 10px; margin-top: 28px; }
  .soon-shot { margin-top: 0; }
}
.sec .head p.later, .later-card p.later { font-size: 13px; color: var(--green-ink); margin: 0 0 6px; }
@media (max-width: 734px) { .app-title { flex-direction: column; gap: 12px; } }
.use { color: var(--paper); }
/* the One's loops hold a whole rig, so they run edge to edge across the card */
.use:has(video.edge) { overflow: hidden; }
.use .lamp video.loop.edge { width: calc(100% + 56px); max-width: none; margin: -46px -28px -22px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent), linear-gradient(transparent, #000 7%, #000 93%, transparent); -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent), linear-gradient(transparent, #000 7%, #000 93%, transparent); mask-composite: intersect; }

/* ---- home: apps first, the One previewed, the lights later ---- */
.home-hero { padding-bottom: 0; }
.home-hero .sub .line { display: block; }
.home-shot { max-width: 1040px; margin: 48px auto 0; }
.home-shot video { display: block; width: 100%; height: auto; border-radius: 16px 16px 0 0; background: #000; }
.home-apps { max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.home-app { display: flex; flex-direction: column; background: var(--tile); color: inherit; border-radius: 28px; padding: 24px 24px 30px; text-decoration: none; box-shadow: inset 0 0 0 2px transparent; transition: box-shadow .2s; }
.home-app:hover { box-shadow: inset 0 0 0 2px var(--line); }
.home-app img { width: 100%; height: auto; aspect-ratio: 2000 / 1146; object-fit: cover; object-position: top; border-radius: 12px; background: #000; margin-bottom: 22px; }
.home-app .later { margin-bottom: 4px; }
.home-app h3 { font-size: 26px; }
.home-app > p:not(.later) { color: var(--grey); margin-top: 6px; flex: 1; }
.home-app .more { margin-top: 14px; }
.home-lights .head { margin-bottom: 0; }
.home-lights .trio { margin: 48px auto 28px; }
.home-seg { text-align: center; }
.home-lights .links-row { margin-top: 36px; }
@media (max-width: 1068px) { .home-apps { gap: 12px; } .home-app { padding: 18px 18px 24px; border-radius: 22px; } .home-app h3 { font-size: 22px; } }
@media (max-width: 734px) {
  .home-shot { margin-top: 36px; }
  .home-shot video { border-radius: 12px 12px 0 0; }
  .home-apps { grid-template-columns: 1fr; }
  .home-app { border-radius: 22px; padding: 20px 20px 26px; }
  .home-app h3 { font-size: 24px; }
}
