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

:root {
  --bg: #000;
  --teal: #60c8ff;
  --white: #f2ede6;
  --gray: rgba(242,237,230,0.45);
  --head: 'Unbounded', sans-serif;
  --body: 'Unbounded', sans-serif;
}

html { scroll-behavior: smooth; scroll-padding-top: 60px; overflow-x: hidden; }
body { background: var(--bg); color: var(--white); font-family: var(--body); overflow-x: hidden; font-weight: 300; }
body.menu-open { overflow: hidden; }
body.menu-open { overflow: hidden; }
::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-thumb { background: var(--teal); }

/* Grain overlay */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: 999; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.04;
  mix-blend-mode: overlay;
}

/* Vector background — technical grid + circuit-like graphics */
.bg-grid {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(96,200,255,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(96,200,255,0.07) 1px, transparent 1px);
  background-size: 64px 64px, 64px 64px;
  background-position: -1px -1px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, #000 30%, transparent 100%);
}
.bg-vectors {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  width: 100%; height: 100vh;
  opacity: 0.45;
}
.bg-vectors svg { width: 100%; height: 100%; }
.page-hero, .product, .cta, footer { position: relative; z-index: 1; }

img { max-width: 100%; display: block; }
a { color: inherit; }

/* ── NAV ─────────────────────────────────────────────────── */
nav.top {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: 60px; display: flex; align-items: center; justify-content: space-between;
  padding: 0 40px; background: rgba(0,0,0,0.92); backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(96,200,255,0.22);
}
.logo {
  font-family: var(--head); font-weight: 400; font-size: 12px; letter-spacing: 0.08em;
  text-decoration: none; color: var(--white);
  display: inline-flex; align-items: center; gap: 6px;
}
.logo .dot { color: var(--teal); }
.logo .sub { opacity: 0.6; }
.back-link {
  font-family: var(--head); font-size: 11px; color: rgba(242,237,230,0.5);
  text-decoration: none; letter-spacing: 0.05em;
  display: inline-flex; align-items: center; gap: 8px;
  transition: color 0.2s;
}
.back-link:hover { color: var(--teal); }

.nav-links { display: flex; gap: 28px; align-items: center; flex-wrap: wrap; }
.nav-links a {
  font-family: var(--head); font-size: 11px; color: rgba(242,237,230,0.5);
  text-decoration: none; letter-spacing: 0.05em; transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.is-current { color: var(--teal); }
.nav-links a.phone {
  color: var(--teal); border: 1px solid rgba(96,200,255,0.27);
  padding: 7px 16px; border-radius: 2px;
}

.burger {
  display: none;
  width: 42px; height: 42px;
  background: transparent; border: 0; outline: none; box-shadow: none;
  padding: 0; cursor: pointer; position: relative; z-index: 3;
  align-items: center; justify-content: center; flex-direction: column; gap: 6px;
  -webkit-tap-highlight-color: transparent;
}
.burger span {
  display: block; width: 22px; height: 2px; border-radius: 999px;
  background: var(--white);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.burger:focus, .burger:active, .burger:focus-visible { outline: none; box-shadow: none; border: 0; }
.burger.is-active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger.is-active span:nth-child(2) { opacity: 0; }
.burger.is-active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ── QUICK NAV ─────────────────────────────────────────────── */
.quicknav {
  position: sticky; top: 60px; z-index: 150;
  background: rgba(0,0,0,0.92); backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(96,200,255,0.22);
  padding: 0;
}
.quicknav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 40px;
  display: flex; gap: 0; align-items: stretch;
  overflow-x: auto; scrollbar-width: none;
}
.quicknav-inner::-webkit-scrollbar { display: none; }
.quicknav a {
  font-family: var(--head); font-size: 10px;
  color: rgba(242,237,230,0.5); text-decoration: none;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 18px 22px; white-space: nowrap;
  border-right: 1px solid rgba(242,237,230,0.05);
  transition: all 0.2s; position: relative;
  flex-shrink: 0;
}
.quicknav a:first-child { border-left: 1px solid rgba(242,237,230,0.05); }
.quicknav a:hover { color: var(--teal); background: rgba(96,200,255,0.04); }
.quicknav a.active { color: var(--teal); }
.quicknav a.active::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: var(--teal);
}
.quicknav .num {
  font-size: 9px; opacity: 0.4; margin-right: 8px;
}

