/* ==========================================================================
   Alphacent marketing site — single stylesheet
   Design tokens mirror the app's design system (alphacent/docs/design/).
   Dark-only: the brand look. Glassmorphism per app convention:
   translucent surface + backdrop blur + 1px hairline border.
   ========================================================================== */

/* Self-hosted variable font (latin subset). No third-party requests on this site. */
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/plus-jakarta-sans-latin.woff2") format("woff2");
}

:root {
  /* Brand */
  --gold: #C8A870;
  --gold-light: #D9BD8A;
  --gold-accent: #FFB340;
  --on-gold: #0F0F11;

  /* Canvas + surfaces (app dark theme) */
  --bg: #0E0E10;
  --surface: #1C1C1E;
  --surface-elevated: #26262A;

  /* Glass recipe (matches app tab bar / sheets) */
  /* Slightly more opaque backgrounds let us blur less without losing the look.
     blur() recomposites every scroll frame, so a smaller radius is the single
     biggest scroll-perf lever on this page. */
  --glass-bg: rgba(28, 28, 30, 0.62);
  --glass-bg-strong: rgba(20, 20, 22, 0.78);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-border-strong: rgba(255, 255, 255, 0.12);
  --glass-blur: saturate(150%) blur(12px);

  /* Text */
  --text: #FAFAFA;
  --text-2: #A3A3A3;
  --text-3: #8E8E93;

  /* Market semantics (designer-locked, do not repurpose) */
  --long-green: #0A9396;
  --short-red: #E3565B;

  /* Shape */
  --r: 16px;
  --r-card: 32px;
  --r-pill: 9999px;

  /* Shadows (app dark values) */
  --shadow-card: 0 2px 8px rgba(0, 0, 0, 0.30);
  --shadow-elevated: 0 4px 16px rgba(0, 0, 0, 0.35);
  --shadow-hero: 0 8px 24px rgba(0, 0, 0, 0.45);
  --shadow-gold: 0 4px 24px rgba(200, 168, 112, 0.30);

  --font: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  --max: 1120px;
}

/* Reset-lite */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-light); text-decoration: none; }
a:hover { color: var(--gold-accent); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 0.5em; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.2rem, 5.2vw, 4.2rem); font-weight: 800; text-wrap: balance; line-height: 1.08; }
h2 { font-size: clamp(1.55rem, 3.5vw, 2.25rem); font-weight: 800; text-wrap: balance; }
h3 { font-size: 1.125rem; font-weight: 700; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

/* Helpers */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.eyebrow {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 0.9em;
}
.grad-text {
  background: linear-gradient(120deg, var(--gold), var(--gold-accent));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.muted { color: var(--text-2); }

/* Glass card — the house recipe. The inset hairline is the light catching
   the top edge; it is what sells the glass. */
/* Cards sit on the flat near-black page with nothing behind them, so backdrop
   blur is invisible work. We keep the translucent fill + hairline + top-edge
   highlight (that is what actually sells the surface) and skip the blur.
   Real glass (blur) is reserved for the nav, the mobile menu, and the hero
   float-chips, where a live element genuinely sits underneath. */
.glass {
  background: var(--glass-bg);
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 28%);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-card), inset 0 1px 0 rgba(255, 255, 255, 0.09);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}
.glass:hover {
  border-color: var(--glass-border-strong);
  box-shadow: var(--shadow-elevated), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
::selection { background: rgba(200, 168, 112, 0.35); }

/* Skip link (visible on keyboard focus only) */
.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 100;
  background: var(--gold); color: var(--on-gold);
  padding: 12px 18px; border-radius: 12px; font-weight: 700;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 16px; color: var(--on-gold); }

/* Film grain over everything: kills gradient banding, adds texture */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 90; pointer-events: none;
  opacity: 0.032;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 160px 160px;
}

