/* =====================================================================
   DOWNSTAGE (v3, 8 Oct 2026): dark, minimal, product-led.
   Near-black ground, hairline dividers, one overhead stage light.
   Electric blue #2F6BFF only for the primary action and live states (Downstage's
   pillar in the Roman Empire Group mark; it was red until 9 Oct 2026). Colour lives
   inside the product UIs. Funnel Display (headlines) + Funnel Sans (text),
   self-hosted, see fonts.css.
   ===================================================================== */
:root {
  --bg:    #0A0A0B;
  --bg-1:  #111113;
  --bg-2:  #17171A;
  --bg-3:  #1F1F23;
  --line:  rgb(255 255 255 / .08);
  --line-2: rgb(255 255 255 / .14);
  --fg:    #F5F5F4;
  --fg-2:  #A3A3A8;
  --fg-3:  #8A8A90;
  --accent:     #2F6BFF;
  --accent-hi:  #1F59EC;
  --accent-ink: #FFFFFF;
  --tally:      #FF4A23;   /* in-product only: the on-air light in the drawn Clear to Air UI */
  --c-y: #FFD23F; --c-b: #5AA9FF; --c-g: #3DDC97; --c-v: #C084FC; --c-p: #FF8FB1;

  --display: "Funnel Display", "Segoe UI", system-ui, sans-serif;
  --sans:    "Funnel Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --script:  "Courier New", Courier, monospace;
  --code:    ui-monospace, "Cascadia Mono", Consolas, monospace;

  --gut: 20px;
  --max: 1180px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: dark;
}
@media (min-width: 700px)  { :root { --gut: 32px; } }
@media (min-width: 1100px) { :root { --gut: 48px; } }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; overflow-x: clip;
  scrollbar-color: #2A2A2F var(--bg); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--fg); font: 400 1.0625rem/1.6 var(--sans);
  overflow-x: clip; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-weight: 600; text-wrap: balance; }
