/* TrackLab landing — standalone page, does not use theme.css */
:root {
  --bg: #070b14;
  --bg-2: #0b1120;
  --card: rgba(255, 255, 255, .04);
  --card-2: rgba(255, 255, 255, .07);
  --line: rgba(255, 255, 255, .09);
  --line-2: rgba(255, 255, 255, .16);
  --text: #eef2f8;
  --dim: #9aa6b8;
  --faint: #5f6b7d;
  --blue: #3b82f6;
  --blue-2: #2563eb;
  --cyan: #22d3ee;
  --violet: #8b5cf6;
  --green: #22c55e;
  --red: #f05252;
  --amber: #f59e0b;
  --grad: linear-gradient(100deg, #60a5fa 0%, #22d3ee 45%, #34d399 100%);
  --sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --r: 22px;
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body.tl {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
.tl :where(img) { max-width: 100%; display: block; }
:where(.tl) a { color: inherit; }
:where(.tl) :where(h1, h2, h3) { margin: 0; line-height: 1.08; letter-spacing: -.025em; font-weight: 800; }
:where(.tl) h2 { font-size: clamp(32px, 4.6vw, 54px); }
:where(.tl) h3 { font-size: 20px; letter-spacing: -.01em; }
:where(.tl) p { margin: 0; }
.mono { font-family: var(--mono); }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.ic { flex: none; }
.good { color: var(--green); }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.kicker {
  display: inline-block; margin-bottom: 18px;
  font: 600 13px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--cyan);
}
.kicker.center { display: block; text-align: center; }
.sub { color: var(--dim); font-size: 19px; max-width: 620px; margin-top: 18px; }
.sec { padding: 120px 0; position: relative; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 14px 24px 14px 20px; border-radius: 16px;
  text-decoration: none; font-weight: 600; line-height: 1.2;
  transition: transform .2s, box-shadow .2s, background .2s, border-color .2s;
  -webkit-tap-highlight-color: transparent;
}
.btn span { display: flex; flex-direction: column; text-align: left; }
.btn b { font-size: 17px; font-weight: 700; }
.btn small { font: 500 12.5px/1.3 var(--mono); opacity: .75; margin-top: 3px; }
.btn-primary {
  color: #fff; background: linear-gradient(135deg, #3b82f6, #2563eb 60%, #1d4ed8);
  box-shadow: 0 10px 40px -8px rgba(37, 99, 235, .7), inset 0 1px 0 rgba(255, 255, 255, .25);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 50px -8px rgba(37, 99, 235, .9), inset 0 1px 0 rgba(255, 255, 255, .25); }
.btn-ghost { color: var(--text); background: var(--card); border: 1px solid var(--line-2); backdrop-filter: blur(10px); }
.btn-ghost:hover { transform: translateY(-2px); background: var(--card-2); border-color: rgba(255, 255, 255, .3); }
.btn-small { padding: 9px 16px 9px 12px; gap: 6px; font-size: 15px; border-radius: 12px; color: #fff; background: var(--blue-2); }
.btn-small:hover { background: var(--blue); }
.ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.ctas.center { justify-content: center; }

/* ---------- top bar ---------- */
.topbar {
  position: fixed; inset: 0 0 auto; z-index: 50;
  transition: background .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.topbar.scrolled { background: rgba(7, 11, 20, .78); backdrop-filter: blur(16px) saturate(1.4); border-color: var(--line); }
.topbar-in { display: flex; align-items: center; gap: 28px; height: 68px; }
.crumbs { display: flex; align-items: center; gap: 12px; }
.site-link { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--dim); font: 600 13px/1 var(--mono); letter-spacing: .06em; padding: 6px 10px 6px 6px; margin-left: -6px; border-radius: 10px; transition: background .2s, color .2s; }
.site-link:hover { color: var(--text); background: var(--card-2); }
.site-link img { width: 30px; height: auto; }
.site-arrow { font-family: var(--sans); font-size: 16px; transition: transform .2s; }
.site-link:hover .site-arrow { transform: translateX(-3px); }
.crumb-sep { color: var(--faint); font-size: 20px; font-weight: 300; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; text-decoration: none; letter-spacing: -.01em; }
.brand-mark {
  display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px;
  color: #fff; background: linear-gradient(135deg, #3b82f6, #22d3ee);
  box-shadow: 0 6px 20px -4px rgba(59, 130, 246, .6);
}
.brand-mark.sm { width: 26px; height: 26px; border-radius: 8px; }
.brand-mark.lg { width: 76px; height: 76px; border-radius: 22px; margin-bottom: 28px; }
.topnav { display: flex; gap: 26px; margin-left: 12px; }
.topnav a { color: var(--dim); text-decoration: none; font-size: 15px; font-weight: 500; transition: color .2s; }
.topnav a:hover { color: var(--text); }
.topbar-end { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.lang { color: var(--dim); text-decoration: none; font: 600 13px/1 var(--mono); letter-spacing: .06em; }
.lang:hover { color: var(--text); }

/* ---------- hero ---------- */
.hero { position: relative; padding: 150px 0 100px; overflow: hidden; min-height: 100vh; display: flex; align-items: center; }
.hero-bg, .final-bg { position: absolute; inset: 0; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; animation: drift 18s ease-in-out infinite alternate; }
.hero .b1 { width: 620px; height: 620px; background: #1d4ed8; top: -180px; right: -120px; }
.hero .b2 { width: 480px; height: 480px; background: #0e7490; bottom: -200px; left: 25%; animation-delay: -6s; opacity: .4; }
.hero .b3 { width: 380px; height: 380px; background: #6d28d9; top: 30%; left: -160px; animation-delay: -12s; opacity: .35; }
.grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, #000 30%, transparent 75%);
}
@keyframes drift { to { transform: translate(60px, 40px) scale(1.12); } }
.hero-in { position: relative; display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px 8px 12px; border-radius: 999px;
  background: rgba(59, 130, 246, .12); border: 1px solid rgba(96, 165, 250, .3);
  color: #bfdbfe; font-size: 14px; font-weight: 600;
}
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(34, 197, 94, .6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); } 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); } }
.hero h1 { font-size: clamp(48px, 7.6vw, 96px); margin-top: 26px; letter-spacing: -.045em; line-height: .98; }
.lead { font-size: clamp(18px, 1.6vw, 21px); color: var(--dim); margin-top: 26px; max-width: 580px; }
.chips { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--dim); font-size: 15px; }
.chips li { display: inline-flex; align-items: center; gap: 7px; }
.chips .ic { color: var(--green); }

.hero-visual { position: relative; height: 700px; perspective: 1400px; }
/* Phone mockup: see phone.css */

/* Hover tilt for the feature and gallery phones. */
.tilt-hover .phone { transition: transform .6s cubic-bezier(.2, .7, .2, 1), box-shadow .6s cubic-bezier(.2, .7, .2, 1); }
/* Touch screens make :hover sticky after a tap, so the tilt effect is desktop-only. */
@media (hover: hover) {
  .tilt-hover:hover .tilt-r { box-shadow: var(--side-r); transform: perspective(1400px) translateY(-.8em) rotateY(-16deg) rotateX(4deg) rotateZ(2deg); }
  .tilt-hover:hover .tilt-l { box-shadow: var(--side-l); transform: perspective(1400px) translateY(-.8em) rotateY(16deg) rotateX(4deg) rotateZ(-2deg); }
  .tilt-hover:hover .phone-screen::after { opacity: 1; transform: none; }
  .tilt-hover:hover .tilt-r::before { right: -1.15em; }
  .tilt-hover:hover .tilt-l::after { left: -1.15em; }
}

.phone-back { position: absolute; top: 20px; left: 2%; transform: rotateY(18deg) rotateZ(-6deg) scale(.88); opacity: .7; filter: saturate(.8); }
.phone-back .phone-screen::after { opacity: .7; }
.phone-front { position: absolute; top: 0; right: 4%; transform: rotateY(-14deg) rotateX(4deg) rotateZ(3deg); animation: floatY 7s ease-in-out infinite; }
@keyframes floatY { 50% { translate: 0 -14px; } }
.float {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px;
  padding: 14px 18px; border-radius: 16px;
  background: rgba(15, 22, 36, .78); border: 1px solid var(--line-2); backdrop-filter: blur(14px);
  box-shadow: 0 20px 40px -12px rgba(0, 0, 0, .7); font-size: 14px; font-weight: 600;
  animation: floatY 6s ease-in-out infinite;
}
.f-label { display: block; font: 600 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--dim); margin-bottom: 6px; }
.float .f-val { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; color: var(--dim); }
.f1 { flex-direction: column; align-items: flex-start; gap: 0; left: -4%; top: 52%; animation-delay: -2s; }
.f2 { right: -2%; top: 8%; animation-delay: -4s; }
.f2 b { font-size: 18px; }
.f3 { left: 6%; bottom: 4%; color: #bbf7d0; background: rgba(20, 83, 45, .55); border-color: rgba(74, 222, 128, .3); }
.fire { color: var(--amber); }
.ok-dot { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--green); color: #052e16; }

/* ---------- why ---------- */
.why { padding: 110px 0 40px; }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 44px; }
.why-card { padding: 28px 26px 30px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); transition: transform .3s, border-color .3s; }
.why-card:hover { transform: translateY(-4px); border-color: rgba(96, 165, 250, .4); }
.why-card:first-child { background: linear-gradient(160deg, rgba(37, 99, 235, .22), rgba(34, 211, 238, .06)); border-color: rgba(96, 165, 250, .4); }
.why-card b { display: flex; align-items: baseline; gap: 8px; font-size: clamp(34px, 3.6vw, 46px); font-weight: 600; letter-spacing: -.03em; line-height: 1.1; }
.why-card b > span, .why-card b:not(:has(span)) { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.why-card b small { font: 600 15px/1 var(--sans); color: var(--dim); letter-spacing: 0; }
.why-label { display: block; margin-top: 6px; font-weight: 700; font-size: 17px; }
.why-card p { color: var(--dim); font-size: 15px; margin-top: 10px; }

/* ---------- problem ---------- */
.problem { text-align: center; }
.big { max-width: 960px; margin: 0 auto; font-size: clamp(34px, 5vw, 62px); }
.muted-strike { color: var(--faint); text-decoration: line-through; text-decoration-color: rgba(240, 82, 82, .7); text-decoration-thickness: 4px; }
.versus { display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; align-items: center; margin-top: 70px; text-align: left; }
.vs-card { padding: 34px; border-radius: var(--r); border: 1px solid var(--line); background: var(--card); }
.vs-card h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; }
.vs-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.vs-card li { display: flex; gap: 12px; align-items: flex-start; font-size: 17px; }
.vs-card li .ic { margin-top: 3px; }
.vs-other { color: var(--dim); }
.vs-other .ic { color: var(--red); }
.vs-ours {
  background: linear-gradient(160deg, rgba(37, 99, 235, .2), rgba(34, 211, 238, .06));
  border-color: rgba(96, 165, 250, .4); box-shadow: 0 30px 80px -30px rgba(37, 99, 235, .6);
}
.vs-ours .ic { color: var(--green); }
.vs-mid { font: 700 14px/1 var(--mono); color: var(--faint); width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); }