/* Ghost brand mark (img.* specificity so `.pro-card > *` cannot re-position it) */
img.watermark {
  position: absolute; top: 4%; right: -8%; z-index: 0;
  width: min(46vw, 540px); height: auto; opacity: 0.05;
  pointer-events: none; user-select: none;
}
img.watermark-pro { top: auto; bottom: -12%; left: -8%; right: auto; width: min(38vw, 360px); opacity: 0.05; }

/* ==========================================================================
   Nav
   ========================================================================== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  /* The one place glass earns its keep: content scrolls under the sticky header.
     ~20% more transparent than before so the blur reads more like real glass. */
  background: rgba(14, 14, 16, 0.44);
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
/* The nav's blur lives on a pseudo-element, NOT on .nav itself: an element with
   backdrop-filter becomes the backdrop root for its descendants, which silently
   killed the mobile menu's own blur (it sampled the empty nav, not the page).
   Same look, and .nav-menu's backdrop-filter works again. */
.nav::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
}
.nav.scrolled {
  background: rgba(14, 14, 16, 0.64);
  border-bottom-color: var(--glass-border);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}
.nav-inner {
  max-width: var(--max); margin: 0 auto; padding: 0 20px;
  height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 1.15rem; color: var(--text); letter-spacing: -0.01em;
}
.nav-logo img { width: 36px; height: 36px; }
.nav-logo .logo-dot { color: var(--gold); }
.nav-links { display: none; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--text-2); font-weight: 500; font-size: 0.95rem; }
.nav-links a:hover { color: var(--text); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-cta .btn { min-height: 44px; padding: 10px 20px; font-size: 0.92rem; white-space: nowrap; }
.nav-toggle {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 10px; background: none; border: 0; cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; background: var(--text); border-radius: 2px; transition: transform 0.25s, opacity 0.25s; }
.nav.open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav.open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-menu {
  display: none;
  position: absolute; top: 64px; left: 12px; right: 12px;
  background: var(--glass-bg-strong);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: 20px; padding: 8px; box-shadow: var(--shadow-elevated);
}
.nav.open .nav-menu { display: block; }
.nav-menu a {
  display: block; padding: 14px 18px; color: var(--text);
  font-weight: 600; border-radius: 14px;
}
.nav-menu a:hover { background: rgba(255, 255, 255, 0.06); }

@media (min-width: 960px) {
  .nav-links { display: flex; }
  .nav-toggle, .nav-menu { display: none !important; }
}

/* ==========================================================================
   Buttons + store badges
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 26px;
  border-radius: var(--r-pill); border: 0; cursor: pointer;
  font-family: var(--font); font-weight: 700; font-size: 1rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn-primary {
  position: relative; overflow: hidden;
  background: linear-gradient(120deg, var(--gold), var(--gold-light));
  color: var(--on-gold); box-shadow: var(--shadow-gold);
}
.btn-primary::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -70%; width: 44%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  transform: skewX(-20deg); transition: left 0.6s ease;
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 6px 32px rgba(200, 168, 112, 0.45); color: var(--on-gold); }
.btn-primary:hover::after { left: 130%; }
.btn-ghost {
  background: rgba(255, 255, 255, 0.06); color: var(--text);
  border: 1px solid var(--glass-border-strong);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.10); color: var(--text); }

.store-badges { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.store-badge {
  display: inline-flex; align-items: center; gap: 12px;
  min-height: 56px; padding: 8px 20px 8px 16px;
  background: #000; color: var(--text);
  border: 1px solid var(--glass-border-strong); border-radius: 14px;
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.store-badge:hover {
  transform: translateY(-1px); border-color: var(--gold); color: var(--text);
  box-shadow: 0 4px 20px rgba(200, 168, 112, 0.18);
}
.store-badge svg { width: 28px; height: 28px; flex: none; }
.store-badge .sb-text { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.store-badge .sb-small { font-size: 0.65rem; font-weight: 500; color: var(--text-2); }
.store-badge .sb-big { font-size: 1.05rem; font-weight: 700; letter-spacing: -0.01em; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; padding: 104px 0 40px; overflow: hidden; }
.hero-glow {
  position: absolute; inset: -5%; pointer-events: none;
  background:
    radial-gradient(600px 440px at 74% 50%, rgba(200, 168, 112, 0.20), transparent 60%),
    radial-gradient(360px 300px at 82% 36%, rgba(255, 179, 64, 0.10), transparent 62%),
    radial-gradient(520px 360px at 10% 78%, rgba(10, 147, 150, 0.10), transparent 66%);
  /* Fade the glow out at BOTH the top (never pools behind the nav) and the
     bottom, so it melts into the dark page instead of being hard-clipped by
     the hero's overflow at the seam with the section below. */
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 24%, #000 68%, transparent 98%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 24%, #000 68%, transparent 98%);
  animation: glow-drift 16s ease-in-out infinite alternate;
}
@keyframes glow-drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(0, -14px, 0) scale(1.04); }
}
@keyframes phone-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.hero-inner {
  position: relative; max-width: var(--max); margin: 0 auto; padding: 0 20px;
  display: grid; gap: 40px; align-items: center;
}
.hero-copy { max-width: 560px; }
.hero-copy .sub { font-size: clamp(1.05rem, 2vw, 1.2rem); color: var(--text-2); max-width: 48ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin: 26px 0 14px; }
.trust-line { font-size: 0.9rem; font-weight: 600; color: var(--text-2); }
.trust-line b { color: var(--gold-light); font-weight: 700; }
.hero-phone { position: relative; margin: 0 auto; max-width: 320px; width: 100%; }
.hero-device {
  animation: phone-float 7s ease-in-out infinite;
  -webkit-mask-image: linear-gradient(180deg, #000 76%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 76%, transparent 100%);
  max-height: 600px; overflow: hidden;
}
.hero-device img {
  border-radius: 40px 40px 0 0;
  border: 1px solid var(--glass-border-strong); border-bottom: 0;
  box-shadow: var(--shadow-hero);
}
.hero-phone::after {
  content: ""; position: absolute; inset: -12%; z-index: -1;
  background: radial-gradient(closest-side, rgba(200, 168, 112, 0.18), transparent 70%);
  animation: glow-breathe 8s ease-in-out infinite;
}
@keyframes glow-breathe {
  0%, 100% { opacity: 0.85; }
  50% { opacity: 1.15; }
}
/* Floating stat chips over the hero phone */
.float-chip {
  position: absolute; display: inline-flex; align-items: center; gap: 7px;
  padding: 10px 16px; border-radius: var(--r-pill);
  background: var(--glass-bg-strong);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border-strong);
  box-shadow: var(--shadow-elevated), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  font-size: 0.82rem; font-weight: 700; color: var(--text-2);
  font-variant-numeric: tabular-nums;
}
.float-chip b { color: var(--text); font-weight: 800; }
.chip-price { top: 10%; right: -8%; animation: chip-float 6s ease-in-out infinite; }
.chip-pnl { bottom: 22%; left: -10%; animation: chip-float 7.5s ease-in-out infinite reverse; }
.chip-pnl b { color: var(--long-green); }
.chip-pnl b.neg { color: var(--short-red); }
.live-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--long-green);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes chip-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(10, 147, 150, 0.5); }
  50% { box-shadow: 0 0 0 5px rgba(10, 147, 150, 0); }
}
@media (min-width: 960px) {
  .hero { padding: 122px 0 56px; }
  .hero-inner { grid-template-columns: 1.15fr 0.85fr; }
  .hero-phone { max-width: 330px; }
}

