/* DARA website v2. Image-led, dark, minimal.
   Type: Geist (display, text) and Geist Mono (labels). Three sizes: display, text, label. */

@font-face { font-family: "Geist"; font-weight: 400; font-display: swap; src: url("fonts/Geist-Regular.woff2") format("woff2"); }
@font-face { font-family: "Geist"; font-weight: 500; font-display: swap; src: url("fonts/Geist-Medium.woff2") format("woff2"); }
@font-face { font-family: "Geist"; font-weight: 600; font-display: swap; src: url("fonts/Geist-SemiBold.woff2") format("woff2"); }
@font-face { font-family: "Geist Mono"; font-weight: 400; font-display: swap; src: url("fonts/GeistMono-Regular.woff2") format("woff2"); }

:root {
  color-scheme: dark;
  --bg: #050605;
  --card: #0E100F;
  --line: rgba(240, 242, 238, 0.12);
  --text: #F0F2EE;
  --text-2: rgba(240, 242, 238, 0.62);
  --text-3: rgba(240, 242, 238, 0.42);
  --display: clamp(2.5rem, 5.4vw, 5.25rem);
  --body: 1.1875rem;
  --label: 0.875rem;
  --edge: clamp(16px, 3.2vw, 48px);
  --gap: 8px;
  --radius: 6px;
  --signal: #EDCB8D;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --sans: "Geist", "Helvetica Neue", Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--sans); font-size: var(--body); line-height: 1.45; font-weight: 400;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3 { margin: 0; font-weight: 400; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
::selection { background: var(--text); color: var(--bg); }
:focus-visible { outline: 1px solid var(--text); outline-offset: 4px; }

.display { font-size: var(--display); line-height: 1; letter-spacing: -0.045em; font-weight: 500; text-wrap: balance; }
.text { font-size: var(--body); }
.dim { color: var(--text-2); }
.label { font-family: var(--mono); font-size: var(--label); line-height: 1.4; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-2); }
.wrap { padding: 0 var(--edge); max-width: 1920px; margin: 0 auto; }
.space { margin-top: clamp(96px, 14vw, 200px); }
.space-s { margin-top: clamp(48px, 6vw, 96px); }

/* Header */
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 100; background: var(--text); color: var(--bg); padding: 8px 14px; }
.header { position: fixed; inset: 0 0 auto; z-index: 40; transition: background-color 500ms var(--ease), transform 600ms var(--ease); }
.header .wrap { height: 76px; display: flex; align-items: center; justify-content: space-between; }
.header.solid { background: rgba(5, 6, 5, 0.72); backdrop-filter: blur(20px) saturate(140%); -webkit-backdrop-filter: blur(20px) saturate(140%); }
.header.away { transform: translateY(-100%); }
.brand { display: flex; align-items: center; height: 44px; }
.brand svg { height: 24px; width: auto; }
@media (max-width: 640px) { .brand svg { height: 21px; } }
.nav { display: flex; gap: 32px; align-items: center; }
.nav a { color: var(--text-2); transition: color 200ms; }
.nav a:hover, .nav a[aria-current] { color: var(--text); }
.pill {
  display: inline-flex; align-items: center; gap: 10px; height: 40px; padding: 0 18px; border-radius: 999px;
  background: var(--text); color: var(--bg); font-weight: 500; white-space: nowrap; border: 0; cursor: pointer;
  transition: transform 300ms var(--ease), background-color 200ms;
}
.pill:hover { background: #fff; }
.pill svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; transition: transform 300ms var(--ease); }
.pill:hover svg { transform: translateX(3px); }
.pill.ghost { background: rgba(240, 242, 238, 0.1); color: var(--text); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.pill.ghost:hover { background: rgba(240, 242, 238, 0.18); }
.pill.lg { height: 52px; padding: 0 26px; }
.menu-btn { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; align-items: center; justify-content: center; }
.menu-btn svg { width: 22px; height: 22px; stroke: currentColor; stroke-width: 1.5; fill: none; }
/* Bottom sheet (mobile): scrim, rounded panel with grabber, inset grouped rows */
.sheet { position: fixed; inset: 0; z-index: 60; visibility: hidden; transition: visibility 0s 420ms; }
.sheet.open { visibility: visible; transition: none; }
.sheet-scrim { position: absolute; inset: 0; background: rgba(0,0,0,0.5); opacity: 0; transition: opacity 420ms var(--ease); }
.sheet.open .sheet-scrim { opacity: 1; }
.sheet-panel { position: absolute; left: 0; right: 0; bottom: 0; max-height: 88svh; overflow-y: auto; overscroll-behavior: contain;
  background: #121413; border-radius: 22px 22px 0 0; padding: 8px 16px calc(24px + env(safe-area-inset-bottom));
  transform: translateY(100%); transition: transform 520ms cubic-bezier(0.32, 0.72, 0, 1); box-shadow: 0 -1px 0 rgba(255,255,255,0.06); }
.sheet.open .sheet-panel { transform: translateY(var(--drag, 0px)); }
.sheet.dragging .sheet-panel { transition: none; }
.grabber { width: 36px; height: 5px; border-radius: 3px; background: rgba(240,242,238,0.25); margin: 0 auto 10px; }
.sheet-head { display: flex; align-items: center; justify-content: space-between; padding: 6px 4px 16px; }
.sheet-head h2 { font-size: 1.75rem; font-weight: 600; letter-spacing: -0.03em; }
.sheet-x { width: 32px; height: 32px; border-radius: 50%; border: 0; background: rgba(240,242,238,0.1); display: grid; place-items: center; cursor: pointer; }
.sheet-x svg { width: 14px; height: 14px; stroke: var(--text-2); stroke-width: 2.2; fill: none; }
.group { background: rgba(240,242,238,0.06); border-radius: 14px; overflow: hidden; }
.group li + li .row { box-shadow: inset 0 1px 0 var(--line); }
.group li + li { margin-left: 0; }
.row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; padding: 12px 14px 12px 16px; transition: background-color 150ms; }
.row:active { background: rgba(240,242,238,0.08); }
.row b { display: block; font-weight: 500; font-size: 1.0625rem; letter-spacing: -0.01em; }
.row small { display: block; color: var(--text-3); font-size: 0.875rem; margin-top: 2px; line-height: 1.3; }
.chev { width: 16px; height: 16px; flex: none; fill: none; stroke: var(--text-3); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Tab bar (mobile): floating glass capsule */
.tabbar, .dots { display: none; }
/* Hero */
.hero { position: relative; height: 100svh; min-height: 600px; }
.hero-frame { position: absolute; inset: 0; overflow: hidden; background: #000; will-change: transform; }
.hero-frame video, .hero-frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-frame video { filter: brightness(0.78) contrast(1.05); }
.hero-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(5,6,5,0.9) 0%, rgba(5,6,5,0.4) 38%, rgba(5,6,5,0) 62%), linear-gradient(90deg, rgba(5,6,5,0.5) 0%, rgba(5,6,5,0) 55%), linear-gradient(180deg, rgba(5,6,5,0.5), rgba(5,6,5,0) 18%); }
.hero-copy { position: absolute; inset: auto 0 0; z-index: 2; padding-bottom: clamp(28px, 4vw, 56px); }
.hero-copy .wrap { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.hero-copy h1 { max-width: 11em; }
.hero-h { font-size: clamp(3rem, 7.4vw, 8rem); line-height: 0.96; letter-spacing: -0.05em; max-width: 11em; }
.hero-copy p { margin-top: 28px; max-width: 30em; color: var(--text-2); font-size: clamp(1.3125rem, 1.8vw, 1.75rem); line-height: 1.35; }
.hero-tag { position: absolute; z-index: 2; top: 88px; right: var(--edge); display: flex; gap: 14px; align-items: center; }
.hero-tag button { background: none; border: 0; padding: 0; cursor: pointer; color: var(--text-2); font: inherit; letter-spacing: inherit; text-transform: inherit; }
.hero-tag button:hover { color: var(--text); }
.blink { width: 6px; height: 6px; background: var(--text); display: inline-block; margin-right: 8px; animation: blink 2.4s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0.2; } }
.enter { opacity: 0; transform: translateY(20px); animation: enter 1200ms var(--ease) forwards; }
.enter.d2 { animation-delay: 150ms; } .enter.d3 { animation-delay: 300ms; }
@keyframes enter { to { opacity: 1; transform: none; } }

/* Section header */
.head { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; margin-bottom: 24px; }
.link { display: inline-flex; gap: 8px; align-items: center; color: var(--text-2); transition: color 200ms; }
.link:hover { color: var(--text); }
.link svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; transition: transform 300ms var(--ease); }
.link:hover svg { transform: translateX(3px); }

/* Cards */
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gap); }
.grid.three { grid-template-columns: repeat(3, 1fr); }
.wide { grid-column: 1 / -1; }
@media (max-width: 860px) { .grid, .grid.three { grid-template-columns: 1fr; } }
.card { position: relative; display: block; overflow: hidden; border-radius: var(--radius); background: var(--card); aspect-ratio: 4 / 3; isolation: isolate; container-type: inline-size; }
.card.tall { aspect-ratio: 4 / 5; }
.wide.card { aspect-ratio: 21 / 9; }
@media (max-width: 860px) { .card, .wide.card { aspect-ratio: 4 / 5; } }
.card-media { position: absolute; inset: 0; z-index: -1; }
.card-media img, .card-media video { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); filter: brightness(0.84) saturate(0.85); transition: transform 1600ms var(--ease), filter 900ms var(--ease); }
.card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(5,6,5,0.82) 0%, rgba(5,6,5,0.38) 28%, rgba(5,6,5,0) 52%); pointer-events: none; transition: opacity 900ms var(--ease); }
.card::before { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(240,242,238,0); transition: box-shadow 600ms var(--ease); pointer-events: none; }
.card-label { position: absolute; top: 20px; left: 22px; right: 22px; display: flex; justify-content: space-between; }
.card-body { position: absolute; left: clamp(20px, 5cqi, 40px); right: clamp(20px, 5cqi, 40px); bottom: clamp(20px, 4.5cqi, 36px); transition: transform 700ms var(--ease); }
.card-name { font-size: clamp(1.75rem, 7.2cqi, 3.25rem); line-height: 1.02; letter-spacing: -0.04em; font-weight: 600; max-width: 14em; text-wrap: balance; }
.card .more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 700ms var(--ease); }
.card .more > p { overflow: hidden; }
.card .sub { color: var(--text-2); max-width: 28em; padding-top: 12px; opacity: 0; transition: opacity 500ms var(--ease); }
a.card { cursor: pointer; }
@media (hover: hover) {
  a.card:hover .card-media img, a.card:hover .card-media video { transform: scale(1.06); filter: brightness(1) saturate(1); }
  a.card:hover::before { box-shadow: inset 0 0 0 1px rgba(240,242,238,0.34); }
  a.card:hover .more { grid-template-rows: 1fr; }
  a.card:hover .sub { opacity: 1; transition-delay: 120ms; }
}
a.card:focus-visible { outline-offset: 3px; }
a.card:focus-visible .more { grid-template-rows: 1fr; }
a.card:focus-visible .sub { opacity: 1; }
@media (hover: none) { .card .more { grid-template-rows: 1fr; } .card .sub { opacity: 1; } }
.card.static .more { grid-template-rows: 1fr; }
.card.static .sub { opacity: 1; }
.card.static .card-media img { filter: brightness(0.88) saturate(0.9); }

/* Scroll reveal */
.js .reveal { clip-path: inset(5% 5% 5% 5% round 14px); transition: clip-path 1500ms var(--ease); }
.js .reveal.in { clip-path: inset(0 0 0 0 round var(--radius)); }
.js .fade { opacity: 0; transform: translateY(24px); transition: opacity 1000ms var(--ease), transform 1200ms var(--ease); }
.js .fade.in { opacity: 1; transform: none; }

