:root {
  --wrap: 1240px;
  --font: "Segoe UI", "Inter", Arial, sans-serif;
  --display: "Segoe UI", "Inter", Arial, sans-serif;
  --mono: "Cascadia Mono", "Consolas", ui-monospace, monospace;
  --bg: #fff;
  --surface: #fff;
  --ink: #111b1d;
  --muted: #66777a;
  --line: #e4e9e9;
  --soft: #f5f8f7;
  --accent: #0b8f88;
  --accent2: #e2743a;
  --accent-ink: #fff;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(12, 35, 38, .06);
}

body.variant-2 {
  --font: "Segoe UI", "Inter", Arial, sans-serif;
  --display: Georgia, "Times New Roman", serif;
  --bg: #fbf8f3;
  --surface: #fffdf9;
  --ink: #1c241f;
  --muted: #6c736a;
  --line: #eadfd2;
  --soft: #f6efe5;
  --accent: #d35b2a;
  --accent2: #863b72;
  --radius: 18px;
  --shadow: 0 14px 34px rgba(76, 42, 24, .08);
}

body.variant-3 {
  --font: Arial, Helvetica, sans-serif;
  --display: Arial, Helvetica, sans-serif;
  --bg: #fff;
  --surface: #fff;
  --ink: #080b0d;
  --muted: #646b70;
  --line: #d9dee1;
  --soft: #f2f4f5;
  --accent: #e85a2a;
  --accent2: #b83b1f;
  --radius: 0px;
  --shadow: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img, svg { max-width: 100%; }
.wrap { width: min(var(--wrap), calc(100% - 56px)); margin: 0 auto; }

/* ---------------------------- header ---------------------------- */
.top {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(14px);
}
.top .wrap { display: flex; align-items: center; gap: 34px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex: 0 0 auto; }
.brand-mark { width: 35px; height: 35px; color: var(--accent); }
.brand-mark svg { width: 100%; height: 100%; }
.brand b { display: block; font-size: 16px; letter-spacing: .14em; font-weight: 700; }
.brand small { display: block; margin-top: 1px; color: var(--muted); font-size: 7.5px; letter-spacing: .13em; text-transform: uppercase; }
.nav { display: flex; gap: 24px; margin-left: auto; }
.nav a { padding: 24px 0 22px; color: var(--muted); font-size: 11px; text-decoration: none; }
.nav a:hover { color: var(--ink); }
.nav a.active { color: var(--ink); font-weight: 600; }
.top-phone { color: var(--ink); font-family: var(--mono); font-size: 10px; text-decoration: none; white-space: nowrap; }
.top-phone:hover { color: var(--accent); }

/* ---------------------------- hero ---------------------------- */
.hero {
  display: grid;
  grid-template-columns: 1.12fr .88fr;
  gap: 46px;
  align-items: center;
  padding: 46px 0 34px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 13px;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
h1, h2, h3 { margin: 0; font-weight: 500; }
h1 {
  max-width: 700px;
  font-family: var(--display);
  font-size: clamp(36px, 4.5vw, 58px);
  line-height: 1.06;
  letter-spacing: -.035em;
}
.hero p { max-width: 520px; margin: 17px 0 0; color: var(--muted); font-size: 13px; line-height: 1.65; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 25px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 17px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .02em;
  text-decoration: none;
}
.btn:hover { filter: brightness(.94); }
.btn.ghost { border-color: var(--line); background: var(--surface); color: var(--ink); }
.btn.ghost:hover { border-color: var(--accent); color: var(--accent); }

/* ---------------------------- thermal imagery ---------------------------- */
.thermal {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 36% 34%, rgba(255, 225, 162, .95) 0 3%, transparent 4%),
    radial-gradient(circle at 49% 44%, #ffc35e 0 8%, #ec6d3b 9% 19%, transparent 20%),
    radial-gradient(circle at 65% 63%, #bc4838 0 8%, #6b2b40 9% 24%, transparent 25%),
    linear-gradient(145deg, #ffd77f 0%, #ec6d3b 17%, #78313d 37%, #0f4b5b 61%, #062935 100%);
  isolation: isolate;
}
.thermal::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: .2;
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,.16) 0 1px, transparent 1px 4px),
    repeating-linear-gradient(90deg, rgba(255,255,255,.08) 0 1px, transparent 1px 22px);
  mix-blend-mode: screen;
}
.thermal::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: radial-gradient(circle at 50% 50%, transparent 38%, rgba(0,0,0,.36) 100%);
}
.thermal .glyph { position: absolute; z-index: 3; top: 50%; left: 50%; width: 34%; height: 34%; transform: translate(-50%, -50%); color: rgba(255,255,255,.9); filter: drop-shadow(0 2px 6px rgba(0,0,0,.25)); }
.thermal .tag {
  position: absolute;
  z-index: 4;
  top: 10px; left: 10px;
  color: rgba(255,255,255,.8);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: .12em;
}
.hero-thermal {
  height: 315px;
  border-radius: calc(var(--radius) + 4px);
  box-shadow: var(--shadow);
}
.hero-thermal .ring {
  position: absolute;
  z-index: 3;
  top: 50%; left: 50%;
  width: 52%; height: 52%;
  border: 1px dashed rgba(255,255,255,.55);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.hero-thermal .ring.r2 { width: 74%; height: 74%; border-style: solid; border-color: rgba(255,255,255,.2); }
.hero-thermal .cross {
  position: absolute;
  z-index: 3;
  top: 50%; left: 50%;
  width: 1px; height: 88%;
  background: linear-gradient(transparent, rgba(255,255,255,.45), transparent);
  transform: translate(-50%, -50%);
}
.hero-thermal .cross::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 88vh; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.45), transparent);
  transform: translate(-50%, -50%);
}
.hero-thermal .camera-live {
  position: absolute;
  z-index: 4;
  left: 50%; top: 50%;
  display: grid;
  width: 62px; height: 62px;
  place-items: center;
  border: 1px solid rgba(255,255,255,.8);
  border-radius: 50%;
  background: rgba(6, 25, 30, .62);
  color: #fff;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 10px rgba(255,255,255,.08);
}
.hero-thermal .camera-live svg { width: 31px; height: 31px; }
.hero-thermal .hero-label {
  position: absolute;
  z-index: 4;
  right: 12px; bottom: 11px;
  padding: 6px 8px;
  border: 1px solid rgba(255,255,255,.3);
  background: rgba(4, 16, 20, .58);
  color: rgba(255,255,255,.85);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: .04em;
}