/* ==========================================================================
   Trade tape (simulated paper trades, populated by site.js)
   ========================================================================== */
.tape { max-width: var(--max); margin: 4px auto 0; padding: 0 20px; }
.no-js .tape { display: none; } /* cards only exist via JS */
.tape-inner {
  display: flex; align-items: center; gap: 16px;
  padding: 10px 16px; border-radius: var(--r-pill);
}
.tape-label {
  flex: none; display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.01em;
  color: var(--text-3);
}
.tape-feed {
  display: flex; align-items: center;
  flex: 1; min-width: 0; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, #000 78%, transparent);
  mask-image: linear-gradient(90deg, #000 78%, transparent);
}
.tape-card {
  flex: none; display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; margin-right: 8px; border-radius: 12px; white-space: nowrap;
  background: var(--glass-bg-strong); border: 1px solid var(--glass-border);
  font-size: 0.8rem; min-width: 0; max-width: 340px; overflow: hidden;
  animation: tape-in 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
.tape-card.still { animation: none; } /* prefilled cards, no entrance */
.tape-card.out { animation: tape-out 0.5s ease both; }
@keyframes tape-in {
  from { max-width: 0; opacity: 0; padding-left: 0; padding-right: 0; margin-right: 0; }
  to { max-width: 340px; opacity: 1; padding-left: 12px; padding-right: 12px; margin-right: 8px; }
}
@keyframes tape-out {
  from { opacity: 1; }
  to { opacity: 0; }
}
.tape-user { font-weight: 700; color: var(--text-2); }
.tape-asset { color: var(--text-3); font-weight: 600; font-size: 0.72rem; letter-spacing: 0.04em; }
.tape-pnl { font-weight: 800; font-variant-numeric: tabular-nums; }
.tape-pnl.win { color: var(--long-green); }
.tape-pnl.loss { color: var(--short-red); }

/* ==========================================================================
   Screenshot showcase (scroll-snap strip)
   ========================================================================== */
.shots { padding: 40px 0 8px; }
.shots-track {
  display: flex; gap: 18px; padding: 12px 20px 24px;
  overflow-x: auto; scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.shots-track::-webkit-scrollbar { display: none; }
.shots-track > figure {
  flex: 0 0 min(72vw, 290px); margin: 0; scroll-snap-align: center;
}
.shot-window {
  aspect-ratio: 3 / 5; overflow: hidden; border-radius: 24px;
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-elevated), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.shot-window img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.35s ease;
}
.shot-window .pos-top { object-position: top; }
.shot-window .pos-bottom { object-position: bottom; }
.shots-track figure:hover .shot-window img { transform: scale(1.04); }
.shots-track figcaption {
  margin-top: 12px; text-align: center;
  font-size: 0.85rem; font-weight: 600; color: var(--text-2);
}
@media (max-width: 1179px) {
  .shots-track {
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  }
}
@media (min-width: 1180px) {
  .shots-track { justify-content: center; overflow-x: visible; padding-left: 0; padding-right: 0; }
  .shots-track > figure { flex-basis: 200px; }
  .shots-track > figure:nth-child(even) { margin-top: 26px; }
}

/* ==========================================================================
   Sections
   ========================================================================== */
.section { padding: 48px 0; }
@media (min-width: 960px) { .section { padding: 72px 0; } }
.section-head { max-width: 640px; margin: 0 auto 36px; text-align: center; padding: 0 20px; }
.section-head p { color: var(--text-2); }

/* How it works */
.steps { display: grid; gap: 18px; }
.step { padding: 28px; }
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; margin-bottom: 14px;
  border-radius: var(--r-pill); font-weight: 800; font-size: 1.1rem;
  background: linear-gradient(120deg, var(--gold), var(--gold-accent));
  color: var(--on-gold);
}
.step p { color: var(--text-2); margin: 0; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); } }

