:root {
  --bg: #060b14;
  --bg-soft: #0a1120;
  --panel: rgba(13, 24, 43, 0.72);
  --panel-strong: rgba(15, 29, 52, 0.9);
  --line: rgba(148, 163, 184, 0.16);
  --line-strong: rgba(148, 163, 184, 0.26);
  --text: #e8f0fb;
  --muted: #9aacc4;
  --dim: #71839c;
  --cyan: #38bdf8;
  --cyan-soft: #7dd3fc;
  --blue: #2563eb;
  --green: #34d399;
  --radius: 20px;
  --max: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(900px 620px at 82% -12%, rgba(56, 189, 248, 0.16), transparent 62%),
    radial-gradient(760px 540px at -8% 26%, rgba(37, 99, 235, 0.14), transparent 64%),
    var(--bg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.65), transparent 72%);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.65), transparent 72%);
  pointer-events: none;
  content: "";
}

::selection {
  color: #04111f;
  background: var(--cyan-soft);
}

a {
  color: inherit;
}

img,
svg {
  display: block;
}

code {
  padding: 0.1em 0.38em;
  color: #c9e8ff;
  background: rgba(56, 189, 248, 0.09);
  border: 1px solid rgba(56, 189, 248, 0.14);
  border-radius: 6px;
  font-size: 0.88em;
}

.wrap {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 100;
  padding: 10px 14px;
  color: #04111f;
  background: var(--cyan-soft);
  border-radius: 8px;
}

.skip-link:focus {
  top: 12px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(6, 11, 20, 0.78);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--text);
  font-size: 1.02rem;
  font-weight: 750;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand img {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(125, 211, 252, 0.22);
  border-radius: 11px;
  box-shadow: 0 0 22px rgba(56, 189, 248, 0.16);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 0.86rem;
  font-weight: 600;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
  transition: color 160ms ease;
}

.site-nav a:hover {
  color: var(--text);
}

.site-nav .nav-out {
  padding: 8px 14px;
  color: var(--text);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
}

.site-nav .nav-out:hover {
  border-color: rgba(56, 189, 248, 0.45);
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  background: rgba(13, 24, 43, 0.62);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.site-nav .lang-switch a {
  padding: 4px 7px;
  color: var(--dim);
  border-radius: 999px;
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.2;
}

.site-nav .lang-switch a:hover {
  color: var(--text);
}

.site-nav .lang-switch a[aria-current="page"] {
  color: #04111f;
  background: var(--cyan-soft);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 78px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(380px, 0.96fr);
  gap: 64px;
  align-items: center;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  color: var(--cyan-soft);
  font-size: 0.7rem;
  font-weight: 750;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
}

.pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(52, 211, 153, 0.1), 0 0 14px rgba(52, 211, 153, 0.6);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  text-wrap: balance;
}

h1 {
  max-width: 760px;
  margin: 20px 0 24px;
  font-size: clamp(3.35rem, 7vw, 5.5rem);
  font-weight: 760;
  letter-spacing: -0.058em;
  line-height: 0.92;
}

