/* Belka — product page. No build step, no external resources. */

:root {
  --bg: #070a0b;
  --bg-2: #0a0f10;
  --surface: #0f1719;
  --surface-2: #142023;
  --line: rgba(206, 238, 242, 0.09);
  --line-2: rgba(206, 238, 242, 0.16);
  --text: #eaf3f4;
  --muted: #a1b4b7;
  --faint: #7a8f92;
  --cyan: #00a6b8;
  --cyan-hi: #3fd6e6;
  --cyan-soft: rgba(0, 166, 184, 0.14);
  --deep: #062a30;
  --on-cyan: #021b1f;
  --amber: #f2a33a;
  --amber-soft: rgba(242, 163, 58, 0.13);
  --mask: #c97a2e;

  --font: system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, Cantarell, "Noto Sans", "Helvetica Neue", Arial, sans-serif;
  --font-display: "SF Pro Display", "Segoe UI Variable Display", "Inter Display", Inter, system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, "Noto Sans", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", "JetBrains Mono", "Ubuntu Mono", Menlo, Consolas, "Liberation Mono", monospace;

  --gutter: clamp(16px, 4vw, 32px);
  --radius: 18px;
  --radius-sm: 12px;
  --ease: cubic-bezier(.2, .7, .2, 1);

  --sprocket: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='14'%3E%3Crect x='7' y='3' width='12' height='8' rx='2' fill='%23ceeef2' fill-opacity='.10'/%3E%3C/svg%3E");
  --sprocket-amber: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='14'%3E%3Crect x='7' y='3' width='12' height='8' rx='2' fill='%23f2a33a' fill-opacity='.30'/%3E%3C/svg%3E");
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");

  color-scheme: dark;
}