/* Feature rows (alternating; shot side follows DOM order on desktop).
   Phone crops bleed off the card edge: bottom-cut phones sit flush with
   the card bottom, top-cut phones flush with the card top. */
.feature {
  --pad: 36px;
  display: grid; gap: 32px; align-items: center;
  padding: var(--pad) 24px; margin-bottom: 28px;
  overflow: hidden;
}
.feature p { color: var(--text-2); margin-bottom: 0; }
.feature-shot { max-width: 290px; margin: 0 auto; width: 100%; }
.feature-shot img { border-radius: 36px; }
.feature-shot.bleed-bottom { align-self: end; margin-bottom: calc(-1 * var(--pad) - 1px); }
.feature-shot.bleed-bottom img { border-radius: 36px 36px 0 0; }
.feature-shot.bleed-top { align-self: start; margin-top: calc(-1 * var(--pad) - 1px); }
.feature-shot.bleed-top img { border-radius: 0 0 36px 36px; }
.feature-stat {
  display: inline-block; margin-top: 18px; padding: 10px 18px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  font-size: 0.88rem; font-weight: 600; color: var(--gold-light);
}

/* Tester quotes */
.quotes { display: grid; gap: 18px; }
.quote { padding: 28px; margin: 0; }
.quote blockquote { margin: 0 0 16px; font-size: 0.98rem; color: var(--text); }
.quote blockquote::before { content: "\201C"; display: block; font-size: 2.2rem; line-height: 1; color: var(--gold); margin-bottom: 6px; }
.quote figcaption { font-size: 0.82rem; font-weight: 600; color: var(--text-3); }
@media (min-width: 760px) { .quotes { grid-template-columns: repeat(3, 1fr); } }