h1 span {
  color: transparent;
  background: linear-gradient(105deg, #d4f1ff 0%, var(--cyan-soft) 38%, var(--cyan) 68%, #3b82f6 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.lede {
  max-width: 610px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  color: #04111f;
  background: linear-gradient(135deg, var(--cyan-soft), var(--cyan) 52%, #60a5fa);
  border-radius: 12px;
  box-shadow: 0 12px 34px rgba(56, 189, 248, 0.22);
  font-size: 0.9rem;
  font-weight: 750;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 42px rgba(56, 189, 248, 0.3);
}

.hero-note {
  color: var(--dim);
  font-size: 0.8rem;
}

.hero-facts {
  display: grid;
  grid-template-columns: 1.35fr 1.2fr 0.65fr;
  gap: 24px;
  max-width: 650px;
  margin: 46px 0 0;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.hero-facts div {
  min-width: 0;
}

.hero-facts dt {
  margin-bottom: 5px;
  color: var(--dim);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero-facts dd {
  margin: 0;
  color: #c8d6e8;
  font-size: 0.83rem;
  line-height: 1.45;
}

.hero-art {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 560px;
}

.glow {
  position: absolute;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.2), rgba(37, 99, 235, 0.08) 42%, transparent 68%);
  filter: blur(11px);
  border-radius: 50%;
}

.app-frame {
  position: relative;
  z-index: 2;
  width: min(100%, 438px);
  padding: 17px;
  background: linear-gradient(155deg, rgba(18, 33, 58, 0.96), rgba(8, 16, 30, 0.98));
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 24px;
  box-shadow:
    0 30px 90px rgba(0, 0, 0, 0.52),
    0 0 0 1px rgba(56, 189, 248, 0.05) inset,
    0 1px 0 rgba(255, 255, 255, 0.04) inset;
  transform: rotate(-1.2deg);
}

.app-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 1px 2px 14px;
  color: var(--dim);
  font-size: 0.69rem;
  font-weight: 650;
  letter-spacing: 0.02em;
}

.window-dots {
  display: flex;
  gap: 4px;
}

.window-dots i {
  width: 6px;
  height: 6px;
  background: rgba(148, 163, 184, 0.32);
  border-radius: 50%;
}

.app-title {
  flex: 1;
  color: #cbd9eb;
}

.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 8px;
  color: var(--green);
  background: rgba(52, 211, 153, 0.08);
  border: 1px solid rgba(52, 211, 153, 0.18);
  border-radius: 999px;
  font-size: 0.58rem;
  font-weight: 750;
  letter-spacing: 0.08em;
}

.live-pill::before {
  width: 5px;
  height: 5px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(52, 211, 153, 0.8);
  content: "";
}

.camera-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}

.camera {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #0b1220;
  border: 1px solid rgba(148, 163, 184, 0.13);
  border-radius: 12px;
  isolation: isolate;
}

.camera::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(120% 100% at 25% 18%, rgba(125, 211, 252, 0.28), transparent 46%),
    linear-gradient(145deg, #15304b, #0a1424 72%);
  content: "";
}

.camera::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.028) 0,
    rgba(255, 255, 255, 0.028) 1px,
    transparent 1px,
    transparent 4px
  );
  opacity: 0.65;
  content: "";
  pointer-events: none;
}

.camera-b::before {
  background:
    radial-gradient(120% 100% at 72% 20%, rgba(96, 165, 250, 0.26), transparent 48%),
    linear-gradient(145deg, #162943, #09111f 72%);
}

.camera-c::before {
  background:
    radial-gradient(100% 100% at 30% 75%, rgba(52, 211, 153, 0.16), transparent 52%),
    linear-gradient(145deg, #122a34, #08131e 72%);
}

.camera-d::before {
  background:
    radial-gradient(110% 100% at 70% 70%, rgba(167, 139, 250, 0.18), transparent 50%),
    linear-gradient(145deg, #211f3d, #0b1020 72%);
}

.camera-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 47px;
  height: 33px;
  border: 1.5px solid rgba(226, 240, 255, 0.5);
  border-radius: 8px;
  opacity: 0.8;
  transform: translate(-50%, -55%);
}

.camera-icon::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 15px;
  height: 15px;
  border: 1.5px solid rgba(226, 240, 255, 0.55);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  content: "";
}

.camera-icon::after {
  position: absolute;
  bottom: -7px;
  left: 50%;
  width: 16px;
  height: 4px;
  background: rgba(226, 240, 255, 0.26);
  border-radius: 2px;
  transform: translateX(-50%);
  content: "";
}

.camera-label {
  position: absolute;
  right: 7px;
  bottom: 7px;
  z-index: 2;
  padding: 3px 7px;
  color: #dce9f8;
  background: rgba(4, 11, 22, 0.68);
  border: 1px solid rgba(148, 163, 184, 0.15);
  border-radius: 999px;
  font-size: 0.57rem;
  font-weight: 650;
  line-height: 1.3;
  backdrop-filter: blur(6px);
}

.app-foot {
  display: flex;
  justify-content: space-between;
  padding: 13px 2px 1px;
  color: var(--dim);
  font-size: 0.61rem;
}

.app-foot-grid {
  color: #a9bdd6;
}

.floating-card {
  position: absolute;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 13px;
  background: rgba(11, 22, 40, 0.86);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 12px;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.38);
  color: var(--dim);
  font-size: 0.61rem;
  line-height: 1.4;
  backdrop-filter: blur(12px);
  animation: float 7s ease-in-out infinite;
}

