/* Havenwatch AI (was Brightwatch, Carewise, NurtureIntel), round 2 enterprise system (8 Nov 2026).
   White and cool slate base, one teal accent, Inter, dark product surfaces for UI views, thin grid lines. */
:root {
  --ink: #0B1220; --ink-2: #1D2939; --body: #344054; --muted: #5D6B82; --faint: #98A2B3;
  --line: #E3E8EF; --line-2: #EEF2F6; --bg: #FFFFFF; --tint: #F6F8FA;
  --teal: #0D9488; --teal-d: #0F766E; --teal-l: #E6F5F3; --teal-b: #2DD4BF;
  --dk: #0B1220; --dk-2: #111A2B; --dk-3: #172338; --dk-line: #233149; --dk-text: #CBD5E1; --dk-muted: #8796AD;
  --amber: #F79009; --amber-l: #FEF0C7; --red: #F04438; --green: #12B76A; --blue: #53B1FD;
  --r: 12px; --wrap: 1200px;
  --shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 12px 32px -12px rgba(16, 24, 40, .18);
  --shadow-dk: 0 40px 80px -30px rgba(11, 18, 32, .55), 0 12px 24px -12px rgba(11, 18, 32, .35);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 76px; }
body { margin: 0; background: var(--bg); color: var(--body); font: 400 16px/1.6 Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-feature-settings: "cv11", "ss03"; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { color: var(--ink); margin: 0; font-weight: 600; letter-spacing: -.02em; }
p { margin: 0; }
.tnum { font-variant-numeric: tabular-nums; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 6px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }

/* ---------- header ---------- */
.site-head { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.head-in { display: flex; align-items: center; justify-content: space-between; height: 62px; }
.brand img { height: 30px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { text-decoration: none; font-size: 14.5px; font-weight: 500; color: var(--muted); padding: 8px 12px; border-radius: 8px; }
.nav a:hover { color: var(--ink); background: var(--tint); }
.nav a[aria-current] { color: var(--ink); }
.nav .nav-cta { margin-left: 10px; background: var(--ink); color: #fff; padding: 9px 16px; }
.nav .nav-cta:hover { background: var(--teal-d); color: #fff; }
.menu-btn { display: none; font: 600 14px Inter, sans-serif; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 8px 14px; }

/* ---------- buttons, links ---------- */
.btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 600 15px/1 Inter, sans-serif; text-decoration: none; padding: 13px 20px; border-radius: 9px; border: 1px solid transparent; cursor: pointer; transition: background .15s, border-color .15s, color .15s; }
.btn-primary { background: var(--teal); color: #fff; box-shadow: 0 1px 2px rgba(16, 24, 40, .1), inset 0 -1px 0 rgba(0, 0, 0, .12); }
.btn-primary:hover { background: var(--teal-d); }
.btn-line { background: #fff; color: var(--ink); border-color: var(--line); box-shadow: 0 1px 2px rgba(16, 24, 40, .05); }
.btn-line:hover { border-color: #C8D0DB; }
.btn-dark-line { color: #fff; border-color: rgba(255, 255, 255, .25); }
.btn-dark-line:hover { border-color: rgba(255, 255, 255, .6); }
.text-link { color: var(--teal-d); font-weight: 500; text-decoration: underline; text-decoration-color: rgba(15, 118, 110, .35); text-underline-offset: 3px; }
.text-link:hover { text-decoration-color: var(--teal-d); }
.src { font-size: 12.5px; color: var(--muted); text-decoration: underline; text-underline-offset: 2px; white-space: nowrap; }
.muted { color: var(--muted); font-size: 15px; margin-top: 10px; }

/* ---------- hero ---------- */
.hero { position: relative; padding: 40px 0 44px; border-bottom: 1px solid var(--line); overflow: hidden;
  background-image: linear-gradient(var(--line-2) 1px, transparent 1px), linear-gradient(90deg, var(--line-2) 1px, transparent 1px);
  background-size: 48px 48px; background-position: -1px -1px; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(1100px 520px at 18% 30%, rgba(255, 255, 255, .96), rgba(255, 255, 255, .6) 55%, rgba(255, 255, 255, .15)); pointer-events: none; }
.hero > .wrap { position: relative; }
.hero-grid { display: grid; grid-template-columns: 5.2fr 6.8fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(31px, 3vw, 43px); line-height: 1.07; letter-spacing: -.034em; font-weight: 650; }
.hero.uc h1, .hero.hub h1 { font-size: clamp(28px, 2.7vw, 38px); line-height: 1.12; }
.hero .sub { font-size: 17px; line-height: 1.6; color: var(--body); margin-top: 18px; max-width: 560px; }
.hero.uc .sub, .hero.hub .sub { font-size: 16px; }
.hero-ui { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; min-width: 0; }
.hero-ui > figure { width: 100%; }
.assure { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 18px; padding: 0; margin: 22px 0 0; font-size: 13.5px; color: var(--muted); }
.assure li::before { content: ""; display: inline-block; width: 12px; height: 7px; border: solid var(--teal); border-width: 0 0 2px 2px; transform: rotate(-45deg) translateY(-3px); margin-right: 8px; }
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 16px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.crumbs i { font-style: normal; color: var(--faint); }
.crumbs span { color: var(--ink-2); }
.legal-hero { padding: 40px 0 28px; }

/* ---------- setting switch ---------- */
.switch { display: inline-flex; padding: 3px; gap: 2px; background: var(--tint); border: 1px solid var(--line); border-radius: 10px; }
.switch button { font: 600 13.5px/1 Inter, sans-serif; color: var(--muted); background: transparent; border: 0; padding: 8px 14px; border-radius: 7px; cursor: pointer; }
.switch button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(16, 24, 40, .1), 0 0 0 1px var(--line); }

/* ---------- dark product surfaces: console ---------- */
.console { margin: 0; background: var(--dk); color: var(--dk-text); border-radius: 14px; border: 1px solid #1B2638; box-shadow: var(--shadow-dk); overflow: hidden; font-size: 12.5px; line-height: 1.4; position: relative; }
.con-top, .ops-top { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--dk-line); }
.con-title { color: #fff; font-weight: 600; font-size: 13px; }
.con-site { color: var(--dk-muted); }
.live { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; color: var(--dk-text); }
.live i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgba(18, 183, 106, .18); animation: pulse 2s infinite; }
.live.off i { background: var(--dk-muted); box-shadow: none; animation: none; }
@keyframes pulse { 50% { box-shadow: 0 0 0 6px rgba(18, 183, 106, 0); } }
.con-body { display: grid; grid-template-columns: 1.55fr 1fr; }
.con-main { padding: 12px; min-width: 0; }
.con-side { padding: 12px 14px; border-left: 1px solid var(--dk-line); min-width: 0; background: linear-gradient(180deg, var(--dk-2), var(--dk)); }
.con-feat { position: relative; border-radius: 8px; overflow: hidden; aspect-ratio: 16 / 9; background: #050A14; border: 1px solid var(--dk-line); }
.con-feat img { width: 100%; height: 100%; object-fit: cover; }
.feat-name { position: absolute; left: 8px; top: 8px; display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 600; color: #fff; background: rgba(11, 18, 32, .7); padding: 3px 8px; border-radius: 5px; }
.rec { width: 6px; height: 6px; border-radius: 50%; background: var(--red); display: inline-block; flex: none; }
.pv-badge { position: absolute; right: 8px; top: 8px; font-size: 11.5px; font-weight: 600; color: #04211E; background: var(--teal-b); padding: 3px 8px; border-radius: 5px; }
.cam-meta .pv-badge { position: static; }
.chip { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 600; color: #fff; background: rgba(11, 18, 32, .78); border: 1px solid rgba(255, 255, 255, .14); padding: 4px 9px; border-radius: 6px; backdrop-filter: blur(4px); }
.chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--dk-muted); }
.chip.warn::before { background: var(--amber); } .chip.ok::before { background: var(--green); } .chip.info::before { background: var(--teal-b); }
.chip.warn { border-color: rgba(247, 144, 9, .5); }
.feat-chip { position: absolute; left: 8px; bottom: 8px; }
.rooms { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.rooms li { background: var(--dk-2); border: 1px solid var(--dk-line); border-radius: 7px; padding: 7px 9px; min-width: 0; }
.rooms b { display: block; color: #fff; font-size: 12px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rooms .st { display: flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 600; margin-top: 2px; white-space: nowrap; }
.rooms .st::before { content: ""; width: 6px; height: 6px; border-radius: 50%; flex: none; background: var(--dk-muted); }
.rooms small { display: block; color: var(--dk-muted); font-size: 11.5px; margin-top: 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rooms .ok .st { color: #6CE9A6; } .rooms .ok .st::before { background: var(--green); }
.rooms .warn { border-color: rgba(247, 144, 9, .55); background: linear-gradient(180deg, rgba(247, 144, 9, .12), rgba(247, 144, 9, .04)); }
.rooms .warn .st { color: #FEC84B; } .rooms .warn .st::before { background: var(--amber); animation: blink 1.4s infinite; }
.rooms .ack .st { color: #84CAFF; } .rooms .ack .st::before { background: var(--blue); }
.rooms .mute .st { color: var(--dk-text); }
@keyframes blink { 50% { opacity: .25; } }
.con-alert { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border: 1px solid rgba(247, 144, 9, .45); border-left: 3px solid var(--amber); border-radius: 8px; background: rgba(247, 144, 9, .07); }
.con-alert b { display: block; color: #fff; font-size: 14px; font-weight: 600; margin-top: 2px; }
.con-alert small { color: var(--dk-muted); font-size: 11.5px; }
.sev { font-size: 11.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #FEC84B; }
.timer { position: relative; width: 48px; height: 48px; flex: none; }
.timer svg { width: 48px; height: 48px; transform: rotate(-90deg); }
.timer circle { fill: none; stroke: var(--dk-line); stroke-width: 3.5; }
.timer circle.fg { stroke: var(--amber); stroke-linecap: round; }
.timer span { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-weight: 600; font-size: 12px; }
.con-lbl { font-size: 11.5px; color: var(--dk-muted); margin: 14px 0 8px; font-weight: 500; }
.events { list-style: none; margin: 0; padding: 0; position: relative; }
.events::before { content: ""; position: absolute; left: 4px; top: 6px; bottom: 6px; width: 1px; background: var(--dk-line); }
.events li { position: relative; display: grid; grid-template-columns: 62px 1fr; gap: 8px; padding: 0 0 10px 16px; }
.events li::before { content: ""; position: absolute; left: 0; top: 4px; width: 9px; height: 9px; border-radius: 50%; background: var(--dk-3); border: 2px solid var(--dk-muted); }
.events li .tnum { color: var(--dk-muted); font-size: 11.5px; }
.events li span:last-child { color: var(--dk-text); }
.events .warn::before { border-color: var(--amber); background: var(--amber); }
.events .esc::before { border-color: var(--red); }
.events .esc span:last-child { color: #FDA29B; }
.events .ack::before { border-color: var(--green); background: var(--green); }
.sim { font-size: 11.5px; color: var(--faint); text-align: right; padding: 6px 2px 0; }
.console .sim, .pvc figcaption { color: var(--dk-muted); padding: 0 14px 10px; margin-top: -4px; background: transparent; }
.export .con-side { display: flex; flex-direction: column; }
.export .con-lbl { margin-top: 0; }

/* ---------- camera tile ---------- */
.cam { margin: 0; background: var(--dk); border-radius: 12px; overflow: hidden; border: 1px solid #1B2638; box-shadow: var(--shadow-dk); }
.cam-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; height: 34px; padding: 0 12px; color: var(--dk-text); font-size: 12px; border-bottom: 1px solid var(--dk-line); }
.cam-name { display: inline-flex; align-items: center; gap: 7px; color: #fff; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cam-meta { display: inline-flex; align-items: center; gap: 10px; color: var(--dk-muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.cam-view { position: relative; aspect-ratio: 16 / 9; background: #050A14; overflow: hidden; }
.cam-view img { width: 100%; height: 100%; object-fit: cover; }
.cam.lost .cam-view img { filter: grayscale(1) brightness(.42); }
.bx { position: absolute; border: 1px solid rgba(255, 255, 255, .7); border-radius: 3px; pointer-events: none; }
.bx.ad { border: 2px solid var(--teal-b); }
.bx.hl { border: 2px solid var(--amber); }
.bx span { position: absolute; left: -2px; bottom: 100%; margin-bottom: 2px; font-size: 11.5px; font-weight: 600; line-height: 1; color: #04211E; background: var(--teal-b); padding: 3px 5px; border-radius: 3px; white-space: nowrap; }
.bx.hl span { background: var(--amber); color: #2A1500; }
.bx:not(.ad):not(.hl) span { background: #fff; color: var(--ink); }
.cam-chips { position: absolute; left: 10px; bottom: 10px; display: flex; gap: 6px; flex-wrap: wrap; }
.cam-cap { position: absolute; right: 8px; bottom: 8px; font-size: 11.5px; color: rgba(255, 255, 255, .85); background: rgba(11, 18, 32, .6); padding: 2px 6px; border-radius: 4px; }

/* ---------- sections ---------- */
.sec { padding: 60px 0; }
.sec.tint { background: var(--tint); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec.tint + .sec.tint { border-top: 0; }
.sec.dark { background: var(--dk); color: var(--dk-text); background-image: linear-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px); background-size: 48px 48px; }
.sec.dark h2 { color: #fff; }
.sec.dark .lead { color: var(--dk-text); }
.sec.dark .ticks li { color: var(--dk-text); }
.sec.dark .text-link { color: var(--teal-b); }
.sec h2 { font-size: clamp(24px, 2.2vw, 31px); line-height: 1.16; letter-spacing: -.026em; }
.sec-head { max-width: 760px; margin-bottom: 28px; }
.row-head { max-width: none; display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: end; }
.row-head .lead { margin: 0; }
@media (max-width: 1040px) { .row-head { gap: 0; } .row-head .lead { margin-top: 12px; } }
.lead { font-size: 16.5px; line-height: 1.6; color: var(--body); margin-top: 12px; }
.split-l .lead + p, .split-l p + p { margin-top: 12px; }
.split-l > p:not(.lead) { font-size: 15px; }
.split { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: center; }
.split.wide-r { grid-template-columns: 4fr 8fr; gap: 48px; }
.split-r { min-width: 0; }
.note { font-size: 14px; color: var(--muted); border-left: 2px solid var(--teal); padding-left: 12px; margin-top: 18px; }
.fig-cap { font-size: 12.5px; color: var(--muted); margin-top: 12px; }
.fig-cap a { color: var(--muted); }

/* lists */
.ticks { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 8px; }
.ticks li { position: relative; padding-left: 24px; font-size: 15px; color: var(--body); }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 7px; width: 11px; height: 6px; border: solid var(--teal); border-width: 0 0 2px 2px; transform: rotate(-45deg); }
.links { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 2px; border-top: 1px solid var(--line); }
.links a { display: flex; justify-content: space-between; align-items: center; padding: 9px 2px; font-size: 14.5px; font-weight: 500; color: var(--ink-2); text-decoration: none; border-bottom: 1px solid var(--line); }
.links a::after, .ucx a::after { content: ""; width: 7px; height: 7px; border: solid var(--faint); border-width: 1.5px 1.5px 0 0; transform: rotate(45deg); flex: none; margin-left: 12px; }
.links a:hover { color: var(--teal-d); }
.pains { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.pains li { position: relative; padding-left: 20px; font-size: 15.5px; color: var(--body); }
.pains li::before { content: ""; position: absolute; left: 0; top: 11px; width: 10px; height: 2px; background: var(--amber); }

/* use-case index */
.idx { padding: 22px 0; border-bottom: 1px solid var(--line); }
.ucx { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.ucx a { height: 100%; display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: 6px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; text-decoration: none; background: #fff; transition: border-color .15s, box-shadow .15s; }
.ucx a::after { grid-row: 1 / span 2; grid-column: 2; }
.ucx b { font-size: 14.5px; font-weight: 600; color: var(--ink); }
.ucx span { font-size: 13px; color: var(--muted); }
.ucx a:hover { border-color: var(--teal); box-shadow: 0 0 0 3px var(--teal-l); }
.ucx.short { grid-template-columns: 1fr 1fr; margin-top: 18px; }
.ucx.short a { padding: 11px 14px; }

/* doors */
.doors-sec { padding: 48px 0; }
.doors { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.door { padding-top: 18px; border-top: 2px solid var(--ink); }
.door h2 { font-size: 22px; }
.door h2 a { text-decoration: none; }
.door h2 a:hover { color: var(--teal-d); }
.door > p { color: var(--muted); font-size: 15px; margin-top: 6px; }

/* facts */
.facts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.facts-grid p { margin-top: 12px; font-size: 15.5px; }
.facts { display: grid; gap: 0; border-top: 1px solid var(--line); }
.fact { display: grid; grid-template-columns: 150px 1fr; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.fact b { font-size: 30px; line-height: 1.05; font-weight: 600; color: var(--ink); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.fact p { font-size: 14.5px; margin: 0; color: var(--body); }
.fact-note { font-size: 12.5px; color: var(--muted); margin-top: 12px !important; }

/* cells, steps, timelines */
.cells { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 32px; }
.cells.c3 { grid-template-columns: repeat(3, 1fr); }
.cells.c4 { grid-template-columns: repeat(4, 1fr); }
.cells > div { border-top: 1px solid var(--line); padding-top: 14px; }
.cells h3 { font-size: 15.5px; }
.cells p { font-size: 14.5px; color: var(--body); margin-top: 6px; }
.tint .cells > div { border-top-color: #DCE2EA; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; border-left: 1px solid var(--line); }
.steps li { position: relative; padding: 0 0 18px 22px; }
.steps li:last-child { padding-bottom: 0; }
.steps li::before { content: ""; position: absolute; left: -5px; top: 6px; width: 9px; height: 9px; border-radius: 50%; background: #fff; border: 2px solid var(--teal); }
.steps h3 { font-size: 15.5px; }
.steps p { font-size: 14.5px; margin-top: 3px; }
.tline { list-style: none; padding: 0; margin: 0; }
.tline li { display: grid; grid-template-columns: 58px 1fr; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.tline li:first-child { border-top: 1px solid var(--line); }
.tline .t { font-weight: 600; color: var(--teal-d); font-size: 14px; font-variant-numeric: tabular-nums; padding-top: 1px; }
.tline h3 { font-size: 15px; }
.tline p { font-size: 14px; margin-top: 2px; }
.tint .tline li { border-color: #DCE2EA; }

/* tables */
.tscroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.dtable { width: 100%; border-collapse: collapse; font-size: 14px; background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.dtable th { text-align: left; font-size: 12.5px; font-weight: 600; color: var(--muted); padding: 8px 14px; background: var(--tint); border-bottom: 1px solid var(--line); }
.dtable td { padding: 8px 14px; line-height: 1.5; border-bottom: 1px solid var(--line-2); vertical-align: top; }
.dtable tr:last-child td { border-bottom: 0; }
.dtable td:first-child { color: var(--ink); font-weight: 500; }

/* ---------- alert card ---------- */
.alert { margin: 0; display: grid; grid-template-columns: 1.15fr 1fr; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); overflow: hidden; }
.alert .cam { border-radius: 0; border: 0; box-shadow: none; height: 100%; display: flex; flex-direction: column; }
.alert .cam-view { flex: 1; aspect-ratio: auto; min-height: 220px; }
.alert-body { padding: 16px 18px; font-size: 13.5px; }
.alert-top { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 12.5px; }
.alert-top .sev { color: #B54708; }
.state { margin-left: auto; font-size: 11.5px; font-weight: 600; padding: 3px 8px; border-radius: 999px; background: var(--tint); color: var(--muted); white-space: nowrap; }
.state.ok { background: #ECFDF3; color: #067647; }
.state.wait { background: var(--amber-l); color: #93370D; }
.alert-what { font-size: 15px; font-weight: 600; color: var(--ink); line-height: 1.4; margin-top: 8px; }
.alert-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 14px; margin: 12px 0 0; padding: 12px 0; border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.alert-meta dt { font-size: 11.5px; color: var(--muted); }
.alert-meta dd { margin: 1px 0 0; color: var(--ink-2); font-weight: 500; font-size: 13px; }
.alert-esc { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 7px; }
.alert-esc li { display: grid; grid-template-columns: 44px 1fr; gap: 8px; position: relative; padding-left: 14px; font-size: 13px; }
.alert-esc li::before { content: ""; position: absolute; left: 0; top: 6px; width: 7px; height: 7px; border-radius: 50%; background: var(--faint); }
.alert-esc li.w::before { background: var(--amber); }
.alert-esc li.ok::before { background: var(--green); }
.alert-esc .t { color: var(--muted); }

/* ---------- operator view: light editorial charts on a product frame ---------- */
.ops { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); overflow: hidden; font-size: 12.5px; }
.ops .ops-top { border-bottom-color: var(--line); background: var(--tint); }
.ops .con-title { color: var(--ink); }
.ops .con-site { color: var(--muted); }
.ops .live { color: #067647; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line); }
.kpi { position: relative; padding: 12px 16px 10px; border-right: 1px solid var(--line-2); display: grid; grid-template-columns: 1fr auto; column-gap: 8px; min-width: 0; }
.kpi:last-child { border-right: 0; }
.kpi-l { grid-column: 1 / -1; color: var(--muted); font-size: 12px; }
.kpi-v { font-size: 24px; font-weight: 600; color: var(--ink); letter-spacing: -.02em; line-height: 1.2; white-space: nowrap; }
.kpi-d { grid-column: 1 / -1; font-size: 11.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kpi-d.good { color: #067647; }
.kpi-d.good::before { content: ""; display: inline-block; margin-right: 5px; vertical-align: 1px; border: 4px solid transparent; border-top-color: #12B76A; border-bottom: 0; }
.kpi-d.warn { color: #B54708; }
.kpi-d.warn::before { content: ""; display: inline-block; margin-right: 5px; width: 7px; height: 7px; border-radius: 50%; background: var(--amber); }
.spark { grid-row: 2; grid-column: 2; width: 72px; height: 24px; align-self: center; overflow: visible; }
.spark path { fill: none; stroke: #9AA8BA; stroke-width: 1.5; stroke-linejoin: round; stroke-linecap: round; }
.spark circle { fill: var(--teal); stroke: #fff; stroke-width: 1.5; }
.ops-grid { display: grid; grid-template-columns: 1.1fr 1fr 1fr; }
.ops-grid > .vz { border-right: 1px solid var(--line-2); }
.ops-grid > .vz:last-child { border-right: 0; }
.vz { margin: 0; padding: 12px 16px 8px; min-width: 0; }
.vz-h { font-size: 12.5px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.vz-h span { display: block; font-weight: 400; color: var(--muted); font-size: 11.5px; margin-top: 1px; }
.chart { display: block; width: 100%; height: auto; overflow: visible; }
.chart text { font: 500 11.5px Inter, sans-serif; fill: var(--muted); font-variant-numeric: tabular-nums; }
.chart .lb { fill: var(--ink-2); }
.chart .lb.strong { fill: var(--ink); font-weight: 600; }
.chart .val { fill: var(--ink-2); font-weight: 600; }
.chart .grid { stroke: var(--line-2); stroke-width: 1; }
.chart .base { stroke: var(--line); stroke-width: 1; }
.chart .tgt { stroke: var(--ink-2); stroke-width: 1; stroke-dasharray: 2 3; opacity: .55; }
.chart .tgt-t { fill: var(--muted); }
.chart .hb, .chart .vb { fill: var(--teal); }
.chart .rb.hot .hb { fill: var(--amber); }
.chart .rb.hot .val { fill: #B54708; }
.chart .ln { fill: none; stroke: var(--teal); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.chart .area { fill: var(--teal); opacity: .1; }
.chart .end { fill: var(--teal); stroke: #fff; stroke-width: 2; }
.chart .endv { fill: var(--ink); font-weight: 600; }
.chart .hit { fill: transparent; }
.chart .hit:hover { fill: rgba(13, 148, 136, .18); }
.chart .rb:hover .hb, .chart .cb:hover .vb { opacity: .8; }
.heat { border-top: 1px solid var(--line-2); padding-bottom: 10px; }
.heat .vz-h { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.heat .vz-h span { display: inline; margin: 0; }
.hstrip { display: grid; grid-template-columns: repeat(24, 1fr); gap: 2px; }
.hc { height: 22px; border-radius: 3px; background: color-mix(in srgb, var(--teal) var(--l), #EEF2F6); }
.hc.night { background: color-mix(in srgb, #1E3A5F var(--l), #E4E9F1); }
.hc.closed { background: repeating-linear-gradient(135deg, #F2F4F7 0 3px, #E4E7EC 3px 4px); }
.hticks { position: relative; height: 16px; margin-top: 4px; font-size: 11.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.hticks span { position: absolute; top: 0; }
.ops { position: relative; }
.ops > figcaption.sim { position: absolute; top: 11px; right: 76px; padding: 0; margin: 0; font-size: 12px; color: var(--faint); }

/* spec lists: comparisons that are not a data table */
.spec { counter-reset: sp; font-size: 14px; }
.spec-h { display: grid; gap: 16px; padding: 0 0 8px 40px; border-bottom: 1px solid var(--ink-2); font-size: 11.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.spec ol { list-style: none; margin: 0; padding: 0; }
.spec li { counter-increment: sp; position: relative; display: grid; gap: 16px; padding: 9px 0 9px 40px; border-bottom: 1px solid var(--line); line-height: 1.5; }
.spec li::before { content: counter(sp, decimal-leading-zero); position: absolute; left: 0; top: 10px; font-size: 12px; font-weight: 600; color: var(--teal-d); font-variant-numeric: tabular-nums; }
.spec li > div:first-child { color: var(--ink); font-weight: 600; }
.spec.c2 .spec-h, .spec.c2 li { grid-template-columns: 2fr 3fr; }
.spec.c3 .spec-h, .spec.c3 li { grid-template-columns: 1.1fr 1fr 1.2fr; }
.spec.c4 .spec-h, .spec.c4 li { grid-template-columns: 1fr 1fr 1fr 1fr; }
.spec.c3 li > div:last-child { color: var(--ink-2); }
.spec.cmp li > div:nth-child(2) { color: var(--muted); }
.spec.cmp li > div:last-child { position: relative; padding-left: 18px; color: var(--ink); }
.spec.cmp li > div:last-child::after { content: ""; position: absolute; left: 0; top: 6px; width: 9px; height: 5px; border-left: 2px solid var(--teal); border-bottom: 2px solid var(--teal); transform: rotate(-45deg); }
.spec-viz { display: grid; grid-template-columns: 1.25fr 1fr; gap: 40px; align-items: start; }
.vz.panel { background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: 14px 18px 8px; }
.vz.panel .sim { color: var(--faint); font-size: 12px; margin: 2px 0 0; }
.legend { list-style: none; margin: 0 0 4px; padding: 0; display: flex; gap: 16px; font-size: 11.5px; color: var(--muted); }
.legend li { display: flex; align-items: center; gap: 6px; }
.legend li::before { content: ""; width: 9px; height: 9px; border-radius: 50%; }
.legend .la::before { background: #9AA8BA; }
.legend .lb_::before { background: var(--teal); }
.legend.hl { margin: 0 0 0 auto; }
.legend .ln_::before, .legend .ld_::before, .legend .lc_::before { border-radius: 2px; }
.legend .ln_::before { background: #3B5578; }
.legend .ld_::before { background: #5FB8AE; }
.legend .lc_::before { background: repeating-linear-gradient(135deg, #F2F4F7 0 3px, #C9CED6 3px 4px); }
.chart .db-l { stroke: #C9D2DD; stroke-width: 2; }
.chart .db-a { fill: #9AA8BA; stroke: #fff; stroke-width: 2; }
.chart .db-b { fill: var(--teal); stroke: #fff; stroke-width: 2; }

/* audit log: dark log stream */
.auditlog { font-size: 12.5px; }
.alog { list-style: none; margin: 0; padding: 6px 0; }
.alog li { display: grid; grid-template-columns: 66px 118px 1fr; column-gap: 12px; padding: 8px 14px; border-bottom: 1px solid var(--dk-line); }
.alog li:last-child { border-bottom: 0; }
.alog .tnum { color: var(--dk-muted); grid-row: 1 / 3; font-family: ui-monospace, "SF Mono", Consolas, monospace; font-size: 11.5px; padding-top: 1px; }
.alog .role { grid-row: 1 / 3; color: var(--dk-text); }
.alog .act { color: #fff; font-weight: 600; }
.alog .item { color: var(--dk-muted); grid-column: 3; }
.alog li.ex .act::after, .alog li.ok .act::after { content: "Masked"; margin-left: 8px; font-size: 11.5px; font-weight: 600; padding: 1px 6px; border-radius: 999px; background: rgba(45, 212, 191, .14); color: var(--teal-b); vertical-align: 1px; }
.alog li.ok .act::after { content: "Signed"; background: rgba(18, 183, 106, .16); color: #6CE9A6; }

/* incident ribbon */
.ribbon { margin-top: 12px; max-width: 440px; }
.chart .rb-help { fill: var(--amber); }
.chart .rb-care { fill: #D5DCE5; }
.chart .rb-dot { fill: #fff; stroke: var(--ink-2); stroke-width: 2; }
.doc.paper { background: #fff linear-gradient(180deg, var(--tint), #fff 56px); }

/* motion: draw in on scroll, only when site.js turns it on (reduced motion and no-JS show the final state) */
html.viz [data-viz]:not(.in) .hb { transform: scaleX(0); }
html.viz [data-viz]:not(.in) .vb { transform: scaleY(0); }
html.viz [data-viz]:not(.in) .ln, html.viz [data-viz]:not(.in) .spark path { stroke-dashoffset: 1; }
html.viz [data-viz]:not(.in) .area, html.viz [data-viz]:not(.in) .val, html.viz [data-viz]:not(.in) .end, html.viz [data-viz]:not(.in) .endv,
html.viz [data-viz]:not(.in) .hc, html.viz [data-viz]:not(.in) .db, html.viz [data-viz]:not(.in) .alog li,
html.viz [data-viz]:not(.in) .rb-help, html.viz [data-viz]:not(.in) .rb-care { opacity: 0; }
.chart .hb { transform-box: fill-box; transform-origin: left center; transition: transform .9s cubic-bezier(.2, .7, .2, 1) calc(var(--i, 0) * 70ms); }
.chart .vb { transform-box: fill-box; transform-origin: center bottom; transition: transform .9s cubic-bezier(.2, .7, .2, 1) calc(var(--i, 0) * 70ms); }
.chart .ln, .spark path { stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke-dashoffset 1.6s cubic-bezier(.3, .6, .2, 1); }
.chart .val, .chart .end, .chart .endv, .chart .area, .chart .db, .chart .rb-help, .chart .rb-care { transition: opacity .6s ease calc(.5s + var(--i, 0) * 70ms); }
.hc { transition: opacity .5s ease calc(var(--i, 0) * 30ms); }
.alog li { transition: opacity .5s ease calc(var(--i, 0) * 120ms); }
/* console live loop */
.events li { transition: opacity .5s ease; }
.events li.pend { opacity: .18; }
.rooms li { transition: border-color .6s, background .6s; }
.con-alert { transition: border-color .6s, background .6s; }
.con-alert.done { border-color: rgba(18, 183, 106, .45); border-left-color: var(--green); background: rgba(18, 183, 106, .07); }
.con-alert.done .sev { color: #6CE9A6; }
.timer .fg { transition: stroke-dashoffset 1s linear; }

/* ---------- records ---------- */
.docs { min-width: 0; }
#records .wrap { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: center; }
#records .sec-head { margin: 0; }
.doc { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: 16px 18px 10px; font-size: 13px; }
.doc-top { display: flex; align-items: center; gap: 10px; }
.doc-kind { font-weight: 600; color: var(--teal-d); font-size: 13px; }
.doc-h { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; margin-top: 8px; padding-bottom: 10px; border-bottom: 1px solid var(--line-2); }
.doc-h b { color: var(--ink); font-size: 15px; font-weight: 600; }
.doc-h span { color: var(--muted); font-size: 12px; white-space: nowrap; }
.doc-grid { display: grid; grid-template-columns: 170px 1fr; gap: 14px; margin-top: 12px; align-items: start; }
.doc-grid img { border-radius: 7px; border: 1px solid var(--line); }
.doc-grid dl { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; }
.doc dt { font-size: 11.5px; color: var(--muted); }
.doc dd { margin: 1px 0 0; font-weight: 500; color: var(--ink-2); }
.doc-kpi { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 12px; }
.doc-kpi div { background: var(--tint); border: 1px solid var(--line-2); border-radius: 8px; padding: 8px 10px; }
.doc-kpi b { display: block; font-size: 17px; font-weight: 600; color: var(--ink); }
.doc-kpi span { font-size: 11.5px; color: var(--muted); line-height: 1.3; display: block; }
.doc-rows { display: grid; grid-template-columns: 48px 1fr; margin-top: 12px; border-top: 1px solid var(--line-2); }
.doc-rows span { padding: 7px 0; border-bottom: 1px solid var(--line-2); }
.doc-rows .tnum { color: var(--teal-d); font-weight: 600; }
.doc-fill { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.doc-fill span { border: 1px dashed #C8D0DB; border-radius: 7px; padding: 8px 10px; color: var(--muted); font-size: 12px; min-height: 40px; }
.doc-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 12px; color: var(--muted); font-size: 12px; }
.btn-s { font-size: 12.5px; font-weight: 600; color: #fff; background: var(--teal); padding: 6px 12px; border-radius: 7px; white-space: nowrap; }
.btn-s.done { background: #ECFDF3; color: #067647; }
.doc .sim { padding: 8px 0 0; }

/* ---------- architecture ---------- */
.arch { display: grid; grid-template-columns: 1fr 34px 1.1fr 34px 1fr 34px 1fr; align-items: stretch; }
.arch-col { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px; box-shadow: 0 1px 2px rgba(16, 24, 40, .04); }
.arch-col h3 { font-size: 16px; }
.arch-col > p { font-size: 13.5px; font-weight: 500; color: var(--teal-d); margin-top: 3px; }
.arch-col ul { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 6px; border-top: 1px solid var(--line-2); padding-top: 12px; }
.arch-col li { font-size: 13.5px; color: var(--body); padding-left: 14px; position: relative; }
.arch-col li::before { content: ""; position: absolute; left: 0; top: 9px; width: 5px; height: 5px; border-radius: 1px; background: var(--faint); }
.arch-col.core { background: var(--dk); border-color: var(--dk); color: var(--dk-text); box-shadow: var(--shadow-dk); }
.arch-col.core h3 { color: #fff; }
.arch-col.core > p { color: var(--teal-b); }
.arch-col.core ul { border-color: var(--dk-line); }
.arch-col.core li { color: var(--dk-text); }
.arch-col.core li::before { background: var(--teal-b); }
.arch-arrow { position: relative; }
.arch-arrow::before { content: ""; position: absolute; left: 6px; right: 8px; top: 50%; height: 1.5px; background: var(--teal); }
.arch-arrow::after { content: ""; position: absolute; right: 7px; top: calc(50% - 4px); width: 8px; height: 8px; border: solid var(--teal); border-width: 1.5px 1.5px 0 0; transform: rotate(45deg); }
.integ { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin: 0; border-top: 1px solid var(--line); }
.integ div { padding: 14px 0; border-bottom: 1px solid var(--line); }
.integ div:nth-child(odd) { padding-right: 24px; }
.integ dt { font-weight: 600; color: var(--ink); font-size: 15px; }
.integ dd { margin: 3px 0 0; color: var(--muted); font-size: 14px; }

/* ---------- pilot ---------- */
.pilot { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; counter-reset: wk; }
.pilot li { position: relative; padding: 22px 18px 0 0; border-top: 2px solid var(--line); }
.pilot li::before { content: ""; position: absolute; left: 0; top: -6px; width: 10px; height: 10px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px #fff; }
.tint .pilot li::before { box-shadow: 0 0 0 4px var(--tint); }
.pilot li:first-child { border-top-style: dashed; }
.pilot li:first-child::before { background: #fff; border: 2px solid var(--teal); }
.pilot li:last-child { border-top-color: var(--teal); }
.pilot .wk { font-size: 12.5px; font-weight: 600; color: var(--teal-d); }
.pilot h3 { font-size: 16px; margin-top: 2px; }
.pilot p { font-size: 14px; color: var(--body); margin-top: 4px; }
.pilot-more { display: grid; grid-template-columns: 7fr 5fr; gap: 40px; margin-top: 28px; align-items: start; }
.pilot-more h3 { font-size: 15px; }
.pilot-more .ticks { margin-top: 10px; }
.pilot-more .ticks li { font-size: 14px; }

/* ---------- privacy view compare ---------- */
.pvc { margin: 0; background: var(--dk); border: 1px solid var(--dk-line); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-dk); }
.pvc-tog { display: inline-flex; gap: 2px; padding: 2px; background: var(--dk-2); border: 1px solid var(--dk-line); border-radius: 7px; }
.pvc-tog button { font: 600 11.5px/1 Inter, sans-serif; color: var(--dk-muted); background: transparent; border: 0; padding: 5px 9px; border-radius: 5px; cursor: pointer; }
.pvc-tog button[aria-pressed="true"] { background: var(--teal-b); color: #04211E; }
.pvc-view { position: relative; aspect-ratio: 16 / 9; }
.pvc-view img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .35s; }
.pvc[data-view="pv"] .nv { opacity: 0; }
.pvc[data-view="nv"] .pv { opacity: 0; }
.pvc figcaption { font-size: 12px; padding: 9px 12px !important; margin: 0 !important; text-align: left; }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: 4fr 8fr; gap: 56px; }
.faq-list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 15px 36px 15px 0; font-size: 16px; font-weight: 600; color: var(--ink); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 22px; width: 8px; height: 8px; border: solid var(--muted); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); transition: transform .15s; }
.faq details[open] summary::after { transform: rotate(-135deg); top: 25px; }
.faq details p { padding: 0 36px 16px 0; font-size: 15px; color: var(--body); }
.tint .faq-list, .tint .faq details { border-color: #DCE2EA; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--dk); color: var(--dk-text); padding: 52px 0; 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: 48px 48px; }
.cta-in { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; }
.cta-band h2 { color: #fff; font-size: clamp(22px, 2vw, 28px); line-height: 1.2; letter-spacing: -.024em; }
.cta-band p { margin-top: 10px; max-width: 640px; font-size: 15.5px; }
.cta-band .btns { margin: 0; flex-wrap: nowrap; }

/* ---------- footer ---------- */
.site-foot { background: var(--tint); border-top: 1px solid var(--line); padding: 44px 0 0; font-size: 13.5px; }
.foot-in { display: grid; grid-template-columns: 1.2fr 1fr 1fr .8fr; gap: 32px; }
.foot-brand img { height: 26px; width: auto; }
.foot-proof { color: var(--muted); margin-top: 14px; max-width: 300px; line-height: 1.55; }
.site-foot h3 { font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 10px; letter-spacing: 0; }
.site-foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 7px; }
.site-foot a { color: var(--muted); text-decoration: none; }
.site-foot a:hover { color: var(--ink); }
.foot-base { display: flex; justify-content: space-between; gap: 20px; margin-top: 36px; padding: 16px 24px 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12.5px; }
.foot-base span:last-child { display: flex; gap: 18px; white-space: nowrap; }

/* ---------- contact ---------- */
.contact-sec { padding: 24px 0 28px; }
.contact { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: start; }
.contact h1 { font-size: clamp(28px, 2.6vw, 36px); line-height: 1.12; letter-spacing: -.03em; }
.contact .sub { margin-top: 12px; font-size: 16px; }
.cflow { list-style: none; padding: 0; margin: 22px 0 0; border-left: 1px solid var(--line); }
.cflow li { position: relative; padding: 0 0 14px 20px; }
.cflow li::before { content: ""; position: absolute; left: -5px; top: 6px; width: 9px; height: 9px; border-radius: 50%; background: #fff; border: 2px solid var(--teal); }
.cflow b { display: block; color: var(--ink); font-size: 15px; }
.cflow span { font-size: 14px; color: var(--muted); }
.fine-co { font-size: 13px; color: var(--muted); margin-top: 18px; line-height: 1.6; }
.fine-co a { color: var(--teal-d); font-weight: 600; font-size: 14px; }
.form { background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: 18px 22px; }
.form fieldset .choice span { padding: 9px 4px; }
.form fieldset { border: 0; padding: 0; margin: 0 0 12px; }
.form legend, .form label { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.choice { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 6px; }
.choice label { position: relative; }
.choice input { position: absolute; opacity: 0; }
.choice span { display: block; text-align: center; padding: 9px 8px; border: 1px solid var(--line); border-radius: 8px; font-weight: 500; font-size: 14px; color: var(--body); cursor: pointer; }
.choice input:checked + span { border-color: var(--teal); background: var(--teal-l); color: var(--teal-d); font-weight: 600; }
.choice input:focus-visible + span { outline: 2px solid var(--teal); outline-offset: 2px; }
.f { display: grid; gap: 4px; margin-bottom: 9px; min-width: 0; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.f input, .f select, .f textarea { font: 400 15px Inter, sans-serif; color: var(--ink); background: #fff; border: 1px solid #D0D5DD; border-radius: 8px; padding: 9px 12px; width: 100%; min-height: 40px; }
.f textarea { min-height: 44px; resize: vertical; }
.f input:focus, .f select:focus, .f textarea:focus { outline: 0; border-color: var(--teal); box-shadow: 0 0 0 3px var(--teal-l); }
.opt { font-weight: 400; color: var(--muted); }
.form .btn { width: 100%; margin-top: 4px; }
.fine { font-size: 12.5px; color: var(--muted); margin-top: 10px; }
.form-err { color: #B42318; }
.thanks { display: none; padding: 24px 4px; }
.thanks h2 { font-size: 22px; }
.thanks p { margin-top: 8px; }
.form.sent form { display: none; }
.form.sent .thanks { display: block; }

/* legal */
.legal { max-width: 760px; }
.legal h2 { font-size: 20px; margin: 28px 0 8px; }
.legal h2:first-child { margin-top: 0; }
.legal p { font-size: 15.5px; }
.legal a { color: var(--teal-d); }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .hero-grid { gap: 36px; }
  .ucx { grid-template-columns: repeat(3, 1fr); }
  .cells.c4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1040px) {
  .hero-grid, .split, .split.wide-r, #records .wrap, .row-head, .facts-grid, .faq, .contact, .pilot-more { grid-template-columns: 1fr; gap: 32px; }
  .arch { grid-template-columns: 1fr 1fr; gap: 14px; }
  .arch-arrow { display: none; }
  .pilot { grid-template-columns: 1fr 1fr; row-gap: 22px; }
  .ops-grid, .spec-viz { grid-template-columns: 1fr; }
  .kpi-d { white-space: normal; }
  .foot-in { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .menu-btn { display: inline-block; }
  .nav { display: none; position: absolute; top: 62px; left: 0; right: 0; flex-direction: column; align-items: stretch; padding: 10px 16px 16px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav a { padding: 12px; }
  .nav .nav-cta { margin: 6px 0 0; text-align: center; }
  .alert { grid-template-columns: 1fr; }
  .alert .cam-view { aspect-ratio: 16 / 9; min-height: 0; }
  .doors { grid-template-columns: 1fr; }
  .cta-in { grid-template-columns: 1fr; gap: 20px; }
  .cta-band .btns { flex-wrap: wrap; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .hero { padding: 28px 0 32px; }
  .sec { padding: 44px 0; }
  .con-body { grid-template-columns: 1fr; }
  .con-side { border-left: 0; border-top: 1px solid var(--dk-line); }
  .con-site { display: none; }
  .rooms { grid-template-columns: 1fr 1fr; }
  .kpis { grid-template-columns: 1fr 1fr; }
  .kpi:nth-child(2) { border-right: 0; }
  .kpi:nth-child(-n+2) { border-bottom: 1px solid var(--line-2); }
  .kpi-v { font-size: 20px; }
  .spark { width: 52px; }
  .ops-grid > .vz { border-right: 0; border-bottom: 1px solid var(--line-2); }
  .spec-h { display: none; }
  .spec li, .spec.c2 li, .spec.c3 li, .spec.c4 li { grid-template-columns: 1fr; gap: 2px; }
  .spec li > div:not(:first-child)::before { content: attr(data-h) ": "; color: var(--muted); font-weight: 500; }
  .alog li { grid-template-columns: 62px 1fr; }
  .alog .role { grid-row: auto; grid-column: 2; }
  .alog .act, .alog .item { grid-column: 2; }
  .ucx, .ucx.short, .cells, .cells.c3, .cells.c4, .integ, .arch, .pilot, .row, .doc-kpi { grid-template-columns: 1fr 1fr; }
  .ucx, .cells, .cells.c3, .cells.c4, .integ, .arch, .pilot, .row { grid-template-columns: 1fr; }
  .integ div:nth-child(odd) { padding-right: 0; }
  .doc-grid { grid-template-columns: 1fr; }
  .doc-fill { grid-template-columns: 1fr 1fr 1fr; }
  .fact { grid-template-columns: 1fr; gap: 4px; }
  .alert-meta { grid-template-columns: 1fr 1fr; }
  .foot-in { grid-template-columns: 1fr; }
  .foot-base { flex-direction: column; padding: 16px; }
  .cam-meta .cam-time { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

#operator { padding: 26px 0; }
#operator .sec-head { margin-bottom: 16px; }
.ops .kpi { padding: 10px 16px 8px; }
.ops .vz { padding: 10px 16px 6px; }
#imda { padding: 34px 0; }
#imda .sec-head { margin-bottom: 16px; }
#imda .spec li { padding-top: 6px; padding-bottom: 6px; }
#imda .spec li::before { top: 7px; }

/* ---------------- round 3 */
/* detection label under the box where boxes overlap (pick-up gate) */
.bx.lb-b span { bottom: auto; top: 100%; margin: 2px 0 0; }
.cam-bar .pv-badge { position: static; }
.live.off { color: var(--faint); font-size: 12px; }
.ops .live.off { color: var(--faint); }
.vz.panel .sim { text-align: right; padding: 4px 0 2px; }
/* home context strip: two public figures and the platform proof line */
.sec.ctx { padding-top: 36px; padding-bottom: 36px; }
.ctx-facts { grid-template-columns: 1fr 1fr; column-gap: 48px; border-top: 0; }
.ctx-facts .fact { border-top: 1px solid var(--line); }
.ctx-proof { margin-top: 16px; font-size: 14px; color: var(--muted); }
/* pilot: what you get in the first 30 days, two columns of short steps */
.steps.first30 { grid-template-columns: repeat(3, 1fr); column-gap: 32px; row-gap: 8px; border-left: 0; }
.steps.first30 li { border-left: 1px solid var(--line); padding-bottom: 14px; }
.steps.first30 h3 { font-size: 14.5px; }
.steps.first30 p { font-size: 13.5px; }
/* contact: setting pills never wrap */
.choice { grid-template-columns: repeat(3, auto); justify-content: start; }
.choice span { white-space: nowrap; padding-left: 14px; padding-right: 14px; }
.form fieldset .choice span { padding: 9px 14px; }
@media (max-width: 760px) {
  .ctx-facts, .steps.first30 { grid-template-columns: 1fr; }
  .choice span, .form fieldset .choice span { padding-left: 10px; padding-right: 10px; font-size: 13.5px; }
}

/* Round 4: acknowledged state on the console card, stacked trust table and larger chart text on phones */
.con-alert.seen { border-color: rgba(45, 212, 191, .45); border-left-color: var(--teal); background: rgba(45, 212, 191, .07); }
.con-alert.seen .sev { color: #5EEAD4; }
.con-alert .sev { display: block; white-space: nowrap; }
.chart .vb_ { fill: var(--teal-d, #0F766E); font-weight: 600; }
@media (max-width: 600px) {
  .chart text { font-size: 13px; }
  .chart.rank text.lb { font-size: 13px; }
  .chart.dist text.ax { font-size: 12px; }
  .tscroll { overflow: visible; }
  .dtable.keep, .dtable.keep tbody, .dtable.keep tr, .dtable.keep td { display: block; width: 100%; }
  .dtable.keep thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .dtable.keep tr { border-bottom: 1px solid var(--line); padding: 10px 0; }
  .dtable.keep tr:last-child { border-bottom: 0; }
  .dtable.keep td { border-bottom: 0; padding: 2px 14px; }
  .dtable.keep td:first-child { font-weight: 600; padding-bottom: 4px; }
  .dtable.keep td:not(:first-child)::before { content: attr(data-h) ": "; color: var(--muted); font-weight: 500; }
}

/* Round 5: the console fades out and back in when the sample alert replays, so the clock never visibly rewinds */
.con-replay { transition: opacity .45s ease; }
.con-replay.out { opacity: 0; }
.flow-head { max-width: none; margin-bottom: 20px; }
.flow-head .lead { margin-top: 6px; }
.flow-head h2 + .lead { margin-top: 12px; }
.facts.one { margin-top: 18px; }

/* Round 6: detection boxes sit on a 16:9 stage that covers the view the same way the image does, so a narrow or tall
   tile crops image and boxes together and every box stays on its person */
.cam-view { container-type: size; }
.cam-stage { position: absolute; --sw: max(100cqw, calc(100cqh * 16 / 9)); --sh: max(100cqh, calc(100cqw * 9 / 16)); width: var(--sw); height: var(--sh);
  left: calc((100cqw - var(--sw)) * var(--fx, .5)); top: calc((100cqh - var(--sh)) * var(--fy, .5)); }
.bx.lb-l span { left: auto; right: 100%; bottom: auto; top: -2px; margin: 0 2px 0 0; }
.cam-stage img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* an alert whose people spread across the frame shows the whole 16:9 frame instead of a cropped tile */
.alert .cam.fit .cam-view { flex: none; aspect-ratio: 16 / 9; min-height: 0; margin: auto 0; }

/* R7 (11 Nov 2026): real video in camera views and the console; escalated state on the console card */
.con-feat video, .cam-stage video { display: block; width: 100%; height: 100%; object-fit: cover; background: #050A14; }
.con-alert.escd { border-color: rgba(240, 68, 56, .5); border-left-color: var(--red); background: rgba(240, 68, 56, .08); }
.con-alert.escd .sev { color: #FDA29B; }
.con-alert.escd .timer circle.fg { stroke: var(--red); }
.con-alert.seen .timer circle.fg { stroke: var(--teal-b); }
.con-alert.done .timer circle.fg { stroke: var(--green); }
.events .acked::before { border-color: var(--teal-b); background: var(--teal-b); }
.events .esc::before { background: var(--red); }
.wall { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.wall .cam { min-width: 0; }
@media (max-width: 900px) { .wall { grid-template-columns: 1fr; } }

/* R8 (19 Nov 2026): function pages. A compact second row of function links on the hubs, a four-tile camera wall,
   the search and assistant lines in the dark panel, and the multi-choice chips on the estimate form. */
.ucx.more { margin-top: 8px; }
.ucx.more a { padding: 9px 14px; }
.ucx.more b { font-size: 13.5px; font-weight: 500; color: var(--ink-2); }
.door-more { margin-top: 12px; font-size: 14.5px; }
.wall.w4 { grid-template-columns: repeat(4, 1fr); gap: 12px; }
@media (max-width: 1100px) { .wall.w4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .wall.w4 { grid-template-columns: 1fr; } }
.qline { background: var(--dk-2); border: 1px solid var(--dk-line); border-radius: 7px; padding: 9px 11px; color: #fff; font-size: 13px; }
.aline { color: var(--dk-text); font-size: 13px; line-height: 1.5; }
.console > .con-main .con-lbl:first-child { margin-top: 2px; }
.console > .con-main .rooms { margin-top: 0; }
.choice.multi { display: flex; flex-wrap: wrap; }
.form.est fieldset { margin-bottom: 8px; }
.form.est .f { margin-bottom: 6px; }
.form.est .choice.multi span { padding: 7px 11px; font-size: 13.5px; }

/* 19 Nov 2026 audit: in an alert card the picture is cropped to fill, which cut the adult labels at the frame edge. The teal box alone marks the adult there. */
.alert .bx.ad span { display: none; }