/* Pro feature catalog */
.pro-grid {
  display: grid; gap: 14px; max-width: 920px;
  margin: 34px auto 26px; text-align: left;
}
.pro-item {
  padding: 24px; border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: border-color 0.25s ease, transform 0.25s ease, background 0.25s ease;
}
.pro-item:hover {
  border-color: rgba(200, 168, 112, 0.4);
  background: rgba(200, 168, 112, 0.05);
  transform: translateY(-2px);
}
.pro-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; margin-bottom: 14px; border-radius: 13px;
  background: rgba(200, 168, 112, 0.12);
  border: 1px solid rgba(200, 168, 112, 0.28);
}
.pro-icon svg {
  width: 22px; height: 22px; fill: none;
  stroke: var(--gold); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.pro-item h3 { font-size: 1rem; margin-bottom: 6px; }
.pro-item p { font-size: 0.88rem; color: var(--text-2); margin: 0; }
.pro-card .btn { margin-top: 6px; }
@media (min-width: 640px) { .pro-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1020px) { .pro-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) {
  .feature { --pad: 48px; grid-template-columns: 1fr 1fr; padding: var(--pad) 48px; gap: 48px; }
}

/* Pro section */
.pro-card {
  position: relative; padding: 44px 28px; text-align: center; overflow: hidden;
  border: 1px solid rgba(200, 168, 112, 0.35);
}
.pro-card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(480px 320px at 50% 0%, rgba(200, 168, 112, 0.14), transparent 70%);
}
.pro-card > * { position: relative; }
.pro-list {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;
  list-style: none; margin: 26px 0; padding: 0;
}
.pro-list li {
  padding: 9px 16px; border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  font-size: 0.88rem; font-weight: 600; color: var(--text);
}
.pro-list li::before { content: "◆ "; color: var(--gold); font-size: 0.7em; vertical-align: 1px; }
@media (min-width: 900px) { .pro-card { padding: 64px; } }

/* FAQ */
.faq { max-width: 720px; margin: 0 auto; padding: 0 20px; }
.faq details {
  margin-bottom: 12px; border-radius: 20px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
  overflow: hidden;
  transition: border-color 0.25s ease;
}
.faq details:hover, .faq details[open] { border-color: var(--glass-border-strong); }
.faq summary {
  padding: 18px 22px; cursor: pointer; list-style: none;
  font-weight: 700; display: flex; justify-content: space-between; align-items: center; gap: 12px;
  min-height: 44px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold); font-size: 1.4rem; font-weight: 500; flex: none; transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 22px 20px; margin: 0; color: var(--text-2); }
