/* FloorPi site: the camera monitor wall. Near-black, signal red, white; zones in white (customers) and yellow (staff). */

@font-face { font-family: "Barlow Condensed"; src: url("fonts/barlow-condensed-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("fonts/barlow-condensed-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("fonts/barlow-condensed-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("fonts/barlow-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("fonts/barlow-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("fonts/barlow-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("fonts/plex-mono-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("fonts/plex-mono-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --bg: #0b0b0a;
  --bg2: #131312;
  --panel: #171716;
  --line: #2c2c29;
  --line2: #44443f;
  --ink: #f3f1ea;
  --ink2: #c6c3b9;
  --ink3: #8f8c83;
  --red: #ff3b1f;
  --yel: #ffd21a;
  --cond: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", sans-serif;
  --sans: "Barlow", "Segoe UI", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --gut: clamp(16px, 3vw, 36px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.55 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--cond); font-weight: 700; text-transform: uppercase; line-height: .95; letter-spacing: .005em; text-wrap: balance; }
h1 em, h2 em { font-style: normal; color: var(--red); }
p { margin: 0; }
::selection { background: var(--red); color: #000; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--red); color: #000; padding: 10px 14px; font-weight: 600; }
.skip:focus { left: 8px; }
.wrap { width: 100%; max-width: 1360px; margin: 0 auto; padding: 0 var(--gut); }
.wrap.narrow { max-width: 820px; }
.sub { color: var(--ink2); font-size: 19px; max-width: 54ch; margin-top: 18px; }

/* ---------------------------------------------------------------- buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border: 2px solid var(--ink); font: 600 19px/1 var(--cond); text-transform: uppercase; letter-spacing: .05em; text-decoration: none; cursor: pointer; transition: background .18s, color .18s, border-color .18s, transform .12s; }
.btn:active { transform: translateY(1px); }
.btn-red, .btn-primary { background: var(--red); border-color: var(--red); color: #0b0b0a; }
.btn-red:hover, .btn-primary:hover { background: var(--ink); border-color: var(--ink); }
.btn-line { background: transparent; color: var(--ink); }
.btn-line:hover { background: var(--ink); color: #0b0b0a; }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 16px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: wait; }

/* ---------------------------------------------------------------- shared OSD bits */
.rec { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--red); margin-right: 7px; vertical-align: 0; animation: blink 1.6s steps(1) infinite; }
@keyframes blink { 50% { opacity: .15; } }
.chbar { display: flex; gap: 18px; align-items: center; font: 500 12.5px/1 var(--mono); letter-spacing: .08em; color: var(--ink3); border-top: 1px solid var(--line); padding-top: 12px; margin-bottom: 30px; }
.chbar span:first-child { color: var(--red); }
.mon-osd { display: flex; justify-content: space-between; gap: 12px; font: 500 12px/1.2 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink3); margin-bottom: 18px; }
.mon-osd span:first-child { color: var(--red); }

/* ---------------------------------------------------------------- nav */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; background: rgba(11, 11, 10, .9); backdrop-filter: blur(8px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav.scrolled { border-bottom-color: var(--line); }
.nav-in { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 700 25px/1 var(--cond); text-decoration: none; letter-spacing: .01em; }
.logo { display: grid; place-items: center; width: 30px; height: 30px; background: var(--red); color: #0b0b0a; font: 700 20px/1 var(--sans); }
.links { display: flex; gap: 22px; margin-left: 12px; }
.links a { font: 500 15.5px/1 var(--sans); text-decoration: none; color: var(--ink2); padding: 8px 0; border-bottom: 2px solid transparent; transition: color .15s, border-color .15s; }
.links a:hover { color: var(--ink); border-bottom-color: var(--red); }
.nav-clock { margin-left: auto; font: 500 13px/1 var(--mono); color: var(--ink2); font-variant-numeric: tabular-nums; }
.menu { display: none; width: 44px; height: 44px; background: none; border: 1px solid var(--line2); cursor: pointer; padding: 0; place-content: center; gap: 6px; }
.menu span { display: block; width: 20px; height: 2px; background: var(--ink); transition: transform .2s; }
.nav.open .menu span:first-child { transform: translateY(4px) rotate(45deg); }
.nav.open .menu span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ---------------------------------------------------------------- feeds (camera tiles) */
.feed { position: relative; margin: 0; background: #000; border: 1px solid var(--line); overflow: hidden; }
.scr { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #000; transform-origin: 50% 50%; }
.scr > img, .scr > video, .scr > svg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.scr > img, .scr > video { filter: grayscale(1) contrast(1.14) brightness(.88); transition: transform 6s var(--ease); }
.feed:hover .scr > img, .feed:hover .scr > video { transform: scale(1.035); }
.scr::after { content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; background: repeating-linear-gradient(0deg, rgba(0, 0, 0, .28) 0 1px, transparent 1px 3px); box-shadow: inset 0 0 90px rgba(0, 0, 0, .65); }
.scr::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 22%; z-index: 3; pointer-events: none; background: linear-gradient(180deg, transparent, rgba(255, 255, 255, .055), transparent); animation: roll 7s linear infinite; }
@keyframes roll { from { transform: translateY(-100%); } to { transform: translateY(480%); } }
.ov { z-index: 2; }
.osd { position: absolute; inset: 0; z-index: 4; pointer-events: none; font: 500 11.5px/1 var(--mono); letter-spacing: .05em; text-transform: uppercase; color: #fff; font-variant-numeric: tabular-nums; }
.osd span { position: absolute; padding: 4px 6px; background: rgba(0, 0, 0, .62); }
.osd .tl { left: 8px; top: 8px; } .osd .tr { right: 8px; top: 8px; }
.osd .bl { left: 8px; bottom: 8px; } .osd .br { right: 8px; bottom: 8px; color: var(--yel); }
.osd .rec { width: 8px; height: 8px; margin-right: 6px; }

/* zones drawn on footage */
.z { fill: none; stroke: #fff; stroke-width: 2; vector-effect: non-scaling-stroke; transition: fill .5s, stroke .5s; }
.z-staff { stroke: var(--yel); fill: rgba(255, 210, 26, .13); stroke-dasharray: 7 5; }
.z-seat.on, .z-taken { fill: rgba(255, 255, 255, .34); }
.z-free { stroke-dasharray: 5 4; fill: rgba(255, 255, 255, .06); }
.z-door { stroke: var(--red); stroke-width: 4; }
.z-box { stroke: var(--yel); }
.chip rect { fill: #f3f1ea; }
.chip text { font: 500 9px var(--mono); fill: #000; letter-spacing: .02em; }
.chip-staff rect { fill: var(--yel); }
.chip-door rect { fill: var(--red); }
.ov-l .chip text { font-size: 24px; }
.ov-m .chip text { font-size: 12px; }

/* CRT switch-on, the signature move: each feed opens from a bright line when it comes into view */
html:not(.no-js) .feed:not(.in) .scr { transform: scale(1, .006); filter: brightness(3); }
.feed.in .scr { animation: crt .75s var(--ease) both; animation-delay: var(--fd, 0s); }
@keyframes crt {
  0% { transform: scale(.4, .006); filter: brightness(4); }
  35% { transform: scale(1, .006); filter: brightness(3); }
  70% { transform: scale(1, 1.02); filter: brightness(1.4); }
  100% { transform: none; filter: none; }
}

/* ---------------------------------------------------------------- hero: the wall */
.hero { padding: 84px 0 0; }
.wall { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.tile-copy { grid-column: 1 / 3; grid-row: 1 / 3; background: var(--bg2); border: 1px solid var(--line); padding: clamp(22px, 2.6vw, 40px); display: flex; flex-direction: column; }
.osd-line { display: flex; justify-content: space-between; gap: 16px; font: 500 12px/1.3 var(--mono); letter-spacing: .07em; color: var(--ink3); margin-bottom: auto; padding-bottom: 28px; }
.osd-line span:first-child { color: var(--red); }
.tile-copy h1 { font-size: clamp(52px, 6.1vw, 98px); line-height: .88; }
.lead { margin-top: 24px; font-size: 18.5px; color: var(--ink2); max-width: 52ch; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.trust { list-style: none; padding: 0; margin: 30px 0 0; display: flex; flex-wrap: wrap; gap: 8px 24px; font: 500 12.5px/1.3 var(--mono); text-transform: uppercase; letter-spacing: .05em; color: var(--ink2); }
.trust li::before { content: "■"; color: var(--red); margin-right: 8px; }
.feed-main { grid-column: 3 / 5; grid-row: 1; }
.feed-main .scr { aspect-ratio: 16 / 10; }
.feed-main .osd { font-size: 12.5px; }

.log { display: flex; align-items: stretch; gap: 0; margin-top: 6px; border: 1px solid var(--line); background: #000; min-height: 46px; overflow: hidden; }
.log-h { display: flex; align-items: center; padding: 0 16px; font: 500 12px/1 var(--mono); letter-spacing: .08em; color: var(--red); border-right: 1px solid var(--line); white-space: nowrap; }
.log ol { list-style: none; margin: 0; padding: 0; display: flex; flex: 1; min-width: 0; }
.log li { display: flex; align-items: center; gap: 10px; padding: 0 18px; font: 400 13px/1.3 var(--mono); color: var(--ink2); white-space: nowrap; border-right: 1px solid var(--line); animation: logIn .45s var(--ease); }
.log li:first-child { color: var(--ink); }
.log li::before { content: ""; width: 8px; height: 8px; background: var(--ink3); flex: none; }
.log li.warn::before { background: var(--yel); }
.log li.crit::before { background: var(--red); }
.log time { color: var(--ink3); }
@keyframes logIn { from { opacity: 0; transform: translateX(-24px); } }

.marquee { margin-top: clamp(48px, 6vw, 80px); border-block: 1px solid var(--line); overflow: hidden; background: #000; }
.track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.track span { font: 600 clamp(26px, 3vw, 40px)/1 var(--cond); text-transform: uppercase; letter-spacing: .03em; padding: 18px 0; color: var(--ink); }
.track span::after { content: "■"; color: var(--red); font-size: .45em; margin: 0 28px; vertical-align: .35em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------------------------------------------------------------- sections */
.sec { padding: clamp(76px, 9vw, 132px) 0; }
.sec h2 { font-size: clamp(40px, 5vw, 76px); }
.f-head { margin-bottom: clamp(36px, 4vw, 56px); }
.q-head { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: end; margin-bottom: 36px; }
.q-head .sub { margin: 0; }

/* questions as an owner's log */
.qlog { list-style: none; margin: 0; padding: 0; }
.qlog li { display: grid; grid-template-columns: 120px 1.25fr 1fr; gap: 32px; align-items: baseline; padding: 30px 0; border-top: 1px solid var(--line); }
.qlog li:last-child { border-bottom: 1px solid var(--line); }
.qlog time { font: 500 15px/1 var(--mono); color: var(--red); }
.qlog h3 { font-size: clamp(30px, 3.4vw, 50px); font-weight: 600; }
.qlog p { color: var(--ink2); font-size: 17.5px; }

/* story: playback of 1939 */
.story { background: #000; padding: clamp(76px, 9vw, 132px) 0; border-block: 1px solid var(--line); }
.story-in { display: grid; grid-template-columns: .8fr 1.4fr; gap: clamp(32px, 4vw, 64px); align-items: center; }
.story h2 { font-size: clamp(40px, 4.6vw, 70px); }
.story-copy > p:not(.chbar) { margin-top: 22px; color: var(--ink2); font-size: 18px; max-width: 46ch; }
.story-keys { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; font: 500 13px/1.3 var(--mono); text-transform: uppercase; letter-spacing: .04em; color: var(--ink2); }
.story-keys li { display: flex; align-items: center; gap: 12px; }
.story-keys i { width: 26px; height: 14px; flex: none; }
.k-staff { background: rgba(255, 210, 26, .2); box-shadow: inset 0 0 0 2px var(--yel); }
.k-seat { background: rgba(255, 255, 255, .34); box-shadow: inset 0 0 0 2px #fff; }
.k-free { box-shadow: inset 0 0 0 2px #fff; }
.k-door { height: 4px !important; background: var(--red); }
.story-photo { border: 1px solid var(--line2); border-bottom: 0; }
.story-frame { aspect-ratio: 1400 / 841; }
.story-cap { border: 1px solid var(--line2); padding: 12px 14px; font-size: 13px; color: var(--ink3); background: var(--bg); border-top: 1px solid var(--line); }
.sz { fill: transparent; stroke-width: 4; stroke-linejoin: miter; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.3s var(--ease) .5s, fill .8s ease 1.5s; }
.sz-staff { stroke: var(--yel); } .sz-seat, .sz-free, .sz-taken { stroke: #fff; }
.sz-door { stroke: var(--red); stroke-width: 8; }
.story-photo.in .sz { stroke-dashoffset: 0; }
.story-photo.in .sz-staff { fill: rgba(255, 210, 26, .18); } .story-photo.in .sz-seat { fill: rgba(255, 255, 255, .22); }
.story-photo.in .sz-free { fill: rgba(255, 255, 255, .06); } .story-photo.in .sz-taken { fill: rgba(255, 255, 255, .36); }
.sc { opacity: 0; transition: opacity .3s steps(2); transition-delay: calc(1.6s + var(--n) * .2s); }
.story-photo.in .sc { opacity: 1; }
.sc rect { fill: #f3f1ea; }
.sc text { font: 500 22px var(--mono); fill: #000; }
.sc-staff rect { fill: var(--yel); }
.sc-door rect { fill: var(--red); }
.story .osd span { font-size: 12px; }

/* features: the channel wall */
.mons { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.mon { background: var(--bg2); border: 1px solid var(--line); padding: 24px 24px 26px; display: flex; flex-direction: column; transition: border-color .2s; }
.mon:hover { border-color: var(--line2); }
.mon h3 { font-size: clamp(28px, 2.3vw, 36px); font-weight: 600; }
.mon > p:not(.mon-osd) { margin-top: 12px; color: var(--ink2); font-size: 16.5px; max-width: 52ch; }
.m-wide { grid-column: span 2; }
.mons .mon:last-child { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1.2fr; grid-template-rows: auto auto 1fr; align-content: start; column-gap: 40px; }
.mons .mon:last-child .mon-osd { grid-column: 1 / -1; }
.mons .mon:last-child .viz { grid-column: 2; grid-row: 2 / 4; margin-top: 0; }
.viz { margin-top: auto; padding-top: 24px; font-family: var(--mono); font-size: 12.5px; color: var(--ink2); }

.viz-queue { display: grid; grid-template-columns: auto auto 1fr; gap: 18px; align-items: center; }
.qline { display: flex; gap: 8px; }
.qline i { width: 26px; height: 40px; border: 2px solid #fff; opacity: 0; transform: translateX(-12px); transition: opacity .3s, transform .4s var(--ease); }
.card.in .qline i { opacity: 1; transform: none; }
.qline i:nth-child(2) { transition-delay: .1s; } .qline i:nth-child(3) { transition-delay: .2s; } .qline i:nth-child(4) { transition-delay: .3s; } .qline i:nth-child(5) { transition-delay: .4s; }
.qcounter { padding: 12px 10px; border: 2px dashed var(--yel); color: var(--yel); writing-mode: vertical-rl; transform: rotate(180deg); letter-spacing: .1em; }
.qstats b { color: var(--ink); font-weight: 500; }
.qbar { height: 8px; background: var(--line); margin: 10px 0 6px; }
.qbar span { display: block; height: 100%; width: 0; background: var(--red); transition: width 1.2s var(--ease) .4s; }
.card.in .qbar span { width: 52%; }

.viz-tables { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.tb { height: 44px; border: 2px dashed #fff; }
.tb:nth-child(1), .tb:nth-child(3), .tb:nth-child(6) { border-style: solid; background: rgba(255, 255, 255, .3); }
.tb:nth-child(4) { border: 2px solid var(--red); background: rgba(255, 59, 31, .25); animation: blink 2.4s steps(1) infinite; }
.legend { grid-column: 1 / -1; display: flex; gap: 16px; margin-top: 4px; }
.legend span::before { content: ""; display: inline-block; width: 10px; height: 10px; margin-right: 6px; vertical-align: -1px; border: 2px dashed #fff; }
.legend .lo::before { border-style: solid; background: rgba(255, 255, 255, .4); }
.legend .ld::before { border: 2px solid var(--red); background: rgba(255, 59, 31, .3); }

.viz-staff { display: grid; gap: 12px; }
.srow { display: grid; grid-template-columns: 96px 1fr 40px; gap: 10px; align-items: center; }
.srow b { font-weight: 500; color: var(--ink); text-align: right; }
.sbar { height: 10px; background: var(--line); }
.sbar i { display: block; height: 100%; width: 0; background: var(--yel); transition: width 1.1s var(--ease) .3s; }
.sbar.warn i { background: var(--red); }
.card.in .sbar i { width: var(--w); }

.viz-alerts { display: grid; gap: 6px; }
.al { display: flex; align-items: center; gap: 10px; padding: 9px 11px; background: #000; border: 1px solid var(--line); color: var(--ink); opacity: 0; transform: translateY(10px); transition: opacity .35s, transform .45s var(--ease); }
.card.in .al { opacity: 1; transform: none; }
.card.in .a2 { transition-delay: .15s; } .card.in .a3 { transition-delay: .3s; } .card.in .a4 { transition-delay: .45s; }
.al i { width: 8px; height: 8px; flex: none; background: #fff; }
.al .sev-warn { background: var(--yel); } .al .sev-crit { background: var(--red); animation: blink 1.6s steps(1) infinite; }

.rec-shot { position: relative; aspect-ratio: 16 / 7; overflow: hidden; border: 1px solid var(--line); margin-bottom: 12px; }
.rec-shot img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.1) brightness(.85); }
.rec-shot span { position: absolute; left: 6px; bottom: 6px; padding: 3px 6px; background: rgba(0, 0, 0, .7); color: #fff; font-size: 11px; }
.tl { position: relative; height: 22px; background: #000; border: 1px solid var(--line); }
.seg { position: absolute; top: 4px; bottom: 4px; background: var(--line2); }
.s1 { left: 4%; width: 30%; } .s2 { left: 38%; width: 34%; } .s3 { left: 76%; width: 20%; }
.mk { position: absolute; top: -4px; bottom: -4px; width: 3px; background: var(--red); }
.m1 { left: 18%; } .m2 { left: 52%; } .m3 { left: 83%; }
.ph { position: absolute; top: -6px; bottom: -6px; width: 2px; background: #fff; left: 0; animation: play 9s linear infinite; }
@keyframes play { to { left: 100%; } }
.tl-labels { display: flex; justify-content: space-between; margin-top: 8px; color: var(--ink3); }

.viz-insights { display: grid; gap: 8px; align-content: start; }
.spark { width: 100%; height: 120px; background: #000; border: 1px solid var(--line); padding: 8px; }
.spark .ln { fill: none; stroke: #fff; stroke-width: 2.5; vector-effect: non-scaling-stroke; stroke-dasharray: 600; stroke-dashoffset: 600; transition: stroke-dashoffset 1.8s var(--ease) .2s; }
.card.in .spark .ln { stroke-dashoffset: 0; }
.hl { display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: #000; border: 1px solid var(--line); color: var(--ink); }
.hl i { width: 8px; height: 8px; flex: none; }
.hl-bad i { background: var(--red); } .hl-good i { background: #fff; }

.minis { list-style: none; padding: 0; margin: 6px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.minis li { padding: 18px 20px; border: 1px solid var(--line); display: grid; gap: 4px; }
.minis b { font: 600 21px/1.1 var(--cond); text-transform: uppercase; letter-spacing: .02em; }
.minis span { color: var(--ink2); font-size: 15.5px; }

/* demo: run a lunch rush */
.demo { display: grid; grid-template-columns: 1.55fr 1fr; border: 1px solid var(--line2); }
.demo-floor { background: #000; padding: 22px; display: grid; gap: 14px; align-content: start; background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px); background-size: 28px 28px; }
.demo-osd { margin-bottom: 0; }
.floor { display: grid; grid-template-columns: 1fr 130px; gap: 8px; }
.f-tables { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.f-table { height: 100px; padding: 10px 12px; display: grid; align-content: space-between; font: 400 13px/1.2 var(--mono); text-transform: uppercase; border: 2px dashed #fff; color: var(--ink); transition: background .4s, border-color .4s, color .4s; }
.f-table b { font: 600 20px/1 var(--cond); }
.f-table.taken { border-style: solid; background: rgba(255, 255, 255, .26); }
.f-table.dirty { border: 2px solid var(--red); background: rgba(255, 59, 31, .22); }
.f-line { grid-row: 1 / 3; grid-column: 2; border: 2px dashed #fff; padding: 10px; display: grid; grid-template-rows: auto 1fr auto; font: 400 13px/1.2 var(--mono); text-transform: uppercase; }
.f-line b { font: 600 20px/1 var(--cond); }
.dots { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 0; overflow: hidden; }
.dots i { width: 16px; height: 16px; background: #fff; flex: none; animation: qstep 2.4s var(--ease) infinite; }
.dots i:nth-child(2n) { animation-delay: .3s; } .dots i:nth-child(3n) { animation-delay: .6s; }
@keyframes qstep { 0%, 70% { transform: translateY(0); } 85% { transform: translateY(-4px); } }
.f-staff { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.f-spot { padding: 10px 12px; display: grid; gap: 4px; font: 400 12.5px/1.25 var(--mono); text-transform: uppercase; border: 2px dashed var(--yel); color: var(--ink); transition: background .4s, border-color .4s; }
.f-spot b { font: 600 19px/1 var(--cond); color: var(--yel); }
.f-spot.warn { border-style: solid; background: rgba(255, 210, 26, .2); }
.f-spot.bad { border: 2px solid var(--red); background: rgba(255, 59, 31, .28); }
.f-spot.bad b { color: #fff; }
.f-door { grid-column: 1 / 3; height: 34px; display: flex; align-items: center; padding: 0 12px; font: 600 17px/1 var(--cond); text-transform: uppercase; border-bottom: 4px solid var(--red); color: var(--ink2); }
.f-status { font: 400 13px/1.4 var(--mono); color: var(--yel); font-variant-numeric: tabular-nums; }
.f-alerts { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.f-alerts li { display: flex; gap: 10px; align-items: center; padding: 10px 12px; font: 400 13.5px/1.35 var(--mono); background: var(--bg2); border: 1px solid var(--line); animation: logIn .4s var(--ease); }
.f-alerts li::before { content: ""; width: 9px; height: 9px; flex: none; background: #fff; }
.f-alerts li.crit { border-color: var(--red); } .f-alerts li.crit::before { background: var(--red); animation: blink 1.6s steps(1) infinite; }
.f-alerts li.warn::before { background: var(--yel); }
.f-alerts li.quiet { color: var(--ink3); } .f-alerts li.quiet::before { background: var(--ink3); }
.demo-controls { margin: 0; background: var(--bg2); padding: 24px 26px; display: grid; align-content: start; gap: 4px; border-left: 1px solid var(--line2); }
.ctl-title { font: 700 26px/1 var(--cond); text-transform: uppercase; margin-bottom: 10px; }
.ctl { min-height: 50px; display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: 12px; font-size: 16px; color: var(--ink); padding: 6px 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.ctl output { font: 500 15px/1 var(--mono); color: var(--yel); font-variant-numeric: tabular-nums; }
.ctl input[type="range"] { grid-column: 1 / -1; width: 100%; accent-color: var(--red); margin: 8px 0 4px; cursor: pointer; }
.ctl input[type="checkbox"] { appearance: none; width: 48px; height: 26px; border: 2px solid var(--line2); background: #000; position: relative; cursor: pointer; margin: 0; transition: background .2s, border-color .2s; }
.ctl input[type="checkbox"]::after { content: ""; position: absolute; left: 3px; top: 3px; width: 16px; height: 16px; background: var(--ink3); transition: transform .2s var(--ease), background .2s; }
.ctl input[type="checkbox"]:checked { border-color: var(--red); }
.ctl input[type="checkbox"]:checked::after { transform: translateX(22px); background: var(--red); }
.more-btn { display: none; text-align: left; font: 600 17px/1 var(--cond); text-transform: uppercase; letter-spacing: .05em; color: var(--red); background: none; border: 0; padding: 14px 0; cursor: pointer; }
.ctl-note { margin-top: 14px; font-size: 14.5px; color: var(--ink3); }

/* how it works */
.how { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); }
.how-copy .feed { margin-top: 36px; }
.feed-tall .scr { aspect-ratio: 5 / 4; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; align-content: start; }
.step { display: grid; grid-template-columns: 110px 1fr; gap: 20px; padding: 34px 0; border-top: 1px solid var(--line); }
.step:last-child { border-bottom: 1px solid var(--line); }
.snum { font: 700 72px/.8 var(--cond); color: var(--red); }
.step h3 { font-size: clamp(30px, 2.8vw, 42px); font-weight: 600; }
.step p { margin-top: 12px; color: var(--ink2); font-size: 17.5px; }

/* privacy */
.sec-priv { background: var(--bg2); border-block: 1px solid var(--line); }
.flow { border: 1px solid var(--line); background: #000; padding: 12px; }
.flow-svg { width: 100%; height: auto; }
.store { fill: none; stroke: var(--line2); stroke-width: 1.5; stroke-dasharray: 6 5; }
.fl-cap { font: 500 13px var(--mono); fill: var(--red); letter-spacing: .08em; }
.node rect { fill: var(--panel); stroke: var(--line2); stroke-width: 1.5; }
.node-main rect { stroke: var(--red); stroke-width: 2.5; }
.fl-t { font: 600 21px var(--cond); text-transform: uppercase; fill: var(--ink); text-anchor: middle; }
.fl-s { font: 400 13px var(--sans); fill: var(--ink3); text-anchor: middle; }
.lk { fill: none; stroke: var(--line2); stroke-width: 2; stroke-dasharray: 5 5; }
.lk-sec { stroke: #fff; stroke-dasharray: none; }
.pk { fill: #fff; } .pk2 { fill: var(--red); }
.fl-lab { font: 500 9.5px var(--mono); fill: var(--ink2); text-anchor: middle; }
.lock rect, .lock path { stroke: var(--red); stroke-width: 2; fill: none; }
.flow-m { display: none; }
.pgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-top: 6px; }
.pc { padding: 26px 24px 28px; background: var(--bg); border: 1px solid var(--line); }
.pn { font: 500 12.5px/1 var(--mono); color: var(--red); }
.pc h3 { margin-top: 16px; font-size: clamp(26px, 2.2vw, 32px); font-weight: 600; }
.pc p { margin-top: 12px; color: var(--ink2); font-size: 16.5px; }

/* who it's for */
.tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.tabs button { display: inline-flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 22px 0 6px; background: var(--bg2); color: var(--ink2); border: 1px solid var(--line); font: 600 20px/1 var(--cond); text-transform: uppercase; letter-spacing: .03em; cursor: pointer; transition: background .15s, color .15s; }
.tabs button span { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--line2); font: 500 13px/1 var(--mono); color: var(--red); }
.tabs button:hover { color: var(--ink); border-color: var(--line2); }
.tabs button[aria-selected="true"] { background: var(--ink); color: #0b0b0a; border-color: var(--ink); }
.tabs button[aria-selected="true"] span { border-color: #0b0b0a; background: var(--red); color: #0b0b0a; }
.tpanels { margin-top: 6px; border: 1px solid var(--line); background: var(--bg2); }
.tp[hidden] { display: none; }
.tp { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; padding: clamp(24px, 3.4vw, 48px); }
.tp h3 { font-size: clamp(32px, 3.4vw, 52px); }
.tp p { margin-top: 16px; color: var(--ink2); font-size: 18px; max-width: 52ch; }
.tp ul { list-style: none; padding: 0; margin: 0; display: grid; align-content: start; }
.tp li { padding: 14px 0; border-bottom: 1px solid var(--line); font: 500 14px/1.3 var(--mono); text-transform: uppercase; letter-spacing: .03em; }
.tp li::before { content: "■"; color: var(--red); margin-right: 12px; }

/* benefits: the one red field */
.sec-red { background: var(--red); color: #0b0b0a; }
.sec-red ::selection { background: #0b0b0a; color: var(--red); }
.bgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-top: clamp(40px, 5vw, 64px); border-top: 2px solid #0b0b0a; }
.bn { padding: 24px 24px 8px 0; }
.bn + .bn { padding-left: 24px; border-left: 2px solid #0b0b0a; }
.bn b { display: block; font: 700 clamp(28px, 2.6vw, 38px)/1 var(--cond); text-transform: uppercase; }
.bn p { margin-top: 12px; font-size: 17px; font-weight: 500; }

/* FAQ */
.faq-in { display: grid; grid-template-columns: .8fr 1.4fr; gap: clamp(32px, 5vw, 80px); }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 22px 0; cursor: pointer; font: 600 clamp(22px, 2vw, 28px)/1.1 var(--cond); text-transform: uppercase; transition: color .15s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 26px/1 var(--mono); color: var(--red); transition: transform .2s; flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--red); }
.faq details p { padding: 0 0 24px; color: var(--ink2); font-size: 17.5px; max-width: 62ch; }

/* contact */
.sec-contact { background: var(--bg2); border-top: 1px solid var(--line); padding-top: 0; }
.strip { overflow: hidden; border-bottom: 1px solid var(--line); margin-bottom: clamp(60px, 7vw, 100px); background: #000; }
.strip-track { display: flex; gap: 6px; width: max-content; padding: 6px 0; animation: marquee 80s linear infinite; }
.strip-track img { height: 130px; width: auto; filter: grayscale(1) contrast(1.1); opacity: .9; transition: filter .3s, opacity .3s; }
.strip-track img:hover { filter: none; opacity: 1; }
.strip:hover .strip-track { animation-play-state: paused; }
.contact { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.contact-copy h2 { font-size: clamp(40px, 5vw, 76px); }
.contact-copy > p:not(.chbar) { margin-top: 20px; color: var(--ink2); font-size: 18.5px; max-width: 46ch; }
.cl { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 10px; font-size: 16.5px; }
.cl li::before { content: "■"; color: var(--red); margin-right: 12px; }
.cl a { color: var(--ink); text-decoration-color: var(--red); text-underline-offset: 3px; }
.form { background: #000; border: 1px solid var(--line2); padding: clamp(20px, 2.6vw, 32px); display: grid; gap: 16px; }
.form .mon-osd { margin-bottom: 4px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 7px; font: 500 12.5px/1.2 var(--mono); text-transform: uppercase; letter-spacing: .05em; color: var(--ink2); }
.form input:not([type="checkbox"]), .form select, .form textarea { width: 100%; min-height: 48px; padding: 11px 13px; background: var(--bg2); color: var(--ink); border: 1px solid var(--line2); border-radius: 0; font: 400 16.5px/1.4 var(--sans); text-transform: none; letter-spacing: 0; transition: border-color .15s; }
.form textarea { resize: vertical; min-height: 120px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--red); box-shadow: inset 0 0 0 1px var(--red); }
.form .invalid { border-color: var(--red) !important; }
.form ::placeholder { color: var(--ink3); }
.opt { color: var(--ink3); text-transform: none; }
.consent { display: flex !important; grid-template-columns: none; align-items: flex-start; gap: 12px !important; font: 400 15px/1.45 var(--sans) !important; text-transform: none !important; letter-spacing: 0 !important; color: var(--ink2); cursor: pointer; }
.consent input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--red); flex: none; }
.consent a { color: var(--ink); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-msg { min-height: 1.4em; font-size: 15.5px; }
.form-msg.ok { color: #fff; } .form-msg.ok::before { content: "■ "; color: var(--yel); }
.form-msg.err { color: #ff8a75; }

/* footer */
.foot { padding: 56px 0 40px; border-top: 1px solid var(--line); background: var(--bg); }
.foot-in { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.foot-in p { margin-top: 12px; color: var(--ink3); font-size: 15px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; align-content: start; }
.foot nav a { color: var(--ink2); text-decoration: none; font-size: 15.5px; }
.foot nav a:hover { color: var(--ink); text-decoration: underline; text-decoration-color: var(--red); }
.credits { margin-top: 36px; font-size: 12.5px; line-height: 1.65; color: var(--ink3); }
.credits a { color: var(--ink2); }
.copy { margin-top: 18px; font: 400 12.5px/1 var(--mono); color: var(--ink3); }

/* ---------------------------------------------------------------- entrances */
html:not(.no-js) .reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0s); }
html:not(.no-js) .reveal.in { opacity: 1; transform: none; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1180px) {
  .links { gap: 16px; }
  .links a { font-size: 14.5px; }
  .nav-clock { display: none; }
  .nav-cta { margin-left: auto; }
}
@media (max-width: 1020px) {
  .links { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; gap: 0; margin: 0; padding: 8px var(--gut) 18px; background: #0b0b0a; border-bottom: 1px solid var(--line); }
  .links a { font-size: 18px; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav.open .links { display: flex; }
  .menu { display: grid; }
  .nav-cta { margin-left: auto; }
  .wall { grid-template-columns: 1fr 1fr; }
  .tile-copy { grid-column: 1 / -1; grid-row: auto; }
  .osd-line { padding-bottom: 36px; }
  .feed-main { grid-column: 1 / -1; grid-row: auto; }
  .log li:nth-child(n+3) { display: none; }
  .q-head, .story-in, .demo, .how, .tp, .faq-in, .contact { grid-template-columns: 1fr; }
  .q-head { gap: 0; }
  .q-head .sub { margin-top: 16px; }
  .qlog li { grid-template-columns: 90px 1fr; }
  .qlog p { grid-column: 2; }
  .mons { grid-template-columns: 1fr 1fr; }
  .m-wide { grid-column: 1 / -1; }
  .mons .mon:last-child { grid-template-columns: 1fr; }
  .mons .mon:last-child .viz { grid-column: auto; grid-row: auto; margin-top: 0; padding-top: 24px; }
  .minis, .pgrid { grid-template-columns: 1fr 1fr; }
  .demo-controls { border-left: 0; border-top: 1px solid var(--line2); }
  .bgrid { grid-template-columns: 1fr 1fr; }
  .bn:nth-child(3) { padding-left: 0; border-left: 0; }
  .bn:nth-child(n+3) { border-top: 2px solid #0b0b0a; }
}
@media (max-width: 640px) {
  body { font-size: 16.5px; }
  .nav-cta { display: none; }
  .menu { margin-left: auto; }
  .hero { padding-top: 72px; }
  .wall { gap: 4px; }
  .osd-line span:last-child { display: none; }
  .tile-copy h1 { font-size: clamp(40px, 11.6vw, 60px); }
  .wall > .feed:not(.feed-main) .chip, .wall > .feed:not(.feed-main) .z-box { display: none; }
  .story .osd .bl { display: none; }
  .lead { font-size: 17px; }
  .cta-row .btn { flex: 1 1 auto; }
  .feed-main .scr { aspect-ratio: 4 / 3; }
  .osd { font-size: 9.5px; }
  .osd span { padding: 3px 4px; }
  .osd .tl { left: 4px; top: 4px; } .osd .tr { right: 4px; top: 4px; } .osd .bl { left: 4px; bottom: 4px; } .osd .br { right: 4px; bottom: 4px; }
  .wall > .feed:not(.feed-main) .osd .bl { display: none; }
  .feed-main .osd { font-size: 10.5px; }
  .log { flex-direction: column; }
  .log-h { padding: 10px 14px; border-right: 0; border-bottom: 1px solid var(--line); }
  .log ol { flex-direction: column; }
  .log li { padding: 10px 14px; border-right: 0; border-bottom: 1px solid var(--line); white-space: normal; }
  .log li:nth-child(n+3) { display: none; }
  .log li:last-child, .log li:nth-child(2) { border-bottom: 0; }
  .sub { font-size: 17.5px; }
  .qlog li { grid-template-columns: 1fr; gap: 10px; padding: 24px 0; }
  .qlog p { grid-column: auto; }
  .mons, .minis, .pgrid { grid-template-columns: 1fr; }
  .viz-queue { grid-template-columns: auto 1fr; }
  .qcounter { display: none; }
  .floor { grid-template-columns: 1fr 84px; }
  .f-table { height: 76px; padding: 8px; font-size: 11px; }
  .f-table b, .f-line b { font-size: 17px; }
  .f-spot { padding: 8px; font-size: 10.5px; }
  .f-spot b { font-size: 16px; }
  .demo-floor { padding: 12px; }
  .demo-controls { padding: 18px; }
  .more { display: none; } .more.open { display: block; }
  .more-btn { display: block; }
  .step { grid-template-columns: 64px 1fr; gap: 14px; padding: 26px 0; }
  .snum { font-size: 52px; }
  .flow { display: none; }
  .flow-m { display: grid; list-style: none; margin: 0; padding: 0; gap: 4px; }
  .flow-m li { display: grid; gap: 3px; padding: 14px 16px; border: 1px solid var(--line); background: #000; }
  .flow-m li b { font: 600 20px/1.1 var(--cond); text-transform: uppercase; }
  .flow-m li span { color: var(--ink2); font-size: 15px; }
  .flow-m li.main { border-color: var(--red); }
  .flow-m li.sec { border-style: dashed; border-color: #fff; }
  .tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .tabs button { flex: none; font-size: 18px; }
  .bgrid { grid-template-columns: 1fr; }
  .bn, .bn + .bn { padding: 20px 0; border-left: 0; }
  .bn + .bn { border-top: 2px solid #0b0b0a; }
  .row2 { grid-template-columns: 1fr; }
  .strip-track img { height: 92px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  html:not(.no-js) .feed:not(.in) .scr { transform: none; filter: none; }
  .scr::before { display: none; }
  .sz { stroke-dashoffset: 0; } .sc { opacity: 1; }
}