/* ── HERO ─────────────────────────────────────────────────── */
.page-hero {
  padding: 130px 40px 60px;
  border-bottom: 1px solid rgba(96,200,255,0.22);
  position: relative; overflow: hidden;
}
.page-hero-inner { max-width: 1200px; margin: 0 auto; }
.crumb {
  font-family: var(--head); font-size: 10px; color: rgba(242,237,230,0.3);
  letter-spacing: 0.15em; margin-bottom: 32px; text-transform: uppercase;
}
.crumb .sep { margin: 0 10px; color: var(--teal); opacity: 0.5; }
.page-hero h1 {
  font-family: var(--head); font-weight: 300;
  font-size: clamp(32px, 5vw, 64px); line-height: 1.05;
  letter-spacing: 0.02em;
}
.page-hero h1 .accent { color: var(--teal); font-weight: 400; }
.page-hero h1 .muted { color: rgba(96,200,255,0.22); }
.page-hero .lead {
  font-family: var(--head); font-weight: 300;
  font-size: 14px; line-height: 1.9;
  color: rgba(242,237,230,0.55);
  max-width: 560px; margin-top: 36px; text-wrap: pretty;
}

/* ── PRODUCT SECTIONS ───────────────────────────────── */
.product {
  padding: 70px 40px;
  position: relative; overflow: hidden;
  scroll-margin-top: 60px;
}
.product:first-of-type { padding-top: 100px; }
.product + .product { border-top: 1px solid rgba(96,200,255,0.22); }
.product-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
  align-items: start;
}
.product.reverse .product-text { order: 2; }
.product.reverse .product-visual { order: 1; }

.product-text .ix {
  display: flex; align-items: baseline; gap: 16px;
  font-family: var(--head); font-size: 11px;
  color: rgba(242,237,230,0.3); letter-spacing: 0.12em;
  margin-bottom: 28px;
}
.product-text .ix .badge {
  display: inline-block; padding: 4px 10px;
  border: 1px solid rgba(96,200,255,0.25); border-radius: 2px;
  color: var(--teal); font-size: 9px; letter-spacing: 0.15em;
}
.product-text h2 {
  font-family: var(--head); font-weight: 300;
  font-size: clamp(28px, 3.5vw, 48px); line-height: 1.05;
  letter-spacing: 0.03em; margin-bottom: 20px;
}
.product-text h2 .accent { color: var(--teal); font-weight: 400; }
.product-text h2.with-icon {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
}
.product-text h2 .title-icon {
  width: 64px; height: 64px;
  border: 1px solid rgba(96,200,255,0.3);
  border-radius: 16px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 8px 24px -10px rgba(0,0,0,0.7);
}
.product-text .sub {
  font-family: var(--head); font-size: 12px; letter-spacing: 0.08em;
  color: #b8d8f0; text-transform: uppercase; margin-bottom: 32px;
  font-weight: 300;
}
.product-text .desc {
  font-family: var(--head); font-size: 13.5px; line-height: 1.85;
  color: rgba(242,237,230,0.6); font-weight: 300; text-wrap: pretty;
  margin-bottom: 18px;
}
.product-text .desc strong {
  font-weight: 400; color: var(--teal); letter-spacing: 0.02em;
}
.product-text .desc + .desc { color: rgba(242,237,230,0.55); }

.features { margin-top: 24px; }
.features-title {
  font-family: var(--head); font-size: 10px; letter-spacing: 0.15em;
  color: rgba(96,200,255,0.6); margin-bottom: 18px; text-transform: uppercase;
}
.features ul { list-style: none; }
.features li {
  font-family: var(--head); font-size: 13px; line-height: 1.6;
  color: rgba(242,237,230,0.55); padding: 10px 0;
  border-bottom: 1px solid rgba(96,200,255,0.18);
  display: flex; align-items: flex-start; gap: 14px;
  font-weight: 300;
}
.features li::before {
  content: ''; flex: 0 0 18px; height: 1px;
  background: var(--teal); opacity: 0.4; margin-top: 10px;
}

