
/* Layout: wide asymmetric grid. Hero = copy left, live 2x2 camera monitor right. Dark navy band for the process. */
:root {
  --bg: #f4f6f9;
  --surface: #ffffff;
  --ink: #15181e;
  --muted: #586172;
  --line: #dde2ea;
  --blue: #255196;
  --blue-ink: #ffffff;
  --navy: #1c294a;
  --steel: #a9a9ae;
  --deep: #1c294a;
  --on-deep: #eef2f8;
  --on-deep-muted: #a9b4c8;
  --deep-line: rgba(255,255,255,.14);
  --screen: #0a111d;
  --screen-ink: #c9d3e3;
  --screen-dim: rgba(201,211,227,.45);
  --rec: #e5484d;
  --detect: #6fa0ec;
  --logo-filter: none;
  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  --wrap: 1180px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0c111a; --surface: #131a26; --ink: #ecf0f6; --muted: #98a2b3; --line: #232d3e;
    --blue: #6b97de; --blue-ink: #0a1120; --navy: #c7d4ee; --steel: #7b8291;
    --deep: #111b2e; --deep-line: rgba(255,255,255,.1);
    --logo-filter: invert(1) hue-rotate(180deg) brightness(1.1);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0c111a; --surface: #131a26; --ink: #ecf0f6; --muted: #98a2b3; --line: #232d3e;
  --blue: #6b97de; --blue-ink: #0a1120; --navy: #c7d4ee; --steel: #7b8291;
  --deep: #111b2e; --deep-line: rgba(255,255,255,.1);
  --logo-filter: invert(1) hue-rotate(180deg) brightness(1.1);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg); color: var(--ink);
  font-family: var(--font-body); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: clamp(16px, 4vw, 40px); }
h1, h2, h3 { font-family: var(--font-display); font-stretch: 112%; line-height: 1.04; letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 2px; }
.eyebrow { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); }
.logo { filter: var(--logo-filter); display: block; }

/* Header */
.site-head {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line);
}
.head-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand svg { width: 54px; height: auto; }
.brand-name { font-family: var(--font-display); font-stretch: 118%; font-weight: 800; font-size: 15px; letter-spacing: .04em; text-transform: uppercase; line-height: 1.05; }
.brand-name b { color: var(--blue); font-weight: 800; display: block; }
.brand-name span { color: var(--ink); font-weight: 600; letter-spacing: .14em; font-size: 12px; }
.nav { display: flex; align-items: center; gap: 32px; }
.nav a { text-decoration: none; font-size: 15px; color: var(--muted); font-weight: 500; transition: color .15s; }
.nav a:hover { color: var(--ink); }
.btn {
  display: inline-flex; align-items: center; gap: 10px; justify-content: center;
  font-family: var(--font-body); font-weight: 600; font-size: 15.5px;
  padding: 14px 22px; border-radius: 4px; text-decoration: none; border: 1px solid transparent;
  cursor: pointer; transition: transform .15s, background .15s, border-color .15s;
}
.btn-primary { background: var(--blue); color: var(--blue-ink); }
.btn-primary:hover { transform: translateY(-1px); background: color-mix(in srgb, var(--blue) 88%, var(--ink)); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--ink); }
.btn svg { width: 16px; height: 16px; }
.nav .btn { padding: 10px 18px; font-size: 14.5px; color: var(--blue-ink); }

