/* Glowmello — marketing site
   Palette mirrors tapo_pc/theme.py (DARK). */

:root {
  --bg: #0e1014;
  --bg-2: #12151a;
  --surface: #181c22;
  --surface-2: #1f242c;
  --surface-3: #272d36;
  --border: #242a33;
  --border-hi: #313845;
  --text: #eef1f5;
  --muted: #9aa3b2;
  --faint: #6b7584;
  --accent: #2dd4bf;
  --accent-hi: #5eead4;
  --accent-deep: #0f9488;
  --accent-ink: #042f2a;
  --accent-soft: #123a36;
  --accent-line: #1f5c55;
  --warn: #fbbf24;
  --danger: #f87171;

  --radius: 18px;
  --radius-lg: 26px;
  --maxw: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --font: "Plus Jakarta Sans", "Segoe UI Variable Text", "Segoe UI", system-ui, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--accent-hi); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #99f6e4; }
:focus-visible { outline: 2px solid var(--accent-hi); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--accent); color: var(--accent-ink); }
h1, h2, h3, h4 { line-height: 1.12; letter-spacing: -0.025em; margin: 0 0 .5em; font-weight: 700; }
p { margin: 0 0 1em; }
kbd {
  font-family: inherit; font-size: .82em; font-weight: 600;
  padding: .18em .55em; border-radius: 7px;
  background: var(--surface-2); border: 1px solid var(--border-hi);
  box-shadow: 0 2px 0 var(--border-hi);
}

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--accent); color: var(--accent-ink); padding: 10px 16px;
  border-radius: 10px; font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(72px, 10vw, 130px) 0; position: relative; }
.section--tight { padding: clamp(48px, 7vw, 80px) 0; }

/* ---------- ambient background ---------- */
.ambient {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(900px 600px at 78% -10%, rgba(45, 212, 191, .13), transparent 60%),
    radial-gradient(700px 500px at -10% 30%, rgba(94, 234, 212, .06), transparent 60%),
    var(--bg);
}
.ambient::after {
  content: ""; position: absolute; inset: 0; opacity: .5;
  background-image: radial-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 70%);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 70%);
}

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(14, 16, 20, .72);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--border); background: rgba(14, 16, 20, .86); }
.nav { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--text); text-decoration: none; font-weight: 700; font-size: 1.16rem; letter-spacing: -0.02em; }
.brand:hover { color: var(--text); }
.brand svg { width: 34px; height: 34px; filter: drop-shadow(0 4px 14px rgba(45, 212, 191, .35)); }
.nav__links { display: flex; gap: 4px; margin: 0 0 0 auto; padding: 0; list-style: none; }
.nav__links a {
  white-space: nowrap;
  display: block; padding: 8px 13px; border-radius: 10px;
  color: var(--muted); text-decoration: none; font-size: .95rem; font-weight: 500;
  transition: color .2s, background .2s;
}
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--text); background: var(--surface); }
.nav__cta { margin-left: 8px; }
.nav__toggle {
  display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 12px;
  background: var(--surface); border: 1px solid var(--border-hi); color: var(--text); cursor: pointer;
  align-items: center; justify-content: center;
}
.nav__toggle svg { width: 22px; height: 22px; }

@media (max-width: 900px) {
  .nav__toggle { display: inline-flex; }
  .nav .nav__cta { display: none; }
  .nav__links {
    position: absolute; left: 0; right: 0; top: 68px;
    flex-direction: column; gap: 2px; padding: 12px var(--gutter) 20px;
    background: rgba(14, 16, 20, .97); border-bottom: 1px solid var(--border);
    display: none;
  }
  .nav__links a { padding: 12px 14px; font-size: 1.05rem; }
  .site-header.is-open .nav__links { display: flex; }
}