.meta-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
  margin-top: 28px;
  padding-top: 22px; border-top: 1px solid rgba(96,200,255,0.22);
}
.meta {
  font-family: var(--head); font-weight: 300;
}
.meta .k {
  font-size: 9px; color: rgba(242,237,230,0.3);
  letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 8px;
}
.meta .v {
  font-size: 13px; color: var(--white); line-height: 1.5;
}
.meta .v.accent { color: var(--teal); }

.links-row {
  margin-top: 22px; display: flex; flex-wrap: wrap; gap: 12px;
}
.link-btn {
  font-family: var(--head); font-size: 10px; letter-spacing: 0.1em;
  text-transform: uppercase; text-decoration: none;
  padding: 12px 18px; border: 1px solid rgba(96,200,255,0.25);
  color: var(--teal); transition: all 0.2s;
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 300;
}
.link-btn:hover { background: rgba(96,200,255,0.08); border-color: var(--teal); }
.link-btn .arr { font-size: 14px; }
.link-btn.ghost { color: rgba(242,237,230,0.5); border-color: rgba(242,237,230,0.15); }
.link-btn.ghost:hover { color: var(--teal); border-color: rgba(96,200,255,0.3); }

/* Phone screenshot (TSD) */
.phone-shot {
  display: flex; justify-content: center;
  position: relative;
}
.phone-shot img {
  max-width: 380px;
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 30px 50px rgba(0,0,0,0.7));
  cursor: zoom-in;
  transition: transform 0.4s ease;
}
.phone-shot img:hover { transform: translateY(-3px); }
.et21-shot img { max-width: 520px; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(0,0,0,0.94);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center; justify-content: center;
  padding: 60px 80px;
  cursor: zoom-out;
  opacity: 0; transition: opacity 0.2s ease;
}
.lightbox.open { display: flex; opacity: 1; }
.lightbox img {
  width: 100%;
  height: 100%;
  max-width: 1600px;
  object-fit: contain;
  border: 1px solid rgba(96,200,255,0.35);
  box-shadow: 0 30px 80px -20px rgba(0,0,0,0.9);
  cursor: default;
  image-rendering: -webkit-optimize-contrast;
}
.lightbox .lb-close {
  position: absolute; top: 20px; right: 24px;
  font-family: var(--head); font-size: 11px; letter-spacing: 0.15em;
  color: var(--white); text-decoration: none;
  padding: 8px 14px; border: 1px solid rgba(96,200,255,0.35);
  background: rgba(0,0,0,0.6);
  cursor: pointer; user-select: none;
  transition: all 0.2s;
}
.lightbox .lb-close:hover { color: var(--teal); border-color: var(--teal); }
.lightbox .lb-tag {
  position: absolute; top: 22px; left: 24px;
  font-family: var(--head); font-size: 10px; letter-spacing: 0.18em;
  color: var(--teal); text-transform: uppercase;
}
.lightbox .lb-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--head); font-size: 22px;
  color: var(--white);
  border: 1px solid rgba(96,200,255,0.3);
  background: rgba(0,0,0,0.6);
  cursor: pointer; user-select: none;
  transition: all 0.2s;
}
.lightbox .lb-nav:hover { color: var(--teal); border-color: var(--teal); }
.lightbox .lb-prev { left: 24px; }
.lightbox .lb-next { right: 24px; }
.lightbox .lb-count {
  position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
  font-family: var(--head); font-size: 10px; letter-spacing: 0.2em;
  color: rgba(242,237,230,0.55);
}