.faq details[open] p { animation: faq-in 0.3s ease both; }
@keyframes faq-in {
  from { opacity: 0; transform: translateY(-4px); }
}

/* Final CTA */
.cta-final { text-align: center; padding: 88px 20px; position: relative; overflow: hidden; }
.cta-final .hero-glow { opacity: 0.8; }
.cta-final .store-badges { justify-content: center; margin-top: 28px; }
.cta-final p { color: var(--text-2); max-width: 44ch; margin-left: auto; margin-right: auto; }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  border-top: 1px solid var(--glass-border);
  padding: 52px 20px 56px; text-align: center;
  background: rgba(14, 14, 16, 0.6);
}
.footer .footer-tag { font-weight: 700; margin-bottom: 8px; }
.footer .footer-disclaimer {
  max-width: 62ch; margin: 16px 0 0; font-size: 0.85rem; color: var(--text-3);
}
.footer-grid { display: grid; gap: 32px; text-align: left; padding-bottom: 36px; }
.footer-col h4 {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--gold); margin: 0 0 12px;
}
.footer-col a { display: block; padding: 6px 0; color: var(--text-2); font-size: 0.92rem; }
.footer-col a:hover { color: var(--gold-light); }
.qr-card { background: #fff; padding: 8px; border-radius: 14px; width: 112px; }
.qr-hint { display: block; margin-top: 10px; font-size: 0.78rem; color: var(--text-3); }
.footer-bottom { border-top: 1px solid var(--glass-border); padding-top: 24px; }
.footer-copy { font-size: 0.8rem; color: var(--text-3); margin: 0; }
/* Legal pages still use the simple centered footer */
.legal-page .footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin-bottom: 18px; }
.legal-page .footer-links a { color: var(--text-2); font-size: 0.92rem; min-height: 44px; display: inline-flex; align-items: center; }
.legal-page .footer-links a:hover { color: var(--gold-light); }
.legal-page .footer-disclaimer { margin: 0 auto 20px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.1fr; gap: 40px; } }

/* Sticky mobile download bar */
.appbar {
  position: fixed; left: 12px; right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom));
  z-index: 45;
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px; border-radius: 20px;
  background: var(--glass-bg-strong);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border-strong);
  box-shadow: var(--shadow-hero), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transform: translateY(150%);
  transition: transform 0.35s cubic-bezier(0.2, 0.6, 0.2, 1);
}
.appbar.show { transform: none; }
.appbar > img { border-radius: 10px; }
.appbar-text { display: flex; flex-direction: column; line-height: 1.25; font-size: 0.78rem; color: var(--text-2); }
.appbar-text b { font-size: 0.95rem; color: var(--text); }
.appbar .btn { margin-left: auto; min-height: 44px; padding: 10px 20px; font-size: 0.92rem; white-space: nowrap; }
@media (min-width: 960px) { .appbar { display: none; } }

/* Cookie notice — sticky glass strip pinned to the bottom, dismissed with Ok.
   Shown by JS only (hidden attribute in the HTML), so a JS-off visit never gets
   a banner it cannot dismiss. Dismissal persists in localStorage; the site
   itself still sets no cookies and makes no third-party requests. Sits above
   the .appbar (z 45) on purpose: consent first, then the download bar. */
.cookiebar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 10px 20px;
  padding: 14px 20px calc(14px + env(safe-area-inset-bottom));
  background: var(--glass-bg-strong);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border-top: 1px solid var(--glass-border-strong);
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.35);
}
.cookiebar[hidden] { display: none; }
.cookiebar p { margin: 0; font-size: 0.7rem; color: var(--text-2); max-width: 88ch; }
/* Deliberately quiet: the Ok is an acknowledgement, not a CTA (ghost, small) */
.cookiebar .btn { min-height: 34px; padding: 5px 22px; font-size: 0.8rem; font-weight: 600; }

/* ==========================================================================
   Legal pages
   ========================================================================== */
