/* ============================================================
   FlipIQ — landing styles
   ============================================================ */

:root {
  /* palette */
  --bg: #000;
  --bg-2: #050807;
  --bg-soft: #0a100d;
  --surface: rgba(255,255,255,.04);
  --surface-2: rgba(255,255,255,.06);
  --border: rgba(255,255,255,.08);
  --border-2: rgba(255,255,255,.14);
  --text: #f4f7f5;
  --muted: #8a948f;
  --dim: #5a625e;

  /* accent (themed) */
  --g: #1FE07F;
  --g-soft: #16a366;
  --g-dim: rgba(31,224,127,.18);
  --g-glow: rgba(31,224,127,.42);

  /* accents (fixed) */
  --b: #5fa7ff;
  --p: #b9a2ff;
  --r: #ff7373;
  --y: #f5b04a;

  /* layout */
  --maxw: 1280px;
  --gap: 28px;
  --r-sm: 10px;
  --r: 18px;
  --r-lg: 26px;

  /* type */
  --type-scale: 1;
  --display: "Bricolage Grotesque", system-ui, sans-serif;
  --sans: "Geist", "Bricolage Grotesque", system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", monospace;
}

/* themes (accent) */
body.theme-emerald { --g:#1FE07F; --g-soft:#16a366; --g-dim:rgba(31,224,127,.18); --g-glow:rgba(31,224,127,.45); }
body.theme-lime    { --g:#BEF264; --g-soft:#65a30d; --g-dim:rgba(190,242,100,.18); --g-glow:rgba(190,242,100,.45); }
body.theme-cyan    { --g:#22D3EE; --g-soft:#0e7490; --g-dim:rgba(34,211,238,.18); --g-glow:rgba(34,211,238,.45); }
body.theme-orange  { --g:#FB923C; --g-soft:#c2410c; --g-dim:rgba(251,146,60,.18); --g-glow:rgba(251,146,60,.45); }
body.theme-violet  { --g:#A78BFA; --g-soft:#6d28d9; --g-dim:rgba(167,139,250,.18); --g-glow:rgba(167,139,250,.45); }

/* bg variants */
body.bg-black  { --bg:#000;     --bg-2:#050807;  --bg-soft:#0a100d; }
body.bg-forest { --bg:#04110a;  --bg-2:#061a10;  --bg-soft:#08221a; }
body.bg-steel  { --bg:#06080a;  --bg-2:#0a1014;  --bg-soft:#0e161c; }

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { background: var(--bg); }
body {
  font-family: var(--sans);
  font-size: calc(16px * var(--type-scale));
  line-height: 1.5;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 32px;
}

.mono { font-family: var(--mono); font-feature-settings: "tnum" 1, "ss01" 1; letter-spacing: -.01em; }
.accent { color: var(--g); }
.muted { color: var(--muted); }
.dim { color: var(--dim); }

/* selection */
::selection { background: var(--g); color: #001a0c; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 60;
  backdrop-filter: blur(14px) saturate(130%);
  -webkit-backdrop-filter: blur(14px) saturate(130%);
  background: linear-gradient(180deg, rgba(0,0,0,.78) 0%, rgba(0,0,0,.55) 50%, rgba(0,0,0,.15) 85%, rgba(0,0,0,0) 100%);
  /* feather the bottom edge so the radar light blends through smoothly */
  mask-image: linear-gradient(180deg, black 0%, black 60%, rgba(0,0,0,.4) 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, black 0%, black 60%, rgba(0,0,0,.4) 90%, transparent 100%);
  border-bottom: none;
  transition: background .3s;
}
.nav.is-stuck {
  background: linear-gradient(180deg, rgba(0,0,0,.85) 0%, rgba(0,0,0,.6) 60%, rgba(0,0,0,.15) 90%, rgba(0,0,0,0) 100%);
}
.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 14px 32px;
  display: flex; align-items: center; gap: 28px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--g);
}
.brand-mark {
  display: inline-flex;
  width: 32px; height: 32px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 14px var(--g-glow), 0 0 0 1px rgba(255,255,255,.06);
}
.brand-mark img { width: 100%; height: 100%; display: block; }
.brand-word {
  font-family: var(--display);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -.02em;
  color: var(--text);
}
.nav-links {
  display: flex; gap: 22px;
  margin-left: 8px;
  font-size: 14px;
}
.nav-links a {
  padding: 8px 0;
  color: var(--text);
  font-weight: 500;
  transition: color .2s;
}
.nav-links a:hover { color: var(--g); }
.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 14px;
  border-radius: 999px;
  background: var(--g);
  color: #021a0d;
  font-weight: 600;
  font-size: 14px;
  box-shadow: 0 8px 30px var(--g-glow), 0 0 0 1px rgba(255,255,255,.1) inset;
  transition: transform .15s ease, box-shadow .25s;
}
.nav-login {
  margin-left: auto;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  border: 1px solid var(--border-2);
  background: rgba(255,255,255,.03);
  transition: background .2s, border-color .2s;
}
.nav-login:hover { background: rgba(255,255,255,.08); border-color: var(--g-dim); color: var(--g); }
.nav-login + .nav-cta { margin-left: 10px; }
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 12px 38px var(--g-glow); }

/* ============================================================
   HERO
   ============================================================ */
.hero { overflow: visible; }
.hero {
  position: relative;
  min-height: auto;
  padding-top: 18px;
  isolation: isolate;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; z-index: -1; }
.hero-bg .grid,
.cta-bg .grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 50% 30%, black 35%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, black 35%, transparent 75%);
}
.hero-bg .glow {
  position: absolute;
  width: 980px; height: 980px;
  border-radius: 50%;
  filter: blur(136px);
  opacity: .32;
}
.hero-bg .glow-a {
  background: radial-gradient(circle at 50% 50%, var(--g-glow), transparent 60%);
  top: -440px; left: -420px;
}
.hero-bg .glow-b {
  background: radial-gradient(circle at 50% 50%, rgba(95,167,255,.25), transparent 60%);
  top: -200px; right: -360px;
  opacity: .32;
}
.hero-bg .grain {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .35 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  opacity: .35;
  mix-blend-mode: overlay;
}

/* ticker top */
.ticker {
  position: relative;
  height: 32px;
  margin-top: 2px;
  border-block: 1px solid rgba(255,255,255,.045);
  background: rgba(255,255,255,.008);
  opacity: .58;
  overflow: hidden;
}
.ticker-track {
  position: absolute;
  display: flex; gap: 36px;
  align-items: center;
  height: 100%;
  white-space: nowrap;
  animation: scroll-x 60s linear infinite;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--muted);
  padding-left: 0;
  will-change: transform;
}
.ticker-track .t-pill {
  display: inline-flex; gap: 8px; align-items: center;
}
.ticker-track .t-up { color: var(--g); }
.ticker-track .t-down { color: var(--r); }
.ticker-track .t-cat { color: var(--text); }
.ticker-track .t-sep { color: var(--dim); }

@keyframes scroll-x {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* hero grid */
.hero-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 26px 32px 12px;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 64px;
  align-items: center;
}

/* hero copy */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 22px;
}
.eyebrow .pulse {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--g); box-shadow: 0 0 0 0 var(--g);
  animation: pulse 2.2s ease infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 var(--g-glow); }
  60%  { box-shadow: 0 0 0 10px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}

.display {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(54px, 7.6vw, 112px);
  line-height: .94;
  letter-spacing: -.035em;
  margin: 0 0 28px;
  font-variation-settings: "opsz" 96;
}
.display .line { display: block; }
.display .word {
  display: inline-block;
  opacity: 1;
  transform: translateY(0);
}
.display.is-ready .word {
  animation: rise .8s cubic-bezier(.2,.7,.2,1) both;
}
.display.is-ready .line:nth-child(1) .word:nth-child(1) { animation-delay: .08s; }
.display.is-ready .line:nth-child(1) .word:nth-child(2) { animation-delay: .18s; }
.display.is-ready .line:nth-child(2) .word:nth-child(1) { animation-delay: .30s; }
.display.is-ready .line:nth-child(2) .word:nth-child(2) { animation-delay: .40s; }
.display .word.italic {
  font-style: italic;
  background: linear-gradient(105deg, var(--g) 0%, #b6ffd6 55%, var(--g) 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 4.5s ease-in-out 1.4s infinite;
}
.display.is-ready .word.italic {
  animation: rise .8s cubic-bezier(.2,.7,.2,1) both, shimmer 4.5s ease-in-out 1.4s infinite;
}
@keyframes rise {
  from { transform: translateY(.6em); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}
@keyframes shimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.lede {
  font-size: clamp(16px, 1.25vw, 19px);
  color: var(--muted);
  max-width: 52ch;
  margin: 0 0 32px;
  text-wrap: pretty;
}

.cta-row {
  display: flex; gap: 14px; flex-wrap: wrap;
  align-items: center;
  margin-bottom: 36px;
}
.btn {
  position: relative;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 20px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .25s, background .2s;
  overflow: hidden;
  isolation: isolate;
}
.btn-lg { padding: 16px 24px; font-size: 16px; }
.btn-primary {
  background: var(--g);
  color: #021a0d;
  box-shadow: 0 10px 36px var(--g-glow), inset 0 1px 0 rgba(255,255,255,.4);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 50px var(--g-glow), inset 0 1px 0 rgba(255,255,255,.45); }
.btn-shimmer {
  position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.6) 50%, transparent 70%);
  transform: translateX(-110%);
  animation: btn-sweep 3.6s ease-in-out 1s infinite;
  pointer-events: none;
  mix-blend-mode: overlay;
}
@keyframes btn-sweep {
  0%, 60% { transform: translateX(-110%); }
  90%, 100% { transform: translateX(110%); }
}
.btn-ghost {
  background: rgba(255,255,255,.04);
  border-color: var(--border-2);
  color: var(--text);
}
.btn-ghost:hover { background: rgba(255,255,255,.07); }