/* ---------------------------- products ---------------------------- */
.products { padding: 8px 0 52px; }
.products-head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 17px; }
h2 { font-family: var(--display); font-size: 27px; letter-spacing: -.025em; }
.products-head span { color: var(--muted); font-family: var(--mono); font-size: 8.5px; letter-spacing: .08em; text-transform: uppercase; }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.product {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  text-decoration: none;
  transition: transform .18s ease, border-color .18s ease;
}
.product:hover { transform: translateY(-3px); border-color: var(--accent); }
.product .thermal { height: 102px; }
.product .thermal .glyph { width: 31px; height: 31px; }
.product-body { position: relative; min-height: 86px; padding: 12px 14px 13px; }
.product h3 { padding-right: 16px; font-family: var(--display); font-size: 14px; font-weight: 600; line-height: 1.25; }
.product p { margin: 5px 0 0; color: var(--muted); font-size: 9.5px; line-height: 1.35; }
.product .arrow { position: absolute; top: 12px; right: 12px; color: var(--accent); font-size: 14px; }
.product .num { position: absolute; right: 11px; bottom: 10px; color: var(--muted); font-family: var(--mono); font-size: 7.5px; opacity: .65; }

/* ---------------------------- footer ---------------------------- */
.footer { border-top: 1px solid var(--line); padding: 20px 0 24px; }
.footer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.footer-brand { font-size: 10px; letter-spacing: .12em; font-weight: 700; }
.footer-contact { display: flex; flex-wrap: wrap; gap: 18px; color: var(--muted); font-size: 10px; }
.footer-contact a { color: var(--ink); text-decoration: none; }
.footer-contact a:hover { color: var(--accent); }

