/* Production-design pass: show-control vocabulary on the Studio Light base.
   Timecode in mono, a tally light, a show timeline, department colour chips,
   feature demonstrations and one dark output wall. */
@font-face {
  font-family: "JetBrains Mono";
  src: url("assets/fonts/jetbrains-mono.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}
:root {
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --tally: #c9343f;
  --tally-soft: #e2606a;
  --amber: #e9a53c;
  --go: #6cc79d;
  --navy: #0f1d3d;
  --navy-line: #25375f;
}
.tc { font-family: var(--mono); font-variant-numeric: tabular-nums; letter-spacing: -.03em; }

/* ---------- Scene window: tally, clock, over/under ---------- */
.scene-window { container: scenewin / inline-size; }
.scene-window-header { flex-wrap: wrap; gap: 6px 12px; }
.scene-meta { gap: 9px; flex-wrap: wrap; }
.scene .tally {
  font-family: var(--mono); font-weight: 700; font-size: 9px; letter-spacing: .08em; text-transform: uppercase;
  padding: 3px 8px 3px 7px; border-radius: 4px; border: 1px solid #d5ddea; background: #f4f6fa; color: #4a5b78; gap: 6px;
  transition: background .3s, color .3s, border-color .3s;
}
.scene .tally .status-dot { width: 6px; height: 6px; border-radius: 50%; background: #8696b0; }
.scene .tally[data-state=rehearsal], .scene .tally[data-state=paused] { background: #fdf3df; border-color: #efd49a; color: #7a560c; }
.scene .tally[data-state=rehearsal] .status-dot, .scene .tally[data-state=paused] .status-dot { background: var(--amber); }
.scene .tally[data-state=live] { background: var(--tally); border-color: var(--tally); color: #fff; }
.scene .tally[data-state=live] .status-dot { background: #fff; animation: tally-pulse 1.4s ease-in-out infinite; }
.scene.paused .tally .status-dot { animation-play-state: paused; }
@keyframes tally-pulse { 50% { opacity: .35; } }
.show-clock { font-size: 12px; font-weight: 600; color: var(--ink); }
.over-under { font-size: 9px; font-weight: 700; padding: 2px 7px; border-radius: 99px; background: #e8f3ee; color: #23614f; white-space: nowrap; transition: background .3s, color .3s; }
.over-under[data-over=true] { background: #fdf0d7; color: #7f560a; }

/* ---------- Show timeline ---------- */
.show-timeline { --p: 0; position: relative; display: flex; gap: 2px; height: 15px; margin: 11px 17px 3px; }
.show-timeline span { flex: 1 1 0; min-width: 0; background: #e3eaf5; border-radius: 3px; display: flex; align-items: center; padding-left: 5px; transition: flex-grow .5s cubic-bezier(.3, .7, .2, 1), background .3s; }
.show-timeline span i { font: 700 8px/1 var(--mono); font-style: normal; color: #62738f; }
.show-timeline span.done { background: #c9d7ee; }
.show-timeline span.on { background: var(--blue); }
.show-timeline span.on i { color: #fff; }
.show-timeline .playhead { position: absolute; top: -3px; bottom: -3px; left: calc(var(--p) * 100%); width: 2px; margin-left: -1px; background: var(--tally-soft); border-radius: 2px; transition: left .5s cubic-bezier(.3, .7, .2, 1); }
.show-timeline .playhead::before { content: ""; position: absolute; top: -2px; left: -2px; width: 6px; height: 6px; border-radius: 50%; background: var(--tally-soft); }

/* ---------- Rundown columns ---------- */
.rundown .c-cue { width: 9%; }
.rundown .c-start { width: 12%; }
.rundown .c-dur { width: 14%; }
.rundown .c-seg { width: 27%; }
.rundown .c-prod { width: 38%; }
.rundown td.c-cue { font-family: var(--mono); font-weight: 700; color: #6c7c97; }
.rundown tr.active td.c-cue { color: var(--blue); }
.rundown td.c-seg { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rundown .duration-cell { min-width: 40px; }
.depts { display: flex; gap: 5px; overflow: hidden; }
.dept { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; font-size: 10px; line-height: 1; padding: 4px 7px 4px 4px; border-radius: 5px; background: #eef2f8; color: #40516f; }
.dept b { font: 700 8px/1 var(--mono); letter-spacing: .04em; padding: 3px 4px; border-radius: 3px; background: #fff; }
.dept-audio { background: #e6f2ec; color: #235a49; }
.dept-lx { background: #fbf1d6; color: #72530d; }
.dept-gfx { background: #ece7fa; color: #4e3b93; }
.dept-cam { background: #e2ecfb; color: #234a8a; }
.dept-video { background: #fbe7dd; color: #84452a; }
@container scenewin (max-width: 600px) {
  .dept { padding: 3px; }
  .dept > span { display: none; }
  .rundown .c-cue { width: 11%; }
  .rundown .c-start { width: 15%; }
  .rundown .c-dur { width: 18%; }
  .rundown .c-seg { width: 34%; }
  .rundown .c-prod { width: 22%; }
}
@container scenewin (max-width: 420px) {
  .avatars { display: none; }
  .rundown .c-prod { display: none; }
  .rundown .c-cue { width: 13%; }
  .rundown .c-start { width: 19%; }
  .rundown .c-dur { width: 23%; }
  .rundown .c-seg { width: 45%; }
  .show-timeline { margin-inline: 11px; }
  .show-clock { font-size: 11px; }
}

/* ---------- Transport keys ---------- */
.scene-window-footer { align-items: center; gap: 10px; }
.keys { display: flex; gap: 5px; }
.keys i { font: 700 8px/1 var(--mono); font-style: normal; letter-spacing: .04em; color: #3d5074; background: #fff; border: 1px solid #ccd7e9; border-bottom-width: 2px; border-radius: 4px; padding: 4px 6px 3px; transition: transform .12s, background .12s, color .12s, border-color .12s; }
.keys i[data-key=go] { color: #1d5a47; border-color: #a9d6c2; background: #effaf4; }
.keys i.pressed { transform: translateY(1px); background: var(--blue); border-color: var(--blue); color: #fff; }

/* ---------- Illustrative pointer ---------- */
.demo-cursor { position: absolute; left: 0; top: 0; z-index: 6; pointer-events: none; transition: transform .75s cubic-bezier(.45, .05, .2, 1); filter: drop-shadow(0 2px 3px #142c5933); will-change: transform; }
.demo-cursor[hidden] { display: none; }
.demo-cursor.no-anim { transition: none; }
.demo-cursor svg { display: block; }
.demo-cursor::after { content: ""; position: absolute; left: -9px; top: -9px; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--blue); opacity: 0; }
.demo-cursor.clicking::after { animation: cursor-click .5s ease-out; }
@keyframes cursor-click { from { opacity: .9; transform: scale(.3); } to { opacity: 0; transform: scale(1.25); } }

/* ---------- Outputs ---------- */
.out-tag { position: absolute; left: 10px; top: 8px; font: 700 7px/1 var(--mono); letter-spacing: .12em; color: #a9bce0; }
.speaker-progress { height: 3px; }
.speaker-progress span { background: var(--go); transition: width .4s linear, background .3s; }
.speaker-screen[data-zone=amber] .speaker-progress span { background: var(--amber); }
.speaker-screen[data-zone=red] .speaker-progress span { background: var(--tally-soft); }
.speaker-screen[data-zone=red] .speaker-time { color: #ffb3b8; }
.next-screen span { font-family: var(--mono); }
.sync-pulse { position: absolute; left: -23px; top: 43%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: var(--blue); opacity: 0; }
.scene-outputs.synced .sync-pulse { animation: sync-travel .45s ease-out; }
.scene-outputs.synced .speaker-screen, .scene-outputs.synced .next-screen { animation: sync-glow .9s ease-out; }
@keyframes sync-travel { from { opacity: 1; transform: translateX(0); } to { opacity: 0; transform: translateX(22px); } }
@keyframes sync-glow { 0% { box-shadow: 0 0 0 0 #8fb0ea00; } 30% { box-shadow: 0 0 0 3px #8fb0ea; } 100% { box-shadow: 0 0 0 7px #8fb0ea00; } }

/* ---------- Crew strip ---------- */
.crew-strip { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px 16px; padding-top: 22px; }
.crew-label { font: 700 10px/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: #5a6a85; }
.crew-strip ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.crew-strip li { font-size: 11px; font-weight: 600; color: #43557a; background: #fff; border: 1px solid var(--line); border-radius: 99px; padding: 3px 11px; }

/* ---------- Feature rows ---------- */
.feature-rows { display: grid; gap: 76px; margin-top: 52px; }
.feature-row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 64px; align-items: center; }
.feature-row:nth-child(even) .feature-copy { order: 2; }
.feature-copy .feature-number { margin: 0 0 14px; font: 700 10px/1 var(--mono); letter-spacing: .1em; color: var(--blue); }
.feature-copy h3 { font-size: clamp(26px, 2.6vw, 33px); line-height: 1.14; letter-spacing: -.04em; margin: 0 0 14px; max-width: 470px; text-wrap: balance; }
.feature-copy > p:not(.feature-number) { font-size: 15px; line-height: 1.75; color: var(--muted); max-width: 440px; margin: 0; }
.feature-points { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 9px; font-size: 13px; font-weight: 600; color: #2b426b; }
.feature-points li { display: flex; align-items: baseline; gap: 10px; }
.feature-points li::before { content: ""; flex: none; width: 9px; height: 5px; border-left: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: translateY(-3px) rotate(-45deg); }
.demo-frame { position: relative; min-height: 330px; display: flex; align-items: center; justify-content: center; padding: 34px 34px 54px; border-radius: var(--radius); border: 1px solid #e3e8f2; }
.tone-lavender { background: var(--lavender); border-color: #e8e2f3; }
.tone-peach { background: var(--peach); border-color: #f1dfd1; }
.tone-powder { background: var(--powder); border-color: #dbe6f6; }
.demo-toggle { position: absolute; right: 13px; bottom: 13px; width: 30px; height: 30px; border-radius: 50%; border: 1px solid #c9d4e6; background: #ffffffe0; color: var(--blue); display: grid; place-items: center; padding: 0; transition: background .2s, border-color .2s; }
.demo-toggle::after { content: ""; position: absolute; inset: -7px; }
.demo-toggle::before { content: ""; width: 8px; height: 10px; border-left: 3px solid; border-right: 3px solid; }
.demo-toggle[aria-pressed=true]::before { width: 0; height: 0; border: solid transparent; border-width: 5px 0 5px 9px; border-left-color: currentColor; margin-left: 2px; }
.demo-toggle:hover { background: #fff; border-color: var(--blue); }

/* Timing demo */
.mini-rundown { width: 100%; max-width: 440px; background: #fff; border: 1px solid #e0e4ef; border-radius: 11px; box-shadow: 0 10px 24px #2a2a6a0d; padding: 6px 18px 4px; font-size: 13px; color: #203b65; }
.mr-head, .mr-row { display: grid; grid-template-columns: 62px 82px minmax(0, 1fr); align-items: center; }
.mr-head { font: 700 8px/1 var(--mono); letter-spacing: .08em; color: #64738d; height: 30px; }
.mr-row { height: 40px; border-top: 1px solid #eef1f6; }
.mr-row > span:last-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-rundown .tc { font-size: 12px; justify-self: start; padding: 2px 5px; margin-left: -5px; border-radius: 4px; transition: background .3s, color .3s, box-shadow .3s; }
.mini-rundown .editing { background: #fff0d7; box-shadow: 0 0 0 1px #c9a56c; }
.mini-rundown .changed { box-shadow: 0 0 0 1px #8ca9d8; color: var(--blue); font-weight: 700; }
.mini-rundown .moved { color: var(--blue); font-weight: 700; background: #e4edfc; }
.mr-foot { display: flex; align-items: center; gap: 10px; border-top: 1px solid #dfe5f0; height: 44px; font-size: 12px; font-weight: 700; }
.mr-foot b { margin-left: auto; font-size: 13px; }
.mr-foot em { font: 700 10px/1 var(--mono); font-style: normal; padding: 5px 8px; border-radius: 99px; background: #e8f3ee; color: #23614f; transition: background .3s, color .3s; }
.mr-foot em.over { background: #fdf0d7; color: #7f560a; }

/* Show calling demo */
.follow-demo { width: 100%; max-width: 470px; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 30px; align-items: center; }
.fd-followers { display: grid; gap: 12px; position: relative; }
.fd-followers::before { content: ""; position: absolute; left: -15px; top: 25%; bottom: 25%; width: 15px; border: 1px dashed #c9a98f; border-right: 0; border-radius: 6px 0 0 6px; }
.fd-followers::after { content: ""; position: absolute; left: -30px; top: 50%; width: 15px; border-top: 1px dashed #c9a98f; }
.fd-device { background: #fff; border: 1px solid #eadfd6; border-radius: 10px; box-shadow: 0 8px 20px #6a3a1a0b; overflow: hidden; position: relative; }
.fd-bar { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 11px; border-bottom: 1px solid #f0eae5; }
.fd-bar b { font: 700 8px/1 var(--mono); letter-spacing: .08em; color: #5c6a83; white-space: nowrap; }
.fd-bar em { font-size: 9px; font-style: normal; font-weight: 700; color: #23614f; display: inline-flex; align-items: center; gap: 4px; }
.fd-bar em::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: #3c9c7c; }
.fd-go { font: 700 9px/1 var(--mono); font-style: normal; color: #1d5a47; border: 1px solid #a9d6c2; border-bottom-width: 2px; background: #effaf4; border-radius: 4px; padding: 4px 8px 3px; }
.fd-go.hit { animation: go-hit .45s ease-out; }
@keyframes go-hit { 0% { transform: translateY(1px); background: var(--blue); border-color: var(--blue); color: #fff; } 60% { transform: translateY(1px); background: var(--blue); border-color: var(--blue); color: #fff; } }
.fd-list { list-style: none; margin: 0; padding: 5px; display: grid; gap: 2px; }
.fd-list li { display: flex; align-items: center; gap: 9px; font-size: 12px; padding: 7px 8px; border-radius: 6px; color: #50617d; transition: background .3s, color .3s, box-shadow .3s; }
.fd-list li span { font: 700 9px/1 var(--mono); color: #8c98ad; }
.fd-list li.on { background: #e4edfc; color: var(--ink); font-weight: 700; box-shadow: inset 3px 0 var(--blue); }
.fd-list li.on span { color: var(--blue); }
.fd-followers .fd-list li { font-size: 10px; padding: 3px 7px; }
.fd-a1 .fd-list li { transition-delay: .14s; }
.fd-sm .fd-list li { transition-delay: .28s; }

/* Role views demo */
.roles-demo { width: 100%; max-width: 500px; }
.role-picks { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.role-picks button { font-size: 11px; font-weight: 700; min-height: 32px; padding: 5px 13px; border-radius: 99px; border: 1px solid #c8d6ec; background: #ffffffb3; color: #3a4f77; transition: background .2s, color .2s, border-color .2s; }
.role-picks button:hover { border-color: var(--blue); }
.role-picks button[aria-pressed=true] { background: var(--blue); border-color: var(--blue); color: #fff; }
.role-table { background: #fff; border: 1px solid #dce5f2; border-radius: 11px; box-shadow: 0 10px 24px #17376b0d; padding: 4px 16px; font-size: 11px; line-height: 1.45; color: #40526f; }
.role-table.swap { animation: view-swap .35s ease-out; }
@keyframes view-swap { from { opacity: .35; transform: translateY(4px); } }
.rt-head, .rt-row { display: grid; grid-template-columns: 44px minmax(0, 1.15fr) minmax(0, 1.15fr) minmax(0, 1.3fr) minmax(0, 1.2fr); gap: 12px; align-items: center; }
[data-role=audio] .rt-head, [data-role=audio] .rt-row, [data-role=lighting] .rt-head, [data-role=lighting] .rt-row { grid-template-columns: 44px minmax(0, 1fr) minmax(0, 1.5fr); }
[data-role=guest] .rt-head, [data-role=guest] .rt-row { grid-template-columns: 44px minmax(0, 1fr); }
.rt-row .col-start { font-size: 11px; color: #5a6b87; }
.rt-head { font: 700 8px/1 var(--mono); letter-spacing: .08em; color: #64738d; height: 30px; }
.rt-row { min-height: 50px; padding: 7px 0; border-top: 1px solid #eef1f6; }
.rt-row .col-seg { font-size: 12px; font-weight: 700; color: var(--ink); }
.rt-head .col-audio { color: #235a49; }
.rt-head .col-lx { color: #72530d; }
.rt-head .col-notes { color: #4e3b93; }
[data-role=audio] .col-lx, [data-role=audio] .col-notes,
[data-role=lighting] .col-audio, [data-role=lighting] .col-notes,
[data-role=guest] .col-audio, [data-role=guest] .col-lx, [data-role=guest] .col-notes { display: none; }
[data-role=audio] .rt-row .col-audio, [data-role=lighting] .rt-row .col-lx { font-size: 12px; color: var(--ink); }
.roles-demo { container: roles / inline-size; }
.rt-row > span { overflow-wrap: anywhere; }
@container roles (max-width: 400px) {
  .role-table { padding-inline: 12px; font-size: 10px; }
  .rt-head, .rt-row { gap: 8px; }
  .rt-head { font-size: 7px; letter-spacing: .04em; }
  .rt-row .col-seg { font-size: 11px; }
  [data-role=producer] .col-start { display: none; }
  [data-role=producer] .rt-head, [data-role=producer] .rt-row { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1.1fr) minmax(0, 1.1fr); }
}
@container roles (max-width: 270px) {
  .role-table { padding-inline: 9px; font-size: 9.5px; }
  .rt-head, .rt-row { gap: 6px; }
  .rt-row .col-seg { font-size: 10px; }
  [data-role=producer] .rt-head, [data-role=producer] .rt-row { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 1.1fr); }
}
.role-note { margin: 12px 0 0; font-size: 12px; font-weight: 600; color: #3a4f77; min-height: 20px; }

/* ---------- On show day: output wall ---------- */
.showday { background: var(--navy); color: #fff; margin-top: 92px; padding: 84px 0 80px; }
.showday .section-heading h2 { color: #fff; }
.showday .section-heading .eyebrow { color: #a9c0ec; }
.showday .section-heading > p:last-child { color: #bfcbe2; max-width: 560px; margin-inline: auto; }
.multiview { margin: 40px auto 0; max-width: 980px; background: #091226; border: 1px solid var(--navy-line); border-radius: 14px; padding: 10px; box-shadow: 0 30px 70px #0006; }
.mv-grid { display: grid; grid-template-columns: 1.55fr 1fr 1fr; grid-template-rows: auto 1fr; gap: 8px; }
.mv-tile { display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--navy-line); border-radius: 6px; overflow: hidden; background: #0c1730; }
.mv-stage { grid-row: 1 / 3; }
.mv-back { grid-column: 2 / 4; }
.mv-screen { flex: 1; position: relative; display: flex; flex-direction: column; justify-content: center; padding: 16px 18px; min-height: 108px; overflow: hidden; }
.mv-umd { display: flex; align-items: center; gap: 8px; font: 600 9px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: #c5d1e8; background: #060d1d; padding: 7px 9px; border-top: 1px solid var(--navy-line); white-space: nowrap; overflow: hidden; }
.mv-tally { font-weight: 700; min-width: 17px; text-align: center; padding: 3px 5px; border-radius: 3px; background: #24355b; color: #dbe4f6; }
.mv-tally.pgm { background: var(--tally); color: #fff; }
.mv-tally.pvw { background: #2c8a68; color: #fff; }
.mv-stage .mv-screen { align-items: center; text-align: center; padding: 30px 24px; min-height: 300px; }
.mv-title { font-size: 15px; font-weight: 600; color: #dfe7f7; }
.mv-time { font-size: clamp(60px, 9vw, 104px); font-weight: 700; line-height: 1.12; letter-spacing: -.05em; font-variant-numeric: tabular-nums; transition: color .3s; }
.mv-bar { width: 78%; height: 5px; border-radius: 5px; background: #ffffff1c; overflow: hidden; margin-top: 8px; }
.mv-bar i { display: block; height: 100%; width: 62%; border-radius: 5px; background: var(--go); transition: width .6s ease, background .3s; }
.multiview[data-step="1"] .mv-bar i { width: 14%; }
.multiview[data-step="2"] .mv-bar i { width: 2%; }
.multiview[data-step="3"] .mv-bar i { width: 100%; }
.multiview[data-zone=amber] .mv-bar i { background: var(--amber); }
.multiview[data-zone=amber] .mv-time { color: #ffd591; }
.multiview[data-zone=red] .mv-bar i { background: var(--tally-soft); }
.multiview[data-zone=red] .mv-time { color: #ff9aa1; }
.mv-msg { position: absolute; left: 14px; right: 14px; bottom: 14px; background: #f8e9dd; color: #2d2637; font-size: 14px; font-weight: 700; border-radius: 6px; padding: 9px 12px; animation: time-arrives .25s ease-out; }
.mv-msg[hidden] { display: none; }
.mv-kicker { font: 700 9px/1 var(--mono); letter-spacing: .12em; color: #9fb4dc; margin-bottom: 7px; }
.mv-back .mv-screen strong { font-size: 22px; font-weight: 700; letter-spacing: -.03em; line-height: 1.2; }
.mv-in { font-size: 12px; color: #b9c7e2; margin-top: 4px; }
.mv-prompt .mv-screen { justify-content: flex-start; padding: 0 16px; background: #05080f; min-height: 150px; }
.mv-script { font-size: 15px; font-weight: 700; line-height: 1.5; color: #fff; animation: mv-scroll 16s linear infinite; }
.mv-script p { margin: 0 0 12px; }
.multiview.is-paused .mv-script { animation-play-state: paused; }
@keyframes mv-scroll { from { transform: translateY(120px); } to { transform: translateY(-100%); } }
.mv-eyeline { position: absolute; left: 0; top: 42%; border: 6px solid transparent; border-left-color: var(--tally-soft); margin-top: -6px; }
.mv-lobby .mv-screen { justify-content: flex-start; background: #111f42; min-height: 150px; }
.mv-lobby ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 3px; font-size: 11px; color: #c9d5ec; }
.mv-lobby li { display: flex; gap: 9px; align-items: baseline; padding: 3px 6px; margin-inline: -6px; border-radius: 4px; transition: background .3s, color .3s, opacity .3s; }
.mv-lobby li .tc { font-size: 10px; color: #9fb4dc; }
.mv-lobby li.now { background: #ffffff1c; color: #fff; font-weight: 700; }
.mv-lobby li.done { opacity: .6; }
.mv-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 4px 0 6px; font-size: 11px; color: #a9b9d8; }
.mv-foot .demo-toggle { position: relative; right: auto; bottom: auto; background: transparent; border-color: #3a4f7d; color: #dbe5f8; }
.mv-foot .demo-toggle:hover { background: #ffffff14; border-color: #7f9bd0; }
.showday :focus-visible { outline-color: #fff; }
.showday-points { list-style: none; margin: 44px auto 0; padding: 0; max-width: 980px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; }
.showday-points li { border-top: 1px solid var(--navy-line); padding-top: 18px; }
.showday-points h3 { font-size: 16px; letter-spacing: -.02em; margin: 0 0 6px; color: #fff; }
.showday-points p { font-size: 13px; line-height: 1.7; color: #bfcbe2; margin: 0; }

/* ---------- For production houses ---------- */
.teams { padding-top: 88px; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 9fr); gap: 60px; align-items: start; }
.teams-intro h2 { margin: 12px 0 14px; line-height: 1.13; }
.teams-intro > p:not(.eyebrow) { font-size: 14px; line-height: 1.8; color: var(--muted); max-width: 360px; }
.teams-intro .button { margin-top: 22px; }
.teams-intro .button[hidden] { display: none; }
.teams-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.teams-grid article { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 24px 22px 26px; background: #fff; transition: background .25s; }
.teams-grid article:hover { background: #f6f9fe; }
.teams-grid svg { width: 22px; height: 22px; fill: none; stroke: var(--blue); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; display: block; }
.teams-grid h3 { font-size: 15px; letter-spacing: -.02em; margin: 15px 0 6px; }
.teams-grid p { font-size: 12.5px; line-height: 1.7; color: var(--muted); margin: 0; }

/* ---------- API flow ---------- */
.api-flow { display: flex; align-items: center; justify-content: flex-end; }
.api-flow .api-node { flex: 0 0 104px; }
.flow-line { flex: 0 0 30px; position: relative; border-top: 1px solid #a5b9dc; }
.flow-line i { position: absolute; left: 0; top: -3px; width: 5px; height: 5px; border-radius: 50%; background: var(--blue); opacity: 0; }
.api-section:not(.pending) .flow-line i { animation: flow-dot 1s .5s ease-in-out both; }
.api-section:not(.pending) .flow-out i { animation-delay: 1.5s; }
@keyframes flow-dot { 0% { opacity: 0; transform: translateX(0); } 20% { opacity: 1; } 80% { opacity: 1; } 100% { opacity: 0; transform: translateX(25px); } }
.tool-group { min-width: 0; }
.tool-label { display: block; font: 700 8px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: #5c6b85; margin-bottom: 9px; }
.tool-chips { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, auto); gap: 6px; }
.tool-chips li { font-size: 11px; font-weight: 700; color: #2b426b; background: #fff; border: 1px solid #dce3f0; border-radius: 7px; padding: 7px 11px; white-space: nowrap; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .teams { grid-template-columns: 1fr; gap: 30px; padding-top: 70px; }
  .teams-intro > p:not(.eyebrow) { max-width: 520px; }
}
@media (max-width: 1000px) {
  .feature-rows { gap: 56px; }
  .feature-row { gap: 36px; }
  .demo-frame { padding: 26px 22px 52px; min-height: 300px; }
  .fd-bar em { font-size: 0; }
  .api-section { grid-template-columns: 1fr; row-gap: 26px; }
  .api-flow { justify-content: flex-start; }
  .sync-pulse { left: -17px; }
  .showday { margin-top: 72px; padding: 68px 0 64px; }
}
@media (max-width: 760px) {
  .sync-pulse { display: none; }
  .crew-strip { padding-top: 18px; }
  .feature-rows { gap: 48px; margin-top: 36px; }
  .feature-row { grid-template-columns: 1fr; gap: 22px; }
  .feature-row:nth-child(even) .feature-copy { order: 0; }
  .feature-copy h3 { font-size: 26px; }
  .feature-copy > p:not(.feature-number) { font-size: 14px; }
  .role-picks button { min-height: 40px; padding-inline: 15px; }
  .demo-frame { min-height: 0; }
  .mv-grid { grid-template-columns: 1fr 1fr; grid-template-rows: none; }
  .mv-stage { grid-row: auto; grid-column: 1 / 3; }
  .mv-back { grid-column: 1 / 3; }
  .mv-stage .mv-screen { min-height: 230px; }
  .mv-back .mv-screen { min-height: 86px; }
  .showday-points { grid-template-columns: 1fr; gap: 18px; margin-top: 32px; }
  .teams-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
  .crew-label { flex-basis: 100%; text-align: center; font-size: 9px; }
  .crew-strip li { font-size: 10px; padding: 2px 9px; }
  .scene .tally { font-size: 8px; padding: 2px 6px 2px 5px; }
  .over-under { font-size: 8px; padding: 2px 6px; }
  .keys i { font-size: 7px; padding: 3px 4px 2px; }
  .keys { gap: 3px; }
  .demo-frame { padding: 20px 16px 50px; }
  .mini-rundown { padding-inline: 13px; font-size: 12px; }
  .mr-head, .mr-row { grid-template-columns: 52px 68px minmax(0, 1fr); }
  .follow-demo { gap: 20px; }
  .fd-followers::before { left: -10px; width: 10px; }
  .fd-followers::after { left: -20px; width: 10px; }
  .fd-list li { font-size: 11px; padding: 6px; gap: 6px; }
  .fd-followers .fd-list li { font-size: 9px; padding: 2px 5px; }
  .fd-bar { padding: 7px 8px; }
  .fd-bar b { font-size: 7px; letter-spacing: .04em; }
  .fd-bar em { font-size: 0; }
  .showday { padding: 52px 0 50px; margin-top: 56px; }
  .multiview { margin-top: 28px; padding: 7px; }
  .mv-grid { grid-template-columns: 1fr; gap: 6px; }
  .mv-stage, .mv-back { grid-column: auto; }
  .mv-stage .mv-screen { min-height: 200px; padding: 22px 14px; }
  .mv-time { font-size: 62px; }
  .mv-prompt .mv-screen, .mv-lobby .mv-screen { min-height: 126px; }
  .teams { padding-top: 54px; }
  .teams-grid { grid-template-columns: 1fr; }
  .teams-grid article { padding: 18px 18px 20px; }
  .api-flow { flex-wrap: wrap; row-gap: 18px; }
  .api-flow .api-node { flex-basis: 96px; }
  .flow-out { display: none; }
  .tool-group { flex-basis: 100%; }
  .tool-chips { grid-template-columns: repeat(3, auto); justify-content: start; }
  .tool-chips li { font-size: 10px; padding: 6px 8px; }
}
@media (max-width: 360px) {
  .tool-chips { grid-template-columns: repeat(2, auto); }
}
.api-section h2 br { display: inline; }

/* ---- Vector wordmark: follows the ink colour, so it flips with the theme ---- */
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; flex: none; }
.brand-logo { display: block; height: 25px; width: auto; aspect-ratio: 821.4 / 150.2; flex: none; overflow: visible; position: relative; top: -2px; }
.logo-ink { fill: #142c59; } .logo-of { fill: #284d8e; } .logo-lamp { fill: #d93a45; }
.api-doc-link { display: inline-flex; align-items: center; gap: 6px; margin-left: 18px; text-decoration: none; }
@media (max-width: 760px) { .brand-logo { height: 22px; } .api-doc-link { margin: 6px 0 0; } }
@media (max-width: 360px) { .brand-logo { height: 20px; } }

/* ---- Homepage FAQ ---- */
.home-faq { margin-top: 84px; }
.faq-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 30px; }
.faq-grid > div { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 22px 22px 20px; }
.faq-grid h3 { font-size: 16px; letter-spacing: -.025em; line-height: 1.3; margin: 0 0 9px; color: var(--ink); }
.faq-grid p { font-size: 13px; line-height: 1.7; color: var(--muted); margin: 0; }
.faq-grid a { color: var(--blue); font-weight: 600; text-underline-offset: 3px; }
@media (max-width: 1000px) { .faq-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .home-faq { margin-top: 60px; } .faq-grid { grid-template-columns: 1fr; } }

/* ---- Site footer (generated by build.mjs, shared with content pages) ---- */
.site-footer { display: block; margin-top: 70px; padding: 44px 0 28px; border-top: 1px solid var(--line); font-size: 13px; }
.site-footer .footer-cols { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 34px; }
.site-footer .footer-cols p { color: var(--muted); font-size: 12.5px; line-height: 1.65; margin: 14px 0 0; max-width: 280px; }
.site-footer .footer-cols h2 { font: 700 10px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 6px 0 14px; }
.site-footer .footer-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.site-footer .footer-cols li a { color: var(--ink); text-decoration: none; }
.site-footer .footer-cols li a:hover { color: var(--blue); }
.site-footer .footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--line); margin-top: 34px; padding-top: 18px; font-size: 11px; color: var(--muted); }
.site-footer .footer-bottom a { font-size: 11px; color: var(--muted); }
@media (max-width: 1000px) { .site-footer .footer-cols { grid-template-columns: repeat(3, 1fr); } .site-footer .footer-cols > div:first-child { grid-column: 1 / -1; } }
@media (max-width: 640px) { .site-footer .footer-cols { grid-template-columns: 1fr 1fr; gap: 26px; } }

/* Real product screenshots (from a trial room). The frames are dark screens in both themes. */
.realscreens { padding-top: 84px; }
.realscreens-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 36px; align-items: start; }
.realscreen { margin: 0; min-width: 0; }
.realscreen-wide { grid-column: 1 / -1; }
.realscreen img { display: block; width: 100%; height: auto; border-radius: 12px; border: 1px solid #1d2b4a; box-shadow: 0 18px 50px #10295626; background: #0a0d12; }
.realscreen figcaption { margin-top: 12px; font-size: 13px; color: var(--muted); }
.realscreen figcaption strong { color: var(--ink); font-weight: 700; }
.realscreens-cta { display: flex; justify-content: center; margin-top: 34px; }
@media (max-width: 760px) { .realscreens { padding-top: 60px; } .realscreens-grid { grid-template-columns: 1fr; gap: 26px; } }