/* Full-bleed thermal scrub */
.scrub { height: 260vh; position: relative; }
.scrub-stick { position: sticky; top: 0; height: 100svh; overflow: hidden; background: #000; }
.scrub-stick video { width: 100%; height: 100%; object-fit: cover; }
.scrub-stick::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,6,5,0.8) 0%, rgba(5,6,5,0.25) 45%, rgba(5,6,5,0) 70%); pointer-events: none; }
.scrub-copy { position: absolute; z-index: 2; left: 0; right: 0; bottom: clamp(48px, 7vw, 96px); }
.scrub-copy p { max-width: 24em; margin-top: 18px; color: var(--text-2); }
.scrub-hud { position: absolute; z-index: 2; top: 88px; left: var(--edge); right: var(--edge); display: flex; justify-content: space-between; }
.scrub-bar { position: absolute; z-index: 2; left: var(--edge); right: var(--edge); bottom: 24px; height: 1px; background: var(--line); }
.scrub-bar span { position: absolute; inset: 0; background: var(--text); transform-origin: left; transform: scaleX(0); }
@media (max-width: 860px) { .scrub { height: auto; } .scrub-stick { position: relative; height: 80svh; } .scrub-bar { display: none; } }

/* Product page */
.p-hero { position: relative; height: 92svh; min-height: 560px; overflow: hidden; }
.p-hero .bg { position: absolute; inset: 0; }
.p-hero .bg img, .p-hero .bg video { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.8) saturate(0.9); transform: scale(1.06); will-change: transform; }
.p-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, var(--bg) 0%, rgba(5,6,5,0.35) 40%, rgba(5,6,5,0.1) 70%, rgba(5,6,5,0.5) 100%); }
.p-hero .copy { position: absolute; inset: auto 0 0; z-index: 2; padding-bottom: clamp(28px, 4vw, 56px); }
.p-hero .copy .wrap { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.p-hero .copy p { margin-top: 28px; color: var(--text-2); max-width: 30em; font-size: clamp(1.3125rem, 1.8vw, 1.75rem); line-height: 1.35; }
.crumb { display: flex; gap: 8px; margin-bottom: 20px; }
.crumb a:hover { color: var(--text); }

.specs { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
.spec { background: var(--card); border-radius: var(--radius); padding: 22px; min-height: 200px; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; }
.spec .v { font-size: clamp(1.5rem, 2.2vw, 2rem); line-height: 1.15; letter-spacing: -0.03em; font-weight: 500; }
@media (max-width: 1100px) { .specs { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .specs { grid-template-columns: 1fr; } .spec { min-height: 0; } }

.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { height: 44px; padding: 0 20px; border-radius: 999px; background: rgba(240,242,238,0.08); display: inline-flex; align-items: center; transition: background-color 200ms; }
a.chip:hover { background: rgba(240,242,238,0.16); }

/* Rail */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - var(--gap) * 3) / 3.4); gap: var(--gap); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
@media (max-width: 860px) { .rail { grid-auto-columns: 82%; } }
.rail-nav { display: flex; gap: 8px; }
.rail-nav button { width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(240,242,238,0.08); cursor: pointer; display: grid; place-items: center; transition: background-color 200ms, opacity 200ms; }
.rail-nav button:hover { background: rgba(240,242,238,0.16); }
.rail-nav button:disabled { opacity: 0.3; cursor: default; }
.rail-nav svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; }

/* Closing row and the Request a demo page */
.closing { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: clamp(32px, 4vw, 56px); }
.closing p { margin-top: 18px; color: var(--text-2); }
.demo { padding-top: clamp(120px, 14vw, 200px); display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 112px); align-items: start; }
.demo-intro { position: sticky; top: 120px; }
.demo-intro p { margin-top: 24px; color: var(--text-2); max-width: 26em; font-size: clamp(1.3125rem, 1.7vw, 1.625rem); line-height: 1.35; }
.demo-steps { list-style: none; margin: 40px 0 0; padding: 0; max-width: 26em; }
.demo-steps li { display: flex; gap: 14px; padding: 18px 0; border-top: 1px solid var(--line); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 12px; background: var(--card); border-radius: var(--radius); padding: clamp(24px, 3vw, 48px); }
.form .full { grid-column: 1 / -1; }
.f { display: grid; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.f > label, .f > legend { font-size: var(--label); color: var(--text-2); padding: 0; margin-bottom: 8px; }
.f > label { margin-bottom: 0; }
.f > label span { color: var(--text-3); margin-left: 6px; }
.form input:not([type="checkbox"]), .form textarea, .form select {
  width: 100%; font: inherit; color: var(--text); background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px 16px; transition: border-color 200ms, background-color 200ms; }
.form select { appearance: none; -webkit-appearance: none; cursor: pointer;
  background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A3A8A2' stroke-width='1.6'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 18px; padding-right: 44px; }
.form textarea { min-height: 128px; resize: vertical; }
.form input:focus, .form textarea:focus, .form select:focus { outline: none; border-color: rgba(240,242,238,0.4); background: #0A0B0A; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opt { position: relative; cursor: pointer; font-size: 1rem; color: var(--text-2); }
.opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.opt span { display: inline-flex; align-items: center; height: 42px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); color: var(--text-2); transition: background-color 200ms, color 200ms, border-color 200ms; }
.opt:hover span { border-color: rgba(240,242,238,0.35); color: var(--text); }
.opt input:checked + span { background: var(--text); border-color: var(--text); color: var(--bg); }
.opt input:focus-visible + span { outline: 2px solid var(--text); outline-offset: 2px; }
.form-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 8px; }
.form-note { color: var(--text-3); max-width: 28em; font-size: var(--label); }
.form-status { color: var(--text-2); }
.form-status:empty { display: none; }
@media (max-width: 960px) { .demo { grid-template-columns: 1fr; } .demo-intro { position: static; } }
@media (max-width: 560px) { .form { grid-template-columns: 1fr; } }

/* Footer */
.footer { margin-top: clamp(120px, 14vw, 200px); padding-bottom: 32px; }
.footer-top { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; padding-top: 32px; border-top: 1px solid var(--line); }
.footer-top svg { height: 18px; width: auto; }
.footer-links { display: flex; gap: 28px; flex-wrap: wrap; color: var(--text-2); }
.footer-links a:hover { color: var(--text); }
.footer-base { margin-top: 64px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--text-3); text-transform: none; letter-spacing: 0.02em; }
.footer-base a:hover { color: var(--text); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .enter, .js .fade, .js .reveal { opacity: 1; transform: none; clip-path: none; }
}
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

p, li, h1, h2, h3 { text-wrap: pretty; }
.display, .card-name, .hero-h { text-wrap: balance; }

.ico { width: 24px; height: 24px; fill: none; stroke: var(--text); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.mark { flex: none; width: 10px; height: 10px; margin-top: 7px; border: 1px solid var(--signal); border-radius: 1px; }

/* Used in: one card per sector with its use case */
.cases { display: grid; grid-template-columns: repeat(var(--n, 3), 1fr); gap: var(--gap); }
@media (max-width: 1100px) { .cases { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .cases { grid-template-columns: 1fr; } }
.case { position: relative; display: flex; flex-direction: column; background: var(--card); border-radius: var(--radius); overflow: hidden; isolation: isolate; }
.case::before { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(240,242,238,0); transition: box-shadow 600ms var(--ease); pointer-events: none; }
.case-media { aspect-ratio: 4 / 3; overflow: hidden; }
.case-media img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.84) saturate(0.85); transform: scale(1.02); transition: transform 1600ms var(--ease), filter 900ms var(--ease); }
.case-body { padding: clamp(20px, 2vw, 28px); display: flex; flex-direction: column; gap: 12px; flex: 1; }
.case-h { font-size: clamp(1.5rem, 1.9vw, 1.875rem); line-height: 1.08; letter-spacing: -0.035em; font-weight: 600; }
.case-d { color: var(--text-2); }
.case-body .label { min-height: 2.8em; }
@media (max-width: 640px) { .case-body .label { min-height: 0; } }
@media (hover: hover) {
  .case:hover .case-media img { transform: scale(1.06); filter: brightness(1) saturate(1); }
  .case:hover::before { box-shadow: inset 0 0 0 1px rgba(240,242,238,0.34); }
}

/* Edge rulers, after Helsing's tick marks */
.ruler { position: fixed; top: 0; bottom: 0; width: 14px; z-index: 30; pointer-events: none; opacity: 0.55;
  background: repeating-linear-gradient(180deg, var(--line) 0 1px, transparent 1px 44px) left top / 6px 100% no-repeat,
              repeating-linear-gradient(180deg, var(--line) 0 1px, transparent 1px 176px) left top / 14px 100% no-repeat; }
.ruler.l { left: 12px; }
.ruler.r { right: 12px; transform: scaleX(-1); }
@media (max-width: 1100px) { .ruler { display: none; } }

/* Statement: one large sentence fading to grey, then key facts as tiles */
.spec-table { margin: 0; border-top: 1px solid var(--line); }
.spec-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: var(--gap); padding: clamp(20px, 2vw, 28px) 0; border-bottom: 1px solid var(--line); }
.spec-row dt { padding-top: 0.45em; }
.spec-row dd { margin: 0; font-size: clamp(1.1875rem, 1.6vw, 1.375rem); line-height: 1.3; letter-spacing: -0.015em; max-width: 30em; }
.statement-t { font-size: clamp(1.75rem, 3.1vw, 3rem); line-height: 1.14; letter-spacing: -0.035em; font-weight: 500; max-width: 24em; text-wrap: pretty; }
.statement-t span { color: var(--text-3); }
.keys { margin-top: clamp(40px, 5vw, 72px); display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: var(--gap); }
.key { background: var(--card); border-radius: var(--radius); padding: clamp(22px, 2.4vw, 32px); min-height: clamp(190px, 16vw, 240px); display: flex; flex-direction: column; justify-content: space-between; gap: 40px; }
.key .ico { width: 26px; height: 26px; stroke: var(--signal); stroke-width: 1.4; }
.key-l { font-family: var(--mono); font-size: var(--label); letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-3); margin-bottom: 10px; }
.key-v { font-size: clamp(1.375rem, 1.9vw, 1.875rem); line-height: 1.12; letter-spacing: -0.03em; font-weight: 600; text-wrap: balance; }
@media (max-width: 1100px) { .keys { grid-template-columns: 1fr 1fr; } }
/* Assurance: two quiet cards at the end of a module page */
.form-alt { color: var(--text-3); font-size: var(--label); }
.form-alt a { color: var(--text-2); text-decoration: underline; text-underline-offset: 3px; }
/* Detection frame: a short clip of the module's detections, boxes drawn into the footage */
.frame { position: relative; margin: 0; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--card); }
.frame video { display: block; width: 100%; height: 100%; object-fit: cover; }