/* hero stats */
.hero-stats {
  display: flex; align-items: center; gap: 26px;
  padding: 18px 0 0;
  border-top: 1px dashed var(--border);
  max-width: 540px;
}
.hstat { display: flex; flex-direction: column; gap: 2px; }
.hstat-num {
  font-family: var(--mono);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -.02em;
  color: var(--text);
}
.hstat-lbl {
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--dim);
}
.hstat-sep {
  width: 1px; height: 28px; background: var(--border);
}

/* scroll cue */
.scroll-cue {
  position: absolute;
  bottom: 8px; left: 50%;
  transform: translateX(-50%);
  font-family: var(--mono); font-size: 11px;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--dim);
  opacity: .38;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  animation: float-y 2.4s ease-in-out infinite;
}
.scroll-cue .arrow { font-size: 16px; }
@keyframes float-y {
  0%, 100% { transform: translate(-50%, 0); opacity: .7; }
  50% { transform: translate(-50%, 8px); opacity: 1; }
}

/* ============================================================
   PHONE — shared
   ============================================================ */
.hero-phone-wrap {
  position: relative;
  display: flex; justify-content: center; align-items: center;
  perspective: 800px;
  isolation: isolate;
  --laser-len: 130vmax;
}
.hero-phone-wrap::before,
.hero-phone-wrap::after {
  content: "";
  position: absolute;
  pointer-events: none;
}
.hero-phone-wrap::before {
  width: min(58vw, 640px);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(31,224,127,.12);
  background:
    radial-gradient(circle at 50% 50%, rgba(31,224,127,.10), transparent 42%),
    repeating-radial-gradient(circle at 50% 50%,
      rgba(31,224,127,.09) 0 1px,
      transparent 1px 88px);
  box-shadow: 0 0 48px rgba(31,224,127,.08) inset;
  opacity: .58;
  transform: translateY(8px);
  z-index: -3;
}
.hero-phone-wrap::after {
  width: min(28vw, 360px);
  height: 78px;
  bottom: -26px;
  border-radius: 999px;
  background: radial-gradient(ellipse at center, rgba(31,224,127,.20), rgba(0,0,0,.52) 48%, transparent 72%);
  filter: blur(20px);
  opacity: .72;
  z-index: -1;
}

/* ---------- scanning beam projecting from behind the phone ---------- */
.laser-fx {
  position: absolute;
  left: 50%; top: 50%;
  width: 0; height: 0;
  pointer-events: none;
  z-index: -2;
}
.radar-rings {
  position: absolute;
  left: 0; top: 0;
  pointer-events: none;
}
.radar-rings::before,
.radar-rings::after,
.radar-rings i {
  content: "";
  position: absolute;
  border: 1px solid rgba(31,224,127,.13);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 22px rgba(31,224,127,.06) inset;
}
.radar-rings::before { width: 320px; height: 320px; }
.radar-rings i        { width: 520px; height: 520px; display: block; opacity: .56; }
.radar-rings::after  { width: 760px; height: 760px; opacity: .32; }
.laser-fan {
  position: absolute;
  left: 0; top: 0;
  width: var(--laser-len);
  height: var(--laser-len);
  transform-origin: 0 0;
  animation: radar-sweep 5.5s linear infinite, beam-breathe 4.5s ease-in-out infinite;
  background: conic-gradient(from -55deg at 0% 50%,
    transparent 0deg,
    rgba(31,224,127,0)   8deg,
    rgba(31,224,127,.06) 24deg,
    rgba(31,224,127,.14) 42deg,
    rgba(31,224,127,.26) 56deg,
    rgba(31,224,127,.42) 60deg,
    rgba(31,224,127,.26) 64deg,
    rgba(31,224,127,.14) 78deg,
    rgba(31,224,127,.06) 96deg,
    rgba(31,224,127,0)  112deg,
    transparent 120deg);
  filter: blur(30px);
  mix-blend-mode: screen;
  opacity: .5;
}
@keyframes radar-sweep {
  from { transform: rotate(0deg)   translateY(-50%); }
  to   { transform: rotate(360deg) translateY(-50%); }
}
@keyframes beam-breathe {
  0%, 100% { opacity: .36; }
  50%      { opacity: .52;  }
}
.laser-beam, .laser-hit { display: none; }
@media (max-width: 1100px) {
  .laser-fx { display: none; }
}
.orbit {
  position: absolute; inset: -20px;
  pointer-events: none;
}
.orbit-tag {
  position: absolute;
  font-family: var(--mono);
  font-size: 12px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  color: rgba(244,247,245,.72);
  text-shadow: 0 0 18px rgba(0,0,0,.88);
  animation: orbit-float 6s ease-in-out infinite;
}
.orbit-tag.tag-1 { top:  8%; left: -2%;  color: var(--g); animation-delay: 0s; }
.orbit-tag.tag-2 { top: 28%; right: -5%; animation-delay: -1.5s; }
.orbit-tag.tag-3 { bottom: 30%; left: -8%; color: var(--b); animation-delay: -3s; }
.orbit-tag.tag-4 { bottom: 12%; right: -2%; animation-delay: -4.5s; }
@keyframes orbit-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