/* Hero */
.hero { padding-block: clamp(48px, 8vw, 104px) clamp(40px, 6vw, 72px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(44px, 6.4vw, 84px); font-weight: 800; margin-top: 18px; }
.hero h1 em { font-style: normal; color: var(--blue); }
.hero .lede { margin-top: 24px; font-size: clamp(17px, 1.5vw, 19.5px); color: var(--muted); max-width: 33em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

/* Monitor */
.monitor {
  background: var(--screen); border-radius: 10px; padding: 10px;
  box-shadow: 0 1px 0 rgba(255,255,255,.04) inset, 0 30px 60px -30px rgba(10,20,40,.55);
}
.monitor-bar { display: flex; justify-content: space-between; align-items: center; padding: 4px 6px 10px; font-family: var(--font-mono); font-size: 11.5px; color: var(--screen-dim); letter-spacing: .06em; }
.live { display: inline-flex; align-items: center; gap: 7px; color: var(--screen-ink); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--rec); animation: blink 1.6s steps(1) infinite; }
@keyframes blink { 50% { opacity: .15; } }
.feeds { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.feed { position: relative; aspect-ratio: 16 / 10; max-width: 100%; overflow: hidden; border-radius: 3px; background: #111b2b; }
.feed svg.scene { position: absolute; inset: 0; width: 100%; height: 100%; }
.feed::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(255,255,255,.025) 0 1px, transparent 1px 3px), radial-gradient(120% 90% at 50% 50%, transparent 55%, rgba(0,0,0,.45)); }
.feed-label { position: absolute; left: 8px; top: 7px; font-family: var(--font-mono); font-size: 10.5px; color: var(--screen-ink); letter-spacing: .06em; z-index: 2; text-shadow: 0 1px 2px #000; }
.feed-time { position: absolute; right: 8px; bottom: 6px; font-family: var(--font-mono); font-size: 10px; color: var(--screen-dim); z-index: 2; font-variant-numeric: tabular-nums; }
.detect { position: absolute; border: 1.5px solid var(--detect); z-index: 2; animation: drift 7s ease-in-out infinite alternate; }
.detect span { position: absolute; top: -17px; left: -1.5px; background: var(--detect); color: #071022; font-family: var(--font-mono); font-size: 9.5px; font-weight: 500; padding: 1px 5px; white-space: nowrap; }
@keyframes drift { from { transform: translateX(0); } to { transform: translateX(-22%); } }

/* Spec strip */
.specs { border-block: 1px solid var(--line); background: var(--surface); }
.specs ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.specs li { padding: 22px 20px; border-left: 1px solid var(--line); display: grid; gap: 2px; }
.specs li:first-child { border-left: 0; padding-left: 0; }
.specs strong { font-family: var(--font-display); font-stretch: 112%; font-size: 22px; font-weight: 700; letter-spacing: -0.01em; }
.specs small { font-family: var(--font-mono); font-size: 12px; color: var(--muted); letter-spacing: .04em; }

/* Sections */
section.block { padding-block: clamp(64px, 9vw, 120px); }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: end; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head h2 { font-size: clamp(34px, 4.2vw, 54px); font-weight: 750; margin-top: 14px; }
.section-head p { color: var(--muted); max-width: 30em; }

.services { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 2.6vw, 36px); }
.service { border-top: 2px solid var(--ink); padding-top: 22px; display: grid; gap: 12px; align-content: start; }
.service .tag { font-family: var(--font-mono); font-size: 12px; color: var(--muted); letter-spacing: .06em; }
.service h3 { font-size: 23px; font-weight: 700; }
.service p { color: var(--muted); font-size: 16px; }
.service ul { margin: 4px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; font-size: 15px; }
.service li { display: flex; gap: 10px; align-items: baseline; }
.service li::before { content: ""; width: 6px; height: 6px; background: var(--blue); flex: none; transform: translateY(-2px); }

/* App feature */
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.feature h2 { font-size: clamp(32px, 3.8vw, 48px); font-weight: 750; margin-top: 14px; }
.feature .copy > p { color: var(--muted); margin-top: 20px; max-width: 32em; }
.checks { margin-top: 28px; display: grid; gap: 0; border-top: 1px solid var(--line); }
.check { display: grid; grid-template-columns: 150px minmax(0,1fr); gap: 20px; padding-block: 16px; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.check dt { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--blue); padding-top: 3px; }
.check dd { margin: 0; color: var(--ink); }

.phone {
  justify-self: center; width: min(320px, 100%); aspect-ratio: 9 / 18.5;
  border-radius: 38px; padding: 12px; background: var(--ink);
  box-shadow: 0 40px 70px -40px rgba(10,20,40,.6);
}
.phone-screen { height: 100%; border-radius: 28px; background: var(--screen); overflow: hidden; display: flex; flex-direction: column; color: var(--screen-ink); font-family: var(--font-body); }
.ps-head { padding: 26px 18px 12px; display: flex; justify-content: space-between; align-items: baseline; }
.ps-head b { font-family: var(--font-display); font-stretch: 112%; font-size: 17px; }
.ps-head small { font-family: var(--font-mono); font-size: 10.5px; color: var(--screen-dim); }
.ps-feed { margin: 0 12px; position: relative; aspect-ratio: 16/10; border-radius: 6px; overflow: hidden; background: #111b2b; }
.ps-feed svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.ps-list { padding: 14px 12px; display: grid; gap: 8px; }
.ps-item { display: grid; grid-template-columns: 34px minmax(0,1fr) auto; gap: 10px; align-items: center; background: rgba(255,255,255,.05); border-radius: 8px; padding: 9px 10px; font-size: 12.5px; }
.ps-item i { width: 34px; height: 24px; border-radius: 3px; background: linear-gradient(135deg, #22324d, #0f1828); display: block; }
.ps-item small { font-family: var(--font-mono); font-size: 10.5px; color: var(--screen-dim); }
.ps-item .pill { font-family: var(--font-mono); font-size: 9.5px; padding: 2px 6px; border-radius: 99px; background: rgba(111,160,236,.18); color: var(--detect); }

/* Process (dark band) */
.process { background: var(--deep); color: var(--on-deep); }
.process .eyebrow { color: #8fb3ee; }
.process .section-head p { color: var(--on-deep-muted); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); counter-reset: step; }
.step { padding: 28px 28px 8px 0; border-top: 1px solid var(--deep-line); position: relative; display: grid; gap: 12px; align-content: start; }
.step + .step { padding-left: 28px; border-left: 1px solid var(--deep-line); }
.step::before { counter-increment: step; content: "0" counter(step); font-family: var(--font-mono); font-size: 13px; color: #8fb3ee; letter-spacing: .08em; }
.step h3 { font-size: 22px; font-weight: 700; }
.step p { color: var(--on-deep-muted); font-size: 15.5px; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.faq-grid h2 { font-size: clamp(32px, 3.8vw, 48px); font-weight: 750; margin-top: 14px; }
.faq-grid .intro p { color: var(--muted); margin-top: 18px; max-width: 26em; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative; font-family: var(--font-display); font-stretch: 108%; font-weight: 650; font-size: 19px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; border-right: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { padding: 0 44px 24px 0; color: var(--muted); max-width: 38em; }

/* Contact */
.contact { background: var(--surface); border-top: 1px solid var(--line); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 88px); }
.contact h2 { font-size: clamp(36px, 4.6vw, 60px); font-weight: 800; margin-top: 14px; }
.contact .copy > p { color: var(--muted); margin-top: 20px; max-width: 28em; }
.details { margin-top: 32px; display: grid; gap: 0; border-top: 1px solid var(--line); }
.details div { display: grid; grid-template-columns: 110px minmax(0,1fr); gap: 16px; padding-block: 14px; border-bottom: 1px solid var(--line); }
.details dt { font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.details dd { margin: 0; font-weight: 500; user-select: all; overflow-wrap: anywhere; }
.details dd.todo { color: var(--muted); font-weight: 400; font-style: italic; user-select: auto; }

form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-content: start; }
.field { display: grid; gap: 7px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
label { font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
input, select, textarea {
  font: inherit; font-size: 16px; color: var(--ink); background: var(--bg);
  border: 1px solid var(--line); border-radius: 4px; padding: 13px 14px; width: 100%;
  transition: border-color .15s, background .15s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); background: var(--surface); }
textarea { min-height: 130px; resize: vertical; }
.segment { display: flex; gap: 8px; flex-wrap: wrap; }
.segment input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.segment label { text-transform: none; letter-spacing: 0; font-family: var(--font-body); font-size: 15px; color: var(--ink); border: 1px solid var(--line); border-radius: 4px; padding: 10px 16px; cursor: pointer; background: var(--bg); }
.segment input:checked + label { border-color: var(--blue); color: var(--blue); background: color-mix(in srgb, var(--blue) 8%, var(--surface)); }
.segment input:focus-visible + label { outline: 2px solid var(--blue); outline-offset: 2px; }
.form-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 6px; }
.form-msg { font-size: 14.5px; color: var(--muted); }

/* Footer */
.site-foot { border-top: 1px solid var(--line); padding-block: 48px 40px; }
.foot-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 28px; }
.foot-row svg { width: 120px; height: auto; }
.foot-meta { font-family: var(--font-mono); font-size: 12.5px; color: var(--muted); display: flex; gap: 24px; flex-wrap: wrap; }

/* Responsive */
@media (max-width: 960px) {
  .hero-grid, .feature, .faq-grid, .contact-grid, .section-head { grid-template-columns: minmax(0, 1fr); }
  .services { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 44px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step:nth-child(3) { padding-left: 0; border-left: 0; }
  .specs ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .specs li:nth-child(3) { border-left: 0; padding-left: 0; }
  .specs li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .nav a:not(.btn) { display: none; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .services, .steps { grid-template-columns: minmax(0, 1fr); }
  .step, .step + .step { padding-left: 0; border-left: 0; padding-right: 0; }
  .brand-name { display: none; }
  form { grid-template-columns: minmax(0, 1fr); }
  .check { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .details div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .specs li { padding: 18px 14px; }
  .specs strong { font-size: 19px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ---- Multi-page additions ---- */
:root { padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); }
body { margin: 0; }
img { max-width: 100%; }
[hidden] { display: none !important; }
.brand img { width: 54px; height: auto; display: block; }
.nav a[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--blue); padding-bottom: 4px; }
.menu-btn { display: none; background: none; border: 1px solid var(--line); border-radius: 4px; width: 44px; height: 44px; color: var(--ink); cursor: pointer; align-items: center; justify-content: center; }
.menu-btn svg { width: 20px; height: 20px; }
.mobile-nav { border-top: 1px solid var(--line); background: var(--bg); }
.mobile-nav ul { list-style: none; margin: 0; padding: 8px 0 16px; display: grid; }
.mobile-nav a { display: block; padding: 14px 0; text-decoration: none; font-family: var(--font-display); font-stretch: 112%; font-weight: 650; font-size: 20px; border-bottom: 1px solid var(--line); }
.mobile-nav a[aria-current="page"] { color: var(--blue); }

.feed img, .ps-feed img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.foot-logo { width: 120px; height: auto; }

/* Page hero for inner pages */
.page-hero { padding-block: clamp(48px, 7vw, 96px) clamp(32px, 5vw, 56px); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(40px, 5.6vw, 72px); font-weight: 800; margin-top: 16px; max-width: 14em; }
.page-hero h1 em { font-style: normal; color: var(--blue); }
.page-hero .lede { margin-top: 22px; font-size: clamp(17px, 1.5vw, 19.5px); color: var(--muted); max-width: 36em; }
.crumb { font-family: var(--font-mono); font-size: 12.5px; color: var(--muted); letter-spacing: .06em; }
.crumb a { text-decoration: none; color: var(--muted); }
.crumb a:hover { color: var(--ink); }

/* Detailed service rows */
.rows { display: grid; }
.row { display: grid; grid-template-columns: 220px minmax(0, 1fr) minmax(0, .9fr); gap: clamp(24px, 4vw, 56px); padding-block: clamp(36px, 5vw, 56px); border-bottom: 1px solid var(--line); align-items: start; }
.row:first-child { padding-top: 0; }
.row .tag { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); padding-top: 8px; }
.row h2 { font-size: clamp(28px, 3vw, 38px); font-weight: 750; }
.row .body p { color: var(--muted); margin-top: 14px; max-width: 34em; }
.row ul { list-style: none; margin: 0; padding: 0; display: grid; border-top: 1px solid var(--line); }
.row li { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; display: flex; gap: 12px; align-items: baseline; }
.row li::before { content: ""; width: 6px; height: 6px; background: var(--blue); flex: none; transform: translateY(-2px); }

/* Product grid */
.kit { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.kit > div { background: var(--surface); padding: 24px; display: grid; gap: 8px; align-content: start; }
.kit h3 { font-size: 19px; font-weight: 700; }
.kit p { color: var(--muted); font-size: 15px; }
.kit .tag { font-family: var(--font-mono); font-size: 11.5px; color: var(--blue); letter-spacing: .08em; text-transform: uppercase; }

/* Camera types */
.types { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 2.6vw, 32px); }
.type { display: grid; gap: 14px; align-content: start; }
.type figure { margin: 0; aspect-ratio: 4 / 3; max-width: 100%; background: var(--surface); border: 1px solid var(--line); border-radius: 6px; display: grid; place-items: center; }
.type figure svg { width: 62%; height: auto; }
.type h3 { font-size: 22px; font-weight: 700; }
.type p { color: var(--muted); font-size: 15.5px; }
.type .fit { font-family: var(--font-mono); font-size: 12px; color: var(--ink); letter-spacing: .03em; border-top: 1px solid var(--line); padding-top: 10px; }
.cam-stroke { stroke: var(--ink); }
.cam-fill { fill: var(--bg); }
.cam-lens { fill: var(--blue); }

/* Tech band */
.tech { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--deep-line); }
.tech > div { padding: 28px 28px 8px 0; display: grid; gap: 10px; align-content: start; }
.tech > div + div { padding-left: 28px; border-left: 1px solid var(--deep-line); }
.tech .name { font-family: var(--font-mono); font-size: 13px; color: #8fb3ee; letter-spacing: .08em; text-transform: uppercase; }
.tech h3 { font-size: 22px; font-weight: 700; }
.tech p { color: var(--on-deep-muted); font-size: 15.5px; }

/* Lens table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); }
table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: 15.5px; }
th, td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 500; background: var(--bg); }
tr:last-child td { border-bottom: 0; }
td.num { font-family: var(--font-mono); font-variant-numeric: tabular-nums; white-space: nowrap; }
td.num b { color: var(--blue); font-weight: 500; }
.fov { display: inline-block; vertical-align: middle; margin-right: 10px; }
.fine { font-size: 13.5px; color: var(--muted); margin-top: 14px; max-width: 60em; }

/* CTA band */
.cta-band { background: var(--deep); color: var(--on-deep); padding-block: clamp(48px, 7vw, 88px); }
.cta-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 28px; }
.cta-inner h2 { font-size: clamp(32px, 4.2vw, 54px); font-weight: 800; max-width: 13em; }
.cta-inner p { color: var(--on-deep-muted); margin-top: 14px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.cta-band .btn-primary { background: #ffffff; color: #1c294a; }
.cta-band .btn-primary:hover { background: #dce6f6; }
.cta-band .btn-ghost { color: var(--on-deep); border-color: var(--deep-line); }
.cta-band .btn-ghost:hover { border-color: var(--on-deep); }
.tel-big { font-family: var(--font-mono); font-size: 15px; color: var(--on-deep); letter-spacing: .04em; }

.more { display: inline-flex; gap: 8px; align-items: center; margin-top: 36px; font-weight: 600; text-decoration: none; color: var(--blue); }
.more:hover { text-decoration: underline; text-underline-offset: 4px; }
.service a.stretch { text-decoration: none; }
.service a.stretch:hover h3 { color: var(--blue); }

.copy-btn { margin-left: 10px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; background: none; border: 1px solid var(--line); color: var(--muted); border-radius: 3px; padding: 3px 8px; cursor: pointer; vertical-align: 2px; }
.copy-btn:hover { color: var(--ink); border-color: var(--ink); }
.details dd a { text-decoration: none; }
.details dd a:hover { color: var(--blue); }
.disclaimer { font-size: 13px; color: var(--muted); max-width: 60em; }

@media (max-width: 960px) {
  .nav { display: none; }
  .menu-btn { display: inline-flex; }
  .row { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .kit, .types { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tech { grid-template-columns: minmax(0, 1fr); }
  .tech > div, .tech > div + div { padding: 24px 0 8px; border-left: 0; border-top: 1px solid var(--deep-line); }
}
@media (min-width: 961px) { .mobile-nav { display: none; } }
@media (max-width: 560px) {
  .kit, .types { grid-template-columns: minmax(0, 1fr); }
  .brand-name { display: block; }
  .brand-name b { font-size: 13px; }
}

/* Footer */
.site-foot { border-top: 1px solid var(--line); padding-block: 40px 28px; }
.foot-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px 40px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.foot-nav { display: flex; flex-wrap: wrap; gap: 8px 32px; }
.foot-nav a { text-decoration: none; font-size: 15px; font-weight: 500; color: var(--muted); }
.foot-nav a:hover { color: var(--ink); }
.foot-bottom { display: flex; flex-wrap: wrap; gap: 8px 28px; padding-top: 20px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .04em; color: var(--muted); }
.foot-bottom span:first-child { margin-right: auto; }
@media (max-width: 560px) {
  .foot-nav { gap: 8px 20px; }
  .foot-bottom { flex-direction: column; }
  .foot-bottom span:first-child { margin-right: 0; order: 3; }
}

/* Portfolio */
.projects { display: grid; gap: clamp(48px, 7vw, 96px); }
.proj { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.proj:nth-child(even) .proj-media { order: 2; }
.proj-media { position: relative; aspect-ratio: 16 / 10; max-width: 100%; border-radius: 6px; overflow: hidden; background: var(--screen); }
.proj-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.proj-media::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(0deg, rgba(255,255,255,.025) 0 1px, transparent 1px 3px), radial-gradient(120% 90% at 50% 50%, transparent 55%, rgba(0,0,0,.4)); }
.proj-place { position: absolute; left: 14px; bottom: 12px; z-index: 2; font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; color: var(--screen-ink); }
.proj-badge { position: absolute; right: 12px; top: 12px; z-index: 2; font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; color: var(--screen-ink); border: 1px solid rgba(201,211,227,.35); border-radius: 3px; padding: 3px 8px; }
.proj-kind { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); }
.proj h2 { font-size: clamp(28px, 3.2vw, 40px); font-weight: 750; margin-top: 12px; }
.proj-body > p:not(.proj-kind) { color: var(--muted); margin-top: 14px; max-width: 30em; }
.proj-facts { margin: 24px 0 0; border-top: 1px solid var(--line); }
.proj-facts div { display: grid; grid-template-columns: 110px minmax(0,1fr); gap: 16px; padding-block: 12px; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.proj-facts dt { font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.proj-facts dd { margin: 0; font-weight: 500; }
.proj-facts dd.todo { color: var(--muted); font-weight: 400; font-style: italic; }
@media (max-width: 960px) {
  .proj { grid-template-columns: minmax(0, 1fr); }
  .proj:nth-child(even) .proj-media { order: 0; }
  .nav { gap: 24px; }
}
@media (max-width: 1120px) and (min-width: 961px) { .nav { gap: 22px; } .nav a { font-size: 14.5px; } .brand-name { font-size: 13px; } }

/* Hik-Connect style phone (app UI is light, so colors are fixed on purpose) */
.phone.hc { padding: 10px; background: #15181e; }
.hc-screen { height: 100%; border-radius: 28px; overflow: hidden; background: #f2f3f5; color: #1f2329; font-family: -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; display: flex; flex-direction: column; position: relative; }
.hc-status { display: flex; justify-content: space-between; align-items: center; padding: 12px 22px 4px; font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; background: #fff; }
.hc-sys { display: flex; gap: 2px; align-items: flex-end; }
.hc-sys i { width: 3px; background: #1f2329; border-radius: 1px; display: block; }
.hc-sys i:nth-child(1) { height: 5px; } .hc-sys i:nth-child(2) { height: 7px; } .hc-sys i:nth-child(3) { height: 9px; }
.hc-sys b { width: 20px; height: 9px; border: 1.5px solid #1f2329; border-radius: 3px; margin-left: 6px; background: linear-gradient(90deg, #1f2329 70%, transparent 70%); background-clip: content-box; padding: 1px; }
.hc-top { display: flex; justify-content: space-between; align-items: center; padding: 10px 18px 8px; background: #fff; }
.hc-top b { font-size: 22px; font-weight: 700; letter-spacing: -0.01em; }
.hc-icons { display: flex; gap: 14px; }
.hc-icons svg { width: 20px; height: 20px; fill: none; stroke: #1f2329; stroke-width: 1.8; stroke-linecap: round; }
.hc-chips { display: flex; gap: 18px; padding: 4px 18px 0; background: #fff; border-bottom: 1px solid #e6e8eb; font-size: 13px; color: #7a808a; }
.hc-chips span { padding-bottom: 9px; }
.hc-chips .on { color: #1f2329; font-weight: 600; box-shadow: inset 0 -2.5px 0 #e1251b; }
.hc-card { margin: 12px 12px 0; background: #fff; border-radius: 10px; padding: 10px; box-shadow: 0 1px 2px rgba(0,0,0,.05); }
.hc-card-head { display: flex; justify-content: space-between; align-items: center; font-size: 13.5px; font-weight: 600; padding: 0 2px 8px; }
.hc-dev { display: flex; align-items: center; gap: 7px; }
.hc-online { width: 7px; height: 7px; border-radius: 50%; background: #2fb35a; display: block; }
.hc-more { color: #9aa0a8; letter-spacing: 1px; }
.hc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.hc-grid div { position: relative; aspect-ratio: 16 / 10; border-radius: 4px; overflow: hidden; background: #0f1a2a; }
.hc-grid img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hc-grid span { position: absolute; left: 0; right: 0; bottom: 0; padding: 10px 6px 3px; font-size: 10px; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.6)); }
.hc-alert { margin: 10px 12px 0; background: #fff; border-radius: 10px; padding: 9px 10px; display: grid; grid-template-columns: 30px minmax(0,1fr) 52px; gap: 10px; align-items: center; box-shadow: 0 1px 2px rgba(0,0,0,.05); }
.hc-alert-ico { width: 30px; height: 30px; border-radius: 50%; background: #fdeceb; display: grid; place-items: center; }
.hc-alert-ico svg { width: 16px; height: 16px; fill: none; stroke: #e1251b; stroke-width: 1.8; }
.hc-alert-txt { display: grid; font-size: 12px; line-height: 1.3; min-width: 0; }
.hc-alert-txt b { font-weight: 600; }
.hc-alert-txt small { color: #7a808a; font-size: 11px; }
.hc-alert img { width: 52px; height: 33px; object-fit: cover; border-radius: 3px; display: block; }
.hc-tabs { margin-top: auto; display: grid; grid-template-columns: repeat(3, 1fr); background: #fff; border-top: 1px solid #e6e8eb; padding: 7px 0 16px; }
.hc-tabs span { position: relative; display: grid; justify-items: center; gap: 2px; font-size: 10.5px; color: #8a9099; }
.hc-tabs svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; }
.hc-tabs .on { color: #e1251b; }
.hc-tabs em { position: absolute; top: -2px; left: calc(50% + 6px); font-style: normal; font-size: 9px; font-weight: 700; color: #fff; background: #e1251b; border-radius: 99px; min-width: 15px; height: 15px; display: grid; place-items: center; }

/* Hero: monitor with NVR live view (screen UI is always dark, colors fixed on purpose) */
.hero-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.2fr); }
.tv { display: grid; justify-items: center; }
.tv-panel { width: 100%; background: #0b0c0e; border-radius: 10px 10px 4px 4px; padding: 10px 10px 8px; box-shadow: 0 0 0 1px #24272c inset, 0 40px 70px -40px rgba(10,20,40,.6); }
.tv-chin { width: 100%; height: 14px; background: linear-gradient(#17191c, #0e0f11); border-radius: 0 0 8px 8px; display: grid; place-items: center; margin-top: -2px; }
.tv-chin i { width: 4px; height: 4px; border-radius: 50%; background: #3fbf6a; box-shadow: 0 0 6px #3fbf6a; }
.tv-neck { width: 13%; height: 34px; background: linear-gradient(90deg, #2a2d33, #3a3e45 50%, #2a2d33); }
.tv-foot { width: 38%; height: 9px; background: linear-gradient(#3a3e45, #23262b); border-radius: 6px 6px 3px 3px; box-shadow: 0 10px 18px -8px rgba(10,20,40,.5); }

.nv { background: #141518; color: #cfd3d9; font-family: -apple-system, "Segoe UI", Roboto, Arial, sans-serif; display: grid; overflow: hidden; border-radius: 2px; }
.nv-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 0 10px; height: 26px; background: #1d1f23; border-bottom: 1px solid #2a2d33; font-size: 9.5px; }
.nv-menu { display: flex; gap: 14px; min-width: 0; overflow: hidden; white-space: nowrap; }
.nv-menu b { font-weight: 500; color: #8d939c; height: 26px; line-height: 26px; }
.nv-menu b.on { color: #fff; box-shadow: inset 0 -2px 0 #e1251b; }
.nv-clock { font-variant-numeric: tabular-nums; color: #aeb4bc; white-space: nowrap; }
.nv-body { display: grid; grid-template-columns: 92px minmax(0, 1fr); }
.nv-side { background: #18191c; border-right: 1px solid #2a2d33; font-size: 8.5px; padding: 6px 0; min-width: 0; }
.nv-side p { margin: 0 8px 5px; color: #7d838c; text-transform: uppercase; letter-spacing: .06em; font-size: 8px; }
.nv-side ul { list-style: none; margin: 0; padding: 0; display: grid; }
.nv-side li { display: flex; align-items: center; gap: 5px; padding: 3.5px 8px; white-space: nowrap; overflow: hidden; color: #b5bbc3; }
.nv-side li i { width: 8px; height: 6px; border-radius: 1px; background: #3fbf6a; flex: none; position: relative; }
.nv-side li i::after { content: ""; position: absolute; right: -3px; top: 1px; border-left: 3px solid #3fbf6a; border-top: 2px solid transparent; border-bottom: 2px solid transparent; }
.nv-side li.on { background: rgba(225,37,27,.16); color: #fff; }
.nv-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px; background: #000; padding: 2px; }
.nv-tile { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #0f1a2a; outline: 1px solid transparent; }
.nv-tile.sel { outline: 1.5px solid #e1251b; outline-offset: -1.5px; z-index: 1; }
.nv-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.nv-tile::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(0deg, rgba(255,255,255,.02) 0 1px, transparent 1px 3px); }
.nv-osd { position: absolute; left: 4px; top: 3px; z-index: 2; font-size: 7.5px; color: #fff; font-variant-numeric: tabular-nums; text-shadow: 0 0 2px #000, 0 0 1px #000; white-space: nowrap; }
.nv-name { position: absolute; right: 4px; bottom: 3px; z-index: 2; font-size: 8px; color: #fff; text-shadow: 0 0 2px #000, 0 0 1px #000; }
.nv-rec { position: absolute; right: 4px; top: 4px; z-index: 2; width: 5px; height: 5px; border-radius: 50%; background: #e1251b; animation: blink 1.6s steps(1) infinite; }
.nv-box { position: absolute; z-index: 2; border: 1.2px solid #e1251b; animation: drift 7s ease-in-out infinite alternate; }
.nv-bar { display: flex; justify-content: space-between; align-items: center; height: 24px; padding: 0 10px; background: #1d1f23; border-top: 1px solid #2a2d33; font-size: 9px; color: #8d939c; }
.nv-layouts { display: flex; gap: 6px; }
.nv-layouts i { width: 15px; height: 11px; border: 1px solid #6b717a; border-radius: 1px; display: block; }
.nv-layouts i.l4 { background: linear-gradient(#6b717a, #6b717a) center / 1px 100% no-repeat, linear-gradient(#6b717a, #6b717a) center / 100% 1px no-repeat; }
.nv-layouts i.l9, .nv-layouts i.l16 { background-image: linear-gradient(90deg, transparent 32%, #6b717a 32% 36%, transparent 36% 64%, #6b717a 64% 68%, transparent 68%), linear-gradient(transparent 32%, #6b717a 32% 36%, transparent 36% 64%, #6b717a 64% 68%, transparent 68%); }
.nv-layouts i.l16 { background-image: linear-gradient(90deg, transparent 24%, #6b717a 24% 27%, transparent 27% 49%, #6b717a 49% 52%, transparent 52% 74%, #6b717a 74% 77%, transparent 77%), linear-gradient(transparent 24%, #6b717a 24% 27%, transparent 27% 49%, #6b717a 49% 52%, transparent 52% 74%, #6b717a 74% 77%, transparent 77%); }
.nv-layouts i.on { border-color: #e1251b; }
.nv-layouts i.l9.on { background-image: linear-gradient(90deg, transparent 32%, #e1251b 32% 36%, transparent 36% 64%, #e1251b 64% 68%, transparent 68%), linear-gradient(transparent 32%, #e1251b 32% 36%, transparent 36% 64%, #e1251b 64% 68%, transparent 68%); }
@media (max-width: 960px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) {
  .nv-body { grid-template-columns: minmax(0, 1fr); }
  .nv-side { display: none; }
  .nv-menu b:nth-child(n+3) { display: none; }
  .nv-osd { display: none; }
  .tv-panel { padding: 6px 6px 5px; }
}

/* Hero without stand: balance copy and screen */
.hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(32px, 4.5vw, 64px); }
.hero h1 { font-size: clamp(40px, 4.4vw, 64px); }
.hero .lede { font-size: clamp(16.5px, 1.3vw, 18.5px); max-width: 30em; }
.tv-chin { box-shadow: 0 30px 50px -30px rgba(10,20,40,.55); }
@media (max-width: 960px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } .hero h1 { font-size: clamp(40px, 8vw, 64px); } }

/* Interactive NVR */
.nv button { font: inherit; color: inherit; background: none; border: 0; padding: 0; margin: 0; cursor: pointer; text-align: left; }
.nv-tile { display: block; width: 100%; }
button.nv-tile:hover::after { background: repeating-linear-gradient(0deg, rgba(255,255,255,.02) 0 1px, transparent 1px 3px), rgba(255,255,255,.06); }
.nv-tile:focus-visible, .nv-layouts button:focus-visible, .nv-side button:focus-visible { outline: 2px solid #ff6a5f; outline-offset: -2px; }
.nv-grid { min-height: 0; }
.nv-grid.g1 { grid-template-columns: minmax(0, 1fr); }
.nv-grid.g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.nv-grid.g9 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.nv-grid.g16 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.nv-grid.g1 .nv-tile { aspect-ratio: 48 / 27; }
.nv-grid.g4 .nv-tile { aspect-ratio: 32 / 18; }
.nv-grid.g9 .nv-tile { aspect-ratio: 16 / 9; }
.nv-grid.g16 .nv-tile { aspect-ratio: 16 / 9; }
.nv-grid.g1 .nv-osd { font-size: 11px; left: 8px; top: 6px; }
.nv-grid.g1 .nv-name { font-size: 12px; right: 8px; bottom: 6px; }
.nv-grid.g1 .nv-rec { width: 7px; height: 7px; right: 8px; top: 8px; }
.nv-grid.g4 .nv-osd { font-size: 9px; }
.nv-grid.g4 .nv-name { font-size: 10px; }
.nv-grid.g16 .nv-osd { display: none; }
.nv-grid.g16 .nv-name { font-size: 7px; }
.nv-tile.empty { background: #050607; display: grid; place-content: center; justify-items: center; gap: 1px; color: #565b63; font-size: 8px; }
.nv-tile.empty span { font-size: 9px; color: #6b717a; }
.nv-tile.empty::after { display: none; }
.nv-side li button { display: flex; align-items: center; gap: 5px; width: 100%; padding: 3.5px 8px; white-space: nowrap; overflow: hidden; color: #b5bbc3; }
.nv-side li button:hover { background: rgba(255,255,255,.05); }
.nv-side li button.on { background: rgba(225,37,27,.16); color: #fff; }
.nv-side li button i { width: 8px; height: 6px; border-radius: 1px; background: #3fbf6a; flex: none; position: relative; }
.nv-side li button i::after { content: ""; position: absolute; right: -3px; top: 1px; border-left: 3px solid #3fbf6a; border-top: 2px solid transparent; border-bottom: 2px solid transparent; }
.nv-layouts { align-items: center; }
.nv-layouts button[data-layout] { width: 15px; height: 11px; border: 1px solid #6b717a; border-radius: 1px; display: block; }
.nv-layouts button[data-layout]:hover { border-color: #b5bbc3; }
.nv-layouts button.l4 { background: linear-gradient(#6b717a, #6b717a) center / 1px 100% no-repeat, linear-gradient(#6b717a, #6b717a) center / 100% 1px no-repeat; }
.nv-layouts button.l9 { background-image: linear-gradient(90deg, transparent 32%, #6b717a 32% 36%, transparent 36% 64%, #6b717a 64% 68%, transparent 68%), linear-gradient(transparent 32%, #6b717a 32% 36%, transparent 36% 64%, #6b717a 64% 68%, transparent 68%); }
.nv-layouts button.l16 { background-image: linear-gradient(90deg, transparent 24%, #6b717a 24% 27%, transparent 27% 49%, #6b717a 49% 52%, transparent 52% 74%, #6b717a 74% 77%, transparent 77%), linear-gradient(transparent 24%, #6b717a 24% 27%, transparent 27% 49%, #6b717a 49% 52%, transparent 52% 74%, #6b717a 74% 77%, transparent 77%); }
.nv-layouts button.on { border-color: #e1251b; }
.nv-layouts button.l4.on { background: linear-gradient(#e1251b, #e1251b) center / 1px 100% no-repeat, linear-gradient(#e1251b, #e1251b) center / 100% 1px no-repeat; }
.nv-layouts button.l9.on { background-image: linear-gradient(90deg, transparent 32%, #e1251b 32% 36%, transparent 36% 64%, #e1251b 64% 68%, transparent 68%), linear-gradient(transparent 32%, #e1251b 32% 36%, transparent 36% 64%, #e1251b 64% 68%, transparent 68%); }
.nv-layouts button.l16.on { background-image: linear-gradient(90deg, transparent 24%, #e1251b 24% 27%, transparent 27% 49%, #e1251b 49% 52%, transparent 52% 74%, #e1251b 74% 77%, transparent 77%), linear-gradient(transparent 24%, #e1251b 24% 27%, transparent 27% 49%, #e1251b 49% 52%, transparent 52% 74%, #e1251b 74% 77%, transparent 77%); }
.nv-sep { width: 1px; height: 12px; background: #3a3e45; margin: 0 4px; }
.nv-step { color: #b5bbc3 !important; font-size: 15px !important; line-height: 1; width: 16px; text-align: center !important; }
.nv-step:hover { color: #fff !important; }
.nv-hint { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; margin-left: 10px; }
.nv-bar { gap: 10px; }
@media (max-width: 560px) { .nv-layouts button[data-layout] { width: 18px; height: 13px; } .nv-step { font-size: 18px !important; width: 22px; } }

/* REC dots: one shared on/off state so all dots blink in sync */
.nv-rec, .nv-grid.g1 .nv-rec { animation: none !important; transition: opacity .12s; }
.nv.rec-off .nv-rec { opacity: .15; }

/* Bar text: never truncate, wrap when space is short */
.nv-bar { height: auto; min-height: 24px; padding-block: 5px; align-items: center; }
.nv-hint { white-space: normal; overflow: visible; text-overflow: clip; text-align: right; line-height: 1.3; flex: 1 1 auto; }
.nv-layouts { flex: none; }

/* "Meer"-links as full buttons */
a.more {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 40px; padding: 14px 22px; border-radius: 4px;
  background: var(--blue); color: var(--blue-ink);
  font-family: var(--font-body); font-weight: 600; font-size: 15.5px;
  text-decoration: none; transition: transform .15s, background .15s;
}
a.more:hover { text-decoration: none; transform: translateY(-1px); background: color-mix(in srgb, var(--blue) 88%, var(--ink)); }
a.more svg { width: 16px; height: 16px; }
.process a.more { background: #ffffff; color: #1c294a; }
.process a.more:hover { background: #dce6f6; }
