/* ============================================================
   IKTF - I Know That Face
   Marketing site styles
   ============================================================ */

/* ---------- Self-hosted fonts (variable, latin) ---------- */
@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url('/assets/fonts/sora-var.woff2') format('woff2');
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('/assets/fonts/plus-jakarta-sans-var.woff2') format('woff2');
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: italic;
  font-weight: 200 800;
  font-display: swap;
  src: url('/assets/fonts/plus-jakarta-sans-italic-var.woff2') format('woff2');
}

/* ---------- Tokens ---------- */
:root {
  --bg:        #FBFAF7;
  --bg-soft:   #F2F0EA;
  --surface:   #FFFFFF;
  --surface-2: #F7F5F0;
  --text:      #14161B;
  --text-soft: #4E535D;
  --muted:     #8A8F99;
  --border:    rgba(20, 22, 27, 0.10);
  --border-2:  rgba(20, 22, 27, 0.06);

  --primary:     #5B57F0;
  --primary-ink: #ffffff;
  --primary-soft: rgba(91, 87, 240, 0.10);
  --primary-glow: rgba(91, 87, 240, 0.28);

  --scan:      #0EA960;
  --scan-soft: rgba(14, 169, 96, 0.12);
  --scan-glow: rgba(14, 169, 96, 0.35);

  --shadow-sm: 0 1px 2px rgba(20,22,27,.06), 0 2px 8px rgba(20,22,27,.05);
  --shadow-md: 0 8px 24px rgba(20,22,27,.08), 0 2px 8px rgba(20,22,27,.05);
  --shadow-lg: 0 24px 60px rgba(20,22,27,.14), 0 8px 24px rgba(20,22,27,.08);
  --shadow-phone: 0 40px 90px rgba(20,22,27,.22), 0 12px 30px rgba(20,22,27,.14);

  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 26px;
  --r-xl: 36px;

  --font-display: "Sora", -apple-system, system-ui, sans-serif;
  --font-body: "Plus Jakarta Sans", -apple-system, system-ui, sans-serif;

  --maxw: 1600px;
  --gutter: clamp(20px, 4.5vw, 80px);

  --header-h: 86px;
}

[data-theme="dark"] {
  --bg:        #0A0C10;
  --bg-soft:   #0F1218;
  --surface:   #13161D;
  --surface-2: #181C24;
  --text:      #F3F4F6;
  --text-soft: #A8AEBB;
  --muted:     #9AA1AE;
  --border:    rgba(255, 255, 255, 0.10);
  --border-2:  rgba(255, 255, 255, 0.06);

  --primary:     #877FFF;
  --primary-ink: #0A0C10;
  --primary-soft: rgba(135, 127, 255, 0.16);
  --primary-glow: rgba(135, 127, 255, 0.40);

  --scan:      #2DDC8C;
  --scan-soft: rgba(45, 220, 140, 0.16);
  --scan-glow: rgba(45, 220, 140, 0.45);

  --shadow-sm: 0 1px 2px rgba(0,0,0,.4);
  --shadow-md: 0 10px 30px rgba(0,0,0,.45);
  --shadow-lg: 0 30px 70px rgba(0,0,0,.55);
  --shadow-phone: 0 50px 110px rgba(0,0,0,.7), 0 12px 40px rgba(0,0,0,.5);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  transition: background-color .45s ease, color .45s ease;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--text);
  text-wrap: balance;
}

p { text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }

/* ---------- Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }
.wrap.narrow { max-width: 1120px; }
section { position: relative; }
.section-pad { padding-block: clamp(72px, 11vw, 140px); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
}
.eyebrow::before {
  content: ""; width: 18px; height: 1.5px; background: var(--primary);
  display: inline-block;
}
.eyebrow.is-scan { color: var(--scan); }
.eyebrow.is-scan::before { background: var(--scan); }

.section-head { max-width: 660px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 {
  font-size: clamp(30px, 4.6vw, 52px);
  margin-top: 18px;
}
.section-head p {
  margin-top: 18px;
  font-size: clamp(16px, 1.4vw, 19px);
  color: var(--text-soft);
}

/* ============================================================
   Announcement / promo bar (moving marquee, drives downloads)
   ============================================================ */