.phone {
  position: relative;
  width: 320px;
  aspect-ratio: 320 / 660;
  transform-style: preserve-3d;
  animation: phone-float 9s ease-in-out infinite;
}
@keyframes phone-float {
  0%, 100% { transform: translateY(0) rotateY(-7deg) rotateX(2deg); }
  50%      { transform: translateY(-4px) rotateY(-6.5deg) rotateX(1.7deg); }
}
.phone-bezel {
  position: absolute; inset: 0;
  border-radius: 50px;
  /* black titanium frame — subtle satin sheen, not glossy */
  background:
    /* faint vertical brushed grain */
    repeating-linear-gradient(90deg, rgba(255,255,255,.02) 0 1px, transparent 1px 4px),
    /* corner specular (top-left) */
    radial-gradient(120% 80% at 8% 0%, rgba(255,255,255,.22), transparent 45%),
    /* corner specular (bottom-right) */
    radial-gradient(120% 80% at 92% 100%, rgba(255,255,255,.10), transparent 50%),
    /* satin titanium horizontal gradient */
    linear-gradient(95deg,
      #0d0e0f 0%,
      #555a5e 8%,
      #1f2224 22%,
      #3d4144 40%,
      #1a1c1e 52%,
      #44484c 68%,
      #1f2224 82%,
      #5b6064 92%,
      #0d0e0f 100%);
  background-blend-mode: overlay, screen, screen, normal;
  padding: 5px;
  box-shadow:
    /* chamfered edge highlight */
    inset 0 0 0 1px rgba(255,255,255,.18),
    inset 0 2px 0 rgba(255,255,255,.28),
    inset 0 -1.5px 0 rgba(0,0,0,.55),
    inset 2px 0 0 rgba(255,255,255,.10),
    inset -2px 0 0 rgba(0,0,0,.4),
    /* smooth 14-step extrusion to bottom-right */
     1px 1px 0 #2a2d2f,
     2px 2px 0 #25282a,
     3px 3px 0 #202325,
     4px 4px 0 #1c1f21,
     5px 5px 0 #181b1d,
     6px 6px 0 #141719,
     7px 7px 0 #111315,
     8px 8px 0 #0e1012,
     9px 9px 0 #0b0d0f,
    10px 10px 0 #08090b,
    11px 11px 0 #060709,
    12px 12px 0 #040506,
    13px 13px 0 #020304,
    14px 14px 0 #010102,
    14px 60px 100px -10px rgba(0,0,0,.78),
    8px 28px 60px -20px rgba(0,0,0,.55);
}
.phone-side {
  position: absolute;
  width: 5px; height: 70px;
  right: -3px;
  top: 22%;
  background: linear-gradient(90deg, #050605, #2a2c2b 30%, #3a3c3b 50%, #1a1c1b 100%);
  border-radius: 0 3px 3px 0;
  box-shadow:
    0 110px 0 #0a0c0b,
    0 110px 0 -1px #2a2c2b,
    0 175px 0 #0a0c0b,
    0 175px 0 -1px #2a2c2b,
    inset 0 1px 0 rgba(255,255,255,.15);
  z-index: 1;
}
/* power button on opposite side */
.phone-bezel > .phone-side + .phone-side {
  left: -3px; right: auto;
  top: 28%;
  height: 92px;
  border-radius: 3px 0 0 3px;
  background: linear-gradient(-90deg, #050605, #2a2c2b 30%, #3a3c3b 50%, #1a1c1b 100%);
  box-shadow:
    0 0 0 0 transparent,
    inset 0 1px 0 rgba(255,255,255,.15);
}
.phone-screen {
  position: relative;
  width: 100%; height: 100%;
  border-radius: 46px;
  overflow: hidden;
  background: #000;
  display: grid;
}
.phone-glow {
  position: absolute;
  inset: -34px;
  border-radius: 70px;
  background: radial-gradient(48% 50% at 50% 52%, var(--g-glow) 0%, transparent 70%);
  filter: blur(26px);
  opacity: .48;
  z-index: -1;
}

.scr {
  grid-area: 1/1;
  width: 100%; height: 100%;
  background: #000;
  display: flex; flex-direction: column;
  opacity: 0;
  transition: opacity .5s ease;
  pointer-events: none;
}
.scr.is-active { opacity: 1; pointer-events: auto; }

/* status bar */
.statusbar {
  display: flex; align-items: center;
  padding: 12px 18px 4px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  position: relative;
  min-height: 32px;
}
.sb-time { width: 44px; }
.sb-bell {
  width: 14px; height: 14px;
  opacity: .8;
}
.sb-island {
  position: absolute;
  left: 50%; top: 8px;
  transform: translateX(-50%);
  width: 100px; height: 26px;
  border-radius: 18px;
  background: #000;
  border: 1px solid rgba(255,255,255,.05);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 2px rgba(0,0,0,.6);
  overflow: hidden;
}
.sb-island::after {
  content: "";
  width: 16px; height: 16px;
  background: url(/landing-v2/img/app-icon.png) center/cover no-repeat;
  border-radius: 4px;
  margin-left: -2px;
  box-shadow: 0 0 8px var(--g-glow);
}
.island-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--g);
  box-shadow: 0 0 8px var(--g);
  display: none;
}
.sb-right {
  margin-left: auto;
  display: flex; align-items: center; gap: 5px;
  font-size: 11px;
}
.sb-bars { display: inline-flex; gap: 1.5px; align-items: end; }
.sb-bars b {
  display: inline-block; width: 3px; background: #fff; border-radius: 1px;
}
.sb-bars b:nth-child(1) { height: 3px; }
.sb-bars b:nth-child(2) { height: 5px; }
.sb-bars b:nth-child(3) { height: 7px; }
.sb-bars b:nth-child(4) { height: 9px; }
.sb-5g sup { font-size: 7px; vertical-align: super; }
.sb-batt {
  display: inline-flex; align-items: center; gap: 3px;
  border: 1px solid rgba(255,255,255,.55);
  padding: 1px 4px;
  border-radius: 4px;
  position: relative;
}
.sb-batt::after {
  content: ""; position: absolute; right: -3px; top: 50%;
  transform: translateY(-50%);
  width: 2px; height: 4px;
  background: rgba(255,255,255,.55);
  border-radius: 0 1px 1px 0;
}
.sb-batt b {
  width: 18px; height: 9px;
  background: #fff;
  border-radius: 1.5px;
}

/* scr-scan (hero phone home) */
.scr-pad { padding: 14px 18px 0; flex: 1; display: flex; flex-direction: column; }
.scr-row {
  display: flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 16px;
  margin-top: 4px;
}
.scr-row .scr-brand { font-family: var(--display); letter-spacing: -.02em; }
.scr-row .scr-gear { margin-left: auto; opacity: .7; font-size: 14px; }
.dot-live {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--g);
  box-shadow: 0 0 8px var(--g);
}
.scr-sublabel {
  font-size: 10px;
  letter-spacing: .12em;
  color: var(--dim);
  margin-top: 4px;
}
.scr-stat-row {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 8px; margin: 12px 0 10px;
}
.scr-stat-n { font-size: 22px; font-weight: 600; }
.scr-stat-l {
  font-size: 9px; letter-spacing: .12em; color: var(--dim);
  margin-top: 2px;
}

.scan-target {
  position: relative;
  margin: 12px auto 8px;
  width: 168px; height: 168px;
  display: flex; align-items: center; justify-content: center;
}
.scan-ring {
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 2px solid var(--g);
  box-shadow: 0 0 30px var(--g-glow), inset 0 0 30px var(--g-glow);
  animation: ring-pulse 2.4s ease-in-out infinite;
}
.scan-ring.r2 {
  inset: -18px;
  border-color: var(--g-dim);
  box-shadow: none;
  opacity: .6;
  animation: ring-pulse 2.4s ease-in-out .6s infinite;
}
@keyframes ring-pulse {
  0%, 100% { transform: scale(1); opacity: .9; }
  50%      { transform: scale(1.04); opacity: .7; }
}
.scan-core {
  width: 96px; height: 96px;
  border-radius: 50%;
  background: #fff;
  display: flex; align-items: center; justify-content: center;
  color: #000;
  box-shadow: 0 0 60px var(--g-glow);
  position: relative;
  z-index: 1;
}
.scan-laser {
  position: absolute;
  left: 8%; right: 8%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--g) 30%, var(--g) 70%, transparent);
  filter: drop-shadow(0 0 6px var(--g));
  border-radius: 2px;
  animation: scan-y 2s ease-in-out infinite;
}
@keyframes scan-y {
  0%, 100% { top: 18%; }
  50% { top: 78%; }
}
.scan-corners i {
  position: absolute;
  width: 18px; height: 18px;
  border: 2px solid var(--g);
}
.scan-corners i:nth-child(1) { top: 0; left: 0; border-right: none; border-bottom: none; }
.scan-corners i:nth-child(2) { top: 0; right: 0; border-left: none; border-bottom: none; }
.scan-corners i:nth-child(3) { bottom: 0; right: 0; border-left: none; border-top: none; }
.scan-corners i:nth-child(4) { bottom: 0; left: 0; border-right: none; border-top: none; }

.scan-label {
  position: absolute;
  bottom: -22px;
  font-size: 11px;
  letter-spacing: .26em;
  color: var(--g);
  font-weight: 600;
}
.scan-sublabel {
  position: absolute;
  bottom: -44px;
  font-size: 11px;
  color: var(--muted);
}

.scr-tabs {
  display: flex; gap: 14px;
  justify-content: center;
  margin: 56px 0 8px;
  font-size: 11px;
  color: var(--muted);
}
.scr-tab.is-active {
  color: var(--g);
  position: relative;
}
.scr-tab.is-active::after {
  content: ""; position: absolute;
  bottom: -5px; left: 0; right: 0;
  height: 2px; background: var(--g); border-radius: 2px;
}
.scr-mini {
  display: flex; gap: 18px; justify-content: center;
  font-size: 11px; color: var(--muted);
  margin-bottom: 8px;
}
.scr-mini span { display: inline-flex; align-items: center; gap: 5px; }