/* How it works: three dark cards on a shared subgrid (title, visual, body), each visual a slowly lit dot field */
.chain { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: auto auto auto; gap: var(--gap); }
.chain-card { --pad: clamp(24px, 2.6vw, 36px); display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 0; background: #000; border-radius: var(--radius); padding: var(--pad); overflow: hidden; }
.chain-top { display: flex; align-items: center; gap: 14px; }
.chain-h { font-size: clamp(1.75rem, 2.6vw, 2.5rem); line-height: 1; letter-spacing: -0.04em; font-weight: 600; }
.stage { position: relative; margin: 28px calc(-1 * var(--pad)) 0; aspect-ratio: 480 / 260;
  -webkit-mask: radial-gradient(ellipse 52% 56% at 50% 50%, #000 35%, transparent 100%); mask: radial-gradient(ellipse 52% 56% at 50% 50%, #000 35%, transparent 100%); }
.chain-body { display: grid; align-content: start; gap: 14px; color: var(--text-2); border-top: 1px solid var(--line); padding-top: 22px; margin-top: 28px; }
.chain-v { color: var(--text); font-size: clamp(1.375rem, 1.8vw, 1.75rem); line-height: 1.12; letter-spacing: -0.03em; font-weight: 600; }
@media (max-width: 1100px) { .chain { grid-template-columns: 1fr; grid-template-rows: none; } .chain-card { grid-row: auto; grid-template-rows: auto auto auto; } }
/* Dot fields: a dim grid with a brighter copy of it, revealed by soft light that moves slowly. One idea per step, no diagrams. */
@property --r { syntax: "<percentage>"; inherits: false; initial-value: 0%; }
@property --x { syntax: "<percentage>"; inherits: false; initial-value: 50%; }
@property --y { syntax: "<percentage>"; inherits: false; initial-value: 50%; }
.stage .l { position: absolute; inset: 0; background: radial-gradient(circle, rgba(240,242,238,0.95) 0.85px, transparent 1.25px) 50% 50% / 12px 12px; }
.stage .base { opacity: 0.13; }
.stage .hi { opacity: 0; }
/* Sense: a soft ring of light breathes outward from the centre, two rings half a cycle apart */
.sense .hi { -webkit-mask: radial-gradient(circle at 50% 50%, transparent calc(var(--r) - 16%), #000 var(--r), transparent calc(var(--r) + 16%)); mask: radial-gradient(circle at 50% 50%, transparent calc(var(--r) - 16%), #000 var(--r), transparent calc(var(--r) + 16%));
  animation: f-ring 7s cubic-bezier(0.33, 0, 0.2, 1) infinite; }
.sense .hi.b { animation-delay: -3.5s; }
@keyframes f-ring { 0% { --r: 0%; opacity: 0; } 18% { opacity: 0.6; } 100% { --r: 85%; opacity: 0; } }
/* Detect: a soft point of attention drifts across the field, with a faint warm core */
.detect .hi { --x: 30%; --y: 40%; -webkit-mask: radial-gradient(circle 120px at var(--x) var(--y), #000, transparent); mask: radial-gradient(circle 120px at var(--x) var(--y), #000, transparent);
  opacity: 0.6; animation: f-x 17s ease-in-out infinite alternate, f-y 11s ease-in-out infinite alternate; }
.detect .hi.b { background-image: radial-gradient(circle, var(--signal) 0.85px, transparent 1.25px); opacity: 0.75;
  -webkit-mask: radial-gradient(circle 46px at var(--x) var(--y), #000, transparent); mask: radial-gradient(circle 46px at var(--x) var(--y), #000, transparent); }
@keyframes f-x { from { --x: 26%; } to { --x: 74%; } }
@keyframes f-y { from { --y: 30%; } to { --y: 70%; } }
/* Review: dotted rows, with a soft band of light settling down through them */
.review .l { background-size: 6px 24px; }
.review .base { opacity: 0.16; }
.review .hi { -webkit-mask: linear-gradient(180deg, transparent calc(var(--y) - 22%), #000 var(--y), transparent calc(var(--y) + 22%)); mask: linear-gradient(180deg, transparent calc(var(--y) - 22%), #000 var(--y), transparent calc(var(--y) + 22%));
  animation: f-band 9s cubic-bezier(0.45, 0, 0.25, 1) infinite; }
.review .hi.b { display: none; }
@keyframes f-band { 0% { --y: 0%; opacity: 0; } 20% { opacity: 0.6; } 80% { opacity: 0.6; } 100% { --y: 100%; opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .stage .hi { animation: none !important; }
  .sense .hi { --r: 40%; opacity: 0.4; } .sense .hi.b { opacity: 0; } .review .hi { --y: 50%; opacity: 0.5; } }

/* ------------------------------------------------------------------
   Platform: the software shown as HTML renders on one shared UI kit.
   Near-black surfaces, hairlines, amber only for detections. */
.p-intro { padding-top: clamp(140px, 15vw, 220px); }
.p-intro h1 { max-width: 12em; }
.p-intro p { margin-top: 28px; max-width: 30em; color: var(--text-2); font-size: clamp(1.3125rem, 1.8vw, 1.75rem); line-height: 1.35; }
.p-head { display: grid; grid-template-columns: 7fr 5fr; gap: var(--edge); align-items: end; margin-bottom: clamp(32px, 4vw, 56px); }
.p-head p { color: var(--text-2); max-width: 30em; }
@media (max-width: 960px) { .p-head { grid-template-columns: 1fr; gap: 18px; } }
.console-wrap { position: relative; margin-top: clamp(56px, 7vw, 96px); }
.console { --ui: #0B0D0C; --ui2: #121514; margin: 0; background: var(--ui); border-radius: 12px; overflow: hidden; box-shadow: inset 0 0 0 1px var(--line), 0 40px 120px rgba(0,0,0,0.6);
  font-size: 13px; line-height: 1.3; letter-spacing: 0; color: var(--text); }
.console button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-align: left; }
.c-top { height: 44px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; padding: 0 16px; border-bottom: 1px solid var(--line); }
.c-site { display: flex; align-items: center; gap: 6px; font-weight: 500; }
.c-site svg, .c-nav svg { width: 14px; height: 14px; fill: none; stroke: var(--text-2); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.c-pills { display: flex; gap: 2px; background: var(--ui2); border-radius: 8px; padding: 3px; }
.console .c-pills button { padding: 4px 14px; border-radius: 6px; color: var(--text-3); transition: background-color 200ms, color 200ms; }
.console .c-pills button.on { background: rgba(240,242,238,0.1); color: var(--text); }
.c-live { justify-self: end; display: flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-2); }
.c-live i { width: 6px; height: 6px; border-radius: 50%; background: var(--signal); animation: blink 2.4s steps(1) infinite; }
.c-body { display: grid; grid-template-columns: 52px minmax(0, 1fr) 300px; grid-template-rows: minmax(0, 1fr) auto; aspect-ratio: 16 / 8.6; }
.c-nav { grid-row: 1 / 3; border-right: 1px solid var(--line); display: flex; flex-direction: column; align-items: center; gap: 6px; padding-top: 12px; }
.c-nav i { width: 34px; height: 34px; border-radius: 8px; display: grid; place-items: center; }
.c-nav i.on { background: rgba(240,242,238,0.08); }
.c-nav i svg { width: 18px; height: 18px; }
.c-nav i.on svg { stroke: var(--text); }

/* Site map */
.c-map { position: relative; overflow: hidden; background: radial-gradient(120% 90% at 50% 40%, #0F1211, #080A09); }
.map { position: absolute; inset: 0; width: 100%; height: 100%; }
.map text { font: 10px var(--mono); letter-spacing: 0.04em; fill: var(--text-3); }
.map .road { fill: none; stroke: rgba(240,242,238,0.07); stroke-width: 16; }
.map .road.s { stroke-width: 9; }
.map .fence { fill: rgba(240,242,238,0.015); stroke: rgba(240,242,238,0.3); stroke-width: 1.2; stroke-dasharray: 2 4; }
.map .gate { stroke: var(--text-2); stroke-width: 3; }
.map .bld rect { fill: rgba(240,242,238,0.045); stroke: rgba(240,242,238,0.14); }
.map .zone { fill: rgba(237,203,141,0.06); stroke: var(--signal); stroke-width: 1; stroke-dasharray: 4 3; transition: fill 400ms; }
.map .zone.flash { fill: rgba(237,203,141,0.2); }
.map .tx rect { fill: none; stroke: rgba(237,203,141,0.3); }
.map .zlab { fill: var(--signal); font-size: 11px; }
.map .ly { transition: opacity 300ms var(--ease); }
.map .ly.off { opacity: 0; pointer-events: none; }
.map .sn { cursor: pointer; outline: none; }
.map .sn .hit, .map .sn .hitl { fill: transparent; stroke: transparent; }
.map .sn .hitl { stroke-width: 18; }
.map .sn text { fill: var(--text-2); transition: fill 200ms; }
.map .sn:hover text, .map .sn.sel text { fill: var(--text); }
.map .fov path { fill: rgba(240,242,238,0.06); transition: fill 300ms; }
.map .sn:hover .fov path { fill: rgba(240,242,238,0.11); }
.map .sn.sel .fov path, .map .sn.act .fov path { fill: rgba(237,203,141,0.16); }
.map .cam .node { fill: var(--bg); stroke: var(--text); stroke-width: 1.5; }
.map .cam.th .node { stroke-dasharray: 2.4 1.6; }
.map .sn.sel .node, .map .sn.act .node { stroke: var(--signal); }
.map .rng { fill: none; stroke: rgba(240,242,238,0.1); }
.map .radar .node { fill: var(--text); }
.map .rf .node { fill: var(--text); }
.map .rf .arcs { fill: none; stroke: var(--text-2); stroke-width: 1.2; }
.map .sn.sel .rng, .map .sn.act .rng { stroke: rgba(237,203,141,0.35); }
.map .sweep { fill: rgba(240,242,238,0.06); transform-origin: 700px 330px; animation: sweep 6s linear infinite; }
@keyframes sweep { to { transform: rotate(360deg); } }
.map .fseg { fill: none; stroke: var(--text-2); stroke-width: 2.4; transition: stroke 300ms; }
.map .fs.act .fseg, .map .fs.sel .fseg { stroke: var(--signal); }
.map .trail { fill: none; stroke: var(--signal); stroke-width: 1.4; stroke-dasharray: 1; stroke-dashoffset: 1; opacity: 0.8; }
.map .trail.d { stroke: var(--text-2); stroke-width: 1; }
.map .trail.u, .map .tk.u .dot { stroke: var(--text-2); }
.map .tk { opacity: 0; transition: opacity 400ms; }
.map .tk.on { opacity: 1; }
.map .tk .dot { fill: var(--signal); transition: fill 400ms; }
.map .tk.u .dot { fill: var(--text-2); stroke: none; }
.map .tk .ring { fill: none; stroke: var(--signal); stroke-width: 1; animation: ping 2.4s var(--ease) infinite; transform-box: fill-box; transform-origin: center; }
.map .tk.u .ring { stroke: var(--text-2); }
.map .drone path { stroke: var(--text); stroke-width: 1.6; }
.map .drone .ring { stroke: var(--text-2); }
.map .tk.foc .ring { stroke-width: 1.6; }
@keyframes ping { 0% { transform: scale(0.6); opacity: 0.8; } 100% { transform: scale(1.8); opacity: 0; } }
.c-ov { position: absolute; inset: 0; pointer-events: none; }
.tk-l { position: absolute; left: 0; top: 0; transform: translate(-50%, calc(-100% - 18px)); white-space: nowrap; font-size: 11px; padding: 3px 8px; border-radius: 999px;
  background: rgba(5,6,5,0.75); box-shadow: inset 0 0 0 1px var(--line); color: var(--text-2); opacity: 0; transition: opacity 300ms; }
.tk-l.on { opacity: 1; }
.tk-l.below { transform: translate(-50%, 18px); }
.tk-l.p { color: var(--bg); background: var(--signal); box-shadow: none; }
.c-layers { position: absolute; left: 12px; bottom: 12px; display: flex; gap: 4px; padding: 3px; border-radius: 9px; background: rgba(5,6,5,0.6); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px var(--line); }
.console .ly-b { display: flex; align-items: center; gap: 6px; padding: 4px 9px; border-radius: 6px; font-size: 11.5px; color: var(--text-2); transition: background-color 200ms, color 200ms; }
.console .ly-b:hover { color: var(--text); }
.console .ly-b[aria-pressed="false"] { color: var(--text-3); }
.ly-b i { width: 8px; height: 8px; border-radius: 50%; border: 1.4px solid var(--text); }
.ly-b .lg-radar { border-radius: 1px; transform: rotate(45deg) scale(0.85); background: var(--text); }
.ly-b .lg-zones { border-radius: 2px; border: 1.2px dashed var(--signal); }
.ly-b .lg-tracks { background: var(--signal); border: 0; }
.ly-b[aria-pressed="false"] i { opacity: 0.35; }
.c-hint { position: absolute; right: 14px; bottom: 20px; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-3); pointer-events: none; transition: opacity 300ms; }
.console.used .c-hint { opacity: 0; }
.c-pop { position: absolute; z-index: 3; width: 220px; padding: 10px; border-radius: 10px; background: rgba(14,16,15,0.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: inset 0 0 0 1px var(--line), 0 16px 40px rgba(0,0,0,0.5); animation: pop-in 220ms var(--ease); }
@keyframes pop-in { from { opacity: 0; transform: translateY(4px) scale(0.98); } }
.c-pop img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 6px; margin-bottom: 9px; }
.c-pop b { display: block; font-weight: 500; }
.c-pop small { display: block; color: var(--text-3); font-size: 11.5px; margin-top: 2px; }
.c-pop .kv { padding: 7px 0 0; margin-top: 8px; border-top: 1px solid var(--line); border-bottom: 0; font-size: 11.5px; }
.c-pop .kv b { font-weight: 400; }
.on-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #8FD19E; margin-right: 6px; vertical-align: 1px; }

/* Event queue and event detail */
.c-side { grid-row: 1 / 3; grid-column: 3; border-left: 1px solid var(--line); padding: 14px 12px; overflow: hidden; position: relative; display: flex; flex-direction: column; min-height: 0; }
.c-h { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); margin: 0 4px 10px; }
.c-n { color: var(--signal); margin-left: 4px; }
.c-list ul { display: grid; gap: 4px; }
.ev { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 10px; align-items: center; width: 100%; padding: 8px; border-radius: 8px; position: relative; transition: background-color 200ms; }
.console .ev:hover { background: rgba(240,242,238,0.05); }
.ev.new { animation: ev-in 600ms var(--ease); }
@keyframes ev-in { from { opacity: 0; transform: translateY(-8px); } }
.ev.hot { background: rgba(240,242,238,0.06); box-shadow: inset 2px 0 0 var(--signal); }
.ev img { width: 64px; height: 40px; object-fit: cover; border-radius: 4px; }
.ev b { display: block; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ev small { display: block; color: var(--text-3); font-size: 11.5px; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ev-r { display: grid; justify-items: end; gap: 5px; align-self: stretch; align-content: space-between; }
.ev-t { color: var(--text-3); font-size: 11.5px; }
.tag { font-size: 10.5px; line-height: 1; padding: 3px 6px; border-radius: 4px; color: var(--text-3); background: rgba(240,242,238,0.06); }
.tag.new { color: var(--bg); background: var(--signal); }
.tag.esc { color: var(--signal); background: none; box-shadow: inset 0 0 0 1px var(--signal); }
.c-detail { display: flex; flex-direction: column; min-height: 0; height: 100%; animation: cfg-in 400ms var(--ease); }
.c-detail[hidden] { display: none; }
.console .c-back { display: inline-flex; align-items: center; gap: 4px; color: var(--text-2); font-size: 12px; margin: 0 0 10px 2px; }
.c-back svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.c-clip { position: relative; border-radius: 6px; overflow: hidden; background: #000; }
.c-clip video { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.c-tl { position: absolute; left: 8px; right: 8px; bottom: 8px; height: 3px; border-radius: 2px; background: rgba(240,242,238,0.25); overflow: hidden; }
.c-tl i { position: absolute; inset: 0 auto 0 0; width: 0; background: var(--signal); }
.c-st { display: flex; align-items: center; gap: 8px; margin: 12px 2px 2px; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--signal); }
.c-st.ack { color: var(--text-3); }
.c-st i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.c-dt { font-size: 1.125rem; font-weight: 600; letter-spacing: -0.02em; margin: 4px 2px 8px; }
.c-detail .kv { font-size: 12px; padding: 7px 2px; }
.c-act { display: flex; gap: 6px; margin-top: auto; padding-top: 12px; }
.console .c-act button { flex: 1; height: 32px; border-radius: 999px; text-align: center; background: rgba(240,242,238,0.08); font-size: 12px; transition: background-color 200ms, transform 150ms; }
.console .c-act button:hover { background: rgba(240,242,238,0.14); }
.console .c-act button.pri { background: var(--text); color: var(--bg); font-weight: 500; }
.console .c-act button.press { transform: scale(0.95); }
.console .c-act button:disabled { opacity: 0.4; cursor: default; }
.c-toast { position: absolute; left: 12px; right: 12px; bottom: 56px; padding: 9px 12px; border-radius: 8px; background: rgba(36,39,37,0.97); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-size: 12px; animation: pop-in 250ms var(--ease); }

/* Live views */
.c-tiles { grid-column: 2; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; padding: 6px; border-top: 1px solid var(--line); }
.tile { position: relative; aspect-ratio: 16 / 9; border-radius: 5px; overflow: hidden; background: #000; }
.console .tile { display: block; box-shadow: inset 0 0 0 1px transparent; }
.tile video { width: 100%; height: 100%; object-fit: cover; display: block; }
.tile span { position: absolute; left: 6px; top: 5px; font-size: 10.5px; padding: 2px 6px; border-radius: 4px; background: rgba(5,6,5,0.6); color: var(--text-2); }
.tile::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1.5px transparent; transition: box-shadow 300ms; }
.tile.act::after, .tile.sel::after { box-shadow: inset 0 0 0 1.5px var(--signal); }
.tile.act span { color: var(--bg); background: var(--signal); }
.console.gridview .c-map { display: none; }
.console.gridview .c-tiles { grid-row: 1 / 3; grid-template-columns: 1fr 1fr; align-content: center; border-top: 0; }

/* Scenario steps under the console */
.c-steps { display: grid; grid-template-columns: 44px repeat(4, minmax(0, 1fr)); gap: var(--gap); margin-top: 18px; }
.c-steps button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-align: left; }
.c-play { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(240,242,238,0.08) !important; transition: background-color 200ms; }
.c-play:hover { background: rgba(240,242,238,0.14) !important; }
.c-play svg { width: 16px; height: 16px; fill: none; stroke: var(--text); stroke-width: 2; stroke-linejoin: round; }
.c-play .i-play { display: none; fill: var(--text); stroke: none; }
.c-steps.paused .i-pause { display: none; } .c-steps.paused .i-play { display: block; }
.c-step { display: grid; gap: 6px; align-content: start; padding-right: 12px; }
.c-bar { position: relative; height: 2px; background: var(--line); border-radius: 1px; overflow: hidden; margin-bottom: 8px; }
.c-bar i { position: absolute; inset: 0 auto 0 0; width: calc(var(--p, 0) * 100%); background: var(--signal); }
.c-step b { font-family: var(--mono); font-size: var(--label); font-weight: 400; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-3); transition: color 300ms; }
.c-step span:last-child { color: var(--text-3); font-size: 0.9375rem; line-height: 1.35; transition: color 300ms; }
.c-step.on b { color: var(--signal); }
.c-step.on span:last-child, .c-step:hover span:last-child { color: var(--text); }
@media (prefers-reduced-motion: reduce) { .map .sweep, .map .tk .ring { animation: none; } }
@media (max-width: 1100px) { .c-body { grid-template-columns: 52px minmax(0, 1fr) 260px; } .ev { grid-template-columns: 52px minmax(0, 1fr) auto; } .ev img { width: 52px; height: 34px; } .c-hint { display: none; } }

/* Configuration: segmented control over compact product windows */
.cfg { max-width: 1040px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; }
.cfg-panel { width: 100%; }
.seg { display: inline-flex; gap: 2px; padding: 4px; border-radius: 999px; background: rgba(240,242,238,0.07); margin-bottom: 18px; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.seg::-webkit-scrollbar { display: none; }
.seg button { border: 0; background: none; height: 40px; padding: 0 20px; border-radius: 999px; color: var(--text-2); cursor: pointer; font-size: 1rem; white-space: nowrap; transition: background-color 250ms var(--ease), color 200ms; }
.seg button[aria-selected="true"] { background: var(--text); color: var(--bg); }
.seg button:not([aria-selected="true"]):hover { color: var(--text); }
.cfg-cap { color: var(--text-2); margin-bottom: 22px; min-height: 1.45em; text-align: center; }
.cfg-panel:not([hidden]) .cw { animation: cfg-in 600ms var(--ease); }
@keyframes cfg-in { from { opacity: 0; transform: translateY(10px); } }

.cw { position: relative; background: #0B0D0C; border-radius: 12px; overflow: hidden; box-shadow: inset 0 0 0 1px var(--line), 0 40px 90px -50px rgba(0,0,0,0.9);
  font-size: 13.5px; line-height: 1.35; letter-spacing: 0; -webkit-user-select: none; user-select: none; }
.cw p { margin: 0; }
.cw svg.i { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.cw-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 56px; padding: 0 12px 0 18px; border-bottom: 1px solid var(--line); }
.cw-t { display: flex; align-items: center; gap: 8px; font-weight: 500; white-space: nowrap; }
.cw-t span { color: var(--text-3); font-weight: 400; }
.cw-t span::after { content: "/"; margin-left: 8px; color: rgba(240,242,238,0.22); }
.cw-r { display: flex; align-items: center; gap: 8px; min-width: 0; }
.cw .btn { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: 7px; background: var(--text); color: var(--bg); font-weight: 500; white-space: nowrap; cursor: pointer; }
.cw .btn.sm { height: 28px; padding: 0 10px; font-size: 12px; }
.fld { display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 8px 0 11px; border-radius: 7px; box-shadow: inset 0 0 0 1px var(--line); white-space: nowrap; cursor: pointer; }
.fld small { color: var(--text-3); font-size: 12px; }
.cw .fld svg.i { width: 14px; height: 14px; color: var(--text-3); }
.cw-body { padding: 20px; }
.kv { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 4px; border-bottom: 1px solid var(--line); color: var(--text-3); }
.kv b { font-weight: 500; color: var(--text); text-align: right; }
.sw { position: relative; width: 34px; height: 20px; border-radius: 10px; background: rgba(240,242,238,0.16); flex: none; transition: background-color 250ms; }
.sw::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: var(--text); transition: transform 250ms var(--ease); }
.sw.on { background: var(--signal); }
.sw.on::after { transform: translateX(14px); background: #0B0D0C; }
.cw-k { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); margin-right: 6px; }
.cw-foot { display: flex; align-items: center; gap: 6px; padding: 10px 12px 10px 18px; border-top: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.cw-foot::-webkit-scrollbar { display: none; }

/* Regions */
.tbar { display: flex; gap: 2px; padding: 3px; border-radius: 8px; box-shadow: inset 0 0 0 1px var(--line); }
.tb { display: grid; place-items: center; width: 30px; height: 26px; border-radius: 5px; color: var(--text-3); cursor: pointer; }
.tb.on { background: rgba(240,242,238,0.1); color: var(--text); }
.rmap { position: relative; height: clamp(340px, 42vw, 500px); overflow: hidden; background: #111412; }
.rtiles { position: absolute; inset: 0; filter: saturate(0.6) brightness(0.78) contrast(1.06); }
.rtiles img { position: absolute; max-width: none; height: auto; }
.rsvg { position: absolute; inset: 0; width: 100%; height: 100%; }
.rg { cursor: pointer; }
.rg path { vector-effect: non-scaling-stroke; }
.rg-hit { fill: transparent; stroke: transparent; stroke-width: 16; }
.rg-s { fill: rgba(240,242,238,0.07); stroke: rgba(240,242,238,0.8); stroke-width: 1.5; pointer-events: none; transition: fill 200ms, stroke 200ms; }
.rg-line .rg-s, .rg-line .rg-hit { fill: none; }
.rg-line .rg-s { stroke-width: 2.5; }
.rg-exclude .rg-s { fill: rgba(5,6,5,0.42); stroke: rgba(240,242,238,0.5); stroke-dasharray: 6 5; }
.rg:hover .rg-s { stroke: var(--text); }
.rg.sel .rg-s { stroke: var(--signal); stroke-width: 2; fill: rgba(237,203,141,0.16); }
.rg-line.sel .rg-s { fill: none; stroke-width: 3; }
.rg-exclude.sel .rg-s { fill: rgba(5,6,5,0.5); }
.rg-hd { opacity: 0; transition: opacity 200ms; pointer-events: none; }
.rg.sel .rg-hd { opacity: 1; }
.rg-hd circle { fill: #0B0D0C; stroke: var(--signal); stroke-width: 2; vector-effect: non-scaling-stroke; }
.rlabels { position: absolute; inset: 0; pointer-events: none; }
.rg-l { position: absolute; transform: translate(-50%, -100%); display: grid; gap: 1px; padding: 5px 9px; border-radius: 6px; background: rgba(9,11,10,0.84); box-shadow: inset 0 0 0 1px var(--line); white-space: nowrap; font-size: 12px; }
.rg-l b { font-weight: 500; }
.rg-l small { display: none; font-size: 12px; }
.rg-l.sel { background: var(--signal); color: var(--bg); box-shadow: 0 6px 20px rgba(0,0,0,0.4); z-index: 1; }
.rg-l.sel small { display: block; color: rgba(5,6,5,0.68); }
.r-credit { position: absolute; right: 10px; bottom: 6px; font-size: 9px; color: rgba(240,242,238,0.55); text-shadow: 0 1px 2px rgba(0,0,0,0.8); pointer-events: none; }
.rchip { display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 11px; border-radius: 7px; background: rgba(240,242,238,0.05); color: var(--text-2); white-space: nowrap; cursor: pointer; transition: background-color 200ms, color 200ms; }
.rchip:hover { color: var(--text); }
.rchip.sel { background: rgba(237,203,141,0.14); color: var(--signal); box-shadow: inset 0 0 0 1px rgba(237,203,141,0.35); }
.rchip.add { background: none; color: var(--text-3); box-shadow: inset 0 0 0 1px var(--line); }

/* Schedules */
.slg { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; }
.slg-c { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px 0 10px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); cursor: pointer; transition: color 200ms; }
.slg-c i { width: 10px; height: 10px; border-radius: 3px; background: var(--c); }
.slg-c.off { color: var(--text-3); }
.slg-c.off i { background: none; box-shadow: inset 0 0 0 1.5px var(--c); }
/* One hue per detection type, matched in lightness so no type dominates */
.sw-intrusion { --c: #E9C27C; } .sw-ppe { --c: #5EC4A8; } .sw-drone { --c: #6F9FF2; } .sw-vehicle { --c: #B590F0; } .sw-loiter { --c: #EE8A73; }
.sg { --rh: 44px; --g: 4px; position: relative; display: grid; gap: var(--g); cursor: crosshair; touch-action: pan-y; }
.sg-r { display: grid; grid-template-columns: 40px minmax(0, 1fr); align-items: center; gap: 10px; }
.sg-r > span { color: var(--text-3); font-size: 12px; }
.sg-t { height: var(--rh); display: flex; flex-direction: column; justify-content: center; gap: 3px; border-radius: 3px;
  background: rgba(240,242,238,0.045); -webkit-mask: linear-gradient(90deg, #000 calc(100% - 2px), transparent 0) 0 0 / calc(100% / 24) 100%; mask: linear-gradient(90deg, #000 calc(100% - 2px), transparent 0) 0 0 / calc(100% / 24) 100%; }
.ln { position: relative; height: 7px; }
.ln.off { display: none; }
.ln i { position: absolute; top: 0; bottom: 0; border-radius: 2px; background: var(--c); }
.sg-h { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 11px; color: var(--text-3); }
.sg-sel { position: absolute; border-radius: 5px; pointer-events: none; background: rgba(240,242,238,0.06); box-shadow: inset 0 0 0 1.5px var(--text);
  left: calc(50px + (100% - 50px) * var(--h0) / 24); width: calc((100% - 50px) * (var(--h1) - var(--h0)) / 24);
  top: calc(var(--d0) * (var(--rh) + var(--g)) - 2px); height: calc((var(--d1) - var(--d0)) * (var(--rh) + var(--g)) - var(--g) + 4px); }
.sg-pop { position: absolute; left: 0; top: calc(100% + 8px); z-index: 2; display: flex; align-items: center; gap: 6px; padding: 6px 6px 6px 12px; border-radius: 9px; white-space: nowrap; cursor: default;
  background: #171A18; box-shadow: inset 0 0 0 1px var(--line), 0 14px 34px rgba(0,0,0,0.55); pointer-events: auto; transition: opacity 150ms; }
.sg-pop b { font-weight: 500; margin-right: 6px; }
.sg-sel.up .sg-pop { top: auto; bottom: calc(100% + 8px); }
.sg.drag .sg-pop { opacity: 0; }
.pp { display: inline-flex; align-items: center; height: 26px; padding: 0 9px; border-radius: 6px; font-size: 12px; background: color-mix(in srgb, var(--c) 18%, transparent); color: var(--c); cursor: pointer; }
.pp.off { background: rgba(240,242,238,0.06); color: var(--text-3); }

/* Detection */
.dts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.dt { position: relative; display: grid; align-content: end; gap: 3px; min-height: 140px; padding: 16px; border-radius: 10px; background: rgba(240,242,238,0.035); box-shadow: inset 0 0 0 1px var(--line); cursor: pointer; transition: background-color 250ms, box-shadow 250ms; }
.dt:hover { background-color: rgba(240,242,238,0.06); }
.dt-i { position: absolute; top: 16px; left: 16px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; background: rgba(240,242,238,0.06); color: var(--text-2); transition: background-color 250ms, color 250ms; }
.cw .dt-i svg.i { width: 26px; height: 26px; stroke-width: 1.4; }
.dt .sw { position: absolute; top: 18px; right: 16px; }
.dt b { font-weight: 500; }
.dt small { font-size: 12px; color: var(--text-3); }
.dt.on { background: linear-gradient(180deg, rgba(237,203,141,0.075), rgba(237,203,141,0.02)); box-shadow: inset 0 0 0 1px rgba(237,203,141,0.3); }
.dt.on .dt-i { background: rgba(237,203,141,0.14); color: var(--signal); }
.dt.on small { color: var(--text-2); }

/* Rules */
.cw-rules { max-width: 820px; margin: 0 auto; }
.cw-sub { display: flex; gap: 6px; padding: 14px 20px 0; overflow-x: auto; scrollbar-width: none; }
.cw-sub::-webkit-scrollbar { display: none; }
.rpill { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 13px; border-radius: 999px; color: var(--text-2); box-shadow: inset 0 0 0 1px var(--line); white-space: nowrap; cursor: pointer; }
.rpill.on { background: rgba(240,242,238,0.1); color: var(--text); box-shadow: none; }
.rdot { width: 6px; height: 6px; border-radius: 50%; background: var(--signal); }
.rdot.off { background: rgba(240,242,238,0.25); }
.flow { display: none; }
.flow.on { display: block; }
.fl-h { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.fl-h b { font-weight: 500; }
.fl-h .sw { cursor: pointer; }
.fs { position: relative; display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 14px; padding-bottom: 12px; }
.fs::before { content: ""; position: absolute; left: 18px; top: 42px; bottom: 6px; width: 1px; background: var(--line); }
.fs:last-child { padding-bottom: 0; }
.fs:last-child::before { display: none; }
.fs-n { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: rgba(240,242,238,0.06); color: var(--text-2); }
.fs:nth-child(2) .fs-n { background: rgba(237,203,141,0.14); color: var(--signal); }
.fs-b { padding: 12px 14px; border-radius: 10px; background: rgba(240,242,238,0.035); box-shadow: inset 0 0 0 1px var(--line); }
.fs-k { margin-bottom: 9px !important; font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); }
.rline { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; color: var(--text-2); }
.tok { display: inline-flex; align-items: center; gap: 4px; height: 28px; padding: 0 6px 0 10px; border-radius: 6px; background: rgba(240,242,238,0.08); color: var(--text); }
.cw .tok svg.i { width: 13px; height: 13px; color: var(--text-3); }
.acts { display: grid; gap: 6px; }
.fa { display: flex; align-items: center; gap: 10px; height: 34px; padding: 0 10px; border-radius: 7px; background: rgba(240,242,238,0.05); }
.fa svg.i { color: var(--text-2); }
.fa.add { background: none; color: var(--text-3); box-shadow: inset 0 0 0 1px var(--line); }

/* Permissions */
.cw-h { display: flex; align-items: baseline; gap: 10px; margin-bottom: 10px !important; font-weight: 500; }
.cw-h span { color: var(--text-3); font-size: 12px; font-weight: 400; }
.cw-h ~ .cw-h { margin-top: 26px !important; }
.ut { border-radius: 10px; box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.ur { display: grid; grid-template-columns: 30px minmax(0, 1.2fr) minmax(0, 0.8fr) minmax(0, 1.5fr) minmax(0, 0.8fr); align-items: center; gap: 14px; padding: 10px 14px; border-top: 1px solid var(--line); }
.ur:first-child { border-top: 0; }
.uh { padding: 9px 14px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-3); background: rgba(240,242,238,0.03); }
.av { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: rgba(240,242,238,0.1); font-size: 11px; font-weight: 500; }
.av.sm { width: 24px; height: 24px; font-size: 10px; }
.un { font-weight: 500; }
.role { color: var(--text-2); }
.scopes { display: flex; flex-wrap: wrap; gap: 4px; }
.scopes i { font-style: normal; font-size: 12px; padding: 3px 8px; border-radius: 5px; background: rgba(240,242,238,0.07); color: var(--text-2); }
.seen { font-size: 12px; color: var(--text-3); }
.seen.now { color: var(--text-2); }
.seen.now::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 7px; border-radius: 50%; background: var(--signal); vertical-align: 1px; }
.ar { display: grid; grid-template-columns: 44px 24px minmax(0, 1fr); align-items: center; gap: 10px; padding: 9px 2px; border-top: 1px solid var(--line); }
.ar:first-child { border-top: 0; }
.at { font-family: var(--mono); font-size: 11px; color: var(--text-3); }
.aa { color: var(--text-2); }
.aa b { font-weight: 500; color: var(--text); }

@media (max-width: 860px) {
  .cw { border-radius: 14px; }
  .cw-bar { height: 52px; padding: 0 10px 0 14px; }
  .cw-t span { display: none; }
  .cw-r .fld + .fld { display: none; }
  .cw-body { padding: 16px 14px; }
  .rmap { height: 320px; }
  .cw-foot { padding: 10px 14px; }
  .sg { --rh: 36px; }
  .sg-r { grid-template-columns: 30px minmax(0, 1fr); gap: 6px; }
  .sg-sel { left: calc(36px + (100% - 36px) * var(--h0) / 24); width: calc((100% - 36px) * (var(--h1) - var(--h0)) / 24); }
  .sg-pop { flex-wrap: wrap; white-space: normal; max-width: calc(100vw - 80px); }
  .sg-pop b { flex-basis: 100%; white-space: nowrap; margin-bottom: 2px; }
  .dts { grid-template-columns: 1fr 1fr; gap: 8px; }
  .dt:nth-child(9) { display: none; }
  .dt { min-height: 118px; padding: 14px; }
  .dt-i { top: 14px; left: 14px; width: 36px; height: 36px; }
  .dt .sw { top: 16px; right: 14px; }
  .cw-sub { padding: 12px 14px 0; }
  .ur { grid-template-columns: 30px minmax(0, 1fr) auto; gap: 4px 12px; }
  .ur .av { grid-row: span 3; align-self: start; }
  .ur .role { grid-column: 2; font-size: 12px; }
  .ur .scopes { grid-column: 2 / -1; margin-top: 4px; }
  .ur .seen { grid-row: 1; grid-column: 3; }
  .uh { display: none; }
  .ut .ur:nth-child(2) { border-top: 0; }
}

/* Hardware: RackGuard first, then the supplied devices as a product grid */
.rg-card { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); align-items: stretch; border-radius: var(--radius); background: var(--card); overflow: hidden; margin-bottom: var(--gap); }
.rg-img { background: #0D0E0E; min-height: 100%; }
.rg-img img { width: 100%; height: 100%; object-fit: cover; }
.rg-copy { align-self: center; padding: clamp(28px, 3.4vw, 56px); }
.rg-copy h3 { margin-top: 10px; font-size: clamp(2rem, 3.4vw, 3rem); font-weight: 500; letter-spacing: -0.04em; line-height: 1; }
.rg-copy > p:not(.hw-k) { margin-top: 16px; color: var(--text-2); max-width: 26em; }
.rg-pts { margin-top: 24px; display: grid; gap: 0; }
.rg-pts li { padding: 11px 0; border-top: 1px solid var(--line); color: var(--text); }
.rg-pts li:last-child { border-bottom: 1px solid var(--line); }
.hw-k { font-family: var(--mono); font-size: var(--label); letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-3); }
.hws { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.hw { display: flex; flex-direction: column; border-radius: var(--radius); background: var(--card); padding: 0 0 clamp(20px, 2vw, 28px); overflow: hidden; }
.hw-img { position: relative; aspect-ratio: 4 / 3; margin-bottom: clamp(18px, 2vw, 24px);
  background: radial-gradient(70% 70% at 50% 45%, #2A2D2B 0%, #171918 70%, #121413 100%); }
.hw-img img { position: absolute; left: 17%; top: 15%; width: 66%; height: 70%; object-fit: contain; filter: drop-shadow(0 18px 24px rgba(0,0,0,0.55)); transition: transform 600ms var(--ease); }
.hw:hover .hw-img img { transform: scale(1.04); }
.hw.wide { grid-column: span 2; }
.hw.wide .hw-img { aspect-ratio: 8 / 3; }
.hw.wide .hw-img img { left: 20%; width: 60%; top: 10%; height: 80%; }
.hw .hw-k, .hw h3, .hw p:last-child { padding: 0 clamp(18px, 2vw, 26px); }
.hw h3 { margin-top: 8px; font-size: var(--body); font-weight: 500; letter-spacing: -0.02em; line-height: 1.25; }
.hw p:last-child { margin-top: 6px; color: var(--text-2); }
@media (max-width: 1100px) { .hws { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 860px) {
  .rg-card { grid-template-columns: 1fr; }
  .hws { grid-template-columns: 1fr 1fr; }
  .hw p:last-child { font-size: 0.9375rem; }
}

/* Turnkey: the whole system as equal tiles */
.kits { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.kit { background: var(--card); border-radius: var(--radius); padding: clamp(22px, 2.4vw, 32px); min-height: 240px; display: flex; flex-direction: column; }
.kit .ico { width: 28px; height: 28px; stroke: var(--text-2); }
.kit h3 { margin-top: clamp(56px, 6vw, 88px); font-size: clamp(1.375rem, 1.8vw, 1.75rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; }
.kit p { margin-top: 10px; color: var(--text-2); }
@media (max-width: 1100px) { .kits { grid-template-columns: 1fr 1fr; } }

@media (max-width: 860px) {
  .p-intro { padding-top: calc(110px + env(safe-area-inset-top)); }
  .console { border-radius: 16px; font-size: 12px; }
  .c-top { padding: 0 12px; grid-template-columns: 1fr auto; }
  .c-pills { display: none; }
  .c-body { display: flex; flex-direction: column; aspect-ratio: auto; }
  .c-nav { display: none; }
  .c-map { aspect-ratio: 4 / 3; }
  .c-layers { left: 8px; bottom: 8px; gap: 2px; }
  .console .ly-b { padding: 4px 7px; font-size: 10.5px; gap: 5px; }
  .tk-l { font-size: 10px; padding: 2px 6px; transform: translate(-50%, calc(-100% - 13px)); }
  .tk-l.below { transform: translate(-50%, 13px); }
  .map text { font-size: 15px; }
  .map .zlab { font-size: 16px; }
  .c-pop { width: 180px; padding: 9px 10px; }
  .c-pop img { display: none; }
  .c-tiles { display: none; }
  .c-side { order: 2; border-left: 0; border-top: 1px solid var(--line); height: 336px; }
  .c-clip video { aspect-ratio: 12 / 5; }
  .c-detail .kv.x { display: none; }
  .ev { grid-template-columns: 56px minmax(0, 1fr) auto; } .ev img { width: 56px; height: 36px; }
  .c-toast { bottom: 58px; }
  .c-steps { grid-template-columns: 44px minmax(0, 1fr); gap: 14px; align-items: center; }
  .c-step:not(.on) { display: none; }
  .c-step { padding-right: 0; }
  .c-step span:last-child { color: var(--text); }
  .seg { display: flex; margin: 0 calc(-1 * var(--edge)) 14px; border-radius: 0; background: none; padding: 0 var(--edge); gap: 8px; }
  .seg button { background: rgba(240,242,238,0.08); height: 36px; padding: 0 16px; font-size: 0.9375rem; }
  .kits.m-rail { grid-auto-columns: 64%; }
  .kit { min-height: 220px; }
}

/* Use cases open in place: a panel under the cards on desktop, a bottom sheet on phones */
button.case { font: inherit; color: inherit; text-align: left; border: 0; padding: 0; cursor: pointer; width: 100%; transition: opacity 400ms var(--ease); }
.case-more { margin-top: auto; padding-top: 8px; display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: var(--label); letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-3); transition: color 200ms; }
.case-more svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; transition: transform 400ms var(--ease); }
.case:hover .case-more, .case.sel .case-more { color: var(--text); }
.case.sel .case-more svg { transform: rotate(45deg); }
.case.sel::before { box-shadow: inset 0 0 0 1px var(--signal) !important; }
.cases.has-sel .case:not(.sel) { opacity: 0.6; }
.cases.has-sel .case:not(.sel):hover { opacity: 1; }
.uc { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 600ms var(--ease); }
.uc.open { grid-template-rows: 1fr; }
.uc-scrim { display: none; }
.uc-panel { min-height: 0; overflow: hidden; position: relative; }
.uc-top { position: absolute; z-index: 2; right: clamp(20px, 2.4vw, 32px); top: clamp(20px, 2.4vw, 32px); }
.uc-top .grabber { display: none; }
.uc-nav { display: flex; align-items: center; gap: 8px; }
.uc-dots { display: none; }
.uc-count { font-family: var(--mono); font-size: var(--label); letter-spacing: 0.06em; color: var(--text-3); margin-right: 6px; }
.uc-b { width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(240,242,238,0.08); color: var(--text); display: grid; place-items: center; cursor: pointer; transition: background-color 200ms; }
.uc-b:hover { background: rgba(240,242,238,0.16); }
.uc-b svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.uc-item { margin-top: var(--gap); display: grid; grid-template-columns: 7fr 5fr; background: var(--card); border-radius: var(--radius); overflow: hidden; min-height: clamp(420px, 36vw, 560px); }
.uc-item[hidden] { display: none; }
.uc-item:not([hidden]) { animation: uc-in 500ms var(--ease); }
.cases > .uc { grid-column: 1 / -1; }
.cases > .uc .uc-item { margin-top: 0; }
@keyframes uc-in { from { opacity: 0; } }
.uc-media { position: relative; overflow: hidden; }
.uc-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(0.9) saturate(0.9); }
.uc-body { padding: clamp(24px, 2.8vw, 40px); padding-top: clamp(76px, 7vw, 96px); display: flex; flex-direction: column; }
.uc-h { margin-top: 14px; font-size: clamp(1.75rem, 2.4vw, 2.375rem); line-height: 1.06; letter-spacing: -0.035em; font-weight: 600; text-wrap: balance; }
.uc-rows { margin: clamp(24px, 3vw, 40px) 0 0; display: grid; gap: 0; }
.uc-rows div { padding: 14px 0; border-top: 1px solid var(--line); display: grid; gap: 6px; }
.uc-rows dt { color: var(--text-3); }
.uc-rows dd { margin: 0; font-size: clamp(1.0625rem, 1.2vw, 1.1875rem); line-height: 1.4; }
.uc-cta { margin-top: auto; padding-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
@media (max-width: 1100px) and (min-width: 861px) { .uc-item { grid-template-columns: 1fr 1fr; } }

/* About: dotted world map, client rows, working principles */
.about-hero { margin-top: clamp(48px, 6vw, 88px); }
.about-img { margin: 0; aspect-ratio: 21 / 9; border-radius: var(--radius); overflow: hidden; background: var(--card); }
.about-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 58%; }
.world-wrap { margin: 0; background: var(--card); border-radius: var(--radius); padding: clamp(20px, 4vw, 64px); }
.world { display: block; width: 100%; height: auto; overflow: visible; }
.world .heat { fill: none; stroke-width: 3.2; stroke-linecap: round; }
.world .h0 { stroke: rgba(240,242,238,0.16); }
.world .h1 { stroke: rgba(240,242,238,0.34); }
.world .h2 { stroke: rgba(237,203,141,0.55); stroke-width: 3.8; }
.world .h3 { stroke: rgba(237,203,141,0.85); stroke-width: 4.4; }
.world .h4 { stroke: var(--signal); stroke-width: 5; filter: drop-shadow(0 0 3px rgba(237,203,141,0.55)); }
/* Each hub breathes: warm dots and a soft glow swell and fade on their own phase */
.world .breathe { animation: breathe 5.5s ease-in-out infinite alternate; animation-delay: calc(var(--i) * -1.7s); }
.world .glow { transform-box: fill-box; transform-origin: center; animation: glow 5.5s ease-in-out infinite alternate; animation-delay: calc(var(--i) * -1.7s); }
@keyframes breathe { from { opacity: 0.5; } to { opacity: 1; } }
@keyframes glow { from { transform: scale(0.8); opacity: 0.5; } to { transform: scale(1.15); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .world .breathe, .world .glow { animation: none; } }
/* Sans labels on the About page, brighter than the site's mono labels */
.about-l { font-size: var(--body); color: rgba(240,242,238,0.75); }
/* Stats: big numbers with mono labels on hairlines (Helsing spec block), no cards or icons */
.stats { margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.stat { border-top: 1px solid var(--line); padding-top: clamp(20px, 2.2vw, 28px); display: flex; flex-direction: column; gap: 14px; }
.stat .ico { order: 0; width: 32px; height: 32px; fill: none; stroke: var(--text-2); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 6px; }
.stat dd { margin: 0; order: 1; font-size: clamp(3rem, 6vw, 5.5rem); line-height: 0.95; letter-spacing: -0.045em; font-weight: 500; font-variant-numeric: tabular-nums; }
.stat dt { order: 2; font-size: clamp(1.1875rem, 1.6vw, 1.375rem); line-height: 1.3; letter-spacing: -0.015em; color: var(--text); max-width: 14em; text-wrap: balance; }
@media (max-width: 1100px) { .stats { grid-template-columns: 1fr 1fr; row-gap: 40px; } }
.clients { display: grid; border-top: 1px solid var(--line); }
.client { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) 24px; gap: var(--gap); align-items: center; padding: clamp(20px, 2vw, 28px) 0; border-bottom: 1px solid var(--line); transition: padding 400ms var(--ease); }
.client .label { color: var(--text); }
.client-v { font-size: clamp(1.1875rem, 1.6vw, 1.375rem); letter-spacing: -0.015em; color: var(--text-2); transition: color 300ms; }
.client svg { width: 18px; height: 18px; fill: none; stroke: var(--text-3); stroke-width: 1.6; transition: transform 300ms var(--ease), stroke 300ms; }
@media (hover: hover) { .client:hover { padding-left: 12px; } .client:hover .client-v { color: var(--text); } .client:hover svg { stroke: var(--text); transform: translateX(3px); } }
.principles { display: grid; border-bottom: 1px solid var(--line); }
.principle { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: var(--gap); border-top: 1px solid var(--line); padding: clamp(20px, 2vw, 28px) 0; }
.principle h3 { font-size: clamp(1.1875rem, 1.6vw, 1.375rem); font-weight: 500; letter-spacing: -0.015em; line-height: 1.3; }
.principle p { color: var(--text-2); font-size: clamp(1.1875rem, 1.6vw, 1.375rem); line-height: 1.3; letter-spacing: -0.015em; max-width: 30em; }
@media (max-width: 860px) {
  .about-img { aspect-ratio: 4 / 3; }
  .world-wrap { padding: 18px 12px; border-radius: 14px; }
  .world .heat { stroke-width: 4; }
  .stats { grid-template-columns: 1fr 1fr; gap: 32px 16px; }
  .stat dd { font-size: 2.75rem; }
  .stat dt { font-size: 1.0625rem; }
  .stat .ico { width: 28px; height: 28px; }
  .clients { border: 0; background: var(--card); border-radius: 14px; overflow: hidden; }
  .client { grid-template-columns: minmax(0, 1fr) 18px; gap: 4px 12px; padding: 14px 16px; border: 0; }
  .client + .client { box-shadow: inset 16px 0 0 var(--card), inset 0 1px 0 var(--line); }
  .client .label { grid-column: 1; font-size: 0.75rem; color: var(--text-3); }
  .client-v { grid-column: 1; font-size: 1.0625rem; color: var(--text); }
  .client svg { grid-column: 2; grid-row: 1 / 3; }
  .principles { border: 0; background: var(--card); border-radius: 14px; overflow: hidden; }
  .principle { grid-template-columns: 1fr; gap: 4px; padding: 14px 16px; border: 0; }
  .principle + .principle { box-shadow: inset 16px 0 0 var(--card), inset 0 1px 0 var(--line); }
  .principle h3 { font-size: 1.0625rem; }
  .principle p { font-size: 0.9375rem; }
}

/* ------------------------------------------------------------------
   Mobile: built to feel like a native iOS app. Glass tab bar, bottom sheet,
   swipeable rails with page dots, inset grouped lists, press feedback,
   larger continuous corners and safe-area spacing. */
@media (max-width: 860px) {
  :root { --radius: 16px; --gap: 10px; --edge: 16px; }
  html { -webkit-tap-highlight-color: transparent; }
  body { touch-action: manipulation; }
  .nav, .header .pill { display: none; }
  .header .wrap { height: 56px; padding-top: env(safe-area-inset-top); box-sizing: content-box; }
  .header .wrap { justify-content: center; }
  .header.solid { background: rgba(5,6,5,0.6); backdrop-filter: blur(24px) saturate(180%); -webkit-backdrop-filter: blur(24px) saturate(180%); box-shadow: 0 0.5px 0 rgba(255,255,255,0.1); }
  .header.away { transform: none; }

  .tabbar { display: flex; position: fixed; z-index: 50; left: 12px; right: 12px; bottom: calc(10px + env(safe-area-inset-bottom)); height: 62px; padding: 6px;
    border-radius: 31px; background: rgba(30,32,31,0.62); backdrop-filter: blur(24px) saturate(180%); -webkit-backdrop-filter: blur(24px) saturate(180%);
    box-shadow: inset 0 0 0 0.5px rgba(255,255,255,0.14), 0 8px 30px rgba(0,0,0,0.45); transition: transform 400ms var(--ease); }
  .tab { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; border: 0; background: none; border-radius: 25px;
    color: var(--text-3); font-size: 0.6875rem; font-weight: 500; letter-spacing: 0; cursor: pointer; padding: 0; transition: color 200ms, background-color 250ms, transform 200ms var(--ease); }
  .tab svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }
  .tab[aria-current] { color: var(--text); background: rgba(240,242,238,0.1); }
  .tab:active { transform: scale(0.92); }

  /* Heroes clear the tab bar */
  .hero-copy, .p-hero .copy { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
  .hero-tag { top: calc(68px + env(safe-area-inset-top)); }
  .hero-copy .wrap > div:last-child, .p-hero .copy .pill { width: 100%; }
  .hero-copy .pill.lg, .p-hero .copy .pill.lg { flex: 1; justify-content: center; height: 50px; }
  .hero-copy p, .p-hero .copy p { margin-top: 18px; font-size: 1.1875rem; }
  .p-hero { height: 88svh; }

  /* Press feedback */
  .card, .case, .pill, .row, .opt span, .chip { transition: transform 260ms var(--ease), background-color 200ms, filter 200ms; }
  .card:active, .case:active { transform: scale(0.975); }
  .pill:active, .chip:active { transform: scale(0.96); }

  /* Rails: swipe sideways with the next card peeking, iOS page dots below */
  .m-rail { display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 84%; overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 calc(-1 * var(--edge)); padding: 0 var(--edge); scroll-padding: 0 var(--edge); }
  .m-rail::-webkit-scrollbar { display: none; }
  .m-rail > * { scroll-snap-align: start; grid-column: auto; grid-row: auto; }
  .m-rail .card, .m-rail .wide.card { aspect-ratio: 4 / 5; }
  .chain.m-rail { grid-template-rows: none; grid-auto-columns: 88%; }
  .chain.m-rail .chain-card { grid-template-rows: auto auto 1fr; }
  .dots { display: flex; justify-content: center; gap: 8px; margin-top: 16px; }
  .dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(240,242,238,0.25); transition: background-color 250ms, width 300ms var(--ease); }
  .dots i.on { background: var(--text); }
  .rail { grid-auto-columns: 84%; margin: 0 calc(-1 * var(--edge)); padding: 0 var(--edge); scroll-padding: 0 var(--edge); }
  .rail-nav { display: none; }

  /* Inset grouped lists */
  .keys { grid-template-columns: 1fr; gap: 0; background: var(--card); border-radius: 14px; overflow: hidden; margin-top: 28px; }
  .key { min-height: 0; flex-direction: row; align-items: center; justify-content: start; gap: 16px; padding: 16px; border-radius: 0; background: none; }
  .key + .key { box-shadow: inset 58px 0 0 var(--card), inset 0 1px 0 var(--line); }
  .key .ico { width: 24px; height: 24px; flex: none; }
  .key-l { font-size: 0.75rem; margin-bottom: 4px; }
  .key-v { font-size: 1.125rem; font-weight: 500; letter-spacing: -0.01em; }
  .demo-steps { display: block; background: var(--card); border-radius: 14px; border: 0; margin-top: 16px; padding: 0; overflow: hidden; }
  .demo-steps li { display: flex; align-items: center; gap: 14px; padding: 16px 16px; border: 0; font-size: 1.0625rem; line-height: 1.3; color: var(--text); }
  .demo-steps li + li { border: 0; box-shadow: inset 16px 0 0 var(--card), inset 0 1px 0 var(--line); padding-left: 16px; }
  .demo-steps .mark { margin-top: 0; }
  .spec-table { background: var(--card); border-radius: 14px; border: 0; overflow: hidden; }
  .spec-row { grid-template-columns: 1fr; gap: 4px; padding: 14px 16px; border: 0; }
  .spec-row + .spec-row { box-shadow: inset 16px 0 0 var(--card), inset 0 1px 0 var(--line); }
  .spec-row dt { padding-top: 0; font-size: 0.75rem; }
  .spec-row dd { font-size: 1.0625rem; }
  .statement-t { font-size: 1.625rem; line-height: 1.18; }

  /* Form: grouped fields, options as a checklist */
  .form { background: none; padding: 0; gap: 18px; }
  .form input:not([type="checkbox"]), .form textarea, .form select { background: var(--card); border-color: transparent; border-radius: 12px; min-height: 50px; font-size: 1.0625rem; }
  .opts { display: block; background: var(--card); border-radius: 14px; overflow: hidden; }
  .opt { display: block; font-size: 1.0625rem; }
  .opt + .opt span { box-shadow: inset 0 1px 0 var(--line); }
  .opt span { display: flex; justify-content: space-between; height: 50px; padding: 0 16px; border: 0; border-radius: 0; color: var(--text); }
  .opt span::after { content: ""; width: 18px; height: 18px; opacity: 0; transition: opacity 150ms; background: var(--signal);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat; }
  .opt input:checked + span { background: none; color: var(--text); }
  .opt input:checked + span::after { opacity: 1; }
  .opt:hover span { color: var(--text); }
  .opt span:active { background: rgba(240,242,238,0.06); }
  .form-foot .pill { width: 100%; justify-content: center; }
  .demo { padding-top: calc(96px + env(safe-area-inset-top)); }

  /* Spacing and the footer clear the tab bar */
  .space { margin-top: 96px; }
  .footer { padding-bottom: calc(110px + env(safe-area-inset-bottom)); margin-top: 96px; }
  .footer-base { margin-top: 32px; flex-direction: column; gap: 6px; }
  .closing .pill { width: 100%; justify-content: center; }
  .head { margin-bottom: 16px; }
}

/* Use case detail as a native bottom sheet: grabber, drag down to close, swipe sideways between use cases */
@media (max-width: 860px) {
  .cases.has-sel .case:not(.sel) { opacity: 1; }
  .case.sel::before { box-shadow: none !important; }
  .case-more { display: none; }
  .uc { position: fixed; inset: 0; z-index: 60; display: block; visibility: hidden; transition: visibility 0s 520ms; }
  .uc.open { visibility: visible; transition: none; }
  .uc-scrim { display: block; position: absolute; inset: 0; background: rgba(0,0,0,0.5); opacity: 0; transition: opacity 420ms var(--ease); }
  .uc.open .uc-scrim { opacity: 1; }
  .uc-panel { position: absolute; left: 0; right: 0; bottom: 0; max-height: 92svh; overflow-y: auto; overscroll-behavior: contain; background: #121413;
    border-radius: 22px 22px 0 0; padding: 0 16px; transform: translateY(100%);
    transition: transform 520ms cubic-bezier(0.32, 0.72, 0, 1); box-shadow: 0 -1px 0 rgba(255,255,255,0.06); }
  .uc.open .uc-panel { transform: translateY(var(--drag, 0px)); }
  .uc.dragging .uc-panel { transition: none; }
  .uc-top { position: sticky; top: 0; right: auto; z-index: 3; padding: 8px 0 10px; margin: 0 -16px; padding-left: 16px; padding-right: 16px; background: linear-gradient(#121413 70%, rgba(18,20,19,0)); }
  .uc-top .grabber { display: block; margin-bottom: 8px; }
  .uc-nav { justify-content: space-between; }
  .uc-dots { display: flex; gap: 6px; }
  .uc-dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(240,242,238,0.25); transition: background-color 300ms, width 300ms; }
  .uc-dots i.on { width: 18px; border-radius: 3px; background: var(--text); }
  .uc-count, [data-uc-prev], [data-uc-next] { display: none; }
  .uc-b { width: 30px; height: 30px; }
  .uc-item { display: block; margin: 0; background: none; border-radius: 0; min-height: 0; touch-action: pan-y; }
  .uc-item.swipe-l:not([hidden]) { animation: uc-l 380ms var(--ease); }
  .uc-item.swipe-r:not([hidden]) { animation: uc-r 380ms var(--ease); }
  .uc-media { aspect-ratio: 16 / 10; border-radius: 14px; }
  .uc-body { padding: 18px 0 0; }
  .uc-h { margin-top: 8px; font-size: 1.75rem; }
  .uc-rows { margin-top: 18px; background: var(--card); border-radius: 14px; overflow: hidden; }
  .uc-rows div { padding: 13px 16px; border: 0; gap: 3px; }
  .uc-rows div + div { box-shadow: inset 16px 0 0 var(--card), inset 0 1px 0 var(--line); }
  .uc-rows dt { font-size: 0.75rem; }
  .uc-rows dd { font-size: 1.0625rem; }
  .uc-cta { position: sticky; bottom: 0; margin: 0 -16px; padding: 16px 16px calc(20px + env(safe-area-inset-bottom)); background: linear-gradient(rgba(18,20,19,0), #121413 30%); flex-direction: column; align-items: stretch; gap: 14px; }
  .uc-cta .pill { height: 50px; justify-content: center; font-size: 1.0625rem; }
  .uc-cta .link { justify-content: center; }
}
@keyframes uc-l { from { opacity: 0; transform: translateX(28px); } }
@keyframes uc-r { from { opacity: 0; transform: translateX(-28px); } }

/* Use case panel: suggested sensors, two columns of icon, name and what it does there */
.uc-sens { margin-top: clamp(20px, 2.4vw, 32px); }
.uc-sens > .label { color: var(--text-3); }
.uc-sens ul { margin-top: 12px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.uc-sens li { display: flex; align-items: flex-start; gap: 12px; padding: 12px 14px; border-radius: 12px; background: rgba(240,242,238,0.05); box-shadow: inset 0 0 0 1px var(--line); }
.uc-sens .ico { flex: none; width: 20px; height: 20px; margin-top: 1px; fill: none; stroke: var(--signal); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.uc-sens span { display: grid; gap: 2px; min-width: 0; }
.uc-sens b { font-weight: 500; font-size: 0.9375rem; line-height: 1.3; }
.uc-sens small { color: var(--text-3); font-size: 0.8125rem; line-height: 1.35; }
@media (max-width: 1100px) and (min-width: 861px) { .uc-sens ul { grid-template-columns: 1fr; } }
@media (max-width: 860px) { .uc-sens ul { gap: 6px; } .uc-sens li { background: var(--card); box-shadow: none; padding: 11px 12px; } }
@media (max-width: 420px) { .uc-sens ul { grid-template-columns: 1fr; } }

/* Daniel, 22 Oct: no small uppercase mono labels on the site; labels are sans at body size, like the About page.
   The command and control console keeps its mono readouts. */
.label, .key-l, .hw-k, .c-step b { font-family: inherit; font-size: var(--body); line-height: 1.35; letter-spacing: -0.01em; text-transform: none; font-weight: 500; color: rgba(240,242,238,0.75); }
.case-more, .uc-count { font-family: inherit; font-size: 0.9375rem; letter-spacing: -0.01em; text-transform: none; }
.c-step.on b { color: var(--signal); }
.uc-rows dt, .uc-sens > .label { color: var(--text-3); font-size: 0.9375rem; }

/* Sector pages: "Built for ..." as a display headline over four feature cards */
.feats-h { max-width: 14em; margin-bottom: clamp(32px, 4vw, 56px); }
.feats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.feat { background: var(--card); border-radius: var(--radius); padding: clamp(24px, 2.4vw, 32px); display: flex; flex-direction: column; min-height: clamp(260px, 22vw, 320px); }
.feat .ico { width: 28px; height: 28px; fill: none; stroke: var(--signal); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.feat h3 { margin-top: auto; padding-top: 40px; font-size: clamp(1.375rem, 1.7vw, 1.625rem); line-height: 1.12; letter-spacing: -0.03em; font-weight: 600; text-wrap: balance; }
.feat p { margin-top: 10px; color: var(--text-2); }
@media (max-width: 1100px) { .feats { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .feats { grid-template-columns: 1fr; } .feat { min-height: 0; } .feat h3 { padding-top: 28px; } }

/* Daniel, 22 Oct (evening): section labels read as small headings, not captions */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.head { margin-bottom: clamp(20px, 2.4vw, 32px); }
.head .label, .head h2 { font-size: clamp(1.5rem, 2.2vw, 2rem); line-height: 1.1; letter-spacing: -0.03em; font-weight: 500; color: var(--text); }
@media (max-width: 860px) { .head .label, .head h2 { font-size: 1.5rem; } }

/* Use case cards: the module or sector as a pill, no reserved gap */
.case-body .label { min-height: 0; }
.case-tag { align-self: flex-start; display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 999px; background: rgba(240,242,238,0.08); color: var(--text-2); font-size: 0.875rem; font-weight: 500; letter-spacing: -0.005em; white-space: nowrap; }
.uc-body .case-tag { margin-bottom: 2px; }

/* Built for ...: icon, title and text share rows across the four cards, so titles line up */
.feats { grid-template-rows: auto auto 1fr; }
.feat { display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 0; min-height: 0; }
.feat .ico { margin-bottom: clamp(56px, 6vw, 96px); }
.feat h3 { margin-top: 0; padding-top: 0; align-self: start; }
.feat p { align-self: start; }
@media (max-width: 1100px) { .feats { grid-template-rows: none; } .feat { grid-row: auto; grid-template-rows: auto auto 1fr; } }

/* Specification: a grid of cells, label at the top and value at the bottom, hairlines between */
.spec-grid { margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: 0 0 0 1px var(--line); }
.spec-cell { background: var(--card); padding: clamp(22px, 2.4vw, 32px); min-height: clamp(150px, 13vw, 190px); display: flex; flex-direction: column; justify-content: space-between; gap: 28px; }
.spec-cell dt { color: var(--text-3); font-size: 0.9375rem; font-weight: 500; }
.spec-cell dd { margin: 0; font-size: clamp(1.25rem, 1.7vw, 1.5rem); line-height: 1.2; letter-spacing: -0.025em; font-weight: 500; text-wrap: balance; }
@media (max-width: 1100px) { .spec-grid { grid-template-columns: 1fr 1fr; } .spec-cell.empty { display: none; } .spec-grid { background: var(--card); } .spec-cell { box-shadow: 0 1px 0 var(--line), 1px 0 0 var(--line); } }
@media (max-width: 640px) { .spec-grid { grid-template-columns: 1fr; border-radius: 14px; } .spec-cell { min-height: 0; padding: 16px; gap: 6px; box-shadow: 0 1px 0 var(--line); } .spec-cell dt { font-size: 0.8125rem; } .spec-cell dd { font-size: 1.125rem; } }

/* Daniel, 22 Oct (night): nothing below 16px; labels in panels, specs and forms at 17px */
html { scroll-padding-top: 88px; }
.case-body { gap: 10px; }
.case-foot { margin-top: auto; padding-top: clamp(24px, 2.4vw, 36px); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.case-foot .case-tag { margin: 0; }
.case-foot .case-more { margin: 0; padding: 0; }
.case-tag { height: 32px; padding: 0 14px; font-size: 1rem; }
.case-more { font-size: 1rem; }
.uc-rows dt, .uc-sens > .label { font-size: 1.0625rem; font-weight: 500; color: var(--text-2); }
.uc-rows dd { font-size: 1.1875rem; }
.uc-sens b { font-size: 1.0625rem; }
.uc-sens small { font-size: 1rem; color: var(--text-2); }
.uc-count { font-size: 1rem; }
.spec-cell dt { font-size: 1.0625rem; color: var(--text-2); }
@media (max-width: 860px) {
  .uc-rows dt { font-size: 1rem; }
  .uc-rows dd { font-size: 1.0625rem; }
}
@media (max-width: 640px) { .spec-cell dt { font-size: 1rem; } .spec-cell dd { font-size: 1.1875rem; } }

/* Demo page: short intro on the left, compact form on the right, in one screen */
.demo { padding-top: clamp(104px, 9vw, 136px); padding-bottom: 48px; grid-template-columns: 4fr 7fr; gap: clamp(32px, 5vw, 96px); }
.demo-intro { top: 112px; }
.demo-intro p { font-size: clamp(1.25rem, 1.5vw, 1.5rem); }
.demo-intro .demo-mail { margin-top: 20px; font-size: var(--body); color: var(--text-2); }
.demo-mail a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.form { gap: 18px 12px; padding: clamp(24px, 2.4vw, 36px); }
.f { gap: 8px; }
.f > label, .f > legend { font-size: 1.0625rem; font-weight: 500; color: var(--text-2); }
.f > label span { font-weight: 400; }
.form input:not([type="checkbox"]), .form select { padding: 12px 16px; font-size: 1.0625rem; }
.form textarea { min-height: 96px; font-size: 1.0625rem; padding: 12px 16px; }
.form textarea::placeholder { color: var(--text-3); }
.opts { gap: 6px; }
.opt span { height: 38px; padding: 0 14px; font-size: 1rem; }
.form-foot { margin-top: 4px; justify-content: flex-end; }
@media (max-width: 960px) { .demo { grid-template-columns: 1fr; } }
@media (max-width: 860px) { .opt span { height: 50px; font-size: 1.0625rem; } }

/* Platform hardware cards: the type as a pill at the bottom, as on the use case cards */
.hw > p:not(.hw-tag) { padding: 0 clamp(18px, 2vw, 26px); margin-top: 6px; color: var(--text-2); }
.hw .hw-tag { margin: auto clamp(18px, 2vw, 26px) 0; padding-top: 0; transform: translateY(0); }
.hw h3 { font-size: 1.25rem; }
.hw > p:not(.hw-tag) { margin-bottom: 20px; }

/* A complete system: glass tiles with the icon in a rounded square, lifting gently on hover */
.kit { position: relative; isolation: isolate; overflow: hidden; background: linear-gradient(160deg, rgba(240,242,238,0.07), rgba(240,242,238,0.02) 55%), var(--card);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), inset 0 0 0 1px rgba(240,242,238,0.07); transition: transform 500ms var(--ease), box-shadow 500ms var(--ease), background-color 500ms; }
.kit::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(120% 80% at var(--mx, 30%) var(--my, 0%), rgba(240,242,238,0.10), transparent 60%); opacity: 0; transition: opacity 500ms var(--ease); }
.kit-ico { width: 72px; height: 72px; border-radius: 20px; display: grid; place-items: center;
  background: linear-gradient(155deg, rgba(255,255,255,0.16), rgba(255,255,255,0.04) 60%); backdrop-filter: blur(14px) saturate(160%); -webkit-backdrop-filter: blur(14px) saturate(160%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.28), inset 0 -1px 0 rgba(0,0,0,0.25), inset 0 0 0 1px rgba(255,255,255,0.08), 0 10px 24px rgba(0,0,0,0.35); transition: transform 500ms var(--ease); }
.kit .ico { width: 36px; height: 36px; fill: none; stroke: var(--text); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.kit h3 { margin-top: clamp(40px, 4.4vw, 64px); }
@media (hover: hover) {
  .kit:hover { transform: translateY(-4px); box-shadow: inset 0 1px 0 rgba(255,255,255,0.12), inset 0 0 0 1px rgba(240,242,238,0.16), 0 24px 48px rgba(0,0,0,0.45); }
  .kit:hover::before { opacity: 1; }
  .kit:hover .kit-ico { transform: scale(1.06); }
}
@media (prefers-reduced-motion: reduce) { .kit, .kit-ico { transition: none; } .kit:hover { transform: none; } }

/* How it works, Detect: soft heartbeats ring out from a point in the field; each beat comes from a new
   spot and size (set by dara.js), with a warm core where the object is */
.detect .hi { --r: 0%; -webkit-mask: radial-gradient(circle at var(--cx, 50%) var(--cy, 50%), transparent calc(var(--r) - 9%), #000 var(--r), transparent calc(var(--r) + 9%));
  mask: radial-gradient(circle at var(--cx, 50%) var(--cy, 50%), transparent calc(var(--r) - 9%), #000 var(--r), transparent calc(var(--r) + 9%));
  opacity: 0; animation: d-ring 3.6s cubic-bezier(0.25, 0.6, 0.3, 1) infinite; }
.detect::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle, rgba(240,242,238,0.95) 0.85px, transparent 1.25px) 50% 50% / 12px 12px;
  --r: 0%; -webkit-mask: radial-gradient(circle at var(--cx, 50%) var(--cy, 50%), transparent calc(var(--r) - 7%), #000 var(--r), transparent calc(var(--r) + 7%));
  mask: radial-gradient(circle at var(--cx, 50%) var(--cy, 50%), transparent calc(var(--r) - 7%), #000 var(--r), transparent calc(var(--r) + 7%));
  opacity: 0; animation: d-ring 3.6s cubic-bezier(0.25, 0.6, 0.3, 1) 0.32s infinite; }
.detect .hi.b { background-image: radial-gradient(circle, var(--signal) 0.85px, transparent 1.25px);
  -webkit-mask: radial-gradient(circle 54px at var(--cx, 50%) var(--cy, 50%), #000, transparent); mask: radial-gradient(circle 54px at var(--cx, 50%) var(--cy, 50%), #000, transparent);
  animation: d-core 3.6s ease-in-out infinite; }
@keyframes d-ring { 0% { --r: 0%; opacity: 0; } 8% { opacity: 0.75; } 70% { --r: var(--s, 30%); opacity: 0; } 100% { --r: var(--s, 30%); opacity: 0; } }
@keyframes d-core { 0% { opacity: 0; } 6% { opacity: 0.9; } 14% { opacity: 0.45; } 22% { opacity: 0.85; } 60% { opacity: 0.5; } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .detect::after { animation: none; } .detect .hi { --r: 20%; opacity: 0.4; } .detect .hi.b { opacity: 0.7; } }
/* Hardware pills sit on one line at the bottom of every card (beats the older .hw p:last-child rule) */
.hw > p.hw-tag:last-child { margin: auto clamp(18px, 2vw, 26px) 0; padding: 0 14px; color: var(--text-2); }
/* Sector "Built for ..." tiles use the platform's glass .kit style; titles still line up across the row */
.kits.feats { grid-template-rows: auto auto 1fr; }
.kits.feats .kit { display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 0; min-height: 0; }
.kits.feats .kit h3 { align-self: start; }
.kits.feats .kit p { align-self: start; }
@media (max-width: 1100px) { .kits.feats { grid-template-rows: none; } .kits.feats .kit { grid-row: auto; grid-template-rows: auto auto 1fr; } }
