:root {
  --bg: #08090a;
  --card: #111214;
  --card-2: #17181b;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --text: #f4f4f5;
  --muted: #a1a1aa;
  --faint: #6b6b74;
  --green: #12b24a;
  --green-soft: #3ddc78;
  --yellow: #ffd21f;
  --red: #ff453a;
  --blue: #5aa9ff;
  --radius: 28px;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.55 Inter, -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; }
img { display: block; }
h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -.02em; }
p { margin: 0; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.cap { font-size: .72em; font-weight: 600; letter-spacing: .08em; color: var(--muted); }

/* ------------------------------------------------------------------ nav -- */
.nav-wrap {
  position: fixed; inset: 16px 0 auto; z-index: 10;
  display: flex; justify-content: center; padding: 0 16px; pointer-events: none;
}
.nav {
  pointer-events: auto;
  display: flex; align-items: center; gap: 4px;
  padding: 6px 6px 6px 8px;
  background: rgba(24, 25, 28, .72);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border: 1px solid var(--line-2);
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
}
.brand {
  display: flex; align-items: center; gap: 8px;
  padding: 4px 14px 4px 4px; font-weight: 650; letter-spacing: -.01em; text-decoration: none;
}
.brand img { border-radius: 7px; }
.nav-link {
  padding: 8px 14px; border-radius: 12px;
  color: var(--muted); font-size: 15px; text-decoration: none; transition: color .15s, background .15s;
}
.nav-link:hover { color: var(--text); background: rgba(255, 255, 255, .06); }
.nav-cta {
  margin-left: 8px; padding: 8px 18px; border-radius: 12px;
  background: #fff; color: #000; font-size: 15px; font-weight: 600; text-decoration: none;
}
.nav-cta:hover { background: #e4e4e7; }

/* ----------------------------------------------------------------- hero -- */
.hero {
  position: relative;
  padding: 160px 16px 40px;
  text-align: center;
  background:
    radial-gradient(60% 50% at 50% 0%, rgba(18, 178, 74, .16), transparent 70%),
    radial-gradient(40% 40% at 80% 10%, rgba(255, 210, 31, .06), transparent 70%);
}
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 4px 12px 4px 4px; margin-bottom: 28px;
  border: 1px solid var(--line-2); border-radius: 999px;
  background: rgba(255, 255, 255, .04);
  color: var(--muted); font-size: 14px; text-decoration: none;
}
.badge-tag {
  padding: 2px 8px; border-radius: 999px;
  background: var(--green); color: #fff; font-size: 12px; font-weight: 600;
}
h1 {
  max-width: 900px; margin: 0 auto;
  font-size: clamp(42px, 7.4vw, 92px); line-height: 1.02; letter-spacing: -.045em; font-weight: 750;
  background: linear-gradient(180deg, #fff 30%, #a7a7ae);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead {
  max-width: 620px; margin: 24px auto 0;
  color: var(--muted); font-size: clamp(17px, 1.6vw, 19px); line-height: 1.55;
}
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 36px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 48px; padding: 0 24px; border-radius: 14px;
  font-weight: 600; font-size: 16px; text-decoration: none; transition: background .15s, border-color .15s;
}
.btn-light { background: #fff; color: #000; }
.btn-light:hover { background: #e4e4e7; }
.btn-ghost { border: 1px solid var(--line-2); color: var(--text); background: rgba(255, 255, 255, .03); }
.btn-ghost:hover { border-color: rgba(255, 255, 255, .3); }
.hero-meta { margin-top: 14px; color: var(--faint); font-size: 14px; }

/* the app window around the overlay */
.window {
  position: relative;
  max-width: 1080px; margin: 72px auto 0;
  border-radius: 16px; overflow: hidden;
  background: #1a1b1e;
  border: 1px solid var(--line-2);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, .6),
    0 40px 120px -20px rgba(18, 178, 74, .35),
    0 30px 60px rgba(0, 0, 0, .6);
  text-align: left;
}
.window-bar {
  position: relative; display: flex; align-items: center; height: 36px; padding: 0 14px;
  background: linear-gradient(#2a2b2f, #222326); border-bottom: 1px solid rgba(0, 0, 0, .5);
}
.lights { display: flex; gap: 8px; }
.lights i { width: 12px; height: 12px; border-radius: 50%; background: #ff5f57; }
.lights i:nth-child(2) { background: #febc2e; }
.lights i:nth-child(3) { background: #28c840; }
.window-title {
  position: absolute; left: 50%; transform: translateX(-50%);
  color: #9a9aa2; font-size: 13px; font-weight: 500; white-space: nowrap;
}

/* ------------------------------------------------- the overlay picture -- */
/* Everything inside scales with the frame's width (cqw), so it reads the
   same on a phone as on a desktop. */
.frame {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden;
  container-type: inline-size;
  font-size: 1.45cqw; color: #fff;
  background: #050607;
}
.stage { position: absolute; inset: 0; }
.stage::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(30% 45% at 32% 62%, rgba(255, 170, 80, .55), transparent 70%),
    radial-gradient(28% 40% at 66% 58%, rgba(190, 70, 255, .40), transparent 70%),
    radial-gradient(60% 50% at 50% 100%, rgba(255, 140, 60, .25), transparent 70%),
    linear-gradient(#0a0b12, #12101a 60%, #1c1410);
}
.floor {
  position: absolute; left: 0; right: 0; bottom: 0; height: 30%;
  background: linear-gradient(transparent, rgba(0, 0, 0, .55));
}
.beam {
  position: absolute; top: -10%; width: 14%; height: 90%;
  background: linear-gradient(rgba(255, 220, 170, .32), transparent 85%);
  filter: blur(1.2cqw); transform-origin: top center;
}
.b1 { left: 24%; transform: rotate(14deg); }
.b2 { left: 44%; transform: rotate(-4deg); background: linear-gradient(rgba(220, 160, 255, .26), transparent 85%); }
.b3 { left: 62%; transform: rotate(-16deg); }

.w {
  position: absolute;
  background: rgba(10, 10, 12, .62);
  backdrop-filter: blur(.6cqw); -webkit-backdrop-filter: blur(.6cqw);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 1cqw;
  padding: .9cqw 1.1cqw;
  line-height: 1.3;
}
.w-big { font-size: 1.5em; font-weight: 700; letter-spacing: -.01em; }
.w-status { top: 3cqw; right: 3cqw; text-align: right; }
.w-status .mono { font-size: 1.2em; }
.rec { margin-top: .3cqw; color: #ff6b62; font-weight: 600; font-size: .9em; display: flex; gap: .4em; align-items: center; justify-content: flex-end; }
.rec-dot { width: .7em; height: .7em; border-radius: 50%; background: var(--red); animation: blink 1.2s steps(1) infinite; }
@keyframes blink { 50% { opacity: .25; } }

.w-cues { top: 15.5cqw; right: 3cqw; width: 33cqw; }
.w-cue { font-size: 2.1em; font-weight: 750; letter-spacing: -.02em; line-height: 1.1; margin-top: .2cqw; }
.w-label { color: #d4d4d8; margin-bottom: .7cqw; }
.w-next { margin-top: .6cqw; color: #d4d4d8; }

.bar {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 5.6em 2.2em 1fr; align-items: center;
  margin-top: .4cqw; padding: .35cqw .6cqw;
  background: rgba(255, 255, 255, .07); border-radius: .5cqw;
  font-size: .95em; white-space: nowrap;
}
.bar > span, .bar > b { position: relative; z-index: 1; overflow: hidden; text-overflow: ellipsis; }
.bar i { position: absolute; inset: 0 auto 0 0; background: rgba(18, 178, 74, .55); }
.bar.done i { background: rgba(255, 255, 255, .14); }
.bar.done { color: #a1a1aa; }
.bar.paused i { background: rgba(255, 210, 31, .42); }
.bar.q i { background: rgba(255, 210, 31, .5); }
.pause { display: inline-block; width: .55em; height: .7em; margin-right: .3em; border: solid #fff; border-width: 0 .18em; vertical-align: -.05em; }

.w-qlab { top: 15.5cqw; left: 3cqw; width: 28cqw; }
.w-field { bottom: 3cqw; left: 3cqw; }
.w.w-mark {
  bottom: 3cqw; right: 3cqw; padding: .3cqw .5cqw;
  background: none; border-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none;
  color: rgba(255, 255, 255, .55); font-weight: 600; font-size: 1em;
}
.frame .w { cursor: grab; touch-action: none; user-select: none; -webkit-user-select: none; transition: box-shadow .15s, border-color .15s; }
.frame .w:hover { border-color: rgba(255, 255, 255, .35); }
.frame .w.dragging { cursor: grabbing; border-color: rgba(61, 220, 120, .8); box-shadow: 0 0 0 1px rgba(61, 220, 120, .5), 0 1cqw 3cqw rgba(0, 0, 0, .5); z-index: 2; }
.hero-hint { margin-top: 16px; color: var(--faint); font-size: 14px; }

/* ------------------------------------------------------------- sections -- */
.section { max-width: 1120px; margin: 0 auto; padding: 120px 16px 0; }
.section-head { text-align: center; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(32px, 4.6vw, 52px); letter-spacing: -.04em; line-height: 1.05; }
.section-head p { max-width: 520px; margin: 14px auto 0; color: var(--muted); font-size: 18px; }

.bento { display: grid; gap: 16px; margin-bottom: 16px; }
.bento.three { grid-template-columns: repeat(3, 1fr); }

.card {
  position: relative;
  background: linear-gradient(180deg, var(--card-2), var(--card));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  overflow: hidden;
}
.card h3 { font-size: 20px; letter-spacing: -.02em; }
.card > p, .wide-text > p { margin-top: 8px; color: var(--muted); font-size: 15px; line-height: 1.55; }

/* the small working controls inside cards */
.card button { font: inherit; color: inherit; text-align: left; cursor: pointer; }
.card button:focus-visible, .card input:focus-visible { outline: 2px solid var(--green-soft); outline-offset: 2px; }

/* devices */
.devices { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 8px; }
.device {
  width: 100%; display: grid; grid-template-columns: 10px 1fr; column-gap: 12px; align-items: center;
  padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line);
  transition: background .15s, border-color .15s;
}
.device:hover { background: rgba(255, 255, 255, .07); border-color: var(--line-2); }
.dev-name { font-weight: 600; font-size: 15px; }
.dev-sub { grid-column: 2; color: var(--faint); font-size: 13px; }
.dot { grid-row: span 2; width: 8px; height: 8px; border-radius: 50%; }
.dot { background: #55555c; transition: background .2s, box-shadow .2s; }
.device[data-state="ok"] .dot { background: var(--green-soft); box-shadow: 0 0 10px var(--green-soft); }
.device[data-state="wait"] .dot { background: var(--yellow); animation: blink .6s steps(1) infinite; }

/* cameras */
.cams { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 28px; }
.cam {
  position: relative; aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden;
  border: 1px solid var(--line-2); padding: 0; transition: filter .2s, border-color .2s;
}
.cam:hover { border-color: rgba(255, 255, 255, .35); }
.cam[aria-pressed="false"] { filter: grayscale(1) brightness(.6); }
.cam[aria-pressed="false"] i { animation: none; background: #8e8e96; border-radius: 1px; }
.cam span {
  position: absolute; left: 8px; bottom: 7px;
  font-size: 11px; font-weight: 600; padding: 2px 6px; border-radius: 5px; background: rgba(0, 0, 0, .55);
}
.cam i { position: absolute; top: 8px; right: 8px; width: 7px; height: 7px; border-radius: 50%; background: var(--red); animation: blink 1.2s steps(1) infinite; }
.c1 { background: radial-gradient(50% 60% at 40% 60%, rgba(255, 170, 80, .7), transparent), linear-gradient(#0d0c14, #1d140e); }
.c2 { background: radial-gradient(70% 40% at 50% 70%, rgba(190, 70, 255, .45), transparent), radial-gradient(30% 30% at 25% 60%, rgba(255, 170, 80, .5), transparent), #0b0a10; }
.c3 { background: radial-gradient(60% 50% at 50% 100%, rgba(90, 140, 255, .45), transparent), #07080c; }
.c4 { background: radial-gradient(40% 70% at 80% 50%, rgba(255, 200, 120, .45), transparent), linear-gradient(90deg, #050505, #15110d); }

/* layouts */
.layout { margin-top: 28px; }
.mini {
  position: relative; aspect-ratio: 16 / 9; border-radius: 12px;
  background: linear-gradient(#0e0e14, #1a1410); border: 1px solid var(--line-2);
}
.m { position: absolute; border-radius: 5px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .18); }
.m { transition: left .45s cubic-bezier(.3, .7, .2, 1), top .45s cubic-bezier(.3, .7, .2, 1), width .45s cubic-bezier(.3, .7, .2, 1), height .45s cubic-bezier(.3, .7, .2, 1), opacity .3s; }
.m2 { background: rgba(18, 178, 74, .28); border-color: rgba(61, 220, 120, .6); }
.m3 { background: rgba(255, 210, 31, .2); border-color: rgba(255, 210, 31, .5); }
[data-layout="archive"] .m1 { left: 71%; top: 8%; width: 24%; height: 18%; }
[data-layout="archive"] .m2 { left: 65%; top: 32%; width: 30%; height: 44%; }
[data-layout="archive"] .m3 { left: 5%; top: 32%; width: 26%; height: 14%; }
[data-layout="archive"] .m4 { left: 5%; top: 78%; width: 30%; height: 14%; }
[data-layout="director"] .m1 { left: 5%; top: 8%; width: 20%; height: 14%; }
[data-layout="director"] .m2 { left: 5%; top: 28%; width: 38%; height: 62%; }
[data-layout="director"] .m3 { left: 70%; top: 8%; width: 25%; height: 14%; }
[data-layout="director"] .m4 { left: 70%; top: 76%; width: 25%; height: 14%; }
[data-layout="clean"] .m1 { left: 78%; top: 80%; width: 17%; height: 11%; }
[data-layout="clean"] .m2 { left: 65%; top: 32%; width: 30%; height: 44%; opacity: 0; }
[data-layout="clean"] .m3 { left: 5%; top: 32%; width: 26%; height: 14%; opacity: 0; }
[data-layout="clean"] .m4 { left: 5%; top: 78%; width: 30%; height: 14%; opacity: 0; }
.chips { display: flex; gap: 6px; margin-top: 12px; flex-wrap: wrap; }
.chip { transition: background .15s, border-color .15s, color .15s; }
.chip:hover { color: var(--text); }
.chip { padding: 5px 12px; border-radius: 999px; font-size: 13px; color: var(--muted); background: rgba(255, 255, 255, .05); border: 1px solid var(--line); }
.chip[aria-pressed="true"] { color: #fff; background: rgba(18, 178, 74, .25); border-color: rgba(61, 220, 120, .5); }

/* wide cards */
.card.wide {
  display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; align-items: center;
  padding: 48px; margin-bottom: 16px;
}
.card.wide h3 { font-size: clamp(26px, 3vw, 34px); line-height: 1.1; letter-spacing: -.035em; }
.card.wide .wide-text > p { font-size: 17px; margin-top: 16px; }
.card.flip .wide-text { order: 2; }
.ticks { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ticks li {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px 5px 9px; border-radius: 999px;
  background: rgba(255, 255, 255, .06); border: 1px solid var(--line); font-size: 13px; color: #d4d4d8;
}
.ticks li::before {
  content: ""; width: 10px; height: 6px; margin-top: -3px;
  border: solid var(--green-soft); border-width: 0 0 2px 2px; transform: rotate(-45deg);
}

.table { display: grid; gap: 6px; }
.row {
  display: grid; grid-template-columns: 7.6em 4.6em 1fr; align-items: center; gap: 12px;
  padding: 10px 14px; border-radius: 12px; background: rgba(255, 255, 255, .035);
  font-size: 15px; white-space: nowrap;
}
.row > span:last-child { overflow: hidden; text-overflow: ellipsis; font-weight: 500; }
.row .mono { color: #d4d4d8; font-size: 14px; }
[data-pick] .row { cursor: pointer; transition: background .15s, box-shadow .15s; }
[data-pick] .row:hover { background: rgba(255, 255, 255, .07); }
.row.hl { background: rgba(18, 178, 74, .16); box-shadow: inset 0 0 0 1px rgba(61, 220, 120, .35); }
.row.dim { opacity: .4; }
.src { font-weight: 600; }
.src.eos { color: var(--green-soft); }
.src.qlab { color: var(--yellow); }
.src.mark { color: var(--blue); }

.sheet { border-radius: 16px; overflow: hidden; border: 1px solid var(--line-2); background: #0d0e10; }
.sheet-head {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px; background: #1b1c1f; border-bottom: 1px solid var(--line);
  font-size: 13px; color: var(--muted); font-weight: 500;
}
.file { width: 12px; height: 14px; border-radius: 2px; background: var(--green); }
.sheet-grid { display: grid; grid-template-columns: auto auto 1fr; font-size: 14px; }
.sheet-grid > span { padding: 9px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sheet-grid > span:nth-last-child(-n+3) { border-bottom: 0; }
.sheet-grid .th { color: var(--faint); font-size: 12px; font-weight: 600; background: #141518; }
.sheet-grid .mono { color: #c4c4cc; font-size: 13px; }
.mk { color: var(--blue); }

/* small UI bits */
.toggles { display: grid; gap: 8px; margin-top: 28px; }
.toggle {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); font-size: 15px; font-weight: 500;
  transition: background .15s, border-color .15s;
}
.toggle:hover { background: rgba(255, 255, 255, .07); border-color: var(--line-2); }
.toggle-text { display: grid; min-width: 0; }
.toggle-text small { color: var(--faint); font-size: 12px; font-weight: 400; font-family: var(--mono); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sw { position: relative; flex: none; width: 38px; height: 22px; border-radius: 999px; background: #3a3a40; transition: background .2s; }
.sw::after { content: ""; position: absolute; top: 2px; left: 2px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .3); transition: transform .2s cubic-bezier(.3, .7, .2, 1); }
[aria-checked="true"] .sw { background: var(--green); }
[aria-checked="true"] .sw::after { transform: translateX(16px); }

.field-map { margin-top: 28px; display: grid; gap: 6px; }
.fm-row {
  display: flex; justify-content: space-between; padding: 10px 14px; border-radius: 12px;
  background: rgba(255, 255, 255, .04); border: 1px solid var(--line); font-size: 14px;
}
.fm-k { color: var(--faint); flex: none; }
input.fm-v {
  min-width: 0; flex: 1; margin-left: 12px; padding: 0; border: 0; background: none;
  color: var(--text); font: inherit; text-align: right;
}
input.fm-v.mono { font-family: var(--mono); }
.fm-row { cursor: text; transition: border-color .15s; }
.fm-row:focus-within { border-color: rgba(61, 220, 120, .5); }
.fm-row:has(input:focus-visible) { outline: none; }
.card input:focus-visible { outline: none; }
.fm-out {
  margin-top: 6px; padding: 12px 14px; border-radius: 12px;
  background: rgba(10, 10, 12, .8); border: 1px dashed rgba(255, 255, 255, .2); font-weight: 650; font-size: 16px;
}
.fm-out .cap { display: block; margin-bottom: 2px; font-size: 11px; }

.update {
  display: flex; gap: 14px; align-items: flex-start;
  margin-top: 28px; padding: 16px; border-radius: 16px;
  background: #1e1f22; border: 1px solid var(--line-2); box-shadow: 0 12px 30px rgba(0, 0, 0, .4);
}
.update img { border-radius: 9px; flex: none; }
.update b { display: block; font-size: 14px; }
.update span { color: var(--faint); font-size: 13px; }
.update-btns { display: flex; gap: 6px; margin-top: 12px; flex-wrap: wrap; }
.card .ub { padding: 4px 12px; border: 0; border-radius: 7px; font-size: 13px; color: #e4e4e7; background: #3a3b40; }
.card .ub:hover { background: #47484e; }
.card .ub.primary { background: #0a84ff; color: #fff; }
.card .ub.primary:hover { background: #2a94ff; }
.update-progress { height: 6px; margin-top: 14px; border-radius: 999px; background: #3a3b40; overflow: hidden; }
.update-progress[hidden], .update-btns[hidden] { display: none; }
.update-progress i { display: block; height: 100%; width: 0; background: #0a84ff; border-radius: inherit; }
.update.done img { animation: pop .4s ease; }
@keyframes pop { 50% { transform: scale(1.12); } }

/* install */
.steps { list-style: none; padding: 0; margin: 0 0 16px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.steps .card { padding: 24px; }
.n {
  display: inline-grid; place-items: center; width: 32px; height: 32px; margin-bottom: 18px;
  border-radius: 10px; background: rgba(18, 178, 74, .18); color: var(--green-soft); font-weight: 700; font-size: 15px;
}
.steps h3 { font-size: 17px; }
.steps p { margin-top: 6px; color: var(--muted); font-size: 15px; }
.steps a { color: var(--green-soft); }
.notes-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.note h3 { font-size: 17px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.crumbs span {
  padding: 5px 10px; border-radius: 8px; background: rgba(255, 255, 255, .06); border: 1px solid var(--line);
  font-size: 13px; font-weight: 500;
}
.crumbs span + span::before { content: "›"; margin-right: 8px; color: var(--faint); }

/* release notes */
.release { max-width: 760px; margin: 0 auto; padding: 36px; }
.release-head { display: flex; align-items: center; gap: 12px; }
.release-head h3 { font-size: 22px; }
.pill { padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; background: rgba(255, 210, 31, .14); color: var(--yellow); }
.release ul { margin: 16px 0 0; padding-left: 20px; color: #d4d4d8; }
.release li { margin: 8px 0; padding-left: 4px; }
.release li::marker { color: var(--faint); }

/* closing call to action */
.cta {
  margin: 140px auto 0; padding: 0 16px; text-align: center;
  display: flex; flex-direction: column; align-items: center;
}
.cta img { margin-bottom: 24px; filter: drop-shadow(0 20px 40px rgba(18, 178, 74, .3)); }
.cta h2 { font-size: clamp(32px, 4.6vw, 52px); letter-spacing: -.04em; line-height: 1.05; margin-bottom: 28px; }

.foot {
  max-width: 1120px; margin: 120px auto 0; padding: 32px 16px 48px;
  border-top: 1px solid var(--line); color: var(--faint); font-size: 14px;
  display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.foot a { color: var(--muted); text-decoration: none; }
.foot a:hover { color: var(--text); }
.foot-links { display: flex; gap: 16px; margin-top: 8px; }
.foot .small { font-size: 13px; max-width: 520px; }
.hero-meta a { color: var(--muted); }

.release + .release, .older-releases { margin-top: 16px; }
.release-meta { margin-top: 4px; color: var(--faint); font-size: 14px; }
.release-meta a { color: var(--muted); }
.release-notes > :first-child { margin-top: 16px; }
.release-notes p { margin: 12px 0 0; color: var(--muted); }
.release-notes h2, .release-notes h3 { margin: 20px 0 0; font-size: 17px; }
.release-empty { text-align: center; color: var(--faint); }
.older-releases { max-width: 760px; margin-left: auto; margin-right: auto; }
.older-releases summary {
  cursor: pointer; padding: 14px 20px; border-radius: 16px; list-style-position: inside;
  color: var(--muted); background: rgba(255, 255, 255, .04); border: 1px solid var(--line);
}
.older-releases summary:hover { color: var(--text); }
.older-releases .release { margin-top: 16px; }

/* ---------------------------------------------------------------- legal -- */
.legal-page { max-width: 760px; margin: 0 auto; padding: 140px 16px 0; }
.legal-page .eyebrow { color: var(--green-soft); font-size: 14px; font-weight: 600; }
.legal-page h1 {
  margin: 8px 0 0; max-width: none;
  font-size: clamp(36px, 6vw, 56px);
}
.legal-nav { display: flex; gap: 6px; flex-wrap: wrap; margin: 28px 0 12px; }
.legal-nav a {
  padding: 6px 14px; border-radius: 999px; font-size: 14px; text-decoration: none;
  color: var(--muted); background: rgba(255, 255, 255, .04); border: 1px solid var(--line);
}
.legal-nav a:hover { color: var(--text); }
.legal-nav a[aria-current] { color: #fff; background: rgba(18, 178, 74, .22); border-color: rgba(61, 220, 120, .5); }
.updated { color: var(--faint); font-size: 14px; margin-bottom: 40px; }
.legal { color: var(--muted); font-size: 16px; line-height: 1.75; }
.legal h2 { margin: 44px 0 12px; color: var(--text); font-size: 22px; letter-spacing: -.02em; }
.legal h3 { margin: 28px 0 8px; color: var(--text); font-size: 17px; }
.legal p, .legal ul, .legal table { margin: 0 0 16px; }
.legal ul { padding-left: 20px; }
.legal li { margin-bottom: 8px; }
.legal li::marker { color: var(--faint); }
.legal strong { color: var(--text); font-weight: 600; }
.legal a { color: var(--green-soft); text-decoration: none; border-bottom: 1px solid rgba(61, 220, 120, .35); }
.legal a:hover { border-color: var(--green-soft); }
.legal code { font-family: var(--mono); font-size: .88em; color: var(--text); }
.legal .summary {
  margin-bottom: 8px; padding: 20px 24px; border-radius: 20px;
  background: linear-gradient(180deg, var(--card-2), var(--card)); border: 1px solid var(--line);
}
.legal .summary h2 { margin-top: 0; font-size: 17px; }
.legal .summary ul { margin: 0; }
.table-wrap { overflow-x: auto; margin: 0 0 16px; }
.legal table { width: 100%; border-collapse: collapse; font-size: 15px; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); }
.legal th { color: var(--text); font-size: 13px; font-weight: 600; }

/* ----------------------------------------------------------- responsive -- */
@media (max-width: 960px) {
  .bento.three { grid-template-columns: 1fr 1fr; }
  .bento.three > .card:last-child { grid-column: span 2; }
  .steps { grid-template-columns: 1fr 1fr; }
  .card.wide { grid-template-columns: 1fr; gap: 32px; padding: 32px; }
  .card.flip .wide-text { order: 0; }
}
@media (max-width: 640px) {
  .nav-link { display: none; }
  .brand { padding-right: 8px; }
  .hero { padding-top: 120px; }
  .window { margin-top: 48px; border-radius: 12px; }
  .window-bar { height: 28px; }
  .lights i { width: 9px; height: 9px; }
  .window-title { font-size: 11px; }
  .frame { font-size: 1.9cqw; }
  .w-cues { top: 18cqw; width: 42cqw; }
  .w-qlab { top: 18cqw; width: 36cqw; }
  .section { padding-top: 88px; }
  .bento.three, .steps, .notes-row { grid-template-columns: 1fr; }
  .bento.three > .card:last-child { grid-column: auto; }
  .card { padding: 24px; border-radius: 22px; }
  .card.wide { padding: 24px; }
  .row { grid-template-columns: 6.6em 3.8em 1fr; gap: 8px; font-size: 14px; padding: 9px 10px; }
  .row .mono { font-size: 12px; }
  .sheet-grid { font-size: 13px; }
  .sheet-grid { grid-template-columns: auto 1fr; }
  .sheet-grid > span:nth-child(3n+1) { display: none; }
  .sheet-grid > span { padding: 8px 10px; }
  .foot { flex-direction: column; }
  .legal-page { padding-top: 110px; }
}

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