.promobar {
  position: relative; z-index: 90; overflow: hidden;
  background:
    radial-gradient(120% 180% at 12% 0%, rgba(91,87,240,.55), transparent 60%),
    radial-gradient(120% 180% at 88% 100%, rgba(14,169,96,.42), transparent 60%),
    linear-gradient(100deg, #17132c 0%, #0b0917 55%, #120e24 100%);
  border-bottom: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 1px 0 rgba(91,87,240,.35) inset, 0 10px 30px -18px rgba(91,87,240,.7);
  color: #fff;
  margin-bottom: 16px;
  --pb-speed: 34s;
}
/* animated light sheen sweeping across the bar */
.promobar::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.14) 48%, rgba(255,255,255,.04) 56%, transparent 70%);
  transform: translateX(-120%);
  animation: pb-sheen 6.5s ease-in-out infinite; animation-delay: 1.2s;
}
.promobar-link {
  position: relative; z-index: 1;
  display: flex; align-items: center;
  height: 46px; padding-inline: clamp(14px, 4vw, 40px);
  color: #fff; text-decoration: none;
}
/* scrolling middle */
.promobar-viewport { position: relative; flex: 1 1 auto; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.promobar-marquee { display: flex; width: max-content; animation: pb-scroll var(--pb-speed) linear infinite; will-change: transform; }
.promobar-track { display: flex; align-items: center; flex: none; }
.pb-item {
  font-family: var(--font-display); font-weight: 600; font-size: 14px;
  letter-spacing: .01em; color: rgba(255,255,255,.9); white-space: nowrap;
}
.pb-item b { color: #fff; font-weight: 800; }
.pb-reticle { width: 15px; height: 15px; color: var(--scan); margin-inline: 22px; filter: drop-shadow(0 0 5px rgba(14,169,96,.55)); flex: none; }
.promobar-link:hover .promobar-marquee { animation-play-state: paused; }

@keyframes pb-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes pb-sheen { 0% { transform: translateX(-120%); } 45%, 100% { transform: translateX(120%); } }

@media (max-width: 700px) {
  .promobar-link { height: 42px; }
  .pb-reticle { margin-inline: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .promobar-marquee { animation: none; justify-content: center; width: 100%; }
  .promobar-track[aria-hidden] { display: none; }
  .promobar-viewport { -webkit-mask-image: none; mask-image: none; }
  .promobar::after { animation: none; display: none; }
}

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, background-color .3s ease;
}
.site-header.scrolled { border-bottom-color: var(--border); }
.site-header .wrap { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }

.brand { display: flex; align-items: center; gap: 11px; flex: none; justify-self: start; line-height: 0; }
.brand-logo { height: 64px; width: auto; display: block; }
.site-footer .brand-logo { height: 46px; }
.brand-mark {
  width: 38px; height: 38px; border-radius: 11px;
  background: var(--text);
  position: relative; flex: none;
  display: grid; place-items: center;
  overflow: hidden;
}
[data-theme="dark"] .brand-mark { background: var(--surface-2); }
.brand-mark .reticle-mini {
  position: absolute; inset: 8px; border-radius: 5px;
}
.brand-mark .reticle-mini::before,
.brand-mark .reticle-mini::after {
  content:""; position:absolute; inset:0;
  background:
    linear-gradient(var(--scan),var(--scan)) 0 0/8px 1.5px no-repeat,
    linear-gradient(var(--scan),var(--scan)) 0 0/1.5px 8px no-repeat,
    linear-gradient(var(--scan),var(--scan)) 100% 0/8px 1.5px no-repeat,
    linear-gradient(var(--scan),var(--scan)) 100% 0/1.5px 8px no-repeat;
}
.brand-mark .reticle-mini::after {
  transform: scaleY(-1);
}
.brand-mark .dot { width:7px; height:7px; border-radius:50%; background: var(--primary); }

/* ---------- Primary nav ---------- */
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a {
  position: relative; padding: 9px 15px; border-radius: 10px;
  font-weight: 600; font-size: 15px; color: var(--text-soft);
  transition: color .2s, background .2s;
}
.site-nav a:hover { color: var(--text); background: var(--surface-2); }
.site-nav a.active { color: var(--text); }
.site-nav a.active::after {
  content: ""; position: absolute; left: 15px; right: 15px; bottom: 3px; height: 2px;
  border-radius: 2px; background: var(--primary);
}

.nav-toggle {
  display: none; width: 42px; height: 42px; border-radius: 12px; flex: none;
  border: 1px solid var(--border); background: var(--surface);
  color: var(--text); place-items: center;
}
.nav-toggle svg { width: 20px; height: 20px; }
.nav-toggle .ic-close { display: none; }
.nav-toggle.open .ic-open { display: none; }
.nav-toggle.open .ic-close { display: block; }
body.nav-locked { overflow: hidden; }

@media (max-width: 920px) {
  .site-header .wrap { display: flex; }
  .nav-toggle { display: grid; order: 3; }
  .header-actions { order: 2; margin-left: auto; }
  .site-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; margin: 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    padding: 16px var(--gutter) 24px;
    background: color-mix(in srgb, var(--bg) 96%, transparent);
    backdrop-filter: blur(18px) saturate(140%);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    border-bottom: 1px solid var(--border);
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: transform .28s ease, opacity .28s ease;
    z-index: 90;
  }
  .site-nav.open { transform: none; opacity: 1; pointer-events: auto; }
  .site-nav a { padding: 14px 16px; font-size: 17px; border-radius: 12px; }
  .site-nav a.active::after { display: none; }
  .site-nav a.active { background: var(--primary-soft); color: var(--text); }
}
.brand-name { font-family: var(--font-display); font-weight: 800; font-size: 19px; letter-spacing: -0.01em; }
.brand-name b { color: var(--primary); }

.header-actions { display: flex; align-items: center; gap: 12px; justify-self: end; }
.header-store { display: flex; gap: 10px; }
@media (max-width: 1120px) { .header-store { display: none; } }

/* compact "get app" - only when full store row is hidden */
.header-get {
  display: none;
  align-items: center; gap: 7px;
  padding: 9px 16px; border-radius: 11px;
  background: var(--primary); color: var(--primary-ink);
  font-family: var(--font-display); font-weight: 700; font-size: 14px;
  transition: transform .2s ease, box-shadow .2s ease, filter .2s;
}
.header-get svg { width: 16px; height: 16px; }
.header-get:hover { transform: translateY(-1px); box-shadow: 0 6px 16px var(--primary-glow); }
@media (max-width: 1120px) { .header-get { display: inline-flex; } }
@media (max-width: 380px) { .header-get .hg-text { display: none; } .header-get { padding: 9px 11px; } }

/* ============================================================
   Store buttons
   ============================================================ */
.store-btn {
  display: inline-flex; align-items: center; gap: 15px;
  padding: 18px 32px 18px 28px;
  border-radius: 18px;
  background: var(--text); color: var(--bg);
  border: 1px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, opacity .2s;
  white-space: nowrap;
}
[data-theme="dark"] .store-btn { background: #fff; color: #0A0C10; }
.store-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.store-btn svg { width: 36px; height: 36px; flex: none; }
.store-btn .sb-text { display: flex; flex-direction: column; line-height: 1.05; text-align: left; }
.store-btn .sb-top { font-size: 13px; opacity: .8; font-weight: 500; letter-spacing: .02em; }
.store-btn .sb-main { font-family: var(--font-display); font-size: 22px; font-weight: 700; letter-spacing: -0.01em; }
.store-btn.sm { padding: 8px 13px 8px 11px; border-radius: 11px; gap: 9px; }
.store-btn.sm svg { width: 19px; height: 19px; }
.store-btn.sm .sb-main { font-size: 13px; }
.store-btn.sm .sb-top { font-size: 9px; }

.store-row { display: flex; flex-wrap: wrap; gap: 18px; }
@media (max-width: 480px) {
  .store-btn { padding: 15px 22px 15px 20px; gap: 12px; }
  .store-btn svg { width: 30px; height: 30px; }
  .store-btn .sb-main { font-size: 18px; }
  .store-btn .sb-top { font-size: 12px; }
}

/* ============================================================
   Hero
   ============================================================ */
.hero { padding-top: clamp(40px, 7vw, 86px); padding-bottom: clamp(60px, 9vw, 120px); overflow: hidden; }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(40px, 6vw, 88px); align-items: center;
}
@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
}

.hero-copy { position: relative; z-index: 2; }
.hero h1 {
  font-size: clamp(42px, 7.2vw, 84px);
  line-height: 0.98;
  margin-top: 22px;
}
.hero h1 .ital {
  font-style: italic; font-weight: 600;
  font-family: var(--font-display);
}
.hero h1 .grad {
  color: var(--primary);
}
.hero-sub {
  margin-top: 26px;
  font-size: clamp(17px, 1.7vw, 21px);
  color: var(--text-soft);
  max-width: 520px;
}
.hero-cta { margin-top: 36px; }
.hero-rating {
  margin-top: 26px; display: flex; align-items: center; gap: 14px;
  color: var(--text-soft); font-size: 14px;
}
.hero-rating .stars { display: flex; gap: 2px; color: #F5A623; }
.hero-rating .stars svg { width: 16px; height: 16px; }
.hero-rating .divider { width: 5px; height: 5px; border-radius: 50%; background: var(--scan); box-shadow: 0 0 7px var(--scan-glow); }

/* ---------- Phone ---------- */
.hero-phone-col { display: flex; justify-content: center; position: relative; }
.hero-phone-col::before {
  content: ""; position: absolute; inset: -8% -14%;
  background: radial-gradient(closest-side, var(--primary-glow), transparent 70%);
  opacity: .5; z-index: 0; filter: blur(10px);
}

.phone {
  position: relative; z-index: 1;
  --subj: 18;
  width: 300px; aspect-ratio: 300 / 620;
  border-radius: 46px;
  background: #050608;
  padding: 12px;
  box-shadow: var(--shadow-phone);
  border: 1px solid rgba(255,255,255,.08);
}
.phone::after { /* side buttons */
  content:""; position:absolute; right:-2px; top:140px; width:3px; height:64px;
  border-radius: 3px; background: linear-gradient(#2a2d33,#16181c);
}
.phone-screen {
  position: relative; width: 100%; height: 100%;
  border-radius: 35px; overflow: hidden;
  background: #0c1014;
}
.phone-notch {
  position: absolute; top: 10px; left: 50%; transform: translateX(-50%);
  width: 96px; height: 26px; background: #050608; border-radius: 16px; z-index: 6;
}

/* viewfinder feed */
.vf-feed {
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 80% at 50% 35%, #2b3340 0%, #161b22 55%, #0b0e13 100%);
}
.vf-feed .face-ph {
  position: absolute; left: 50%; top: 41%; transform: translate(-50%,-50%);
  width: 158px; height: 200px; border-radius: 50% 50% 46% 46% / 56% 56% 44% 44%;
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,.05) 0 7px, rgba(255,255,255,.015) 7px 14px),
    linear-gradient(160deg, hsl(var(--subj) 16% 40%), hsl(var(--subj) 14% 22%));
  box-shadow: inset 0 -30px 50px rgba(0,0,0,.45);
  transition: background .55s ease;
}
.vf-feed .face-label {
  position: absolute; left: 50%; top: 41%; transform: translate(-50%,-50%);
  font-family: ui-monospace, "SF Mono", monospace;
  font-size: 9.5px; letter-spacing: .1em; color: rgba(255,255,255,.5);
  text-transform: uppercase; text-align: center; line-height: 1.5; pointer-events: none;
}
.vf-grain {
  position: absolute; inset: 0; opacity: .5; mix-blend-mode: overlay;
  background-image: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 4px 4px;
}