/* tabbar (bottom nav on phone) */
.tabbar {
  margin-top: auto;
  display: grid;
  grid-template-columns: repeat(5,1fr);
  padding: 8px 6px 14px;
  border-top: 1px solid rgba(255,255,255,.06);
  background: rgba(0,0,0,.5);
}
.tb {
  display: flex; flex-direction: column; align-items: center;
  gap: 3px;
  font-size: 9px;
  color: var(--dim);
}
.tb.is-on { color: var(--g); }
.tb i { width: 18px; height: 18px; display: inline-block; opacity: .8; }
.i-cam { background: currentColor; mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M5 8a2 2 0 0 1 2-2h1l1-2h6l1 2h1a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2z M12 16a4 4 0 1 0-4-4 4 4 0 0 0 4 4z' fill='black'/></svg>") center/contain no-repeat; -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M5 8a2 2 0 0 1 2-2h1l1-2h6l1 2h1a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2z M12 16a4 4 0 1 0-4-4 4 4 0 0 0 4 4z' fill='black'/></svg>") center/contain no-repeat; }
.i-clk { background: currentColor; mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><circle cx='12' cy='12' r='9' fill='none' stroke='black' stroke-width='2'/><path d='M12 7v6l4 2' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'/></svg>") center/contain no-repeat; -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><circle cx='12' cy='12' r='9' fill='none' stroke='black' stroke-width='2'/><path d='M12 7v6l4 2' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'/></svg>") center/contain no-repeat; }
.i-pie { background: currentColor; mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><circle cx='12' cy='12' r='9' fill='none' stroke='black' stroke-width='2'/><path d='M12 3 v9 h9' fill='none' stroke='black' stroke-width='2'/></svg>") center/contain no-repeat; -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><circle cx='12' cy='12' r='9' fill='none' stroke='black' stroke-width='2'/><path d='M12 3 v9 h9' fill='none' stroke='black' stroke-width='2'/></svg>") center/contain no-repeat; }
.i-gift { background: currentColor; mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M4 9h16v2H4z M5 12h14v8H5z M12 9v11 M9 6a3 3 0 1 1 3 3 3 3 0 1 1 3-3' fill='none' stroke='black' stroke-width='2'/></svg>") center/contain no-repeat; -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M4 9h16v2H4z M5 12h14v8H5z M12 9v11 M9 6a3 3 0 1 1 3 3 3 3 0 1 1 3-3' fill='none' stroke='black' stroke-width='2'/></svg>") center/contain no-repeat; }
.i-trend { background: currentColor; mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M3 17l6-6 4 4 8-9 M17 6h4v4' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>") center/contain no-repeat; -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M3 17l6-6 4 4 8-9 M17 6h4v4' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>") center/contain no-repeat; }

/* floating app icon near hero phone */
.phone-icon-float {
  position: absolute;
  width: 96px; height: 96px;
  border-radius: 22px;
  top: -38px;
  right: -42px;
  z-index: 3;
  box-shadow: 0 30px 50px -10px rgba(0,0,0,.6), 0 0 60px var(--g-glow), 0 0 0 1px rgba(255,255,255,.08);
  animation: icon-float 7s ease-in-out infinite;
  transform: rotate(8deg);
}
@keyframes icon-float {
  0%, 100% { transform: rotate(8deg) translateY(0); }
  50%      { transform: rotate(6deg) translateY(-10px); }
}
@media (max-width: 700px) {
  .phone-icon-float { width: 72px; height: 72px; top: -28px; right: -10px; border-radius: 16px; }
}

/* ============================================================
   FLIP CARD section
   ============================================================ */
.theflip { padding: 52px 0 76px; position: relative; }
.theflip-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.kicker {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--g);
  text-transform: uppercase;
  margin-bottom: 18px;
}
.h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(38px, 4.4vw, 64px);
  line-height: 1.02;
  letter-spacing: -.025em;
  margin: 0 0 22px;
  text-wrap: balance;
}
.p {
  font-size: 17px;
  color: var(--muted);
  max-width: 50ch;
  text-wrap: pretty;
}
.h2 .muted { color: var(--muted); }
.max-50 { max-width: 22ch; }

.kv-list {
  margin-top: 32px;
  display: flex; flex-direction: column;
  border-top: 1px solid var(--border);
}
.kv {
  display: flex; justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
}
.kv-k { color: var(--muted); }
.kv-v { font-size: 16px; }
.kv-total .kv-k { color: var(--text); font-weight: 600; }
.kv-total .kv-v { font-size: 22px; font-weight: 600; }

.theflip-stage {
  position: relative;
  perspective: 1400px;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.flipcard {
  position: relative;
  width: 420px; height: 560px;
  cursor: pointer;
  transform-style: preserve-3d;
}
/* soft ambient halo behind the card — matches .phone-glow / .cta-glow language */
.flipcard::before {
  content: "";
  position: absolute;
  inset: -40px;
  border-radius: 48px;
  background: radial-gradient(50% 50% at 50% 50%, var(--g-glow) 0%, transparent 70%);
  filter: blur(28px);
  opacity: .55;
  z-index: -1;
  pointer-events: none;
  animation: card-halo 3.2s ease-in-out infinite;
}
@keyframes card-halo {
  0%, 100% { opacity: .42; }
  50%      { opacity: .62; }
}

/* SVG border — base ring + two chasing "snake" segments traveling around the edge.
   Same visual language as .rail-fill traveling glow on the scan demo. */
.neon-edge {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  overflow: visible;
  z-index: 2;
  filter: drop-shadow(0 0 3px var(--g-glow));
}
.ne-snake {
  animation: ne-chase 3.2s linear infinite;
}
.ne-snake-2 {
  animation: ne-chase-2 3.2s linear infinite;
}
@keyframes ne-chase {
  to { stroke-dashoffset: -100; }
}
@keyframes ne-chase-2 {
  from { stroke-dashoffset: -50; }
  to   { stroke-dashoffset: -150; }
}
@media (prefers-reduced-motion: reduce) {
  .flipcard::before,
  .ne-snake,
  .ne-snake-2 { animation: none; }
}
.flipcard-inner {
  position: absolute; inset: 0;
  transform-style: preserve-3d;
  transition: transform 1s cubic-bezier(.7,.0,.3,1);
  animation: card-idle 6s ease-in-out infinite;
}
@keyframes card-idle {
  0%, 100% { transform: rotateY(0) rotateX(2deg) translateZ(0); }
  50%      { transform: rotateY(-8deg) rotateX(2deg) translateY(-6px); }
}
.flipcard:hover .flipcard-inner,
.flipcard:focus .flipcard-inner,
.flipcard.is-flipped .flipcard-inner {
  animation: none;
  transform: rotateY(180deg);
}
.face {
  position: absolute; inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: 24px;
  background: linear-gradient(180deg, #0e1411 0%, #060a08 100%);
  border: 1px solid var(--border-2);
  overflow: hidden;
  padding: 20px;
  display: flex; flex-direction: column;
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.7);
  transition: opacity .5s ease;
}
.face-back {
  transform: rotateY(180deg);
  background: linear-gradient(180deg, #082016 0%, #061812 100%);
  border-color: var(--g-dim);
  box-shadow: 0 30px 80px -20px var(--g-glow), 0 30px 60px -30px rgba(0,0,0,.7);
  opacity: 0;
}
.flipcard:hover .face-front,
.flipcard:focus .face-front,
.flipcard.is-flipped .face-front { opacity: 0; }
.flipcard:hover .face-back,
.flipcard:focus .face-back,
.flipcard.is-flipped .face-back { opacity: 1; }
.face-tag {
  align-self: flex-start;
  font-family: var(--mono); font-size: 11px;
  padding: 0;
  background: transparent;
  border-radius: 0;
  color: var(--muted);
  letter-spacing: .06em;
}
.face-tag.tag-sell {
  color: var(--g);
}
.face-stamp {
  position: absolute;
  top: 18px; right: 18px;
  font-family: var(--mono); font-weight: 600;
  font-size: 11px;
  letter-spacing: .18em;
  padding: 4px 10px;
  border: 1px solid var(--border-2);
  border-radius: 999px;
  color: var(--muted);
}
.face-stamp.stamp-sell {
  color: var(--g); border-color: var(--g);
  background: var(--g-dim);
  box-shadow: 0 0 24px var(--g-glow);
}
.face-img {
  flex: 1;
  margin: 14px 28px 12px;
  border-radius: 14px;
  position: relative;
  overflow: hidden;
}
.face-img-buy {
  background-image:
    radial-gradient(circle at 50% 18%, rgba(31,224,127,.30), transparent 36%),
    linear-gradient(180deg, rgba(17, 36, 30, .98), rgba(5, 8, 7, .98)) !important;
  background-size: auto !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  box-shadow:
    inset 0 0 0 1px rgba(31,224,127,.18),
    inset 0 -50px 90px rgba(0,0,0,.42);
}
.face-img-buy::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 48%;
  width: min(154px, 54%);
  aspect-ratio: 0.48;
  transform: translate(-50%, -50%) rotate(-5deg);
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,.28);
  background:
    radial-gradient(circle at 28% 13%, #0b0f0d 0 8px, transparent 9px),
    radial-gradient(circle at 45% 13%, #111916 0 8px, transparent 9px),
    radial-gradient(circle at 36% 23%, rgba(31,224,127,.9) 0 3px, transparent 4px),
    linear-gradient(180deg, rgba(37,52,48,.94), rgba(6,9,9,.98));
  box-shadow:
    0 30px 58px rgba(0,0,0,.54),
    0 0 54px rgba(31,224,127,.2),
    inset 0 1px 0 rgba(255,255,255,.2);
}
.face-img-buy::after {
  content: "$180";
  position: absolute; top: 14px; right: 16px;
  font-family: var(--mono); font-size: 14px;
  color: #fff;
  background: #c0392b;
  padding: 5px 9px;
  border-radius: 6px;
  transform: rotate(8deg);
  box-shadow: 0 4px 14px rgba(0,0,0,.4);
  z-index: 2;
}
.face-img-sell {
  background-image:
    radial-gradient(circle at 55% 10%, rgba(31,224,127,.28), transparent 36%),
    linear-gradient(180deg, #0a221a 0%, #051410 100%) !important;
  background-size: auto !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  box-shadow: inset 0 0 0 1px var(--g-dim), inset 0 -40px 80px rgba(31,224,127,.18);
}
.face-img-sell::before {
  content: "DRAFT READY";
  position: absolute;
  inset: 24px 24px 54px;
  border-radius: 16px;
  border: 1px solid rgba(31,224,127,.2);
  background:
    linear-gradient(90deg, rgba(31,224,127,.9) 0 28%, transparent 28% 100%) 18px 54px / 70% 2px no-repeat,
    linear-gradient(90deg, rgba(255,255,255,.28) 0 62%, transparent 62% 100%) 18px 78px / 76% 1px no-repeat,
    linear-gradient(90deg, rgba(255,255,255,.18) 0 48%, transparent 48% 100%) 18px 98px / 76% 1px no-repeat,
    linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.02));
  color: rgba(31,224,127,.9);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .16em;
  padding: 18px;
  box-shadow:
    0 26px 50px rgba(0,0,0,.34),
    inset 0 1px 0 rgba(255,255,255,.05);
}
.face-img-sell::after {
  content: "$410";
  position: absolute; bottom: 14px; right: 16px;
  font-family: var(--mono); font-size: 22px; font-weight: 600;
  color: var(--g);
  text-shadow: 0 0 14px var(--g-glow);
  z-index: 2;
}
.face-meta { display: flex; flex-direction: column; gap: 4px; font-size: 14px; }
.meta-row { display: flex; justify-content: space-between; }
.meta-sub { color: var(--muted); font-size: 12px; }

/* confetti */
.confetti { position: absolute; inset: 0; pointer-events: none; }
.confetti::before,
.confetti::after {
  content: "";
  position: absolute;
  width: 6px; height: 12px;
  background: var(--g);
  top: 30%; left: 30%;
  opacity: 0;
}
.flipcard.is-flipped .confetti::before,
.flipcard:hover .confetti::before {
  animation: pop 1.2s ease forwards .4s;
}
.flipcard.is-flipped .confetti::after,
.flipcard:hover .confetti::after {
  animation: pop 1.2s ease forwards .5s;
  background: var(--b);
  left: 65%; top: 40%;
}
@keyframes pop {
  0% { opacity: 1; transform: translate(0,0) rotate(0); }
  100% { opacity: 0; transform: translate(20px, -60px) rotate(220deg); }
}
.flip-hint {
  font-family: var(--mono); font-size: 12px; color: var(--dim);
  letter-spacing: .1em;
}
.flip-hint span { color: var(--g); }

/* ============================================================
   SCAN DEMO — sticky scroll
   ============================================================ */
.scandemo {
  position: relative;
  padding: 36px 0 44px;
  background: linear-gradient(180deg, transparent, var(--bg-2) 18%, var(--bg-2) 82%, transparent);
}
.scandemo-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 80px;
  align-items: start;
  position: relative;
  min-height: 220vh;
}
.scandemo-copy {
  position: sticky;
  top: 96px;
  padding: 56px 0 48px;
}
.steps {
  margin-top: 36px;
  display: flex; flex-direction: column;
  gap: 4px;
}
.step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  align-items: start;
  padding: 18px 16px 18px 0;
  border-top: 1px solid var(--border);
  transition: color .3s;
  cursor: pointer;
  opacity: .5;
}
.step:last-child { border-bottom: 1px solid var(--border); }
.step.is-active { opacity: 1; }
.step-num {
  font-size: 24px;
  color: var(--dim);
  transition: color .3s;
}
.step.is-active .step-num { color: var(--g); }
.step-title { font-weight: 600; font-size: 18px; margin-bottom: 4px; }
.step-desc { color: var(--muted); font-size: 14.5px; max-width: 36ch; }