/* ---------------------------- variant details ---------------------------- */
body.variant-2 h1 { font-size: clamp(40px, 5vw, 64px); letter-spacing: -.04em; }
body.variant-2 .eyebrow { font-family: var(--font); letter-spacing: .08em; }
body.variant-2 .product { border-radius: var(--radius); }
body.variant-2 .product .thermal { border-radius: var(--radius) var(--radius) 0 0; }
body.variant-2 .hero { padding-top: 52px; }
body.variant-2 .btn { border-radius: 100px; }
body.variant-2 .top { background: rgba(251, 248, 243, .92); }
body.variant-2 .hero-thermal { border-radius: 28px; }

body.variant-3 .top { background: rgba(255,255,255,.96); }
body.variant-3 .brand-mark { color: #080b0d; }
body.variant-3 .eyebrow { color: var(--accent); }
body.variant-3 .hero { border-bottom: 1px solid var(--line); }
body.variant-3 .hero-thermal { border-radius: 0; box-shadow: none; }
body.variant-3 .hero-thermal .camera-live { border-radius: 0; }
body.variant-3 .products { padding-top: 26px; }
body.variant-3 .grid { gap: 1px; background: var(--line); border: 1px solid var(--line); }
body.variant-3 .product { border: 0; box-shadow: none; }
body.variant-3 .product:hover { transform: none; background: #f8fafb; }
body.variant-3 .product .thermal { height: 108px; filter: grayscale(1) contrast(1.1); }
body.variant-3 .product .thermal .glyph { color: #002f9e; }
body.variant-3 .product .thermal::after { background: radial-gradient(circle at 50% 50%, transparent 28%, rgba(0,0,0,.42) 100%); }
body.variant-3 h1 { text-transform: uppercase; font-weight: 700; letter-spacing: -.04em; }
body.variant-3 h2 { text-transform: uppercase; font-weight: 700; letter-spacing: -.03em; }
body.variant-3 .product h3 { text-transform: uppercase; font-size: 12px; letter-spacing: .01em; }
body.variant-3 .product .thermal .tag { color: var(--accent); }
body.variant-3 .product .num { color: var(--accent); opacity: 1; }

/* ---------------------------- preview mark ---------------------------- */
.variant-badge {
  position: fixed;
  right: 14px; bottom: 12px;
  z-index: 50;
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--surface);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: .05em;
  box-shadow: var(--shadow);
}

/* ---------------------------- responsive ---------------------------- */
@media (max-width: 1000px) {
  .hero { grid-template-columns: 1fr; gap: 24px; }
  .hero-thermal { height: 270px; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .nav { gap: 16px; }
}
@media (max-width: 760px) {
  .wrap { width: min(100% - 28px, var(--wrap)); }
  .top .wrap { min-height: 60px; gap: 12px; }
  .nav { display: none; }
  .top-phone { margin-left: auto; }
  .hero { padding: 30px 0 24px; }
  .hero p { font-size: 12px; }
  .hero-thermal { height: 220px; }
  .products { padding-bottom: 34px; }
  .grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .product .thermal { height: 88px; }
  .product-body { padding: 10px; }
  .product h3 { font-size: 12px; }
  .footer .wrap { display: block; }
  .footer-contact { margin-top: 8px; }
}
@media (max-width: 440px) {
  .grid { grid-template-columns: 1fr 1fr; gap: 7px; }
  .hero-thermal { height: 200px; }
  .product h3 { font-size: 11px; }
  .product p { font-size: 9px; }
}