/* Product visual — don't stick when stacking screenshots (would clip with viewport) */
.product-visual { position: relative; top: 0; margin-top: 180px; }
.product-image {
  aspect-ratio: 4/5; position: relative; overflow: hidden;
  background: linear-gradient(135deg, rgba(96,200,255,0.04) 0%, rgba(0,0,0,0.4) 100%);
  border: 1px solid rgba(96,200,255,0.1);
}
.product-image img {
  width: 100%; height: 100%; object-fit: cover;
  filter: brightness(0.6) contrast(1.15) saturate(0.85);
}
.product-image .overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(0,0,0,0.6) 100%);
}
.product-image .corner-tag {
  position: absolute; top: 16px; left: 16px;
  font-family: var(--head); font-size: 10px;
  color: var(--teal); letter-spacing: 0.15em;
  padding: 6px 12px; background: rgba(0,0,0,0.7);
  border: 1px solid rgba(96,200,255,0.3);
}
.product-image .bottom-tag {
  position: absolute; bottom: 16px; left: 16px; right: 16px;
  font-family: var(--head); font-size: 11px;
  color: rgba(242,237,230,0.7); letter-spacing: 0.05em;
  font-weight: 300; line-height: 1.5;
}

/* Bare infographic visuals — no frame, no labels */
.placeholder-visual {
  aspect-ratio: 4/5; position: relative;
  display: flex; align-items: center; justify-content: center;
}
.placeholder-visual svg { width: 100%; height: auto; opacity: 0.9; }

/* Screenshot collage (product-visual variant) */
.collage-dots { display: none; }
.collage {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.collage .shot {
  position: relative;
  border: 1px solid rgba(96,200,255,0.28);
  background: #000;
  overflow: hidden;
  box-shadow: 0 18px 40px -20px rgba(0,0,0,0.9), 0 0 0 1px rgba(96,200,255,0.04);
  transition: transform 0.4s ease, border-color 0.3s;
  aspect-ratio: 16/9;
  cursor: zoom-in;
}
.collage .shot:hover {
  transform: translateY(-2px);
  border-color: rgba(96,200,255,0.55);
}
.collage .shot img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top left;
  display: block;
  filter: brightness(0.92) contrast(1.05);
}
.collage .shot::after {
  content: attr(data-tag);
  position: absolute; left: 10px; bottom: 8px;
  font-family: var(--head); font-size: 8px; letter-spacing: 0.15em;
  color: var(--teal); text-transform: uppercase;
  padding: 3px 7px;
  background: rgba(0,0,0,0.78);
  border: 1px solid rgba(96,200,255,0.3);
  pointer-events: none;
}
.collage .shot:not([data-tag])::after { display: none; }
.collage::before {
  content: '';
  position: absolute; top: -14px; left: -14px;
  width: 36px; height: 36px;
  border-top: 1px solid rgba(96,200,255,0.45);
  border-left: 1px solid rgba(96,200,255,0.45);
  pointer-events: none;
}
.collage::after {
  content: '';
  position: absolute; bottom: -14px; right: -14px;
  width: 36px; height: 36px;
  border-bottom: 1px solid rgba(96,200,255,0.45);
  border-right: 1px solid rgba(96,200,255,0.45);
  pointer-events: none;
}

/* Background image on side (for visual texture, matches main page) */
.product .side-bg {
  position: absolute; top: 0; bottom: 0; width: 40%; z-index: 0; overflow: hidden;
  pointer-events: none; opacity: 0.5;
}
.product .side-bg.right { right: 0; }
.product .side-bg.left { left: 0; }
.product .side-bg img {
  width: 100%; height: 100%; object-fit: cover;
  filter: brightness(0.3) contrast(1.2) saturate(0.6);
}
.product .side-bg.right::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to right, #000 0%, transparent 40%, #000 100%);
}
.product .side-bg.left::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to left, #000 0%, transparent 40%, #000 100%);
}

.product-inner-wrap { position: relative; z-index: 1; }

/* ── CTA ───────────────────────────────────────────────────── */
.cta {
  padding: 80px 40px;
  border-top: 1px solid rgba(96,200,255,0.22);
  text-align: center;
}
.cta h3 {
  font-family: var(--head); font-weight: 300;
  font-size: clamp(24px, 3vw, 38px);
  letter-spacing: 0.03em; margin-bottom: 16px;
}
.cta h3 .accent { color: var(--teal); font-weight: 400; }
.cta p {
  font-family: var(--head); font-size: 13px; line-height: 1.8;
  color: rgba(242,237,230,0.5); font-weight: 300;
  max-width: 460px; margin: 0 auto 32px;
}
.cta a.phone {
  font-family: var(--head); font-size: 26px; color: var(--teal);
  text-decoration: none; letter-spacing: 0.06em; font-weight: 300;
}