/* HUD top bar */
.vf-hud {
  position: absolute; top: 46px; left: 16px; right: 16px; z-index: 5;
  display: flex; align-items: center; justify-content: space-between;
  font-family: ui-monospace, "SF Mono", monospace; font-size: 10px;
  color: rgba(255,255,255,.7); letter-spacing: .08em;
}
.vf-hud .live { display: inline-flex; align-items: center; gap: 6px; color: var(--scan); }
.vf-hud .live .pip { width: 7px; height: 7px; border-radius: 50%; background: var(--scan); box-shadow: 0 0 8px var(--scan); animation: pip 1.4s infinite; }
@keyframes pip { 0%,100%{opacity:1;} 50%{opacity:.25;} }

/* reticle */
.reticle {
  position: absolute; left: 50%; top: 41%; transform: translate(-50%,-50%);
  width: 196px; height: 244px; z-index: 4;
}
.reticle span {
  position: absolute; width: 34px; height: 34px;
  border: 2.5px solid #fff; opacity: .92;
}
.reticle .tl { top:0; left:0; border-right:none; border-bottom:none; border-top-left-radius: 8px; }
.reticle .tr { top:0; right:0; border-left:none; border-bottom:none; border-top-right-radius: 8px; }
.reticle .bl { bottom:0; left:0; border-right:none; border-top:none; border-bottom-left-radius: 8px; }
.reticle .br { bottom:0; right:0; border-left:none; border-top:none; border-bottom-right-radius: 8px; }

/* scan line */
.scanline {
  position: absolute; left: 50%; top: 41%; transform: translate(-50%,-50%);
  width: 196px; height: 244px; z-index: 4; overflow: hidden; border-radius: 8px;
}
.scanline::before {
  content:""; position: absolute; left: 0; right: 0; height: 70px;
  background: linear-gradient(var(--scan-soft), transparent);
  border-top: 2px solid var(--scan);
  box-shadow: 0 0 18px var(--scan-glow);
}