b, strong { font-weight: 600; color: var(--fg); }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; border-radius: 6px; }
.sr, .skip:not(:focus) { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip:focus { position: fixed; top: 12px; left: 12px; z-index: 100; background: var(--fg); color: var(--bg); padding: 10px 16px; border-radius: 8px; }
.wrap { width: 100%; max-width: calc(var(--max) + var(--gut) * 2); margin-inline: auto; padding-inline: var(--gut); }
.wrap--wide { max-width: calc(1320px + var(--gut) * 2); }
.fine { font-size: .9rem; color: var(--fg-3); }

/* ---------- type ---------- */
.h1 { font: 600 clamp(2.9rem, 7vw, 6.2rem)/.98 var(--display); letter-spacing: -.04em; }
.h1--page { font-size: clamp(2.6rem, 6vw, 5.2rem); }
.h2 { font: 600 clamp(2.1rem, 4.4vw, 3.7rem)/1.02 var(--display); letter-spacing: -.035em; }
.h3 { font: 600 clamp(1.5rem, 2.4vw, 2rem)/1.1 var(--display); letter-spacing: -.025em; }
.lede { font-size: clamp(1.08rem, 1.5vw, 1.22rem); line-height: 1.55; color: var(--fg-2); max-width: 56ch; }

/* ---------- controls ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 22px;
  border-radius: 999px; border: 1px solid transparent; font: 500 .98rem/1 var(--sans); text-decoration: none; cursor: pointer;
  transition: background-color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease); }
.btn .arr { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.btn:hover .arr { transform: translateX(2px); }
.btn:active { transform: scale(.98); }
.btn--red { background: var(--accent); color: var(--accent-ink); }
.btn--red:hover { background: var(--accent-hi); }
.btn--ghost { background: rgb(255 255 255 / .03); border-color: var(--line-2); color: var(--fg); }
.btn--ghost:hover { background: rgb(255 255 255 / .08); border-color: rgb(255 255 255 / .22); }
.btn--sm { height: 36px; padding: 0 15px; font-size: .9rem; }
.link { display: inline-flex; align-items: center; gap: 6px; color: var(--fg); text-decoration: none; font-weight: 500; }
.link .arr { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.link:hover .arr { transform: translateX(3px); }
.link:hover { text-decoration: underline; }

.st { display: inline-flex; align-items: center; gap: 7px; font: 500 .8rem/1 var(--sans); color: var(--fg-2);
  border: 1px solid var(--line-2); border-radius: 999px; padding: 6px 11px 6px 10px; white-space: nowrap; margin: 0; }
.st i { width: 7px; height: 7px; border-radius: 50%; flex: none; }
.st--live i { background: var(--accent); box-shadow: 0 0 0 3px rgb(47 107 255 / .22); }
.st--build i, .st--design i { border: 1.5px solid var(--fg-3); }
.demo { margin-left: auto; font: 500 .7rem/1 var(--sans); color: var(--fg-3); border: 1px solid var(--line-2); border-radius: 999px; padding: 4px 9px; white-space: nowrap; }

/* ---------- notice + header ---------- */
.notice { margin: 0; display: flex; align-items: center; justify-content: center; gap: 9px; padding: 8px var(--gut);
  font-size: .8rem; color: var(--fg-3); border-bottom: 1px solid var(--line); text-align: center; }
.notice i { width: 6px; height: 6px; border-radius: 50%; background: var(--fg-3); flex: none; }
.hdr { position: sticky; top: 0; z-index: 50; background: rgb(10 10 11 / .74);
  -webkit-backdrop-filter: saturate(140%) blur(16px); backdrop-filter: saturate(140%) blur(16px); border-bottom: 1px solid var(--line); }
.hdr__in { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--fg); text-decoration: none; flex: none; }
.brand__mk { width: 30px; height: 15px; }
.brand__wm { height: 21px; width: auto; }
.mk__dot { fill: var(--accent); }
.nav { display: flex; align-items: center; gap: 28px; }
.nav ul { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.nav ul a { font-size: .92rem; color: var(--fg-2); text-decoration: none; transition: color .2s; }
.nav ul a:hover, .nav ul a[aria-current] { color: var(--fg); }
.burger { display: none; }
@media (max-width: 899px) {
  .burger { display: grid; place-content: center; gap: 6px; width: 44px; height: 44px; padding: 0; background: none; border: 0; color: var(--fg); cursor: pointer; }
  .burger i { display: block; width: 20px; height: 1.6px; background: currentColor; transition: transform .3s var(--ease); }
  .burger[aria-expanded="true"] i:first-of-type { transform: translateY(3.8px) rotate(45deg); }
  .burger[aria-expanded="true"] i:last-of-type { transform: translateY(-3.8px) rotate(-45deg); }
  .nav { position: absolute; top: 100%; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 20px;
    padding: 18px var(--gut) 26px; background: var(--bg); border-bottom: 1px solid var(--line); }
  .nav[data-open] { display: flex; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav ul a { display: block; padding: 13px 0; font-size: 1.05rem; color: var(--fg); border-bottom: 1px solid var(--line); }
  .nav .btn { height: 46px; }
}

/* ---------- the overhead light ---------- */
.light { position: absolute; left: 50%; top: 0; width: min(1100px, 100%); height: 720px; transform: translateX(-50%); pointer-events: none; z-index: 0; }
.light::before { content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 34% 100% at 50% 0%, rgb(255 250 240 / .10), rgb(255 250 240 / .045) 45%, transparent 100%);
  -webkit-mask-image: linear-gradient(#000 30%, transparent 92%); mask-image: linear-gradient(#000 30%, transparent 92%); }
.light::after { content: ""; position: absolute; left: 50%; top: -60px; width: 340px; height: 120px; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgb(255 250 240 / .22), transparent); }

/* ---------- hero ---------- */
.hero { position: relative; padding: clamp(72px, 12vh, 136px) 0 clamp(64px, 8vw, 110px); overflow: hidden; }
.hero__in { position: relative; z-index: 1; text-align: center; display: grid; justify-items: center; }
.hero .h1 { max-width: 13.5ch; }
.stop { position: relative; display: inline-block; width: .15em; height: .15em; margin-left: .035em; border-radius: 50%; background: var(--accent); vertical-align: baseline; }
.stop::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--accent); animation: pulse 2.4s var(--ease) infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: .7; } 80%, 100% { transform: scale(3.4); opacity: 0; } }
.hero .lede { margin: 26px auto 0; }
.hero__act { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }

/* ---------- the product stage ---------- */
.stage { position: relative; z-index: 1; margin-top: clamp(56px, 7vw, 88px); }
.stage__tabs { display: flex; width: max-content; margin: 0 auto 18px; padding: 4px; gap: 2px; border-radius: 999px;
  background: var(--bg-2); border: 1px solid var(--line); }
.stage__tabs button { border: 0; background: none; color: var(--fg-2); font: 500 .9rem/1 var(--sans); padding: 10px 18px; border-radius: 999px; cursor: pointer;
  transition: background-color .3s var(--ease), color .3s; }