.floating-card strong {
  color: #d7e6f7;
  font-size: 0.72rem;
  font-weight: 650;
}

.floating-card-top {
  top: 28px;
  right: 18px;
  flex-direction: row;
  align-items: center;
  gap: 7px;
  color: #bfd3e9;
  font-size: 0.65rem;
}

.floating-dot {
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 9px rgba(52, 211, 153, 0.7);
}

.floating-card-bottom {
  bottom: 70px;
  left: -14px;
  animation-delay: -3.5s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-7px);
  }
}

.section {
  padding: 92px 0;
}

.section-head {
  max-width: 710px;
  margin-bottom: 40px;
}

h2 {
  margin: 13px 0 17px;
  font-size: clamp(2rem, 4.2vw, 3.35rem);
  font-weight: 740;
  letter-spacing: -0.045em;
  line-height: 1.03;
}

.section-lede {
  max-width: 680px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.01rem;
  line-height: 1.7;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
}

.feature-card {
  padding: 24px;
  background: linear-gradient(180deg, rgba(16, 29, 51, 0.68), rgba(10, 18, 33, 0.62));
  border: 1px solid var(--line);
  border-radius: 18px;
  transition: border-color 180ms ease, transform 180ms ease, background 180ms ease;
}

.feature-card:hover {
  background: linear-gradient(180deg, rgba(19, 36, 63, 0.78), rgba(10, 18, 33, 0.68));
  border-color: rgba(56, 189, 248, 0.26);
  transform: translateY(-3px);
}

.feature-icon {
  display: grid;
  width: 41px;
  height: 41px;
  margin-bottom: 22px;
  place-items: center;
  color: var(--cyan-soft);
  background: linear-gradient(145deg, rgba(56, 189, 248, 0.16), rgba(37, 99, 235, 0.08));
  border: 1px solid rgba(56, 189, 248, 0.18);
  border-radius: 11px;
}

.feature-icon svg {
  width: 21px;
  height: 21px;
}

.feature-card h3 {
  margin-bottom: 8px;
  font-size: 1.01rem;
  font-weight: 680;
  letter-spacing: -0.015em;
}

.feature-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.66;
}

.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(330px, 0.88fr);
  gap: 64px;
  align-items: center;
}

#installers h2 {
  font-size: clamp(2rem, 3.8vw, 2.9rem);
}

.checklist {
  display: grid;
  gap: 12px;
  margin: 28px 0;
  padding: 0;
  list-style: none;
}

.checklist li {
  position: relative;
  padding-left: 30px;
  color: var(--muted);
  font-size: 0.91rem;
  line-height: 1.58;
}

.checklist li::before {
  position: absolute;
  top: 0.2em;
  left: 0;
  display: grid;
  width: 17px;
  height: 17px;
  place-items: center;
  color: var(--green);
  background: rgba(52, 211, 153, 0.09);
  border: 1px solid rgba(52, 211, 153, 0.2);
  border-radius: 50%;
  font-size: 0.58rem;
  font-weight: 800;
  content: "✓";
}

.inline-link {
  margin: 0;
  font-size: 0.87rem;
  font-weight: 650;
}

.inline-link a {
  color: var(--cyan-soft);
  text-decoration: none;
}

.inline-link a:hover {
  color: #c4edff;
}

.installer-card {
  position: relative;
  overflow: hidden;
  padding: 24px;
  background: linear-gradient(160deg, rgba(17, 32, 57, 0.92), rgba(8, 16, 30, 0.9));
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 20px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.36);
}

.installer-card::before {
  position: absolute;
  top: -100px;
  right: -80px;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.14), transparent 68%);
  content: "";
  pointer-events: none;
}

.installer-card-head {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  color: #dce9f8;
  font-size: 0.86rem;
  font-weight: 680;
}

.mini-icon {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  color: var(--cyan-soft);
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.15);
  border-radius: 8px;
}

.mini-icon svg {
  width: 16px;
  height: 16px;
}

.installer-row {
  position: relative;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.1);
  font-size: 0.75rem;
}

.installer-row span {
  color: var(--dim);
}

.installer-row strong {
  color: #c9d9ec;
  font-weight: 600;
  text-align: right;
}