/* match card */
.match-card {
  position: absolute; left: 14px; right: 14px; bottom: 16px; z-index: 7;
  background: rgba(14,17,22,.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 20px; padding: 14px;
  color: #fff;
  display: flex; gap: 12px; align-items: center;
}
.match-card .mc-thumb {
  width: 52px; height: 52px; border-radius: 13px; flex: none;
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,.08) 0 5px, rgba(255,255,255,.02) 5px 10px),
    linear-gradient(160deg, hsl(var(--subj) 16% 46%), hsl(var(--subj) 14% 28%));
  transition: background .55s ease;
}
.match-card .mc-body { min-width: 0; flex: 1; }
.match-card .mc-badge {
  display: inline-flex; align-items: center; gap: 5px;
  font-family: ui-monospace, monospace; font-size: 9px; letter-spacing: .12em;
  color: var(--scan); text-transform: uppercase; font-weight: 700; margin-bottom: 3px;
}
.match-card .mc-badge::before { content:""; width:6px; height:6px; border-radius:50%; background: var(--scan); box-shadow: 0 0 6px var(--scan); }
.match-card .mc-name { font-family: var(--font-display); font-weight: 700; font-size: 16px; line-height: 1.1; }
.match-card .mc-role { font-size: 11.5px; color: rgba(255,255,255,.62); margin-top: 1px; }
.match-card .mc-meter { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.match-card .mc-bar { flex: 1; height: 4px; border-radius: 99px; background: rgba(255,255,255,.16); overflow: hidden; }
.match-card .mc-bar > b { display: block; height: 100%; width: 0; border-radius: 99px; background: var(--scan); box-shadow: 0 0 8px var(--scan-glow); transition: width 1s cubic-bezier(.2,.8,.2,1); }
.match-card .mc-pct { font-family: ui-monospace, monospace; font-size: 11px; font-weight: 700; color: var(--scan); min-width: 36px; text-align: right; }
.match-card .mc-chev {
  width: 30px; height: 30px; border-radius: 50%; flex: none;
  background: var(--scan); color: #04130b; display: grid; place-items: center;
}
.match-card .mc-chev svg { width: 15px; height: 15px; }

/* ---------- Face-mesh overlay (landmark detection) ---------- */
.facemesh {
  position: absolute; left: 50%; top: 41%; transform: translate(-50%,-50%);
  width: 152px; height: 188px; z-index: 4; opacity: 0; pointer-events: none;
  transition: opacity .4s ease;
}
.facemesh .fm-lines line { stroke: rgba(255,255,255,.55); stroke-width: 0.8; transition: stroke .35s ease; }
.facemesh .fm-dots circle {
  fill: #fff; transform: scale(0); transform-box: fill-box; transform-origin: center;
  transition: transform .32s cubic-bezier(.2,1.5,.3,1), fill .35s ease;
}
.facemesh .fm-dots circle { r: 1.9; }
.facemesh .fm-dots circle:nth-child(1){transition-delay:0s}
.facemesh .fm-dots circle:nth-child(2){transition-delay:.04s}
.facemesh .fm-dots circle:nth-child(3){transition-delay:.08s}
.facemesh .fm-dots circle:nth-child(4){transition-delay:.12s}
.facemesh .fm-dots circle:nth-child(5){transition-delay:.16s}
.facemesh .fm-dots circle:nth-child(6){transition-delay:.20s}
.facemesh .fm-dots circle:nth-child(7){transition-delay:.24s}
.facemesh .fm-dots circle:nth-child(8){transition-delay:.28s}
.facemesh .fm-dots circle:nth-child(9){transition-delay:.32s}
.facemesh .fm-dots circle:nth-child(10){transition-delay:.36s}

/* green lock flash */
.vf-flash {
  position: absolute; inset: 0; z-index: 5; pointer-events: none; opacity: 0;
  background: radial-gradient(circle at 50% 41%, var(--scan-soft) 0%, transparent 55%);
}

/* ---------- Phase-driven recognition sequence ---------- */
.phone .reticle { transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.phone .reticle span { border-color: #fff; opacity: .55; transition: border-color .3s ease, opacity .3s ease, box-shadow .3s ease; }
.phone .match-card { transform: translateY(120%); opacity: 0; transition: transform .55s cubic-bezier(.2,.85,.2,1), opacity .4s ease; }
.phone .scanline { opacity: 0; transition: opacity .3s ease; }
.phone .face-label { transition: opacity .4s ease; }
.phone[data-phase] .face-label { opacity: 0; }

/* SEARCH - sweep + landmarks appear */
.phone[data-phase="search"] .scanline { opacity: 1; }
.phone[data-phase="search"] .scanline::before { animation: scanmove 1.4s linear infinite; }
.phone[data-phase="search"] .facemesh { opacity: 1; }
.phone[data-phase="search"] .fm-dots circle { transform: scale(1); }
.phone[data-phase="search"] .reticle span { opacity: .78; }

/* LOCK - turns green, reticle snaps in, flash */
.phone[data-phase="lock"] .scanline { opacity: 1; }
.phone[data-phase="lock"] .scanline::before { animation: scanmove 1s linear infinite; }
.phone[data-phase="lock"] .facemesh { opacity: 1; }
.phone[data-phase="lock"] .fm-lines line { stroke: var(--scan); }
.phone[data-phase="lock"] .fm-dots circle { transform: scale(1); fill: var(--scan); }
.phone[data-phase="lock"] .reticle { transform: translate(-50%,-50%) scale(.92); }
.phone[data-phase="lock"] .reticle span { border-color: var(--scan); opacity: 1; box-shadow: 0 0 12px var(--scan-glow); }
.phone[data-phase="lock"] .vf-flash { animation: lockflash .7s ease-out; }

/* MATCH - card slides up, mesh fades back */
.phone[data-phase="match"] .facemesh { opacity: .28; }
.phone[data-phase="match"] .fm-lines line { stroke: var(--scan); }
.phone[data-phase="match"] .fm-dots circle { transform: scale(1); fill: var(--scan); }
.phone[data-phase="match"] .reticle { transform: translate(-50%,-50%) scale(.95); }
.phone[data-phase="match"] .reticle span { border-color: var(--scan); opacity: 1; box-shadow: 0 0 12px var(--scan-glow); }
.phone[data-phase="match"] .match-card { transform: translateY(0); opacity: 1; }

/* OUT - release */
.phone[data-phase="out"] .reticle span { opacity: .35; }
.phone[data-phase="out"] .fm-dots circle { transform: scale(0); }

@keyframes scanmove {
  0% { transform: translateY(0); }
  100% { transform: translateY(174px); }
}
@keyframes lockflash {
  0% { opacity: 0; } 35% { opacity: .55; } 100% { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .phone .scanline::before, .phone .vf-flash, .vf-hud .live .pip { animation: none !important; }
  .phone .scanline { opacity: 0 !important; }
}

/* floating chips around phone */
.phone-chip {
  position: absolute; z-index: 3;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 14px; padding: 9px 13px; box-shadow: var(--shadow-md);
  font-size: 13px; font-weight: 600; display: flex; align-items: center; gap: 8px;
  white-space: nowrap;
}
.phone-chip .pc-ic { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; flex: none; }
.phone-chip svg { width: 15px; height: 15px; }
.phone-chip.chip-1 { top: 12%; left: -10%; }
.phone-chip.chip-2 { bottom: 20%; right: -12%; }
@media (max-width: 1080px) { .phone-chip.chip-1 { left: -2%; } .phone-chip.chip-2 { right: -2%; } }
@media (max-width: 460px) { .phone-chip { display: none; } }

/* ============================================================
   Trusted / breadth - "What you can identify"
   ============================================================ */
.identify { background: var(--bg-soft); }
.identify-grid {
  margin-top: 56px;
  display: grid; grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 200px; gap: 18px;
}
.id-card {
  position: relative; overflow: hidden;
  border-radius: var(--r-lg); padding: 24px;
  background: var(--surface); border: 1px solid var(--border);
  display: flex; flex-direction: column; justify-content: flex-end;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s;
}
.id-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--primary); }
.id-card .id-ic {
  position: absolute; top: 22px; left: 22px;
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: var(--primary-soft); color: var(--primary);
}
.id-card .id-ic svg { width: 22px; height: 22px; }
.id-card h3 { font-size: 21px; }
.id-card p { font-size: 14px; color: var(--text-soft); margin-top: 6px; }
.id-card .id-ph {
  position: absolute; inset: 0; z-index: 0;
  background:
    repeating-linear-gradient(135deg, var(--border-2) 0 9px, transparent 9px 18px);
  opacity: .6;
}
.id-card > * { position: relative; z-index: 1; }

/* spans */
.id-card.span-2 { grid-column: span 2; }
.id-card.span-3 { grid-column: span 3; }
.id-card.span-4 { grid-column: span 4; }

/* feature/standout card (adverts) */
.id-card.standout {
  grid-column: span 4; grid-row: span 1;
  background: linear-gradient(135deg, var(--primary), color-mix(in srgb, var(--primary) 70%, #000));
  color: #fff; border-color: transparent;
  flex-direction: row; align-items: stretch; gap: 22px;
}
.id-card.standout .id-main { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: flex-end; }
.id-card.standout .id-ic { position: static; margin-bottom: auto; background: rgba(255,255,255,.18); color: #fff; }
.id-card.standout h3 { color: #fff; font-size: clamp(20px, 2.2vw, 25px); max-width: none; }
.id-card.standout p { color: rgba(255,255,255,.85); font-size: 14.5px; max-width: none; margin-top: 8px; }
.id-card.standout .id-deco {
  position: static; flex: none; align-self: stretch; width: 118px;
  border-radius: 16px; border: 1.5px dashed rgba(255,255,255,.35);
  display: grid; place-items: center; z-index: 0;
}
.id-card.standout .id-deco .rect {
  width: 70px; height: 90px; position: relative;
}
.id-card.standout .id-deco .rect span {
  position: absolute; width: 18px; height: 18px; border: 2px solid #fff;
}
.id-card.standout .id-deco .rect .tl{top:0;left:0;border-right:none;border-bottom:none;}
.id-card.standout .id-deco .rect .tr{top:0;right:0;border-left:none;border-bottom:none;}
.id-card.standout .id-deco .rect .bl{bottom:0;left:0;border-right:none;border-top:none;}
.id-card.standout .id-deco .rect .br{bottom:0;right:0;border-left:none;border-top:none;}
@media (max-width: 920px) {
  .identify-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .id-card.span-2,.id-card.span-3,.id-card.span-4,.id-card.standout { grid-column: span 2; }
  .id-card.standout { flex-direction: column; }
  .id-card.standout .id-deco { display: none; }
}
@media (max-width: 560px) {
  .identify-grid { grid-template-columns: 1fr; }
  .id-card,.id-card.span-2,.id-card.span-3,.id-card.span-4,.id-card.standout { grid-column: span 1; }
}

/* ============================================================
   Features (6 cards)
   ============================================================ */
.features-grid {
  margin-top: 56px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
@media (max-width: 880px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .features-grid { grid-template-columns: 1fr; } }
.feature {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-md); padding: 26px;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: color-mix(in srgb, var(--primary) 40%, var(--border)); }
.feature .f-ic {
  width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center;
  background: var(--primary-soft); color: var(--primary); margin-bottom: 18px;
}
.feature .f-ic svg { width: 25px; height: 25px; }
.feature h3 { font-size: 19px; }
.feature p { font-size: 15px; color: var(--text-soft); margin-top: 8px; }

/* ============================================================
   How it works
   ============================================================ */
.how { background: var(--bg-soft); }
.steps {
  margin-top: 56px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
  counter-reset: step;
}
@media (max-width: 880px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; }
.step .step-num {
  font-family: var(--font-display); font-weight: 800; font-size: 15px;
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  background: var(--surface); border: 1px solid var(--border); color: var(--primary);
  margin-bottom: 18px;
}
.step h3 { font-size: 19px; }
.step p { font-size: 15px; color: var(--text-soft); margin-top: 8px; }
.step .step-line {
  position: absolute; top: 20px; left: 48px; right: -22px; height: 2px;
  background: linear-gradient(90deg, var(--border), transparent);
}
.step .step-line::after {
  content: ""; position: absolute; top: 50%; left: 50%;
  width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px; border-radius: 50%;
  background: var(--scan); box-shadow: 0 0 9px var(--scan-glow);
}
.step:last-child .step-line { display: none; }
@media (max-width: 880px) { .step .step-line { display: none; } }

/* ============================================================
   Simple & easy
   ============================================================ */
.simple-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
@media (max-width: 880px) { .simple-grid { grid-template-columns: 1fr; gap: 48px; } }
.simple-list { margin-top: 32px; display: flex; flex-direction: column; gap: 16px; }
.simple-list li { display: flex; gap: 14px; align-items: flex-start; }
.simple-list .check {
  width: 26px; height: 26px; border-radius: 8px; flex: none; margin-top: 1px;
  background: var(--scan-soft); color: var(--scan); display: grid; place-items: center;
}
.simple-list .check svg { width: 15px; height: 15px; }
.simple-list li b { font-weight: 700; }
.simple-list li span { display: block; color: var(--text-soft); font-size: 14.5px; margin-top: 2px; }

.simple-visual { display: flex; justify-content: center; position: relative; }

/* App result-screen mockup */
.app-screen {
  width: 290px; aspect-ratio: 290/600; border-radius: 40px;
  background: #050608; padding: 11px; box-shadow: var(--shadow-phone);
  border: 1px solid rgba(255,255,255,.08); position: relative; z-index: 1;
}
.app-screen .as-inner {
  width: 100%; height: 100%; border-radius: 30px; overflow: hidden;
  background: var(--surface); display: flex; flex-direction: column;
}
[data-theme="dark"] .app-screen .as-inner { background: #0e1117; }
.as-photo {
  height: 44%; position: relative; flex: none;
  background:
    repeating-linear-gradient(135deg, rgba(120,130,150,.16) 0 8px, rgba(120,130,150,.05) 8px 16px),
    linear-gradient(160deg, #404a5c, #232a34);
}
.as-photo .as-recap {
  position: absolute; inset: 22px; border-radius: 12px;
}
.as-photo .as-recap span { position: absolute; width: 22px; height: 22px; border: 2.5px solid var(--scan); }
.as-photo .as-recap .tl{top:0;left:0;border-right:none;border-bottom:none;}
.as-photo .as-recap .tr{top:0;right:0;border-left:none;border-bottom:none;}
.as-photo .as-recap .bl{bottom:0;left:0;border-right:none;border-top:none;}
.as-photo .as-recap .br{bottom:0;right:0;border-left:none;border-top:none;}
.as-photo .as-tag {
  position: absolute; top: 12px; left: 50%; transform: translateX(-50%);
  font-family: ui-monospace, monospace; font-size: 9px; letter-spacing: .14em;
  color: #fff; background: rgba(0,0,0,.45); padding: 4px 10px; border-radius: 99px;
  text-transform: uppercase; display: inline-flex; align-items: center; gap: 5px;
}
.as-photo .as-tag::before { content:""; width:5px; height:5px; border-radius:50%; background: var(--scan); box-shadow: 0 0 6px var(--scan); }
.as-body { padding: 18px 18px; flex: 1; color: var(--text); }
.as-match {
  display: inline-flex; align-items: center; gap: 5px;
  font-family: ui-monospace, monospace; font-size: 9.5px; letter-spacing: .12em;
  color: var(--scan); text-transform: uppercase; font-weight: 700;
}
.as-match::before { content:""; width:6px; height:6px; border-radius:50%; background: var(--scan); box-shadow:0 0 6px var(--scan); }
.as-name { font-family: var(--font-display); font-weight: 700; font-size: 22px; margin-top: 8px; line-height: 1.05; }
.as-role { font-size: 12.5px; color: var(--text-soft); margin-top: 3px; }
.as-know {
  margin-top: 16px; padding: 12px 14px; border-radius: 12px;
  background: var(--primary-soft); border: 1px solid color-mix(in srgb,var(--primary) 25%, transparent);
}
.as-know .lab { font-size: 9.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--primary); font-weight: 700; }
.as-know p { font-size: 13px; color: var(--text); margin-top: 4px; line-height: 1.4; }
.as-meta { display: flex; gap: 8px; margin-top: 14px; }
.as-meta .pill { font-size: 10.5px; padding: 5px 10px; border-radius: 99px; background: var(--surface-2); border: 1px solid var(--border); color: var(--text-soft); }
[data-theme="dark"] .as-meta .pill { background: #161a22; }

/* ============================================================
   Testimonials
   ============================================================ */
.testi { background: var(--bg-soft); }
.testi-grid {
  margin-top: 56px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
@media (max-width: 880px) { .testi-grid { grid-template-columns: 1fr; } }
.testi-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-md); padding: 26px; display: flex; flex-direction: column;
}
.testi-card .stars { display: flex; gap: 2px; color: #F5A623; margin-bottom: 14px; }
.testi-card .stars svg { width: 16px; height: 16px; }
.testi-card blockquote { font-size: 16px; line-height: 1.55; flex: 1; }
.testi-card .who { display: flex; align-items: center; gap: 12px; margin-top: 22px; }
.testi-card .avatar {
  width: 42px; height: 42px; border-radius: 50%; flex: none;
  display: grid; place-items: center; font-weight: 700; font-family: var(--font-display);
  color: #fff; font-size: 15px;
}
.testi-card .who .nm { font-weight: 700; font-size: 14.5px; }
.testi-card .who .meta { font-size: 12.5px; color: var(--muted); }

/* ============================================================
   FAQ
   ============================================================ */
.faq-wrap { max-width: 800px; margin: 56px auto 0; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 24px 4px; text-align: left;
  font-family: var(--font-display); font-weight: 600; font-size: clamp(16px,2vw,20px);
  color: var(--text);
}
.faq-q .faq-ic {
  width: 30px; height: 30px; border-radius: 9px; flex: none; display: grid; place-items: center;
  border: 1px solid var(--border); color: var(--primary); transition: transform .3s ease, background .3s;
}
.faq-q .faq-ic svg { width: 16px; height: 16px; transition: transform .3s ease; }
.faq-item.open .faq-q .faq-ic { background: var(--primary); color: var(--primary-ink); border-color: var(--primary); }
.faq-item.open .faq-q .faq-ic svg { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s ease; }
.faq-a-inner { padding: 0 4px 24px; color: var(--text-soft); font-size: 16px; max-width: 680px; }

/* ============================================================
   CTA band
   ============================================================ */
.cta-band { padding-block: clamp(64px, 9vw, 120px); }
.cta-inner {
  position: relative; overflow: hidden;
  border-radius: var(--r-xl);
  background: linear-gradient(135deg, #1a1530, #0c0a18);
  color: #fff; padding: clamp(40px, 6vw, 80px);
  text-align: center;
  border: 1px solid rgba(255,255,255,.1);
}
.cta-inner .cta-reticle {
  position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background:
    radial-gradient(40% 60% at 80% 20%, var(--primary-glow), transparent 70%),
    radial-gradient(40% 60% at 15% 90%, var(--scan-glow), transparent 70%);
}
.cta-inner > * { position: relative; z-index: 1; }
.cta-inner .eyebrow { color: #fff; }
.cta-inner .eyebrow::before { background: #fff; }
.cta-inner h2 { color: #fff; font-size: clamp(30px,5vw,56px); margin-top: 16px; }
.cta-inner p { color: rgba(255,255,255,.75); margin-top: 16px; font-size: 18px; max-width: 540px; margin-inline: auto; }
.cta-inner .store-row { justify-content: center; margin-top: 34px; }
.cta-inner .store-btn { background: #fff; color: #0A0C10; }

/* Download QR - desktop only (mobile visitors tap the badges directly) */
.cta-qr { display: none; }
@media (min-width: 900px) {
  .cta-qr {
    display: inline-flex; align-items: center; gap: 16px;
    margin-top: 28px; padding: 14px 20px 14px 14px;
    background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
    border-radius: 18px;
  }
  .cta-qr-card {
    width: 92px; height: 92px; flex: none; padding: 8px;
    background: #fff; border-radius: 12px; display: block;
  }
  .cta-qr-card img { display: block; width: 100%; height: 100%; }
  .cta-qr-label { color: rgba(255,255,255,.78); font-size: 15px; text-align: left; line-height: 1.4; max-width: 160px; }
  .cta-qr-label b { color: #fff; font-weight: 700; }
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer { padding-block: 56px; border-top: 1px solid var(--border); }
.footer-grid { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; justify-content: space-between; }
.footer-grid .f-links { display: flex; flex-wrap: wrap; gap: 26px; align-items: center; }
.footer-grid .f-links a { color: var(--text-soft); font-size: 14.5px; transition: color .2s; }
.footer-grid .f-links a:hover { color: var(--text); }
.footer-made { color: var(--muted); font-size: 14px; }
.footer-made a { color: var(--primary); font-weight: 600; }
.footer-copy { width: 100%; color: var(--muted); font-size: 13px; margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--border-2); }

/* ============================================================
   Scroll reveal
   ============================================================ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   Extended scan motifs
   ============================================================ */

/* Result mockup - live scan sweep + lock */
.as-photo .as-scan {
  position: absolute; left: 0; right: 0; top: -56px; height: 56px; z-index: 2; opacity: 0;
  background: linear-gradient(var(--scan-soft), transparent);
  border-top: 2px solid var(--scan); box-shadow: 0 0 16px var(--scan-glow);
  pointer-events: none;
}
.as-photo.live-scan .as-scan { animation: asscan 3s ease-in-out infinite; }
.as-photo .as-recap span { transition: border-color .4s ease, box-shadow .4s ease; }
@keyframes asscan {
  0% { top: -56px; opacity: 0; }
  14% { opacity: 1; }
  82% { top: 100%; opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

/* Identify cards - focus-bracket reticle draws in on hover */
.id-card:not(.standout)::after {
  content: ""; position: absolute; inset: 12px; z-index: 2; pointer-events: none; border-radius: 10px;
  opacity: 0; transform: scale(1.06); transition: opacity .35s ease, transform .35s ease;
  background:
    linear-gradient(var(--primary),var(--primary)) left top/16px 2px no-repeat,
    linear-gradient(var(--primary),var(--primary)) left top/2px 16px no-repeat,
    linear-gradient(var(--primary),var(--primary)) right top/16px 2px no-repeat,
    linear-gradient(var(--primary),var(--primary)) right top/2px 16px no-repeat,
    linear-gradient(var(--primary),var(--primary)) left bottom/16px 2px no-repeat,
    linear-gradient(var(--primary),var(--primary)) left bottom/2px 16px no-repeat,
    linear-gradient(var(--primary),var(--primary)) right bottom/16px 2px no-repeat,
    linear-gradient(var(--primary),var(--primary)) right bottom/2px 16px no-repeat;
}
.id-card:not(.standout):hover::after { opacity: .85; transform: scale(1); }

/* CTA band - ambient recognition sweep */
.cta-inner .cta-scan { position: absolute; inset: 0; overflow: hidden; z-index: 0; pointer-events: none; }
.cta-inner .cta-scan::before {
  content: ""; position: absolute; left: 0; right: 0; top: -130px; height: 130px;
  background: linear-gradient(var(--scan-soft), transparent);
  border-top: 1px solid color-mix(in srgb, var(--scan) 55%, transparent);
  animation: ctasweep 7s ease-in-out infinite;
}
@keyframes ctasweep {
  0% { top: -130px; opacity: 0; }
  18% { opacity: .6; }
  82% { opacity: .6; }
  100% { top: 100%; opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .as-photo.live-scan .as-scan,
  .cta-inner .cta-scan::before { animation: none; opacity: 0; }
}

/* ============================================================
   Compliance strip
   ============================================================ */
.compliance {
  border-block: 1px solid var(--border);
  background: var(--bg-soft);
}
.compliance .wrap {
  display: flex; align-items: center; gap: 20px;
  padding-block: 22px;
}
.compliance .cmp-ic {
  width: 46px; height: 46px; border-radius: 13px; flex: none;
  display: grid; place-items: center;
  background: var(--scan-soft); color: var(--scan);
  border: 1px solid color-mix(in srgb, var(--scan) 30%, transparent);
}
.compliance .cmp-ic svg { width: 24px; height: 24px; }
.compliance .cmp-text { font-size: 15.5px; color: var(--text-soft); line-height: 1.5; }
.compliance .cmp-text b { color: var(--text); font-weight: 700; }
@media (max-width: 620px) {
  .compliance .wrap { flex-direction: column; text-align: center; gap: 14px; }
}

/* ============================================================
   Legal / document pages
   ============================================================ */
/* ============================================================
   Feature spotlights (App Features page)
   ============================================================ */
.page-hero {
  padding-top: clamp(56px, 8vw, 104px);
  padding-bottom: clamp(40px, 6vw, 72px);
  position: relative; overflow: hidden;
}
.page-hero::after {
  content: ""; position: absolute; right: -4%; top: -30%; width: 460px; height: 460px;
  background: radial-gradient(closest-side, var(--primary-glow), transparent 70%);
  opacity: .45; pointer-events: none;
}
.page-hero .ph-inner { max-width: 720px; position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(38px, 6vw, 68px); margin-top: 20px; line-height: 1; }
.page-hero p { margin-top: 20px; font-size: clamp(17px, 1.6vw, 21px); color: var(--text-soft); max-width: 600px; }

.spotlight { padding-block: clamp(40px, 6vw, 72px); }
.spot-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 88px);
  align-items: center;
}
.spot-row.flip .spot-visual { order: -1; }
@media (max-width: 880px) {
  .spot-row { grid-template-columns: 1fr; gap: 40px; }
  .spot-row.flip .spot-visual { order: 0; }
}
.spot-copy .eyebrow { margin-bottom: 16px; }
.spot-copy h2 { font-size: clamp(26px, 3.4vw, 40px); }
.spot-copy p { margin-top: 16px; color: var(--text-soft); font-size: 17px; line-height: 1.65; }
.spot-list { margin-top: 22px; display: flex; flex-direction: column; gap: 13px; }
.spot-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; color: var(--text-soft); }
.spot-list .tick {
  width: 24px; height: 24px; border-radius: 7px; flex: none; margin-top: 1px;
  background: var(--scan-soft); color: var(--scan); display: grid; place-items: center;
}
.spot-list .tick svg { width: 14px; height: 14px; }
.spot-visual { display: flex; justify-content: center; }
.spot-card {
  width: 100%; max-width: 460px; aspect-ratio: 4/3;
  border-radius: var(--r-lg); border: 1px solid var(--border);
  background: var(--surface-2); position: relative; overflow: hidden;
  display: grid; place-items: center;
}
.spot-card .sc-ph {
  position: absolute; inset: 0;
  background: repeating-linear-gradient(135deg, var(--border-2) 0 10px, transparent 10px 20px);
  opacity: .5;
}
.spot-card .sc-reticle { position: relative; width: 140px; height: 168px; z-index: 1; }
.spot-card .sc-reticle span { position: absolute; width: 28px; height: 28px; border: 2.5px solid var(--scan); }
.spot-card .sc-reticle .tl{top:0;left:0;border-right:none;border-bottom:none;border-top-left-radius:6px;}
.spot-card .sc-reticle .tr{top:0;right:0;border-left:none;border-bottom:none;border-top-right-radius:6px;}
.spot-card .sc-reticle .bl{bottom:0;left:0;border-right:none;border-top:none;border-bottom-left-radius:6px;}
.spot-card .sc-reticle .br{bottom:0;right:0;border-left:none;border-top:none;border-bottom-right-radius:6px;}
.spot-card .sc-badge {
  position: absolute; bottom: 18px; left: 18px; z-index: 2;
  display: inline-flex; align-items: center; gap: 7px;
  font-family: ui-monospace, monospace; font-size: 11px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--scan);
  background: var(--surface); border: 1px solid var(--border);
  padding: 7px 12px; border-radius: 99px;
}
.spot-card .sc-badge::before { content:""; width:7px; height:7px; border-radius:50%; background: var(--scan); box-shadow: 0 0 7px var(--scan); }
.spot-visual .app-screen { transform: scale(.92); }

/* ============================================================
   Contact page
   ============================================================ */
.contact-grid {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(36px, 5vw, 72px);
  align-items: start;
}
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; gap: 44px; } }

.contact-form {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: clamp(24px, 3.5vw, 40px);
}
.contact-form .cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 520px) { .contact-form .cf-row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 8px; margin-top: 18px; }
.cf-row .field { margin-top: 0; }
.field label { font-size: 13.5px; font-weight: 600; color: var(--text); }
.field label .req { color: var(--primary); }
.field input, .field select, .field textarea {
  font-family: inherit; font-size: 15px; color: var(--text);
  background: var(--bg); border: 1px solid var(--border); border-radius: 12px;
  padding: 13px 15px; transition: border-color .2s, box-shadow .2s;
  width: 100%;
}
.field textarea { resize: vertical; min-height: 130px; line-height: 1.6; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-soft);
}
.contact-form .cf-submit {
  margin-top: 24px; display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 26px; border-radius: 14px; border: none; cursor: pointer;
  background: var(--primary); color: var(--primary-ink);
  font-family: var(--font-display); font-weight: 700; font-size: 16px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.contact-form .cf-submit svg { width: 18px; height: 18px; }
.contact-form .cf-submit:hover { transform: translateY(-2px); box-shadow: 0 10px 24px var(--primary-glow); }
.cf-note { margin-top: 16px; font-size: 13px; color: var(--muted); line-height: 1.5; }
.cf-success {
  display: none; margin-top: 20px; padding: 16px 18px; border-radius: 14px;
  background: var(--scan-soft); border: 1px solid color-mix(in srgb, var(--scan) 35%, transparent);
  color: var(--text); font-size: 15px; align-items: center; gap: 12px;
}
.cf-success.show { display: flex; }
.cf-success svg { width: 22px; height: 22px; color: var(--scan); flex: none; }

.contact-side { display: flex; flex-direction: column; gap: 16px; }
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 760px) { .contact-cards { grid-template-columns: 1fr; } }
.contact-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-md); padding: 22px 24px;
  transition: border-color .3s, transform .3s;
}
.contact-card:hover { border-color: color-mix(in srgb, var(--primary) 40%, var(--border)); transform: translateY(-3px); }
.contact-card .cc-ic {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: var(--primary-soft); color: var(--primary); margin-bottom: 14px;
}
.contact-card .cc-ic svg { width: 22px; height: 22px; }
.contact-card h3 { font-size: 17px; }
.contact-card p { font-size: 14px; color: var(--text-soft); margin-top: 5px; line-height: 1.5; }
.contact-card a { color: var(--primary); font-weight: 600; font-size: 14.5px; display: inline-block; margin-top: 8px; }
.contact-card a:hover { text-decoration: underline; }

.legal-hero {
  padding-top: clamp(56px, 8vw, 96px);
  padding-bottom: clamp(36px, 5vw, 56px);
  border-bottom: 1px solid var(--border);
  position: relative; overflow: hidden;
}
.legal-hero::after {
  content: ""; position: absolute; right: -6%; top: -40%; width: 380px; height: 380px;
  background: radial-gradient(closest-side, var(--primary-glow), transparent 70%);
  opacity: .4; pointer-events: none;
}
.legal-back {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 14px; font-weight: 600; color: var(--text-soft);
  transition: color .2s, gap .2s;
}
.legal-back svg { width: 16px; height: 16px; }
.legal-back:hover { color: var(--primary); gap: 10px; }
.legal-hero h1 { font-size: clamp(34px, 5.5vw, 60px); margin-top: 20px; }
.legal-meta { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 10px 18px; color: var(--muted); font-size: 14px; }
.legal-meta .pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px; border-radius: 99px; background: var(--surface-2);
  border: 1px solid var(--border); color: var(--text-soft); font-weight: 600;
}
.legal-meta .pill b { color: var(--text); font-weight: 700; }

.legal-body { padding-block: clamp(48px, 7vw, 88px); }
.legal-layout { display: grid; grid-template-columns: 250px 1fr; gap: clamp(36px, 5vw, 72px); align-items: start; }
@media (max-width: 880px) { .legal-layout { grid-template-columns: 1fr; gap: 0; } }

/* sticky table of contents */
.legal-toc { position: sticky; top: calc(var(--header-h) + 28px); }
@media (max-width: 880px) {
  .legal-toc { position: static; margin-bottom: 40px; padding: 20px; border: 1px solid var(--border); border-radius: var(--r-md); background: var(--surface); }
}
.legal-toc .toc-label {
  font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase;
  font-weight: 700; color: var(--muted); margin-bottom: 14px;
}
.legal-toc ol { counter-reset: toc; display: flex; flex-direction: column; gap: 2px; }
.legal-toc a {
  display: flex; gap: 10px; align-items: baseline;
  padding: 7px 10px; border-radius: 9px; font-size: 14px; color: var(--text-soft);
  line-height: 1.35; transition: background .2s, color .2s;
}
.legal-toc a::before { counter-increment: toc; content: counter(toc, decimal-leading-zero); font-family: ui-monospace, monospace; font-size: 11px; color: var(--primary); font-weight: 700; flex: none; }
.legal-toc a:hover { background: var(--surface-2); color: var(--text); }
.legal-toc a.active { background: var(--primary-soft); color: var(--text); }

/* prose */
.legal-prose { max-width: 760px; }
.legal-prose .intro { font-size: clamp(17px, 1.6vw, 20px); color: var(--text-soft); line-height: 1.6; }
.legal-prose section { scroll-margin-top: calc(var(--header-h) + 24px); margin-top: 48px; }
.legal-prose section:first-of-type { margin-top: 40px; }
.legal-prose h2 {
  font-size: clamp(22px, 2.6vw, 30px); display: flex; align-items: baseline; gap: 14px;
  padding-top: 28px; border-top: 1px solid var(--border);
}
.legal-prose h2 .num { font-family: ui-monospace, monospace; font-size: 15px; color: var(--primary); font-weight: 700; flex: none; }
.legal-prose h3 { font-size: 18px; margin-top: 26px; }
.legal-prose p { margin-top: 14px; color: var(--text-soft); font-size: 16px; line-height: 1.7; }
.legal-prose p strong, .legal-prose li strong { color: var(--text); font-weight: 700; }
.legal-prose ul { margin-top: 14px; display: flex; flex-direction: column; gap: 10px; }
.legal-prose ul li {
  position: relative; padding-left: 26px; color: var(--text-soft); font-size: 16px; line-height: 1.65;
}
.legal-prose ul li::before {
  content: ""; position: absolute; left: 4px; top: 10px; width: 7px; height: 7px;
  border-radius: 2px; background: var(--primary); transform: rotate(45deg);
}
.legal-prose a:not(.legal-back) { color: var(--primary); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; }
.legal-prose a:not(.legal-back):hover { text-decoration-thickness: 2px; }

.legal-callout {
  margin-top: 22px; padding: 18px 20px; border-radius: var(--r-md);
  background: var(--surface); border: 1px solid var(--border);
  border-left: 3px solid var(--scan);
}
.legal-callout .lc-label { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--scan); }
.legal-callout p { margin-top: 6px; }

.legal-contact {
  margin-top: 28px; padding: 24px 26px; border-radius: var(--r-lg);
  background: var(--surface-2); border: 1px solid var(--border);
}
.legal-contact h3 { margin-top: 0; }
.legal-contact .lc-rows { margin-top: 14px; display: flex; flex-direction: column; gap: 8px; }
.legal-contact .lc-rows div { display: flex; gap: 10px; font-size: 15px; color: var(--text-soft); }
.legal-contact .lc-rows b { color: var(--text); min-width: 90px; }

.legal-disclaimer {
  margin-top: 40px; padding: 16px 18px; border-radius: var(--r-sm);
  background: color-mix(in srgb, #F5A623 12%, transparent);
  border: 1px solid color-mix(in srgb, #F5A623 35%, transparent);
  font-size: 13.5px; color: var(--text-soft); line-height: 1.6;
}
[data-theme="dark"] .legal-disclaimer { background: color-mix(in srgb, #F5A623 14%, transparent); }
.legal-disclaimer strong { color: var(--text); }

/* ============================================================
   Data deletion - method cards & data columns
   ============================================================ */
.method-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 26px; }
@media (max-width: 640px) { .method-cards { grid-template-columns: 1fr; } }
.method-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 26px;
}
.method-card .mc-step {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700;
  color: var(--primary); margin-bottom: 14px;
}
.method-card .mc-step .n {
  width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center;
  background: var(--primary-soft); font-family: ui-monospace, monospace; font-size: 11px;
}
.method-card h3 { font-size: 19px; }
.method-card ol { margin-top: 14px; counter-reset: dstep; display: flex; flex-direction: column; gap: 12px; }
.method-card ol li {
  position: relative; padding-left: 32px; color: var(--text-soft); font-size: 15px; line-height: 1.55;
}
.method-card ol li::before {
  counter-increment: dstep; content: counter(dstep);
  position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%;
  background: var(--surface-2); border: 1px solid var(--border);
  color: var(--text); font-family: ui-monospace, monospace; font-size: 11px; font-weight: 700;
  display: grid; place-items: center;
}
.method-card .mc-email {
  margin-top: 16px; display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 16px; border-radius: 12px; background: var(--primary); color: var(--primary-ink);
  font-weight: 700; font-size: 14.5px; transition: transform .2s, box-shadow .2s;
}
.method-card .mc-email:hover { transform: translateY(-2px); box-shadow: 0 8px 20px var(--primary-glow); }
.method-card .mc-email svg { width: 16px; height: 16px; }

.data-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 20px; }
@media (max-width: 640px) { .data-cols { grid-template-columns: 1fr; } }
.data-col { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); padding: 22px 24px; }
.data-col h4 { display: flex; align-items: center; gap: 10px; font-size: 16px; }
.data-col h4 .dc-ic { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; flex: none; }
.data-col h4 .dc-ic svg { width: 17px; height: 17px; }
.data-col.del h4 .dc-ic { background: var(--scan-soft); color: var(--scan); }
.data-col.keep h4 .dc-ic { background: color-mix(in srgb, #F5A623 16%, transparent); color: #F5A623; }
.data-col ul { margin-top: 14px; display: flex; flex-direction: column; gap: 9px; }
.data-col li { position: relative; padding-left: 22px; color: var(--text-soft); font-size: 14.5px; line-height: 1.5; }
.data-col li::before { content: ""; position: absolute; left: 4px; top: 8px; width: 6px; height: 6px; border-radius: 2px; transform: rotate(45deg); }
.data-col.del li::before { background: var(--scan); }
.data-col.keep li::before { background: #F5A623; }

/* ============================================================
   FAQ / Support page extras
   ============================================================ */
.support-channels {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 48px;
}
@media (max-width: 760px) { .support-channels { grid-template-columns: 1fr; } }
.support-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md);
  padding: 24px; transition: transform .3s, border-color .3s;
}
.support-card:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--primary) 40%, var(--border)); }
.support-card .sp-ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary); margin-bottom: 16px; }
.support-card .sp-ic svg { width: 23px; height: 23px; }
.support-card h3 { font-size: 18px; }
.support-card p { font-size: 14.5px; color: var(--text-soft); margin-top: 6px; line-height: 1.55; }
.support-card a { color: var(--primary); font-weight: 600; font-size: 14.5px; display: inline-block; margin-top: 10px; }
.support-card a:hover { text-decoration: underline; }

.faq-cat {
  margin-top: 44px; margin-bottom: 2px;
  font-family: var(--font-display); font-weight: 700; font-size: 13px;
  letter-spacing: .12em; text-transform: uppercase; color: var(--primary);
}
.faq-cat.first { margin-top: 0; }

/* ============================================================
   About page
   ============================================================ */
.about-lead { max-width: 940px; margin: 0 auto; text-align: center; }
.about-lead .eyebrow { justify-content: center; }
.about-lead p, .about-lead h1 {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(24px, 3.4vw, 40px); line-height: 1.25; letter-spacing: -0.01em;
  color: var(--text); margin-top: 22px; text-wrap: balance;
}
.about-lead p .accent, .about-lead h1 .accent { color: var(--primary); }

.about-story { max-width: 760px; margin: 0 auto; }
.about-story h2 { font-size: clamp(26px, 3.4vw, 38px); }
.about-story p { margin-top: 18px; color: var(--text-soft); font-size: 17px; line-height: 1.7; }
.about-story p strong { color: var(--text); font-weight: 700; }

.values-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 48px; }
@media (max-width: 680px) { .values-grid { grid-template-columns: 1fr; } }
.value-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); padding: 28px; }
.value-card .v-ic { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px; background: var(--scan-soft); color: var(--scan); }
.value-card .v-ic svg { width: 25px; height: 25px; }
.value-card h3 { font-size: 19px; }
.value-card p { font-size: 15px; color: var(--text-soft); margin-top: 8px; line-height: 1.6; }