.scandemo-stage {
  position: sticky;
  top: 96px;
  height: calc(100vh - 130px);
  min-height: 680px;
  display: flex; align-items: center; justify-content: center;
  padding: 0 30px;
}
.phone-demo {
  width: 380px;
  transform: rotateY(-7deg) rotateX(4deg);
  animation: phone-float 9s ease-in-out infinite;
}
.phone-demo .phone-glow { opacity: .7; }

/* camera screen */
.cam-feed { flex: 1; display: flex; flex-direction: column; background: #000; }
.cam-top {
  display: grid;
  grid-template-columns: 28px 1fr 28px;
  align-items: center;
  padding: 8px 14px 6px;
  font-size: 11px; color: #fff;
}
.cam-x { font-size: 22px; opacity: .85; line-height: 1; }
.cam-pill {
  text-align: center;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  color: #fff;
}
.cam-toggles {
  display: flex; gap: 18px; justify-content: center;
  padding: 4px 0 8px;
  font-size: 12px; color: #fff;
}
.cam-tg { display: inline-flex; align-items: center; gap: 7px; }
.cam-tg .tg {
  display: inline-block;
  width: 26px; height: 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.15);
  position: relative;
  transition: background .2s;
}
.cam-tg .tg::after {
  content: "";
  position: absolute;
  top: 2px; left: 2px;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #fff;
  transition: left .2s;
}
.cam-tg .tg.is-on { background: var(--g); }
.cam-tg .tg.is-on::after { left: 14px; }
.cam-frame {
  flex: 1;
  position: relative;
  margin: 4px 12px;
  border-radius: 18px;
  overflow: hidden;
}
.cam-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 80% at 50% 100%, #1a0e0a 30%, #2b1a16 100%);
  filter: brightness(.6);
}
.cam-bg::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(120% 80% at 50% 100%, rgba(0,0,0,0) 30%, rgba(0,0,0,.6) 100%);
}
.cam-product {
  position: absolute;
  inset: 14% 12%;
  background: url(/landing-v2/img/macbook.png) center/cover no-repeat;
  border-radius: 4px;
  box-shadow: 0 12px 28px rgba(0,0,0,.5);
}
.cam-product::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(80% 60% at 50% 50%, transparent 40%, rgba(0,0,0,.45) 100%);
  border-radius: 6px;
}
.cam-reticle {
  position: absolute;
  inset: 14% 12%;
  pointer-events: none;
}
.cam-reticle i {
  position: absolute;
  width: 22px; height: 22px;
  border: 2.5px solid var(--g);
  filter: drop-shadow(0 0 6px var(--g-glow));
}
.cam-reticle i:nth-child(1) { top: 0; left: 0; border-right: none; border-bottom: none; }
.cam-reticle i:nth-child(2) { top: 0; right: 0; border-left: none; border-bottom: none; }
.cam-reticle i:nth-child(3) { bottom: 0; right: 0; border-left: none; border-top: none; }
.cam-reticle i:nth-child(4) { bottom: 0; left: 0; border-right: none; border-top: none; }
.cam-laser {
  position: absolute;
  left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--g), transparent);
  filter: drop-shadow(0 0 6px var(--g));
  animation: scan-y2 1.8s ease-in-out infinite;
}
@keyframes scan-y2 {
  0%, 100% { top: 0%; }
  50% { top: 100%; }
}
.cam-hold {
  position: absolute;
  bottom: 10%; left: 50%;
  transform: translateX(-50%);
  background: rgba(0,0,0,.7);
  border: 1px solid var(--border);
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 10px;
  color: #fff;
  letter-spacing: .12em;
  white-space: nowrap;
}
.cam-zoom-row {
  display: flex; justify-content: center;
  padding: 8px 0 4px;
}
.cam-zoom {
  font-family: var(--mono); font-size: 12px;
  color: rgba(255,255,255,.6);
  background: rgba(0,0,0,.55);
  border: 1px solid rgba(255,255,255,.08);
  padding: 5px 12px;
  border-radius: 999px;
  display: inline-flex; gap: 10px;
}
.cam-zoom b {
  color: #fff;
  background: rgba(255,255,255,.1);
  padding: 1px 6px;
  border-radius: 999px;
}
.cam-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 28px 18px;
}
.cam-gallery, .cam-flash {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
}
.cam-shutter {
  width: 64px; height: 64px;
  border-radius: 50%;
  border: 4px solid var(--g);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 30px var(--g-glow);
  animation: shutter-pulse 2s ease-in-out infinite;
}
@keyframes shutter-pulse {
  0%, 100% { box-shadow: 0 0 20px var(--g-glow); }
  50%      { box-shadow: 0 0 40px var(--g-glow); }
}
.shutter-inner {
  width: 50px; height: 50px;
  border-radius: 50%; background: #fff;
}
.cam-flash {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
  color: var(--y);
  font-size: 16px;
}