/* ── FOOTER ────────────────────────────────────────────────── */
footer {
  border-top: 1px solid rgba(96,200,255,0.18);
  padding: 28px 40px;
  display: flex; justify-content: space-between; align-items: center;
  gap: 20px; flex-wrap: wrap;
}
footer .copy, footer a {
  font-family: var(--head); font-size: 10px;
  color: rgba(242,237,230,0.25); text-decoration: none;
  letter-spacing: 0.08em; font-weight: 300;
}
footer a:hover { color: var(--teal); }

@media (max-width: 900px) {
  .product-inner { grid-template-columns: 1fr; gap: 40px; }
  .product.reverse .product-text { order: 1; }
  .product.reverse .product-visual { order: 2; }
  .product-visual { position: static; margin-top: 0; }
  .product .side-bg { display: none; }
  .meta-row { grid-template-columns: 1fr; gap: 18px; }
  .page-hero { padding: 130px 20px 60px; }
  .product { padding: 80px 20px; }
  .cta { padding: 70px 20px; }
  nav.top { padding: 0 16px; }
  .quicknav-inner { padding: 0 16px; }
  .quicknav a { padding: 14px 16px; font-size: 9px; }
  footer { padding: 24px 16px; }
}

@media (max-width: 700px) {
  nav.top { padding: 0 16px; }

  .burger { display: inline-flex; }

  .nav-links {
    position: fixed;
    top: 60px; right: 0;
    width: min(320px, 100%);
    height: calc(100vh - 60px);
    padding: 24px 20px 28px;
    background: rgba(0, 0, 0, 0.96);
    backdrop-filter: blur(20px);
    display: flex; flex-direction: column;
    align-items: flex-start; justify-content: flex-start;
    gap: 18px; flex-wrap: nowrap;
    transform: translateX(100%);
    transition: transform 0.28s ease;
    border-left: 1px solid rgba(96,200,255,0.15);
    z-index: 2;
  }
  .nav-links.is-open { transform: translateX(0); }
  .nav-links a { font-size: 13px; }
  .nav-links a.phone { margin-top: 6px; }

  /* Screenshot slider on mobile — bleeds to the screen edges so shots
     are actually legible, shows the whole screenshot (no crop), and
     swaps the tap-to-zoom lightbox for plain native pinch-zoom.
     Uses a negative margin matching .product's own padding (not 100vw,
     which on some mobile browsers is wider than the visible viewport
     and causes the whole page to rubber-band horizontally). */
  .collage {
    display: flex; flex-direction: row; flex-wrap: nowrap;
    align-items: flex-start;
    gap: 10px; overflow-x: auto; overflow-y: hidden;
    scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    touch-action: pan-x pinch-zoom;
    overscroll-behavior-x: contain;
    margin-left: -20px;
    margin-right: -20px;
    padding: 0 20px 4px;
    scroll-padding-inline: 20px;
  }
  .collage::-webkit-scrollbar { display: none; }
  .collage .shot {
    flex: 0 0 84%;
    scroll-snap-align: center;
    aspect-ratio: auto;
    cursor: default;
  }
  .collage .shot img {
    height: auto;
    object-fit: contain;
    background: #000;
  }
  .collage::before, .collage::after { display: none; }

  .collage-dots {
    display: flex; justify-content: center; gap: 8px;
    margin-top: 14px;
  }
  .collage-dot {
    width: 7px; height: 7px; border-radius: 50%;
    background: rgba(96,200,255,0.25); border: 0; padding: 0;
    cursor: pointer; transition: background 0.2s, transform 0.2s;
    -webkit-tap-highlight-color: transparent;
  }
  .collage-dot.is-active { background: var(--teal); transform: scale(1.35); }

  .phone-shot img { cursor: default; }

  footer { flex-direction: column; align-items: flex-start; gap: 14px; }
}