/* ---------- buttons ---------- */
.btn {
  --h: 52px;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: var(--h); padding: 0 24px; border-radius: 14px;
  font: inherit; font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer;
  border: 1px solid transparent; white-space: nowrap;
  transition: transform .2s var(--ease), box-shadow .25s, background .2s, color .2s, border-color .2s;
}
.btn--sm { --h: 42px; padding: 0 16px; border-radius: 12px; font-size: .92rem; gap: 9px; }
.btn--store {
  background: linear-gradient(135deg, var(--accent-hi), var(--accent) 55%, var(--accent-deep));
  color: var(--accent-ink);
  box-shadow: 0 10px 30px -8px rgba(45, 212, 191, .55), inset 0 1px 0 rgba(255, 255, 255, .35);
}
.btn--store:hover { color: var(--accent-ink); transform: translateY(-2px); box-shadow: 0 16px 40px -8px rgba(45, 212, 191, .7), inset 0 1px 0 rgba(255, 255, 255, .4); }
.btn--store .win { width: 18px; height: 18px; flex: none; }
.btn--store .btn__text { display: flex; flex-direction: column; line-height: 1.1; text-align: left; }
.btn--store .btn__text small { font-size: .7rem; font-weight: 600; opacity: .78; letter-spacing: .01em; }
.btn--sm.btn--store .btn__text small { display: none; }
.btn--ghost { background: rgba(255, 255, 255, .03); border-color: var(--border-hi); color: var(--text); }
.btn--ghost:hover { color: var(--text); background: var(--surface); border-color: #3d4655; transform: translateY(-2px); }
.btn .arrow { transition: transform .2s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- shared type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent-hi); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: currentColor; opacity: .7; }
.section-head { max-width: 720px; margin: 0 auto clamp(40px, 6vw, 64px); text-align: center; }
.section-head .eyebrow::after, .page-hero .eyebrow::after { content: ""; width: 22px; height: 2px; border-radius: 2px; background: currentColor; opacity: .7; }
.section-head h2, .h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); }
.lead { font-size: clamp(1.06rem, 1.6vw, 1.2rem); color: var(--muted); }
.glow-text {
  background: linear-gradient(100deg, var(--accent-hi) 0%, var(--accent) 45%, #a7f3d0 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- logo / icon ---------- */
.logo-mark { width: 100%; height: 100%; }

/* ---------- window frame ---------- */
.window {
  position: relative;
  border-radius: 12px;
  background: var(--bg-2);
  border: 1px solid rgba(255, 255, 255, .09);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, .45),
    0 2px 6px rgba(0, 0, 0, .3),
    0 40px 80px -30px rgba(0, 0, 0, .8),
    0 0 90px -20px rgba(45, 212, 191, .28);
  overflow: hidden;
  isolation: isolate;
}
.window__bar {
  display: flex; align-items: center; gap: 9px;
  height: 34px; padding-left: 14px;
  background: #12151a; border-bottom: 1px solid rgba(255, 255, 255, .05);
  font-size: 12px; color: var(--muted); user-select: none;
}
.window__bar .mini-icon { width: 15px; height: 15px; }
.window__ctrls { margin-left: auto; display: flex; height: 100%; }
.window__ctrls span { width: 44px; display: grid; place-items: center; color: #aab2bf; }
.window__ctrls svg { width: 10px; height: 10px; }
.window__screen {
  position: relative; aspect-ratio: 16 / 10; overflow: hidden;
  /* placeholder UI drawn with gradients while screenshots are missing */
  background:
    radial-gradient(60% 50% at 70% 0%, rgba(45, 212, 191, .10), transparent 70%),
    linear-gradient(var(--accent-soft), var(--accent-soft)) 2.8% 10.5% / 12% 4.5% no-repeat,
    linear-gradient(var(--surface-2), var(--surface-2)) 2.8% 17.0% / 12% 3.5% no-repeat,
    linear-gradient(var(--surface-2), var(--surface-2)) 2.8% 22.5% / 12% 3.5% no-repeat,
    linear-gradient(var(--surface-2), var(--surface-2)) 2.8% 28.0% / 12% 3.5% no-repeat,
    linear-gradient(var(--border), var(--border)) 17% 0 / 1px 100% no-repeat,
    linear-gradient(var(--surface-3), var(--surface-3)) 26.3% 7.4% / 24% 5% no-repeat,
    linear-gradient(var(--surface), var(--surface)) 26.5% 25.6% / 24.5% 22% no-repeat,
    linear-gradient(var(--surface), var(--surface)) 61.6% 25.6% / 24.5% 22% no-repeat,
    linear-gradient(var(--surface), var(--surface)) 96.7% 25.6% / 24.5% 22% no-repeat,
    linear-gradient(var(--surface), var(--surface)) 40.0% 89.3% / 50% 44% no-repeat,
    linear-gradient(var(--surface), var(--surface)) 97.3% 89.3% / 26% 44% no-repeat,
    linear-gradient(var(--bg-2), var(--bg-2)) 0 0 / 17% 100% no-repeat,
    var(--bg);
}
.window__screen img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: top left;
  transition: opacity .6s ease;
}
.js .window__screen img { opacity: 0; }
.js .window__screen img.is-loaded { opacity: 1; }
.window__screen img.is-missing { display: none; }
.window--light { background: #eaedf1; border-color: rgba(0, 0, 0, .12); }
.window--light .window__bar { background: #eaedf1; color: #566070; border-bottom-color: rgba(0, 0, 0, .06); }
.window--light .window__ctrls span { color: #566070; }
.window--light .window__screen {
  background:
    linear-gradient(#dcf3ef, #dcf3ef) 2.8% 10.5% / 12% 4.5% no-repeat,
    linear-gradient(#e5e9ee, #e5e9ee) 2.8% 17.0% / 12% 3.5% no-repeat,
    linear-gradient(#e5e9ee, #e5e9ee) 2.8% 22.5% / 12% 3.5% no-repeat,
    linear-gradient(#e5e9ee, #e5e9ee) 2.8% 28.0% / 12% 3.5% no-repeat,
    linear-gradient(#d2d8e0, #d2d8e0) 17% 0 / 1px 100% no-repeat,
    linear-gradient(#e2e6eb, #e2e6eb) 26.3% 7.4% / 24% 5% no-repeat,
    linear-gradient(#fff, #fff) 26.5% 25.6% / 24.5% 22% no-repeat,
    linear-gradient(#fff, #fff) 61.6% 25.6% / 24.5% 22% no-repeat,
    linear-gradient(#fff, #fff) 96.7% 25.6% / 24.5% 22% no-repeat,
    linear-gradient(#fff, #fff) 40.0% 89.3% / 50% 44% no-repeat,
    linear-gradient(#fff, #fff) 97.3% 89.3% / 26% 44% no-repeat,
    linear-gradient(#eaedf1, #eaedf1) 0 0 / 17% 100% no-repeat,
    #f3f5f8;
}
/* natural-height frames (e.g. the mini panel) */
.window--natural .window__screen { aspect-ratio: auto; min-height: 0; }
.window--natural .window__screen img { position: static; height: auto; }
.window--natural .window__screen:has(img.is-missing),
.window--natural .window__screen.no-img { aspect-ratio: 3 / 4; }

/* ---------- hero ---------- */
.hero { padding: clamp(48px, 8vw, 96px) 0 0; position: relative; overflow: hidden; }
.hero__copy { text-align: center; max-width: 880px; margin: 0 auto; }
.pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 16px 7px 8px; border-radius: 999px;
  background: rgba(24, 28, 34, .8); border: 1px solid var(--border-hi);
  color: var(--muted); font-size: .88rem; font-weight: 500;
  margin-bottom: 26px;
}
.pill b { background: var(--accent-soft); color: var(--accent-hi); border: 1px solid var(--accent-line); border-radius: 999px; padding: 2px 10px; font-size: .78rem; font-weight: 700; }
.hero h1 { font-size: clamp(2.6rem, 7vw, 5.2rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1.02; margin-bottom: 24px; }
.hero .lead { max-width: 640px; margin: 0 auto 34px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.hero__trust {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px;
  margin: 28px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: .92rem;
}
.hero__trust li { display: inline-flex; align-items: center; gap: 8px; }
.hero__trust svg { width: 17px; height: 17px; color: var(--accent); }

.hero__stage { position: relative; margin: clamp(48px, 7vw, 80px) auto 0; max-width: 1120px; perspective: 2200px; }
.hero__stage::before {
  content: ""; position: absolute; left: 8%; right: 8%; top: 6%; height: 70%;
  background: radial-gradient(closest-side, rgba(45, 212, 191, .45), rgba(45, 212, 191, 0));
  filter: blur(40px); z-index: -1;
  animation: glow-pulse 6s ease-in-out infinite;
}
.hero__window {
  transform-origin: 50% 0%;
  transform: rotateX(var(--tilt, 14deg)) scale(var(--tilt-scale, .96));
  transition: transform .15s linear;
  will-change: transform;
}
.hero__fade {
  position: absolute; left: -10%; right: -10%; bottom: -2px; height: 32%;
  background: linear-gradient(to bottom, rgba(14, 16, 20, 0), var(--bg) 92%);
  pointer-events: none; z-index: 2;
}
.float {
  position: absolute; z-index: 3;
  background: rgba(24, 28, 34, .86);
  border: 1px solid var(--border-hi);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-radius: 16px; box-shadow: 0 24px 50px -18px rgba(0, 0, 0, .8), 0 0 40px -16px rgba(45, 212, 191, .4);
  padding: 14px 16px; font-size: .86rem; line-height: 1.4;
  animation: bob 7s ease-in-out infinite;
}
.float--toast { right: -2%; top: 14%; width: 300px; display: flex; gap: 12px; }
.float--toast .ic { width: 34px; height: 34px; flex: none; }
.float--toast strong { display: block; font-size: .9rem; }
.float--toast span { color: var(--muted); }
.float--toast small { display: block; color: var(--faint); font-size: .74rem; margin-bottom: 3px; }
.float--power { left: -3%; top: 52%; width: 210px; animation-delay: -3s; }
.float--power .k { color: var(--muted); font-size: .76rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.float--power .v { font-size: 1.7rem; font-weight: 800; letter-spacing: -0.03em; }
.float--power .v small { font-size: .9rem; color: var(--muted); font-weight: 600; margin-left: 3px; }
.float--power svg { width: 100%; height: 38px; margin-top: 4px; }
.dot-live { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(45, 212, 191, .6); animation: ping 2s infinite; margin-right: 6px; vertical-align: middle; }
@media (max-width: 960px) {
  .float--toast { right: 2%; top: auto; bottom: 22%; width: 260px; }
  .float--power { display: none; }
}
@media (max-width: 600px) {
  .float--toast { display: none; }
}

/* ---------- feature strip ---------- */
.strip { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: rgba(18, 21, 26, .6); }
.strip ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 40px; margin: 0 auto; padding: 26px 0; list-style: none; }
.strip li { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); font-weight: 600; font-size: .98rem; }
.strip svg { width: 22px; height: 22px; color: var(--accent); }

/* ---------- feature rows ---------- */
.feature {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  align-items: center; gap: clamp(32px, 6vw, 80px);
}
.feature + .feature { margin-top: clamp(80px, 11vw, 140px); }
.feature--flip { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
.feature--flip .feature__media { order: -1; }
.feature__copy h3 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
.feature__copy .lead { margin-bottom: 22px; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.ticks li { position: relative; padding-left: 32px; color: #c9d0da; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .32em; width: 20px; height: 20px; border-radius: 7px;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%235eead4' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat;
  border: 1px solid var(--accent-line);
}
.feature__media { position: relative; }
.feature__media::before {
  content: ""; position: absolute; inset: 10% 6%; z-index: -1;
  background: radial-gradient(closest-side, rgba(45, 212, 191, .28), transparent);
  filter: blur(36px);
}
.media-stack { position: relative; padding-bottom: 12%; }
.media-stack .window--inset {
  position: absolute; width: 52%; right: -4%; bottom: 0;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .5), 0 30px 60px -20px rgba(0, 0, 0, .9), 0 0 60px -14px rgba(45, 212, 191, .45);
}
/* comparison table (cameras-on-PC page) */
.compare-wrap { max-width: 1040px; margin: 0 auto; overflow-x: auto; padding: 18px 4px 4px; }
.compare { width: 100%; min-width: 760px; border-collapse: separate; border-spacing: 0; font-size: .95rem; }
.compare th, .compare td { padding: 16px 18px; text-align: left; vertical-align: middle; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.compare thead th { color: #eef2f6; font-weight: 700; font-size: 1.02rem; vertical-align: bottom; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.compare thead th span { display: block; margin-top: 3px; font-weight: 500; font-size: .8rem; color: var(--muted); }
.compare tbody th { color: #dfe6ec; font-weight: 600; width: 27%; }
.compare tbody tr:hover th, .compare tbody tr:hover td:not(.is-us) { background: rgba(255, 255, 255, .02); }
.compare .is-us { position: relative; background: linear-gradient(180deg, rgba(45, 212, 191, .11), rgba(45, 212, 191, .06));
  border-left: 1px solid var(--accent-line); border-right: 1px solid var(--accent-line); }
.compare thead .is-us { color: var(--accent-hi); border-top: 1px solid var(--accent-line); border-radius: 16px 16px 0 0;
  box-shadow: 0 -18px 50px -24px rgba(45, 212, 191, .6); }
.compare tbody tr:last-child .is-us { border-bottom: 1px solid var(--accent-line); border-radius: 0 0 16px 16px; }
.compare tbody tr:last-child th, .compare tbody tr:last-child td:not(.is-us) { border-bottom: 0; }
.compare__badge { position: absolute; top: -12px; left: 18px; font-style: normal; font-size: .68rem; font-weight: 800;
  letter-spacing: .06em; text-transform: uppercase; color: var(--accent-ink, #04201c); background: var(--accent-hi);
  padding: 4px 10px; border-radius: 999px; box-shadow: 0 6px 18px -6px rgba(45, 212, 191, .8); }
.mk { display: inline-flex; align-items: center; gap: 9px; color: #aeb8c4; line-height: 1.35; }
.mk::before { flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center;
  font-size: .75rem; font-weight: 800; }
.mk--yes::before { content: "✓"; color: #04201c; background: var(--accent-hi); }
.mk--no::before { content: "✕"; color: #8a95a3; background: rgba(255, 255, 255, .07); }
.mk--part::before { content: "–"; color: #e7c37a; background: rgba(231, 195, 122, .14); }
.compare .is-us .mk { color: #eef2f6; font-weight: 600; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.card-ish { padding: 18px 20px; border-radius: 16px; background: var(--surface); border: 1px solid rgba(255, 255, 255, .07); color: #aeb8c4; }
.card-ish b { display: block; color: #eef2f6; margin-bottom: 4px; }
@media (max-width: 700px) { .camwall__points[style*="1fr 1fr"] { grid-template-columns: 1fr !important; } }
/* camera wall */
.camwall__frame {
  position: relative; margin: 0 auto; max-width: 1180px; border-radius: 22px; overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .09); background: #000;
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .95), 0 0 120px -30px rgba(45, 212, 191, .5);
}
.camwall__frame img { display: block; width: 100%; height: auto; }
.camwall__frame::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(94, 234, 212, .12);
}
.camwall__points {
  list-style: none; margin: clamp(28px, 4vw, 44px) auto 0; padding: 0; max-width: 1180px;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px;
}
.camwall__points li {
  display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: 16px;
  background: var(--surface, #161b22); border: 1px solid rgba(255, 255, 255, .07); color: #aeb8c4;
}
.camwall__points svg { flex: none; width: 22px; height: 22px; color: var(--accent-hi); margin-top: 2px; }
.camwall__points b { display: block; color: #eef2f6; font-weight: 700; margin-bottom: 2px; }
@media (max-width: 760px) { .camwall__points { grid-template-columns: 1fr; } }
.tag {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 999px;
  background: var(--accent-soft); border: 1px solid var(--accent-line); color: var(--accent-hi);
  font-size: .78rem; font-weight: 700; letter-spacing: .02em; margin-bottom: 16px;
}
.tag svg { width: 15px; height: 15px; }
@media (max-width: 880px) {
  .feature, .feature--flip { grid-template-columns: 1fr; }
  .feature--flip .feature__media { order: 0; }
  .feature__media { order: 2; }
}

/* ---------- bento ---------- */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; }
.card {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, rgba(31, 36, 44, .75), rgba(24, 28, 34, .75));
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 28px;
  transition: border-color .3s, transform .3s var(--ease);
}
.card:hover { border-color: var(--border-hi); }
.card::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, -20%), rgba(45, 212, 191, .10), transparent 45%);
  opacity: 0; transition: opacity .3s;
}
.card:hover::after { opacity: 1; }
.card h3 { font-size: 1.22rem; margin-bottom: 8px; letter-spacing: -0.015em; }
.card p { color: var(--muted); font-size: .97rem; margin: 0; }
.card .ic {
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px;
  background: var(--accent-soft); border: 1px solid var(--accent-line); color: var(--accent-hi);
}
.card .ic svg { width: 23px; height: 23px; }
.span-2 { grid-column: span 2; }
.span-3 { grid-column: span 3; }
.span-4 { grid-column: span 4; }
.row-2 { grid-row: span 2; }
.card--mini { display: flex; flex-direction: column; }
.mini-shot {
  margin: 26px auto -70px; width: 88%; aspect-ratio: 858 / 870; border-radius: 14px;
  background: linear-gradient(180deg, #1b1f26, #181c22); border: 1px solid var(--border-hi);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .9), 0 0 60px -12px rgba(45, 212, 191, .4);
  transform: rotate(-2deg); overflow: hidden;
}
.mini-shot img { width: 100%; height: 100%; object-fit: contain; }
@media (max-width: 620px) { .mini-shot { margin-bottom: -40px; } .media-stack .window--inset { right: -2%; } }
.kbd-row { display: flex; gap: 8px; margin: 18px 0 2px; flex-wrap: wrap; }
.kbd-row kbd { font-size: 1rem; padding: .35em .75em; }
.tray {
  margin-top: 20px; display: flex; align-items: center; justify-content: flex-end; gap: 14px;
  padding: 10px 14px; border-radius: 12px; background: rgba(14, 16, 20, .8); border: 1px solid var(--border);
  font-size: .8rem; color: #c9d0da;
}
.tray .tray__icon { width: 22px; height: 22px; border-radius: 6px; padding: 2px; background: rgba(45, 212, 191, .15); box-shadow: 0 0 16px rgba(45, 212, 191, .5); }
.tray .sys { display: inline-flex; gap: 10px; opacity: .7; }
.tray .sys svg { width: 15px; height: 15px; }
.trigger-list { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.trigger-list li { padding: 6px 12px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--border-hi); font-size: .84rem; color: #c9d0da; }
.notif { margin-top: 20px; display: flex; gap: 11px; padding: 13px 14px; border-radius: 14px; background: #1b1f26; border: 1px solid var(--border-hi); font-size: .84rem; line-height: 1.35; }
.notif .ic2 { width: 28px; height: 28px; flex: none; }
.notif b { display: block; }
.notif span { color: var(--muted); }
@media (max-width: 960px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .span-2, .span-3 { grid-column: span 1; }
  .span-4 { grid-column: span 2; }
  .row-2 { grid-row: auto; }
}
@media (max-width: 620px) {
  .bento { grid-template-columns: 1fr; }
  .span-2, .span-3, .span-4 { grid-column: auto; }
}

.frames { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-top: 22px; position: relative; }
.frames i { aspect-ratio: 4 / 3; border-radius: 9px; border: 1px solid rgba(255, 255, 255, .06); display: block; }
.frames i:nth-of-type(1) { background: linear-gradient(180deg, #1e2a4a, #2b3b5c 60%, #1d3a2f 61%); }
.frames i:nth-of-type(2) { background: linear-gradient(180deg, #4a6a9a, #f0b38a 60%, #2c4a3a 61%); }
.frames i:nth-of-type(3) { background: linear-gradient(180deg, #6fb2e6, #bfe3f5 60%, #3e7a52 61%); }
.frames i:nth-of-type(4) { background: linear-gradient(180deg, #e98d5d, #f6c48a 60%, #34573f 61%); }
.frames i:nth-of-type(5) { background: linear-gradient(180deg, #1a2140, #39345e 60%, #1b2e27 61%); }
.rec { position: absolute; top: -34px; right: 0; display: inline-flex; align-items: center; gap: 7px; font-size: .74rem; font-weight: 800; letter-spacing: .1em; color: #fca5a5; }
.rec::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--danger); box-shadow: 0 0 10px var(--danger); }

/* ---------- theme showcase ---------- */
.themes { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: clamp(32px, 6vw, 72px); align-items: center; }
.seg {
  display: inline-flex; padding: 5px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border-hi); gap: 4px; margin-top: 10px;
}
.seg button {
  font: inherit; font-weight: 600; font-size: .95rem; color: var(--muted); background: transparent; border: 0;
  padding: 9px 18px; border-radius: 10px; cursor: pointer; display: inline-flex; align-items: center; gap: 8px;
  transition: background .2s, color .2s;
}
.seg button svg { width: 17px; height: 17px; }
.seg button[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); }
.theme-stage { position: relative; }
.theme-stage .window { transition: opacity .5s var(--ease), transform .5s var(--ease); }
.theme-stage .window--light { position: absolute; inset: 0; opacity: 0; transform: translateY(12px) scale(.98); pointer-events: none; }
.theme-stage.is-light .window--light { opacity: 1; transform: none; }
.theme-stage.is-light .window--dark { opacity: 0; transform: translateY(-8px) scale(.98); }
.theme-stage.is-light::before { background: radial-gradient(closest-side, rgba(255, 255, 255, .18), transparent); }
@media (max-width: 880px) { .themes { grid-template-columns: 1fr; } }

/* ---------- steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; counter-reset: step; position: relative; }
.steps::before {
  content: ""; position: absolute; top: 46px; left: 16%; right: 16%; height: 2px; z-index: 0;
  background: linear-gradient(90deg, transparent, var(--accent-line) 15%, var(--accent-line) 85%, transparent);
}
.step { position: relative; z-index: 1; text-align: center; padding: 0 12px; }
.step__num {
  width: 92px; height: 92px; margin: 0 auto 24px; border-radius: 28px;
  display: grid; place-items: center; position: relative;
  background: linear-gradient(160deg, #1d2a2b, #14181d); border: 1px solid var(--accent-line);
  box-shadow: 0 0 40px -10px rgba(45, 212, 191, .5), inset 0 1px 0 rgba(255, 255, 255, .06);
  color: var(--accent-hi);
}
.step__num svg { width: 38px; height: 38px; }
.step__num::after {
  counter-increment: step; content: counter(step);
  position: absolute; top: -9px; right: -9px; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 800; font-size: .88rem;
  background: var(--accent); color: var(--accent-ink); box-shadow: 0 0 0 5px var(--bg);
}
.step h3 { font-size: 1.28rem; }
.step p { color: var(--muted); max-width: 320px; margin: 0 auto; }
@media (max-width: 800px) {
  .steps { grid-template-columns: 1fr; gap: 44px; }
  .steps::before { top: 46px; bottom: 46px; left: 50%; right: auto; width: 2px; height: auto; background: linear-gradient(180deg, transparent, var(--accent-line) 10%, var(--accent-line) 90%, transparent); opacity: .5; }
  .step p { background: var(--bg); }
}

/* ---------- devices ---------- */
.devices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.device { text-align: left; padding: 32px; }
.device__art {
  height: 150px; margin: -32px -32px 26px; display: grid; place-items: center;
  background: radial-gradient(70% 90% at 50% 100%, rgba(45, 212, 191, .18), transparent 70%), linear-gradient(180deg, #161a20, #1b2027);
  border-bottom: 1px solid var(--border);
}
.device__art svg { width: 100px; height: 100px; color: var(--accent-hi); filter: drop-shadow(0 8px 24px rgba(45, 212, 191, .35)); }
.models { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 18px; }
.models span { font-size: .8rem; font-weight: 700; padding: 4px 10px; border-radius: 8px; background: var(--surface-3); color: #d4dae3; }
.fineprint { color: var(--muted); font-size: .9rem; text-align: center; max-width: 720px; margin: 32px auto 0; }
@media (max-width: 900px) { .devices { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; } }

/* ---------- privacy ---------- */
.privacy {
  position: relative; border-radius: 32px; overflow: hidden;
  padding: clamp(36px, 6vw, 72px);
  background:
    radial-gradient(600px 400px at 85% 20%, rgba(45, 212, 191, .16), transparent 60%),
    linear-gradient(160deg, #141a1e, #111418);
  border: 1px solid var(--border-hi);
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: center;
}
.privacy__visual { position: relative; display: grid; place-items: center; min-height: 340px; }
.privacy__visual svg.shield { width: min(300px, 80%); height: auto; filter: drop-shadow(0 20px 60px rgba(45, 212, 191, .35)); }
.orbit { position: absolute; inset: 50% auto auto 50%; border-radius: 50%; border: 1px dashed rgba(94, 234, 212, .22); transform: translate(-50%, -50%); }
.orbit--1 { width: 340px; height: 340px; }
.orbit--2 { width: 460px; height: 460px; border-style: solid; border-color: rgba(94, 234, 212, .07); }
.priv-points { list-style: none; margin: 26px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.priv-points li { display: flex; gap: 12px; }
.priv-points svg { width: 22px; height: 22px; flex: none; color: var(--accent); margin-top: 3px; }
.priv-points b { display: block; font-size: 1rem; }
.priv-points span { color: var(--muted); font-size: .93rem; }
@media (max-width: 900px) {
  .privacy { grid-template-columns: 1fr; }
  .privacy__visual { min-height: 260px; order: -1; }
  .orbit--1 { width: 250px; height: 250px; }
  .orbit--2 { width: 340px; height: 340px; }
}
@media (max-width: 560px) { .priv-points { grid-template-columns: 1fr; } }

/* ---------- testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.quote { display: flex; flex-direction: column; margin: 0; }
.quote blockquote { margin: 0 0 22px; font-size: 1.04rem; line-height: 1.6; color: #dde2ea; flex: 1; }
.quote blockquote::before { content: "\201C"; display: block; font-size: 3.4rem; line-height: .8; color: var(--accent); font-weight: 800; margin-bottom: 4px; }
.quote figcaption { display: flex; align-items: center; gap: 12px; font-size: .92rem; }
.quote figcaption b { display: block; }
.quote figcaption span { color: var(--muted); font-size: .85rem; }
.quote figcaption .avatar { color: var(--accent-ink); font-size: 1rem; }
.avatar { width: 42px; flex: none; height: 42px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: var(--accent-ink); background: linear-gradient(135deg, var(--accent-hi), var(--accent-deep)); }
.stars { display: flex; gap: 3px; color: var(--warn); margin-bottom: 14px; }
.stars svg { width: 17px; height: 17px; }
@media (max-width: 900px) { .quotes { grid-template-columns: 1fr; max-width: 620px; margin: 0 auto; } }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details {
  background: var(--surface); border: 1px solid var(--border); border-radius: 18px;
  transition: border-color .25s, background .25s;
}
.faq details[open] { border-color: var(--accent-line); background: linear-gradient(180deg, #172021, var(--surface)); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 24px; display: flex; align-items: center; gap: 16px;
  font-weight: 700; font-size: 1.06rem; border-radius: 18px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; margin-left: auto; flex: none; width: 30px; height: 30px; border-radius: 10px;
  background: var(--surface-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 4v12M4 10h12' stroke='%235eead4' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / 14px no-repeat;
  transition: transform .3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 24px 22px; color: var(--muted); }
.faq .answer p:last-child { margin: 0; }
.faq details[open] .answer { animation: faq-in .35s var(--ease); }

/* ---------- CTA ---------- */
.cta {
  position: relative; text-align: center; overflow: hidden;
  border-radius: 36px; padding: clamp(56px, 8vw, 100px) var(--gutter);
  background:
    radial-gradient(700px 360px at 50% 120%, rgba(45, 212, 191, .45), transparent 70%),
    radial-gradient(500px 300px at 50% -30%, rgba(94, 234, 212, .12), transparent 70%),
    linear-gradient(180deg, #121a1c, #0f1316);
  border: 1px solid var(--accent-line);
}
.cta .app-icon { width: 96px; height: 96px; margin: 0 auto 28px; filter: drop-shadow(0 18px 40px rgba(45, 212, 191, .5)); animation: glow-icon 5s ease-in-out infinite; }
.cta h2 { font-size: clamp(2.1rem, 5vw, 3.6rem); font-weight: 800; letter-spacing: -0.035em; }
.cta .lead { max-width: 560px; margin: 0 auto 34px; }

/* ---------- footer ---------- */
.site-footer { margin-top: clamp(48px, 7vw, 80px); border-top: 1px solid var(--border); background: #0b0d10; padding: 56px 0 40px; font-size: .92rem; color: var(--muted); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.site-footer h2 { font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--faint); margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: #c9d0da; text-decoration: none; }
.site-footer a:hover { color: var(--accent-hi); text-decoration: underline; }
.footer-legal { margin-top: 44px; padding-top: 26px; border-top: 1px solid var(--border); display: grid; gap: 6px; font-size: .84rem; color: #828c9b; }
.footer-legal p { margin: 0; }
.site-footer .brand { margin-bottom: 14px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }

/* ---------- document pages (privacy / support) ---------- */
.page-hero { padding: clamp(56px, 9vw, 110px) 0 clamp(32px, 5vw, 56px); text-align: center; }
.page-hero h1 { font-size: clamp(2.4rem, 6vw, 4rem); font-weight: 800; letter-spacing: -0.035em; }
.page-hero .lead { max-width: 640px; margin: 0 auto; }
.page-hero .hero__ctas { margin-top: 32px; }
.doc {
  max-width: 820px; margin: 0 auto;
  background: linear-gradient(180deg, rgba(24, 28, 34, .9), rgba(18, 21, 26, .9));
  border: 1px solid var(--border); border-radius: 28px;
  padding: clamp(28px, 5vw, 56px);
}
.doc h2 { font-size: 1.4rem; margin-top: 2em; display: flex; align-items: baseline; gap: 12px; }
.doc h2:first-of-type { margin-top: 0; }
.doc h2 .n { color: var(--accent); font-size: .95rem; font-weight: 800; min-width: 1.6em; }
.doc p, .doc li { color: #c9d0da; }
.doc ul, .doc ol { padding-left: 1.3em; margin: 0 0 1em; }
.doc li { margin-bottom: .5em; }
.doc li::marker { color: var(--accent); }
.doc .meta { display: inline-block; color: var(--muted); font-size: .92rem; padding: 6px 14px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--border-hi); margin-bottom: 28px; }
.doc .note { border-left: 3px solid var(--accent); background: rgba(45, 212, 191, .06); padding: 14px 18px; border-radius: 0 12px 12px 0; color: #c9d0da; margin: 1.6em 0 0; font-size: .95rem; }
.path { font-weight: 700; color: var(--text); white-space: nowrap; }

.setup-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; counter-reset: s; }
.setup-steps > li { counter-increment: s; position: relative; padding: 24px 24px 24px 80px; border-radius: 20px; background: var(--surface); border: 1px solid var(--border); }
.setup-steps > li::before {
  content: counter(s); position: absolute; left: 22px; top: 22px; width: 40px; height: 40px; border-radius: 13px;
  display: grid; place-items: center; font-weight: 800; color: var(--accent-ink);
  background: linear-gradient(135deg, var(--accent-hi), var(--accent-deep)); box-shadow: 0 6px 20px -6px rgba(45, 212, 191, .6);
}
.setup-steps h3 { font-size: 1.15rem; margin-bottom: 6px; }
.setup-steps p { color: var(--muted); margin: 0 0 .6em; }
.setup-steps p:last-child { margin: 0; }
.support-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(56px, 8vw, 96px); max-width: 860px; margin: 0 auto; }
.contact-card { text-align: center; padding: clamp(32px, 5vw, 52px); }
.contact-card .ic { margin: 0 auto 18px; }
.contact-card h2 { font-size: 1.8rem; }
.contact-card p { margin-bottom: 22px; }
@media (max-width: 560px) { .setup-steps > li { padding: 76px 20px 22px; } }

/* ---------- 404 ---------- */
.notfound { min-height: 62vh; display: grid; place-items: center; text-align: center; padding: 80px 0 20px; }
.notfound .big { font-size: clamp(6rem, 20vw, 11rem); font-weight: 800; letter-spacing: -0.06em; line-height: 1; margin-bottom: 8px; }

/* ---------- motion ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }

@keyframes glow-pulse { 0%, 100% { opacity: .75; transform: scale(1); } 50% { opacity: 1; transform: scale(1.05); } }
@keyframes glow-icon { 0%, 100% { filter: drop-shadow(0 18px 40px rgba(45, 212, 191, .4)); } 50% { filter: drop-shadow(0 18px 60px rgba(45, 212, 191, .75)); } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(45, 212, 191, .6); } 80%, 100% { box-shadow: 0 0 0 9px rgba(45, 212, 191, 0); } }
@keyframes faq-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .hero__window { transform: none; }
}
.notfound h1 { font-size: clamp(1.6rem, 6.5vw, 3.2rem); }