/* result screen */
.res-pad { padding: 0 16px 12px; flex: 1; display: flex; flex-direction: column; gap: 10px; }
.res-head { display: flex; align-items: center; padding: 8px 0; }
.res-head .back { font-size: 22px; color: #fff; width: 28px; }
.res-head .title { flex: 1; text-align: center; font-weight: 600; font-size: 15px; }
.res-head .edit {
  font-size: 13px; color: #fff;
  padding: 5px 12px;
  border: 1px solid var(--border-2);
  border-radius: 999px;
}
.res-photo {
  position: relative;
  height: 150px;
  border-radius: 14px;
  overflow: hidden;
  background:
    radial-gradient(100% 80% at 50% 40%, #f3f1ec 0%, #c8c3b6 60%, #8a857a 100%);
}
.res-photo-img {
  position: absolute; inset: 18%;
  background: linear-gradient(170deg, #ffffff 0%, #d0d0d0 60%);
  clip-path: polygon(15% 60%, 30% 35%, 60% 30%, 85% 45%, 90% 65%, 75% 78%, 25% 78%);
  filter: drop-shadow(0 6px 14px rgba(0,0,0,.3));
}
.res-badge {
  position: absolute;
  bottom: 12px; right: 12px;
  font-family: var(--mono); font-weight: 600;
  font-size: 12px;
  padding: 0;
  background: transparent;
  color: var(--g);
  border: 0;
  border-radius: 0;
  box-shadow: none;
  text-shadow: 0 0 16px var(--g-glow);
}
.res-name { font-size: 16px; font-weight: 600; line-height: 1.2; }
.res-sub { font-size: 11px; color: var(--muted); }
.res-kv {
  display: grid; gap: 4px;
  font-size: 12px;
  padding: 8px 0;
}
.res-kv > div {
  display: flex; justify-content: space-between;
  color: var(--muted);
}
.res-kv > div b { color: #fff; font-weight: 600; }
.res-profit {
  margin-top: auto;
  background: rgba(31,224,127,.05);
  border: 1px solid var(--g-dim);
  border-radius: 14px;
  padding: 14px;
  text-align: center;
}
.rp-l { font-size: 10px; letter-spacing: .14em; color: var(--g); }
.rp-n { font-size: 36px; font-weight: 600; margin-top: 4px; }
.rp-n span { font-size: 16px; opacity: .6; }
.rp-bar {
  margin-top: 10px;
  height: 4px;
  background: rgba(255,255,255,.06);
  border-radius: 2px;
  overflow: hidden;
}
.rp-bar i {
  display: block; height: 100%;
  width: 78%;
  background: linear-gradient(90deg, var(--g), #b6ffd6);
  border-radius: 2px;
  box-shadow: 0 0 8px var(--g);
}

/* insights screen */
.ins-pad { padding: 12px 14px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.ins-kicker {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--p);
}
.ins-card {
  border-radius: 14px;
  border: 1px solid var(--g-dim);
  background: linear-gradient(180deg, rgba(31,224,127,.06), rgba(31,224,127,.02));
  padding: 12px;
}
.ins-title {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .12em;
  color: var(--g);
  margin-bottom: 6px;
}
.ins-body { font-size: 11.5px; color: #d6dad8; line-height: 1.5; }
.ins-list {
  list-style: none; padding: 10px 0 0; margin: 0;
  display: flex; flex-direction: column; gap: 6px;
  font-size: 11.5px;
  color: var(--text);
}
.ins-list li { display: flex; align-items: center; gap: 8px; }
.ins-list .b {
  width: 18px; height: 18px; border-radius: 4px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700;
}
.b-g { background: var(--g-dim); color: var(--g); }
.b-b { background: rgba(95,167,255,.18); color: var(--b); }
.b-p { background: rgba(185,162,255,.18); color: var(--p); }

.ins-score {
  margin-top: auto;
  display: flex; align-items: center; gap: 14px;
  border-radius: 14px;
  padding: 12px;
  background: linear-gradient(180deg, rgba(95,167,255,.08), rgba(95,167,255,.02));
  border: 1px solid rgba(95,167,255,.18);
}
.score-ring { position: relative; display: flex; align-items: center; justify-content: center; }
.score-n {
  position: absolute; font-size: 18px; font-weight: 600; color: #fff;
}
.score-l { font-size: 11px; color: var(--muted); }
.score-tag {
  font-size: 14px; font-weight: 600; color: var(--g);
  margin-top: 2px;
}

/* inv screen */
.inv-pad { padding: 12px 14px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.inv-head { display: flex; align-items: center; justify-content: space-between; }
.inv-title { font-family: var(--display); font-size: 22px; font-weight: 700; }
.inv-seg { font-family: var(--mono); font-size: 11px; color: var(--muted); }
.inv-seg b { color: #fff; background: rgba(255,255,255,.1); padding: 2px 6px; border-radius: 4px; }
.inv-lbl { font-size: 10px; letter-spacing: .14em; color: var(--dim); }
.inv-n { font-size: 36px; font-weight: 700; }
.inv-sub { font-size: 10px; color: var(--muted); letter-spacing: .12em; }
.inv-chart { width: 100%; height: 60px; }
.chart-line { stroke-dasharray: 280; stroke-dashoffset: 280; animation: chart-draw 2.4s ease-out .3s forwards; }
.chart-fill { opacity: 0; animation: chart-fade 1s ease 1.2s forwards; }
.chart-dot { opacity: 0; animation: chart-dot 1s ease 2s forwards; }
@keyframes chart-draw { to { stroke-dashoffset: 0; } }
@keyframes chart-fade { to { opacity: 1; } }
@keyframes chart-dot { to { opacity: 1; } }

.inv-decisions { padding: 10px 0; }
.seg-bar {
  display: flex; height: 6px; gap: 2px; border-radius: 3px; overflow: hidden;
}
.seg-bar i { display: block; height: 100%; }
.seg-l {
  display: flex; justify-content: space-between;
  margin-top: 6px;
  font-size: 10px;
  font-family: var(--mono);
  color: var(--muted);
}
.seg-l b { color: #fff; font-weight: 600; }

.inv-best { margin-top: auto; }
.ib-h {
  font-size: 11px; color: var(--g);
  font-family: var(--mono);
  letter-spacing: .12em;
  margin-bottom: 6px;
}
.ib-row {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 8px 0;
  border-top: 1px solid var(--border);
  font-size: 12px;
}
.ib-img {
  width: 28px; height: 28px; border-radius: 6px;
  background: #2a2f35 center/cover no-repeat;
  flex-shrink: 0;
}
.ib-mid { display: flex; flex-direction: column; gap: 1px; }
.ib-mid b { font-weight: 600; }
.ib-end { font-weight: 600; }

/* rail (progress dots) */
.rail {
  position: absolute;
  right: 0; top: 50%;
  transform: translateY(-50%);
  width: 2px;
  height: 200px;
  background: var(--border);
  border-radius: 2px;
}
.rail-fill {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 25%;
  background: var(--g);
  box-shadow: 0 0 12px var(--g-glow);
  transition: height .3s;
  border-radius: 2px;
  overflow: hidden;
}
/* animated traveling glow CLIPPED to the filled portion — restarts when it hits the end */
.rail-fill::after {
  content: "";
  position: absolute;
  left: -3px;
  width: 8px;
  height: 34px;
  border-radius: 8px;
  background: linear-gradient(180deg,
    transparent 0%,
    rgba(255,255,255,.6) 20%,
    #ffffff 50%,
    rgba(255,255,255,.6) 80%,
    transparent 100%);
  filter: blur(.3px);
  box-shadow:
    0 0 8px #fff,
    0 0 22px var(--g),
    0 0 38px var(--g-glow),
    0 0 60px var(--g-glow);
  animation: rail-pulse 1.6s ease-in-out infinite;
  pointer-events: none;
}
@keyframes rail-pulse {
  0%   { top: -28px; opacity: 0; }
  15%  { opacity: 1; }
  85%  { opacity: 1; }
  100% { top: 100%;  opacity: 0; }
}
.rail-dots {
  position: absolute;
  inset: 0;
  display: flex; flex-direction: column; justify-content: space-between;
}
.rail-dots i {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--border-2);
  margin-left: -3px;
  transition: background .3s, box-shadow .3s;
}
.rail-dots i.is-on { background: var(--g); box-shadow: 0 0 10px var(--g-glow); }

/* ============================================================
   FEATURES
   ============================================================ */
.features { padding: 80px 0 80px; }
.sec-head { margin-bottom: 36px; max-width: 980px; }
.sec-head-center { text-align: center; margin-left: auto; margin-right: auto; }
.feat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.feat {
  background: linear-gradient(180deg, rgba(255,255,255,.025), rgba(255,255,255,0));
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px;
  position: relative;
  overflow: hidden;
  transition: transform .3s ease, border-color .3s;
  min-height: 240px;
}
.feat:hover { transform: translateY(-3px); border-color: var(--border-2); }
.feat-lg { grid-column: span 2; min-height: 320px; }
.feat-dark {
  background:
    radial-gradient(120% 100% at 100% 0%, var(--g-dim), transparent 50%),
    linear-gradient(180deg, #060d0a, #030604);
  border-color: var(--g-dim);
}
.feat-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--g);
  margin-bottom: 18px;
}
.feat-h {
  font-family: var(--display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -.015em;
  margin: 0 0 8px;
}
.feat-p {
  color: var(--muted);
  font-size: 14.5px;
  max-width: 32ch;
  margin: 0;
}

/* feat-art: scanner band */
.art-scanner {
  position: absolute;
  inset: auto 24px 24px 24px;
  height: 90px;
  border-radius: 14px;
  background: linear-gradient(180deg, #0a0e0c, #06090a);
  border: 1px solid var(--border);
  overflow: hidden;
  padding: 12px 14px;
}
.art-scanner .art-row {
  height: 10px;
  background: rgba(255,255,255,.06);
  border-radius: 4px;
  margin-bottom: 8px;
}
.art-scanner .art-row-2 { width: 80%; }
.art-scanner .art-row-3 { width: 60%; }
.scan-band {
  position: absolute; left: -20%; right: -20%;
  top: 0; height: 100%;
  background: linear-gradient(180deg, transparent, var(--g-glow), transparent);
  animation: band 2.6s ease-in-out infinite;
}
@keyframes band {
  0%, 100% { transform: translateY(-110%); }
  50%      { transform: translateY(110%); }
}

/* feat-draft */
.art-draft {
  margin-top: 20px;
  display: flex; flex-direction: column; gap: 6px;
}
.draft-row {
  display: flex; gap: 10px; align-items: center;
  padding: 8px 12px;
  background: rgba(0,0,0,.4);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 13px;
}
.dchip {
  font-family: var(--mono); font-size: 10px;
  color: var(--muted);
  letter-spacing: .08em;
  text-transform: uppercase;
  min-width: 70px;
}
.dval { color: var(--text); flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.d-row-cta {
  background: rgba(31,224,127,.08);
  color: var(--g);
  justify-content: center;
  border-color: rgba(31,224,127,.18);
  font-weight: 600;
  padding: 11px 12px;
}
.dchip-cta { color: var(--g); font-family: var(--sans); font-size: 13px; letter-spacing: 0; text-transform: none; min-width: 0; }

/* ============================================================
   TREND MARQUEE
   ============================================================ */
.trend {
  padding: 60px 0 60px;
  position: relative;
  background: linear-gradient(180deg, transparent, var(--bg-2) 35%, var(--bg-2) 65%, transparent);
}
.marquee {
  margin-top: 28px;
  position: relative;
  overflow: hidden;
  padding: 8px 0;
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}
.marquee-track {
  display: flex; gap: 14px;
  width: max-content;
  animation: scroll-x 50s linear infinite;
}
.marquee-2 .marquee-track { animation-duration: 65s; animation-direction: reverse; }
.mq-card {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 14px;
  border-radius: 14px;
  background: linear-gradient(180deg, #0a0e0c, #050807);
  border: 1px solid var(--border);
  min-width: 280px;
  white-space: nowrap;
}
.mq-img {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: linear-gradient(160deg, #4a4f55, #2a2f35);
  flex-shrink: 0;
  display: block;
  object-fit: cover;
  object-position: center;
}
.mq-img.shoe { background: linear-gradient(160deg, #c8c3b6, #6a665c); }
.mq-img.cam { background: linear-gradient(160deg, #1c1d1f, #0a0c0e); }
.mq-img.lap { background: linear-gradient(160deg, #404550, #1f242c); }
.mq-img.toy { background: linear-gradient(160deg, #ff7373, #c0392b); }
.mq-img.book { background: linear-gradient(160deg, #d4a574, #8b6240); }
.mq-img.vintage { background: linear-gradient(160deg, #2c3e50, #1a2530); }
.mq-img.lv { background: linear-gradient(160deg, #4e3c25, #2a1f12); }
.mq-img.appliance { background: linear-gradient(160deg, #6b5a3a, #2a1f12); }
.mq-meta { display: flex; flex-direction: column; gap: 1px; }
.mq-t { font-size: 13px; font-weight: 500; }
.mq-s { font-size: 11px; color: var(--muted); font-family: var(--mono); }
.mq-price { margin-left: auto; font-family: var(--mono); font-size: 14px; font-weight: 600; }
.mq-up { color: var(--g); }
.mq-down { color: var(--r); }

/* ============================================================
   NUMBERS
   ============================================================ */
.numbers { padding: 70px 0; }
.num-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,.02), transparent);
}
.num-cell {
  padding: 36px 28px;
  border-right: 1px solid var(--border);
  position: relative;
}
.num-cell:last-child { border-right: 0; }
.num-cell::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 24px; height: 1px;
  background: var(--g);
  box-shadow: 0 0 12px var(--g-glow);
}
.num-n {
  font-family: var(--mono);
  font-size: clamp(34px, 3.4vw, 56px);
  font-weight: 600;
  letter-spacing: -.02em;
}
.num-plus { color: var(--g); }
.num-l { font-size: 13px; color: var(--muted); max-width: 24ch; margin-top: 4px; }

/* ============================================================
   WORKFLOW
   ============================================================ */
.flow { padding: 70px 0 80px; }
.flow-list {
  list-style: none; padding: 0; margin: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  position: relative;
}
.flow-step {
  position: relative;
  padding: 24px 24px 28px 0;
  display: grid;
  grid-template-rows: auto 1px 1fr;
  gap: 18px;
}
.fs-num {
  font-size: 14px;
  letter-spacing: .12em;
  color: var(--g);
}
.fs-line {
  height: 1px;
  background: linear-gradient(90deg, var(--g), transparent);
  position: relative;
}
.fs-line::before {
  content: ""; position: absolute;
  left: 0; top: -3px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--g);
  box-shadow: 0 0 12px var(--g-glow);
}
.fs-body h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 24px;
  letter-spacing: -.015em;
  margin: 0 0 10px;
}
.fs-body p {
  font-size: 14.5px;
  color: var(--muted);
  margin: 0;
  max-width: 34ch;
}

/* ============================================================
   CTA
   ============================================================ */
.cta {
  position: relative;
  padding: 90px 0;
  overflow: hidden;
  isolation: isolate;
}
.cta-bg { position: absolute; inset: 0; z-index: -1; }
.cta-bg .grid { opacity: .6; }
.cta-glow {
  position: absolute;
  width: 900px; height: 900px;
  left: 50%; top: 50%;
  transform: translate(-50%,-50%);
  background: radial-gradient(circle, var(--g-glow) 0%, transparent 60%);
  filter: blur(80px);
  opacity: .7;
  animation: cta-breathe 8s ease-in-out infinite;
}
@keyframes cta-breathe {
  0%, 100% { opacity: .5; transform: translate(-50%,-50%) scale(1); }
  50%      { opacity: .8; transform: translate(-50%,-50%) scale(1.1); }
}
.cta-inner { text-align: center; }
.cta-h {
  font-size: clamp(60px, 8vw, 132px);
  margin: 0 0 24px;
}
.cta-p {
  max-width: 56ch;
  margin: 0 auto 36px;
}
.cta-inner .cta-row { justify-content: center; margin-bottom: 36px; }
.cta-finds {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--dim);
  letter-spacing: .04em;
  display: flex; gap: 10px; justify-content: center; flex-wrap: wrap;
}
.cta-finds .finds { color: var(--muted); }

/* ============================================================
   FOOTER
   ============================================================ */
.foot {
  border-top: 1px solid var(--border);
  padding: 60px 0 30px;
  background: #02050405;
}
.foot-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
}
.foot-brand { display: flex; flex-direction: column; gap: 6px; }
.foot-brand .brand-word { font-size: 24px; }
.foot-tag { color: var(--muted); font-size: 13px; }
.foot-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.foot-cols > div { display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.foot-cols b { color: var(--text); margin-bottom: 4px; font-size: 13px; }
.foot-cols a { color: var(--muted); transition: color .2s; }
.foot-cols a:hover { color: var(--g); }
.foot-bottom {
  max-width: var(--maxw);
  margin: 40px auto 0;
  padding: 18px 32px 0;
  border-top: 1px solid var(--border);
  display: flex; justify-content: space-between;
  font-size: 12px;
  color: var(--dim);
}

/* ============================================================
   SCANNER RETICLE (cursor)
   ============================================================ */
#reticle {
  position: fixed;
  top: 0; left: 0;
  width: 60px; height: 60px;
  pointer-events: none;
  z-index: 80;
  opacity: 0;
  transition: opacity .25s, color .2s;
  transform: translate(-50%, -50%);
  color: var(--g);
  will-change: transform;
}
#reticle svg {
  display: block;
  filter:
    drop-shadow(0 0 4px var(--g-glow))
    drop-shadow(0 0 10px var(--g-glow));
}
#reticle .rt-ticks {
  transform-origin: 30px 30px;
  animation: ret-spin 6s linear infinite;
}
#reticle.is-locked .rt-ticks {
  animation-duration: 1.2s;
}
#reticle.is-locked {
  color: #b6ffd6;
}
@keyframes ret-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
html.reticle-on body { cursor: none; }
html.reticle-on a,
html.reticle-on button,
html.reticle-on input { cursor: none; }
html.reticle-on #reticle.is-active { opacity: 1; }
html.reticle-on #reticle.is-active.is-hero { opacity: .42; }
#reticle.is-hero svg {
  filter:
    drop-shadow(0 0 2px rgba(31,224,127,.32))
    drop-shadow(0 0 6px rgba(31,224,127,.24));
}

/* keep reticle off the phone interior so it never obscures the scan target */
.phone, .phone * { cursor: auto !important; }

/* profit chip */
#profitChip {
  position: fixed;
  z-index: 81;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px;
  background: var(--g);
  color: #021a0d;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  box-shadow: 0 8px 20px var(--g-glow);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(.6);
  transition: opacity .25s, transform .35s cubic-bezier(.2,1.5,.6,1);
}
#profitChip.is-on { opacity: 1; transform: translate(-50%, -50%) scale(1); }
#profitChip .dot { width: 6px; height: 6px; border-radius: 50%; background: #021a0d; }

/* ============================================================
   TWEAKS PANEL
   ============================================================ */
.tweaks {
  position: fixed;
  right: 20px; bottom: 20px;
  z-index: 100;
  width: 280px;
  background: rgba(8,12,10,.95);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-2);
  border-radius: var(--r);
  box-shadow: 0 30px 80px rgba(0,0,0,.5);
  font-size: 13px;
}
.tw-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  font-weight: 600;
}
#tw-close {
  font-size: 22px; line-height: 1;
  color: var(--muted);
  width: 28px; height: 28px;
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
}
#tw-close:hover { background: rgba(255,255,255,.05); color: #fff; }
.tw-body { padding: 14px 16px; display: flex; flex-direction: column; gap: 18px; }
.tw-l {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 8px;
}
.tw-swatches { display: flex; gap: 8px; }
.tw-sw {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--c);
  border: 2px solid transparent;
  transition: transform .15s, border-color .15s;
}
.tw-sw:hover { transform: scale(1.08); }
.tw-sw.on { border-color: #fff; }
.tw-row { display: flex; gap: 6px; flex-wrap: wrap; }
.tw-row.col { flex-direction: column; }
.tw-pill {
  padding: 7px 12px;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 12px;
  color: var(--muted);
  text-align: left;
  transition: color .15s, background .15s, border-color .15s;
}
.tw-pill:hover { color: #fff; }
.tw-pill.on {
  background: var(--g-dim);
  border-color: var(--g);
  color: var(--g);
}
.tw-section input[type=range] {
  width: 100%;
  accent-color: var(--g);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .hero-grid, .scandemo-inner, .theflip-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  .scandemo-copy, .scandemo-stage { position: static; height: auto; min-height: 0; padding: 0; }
  .scandemo-stage { padding: 30px; }
  .rail { display: none; }
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .feat-lg { grid-column: span 2; }
  .flow-list { grid-template-columns: 1fr 1fr; }
  .num-grid { grid-template-columns: 1fr 1fr; }
  .num-cell:nth-child(2) { border-right: 0; }
  .num-cell:nth-child(1), .num-cell:nth-child(2) { border-bottom: 1px solid var(--border); }
  .foot-inner { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .container, .nav-inner, .hero-grid { padding-left: 20px; padding-right: 20px; }
  .nav-links { display: none; }
  .display { font-size: clamp(44px, 12vw, 80px); }
  .feat-grid { grid-template-columns: 1fr; }
  .feat-lg, .feat-dark { grid-column: span 1; }
  .flow-list { grid-template-columns: 1fr; }
  .num-grid { grid-template-columns: 1fr; }
  .num-cell { border-right: 0; border-bottom: 1px solid var(--border); }
  .num-cell:last-child { border-bottom: 0; }
  .hero-stats { flex-wrap: wrap; gap: 16px; }
  .hstat-sep { display: none; }
  .tweaks { width: calc(100vw - 32px); right: 16px; left: 16px; bottom: 16px; }
  .foot-cols { grid-template-columns: 1fr; gap: 18px; }
  .foot-bottom { flex-direction: column; gap: 6px; }
}

/* reduce motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}


/* Next.js landing-v2 containment fixes */
html, body { max-width: 100%; }
html { overflow-x: clip; }
body { overflow-x: clip; }
.ticker, .marquee, .hero, .trend { max-width: 100vw; overflow-x: clip; }
.ticker-track, .marquee-track { contain: paint; }
.landing-v2-page section { scroll-margin-top: 92px; }
@media (max-width: 700px) {
  .nav-inner { gap: 12px; }
  .nav-links { display: none; }
  .nav-login { margin-left: auto; padding-inline: 13px; }
  .nav-cta { padding-inline: 18px; }
  .hero-phone-wrap { max-width: 100%; overflow: clip; }
  .landing-v2-page section { scroll-margin-top: 78px; }
}

/* FlipIQ Operator mobile pass: fast, contained, action-first. */
@media (max-width: 700px) {
  .landing-v2-page {
    --mobile-gutter: 20px;
  }

  .container,
  .hero-grid,
  .scandemo-inner {
    padding-left: var(--mobile-gutter);
    padding-right: var(--mobile-gutter);
  }

  .nav {
    border-bottom-color: rgba(255,255,255,.08);
    background: rgba(3,5,4,.88);
  }

  .nav-inner {
    min-height: 68px;
    height: auto;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .brand-word { font-size: 20px; }
  .nav-login,
  .nav-cta {
    min-height: 42px;
    border-radius: 999px;
    font-size: 13px;
  }

  .hero {
    min-height: auto;
    padding-top: 0;
  }

  .hero-grid {
    gap: 18px;
    padding-top: 26px;
    padding-bottom: 14px;
  }

  .ticker {
    height: 26px;
    opacity: .42;
  }

  .display {
    margin-bottom: 22px;
    font-size: clamp(42px, 11vw, 58px);
    line-height: .97;
    letter-spacing: -.03em;
  }

  .lede {
    margin-bottom: 24px;
    font-size: 16px;
    line-height: 1.62;
  }

  .cta-row {
    display: grid;
    gap: 10px;
    margin-bottom: 26px;
  }

  .btn,
  .btn-lg {
    width: 100%;
    min-height: 48px;
    justify-content: center;
    padding: 14px 16px;
  }

  .hero-stats {
    display: grid;
    max-width: none;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    padding-top: 14px;
  }

  .hstat {
    min-width: 0;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 14px;
    background: rgba(255,255,255,.025);
    padding: 10px;
  }

  .hstat-num {
    font-size: 18px;
    overflow-wrap: anywhere;
  }

  .hstat-lbl {
    font-size: 9px;
    line-height: 1.35;
  }

  .scroll-cue,
  .orbit,
  .laser-fx {
    display: none;
  }

  .phone,
  .phone-hero,
  .phone-demo {
    width: min(54vw, 205px);
  }

  .phone-hero,
  .phone-demo {
    transform: none;
  }

  .hero-phone-wrap {
    max-height: min(38vw, 142px);
    align-items: flex-start;
    margin-top: -24px;
  }

  .hero-phone-wrap::before,
  .hero-phone-wrap::after {
    opacity: .36;
  }

  .phone-icon-float {
    display: none;
  }

  .theflip,
  .scandemo,
  .features,
  .trend,
  .numbers,
  .flow,
  .cta {
    padding-top: 52px;
    padding-bottom: 54px;
  }

  .theflip {
    padding-top: 10px;
  }

  .theflip-grid,
  .scandemo-inner {
    gap: 32px;
  }

  .h2 {
    font-size: clamp(32px, 9vw, 42px);
    line-height: 1.05;
    letter-spacing: -.02em;
  }

  .p {
    max-width: none;
    font-size: 15.5px;
    line-height: 1.68;
  }

  .kv-list {
    margin-top: 24px;
  }

  .kv {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(6.5rem, auto);
    gap: 14px;
    align-items: baseline;
    padding: 13px 0;
  }

  .kv-k {
    min-width: 0;
    line-height: 1.35;
  }

  .kv-v {
    min-width: 0;
    justify-self: end;
    max-width: 8.5rem;
    overflow-wrap: anywhere;
    text-align: right;
    font-size: 15px;
  }

  .kv-total .kv-v {
    font-size: 18px;
  }

  .flipcard {
    width: min(84vw, 320px);
    height: auto;
    aspect-ratio: 3 / 4;
  }

  .flipcard::before {
    inset: -18px;
    opacity: .38;
  }

  .neon-edge {
    display: none;
  }

  .scandemo-inner {
    min-height: 0;
  }

  .scandemo-copy,
  .scandemo-stage {
    position: static;
    top: auto;
    min-height: 0;
    height: auto;
    padding: 0;
  }

  .steps {
    margin-top: 22px;
    gap: 10px;
  }

  .step {
    grid-template-columns: 42px 1fr;
    gap: 12px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 16px;
    background: rgba(255,255,255,.025);
    padding: 14px;
    opacity: 1;
  }

  .step:last-child {
    border-bottom: 1px solid rgba(255,255,255,.08);
  }

  .step-num {
    font-size: 18px;
  }

  .step-title {
    font-size: 16px;
  }

  .step-desc {
    max-width: none;
    font-size: 13.5px;
    line-height: 1.55;
  }

  .feat,
  .feat-lg {
    min-height: 0;
    border-radius: 18px;
    padding: 24px;
  }

  .feat-art {
    max-height: 170px;
  }

  .marquee {
    height: 72px;
  }

  .num-cell {
    padding: 26px 0;
  }

  .flow-list {
    gap: 12px;
  }

  .flow-step {
    grid-template-columns: 42px 1fr;
    grid-template-rows: auto;
    gap: 12px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 16px;
    background: rgba(255,255,255,.025);
    padding: 16px;
  }

  .fs-line {
    display: none;
  }

  .fs-body h3 {
    font-size: 20px;
  }

  .fs-body p {
    font-size: 14px;
    line-height: 1.6;
  }

  .cta {
    min-height: auto;
  }

  .cta-inner {
    padding-top: 0;
    padding-bottom: 0;
  }

  .cta-h {
    font-size: clamp(40px, 11vw, 56px);
  }
}