/* ---------------------------------------------------------------- base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1.0625rem/1.65 var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
html.i18n-pending body { visibility: hidden; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--cyan-hi); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #7fe7f2; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
code {
  font-family: var(--mono);
  font-size: 0.88em;
  padding: 0.12em 0.4em;
  border-radius: 6px;
  background: rgba(206, 238, 242, 0.07);
  border: 1px solid var(--line);
  color: #d9eef1;
  white-space: nowrap;
}
button { font: inherit; color: inherit; }
::selection { background: rgba(0, 166, 184, 0.45); color: #fff; }

:focus-visible { outline: 2px solid var(--cyan-hi); outline-offset: 3px; border-radius: 6px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.nw { white-space: nowrap; }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--cyan); color: var(--on-cyan); font-weight: 600;
  padding: 10px 16px; border-radius: 10px; text-decoration: none;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; color: var(--on-cyan); }

.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: var(--gutter); }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px;
  border-radius: 14px; border: 1px solid transparent;
  font: 600 1rem/1 var(--font); letter-spacing: -0.005em;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn svg { flex: none; }
.btn-primary {
  background: var(--cyan); color: var(--on-cyan);
  box-shadow: 0 0 0 1px rgba(63, 214, 230, .35) inset, 0 10px 30px -10px rgba(0, 166, 184, .7);
}
.btn-primary:hover { background: #12b9cb; color: var(--on-cyan); transform: translateY(-1px); box-shadow: 0 0 0 1px rgba(63, 214, 230, .5) inset, 0 16px 40px -12px rgba(0, 166, 184, .85); }
.btn-ghost { background: rgba(206, 238, 242, 0.04); border-color: var(--line-2); color: var(--text); }
.btn-ghost:hover { background: rgba(206, 238, 242, 0.08); border-color: rgba(206, 238, 242, .28); color: var(--text); }
.btn-sm { min-height: 40px; padding: 0 14px; border-radius: 11px; font-size: .94rem; gap: 8px; }
.i-stroke, .icon svg, .menu-btn svg, .lb-btn svg, .copy-btn svg, .shot-zoom svg {
  fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round;
}

/* ---------------------------------------------------------------- header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7, 10, 11, 0.55);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease), background-color .25s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); background: rgba(7, 10, 11, 0.82); }
.nav { display: flex; align-items: center; gap: 20px; min-height: 68px; }
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--text); text-decoration: none;
  font: 700 1.2rem/1 var(--font-display); letter-spacing: -0.02em;
}
.brand:hover { color: var(--text); }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.nav-menu { flex: 1; display: flex; justify-content: center; }
.nav-links { list-style: none; display: flex; gap: 4px; }
.nav-links a {
  display: block; padding: 8px 12px; border-radius: 10px;
  color: var(--muted); text-decoration: none; font-size: .95rem; font-weight: 500;
  transition: color .2s var(--ease), background-color .2s var(--ease);
}
.nav-links a:hover { color: var(--text); background: rgba(206, 238, 242, .06); }
.nav-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.lang-switch {
  display: inline-flex; padding: 3px; gap: 2px;
  border: 1px solid var(--line-2); border-radius: 11px; background: rgba(206, 238, 242, .03);
}
.lang-switch button {
  min-width: 40px; min-height: 32px; padding: 0 8px;
  border: 0; border-radius: 8px; background: transparent; color: var(--muted);
  font: 600 .8rem/1 var(--mono); letter-spacing: .06em; cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.lang-switch button:hover { color: var(--text); }
.lang-switch button[aria-pressed="true"] { background: var(--cyan-soft); color: var(--cyan-hi); box-shadow: 0 0 0 1px rgba(0, 166, 184, .35) inset; }
.menu-btn {
  display: none; width: 44px; height: 44px; place-items: center;
  border: 1px solid var(--line-2); border-radius: 11px; background: rgba(206, 238, 242, .03); cursor: pointer;
}
.menu-btn .m-close { display: none; }
.menu-btn[aria-expanded="true"] .m-open { display: none; }
.menu-btn[aria-expanded="true"] .m-close { display: inline; }

@media (max-width: 980px) {
  .js .menu-btn { display: grid; }
  .js .nav-menu {
    position: absolute; left: 0; right: 0; top: 100%;
    display: block;
    padding: 8px var(--gutter) 20px;
    background: rgba(7, 10, 11, 0.97);
    border-bottom: 1px solid var(--line);
    visibility: hidden; opacity: 0; transform: translateY(-6px);
    transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s linear .2s;
  }
  .js .nav-menu.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .2s var(--ease), transform .2s var(--ease); }
  .js .nav-links { flex-direction: column; gap: 2px; }
  .js .nav-links a { padding: 13px 12px; font-size: 1.05rem; color: var(--text); }
  html:not(.js) .nav-menu { display: none; }
}
@media (max-width: 560px) {
  .nav { gap: 10px; }
  .nav-gh span { display: none; }
  .nav-gh { width: 44px; padding: 0; }
}

/* ---------------------------------------------------------------- hero */
.hero { position: relative; padding: clamp(40px, 6vw, 80px) 0 0; overflow-x: clip; }
.hero::before {
  /* film grain */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: var(--grain); opacity: .045;
}
.hero-glow {
  position: absolute; left: 50%; top: -240px; width: min(1300px, 140vw); height: 900px;
  transform: translateX(-50%); pointer-events: none;
  background:
    radial-gradient(closest-side, rgba(0, 166, 184, .26), rgba(0, 166, 184, 0) 70%),
    radial-gradient(40% 35% at 70% 60%, rgba(242, 163, 58, .07), transparent 70%);
}
.hero-inner { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero-logo {
  width: 76px; height: 76px; border-radius: 19px;
  box-shadow: 0 0 0 1px rgba(63, 214, 230, .35), 0 18px 60px -12px rgba(0, 166, 184, .75), 0 0 120px -10px rgba(0, 166, 184, .45);
}
.pill {
  margin-top: 26px;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px 7px 12px; border-radius: 999px;
  border: 1px solid var(--line-2); background: rgba(206, 238, 242, .04);
  color: var(--muted); font: 500 .82rem/1.2 var(--mono); letter-spacing: .02em;
}
.pill-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 12px rgba(242, 163, 58, .8); }
.hero-title {
  margin-top: 22px;
  font-size: clamp(2.45rem, 1rem + 4.6vw, 4.6rem);
  line-height: 1.04; letter-spacing: -0.04em; font-weight: 750;
  max-width: 22ch;
}
.hero-title span { display: block; }
.grad {
  background: linear-gradient(100deg, #7beefa 0%, var(--cyan-hi) 35%, var(--cyan) 75%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-bottom: .06em;
}
.lead {
  margin-top: 24px; max-width: 700px;
  font-size: clamp(1.06rem, .98rem + .4vw, 1.25rem); line-height: 1.6; color: var(--muted);
}
.cta-row { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.hero-meta {
  list-style: none; margin-top: 24px;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px;
  color: var(--muted); font: 500 .86rem/1.4 var(--mono); letter-spacing: .01em;
}
.hero-meta li { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta li::before {
  content: ""; width: 14px; height: 14px; flex: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233fd6e6' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
}

.hero-shot { position: relative; margin-top: clamp(48px, 7vw, 84px); padding-bottom: clamp(56px, 8vw, 110px); }
.strip-deco {
  position: absolute; left: 50%; top: 50%; width: 140vw; max-width: 2600px;
  transform: translate(-50%, -62%) rotate(-3.5deg);
  display: flex; flex-direction: column; justify-content: space-between; gap: 6px;
  height: clamp(160px, 22vw, 290px); padding: 10px 0;
  background: linear-gradient(180deg, #0d1314, #0a0f10);
  border-block: 1px solid rgba(242, 163, 58, .14);
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .9);
  pointer-events: none; opacity: .9;
}
.strip-deco .sprockets { background-image: var(--sprocket-amber); }
.edge-print {
  position: absolute; left: 0; right: 0; top: 26px;
  font: 600 .7rem/1 var(--mono); letter-spacing: .32em; color: rgba(242, 163, 58, .42);
  white-space: nowrap; overflow: hidden; text-indent: 12vw;
}
.sprockets { display: block; height: 14px; background: var(--sprocket) repeat-x 0 0 / 26px 14px; }

.window {
  position: relative; max-width: 1120px; margin-inline: auto;
  border-radius: 14px; overflow: hidden;
  background: #1b1d1e;
  border: 1px solid rgba(206, 238, 242, .14);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, .6),
    0 50px 120px -30px rgba(0, 0, 0, .95),
    0 30px 120px -40px rgba(0, 166, 184, .45);
}
.window-bar {
  position: relative; display: flex; align-items: center; justify-content: center;
  height: 36px; padding: 0 14px;
  background: linear-gradient(#2a2c2e, #232526);
  border-bottom: 1px solid rgba(0, 0, 0, .55);
}
.window-title { color: #c9cfd1; font: 600 .78rem/1 var(--font); letter-spacing: .01em; }
.window-btns { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); display: flex; gap: 8px; }
.window-btns i { width: 12px; height: 12px; border-radius: 50%; background: #45484a; }
.window-btns i:last-child { background: #5a5d60; }
.window-img { width: 100%; background: #161718; }
/* <picture> wrappers (WebP with a PNG fallback) must not add a box: the <img> keeps its own layout */
.hero-pic, .shot-frame picture, .lb-pic { display: contents; }
/* without scripting the hero <img> never gets a URL; the <noscript> copy shows instead */
@media (scripting: none) { .hero-pic { display: none; } }

/* ---------------------------------------------------------------- facts strip */
.facts {
  position: relative;
  background: linear-gradient(180deg, #0c1213, #0a0f10);
  border-block: 1px solid var(--line);
  padding: 10px 0;
}
.facts .sprockets-amber { background-image: var(--sprocket-amber); }
.facts-list {
  list-style: none;
  display: grid; grid-template-columns: repeat(4, 1fr);
  padding-block: clamp(22px, 3vw, 34px);
}
.fact { display: flex; flex-direction: column; gap: 6px; padding: 6px clamp(14px, 2vw, 28px); border-left: 1px solid var(--line); }
.fact:first-child { border-left: 0; padding-left: 0; }
.fact-num { font: 700 clamp(1.9rem, 1.3rem + 2vw, 2.8rem)/1 var(--font-display); letter-spacing: -0.03em; color: var(--text); }
.fact:first-child .fact-num { color: var(--amber); }
.fact-label { color: var(--muted); font-size: .95rem; line-height: 1.45; max-width: 24ch; }

/* ---------------------------------------------------------------- sections */
.section { position: relative; padding-block: clamp(80px, 9.5vw, 132px); }
.section-alt { background: var(--bg-2); border-block: 1px solid rgba(206, 238, 242, .05); }
.section-head { max-width: 760px; margin: 0 auto clamp(44px, 6vw, 72px); text-align: center; }
.section-head-left { margin-inline: 0; text-align: left; }
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--cyan-hi); font: 600 .78rem/1 var(--mono); letter-spacing: .16em; text-transform: uppercase;
}
.kicker::before { content: ""; width: 12px; height: 8px; border-radius: 2px; background: var(--amber); opacity: .85; }
.section-title {
  margin-top: 18px;
  font-size: clamp(2.05rem, 1.25rem + 3vw, 3.5rem);
  line-height: 1.06; letter-spacing: -0.035em;
}
.section-intro { margin-top: 20px; color: var(--muted); font-size: clamp(1.03rem, .98rem + .3vw, 1.18rem); }

/* ---------------------------------------------------------------- how it works */
.how-grid > *, .cams-grid > *, .install-grid > *, .features-grid > *, .gallery-grid > * { min-width: 0; }
.how-grid { display: grid; grid-template-columns: 1.08fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.diagram {
  margin: 0; padding: clamp(18px, 3vw, 34px);
  border-radius: var(--radius); border: 1px solid var(--line);
  background:
    radial-gradient(70% 60% at 50% 85%, rgba(0, 166, 184, .12), transparent 70%),
    linear-gradient(180deg, #0c1214, #091012);
}
.diagram svg { width: 100%; height: auto; }
.dg-table { stroke: rgba(206, 238, 242, .22); stroke-width: 2; }
.dg-metal { fill: #22373b; }
.dg-metal-2 { fill: #2d474c; }
.dg-cam { fill: #172326; stroke: #45666b; stroke-width: 1.5; }
.dg-cam-dot { fill: var(--amber); }
.dg-lens { fill: #111a1c; stroke: #45666b; stroke-width: 1.5; }
.dg-lens-ring { stroke: #45666b; stroke-width: 1.5; }
.dg-axis { stroke: rgba(123, 238, 250, .5); stroke-width: 1.4; stroke-dasharray: 3 6; }
.dg-film { fill: var(--mask); }
.dg-diffuser { fill: rgba(240, 252, 253, .55); }
.dg-device { fill: #121b1d; stroke: #3a5559; stroke-width: 1.5; }
.dg-keys { stroke: #3a5559; stroke-width: 3; stroke-linecap: round; }
.dg-leader { fill: none; stroke: rgba(206, 238, 242, .32); stroke-width: 1.3; }
.dg-label { fill: #c3d3d5; font: 600 16px var(--font); }
.dg-dim { fill: none; stroke: rgba(242, 163, 58, .7); stroke-width: 1.4; }
.dg-amber { fill: var(--amber); }
.dg-cyan { fill: var(--cyan-hi); }

.steps { list-style: none; display: grid; gap: 14px; }
.step {
  display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: start;
  padding: 24px 26px; border-radius: var(--radius); border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(206, 238, 242, .035), rgba(206, 238, 242, .01));
  transition: border-color .25s var(--ease), background-color .25s var(--ease);
}
.step:hover { border-color: rgba(0, 166, 184, .35); }
.step-num { font: 600 .9rem/1 var(--mono); color: var(--amber); padding: 8px 9px; border-radius: 9px; background: var(--amber-soft); letter-spacing: .04em; }
.step h3 { font-size: 1.28rem; }
.step p { margin-top: 8px; color: var(--muted); }

/* ---------------------------------------------------------------- features */
.features-grid { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.features-grid.news { grid-template-columns: repeat(2, 1fr); margin-bottom: 16px; }
.new-badge {
  display: inline-block; margin: 0 0 14px; padding: 3px 10px; border-radius: 999px;
  font-size: .78rem; font-weight: 600; letter-spacing: .02em;
  color: var(--amber); background: var(--amber-soft); box-shadow: 0 0 0 1px rgba(242, 163, 58, .28) inset;
}
.news .new-badge { position: absolute; top: 24px; right: 24px; margin: 0; z-index: 2; }
.feature {
  position: relative; overflow: hidden;
  padding: 28px 28px 30px; border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #111a1c, #0d1416);
  transition: border-color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
}
.feature::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(60% 50% at 0% 0%, rgba(0, 166, 184, .10), transparent 70%);
  opacity: .8;
}
.feature:hover { border-color: rgba(0, 166, 184, .32); transform: translateY(-3px); box-shadow: 0 24px 50px -30px rgba(0, 0, 0, .9); }
.feature.wide {
  grid-column: span 2;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, 300px); gap: 28px; align-items: center;
}
.feature-body { position: relative; z-index: 1; min-width: 0; }
.feature-art { position: relative; z-index: 1; }
.feature-art svg { width: 100%; height: auto; }
.art-panel { fill: #0a1012; stroke: rgba(206, 238, 242, .1); }
.art-well { fill: #070b0c; }
.art-zone { fill: rgba(206, 238, 242, .06); }
.art-grid { stroke: rgba(206, 238, 242, .07); stroke-width: 1; }
.art-knob { fill: #eaf3f4; stroke: #0a1012; stroke-width: 3; }
.art-label { fill: var(--faint); font: 600 12px var(--mono); letter-spacing: .06em; }
.art-label-hi { fill: var(--cyan-hi); }
.icon {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px;
  color: var(--cyan-hi); background: var(--cyan-soft); box-shadow: 0 0 0 1px rgba(0, 166, 184, .28) inset;
}
.icon svg { width: 24px; height: 24px; }
.icon-amber { color: var(--amber); background: var(--amber-soft); box-shadow: 0 0 0 1px rgba(242, 163, 58, .28) inset; }
.feature h3 { margin-top: 22px; font-size: 1.24rem; }
.feature p { position: relative; z-index: 1; margin-top: 10px; color: var(--muted); font-size: 1rem; max-width: 62ch; }
.chips { position: relative; z-index: 1; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.chips li {
  padding: 5px 11px; border-radius: 999px; font: 500 .82rem/1.3 var(--mono);
  color: #c8dadc; background: rgba(206, 238, 242, .05); border: 1px solid var(--line);
}
.chips-amber li { color: #f6c98d; background: var(--amber-soft); border-color: rgba(242, 163, 58, .25); }

/* ---------------------------------------------------------------- gallery */
.gallery-grid { list-style: none; display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(18px, 2.4vw, 28px); }
.g-item { grid-column: span 2; }
.g-item.g-big { grid-column: span 3; }
.g-item figure { margin: 0; }
.shot {
  position: relative; display: block; width: 100%; padding: 0; cursor: zoom-in;
  border: 1px solid rgba(206, 238, 242, .12); border-radius: 12px; overflow: hidden;
  background: #161718;
  box-shadow: 0 24px 60px -34px rgba(0, 0, 0, .95);
  transition: border-color .25s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
}
.shot::before {
  /* thin window title bar */
  content: ""; display: block; height: 14px;
  background: linear-gradient(#2a2c2e, #232526); border-bottom: 1px solid rgba(0, 0, 0, .5);
}
.shot-frame { display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.shot-frame img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform .6s var(--ease); }
.shot-zoom {
  position: absolute; right: 12px; bottom: 12px; display: grid; place-items: center;
  width: 38px; height: 38px; border-radius: 11px;
  background: rgba(7, 10, 11, .72); color: var(--text); border: 1px solid var(--line-2);
  opacity: 0; transform: translateY(4px); transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.shot-zoom svg { width: 20px; height: 20px; }
.shot:hover, .shot:focus-visible { border-color: rgba(63, 214, 230, .5); transform: translateY(-3px); box-shadow: 0 30px 70px -34px rgba(0, 166, 184, .45); }
.shot:hover .shot-frame img { transform: scale(1.02); }
.shot:hover .shot-zoom, .shot:focus-visible .shot-zoom { opacity: 1; transform: none; }
.shot:focus-visible { outline-offset: 4px; border-radius: 12px; }
.g-item figcaption { margin-top: 14px; color: var(--muted); font-size: .97rem; line-height: 1.5; }
.g-item figcaption strong { color: var(--text); font-weight: 600; }

/* ---------------------------------------------------------------- cameras */
.cams-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(36px, 6vw, 88px); align-items: start; }
.cams-copy .section-head { margin-bottom: 32px; }
.note { margin-top: 20px; color: var(--muted); padding-left: 16px; border-left: 2px solid var(--amber); }
.cams-brands {
  padding: clamp(24px, 3vw, 36px); border-radius: var(--radius);
  border: 1px solid var(--line); background: linear-gradient(180deg, #111a1c, #0d1416);
}
.brands-title { font-size: 1.3rem; }
.brands-sub { margin-top: 8px; color: var(--muted); font-size: .98rem; }
.brand-grid { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 24px; }
.brand-tile {
  display: flex; flex-direction: column; justify-content: center; gap: 4px;
  min-height: 74px; padding: 12px 14px; border-radius: 12px;
  border: 1px solid var(--line); background: rgba(206, 238, 242, .025);
  font: 600 .98rem/1.25 var(--font-display); letter-spacing: -0.01em; color: #dce9eb;
}
.brand-tile small { font: 600 .74rem/1 var(--mono); color: var(--cyan-hi); letter-spacing: .04em; }
.fine { margin-top: 18px; color: var(--faint); font-size: .88rem; line-height: 1.55; }

/* ---------------------------------------------------------------- install */
.install-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: end; }
.install-main .section-head { margin-bottom: 32px; }
.terminal {
  border-radius: 14px; overflow: hidden;
  border: 1px solid rgba(206, 238, 242, .14); background: #0b0f10;
  box-shadow: 0 30px 80px -40px rgba(0, 0, 0, .95), 0 20px 80px -50px rgba(0, 166, 184, .5);
}
.terminal-bar {
  display: flex; align-items: center; justify-content: space-between;
  height: 44px; padding: 0 8px 0 16px;
  background: linear-gradient(#1d2324, #171c1d); border-bottom: 1px solid rgba(0, 0, 0, .5);
}
.terminal-title { color: var(--muted); font: 600 .8rem/1 var(--mono); }
.copy-btn {
  display: inline-flex; align-items: center; gap: 7px; min-height: 32px; padding: 0 12px;
  border-radius: 9px; border: 1px solid var(--line-2); background: rgba(206, 238, 242, .04);
  color: var(--text); font: 600 .82rem/1 var(--font); cursor: pointer;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.copy-btn:hover { background: rgba(206, 238, 242, .09); }
.copy-btn.is-done { color: var(--cyan-hi); border-color: rgba(0, 166, 184, .5); }
.terminal pre {
  margin: 0; padding: 22px 22px 24px; overflow-x: auto;
  font: 500 .95rem/1.85 var(--mono); color: #e3f1f2;
}
.terminal pre code { padding: 0; border: 0; background: none; font-size: inherit; white-space: pre; color: inherit; }
/* one block per command; a long one wraps like a terminal does, indented past the prompt */
.terminal pre code.cmd { display: block; padding-left: 2ch; text-indent: -2ch; white-space: pre-wrap; word-break: break-all; }
.prompt { color: var(--cyan); user-select: none; -webkit-user-select: none; }
.after { margin-top: 18px; color: var(--muted); font-size: .98rem; }
.req {
  padding: clamp(24px, 3vw, 32px); border-radius: var(--radius);
  border: 1px solid var(--line); background: linear-gradient(180deg, #111a1c, #0d1416);
}
.req h3 { font: 600 .78rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.req h3 + .checks { margin-top: 14px; }
.req .checks + h3 { margin-top: 28px; }
.checks { list-style: none; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 30px; color: #d3e2e4; font-size: .98rem; line-height: 1.5; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 19px; height: 19px; border-radius: 6px;
  background: var(--cyan-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233fd6e6' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 13px no-repeat;
}


/* ---------------------------------------------------------------- faq */
.faq-wrap { max-width: 860px; }
.faq-list { display: grid; gap: 12px; }
.faq-list details {
  border-radius: 14px; border: 1px solid var(--line); background: linear-gradient(180deg, #111a1c, #0e1517);
  transition: border-color .25s var(--ease);
}
.faq-list details[open] { border-color: rgba(0, 166, 184, .32); }
.faq-list summary {
  position: relative; list-style: none; cursor: pointer;
  padding: 22px 64px 22px 24px;
  font: 600 1.1rem/1.4 var(--font-display); letter-spacing: -0.012em;
  border-radius: 14px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 24px; height: 24px; margin-top: -12px;
  border-radius: 8px; background: rgba(206, 238, 242, .06)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a1b4b7' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 16px no-repeat;
  transition: transform .25s var(--ease), background-color .25s var(--ease);
}
.faq-list details[open] summary::after { transform: rotate(45deg); background-color: var(--cyan-soft); }
.faq-list summary:hover { color: #fff; }
.answer { padding: 0 24px 24px; color: var(--muted); }
.answer p + p, .answer p + ul { margin-top: 12px; }
.answer ul { list-style: none; display: grid; gap: 10px; }
.answer li { position: relative; padding-left: 22px; }
.answer li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 9px; height: 6px; border-radius: 1.5px; background: var(--amber); opacity: .85; }
.answer strong { color: var(--text); font-weight: 600; }

/* ---------------------------------------------------------------- final CTA */
.cta-final {
  position: relative; overflow: hidden;
  padding: 12px 0; background: #050708;
  border-top: 1px solid var(--line);
}
.cta-final::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(50% 70% at 50% 55%, rgba(0, 166, 184, .2), transparent 70%);
}
.cta-final::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: var(--grain); opacity: .04;
}
.cta-inner { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding-block: clamp(80px, 11vw, 140px); }
.cta-inner img { width: 64px; height: 64px; border-radius: 16px; box-shadow: 0 0 0 1px rgba(63, 214, 230, .35), 0 16px 50px -10px rgba(0, 166, 184, .7); }
.cta-inner h2 { margin-top: 28px; max-width: 17ch; font-size: clamp(2.1rem, 1.2rem + 3.6vw, 4rem); line-height: 1.04; letter-spacing: -0.04em; }
.cta-inner p { margin-top: 18px; color: var(--muted); font-size: 1.15rem; }

/* ---------------------------------------------------------------- footer */
.site-footer { border-top: 1px solid var(--line); background: var(--bg); padding: 56px 0 36px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr auto; gap: 32px; align-items: start; }
.footer-brand p { margin-top: 14px; color: var(--muted); max-width: 36ch; font-size: .97rem; }
.footer-links ul { list-style: none; display: grid; gap: 10px; }
.footer-links a, .footer-made a { color: var(--muted); text-decoration: none; }
.footer-links a:hover, .footer-made a:hover { color: var(--cyan-hi); text-decoration: underline; }
.footer-made { color: var(--faint); font-size: .97rem; }
.footer-made a { color: var(--text); font-weight: 600; }
.footer-bottom { position: relative; margin-top: 44px; padding-top: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 32px; color: var(--faint); font-size: .9rem; }
.footer-bottom::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); border-top: 1px solid var(--line); }
.footer-bottom .fine { margin: 0; max-width: 62ch; font-size: .84rem; }

/* ---------------------------------------------------------------- lightbox */
.lightbox {
  width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0;
  border: 0; background: rgba(4, 6, 7, .965); color: var(--text);
  overflow: hidden;
}
.lightbox[open] { display: grid; grid-template-rows: auto 1fr; }
.lightbox::backdrop { background: rgba(0, 0, 0, .7); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.lb-top { display: flex; align-items: center; justify-content: space-between; padding: 14px clamp(14px, 3vw, 28px); }
.lb-count { color: var(--faint); font: 600 .85rem/1 var(--mono); letter-spacing: .08em; }
.lb-figure {
  margin: 0; min-height: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px;
  padding: 0 clamp(14px, 7vw, 96px) clamp(18px, 3vw, 32px);
}
.lb-img {
  min-height: 0; max-width: 100%; max-height: calc(100% - 64px); width: auto; height: auto; object-fit: contain;
  border-radius: 10px; border: 1px solid rgba(206, 238, 242, .14);
  box-shadow: 0 40px 120px -30px rgba(0, 0, 0, .9);
}
.lb-cap { max-width: 760px; text-align: center; color: var(--muted); font-size: 1rem; }
.lb-cap strong { color: var(--text); font-weight: 600; }
.lb-btn {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; cursor: pointer;
  border: 1px solid var(--line-2); background: rgba(20, 30, 32, .8); color: var(--text);
  transition: background-color .2s var(--ease), border-color .2s var(--ease);
}
.lb-btn:hover { background: rgba(0, 166, 184, .2); border-color: rgba(0, 166, 184, .5); }
.lb-prev, .lb-next { position: absolute; top: 50%; transform: translateY(-50%); }
.lb-prev { left: clamp(8px, 2vw, 24px); }
.lb-next { right: clamp(8px, 2vw, 24px); }
@media (max-width: 700px) {
  .lb-prev, .lb-next { top: auto; bottom: 14px; transform: none; }
  .lb-figure { padding-bottom: 76px; }
}

/* ---------------------------------------------------------------- reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1080px) {
}
@media (max-width: 980px) {
  .how-grid, .cams-grid, .install-grid { grid-template-columns: minmax(0, 1fr); }
  .diagram { width: 100%; max-width: 620px; margin-inline: auto; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .feature.wide { grid-column: span 2; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .g-item, .g-item.g-big { grid-column: span 1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 820px) {
  .facts-list { grid-template-columns: repeat(2, 1fr); row-gap: 22px; }
  .fact:nth-child(3) { border-left: 0; padding-left: 0; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .features-grid, .features-grid.news { grid-template-columns: 1fr; }
  .feature.wide { grid-column: auto; grid-template-columns: 1fr; gap: 24px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 22px 14px; }
  .g-item.g-big { grid-column: 1 / -1; }
  .g-item:not(.g-big) figcaption { font-size: .88rem; margin-top: 10px; }
  .g-item:not(.g-big) figcaption span { display: block; }
  .shot::before { height: 9px; }
  .brand-grid { display: flex; flex-wrap: wrap; gap: 8px; }
  .brand-tile { min-height: 0; flex-direction: row; align-items: baseline; gap: 8px; padding: 9px 13px; border-radius: 999px; font-size: .92rem; }
  .dg-label { font-size: 23px; }
  .feature { padding: 24px 22px 26px; }
  .step { padding: 20px; gap: 16px; }
  .cta-row { width: 100%; flex-direction: column; align-items: stretch; }
  .cta-row .btn { width: 100%; }
  .window-bar { height: 28px; }
  .window-title { font-size: .7rem; }
  .window-btns i { width: 9px; height: 9px; }
  .faq-list summary { padding: 18px 58px 18px 18px; font-size: 1.02rem; }
  .answer { padding: 0 18px 20px; }
  .footer-grid { grid-template-columns: 1fr; }
  .terminal pre { font-size: .84rem; padding: 18px 16px 20px; }
  .diagram { padding: 12px; }
}
@media (max-width: 380px) {
  .facts-list { grid-template-columns: 1fr; }
  .fact { border-left: 0; padding-left: 0; }
}

/* ---------------------------------------------------------------- motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .feature:hover, .shot:hover, .shot:focus-visible, .btn-primary:hover { transform: none; }
  .shot:hover .shot-frame img { transform: none; }
}
html.lb-open { overflow: hidden; }