.stage__tabs button:hover { color: var(--fg); }
.stage__tabs .is-on, .stage__tabs .is-on:hover { background: var(--fg); color: var(--bg); }
.stage__frame { position: relative; display: grid; border-radius: 18px; border: 1px solid var(--line-2); border-top-color: rgb(255 255 255 / .24);
  background: var(--bg-1); overflow: hidden;
  box-shadow: 0 50px 120px -50px rgb(0 0 0 / .95), 0 1px 0 rgb(255 255 255 / .10) inset; }
.stage__frame::after { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 2;
  background: radial-gradient(ellipse 50% 40% at 50% 0%, rgb(255 250 240 / .06), transparent 70%); }
.stage::after { content: ""; position: absolute; left: 6%; right: 6%; bottom: -70px; height: 120px; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse 50% 50% at 50% 30%, rgb(255 250 240 / .07), transparent 70%); }
.stage__pane { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .6s var(--ease), visibility 0s .6s; }
.stage__pane.is-on { opacity: 1; visibility: visible; transition: opacity .6s var(--ease); }
.stage__pane > .app { height: 100%; display: flex; flex-direction: column; }
.stage__pane .cue, .stage__pane .cta { flex: 1; }

/* ---------- drawn apps ---------- */
.app { font: 400 13px/1.4 var(--sans); color: var(--fg); text-align: left; }
.app__bar { display: flex; align-items: center; gap: 12px; height: 42px; padding: 0 16px; border-bottom: 1px solid var(--line); background: #0D0D0F; }
.app__name { font-weight: 600; }
.app__file { color: var(--fg-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app__lbl { font: 500 .72rem/1 var(--sans); color: var(--fg-3); margin: 4px 0 12px; }
.c-y { --c: var(--c-y); } .c-b { --c: var(--c-b); } .c-g { --c: var(--c-g); } .c-v { --c: var(--c-v); } .c-p { --c: var(--c-p); }

.cue, .cta { display: grid; grid-template-columns: 224px minmax(0, 1fr) 236px; height: clamp(440px, 42vw, 560px); }
.cue__side, .cta__side { border-right: 1px solid var(--line); padding: 16px 12px; overflow: hidden; }
.cue__day, .cta__seats { border-left: 1px solid var(--line); padding: 16px; overflow: hidden; }
.cue__side ol, .rds, .seats { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.cue__sc { display: flex; align-items: center; gap: 9px; padding: 8px 9px; border-radius: 8px; color: var(--fg-2); }
.cue__sc i { width: 8px; height: 8px; border-radius: 2px; background: var(--c); flex: none; }
.cue__sc b { font-weight: 500; color: var(--fg-3); width: 12px; font-variant-numeric: tabular-nums; }
.cue__sc span { font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cue__sc.is-on { background: var(--bg-3); color: var(--fg); }
.cue__canvas { display: flex; justify-content: center; align-items: flex-start; padding: 26px 20px 0; overflow: hidden;
  background: radial-gradient(rgb(255 255 255 / .05) 1px, transparent 1px) 0 0 / 16px 16px, #0C0C0E; }
.page { width: min(100%, 390px); aspect-ratio: 1 / 1.25; background: #FAFAF9; color: #141414; border-radius: 3px;
  padding: 36px 30px 20px 46px; font: 400 10.6px/1.18 var(--script); box-shadow: 0 30px 60px -20px rgb(0 0 0 / .8); overflow: hidden; position: relative; }
.page p { margin: 0 0 1.05em; }
.pg__no { position: absolute; top: 18px; right: 26px; }
.pg__sl { font-weight: 700; }
.pg__ch { margin: 0 0 0 36% !important; }
.pg__pa { margin: 0 0 0 28% !important; }
.pg__dl { margin: 0 16% 1.05em 18% !important; }
.pg__tr { text-align: right; }
.day { display: flex; align-items: baseline; gap: 8px; margin-bottom: 14px; }
.day b { font: 600 28px/1 var(--display); letter-spacing: -.02em; }
.day span { color: var(--fg-3); }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 8px 12px; margin: 0 0 22px; padding: 12px; border-radius: 10px; background: var(--bg-2); }
.kv dt { color: var(--fg-3); } .kv dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { font: 500 11.5px/1 var(--sans); padding: 6px 9px; border-radius: 7px; color: var(--c); background: color-mix(in srgb, var(--c) 14%, transparent); }

.rd { display: flex; justify-content: space-between; align-items: center; padding: 9px 10px; border-radius: 8px; color: var(--fg-2); }
.rd em { font: 500 11px/1 var(--sans); font-style: normal; color: var(--fg-3); }
.rd.is-done span { color: var(--fg-3); }
.rd.is-now { background: rgb(255 74 35 / .13); color: var(--fg); }
.rd.is-now em { color: var(--tally); }
.rd.is-next em { color: var(--c-b); }
.cta__out { display: grid; place-items: center; padding: 24px; background: #0C0C0E; }
.out { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; border: 1px solid var(--line);
  background: radial-gradient(60% 80% at 15% 100%, rgb(61 220 151 / .22), transparent 70%),
              radial-gradient(60% 80% at 85% 100%, rgb(90 169 255 / .22), transparent 70%), #060607; }
.out__tally { position: absolute; top: 12px; left: 12px; display: inline-flex; align-items: center; gap: 7px; padding: 6px 10px; border-radius: 6px;
  background: var(--tally); color: #160603; font: 600 11px/1 var(--sans); }
.out__tally i { width: 6px; height: 6px; border-radius: 50%; background: #160603; }
.out__tally span { font-variant-numeric: tabular-nums; opacity: .8; }
.bug { position: absolute; top: 12px; right: 12px; display: flex; align-items: stretch; border-radius: 7px; overflow: hidden; font-variant-numeric: tabular-nums; background: rgb(10 10 11 / .85); border: 1px solid var(--line-2); }
.bug b { font: 600 20px/1 var(--display); padding: 7px 10px; }
.bug__t { font: 600 11px/1 var(--sans); padding: 0 9px; display: grid; place-items: center; color: var(--bg); letter-spacing: .02em; }
.bug__t--a { background: var(--c-g); } .bug__t--b { background: var(--c-b); }
.bug__m { font: 500 10px/1 var(--sans); color: var(--fg-3); display: grid; place-items: center; padding: 0 4px; }
.out__lower { position: absolute; left: 16px; bottom: 16px; display: grid; gap: 3px; padding: 10px 14px; border-radius: 8px; background: var(--fg); color: var(--bg); }
.out__lower b { font: 600 16px/1.1 var(--display); color: var(--bg); }
.out__lower span { font-size: 11.5px; color: #3A3A3F; }
.seats li { display: grid; grid-template-columns: 28px 1fr; grid-template-rows: auto auto; column-gap: 10px; padding: 8px 6px; border-radius: 8px; color: var(--fg); }
.seats li em { grid-column: 2; font-style: normal; font-size: 11.5px; color: var(--fg-3); }
.av { grid-row: span 2; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font: 600 11px/1 var(--sans); font-style: normal; color: var(--bg); }
.av--1 { background: var(--c-y); } .av--2 { background: var(--c-v); } .av--3 { background: var(--c-p); }
.keys { display: flex; align-items: center; gap: 8px; margin: 18px 0 0; padding: 10px 12px; border-radius: 10px; background: var(--bg-2); color: var(--fg-2); font-size: 12px; }
.ic { width: 15px; height: 15px; color: var(--c-g); flex: none; }

/* ---------- product sections + bento ---------- */
.intro { padding: clamp(96px, 12vw, 160px) 0 0; }
.intro__h span { color: var(--fg-3); }
.prod { padding: clamp(56px, 7vw, 96px) 0 clamp(24px, 3vw, 40px); }
.prod__head { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 24px 64px; align-items: start; margin-bottom: 40px; }
.prod__name { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 18px; }
.prod__one { font: 500 1.22rem/1.4 var(--sans); color: var(--fg) !important; }
.prod__copy p { color: var(--fg-2); max-width: 60ch; }
.prod__origin { font-size: .92rem; color: var(--fg-3) !important; margin: 0; }
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.tile { position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: space-between; min-height: 280px;
  padding: 22px; border-radius: 18px; background: var(--bg-1); border: 1px solid var(--line); overflow: hidden; }
.tile--wide, .tile:nth-child(4) { grid-column: span 2; }
.tile p { margin: 18px 0 0; font-size: 1rem; color: var(--fg); max-width: 38ch; }
.tile__vis { flex: 1; display: grid; place-items: center; min-height: 150px; }
[data-glow]::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s var(--ease);
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgb(255 255 255 / .06), transparent 60%); }
[data-glow]:hover::before { opacity: 1; }

.v-pages { position: relative; width: 260px; height: 150px; }
.vp { position: absolute; top: 4px; left: 20px; width: 120px; height: 150px; background: #FAFAF9; border-radius: 3px; padding: 16px 12px; display: grid; align-content: start; gap: 7px;
  transform: rotate(-3deg); box-shadow: 0 20px 30px -14px rgb(0 0 0 / .7); }
.vp--2 { left: 124px; top: 0; transform: rotate(2.5deg); }
.vp__l { height: 4px; border-radius: 2px; background: #D4D4D0; }
.vp__l--s { width: 60%; }
.vp__more { font: 700 8.5px/1 var(--script); color: #141414; justify-self: center; }
.vp__n { position: absolute; top: 6px; right: 8px; font: 400 8px/1 var(--script); color: #141414; }
.v-fountain { display: flex; align-items: center; gap: 14px; }
.v-fountain code { display: block; font: 400 11px/1.45 var(--code); color: var(--fg-2); background: var(--bg-2); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; }
.v-fountain .arr { width: 18px; height: 18px; color: var(--fg-3); }
.pdf { display: grid; place-items: end center; width: 52px; height: 66px; padding-bottom: 8px; border-radius: 4px; background: #FAFAF9; color: #B92E0E; font: 700 11px/1 var(--sans); }
.v-call { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--line); }
.v-call span { width: 10px; height: 34px; border-radius: 3px; background: var(--c); }
.v-call b { font: 600 18px/1 var(--display); }
.v-call em { font-style: normal; color: var(--fg-2); font-size: 13px; padding-left: 14px; border-left: 1px solid var(--line-2); }
.v-devices { position: relative; width: 210px; height: 130px; }
.dv { position: absolute; border: 1.5px solid #4A4A50; border-radius: 10px; background: var(--bg-2); }
.dv--desk { left: 0; top: 0; width: 170px; height: 112px; }
.dv__pg { position: absolute; background: #FAFAF9; border-radius: 2px; padding: 7px 6px; display: grid; align-content: start; gap: 4px; }
.dv--desk .dv__pg { left: 50%; top: 12px; width: 60px; height: 82px; transform: translateX(-50%); }
.dv--phone .dv__pg { left: 7px; right: 7px; top: 12px; bottom: 18px; padding: 5px 4px; gap: 3px; }
.dv__pg i { display: block; height: 3px; border-radius: 2px; background: #CFCFCB; }
.dv__pg i:nth-child(2n) { width: 62%; margin-left: 24%; }
.dv__pg b { display: block; height: 3px; width: 70%; border-radius: 2px; background: #141414; }
.dv--phone { right: 0; bottom: 0; width: 52px; height: 100px; border-radius: 12px; background: var(--bg-3); }

.v-invite { display: flex; align-items: center; }
.inv { font: 400 12.5px/1 var(--code); color: var(--fg-2); padding: 11px 14px; border-radius: 999px; background: var(--bg-2); border: 1px solid var(--line-2); margin-right: 12px; }
.inv b { color: var(--fg); font-weight: 500; }
.v-invite .av { width: 34px; height: 34px; margin-left: -8px; border: 2px solid var(--bg-1); font-size: 11px; }
.v-perm { border-collapse: collapse; font-size: 12.5px; }
.v-perm th { font-weight: 500; color: var(--fg-3); padding: 0 12px 10px; }
.v-perm td { padding: 8px 12px; border-top: 1px solid var(--line); text-align: center; color: var(--fg-2); }
.v-perm td:first-child { text-align: left; color: var(--fg); padding-left: 0; }
.v-perm .ck { width: 15px; height: 15px; color: var(--c-g); margin: auto; }
.v-perm .x { width: 13px; height: 13px; color: #5C5C62; margin: auto; }
.v-keys { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--line); font-size: 13px; }
.v-keys .ic { width: 18px; height: 18px; }
.v-keys b { letter-spacing: .1em; color: var(--fg-2); font-weight: 400; }
.v-keys em { font-style: normal; color: var(--fg-3); font-size: 12px; padding-left: 12px; border-left: 1px solid var(--line-2); }
.v-tests { display: grid; gap: 12px; justify-items: start; min-width: 280px; }
.runs { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; font: 400 12px/1.3 var(--code); color: var(--fg-2); }
.runs li { display: grid; grid-template-columns: 16px 1fr auto; gap: 8px; align-items: center; }
.runs .ck { margin: 0; width: 14px; height: 14px; }
.runs em { font-style: normal; color: var(--fg-3); }
.ok { display: inline-flex; align-items: center; gap: 7px; color: var(--c-g); font: 500 13px/1 var(--sans); padding: 8px 12px; border-radius: 999px; background: rgb(61 220 151 / .1); }
.ok .ck { width: 15px; height: 15px; margin: 0; }
.bars { display: flex; align-items: flex-end; gap: 5px; height: 48px; }
.bars i { width: 9px; border-radius: 3px; background: rgb(61 220 151 / .55); }
.bars i:nth-child(1) { height: 40%; } .bars i:nth-child(2) { height: 70%; } .bars i:nth-child(3) { height: 55%; } .bars i:nth-child(4) { height: 90%; }
.bars i:nth-child(5) { height: 45%; } .bars i:nth-child(6) { height: 75%; } .bars i:nth-child(7) { height: 60%; } .bars i:nth-child(8) { height: 100%; }
.bars i:nth-child(9) { height: 50%; } .bars i:nth-child(10) { height: 80%; } .bars i:nth-child(11) { height: 65%; } .bars i:nth-child(12) { height: 85%; }

/* ---------- open source + support ---------- */
.free { display: inline-flex; align-items: center; font: 500 .8rem/1 var(--sans); color: var(--fg); background: rgb(255 255 255 / .07);
  border: 1px solid var(--line-2); border-radius: 999px; padding: 6px 11px; white-space: nowrap; }
.lic { font-size: .8rem; color: var(--fg-3); white-space: nowrap; }
.site-link { margin: 18px 0 0; }
.site-link + .repo { margin-top: 10px; }
.site-link--soon { font-size: .92rem; color: var(--fg-3); }
.repo { display: flex; align-items: center; gap: 8px; margin: 18px 0 0; font-size: .92rem; }
.repo .link { gap: 8px; }
.repo--soon { color: var(--fg-3); }
.repo--soon a { color: var(--fg-2); text-decoration: underline; text-underline-offset: .2em; }
.repo--soon a:hover { color: var(--fg); }
.gh { width: 16px; height: 16px; flex: none; }
.support { padding: clamp(80px, 10vw, 136px) 0 clamp(24px, 3vw, 40px); }
.ways { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.way { position: relative; isolation: isolate; display: flex; flex-direction: column; padding: 28px; border-radius: 18px; background: var(--bg-1); border: 1px solid var(--line); overflow: hidden; }
.way h3 { font: 600 1.25rem/1.2 var(--display); letter-spacing: -.02em; margin-bottom: 10px; }
.way p { color: var(--fg-2); margin: 0 0 24px; }
.way__act { margin-top: auto; }
.soon { display: inline-flex; align-items: center; height: 36px; padding: 0 15px; border-radius: 999px; border: 1px dashed var(--line-2); color: var(--fg-3); font-size: .9rem; }

/* ---------- arcade ---------- */
.arc { padding: clamp(40px, 5vw, 64px) 0 clamp(56px, 7vw, 96px); }
.arcade { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; padding: clamp(26px, 4vw, 48px);
  border-radius: 22px; background: var(--bg-1); border: 1px solid var(--line); }
.arcade__copy p { color: var(--fg-2); max-width: 52ch; }
.arcade__copy .prod__name { margin-bottom: 18px; }
.games { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.games li { position: relative; aspect-ratio: 1; border-radius: 12px; display: grid; place-items: center; color: var(--c);
  background: color-mix(in srgb, var(--c) 13%, var(--bg-2)); transition: transform .35s var(--ease); }
.games li:hover { transform: translateY(-3px); }
.games svg { width: 46%; height: auto; }
.games b { position: absolute; right: 8px; bottom: 7px; font: 500 11.5px/1 var(--sans); color: var(--fg-2); }

/* ---------- facts ---------- */
.facts { padding: clamp(72px, 9vw, 128px) 0; border-block: 1px solid var(--line); }
.facts__line { font: 500 clamp(1.5rem, 3vw, 2.45rem)/1.3 var(--display); letter-spacing: -.02em; color: var(--fg-3); max-width: 30em; margin: 0; }
.facts__line b { color: var(--fg); font-weight: 600; }
.facts__line .st { font-size: .8rem; vertical-align: .35em; letter-spacing: 0; font-style: normal; }
.facts__note { margin: 28px 0 0; }

/* ---------- rows: work for others ---------- */
.others { padding: clamp(80px, 10vw, 136px) 0 clamp(40px, 5vw, 64px); }
.others--first { padding-top: 0; }
.sec-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px 64px; align-items: end; margin-bottom: 40px; }
.sec-head p { color: var(--fg-2); max-width: 54ch; margin: 0; }
.rows { border-top: 1px solid var(--line); }
.row { border-bottom: 1px solid var(--line); }
.row summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr) 92px 20px; gap: 12px 28px; align-items: center; padding: 22px 0; }
.row summary::-webkit-details-marker { display: none; }
.row__name { font-weight: 500; color: var(--fg); }
.row__one { color: var(--fg-2); font-size: .97rem; }
.row summary:hover .row__name { text-decoration: underline; text-underline-offset: .25em; }
.row summary .st { justify-self: start; }
.row__tg { position: relative; width: 14px; height: 14px; justify-self: end; }
.row__tg::before, .row__tg::after { content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 1.6px; background: var(--fg-2); transition: transform .35s var(--ease); }
.row__tg::after { transform: rotate(90deg); }
.row[open] .row__tg::after { transform: rotate(0deg); }
.row__body { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 0 56px; padding: 0 0 30px; }
.row__body p { color: var(--fg-2); max-width: 62ch; }
.row__for { font-size: .92rem; color: var(--fg-3) !important; }
.cks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.cks li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; align-items: start; font-size: .97rem; }
.ck { width: 16px; height: 16px; color: var(--c-g); margin-top: 4px; }
.others__act { margin-top: 36px; }
.others__fine { margin-top: 26px; }

/* ---------- how we build ---------- */
.how { padding: clamp(80px, 10vw, 136px) 0; }
.how--first { padding-top: 0; }
.how__in { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 40px 80px; align-items: start; }
.how__head { position: sticky; top: 110px; }
.how__head p { color: var(--fg-2); max-width: 44ch; margin: 18px 0 22px; }
.prs { border-top: 1px solid var(--line); }
.pr { padding: 24px 0; border-bottom: 1px solid var(--line); }
.pr h3 { font: 600 1.08rem/1.3 var(--sans); }
.pr p { color: var(--fg-2); margin: 8px 0 0; max-width: 60ch; }
.prs--grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 56px; border-top: 0; }
.prs--grid .pr { border-top: 1px solid var(--line); border-bottom: 0; }

/* ---------- services + tests ---------- */
.kinds, .tests { padding: clamp(72px, 9vw, 120px) 0; }
.kinds > .wrap > .h2 { margin-bottom: 36px; }
.svc { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.svc__i, .test, .card-status { position: relative; isolation: isolate; padding: 28px; border-radius: 18px; background: var(--bg-1); border: 1px solid var(--line); overflow: hidden; }
.svc__i h3, .test h3 { font: 600 1.12rem/1.3 var(--sans); margin-bottom: 8px; }
.svc__i p, .test p { color: var(--fg-2); margin: 0; }
.ttable { width: 100%; border-collapse: collapse; border-top: 1px solid var(--line); }
.ttable th, .ttable td { text-align: left; vertical-align: top; padding: 24px 24px 24px 0; border-bottom: 1px solid var(--line); }
.ttable thead th { font: 500 .82rem/1 var(--sans); color: var(--fg-3); padding: 16px 24px 16px 0; }
.ttable tbody th { font: 600 1rem/1.5 var(--sans); width: 22%; }
.ttable tbody th span { font-weight: 400; color: var(--fg-2); }
.ttable td:nth-child(2) { font-weight: 500; width: 24%; }
.ttable td:last-child { color: var(--fg-2); padding-right: 0; }

/* ---------- sub-page tops ---------- */
.top { position: relative; overflow: hidden; padding: clamp(80px, 12vh, 136px) 0 clamp(56px, 7vw, 96px); }
.top__in { position: relative; z-index: 1; display: grid; justify-items: center; text-align: center; }
.top .h1 { max-width: 15ch; }
.top .lede { margin: 24px auto 0; }
.prod-stage .stage { margin-top: 0; }
.prod-stage { padding-bottom: clamp(24px, 4vw, 48px); }
.top--404 { min-height: 72vh; display: grid; align-content: center; }
.top--404 .btn { margin-top: 30px; }
.oops__mk, .close__mk { color: var(--fg); margin: 0 auto 30px; }
.bigmark { width: 112px; height: 56px; }

/* ---------- contact ---------- */
.reach { padding: 0 0 clamp(96px, 12vw, 150px); }
.reach__in { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 48px 80px; align-items: start; }
.card-status .st { margin-bottom: 22px; }
.card-status .h3 { margin: 26px 0 10px; }
.card-status .h3:first-of-type { margin-top: 0; }
.card-status p { color: var(--fg-2); }
.reach__list .h2 { margin-bottom: 28px; }

/* ---------- close ---------- */
.close { position: relative; overflow: hidden; padding: clamp(110px, 14vw, 180px) 0 clamp(100px, 12vw, 160px); border-top: 1px solid var(--line); text-align: center; }
.close::before { content: ""; position: absolute; left: 50%; top: 0; width: 900px; height: 520px; transform: translateX(-50%); pointer-events: none;
  background: radial-gradient(50% 60% at 50% 0%, rgb(255 250 240 / .08), transparent 75%); }
.close__in { position: relative; display: grid; justify-items: center; }
.close__h { font: 600 clamp(2.6rem, 6vw, 5rem)/1 var(--display); letter-spacing: -.04em; max-width: 13ch; }
.close__in p { color: var(--fg-2); max-width: 52ch; margin: 22px auto 0; font-size: 1.1rem; }
.close__act { margin-top: 34px; }

/* ---------- footer ---------- */
.ftr { border-top: 1px solid var(--line); padding: 64px 0 28px; }
.ftr__top { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr); gap: 40px; }
.ftr__brand .fine { max-width: 36ch; margin-top: 18px; }
.ftr__h { font-size: .82rem; color: var(--fg-3); margin-bottom: 14px; }
.ftr nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ftr nav a { font-size: .93rem; color: var(--fg-2); text-decoration: none; }
.ftr nav a:hover { color: var(--fg); }
.ftr address { font-style: normal; font-size: .93rem; color: var(--fg-2); }
.ftr address p { margin-bottom: 8px; }
.ftr__bot { display: flex; justify-content: space-between; gap: 20px; margin-top: 56px; padding-top: 20px; border-top: 1px solid var(--line); font-size: .82rem; color: var(--fg-3); }
.ftr__bot p { margin: 0; }

/* ---------- motion ---------- */
.motion [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.motion [data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .motion [data-reveal] { opacity: 1; transform: none; transition: none; }
  .stop::after { animation: none; }
  .stage__pane, .btn, .games li { transition: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .cue, .cta { grid-template-columns: 200px minmax(0, 1fr); }
  .cue__day, .cta__seats { display: none; }
}
@media (max-width: 899px) {
  .prod__head, .sec-head, .how__in, .row__body, .reach__in, .arcade { grid-template-columns: 1fr; }
  .how__head { position: static; }
  .ways { grid-template-columns: 1fr; }
  .ttable thead { display: none; }
  .ttable tr { display: grid; padding: 20px 0; border-bottom: 1px solid var(--line); }
  .ttable th, .ttable td { border: 0; padding: 0 0 8px; width: auto !important; }
  .ftr__top { grid-template-columns: 1fr 1fr; }
  .ftr__brand { grid-column: 1 / -1; }
}
@media (max-width: 699px) {
  .cue, .cta { grid-template-columns: 1fr; height: auto; }
  .cue__side, .cta__side { display: none; }
  .cue__canvas { padding: 18px 14px 0; height: 360px; }
  .page { padding: 26px 18px 14px 26px; font-size: 9.5px; }
  .cta__out { padding: 14px; }
  .stage__pane .out { aspect-ratio: auto; height: 100%; min-height: 300px; }
  .bug { top: 46px; left: 12px; right: auto; }
  .notice { display: block; }
  .notice i { display: inline-block; vertical-align: 1px; margin-right: 8px; }
  .app__file { display: none; }
  .bento, .svc, .prs--grid, .ways { grid-template-columns: 1fr; }
  .tile--wide, .tile:nth-child(4) { grid-column: auto; }
  .tile { min-height: 240px; }
  .v-pages { transform: scale(.86); }
  .row summary { grid-template-columns: minmax(0, 1fr) 18px; gap: 8px 12px; }
  .row__name { grid-column: 1; }
  .row__tg { grid-column: 2; grid-row: 1; }
  .row__one { grid-column: 1 / -1; }
  .row summary .st { grid-column: 1 / -1; justify-self: start; }
  .games { grid-template-columns: repeat(4, 1fr); }
  .ftr__top { grid-template-columns: 1fr; }
  .ftr__bot { flex-direction: column; gap: 6px; }
  .bug b { font-size: 16px; padding: 5px 7px; }
  .out__lower { left: 10px; bottom: 10px; padding: 7px 10px; }
}