.legal-page .nav { position: sticky; }
.legal-wrap { max-width: 760px; margin: 0 auto; padding: 56px 20px 80px; }
.legal-wrap h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
.legal-meta { color: var(--text-3); font-size: 0.9rem; margin-bottom: 32px; }
.legal-wrap section { margin-bottom: 36px; }
.legal-wrap h2 { font-size: 1.3rem; margin-top: 0; }
.legal-wrap p, .legal-wrap li { color: var(--text-2); font-size: 0.98rem; }
.legal-wrap ul, .legal-wrap ol { padding-left: 22px; }
.legal-wrap li { margin-bottom: 6px; }
.toc {
  padding: 22px 26px; margin: 0 0 40px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
}
.toc h2 { font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.toc ol { margin: 0; padding-left: 20px; columns: 1; }
.toc a { color: var(--text-2); }
.toc a:hover { color: var(--gold-light); }
@media (min-width: 700px) { .toc ol { columns: 2; column-gap: 32px; } }
.data-table {
  width: 100%; border-collapse: collapse; font-size: 0.86rem; margin: 16px 0 8px;
  border: 1px solid var(--glass-border); border-radius: 12px; overflow: hidden;
}
.data-table th, .data-table td {
  padding: 10px 12px; text-align: left; vertical-align: top;
  border-bottom: 1px solid var(--glass-border);
}
.data-table th { background: rgba(255, 255, 255, 0.05); color: var(--text); font-weight: 700; }
.data-table td { color: var(--text-2); }
.data-table tr:last-child td { border-bottom: 0; }
@media (max-width: 640px) { .data-table { display: block; overflow-x: auto; } }

/* ==========================================================================
   Reveal on scroll (progressive enhancement; JS adds .in)
   ========================================================================== */
/* GPU-cheap reveal: translate + opacity only (no scale, which re-rasterizes the
   card's text every frame). translate3d forces a compositor layer. */
.reveal { opacity: 0; transform: translate3d(0, 16px, 0); transition: opacity 0.55s cubic-bezier(0.2, 0.6, 0.2, 1), transform 0.55s cubic-bezier(0.2, 0.6, 0.2, 1); }
.reveal.in { opacity: 1; transform: translate3d(0, 0, 0); }
/* Stagger siblings that enter together */
.steps .step:nth-child(2), .shots-track > figure:nth-child(2) { transition-delay: 0.08s; }
.steps .step:nth-child(3), .shots-track > figure:nth-child(3) { transition-delay: 0.16s; }
.shots-track > figure:nth-child(4) { transition-delay: 0.24s; }
.shots-track > figure:nth-child(5) { transition-delay: 0.32s; }

/* Skip rendering off-screen sections until they approach the viewport, so
   scrolling never pays for the whole page at once. `auto` in the size hint
   means the browser remembers each section's real height after first render,
   so there is no scroll-jump on the way back up. Above-the-fold sections
   (hero, shots, how) are left out so they paint immediately; #features is too,
   because it sits right below the fold and rendering it on scroll-in caused a
   one-time hitch. content-visibility is reserved for the genuinely deep ones. */
#testers, #pro, #faq, .cta-final, .footer {
  content-visibility: auto;
}
#testers { contain-intrinsic-size: auto 520px; }
#pro { contain-intrinsic-size: auto 720px; }
#faq { contain-intrinsic-size: auto 520px; }
.cta-final { contain-intrinsic-size: auto 420px; }
.footer { contain-intrinsic-size: auto 360px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .store-badge, .shot-window img, .glass, .nav, .candle-chip, .appbar { transition: none; }
  .hero-glow, .hero-device, .hero-phone::after, .btn-primary::after,
  .float-chip, .live-dot, .faq details[open] p { animation: none; }
  .tape-card { animation: none; } /* tape renders a static set instead */
}
/* No-JS safety: if script never runs, content stays visible */
.no-js .reveal { opacity: 1; transform: none; }