.maker-band {
  margin-top: 56px; text-align: center;
  padding: clamp(36px, 5vw, 60px); border-radius: var(--r-xl);
  background: var(--bg-soft); border: 1px solid var(--border);
}
.maker-band .mb-logo {
  width: 56px; height: 56px; border-radius: 16px; margin: 0 auto 20px;
  background: var(--surface-2); border: 1px solid var(--border);
  display: grid; place-items: center; color: var(--primary); font-family: var(--font-display); font-weight: 800; font-size: 22px;
}
.maker-band h3 { font-size: clamp(22px, 3vw, 30px); }
.maker-band p { margin-top: 14px; color: var(--text-soft); font-size: 16px; max-width: 560px; margin-inline: auto; line-height: 1.65; }
.maker-band a.mb-link { color: var(--primary); font-weight: 600; }

/* ============================================================
   Accessibility helpers
   ============================================================ */
a:focus-visible, button:focus-visible,
input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--primary); outline-offset: 2px; border-radius: 8px;
}
[data-theme="dark"] a:focus-visible,
[data-theme="dark"] button:focus-visible { outline-color: var(--scan); }

.hero-rating b { color: var(--text); font-weight: 700; }

/* ============================================================
   Proof / stats band
   ============================================================ */
.proof { padding-block: clamp(24px, 4vw, 56px); }
.proof-inner {
  position: relative; overflow: hidden;
  border-radius: var(--r-xl);
  background: var(--bg-soft); border: 1px solid var(--border);
  padding: clamp(30px, 4.5vw, 56px) clamp(24px, 4vw, 56px);
}
.proof-scan {
  position: absolute; inset: 0; opacity: .55; pointer-events: none;
  background:
    radial-gradient(42% 65% at 86% 12%, var(--primary-glow), transparent 70%),
    radial-gradient(42% 65% at 12% 92%, var(--scan-glow), transparent 70%);
}
.proof-head { position: relative; z-index: 1; text-align: center; margin-bottom: clamp(22px, 3vw, 34px); }
.proof-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center;
}
.proof-grid .stat { position: relative; }
.stat-num {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(36px, 5vw, 58px); line-height: 1; letter-spacing: -0.03em;
  color: var(--text); display: inline-flex; align-items: baseline;
}
.stat-num .cv { font-variant-numeric: tabular-nums; }
.stat-num .su { color: var(--primary); font-size: .5em; font-weight: 700; margin-left: 3px; letter-spacing: 0; }
.stat-lab { margin-top: 12px; font-size: 14.5px; color: var(--text-soft); font-weight: 600; }
@media (min-width: 761px) {
  .proof-grid .stat + .stat::before {
    content: ""; position: absolute; left: -12px; top: 12%; height: 76%; width: 1px;
    background: var(--border);
  }
}
@media (max-width: 760px) {
  .proof-grid { grid-template-columns: repeat(2, 1fr); gap: 34px 18px; }
}

/* verified badge on testimonials */
.testi-card .who .nm { display: flex; align-items: center; gap: 6px; }
.testi-card .who .vbadge { width: 14px; height: 14px; color: var(--scan); flex: none; }