.installer-foot {
  position: relative;
  margin: 16px 0 0;
  color: var(--dim);
  font-size: 0.7rem;
  line-height: 1.6;
}

.privacy-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
  gap: 48px;
  overflow: hidden;
  padding: 44px;
  background: linear-gradient(145deg, rgba(18, 34, 60, 0.76), rgba(8, 16, 30, 0.72));
  border: 1px solid rgba(56, 189, 248, 0.16);
  border-radius: 24px;
}

.privacy-panel::before {
  position: absolute;
  top: -150px;
  left: -80px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.16), transparent 68%);
  content: "";
  pointer-events: none;
}

.privacy-copy {
  position: relative;
}

.privacy-copy p:not(.eyebrow) {
  max-width: 540px;
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

.privacy-points {
  position: relative;
  display: grid;
  gap: 11px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.privacy-points li {
  display: grid;
  gap: 2px;
  padding: 13px 15px;
  background: rgba(6, 14, 26, 0.42);
  border: 1px solid rgba(148, 163, 184, 0.11);
  border-radius: 11px;
}

.privacy-points strong {
  color: #d7e6f7;
  font-size: 0.78rem;
  font-weight: 650;
}

.privacy-points span {
  color: var(--dim);
  font-size: 0.72rem;
  line-height: 1.5;
}

.compatibility {
  padding-top: 24px;
  padding-bottom: 104px;
  text-align: center;
}

.compatibility .eyebrow {
  justify-content: center;
}

.compatibility h2 {
  max-width: 760px;
  margin-right: auto;
  margin-left: auto;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px;
  margin: 28px auto 20px;
}

.chip-row span {
  padding: 8px 14px;
  color: #c5d5e8;
  background: rgba(13, 24, 43, 0.6);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 550;
}

.compatibility-note {
  max-width: 650px;
  margin: 0 auto;
  color: var(--dim);
  font-size: 0.72rem;
  line-height: 1.6;
}

.site-footer {
  padding: 30px 0;
  background: rgba(4, 9, 17, 0.48);
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--dim);
  font-size: 0.74rem;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--text);
  font-size: 0.84rem;
  font-weight: 700;
}

.footer-brand img {
  width: 30px;
  height: 30px;
  border: 1px solid rgba(125, 211, 252, 0.18);
  border-radius: 8px;
}

.footer-inner p {
  flex: 1;
  margin: 0;
}

.footer-inner nav {
  display: flex;
  gap: 18px;
}

.footer-inner nav a {
  color: var(--muted);
  text-decoration: none;
}

.footer-inner nav a:hover {
  color: var(--cyan-soft);
}

@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .hero-copy {
    max-width: 720px;
  }

  .hero-art {
    min-height: 500px;
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split-grid,
  .privacy-panel {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .installer-card {
    max-width: 540px;
  }
}

@media (max-width: 620px) {
  .wrap {
    width: min(var(--max), calc(100% - 32px));
  }

  .header-inner {
    min-height: 64px;
  }

  .site-nav {
    gap: 14px;
  }

  .site-nav > a:not(.nav-out) {
    display: none;
  }

  .hero {
    padding: 68px 0 52px;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 4.4rem);
  }

  html[lang="ru"] h1 {
    font-size: clamp(2.8rem, 13.5vw, 3.7rem);
  }

  .lede {
    font-size: 1rem;
  }

  .hero-facts {
    grid-template-columns: 1fr 1fr;
    gap: 18px 24px;
    margin-top: 36px;
  }

  .hero-facts div:last-child {
    grid-column: 1 / -1;
  }

  .hero-art {
    min-height: 390px;
  }

  .app-frame {
    width: min(100% - 8px, 380px);
    padding: 13px;
    border-radius: 20px;
    transform: none;
  }

  .floating-card {
    display: none;
  }

  .camera-grid {
    gap: 7px;
  }

  .camera-label {
    font-size: 0.51rem;
  }

  .section {
    padding: 68px 0;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .privacy-panel {
    padding: 28px 22px;
  }

  .compatibility {
    padding-bottom: 76px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .footer-inner p {
    flex: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .floating-card {
    animation: none;
  }

  .button,
  .feature-card {
    transition: none;
  }
}