/* ---------- how ---------- */
.how h2 { max-width: 760px; }
.steps { list-style: none; padding: 0; margin: 60px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: s; position: relative; }
.step {
  position: relative; padding: 34px 30px 36px; border-radius: var(--r);
  background: var(--card); border: 1px solid var(--line); overflow: hidden;
  transition: transform .3s, border-color .3s;
}
.step:hover { transform: translateY(-6px); border-color: rgba(96, 165, 250, .45); }
.step::after {
  content: ""; position: absolute; inset: auto -30% -60% auto; width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 130, 246, .25), transparent 70%); pointer-events: none;
}
.step-n { position: absolute; top: 26px; right: 28px; font-size: 54px; font-weight: 600; color: rgba(255, 255, 255, .06); line-height: 1; }
.step-ic { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: rgba(59, 130, 246, .14); color: #93c5fd; margin-bottom: 26px; }
.step h3 { font-size: 23px; margin-bottom: 12px; }
.step p { color: var(--dim); }

/* ---------- demo ---------- */
.demo { background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(37, 99, 235, .12), transparent 70%); }
.demo-box { margin-top: 50px; border-radius: 28px; border: 1px solid var(--line-2); background: linear-gradient(180deg, rgba(17, 24, 39, .9), rgba(10, 15, 26, .9)); box-shadow: 0 40px 100px -40px rgba(0, 0, 0, .9); overflow: hidden; }
.demo-tabs { display: flex; gap: 8px; padding: 14px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.demo-tabs::-webkit-scrollbar { display: none; }
.demo-tab {
  flex: none; display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 18px; border-radius: 12px; border: 1px solid transparent; cursor: pointer;
  background: transparent; color: var(--dim); font: 600 15px/1.2 var(--sans); transition: all .2s;
}
.demo-tab:hover { color: var(--text); background: var(--card); }
.demo-tab.on { color: #fff; background: rgba(59, 130, 246, .18); border-color: rgba(96, 165, 250, .4); }
.demo-body { padding: 30px 34px 26px; }
.demo-meta { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.demo-nums { display: flex; align-items: center; gap: 12px; font-size: clamp(26px, 3.4vw, 38px); color: var(--dim); }
.demo-nums .ic { color: var(--faint); }
.demo-verdict {
  display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 12px;
  background: rgba(22, 101, 52, .35); border: 1px solid rgba(74, 222, 128, .35); color: #bbf7d0; font-weight: 700;
  opacity: 0; transform: translateY(8px) scale(.96); transition: opacity .4s, transform .4s;
}
.demo-verdict.show { opacity: 1; transform: none; }
.demo-chart { width: 100%; height: 280px; margin-top: 22px; overflow: visible; }
.demo-chart .gridline { stroke: rgba(255, 255, 255, .06); }
.demo-chart .axis { fill: var(--faint); font: 500 11px var(--mono); }
.demo-chart .base-area { fill: rgba(148, 163, 184, .08); }
.demo-chart .base-line { fill: none; stroke: #64748b; stroke-width: 2.5; stroke-dasharray: 6 6; }
.demo-chart .base-avg { stroke: #94a3b8; stroke-width: 1.5; stroke-dasharray: 2 5; }
.demo-chart .exp-line { fill: none; stroke: url(#tlg); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 4px 12px rgba(34, 211, 238, .5)); }
.demo-chart .exp-area { fill: url(#tla); opacity: 0; transition: opacity .8s .9s; }
.demo-chart.drawn .exp-area { opacity: 1; }
.demo-chart .base-dot { fill: #64748b; }
.demo-chart .dot { fill: #0b1120; stroke: var(--cyan); stroke-width: 2.5; opacity: 0; transition: opacity .3s; }
.demo-chart .split { stroke: rgba(255, 255, 255, .2); stroke-dasharray: 3 4; }
.demo-chart .split-lbl { fill: var(--dim); font: 600 11px var(--mono); letter-spacing: .08em; }
.demo-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px; margin-top: 18px; color: var(--dim); font-size: 14px; }
.demo-legend span { display: inline-flex; align-items: center; gap: 8px; }
.demo-legend i { display: inline-block; width: 22px; height: 3px; border-radius: 2px; }
.lg-base { background: repeating-linear-gradient(90deg, #64748b 0 5px, transparent 5px 9px); }
.lg-exp { background: var(--grad); }
.demo-note { font: 500 12px var(--mono); color: var(--faint); }
.demo-replay { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; background: none; border: 1px solid var(--line-2); color: var(--dim); border-radius: 10px; padding: 7px 12px; font: 600 13px var(--sans); cursor: pointer; }
.demo-replay:hover { color: var(--text); border-color: rgba(255, 255, 255, .3); }

/* ---------- features ---------- */
.feat { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; padding: 40px 0; }
.feat + .feat { margin-top: 30px; }
.feat.flip .feat-copy { order: 2; }
.feat-n { display: block; font-size: 15px; color: var(--cyan); margin-bottom: 18px; }
.feat h2 { font-size: clamp(30px, 3.6vw, 44px); }
.feat p { color: var(--dim); font-size: 18px; margin-top: 18px; max-width: 500px; }
.pills { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.pills li { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--card); font-size: 14px; font-weight: 600; color: #cbd5e1; }
.feat-visual { position: relative; display: flex; justify-content: center; }
.feat-glow { position: absolute; width: 380px; height: 380px; top: 50%; left: 50%; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, rgba(59, 130, 246, .35), rgba(34, 211, 238, .08) 50%, transparent 70%); filter: blur(10px); }
.feat:nth-of-type(3) .feat-glow { background: radial-gradient(circle, rgba(34, 197, 94, .3), rgba(34, 211, 238, .08) 50%, transparent 70%); }
.feat:nth-of-type(2) .feat-glow { background: radial-gradient(circle, rgba(139, 92, 246, .32), rgba(59, 130, 246, .08) 50%, transparent 70%); }
.feat-visual .phone { font-size: 10.7px; }
.extras-title { text-align: center; font-size: clamp(26px, 3vw, 34px); margin: 110px 0 36px; }
.extras { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.extra { display: flex; gap: 16px; align-items: center; padding: 22px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); transition: border-color .2s, background .2s; }
.extra:hover { border-color: var(--line-2); background: var(--card-2); }
.extra-ic { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 13px; background: linear-gradient(135deg, rgba(59, 130, 246, .2), rgba(34, 211, 238, .12)); color: #7dd3fc; }
.extra b { display: block; font-size: 17px; }
.extra span { color: var(--dim); font-size: 14.5px; }

/* ---------- ideas marquee ---------- */
.ideas { padding: 60px 0 70px; border-block: 1px solid var(--line); background: var(--bg-2); overflow: hidden; }
.marquee { display: flex; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee + .marquee { margin-top: 14px; }
.marquee-track { display: flex; gap: 14px; flex: none; animation: marquee 60s linear infinite; padding-right: 14px; }
.marquee.rev .marquee-track { animation-direction: reverse; animation-duration: 70s; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.idea { flex: none; padding: 14px 22px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--card); font-size: 17px; font-weight: 600; white-space: nowrap; }
.idea::before { content: "?"; display: inline-grid; place-items: center; width: 22px; height: 22px; margin-right: 10px; border-radius: 50%; background: rgba(59, 130, 246, .2); color: #93c5fd; font: 700 13px var(--mono); vertical-align: 1px; }

/* ---------- privacy ---------- */
.priv-in { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; }
.priv-copy h2 { font-size: clamp(36px, 5.2vw, 64px); }
.priv-lock { position: relative; height: 300px; display: grid; place-items: center; }
.ring { position: absolute; border-radius: 50%; border: 1px solid rgba(34, 197, 94, .3); animation: ring 4s ease-out infinite; }
.r1 { width: 140px; height: 140px; }
.r2 { width: 220px; height: 220px; animation-delay: 1.3s; }
.r3 { width: 300px; height: 300px; animation-delay: 2.6s; }
@keyframes ring { 0% { transform: scale(.6); opacity: 0; } 30% { opacity: 1; } 100% { transform: scale(1.1); opacity: 0; } }
.lock-core { position: relative; display: grid; place-items: center; width: 116px; height: 116px; border-radius: 34px; color: #052e16; background: linear-gradient(135deg, #4ade80, #22c55e 50%, #15803d); box-shadow: 0 20px 60px -10px rgba(34, 197, 94, .6), inset 0 1px 0 rgba(255, 255, 255, .4); }
.priv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 50px; }
.priv-card { padding: 26px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); }
.priv-card .ic { color: var(--green); }
.priv-card b { display: block; font-size: 18px; margin-top: 16px; }
.priv-card span { display: block; color: var(--dim); font-size: 15px; margin-top: 6px; }

/* ---------- gallery ---------- */
.gallery { padding-bottom: 40px; }
.shots {
  display: flex; gap: 26px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 20px max(24px, calc((100vw - var(--wrap)) / 2 + 24px)) 60px;
  scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .2) transparent; outline: none;
}
.gallery-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; }
.gallery-nav { display: flex; gap: 10px; }
.round-btn {
  display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; cursor: pointer;
  color: var(--text); background: var(--card); border: 1px solid var(--line-2); transition: background .2s, border-color .2s, opacity .2s;
}
.round-btn:hover { background: var(--card-2); border-color: rgba(255, 255, 255, .3); }
.round-btn:disabled { opacity: .3; cursor: default; }
.flip-x { transform: scaleX(-1); }
.shots { cursor: grab; user-select: none; }
.shots.dragging { cursor: grabbing; scroll-snap-type: none; }
.shots.dragging .shot { pointer-events: none; }
.shot { flex: none; scroll-snap-align: center; cursor: zoom-in; }
.shots.dragging .shot { cursor: grabbing; }
.shot .phone { font-size: 8.6px; }

/* ---------- lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; gap: 28px;
  padding: 24px; background: rgba(3, 6, 12, .92); backdrop-filter: blur(14px);
  opacity: 0; transition: opacity .25s;
}
.lightbox[hidden] { display: none; }
.lightbox.open { opacity: 1; }
.lb-stage { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 16px; transform: scale(.96); transition: transform .25s; }
.lightbox.open .lb-stage { transform: none; }
/* Whole device height is ~66.5em; fit it into the viewport. */
.lb-phone { font-size: min(calc((100vh - 120px) / 66.5), 16px); box-shadow: inset 0 0 0 .1em rgba(255, 255, 255, .14), inset 0 0 0 .3em #07090d, 0 4em 10em -2em rgba(0, 0, 0, .9); }
.lb-img { background: var(--scr); touch-action: pan-y; transition: opacity .2s; }
.lb-img.swap { opacity: 0; }
.lightbox figcaption { color: var(--dim); font-weight: 600; }
.lb-count { color: var(--faint); font-size: 13px; margin-left: 8px; }
.lb-close { position: absolute; top: 20px; right: 20px; }
.lb-prev, .lb-next { flex: none; }
body.lb-open { overflow: hidden; }

/* ---------- install ---------- */
.install { padding-top: 80px; }
.install-steps { list-style: none; padding: 0; margin: 50px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; position: relative; }
.install-steps li { position: relative; padding: 0 30px 0 0; }
.install-steps li::before { content: ""; position: absolute; top: 26px; left: 64px; right: 10px; height: 1px; background: linear-gradient(90deg, var(--line-2), transparent); }
.install-steps li:last-child::before { display: none; }
.install-steps .mono { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(96, 165, 250, .5); background: rgba(59, 130, 246, .12); color: #93c5fd; font-size: 20px; font-weight: 600; margin-bottom: 22px; }
.install-steps b { font-size: 20px; }
.install-steps p { color: var(--dim); margin-top: 8px; }

/* ---------- faq ---------- */
.faq { padding-top: 60px; }
.faq h2 { text-align: center; }
.faq-list { max-width: 800px; margin: 44px auto 0; display: grid; gap: 12px; }
.faq details { border-radius: 18px; background: var(--card); border: 1px solid var(--line); transition: border-color .2s, background .2s; }
.faq details[open] { border-color: rgba(96, 165, 250, .35); background: var(--card-2); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 26px; font-size: 18px; font-weight: 700; display: flex; justify-content: space-between; gap: 20px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.plus { position: relative; flex: none; width: 18px; height: 18px; }
.plus::before, .plus::after { content: ""; position: absolute; left: 0; top: 8px; width: 18px; height: 2px; border-radius: 2px; background: var(--dim); transition: transform .25s; }
.plus::after { transform: rotate(90deg); }
details[open] .plus::after { transform: rotate(0); }
.faq details p { padding: 0 26px 24px; color: var(--dim); }
.faq details a { color: #93c5fd; }

/* ---------- final cta ---------- */
.final { position: relative; overflow: hidden; padding: 140px 0; margin-top: 60px; text-align: center; border-block: 1px solid var(--line); }
.final .b1 { width: 700px; height: 500px; background: #1d4ed8; left: 50%; top: 50%; transform: translate(-80%, -50%); opacity: .45; }
.final .b2 { width: 500px; height: 400px; background: #0891b2; left: 50%; top: 50%; transform: translate(0, -40%); opacity: .35; animation-delay: -8s; }
.final-in { position: relative; display: flex; flex-direction: column; align-items: center; }
.final h2 { max-width: 820px; font-size: clamp(36px, 5.6vw, 68px); }
.final .sub { margin-inline: auto; }
.final .memory { font-size: 15px; color: var(--cyan); margin: 0 0 18px; }

/* ---------- feedback ---------- */
.feedback { padding: 90px 0; }
.fb-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 20px; }
.fb-card { padding: 34px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); }
.fb-card h3 { display: flex; align-items: center; gap: 10px; font-size: 24px; margin-bottom: 14px; }
.fb-card h3 .ic { color: var(--cyan); }
.fb-card p { color: var(--dim); }
.btn-mail { margin-top: 22px; font-family: var(--mono); font-size: 15px; padding: 12px 20px; }
.thanks { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; color: var(--dim); }
.thanks b { color: var(--text); }
.thanks li { padding-left: 22px; text-indent: -22px; }
.thanks li::before { content: "★"; color: var(--amber); margin-right: 8px; }
.changelog { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.changelog a { color: #93c5fd; text-decoration: none; font-weight: 600; }
.changelog a:hover { text-decoration: underline; }

/* ---------- footer ---------- */
.foot { padding: 34px 0 40px; color: var(--faint); font-size: 14px; }
.foot-in { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.foot .brand { font-size: 16px; color: var(--dim); }
.foot-back { text-decoration: none; font-weight: 600; }
.foot-back:hover { color: var(--text); }
.foot a { color: var(--dim); }

/* ---------- sticky mobile CTA ---------- */
.sticky-cta { display: none; }

/* ---------- reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1) var(--d, 0ms), transform .8s cubic-bezier(.2, .7, .2, 1) var(--d, 0ms); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1040px) {
  .topnav { display: none; }
  .hero { min-height: 0; padding-top: 120px; }
  .hero-in { grid-template-columns: 1fr; text-align: center; }
  .hero-copy { display: flex; flex-direction: column; align-items: center; }
  .lead { margin-inline: auto; }
  .ctas { justify-content: center; }
  .chips { justify-content: center; }
  .hero-visual { height: 700px; max-width: 520px; width: 100%; margin: 20px auto 0; }
  .feat { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .feat.flip .feat-copy { order: 0; }
  .feat p { margin-inline: auto; }
  .pills { justify-content: center; }
  .extras { grid-template-columns: repeat(2, 1fr); }
  .priv-in { grid-template-columns: 1fr; text-align: center; }
  .priv-copy .sub { margin-inline: auto; }
  .priv-lock { height: 240px; }
  .priv-grid { grid-template-columns: repeat(2, 1fr); }
  .fb-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  body.tl { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .sec { padding: 80px 0; }
  .topbar-in { gap: 12px; height: 60px; }
  .site-name, .site-arrow { display: none; }
  .crumbs { gap: 8px; }
  .site-link { padding-right: 4px; }
  .hero { padding: 100px 0 60px; }
  .hero h1 { margin-top: 20px; }
  .ctas { flex-direction: column; align-items: stretch; width: 100%; }
  .btn { justify-content: center; }
  .hero-visual { height: 550px; }
  .phone { font-size: 7.9px; }
  .phone-back { left: -4%; }
  .phone-front { right: 0; }
  .float { padding: 10px 13px; font-size: 13px; }
  .f1 { left: 0; }
  .f2 { right: 0; top: 0; }
  .f3 { left: 2%; bottom: 0; }
  .why { padding-top: 80px; }
  .why-grid { grid-template-columns: 1fr; }
  .versus { grid-template-columns: 1fr; margin-top: 44px; }
  .vs-mid { margin: 0 auto; }
  .vs-card { padding: 26px 22px; }
  .steps { grid-template-columns: 1fr; margin-top: 40px; }
  .demo-body { padding: 22px 18px 20px; }
  .demo-chart { height: 220px; }
  .demo-replay { margin-left: 0; }
  .feat-visual .phone { font-size: 9px; }
  .feat-glow { width: 300px; height: 300px; }
  .extras { grid-template-columns: 1fr; }
  .extras-title { margin-top: 70px; }
  .priv-grid { grid-template-columns: 1fr; }
  .shot .phone { font-size: 7.2px; }
  .gallery-nav { display: none; }
  .lightbox { padding: 12px; gap: 0; }
  .lb-prev, .lb-next { position: absolute; bottom: 18px; z-index: 2; }
  .lb-prev { left: calc(50% - 64px); }
  .lb-next { right: calc(50% - 64px); }
  .lb-close { top: 12px; right: 12px; z-index: 2; }
  .lb-phone { font-size: min(calc((100vh - 170px) / 66.5), calc((100vw - 32px) / 28)); }
  .lb-stage { margin-bottom: 64px; }

  .install-steps { grid-template-columns: 1fr; gap: 28px; }
  .install-steps li { display: grid; grid-template-columns: 52px 1fr; column-gap: 18px; padding: 0; }
  .install-steps li::before { display: none; }
  .install-steps .mono { grid-row: span 2; margin: 0; }
  .final { padding: 100px 0; }
  .fb-card { padding: 26px 22px; }
  .foot-in { flex-direction: column; text-align: center; }
  .foot { padding-bottom: 110px; }
  .sticky-cta {
    display: block; position: fixed; inset: auto 0 0; z-index: 60; padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: linear-gradient(180deg, transparent, rgba(7, 11, 20, .95) 35%);
    transform: translateY(110%); transition: transform .35s;
  }
  .sticky-cta.show { transform: none; }
  .sticky-cta .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* Feedback card: the contact form button */
.fb-card .btn-write { align-self: flex-start; margin-top: 14px; }
