/* ============================================================
   ActTrader — Inner page template
   Animated 5-section product page system, built on the homepage
   design tokens (base.css). Pairs with assets/css/mocks.css for
   the live device visuals and assets/js/inner.js for choreography.
   ============================================================ */

/* ---------- shared section rhythm ---------- */
.sec { position: relative; padding: 110px 0; }
.sec-tight { padding: 80px 0; }
.sec + .sec { border-top: 1px solid var(--line); }
.sec-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.sec-head.left { margin-left: 0; text-align: left; }
.kicker {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--brand); margin-bottom: 18px;
}
.kicker::before { content: ''; width: 22px; height: 1px; background: var(--brand); opacity: 0.6; }
.sec-title {
  font-size: clamp(26px, 3.4vw, 42px);
  font-weight: 700; letter-spacing: -0.025em; line-height: 1.08;
}
.sec-title .serif { color: var(--brand); font-weight: 400; }
.sec-sub { margin-top: 18px; color: var(--fg-dim); font-size: 16px; line-height: 1.65; }
.sec-head .sec-sub { margin-left: auto; margin-right: auto; }

/* ============ PRODUCT HERO ============ */
.ph {
  position: relative;
  padding: 150px 0 90px;
  overflow: hidden;
}
.ph-bg { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.ph-glow {
  position: absolute; top: -160px; right: -120px;
  width: 760px; height: 760px; border-radius: 50%;
  background: radial-gradient(circle, var(--brand-soft-strong), transparent 62%);
  filter: blur(70px); opacity: 0.9;
}
.ph-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 70% 20%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(circle at 70% 20%, #000 0%, transparent 70%);
  opacity: 0.5;
}
.ph-inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center;
}
.ph-inner.solo { grid-template-columns: 1fr; max-width: 860px; gap: 0; }
.ph-inner.solo .ph-lede { max-width: 720px; }

/* ---------- prose blocks for content pages ---------- */
.prose { max-width: 760px; }
.prose p { color: var(--fg-dim); font-size: 15.5px; line-height: 1.75; margin-bottom: 18px; }
.prose p .serif { color: var(--brand); }
.prose ul { list-style: none; margin: 26px 0; }
.prose li {
  position: relative; padding: 14px 0 14px 28px;
  border-bottom: 1px solid var(--line); color: var(--fg-dim); font-size: 14.5px; line-height: 1.6;
}
.prose li::before {
  content: ''; position: absolute; left: 0; top: 19px;
  width: 12px; height: 7px; border-left: 1.5px solid var(--brand); border-bottom: 1.5px solid var(--brand);
  transform: rotate(-45deg);
}
.prose li b { color: var(--fg); font-weight: 600; }

/* ---------- stat band ---------- */
.statband { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.statband .s {
  text-align: center; padding: 32px 16px;
  background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--r-lg);
  transition: border-color 0.25s, transform 0.25s;
}
.statband .s:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.statband .v { font-family: 'JetBrains Mono', monospace; font-size: 34px; font-weight: 600; color: var(--brand); letter-spacing: -0.02em; }
.statband .l { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-dim); margin-top: 6px; }

/* ---------- timeline ---------- */
.tl { position: relative; display: flex; flex-direction: column; gap: 4px; }
.tl-row {
  display: grid; grid-template-columns: 120px 1fr; gap: 28px;
  padding: 22px 0; border-top: 1px solid var(--line); align-items: baseline;
}
.tl-row .when { font-family: 'Instrument Serif', serif; font-style: italic; font-size: 24px; color: var(--brand); }
.tl-row h3 { font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.tl-row p { color: var(--fg-dim); font-size: 14px; line-height: 1.6; }

@media (max-width: 700px) {
  .statband { grid-template-columns: 1fr 1fr; }
  .tl-row { grid-template-columns: 1fr; gap: 6px; }
}

/* ============ ABOUT PAGE — journey & milestones ============ */
.about-page { overflow-x: clip; }

.about-hero { min-height: 72vh; display: flex; align-items: center; }
.about-hero .ph-bg { overflow: hidden; }
.ab-hero-watermark {
  position: absolute; top: 42%; left: 58%; transform: translate(-50%, -50%);
  font-family: 'Instrument Serif', serif; font-style: italic;
  font-size: clamp(160px, 28vw, 420px); line-height: 1; letter-spacing: -0.04em;
  color: var(--brand); opacity: 0.06; pointer-events: none; white-space: nowrap;
  will-change: transform;
}
.ab-orbit {
  position: absolute; border-radius: 50%; pointer-events: none;
  border: 1px solid rgba(201, 123, 74,0.12);
  will-change: transform;
}
.ab-orbit-1 { width: 320px; height: 320px; top: 12%; right: 8%; opacity: 0.5; }
.ab-orbit-2 { width: 520px; height: 520px; top: 20%; right: -4%; opacity: 0.35; }
.ab-orbit-3 { width: 180px; height: 180px; bottom: 18%; left: 6%; opacity: 0.4; background: radial-gradient(circle, var(--brand-soft), transparent 70%); border: 0; }
.ab-hero-stats {
  margin-top: 36px;
}
.ab-hero-stats-kicker {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 14px;
}
.ab-hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.ab-stat-chip {
  display: flex; flex-direction: column; gap: 8px;
  padding: 16px 14px; border-radius: 14px;
  background: rgba(20,20,20,0.55); border: 1px solid var(--line-strong);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  transition: border-color 0.25s, transform 0.25s;
  min-height: 88px;
}
.ab-stat-chip:hover { border-color: var(--brand-soft-strong); transform: translateY(-2px); }
.ab-stat-chip .l {
  font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--fg-dim); line-height: 1.35;
}
.ab-stat-chip .v {
  font-family: 'JetBrains Mono', monospace; font-size: 20px; font-weight: 600;
  color: var(--brand); letter-spacing: -0.02em; margin-top: auto;
}
.ab-stat-chip--vol .v { font-size: clamp(14px, 2.2vw, 18px); letter-spacing: -0.03em; }

.ab-parallax { will-change: transform; }
.about-hero .ph-copy { will-change: transform; }

.ab-sec-bg {
  position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 0;
}
.ab-sec-glow {
  position: absolute; top: 20%; left: -10%; width: 560px; height: 560px; border-radius: 50%;
  background: radial-gradient(circle, var(--brand-soft-strong), transparent 62%);
  filter: blur(40px); opacity: 0.7;
}
.ab-sec-watermark {
  position: absolute; top: 50%; right: -5%; transform: translateY(-50%);
  font-family: 'Instrument Serif', serif; font-style: italic;
  font-size: clamp(120px, 22vw, 280px); line-height: 1; color: var(--brand);
  opacity: 0.045; pointer-events: none; white-space: nowrap;
}
.ab-grain {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.045; mix-blend-mode: overlay;
  background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"><filter id="n"><feTurbulence type="fractalNoise" baseFrequency="0.85" numOctaves="3"/></filter><rect width="100%" height="100%" filter="url(%23n)"/></svg>');
}
.ab-scroll-cue {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  text-decoration: none; color: var(--fg-dimmer); z-index: 5;
}
.ab-scroll-cue .line {
  width: 1px; height: 48px; background: linear-gradient(180deg, var(--brand), transparent);
  animation: abScrollLine 2s ease-in-out infinite;
}
.ab-scroll-cue .lbl {
  font-family: 'JetBrains Mono', monospace; font-size: 9px;
  letter-spacing: 0.2em; text-transform: uppercase;
}
@keyframes abScrollLine {
  0%, 100% { transform: scaleY(0.6); opacity: 0.4; transform-origin: top; }
  50% { transform: scaleY(1); opacity: 1; }
}

/* manifesto marquee */
.ab-marquee {
  overflow: hidden; border-block: 1px solid var(--line);
  padding: 18px 0; background: var(--bg-soft);
}
.ab-marquee-track {
  display: flex; gap: 48px; width: max-content;
  animation: abMarquee 36s linear infinite;
}
.ab-marquee-track span {
  font-family: 'JetBrains Mono', monospace; font-size: 11px;
  letter-spacing: 0.28em; text-transform: uppercase; color: var(--fg-dim); white-space: nowrap;
}
@keyframes abMarquee { to { transform: translateX(-50%); } }

/* cinematic chapters */
.ab-chapter {
  position: relative; min-height: 88vh; display: flex; align-items: center;
  padding: 100px 0; overflow: hidden; border-top: 1px solid var(--line);
}
.ab-chapter--dark { background: linear-gradient(180deg, var(--bg), var(--bg-soft)); }
.ab-chapter-bg { position: absolute; inset: 0; pointer-events: none; }
.ab-chapter-num {
  position: absolute; top: 50%; right: 5%; transform: translateY(-50%);
  font-family: 'Instrument Serif', serif; font-style: italic;
  font-size: clamp(120px, 22vw, 320px); line-height: 1; color: var(--brand);
  opacity: 0.04; pointer-events: none;
}
.ab-chapter-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center;
  position: relative; z-index: 1;
}
.ab-chapter-meta { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.ab-chapter-meta .yr {
  font-family: 'Instrument Serif', serif; font-style: italic;
  font-size: 42px; color: var(--brand); line-height: 1;
}
.ab-chapter-meta .tag {
  font-family: 'JetBrains Mono', monospace; font-size: 10px;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--fg-dim);
  padding: 6px 12px; border: 1px solid var(--line-strong); border-radius: 999px;
}
.ab-chapter-title {
  font-size: clamp(28px, 4vw, 44px); font-weight: 700;
  letter-spacing: -0.03em; line-height: 1.08; margin-bottom: 22px;
}
.ab-chapter-title .serif { color: var(--brand); font-weight: 400; }
.ab-chapter-body p { color: var(--fg-dim); font-size: 15px; line-height: 1.75; margin-bottom: 14px; }
.ab-chapter-visual {
  position: relative; aspect-ratio: 1; max-height: 380px;
  border-radius: var(--r-2xl); overflow: hidden;
  background: linear-gradient(145deg, var(--bg-soft), var(--bg-card));
  border: 1px solid var(--line-strong);
  display: flex; align-items: center; justify-content: center;
  transform-style: preserve-3d; perspective: 1200px;
}
.ab-chapter-visual .journey-visual-inner { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; position: relative; }
.ab-chapter-visual .year-display {
  font-family: 'Instrument Serif', serif; font-style: italic;
  font-size: clamp(64px, 10vw, 100px); color: var(--brand); z-index: 1;
}
.ab-chapter-visual .year-caption {
  position: absolute; bottom: 24px; left: 24px; right: 24px;
  font-family: 'JetBrains Mono', monospace; font-size: 10px;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--fg-dim);
}
.ab-chapter-visual .jv-ring {
  position: absolute; inset: 12%; border-radius: 50%;
  border: 1px dashed rgba(201, 123, 74,0.22);
  animation: abRingSpin 40s linear infinite;
}
.ab-chapter-visual.is-hover {
  box-shadow: 0 32px 80px -24px rgba(201, 123, 74,0.22);
  border-color: var(--brand-soft-strong);
}
@keyframes abRingSpin { to { transform: rotate(360deg); } }

/* time machine — scroll-driven horizontal timeline */
.ab-chrono { position: relative; background: var(--bg); border-top: 1px solid var(--line); }
.ab-chrono-scene { position: relative; /* height set by JS */ }
.ab-chrono-pin {
  position: sticky; top: 0; height: 100vh; min-height: 560px;
  display: flex; flex-direction: column; padding: 88px 0 40px;
  overflow: hidden;
}
.ab-chrono-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  padding: 0 24px; max-width: 1200px; margin: 0 auto 32px; width: 100%;
}
.ab-chrono-left { flex: 1; }
.ab-chrono-display { display: flex; flex-direction: column; gap: 6px; margin-top: 12px; }
.ab-chrono-year {
  font-family: 'Instrument Serif', serif; font-style: italic;
  font-size: clamp(64px, 12vw, 120px); line-height: 1; color: var(--brand);
  letter-spacing: -0.02em; transition: opacity 0.35s, transform 0.35s;
}
.ab-chrono-era {
  font-family: 'JetBrains Mono', monospace; font-size: 12px;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--fg-dim);
}
.ab-chrono-bar {
  width: 200px; height: 2px; background: var(--line); margin-top: 20px; border-radius: 2px; overflow: hidden;
}
.ab-chrono-bar span {
  display: block; height: 100%; width: 0; background: var(--brand);
  box-shadow: 0 0 8px var(--brand-soft-strong); transition: width 0.15s linear;
}
.ab-chrono-hint { font-size: 11px; color: var(--fg-dimmer); margin-top: 12px; }
.ab-chrono-counter {
  font-family: 'JetBrains Mono', monospace; font-size: 13px; color: var(--fg-dim);
  letter-spacing: 0.1em;
}
.ab-chrono-viewport {
  flex: 1; display: flex; align-items: center; overflow: hidden;
  padding: 0 max(24px, calc((100vw - 1200px) / 2));
}
.ab-chrono-track {
  display: flex; gap: 24px; will-change: transform;
  transition: transform 0.08s linear;
}
.ab-chrono-card {
  flex: 0 0 min(420px, 86vw); padding: 32px 28px;
  background: linear-gradient(145deg, var(--bg-soft), var(--bg-card));
  border: 1px solid var(--line); border-radius: var(--r-xl);
  transition: border-color 0.4s, box-shadow 0.4s, opacity 0.4s;
  opacity: 0.55; transform: scale(0.96);
}
.ab-chrono-card.is-active {
  opacity: 1; transform: scale(1);
  border-color: var(--brand-soft-strong);
  box-shadow: 0 32px 80px -24px rgba(201, 123, 74,0.25);
}
.ab-chrono-card .card-yr {
  font-family: 'JetBrains Mono', monospace; font-size: 11px;
  letter-spacing: 0.14em; color: var(--brand); margin-bottom: 14px;
}
.ab-chrono-card h3 {
  font-size: 18px; font-weight: 600; margin-bottom: 16px; letter-spacing: -0.01em;
}
.ab-chrono-card ul { list-style: none; margin: 0; }
.ab-chrono-card li {
  position: relative; padding: 0 0 10px 18px; color: var(--fg-dim);
  font-size: 14px; line-height: 1.6;
}
.ab-chrono-card li::before {
  content: ''; position: absolute; left: 0; top: 8px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--brand);
}
.ab-chrono-card li:last-child { padding-bottom: 0; }
.ab-chrono-card strong { color: var(--brand); }

/* manifesto interstitial */
.ab-manifesto {
  position: relative; min-height: 70vh; display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 100px 24px; overflow: hidden; border-top: 1px solid var(--line);
}
.ab-manifesto-glow {
  position: absolute; top: 50%; left: 50%; width: 600px; height: 600px;
  transform: translate(-50%, -50%); border-radius: 50%;
  background: radial-gradient(circle, var(--brand-soft-strong), transparent 65%);
  filter: blur(60px); opacity: 0.6; pointer-events: none;
}
.ab-manifesto-inner { position: relative; z-index: 1; max-width: 820px; }
.ab-manifesto blockquote p {
  font-size: clamp(28px, 4.5vw, 52px); font-weight: 700;
  letter-spacing: -0.03em; line-height: 1.12; color: var(--fg);
}
.ab-manifesto blockquote .serif { color: var(--brand); font-weight: 400; }
.ab-manifesto cite {
  display: block; margin-top: 28px;
  font-family: 'JetBrains Mono', monospace; font-size: 11px;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--fg-dim); font-style: normal;
}

/* bento pillars */
.ab-pillars-sec { position: relative; overflow: hidden; }
.ab-bento {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.ab-bento-cell {
  padding: 28px 24px; background: var(--bg-card); border: 1px solid var(--line);
  border-radius: var(--r-lg); transition: border-color 0.3s, transform 0.3s;
  position: relative; overflow: hidden;
}
.ab-bento-cell::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: radial-gradient(400px circle at var(--mx,50%) var(--my,50%), var(--brand-soft), transparent 55%);
  transition: opacity 0.3s;
}
.ab-bento-cell:hover::after { opacity: 1; }
.ab-bento-cell:hover { border-color: var(--brand-soft-strong); transform: translateY(-4px); }
.ab-bento-cell.span-2 { grid-column: span 2; }
.ab-bento-cell.highlight {
  background: linear-gradient(135deg, var(--brand-soft), var(--bg-card));
  border-color: var(--brand-soft-strong);
}
.ab-bento-cell .num {
  font-family: 'Instrument Serif', serif; font-style: italic;
  font-size: 28px; color: var(--brand); margin-bottom: 12px;
}
.ab-bento-cell h3 { font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.ab-bento-cell p { font-size: 13.5px; color: var(--fg-dim); line-height: 1.65; }
.ab-bento-cell strong { color: var(--brand); }

@media (max-width: 900px) {
  .ab-chapter-inner { grid-template-columns: 1fr; gap: 36px; }
  .ab-chapter-visual { max-height: 280px; order: -1; }
  .ab-chapter-num { right: 50%; transform: translate(50%, -50%); top: 8%; }
  .ab-bento { grid-template-columns: 1fr 1fr; }
  .ab-bento-cell.span-2 { grid-column: span 2; }
  .ab-chrono-pin { padding-top: 72px; }
  .ab-chrono-year { font-size: clamp(48px, 14vw, 80px); }
}
@media (max-width: 560px) {
  .ab-hero-watermark { left: 50%; font-size: clamp(100px, 40vw, 200px); }
  .ab-orbit-2 { display: none; }
  .ab-hero-stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .ab-stat-chip { min-height: 80px; padding: 14px 12px; }
  .ab-bento { grid-template-columns: 1fr; }
  .ab-bento-cell.span-2 { grid-column: span 1; }
  .ab-chrono-card { flex: 0 0 min(320px, 92vw); }
  .ab-scroll-cue { display: none; }
  .ab-marquee-track { animation: none; }
}
@media (prefers-reduced-motion: reduce) {
  .ab-orbit, .jv-ring, .ab-marquee-track { animation: none !important; }
  .ab-parallax { transform: none !important; }
  .ab-chrono-track { transition: none !important; }
  .ab-vol-line { stroke-dashoffset: 0 !important; }
  .ab-chrono-card { opacity: 1 !important; transform: none !important; }
}

.ph-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px; border-radius: 999px;
  background: var(--brand-soft); border: 1px solid var(--line-strong);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--fg-dim); margin-bottom: 26px;
}
.ph-eyebrow b { color: var(--fg); font-weight: 500; }
.status-live, .status-soon {
  display: inline-flex; align-items: center; gap: 7px;
  font-weight: 600; letter-spacing: 0.14em;
}
.status-live { color: var(--gain); }
.status-live .dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--gain);
  box-shadow: 0 0 0 0 rgba(74,222,128,0.55); animation: liveDot 1.6s infinite;
}
@keyframes liveDot {
  0% { box-shadow: 0 0 0 0 rgba(74,222,128,0.5); }
  70% { box-shadow: 0 0 0 7px rgba(74,222,128,0); }
  100% { box-shadow: 0 0 0 0 rgba(74,222,128,0); }
}
.status-soon { color: var(--fg-dim); }

.ph-title {
  font-size: clamp(38px, 5.2vw, 68px);
  font-weight: 700; letter-spacing: -0.035em; line-height: 1.02;
  margin-bottom: 24px;
}
.ph-title .serif { color: var(--brand); font-weight: 400; letter-spacing: -0.01em; }
.ph-lede { font-size: 17px; line-height: 1.7; color: var(--fg-dim); max-width: 520px; margin-bottom: 34px; }

.ph-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 44px; }
.btn-lg {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 15px 28px; border-radius: 999px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.02em;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s, color 0.2s;
  cursor: pointer; border: 1px solid transparent;
}
.btn-fill {
  background: var(--grad-brand, linear-gradient(135deg, #F0B989 0%, #C97B4A 50%, #8C5530 100%));
  color: var(--bg, #0d0a07);
  box-shadow: 0 4px 14px rgba(201, 123, 74,0.25);
}
.btn-fill:hover { transform: translateY(-2px); box-shadow: 0 12px 34px rgba(201, 123, 74,0.4); }
.btn-line { border-color: var(--line-strong); color: var(--fg); background: transparent; }
.btn-line:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-2px); }
.btn-lg .arr { transition: transform 0.2s; }
.btn-lg:hover .arr { transform: translateX(4px); }

.ph-meta { display: flex; gap: 36px; flex-wrap: wrap; }
.ph-meta .m { display: flex; flex-direction: column; gap: 4px; }
.ph-meta .m .v { font-family: 'JetBrains Mono', monospace; font-size: 22px; font-weight: 600; color: var(--fg); letter-spacing: -0.01em; }
.ph-meta .m .v .serif { color: var(--brand); }
.ph-meta .m .l { font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--fg-dimmer); }

/* ---------- device frame (JS scale-to-fit) ---------- */
.ph-device { position: relative; }
.dev-stage { position: relative; width: 100%; }
.dev-frame {
  position: absolute; top: 0; left: 0;
  transform-origin: top left;
  border-radius: 16px;
  border: 1px solid var(--line-strong);
  background: var(--bg-soft);
  box-shadow: 0 40px 90px -30px rgba(0,0,0,0.8), 0 0 0 1px rgba(201, 123, 74,0.04);
  overflow: hidden;
}
.dev-chrome {
  height: 34px; display: flex; align-items: center; gap: 8px;
  padding: 0 14px; border-bottom: 1px solid var(--line);
  background: rgba(0,0,0,0.25);
}
.dev-chrome .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); }
.dev-chrome .dot:nth-child(1) { background: #f87171aa; }
.dev-chrome .dot:nth-child(2) { background: #ffd400aa; }
.dev-chrome .dot:nth-child(3) { background: #4ade80aa; }
.dev-chrome .addr {
  margin-left: 14px; flex: 1; height: 18px; border-radius: 6px;
  background: var(--bg); border: 1px solid var(--line);
  display: flex; align-items: center; padding: 0 10px;
  font-family: 'JetBrains Mono', monospace; font-size: 9px; color: var(--fg-dimmer); letter-spacing: 0.08em;
}
.dev-tilt { width: 100%; height: 100%; display: flex; flex-direction: column; transform-origin: center; transition: transform 0.4s cubic-bezier(0.2,0.7,0.2,1); will-change: transform; }
.dev-screen { position: relative; flex: 1; overflow: hidden; }
/* Real product screenshot filling a device frame */
.dev-screen .dev-shot { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }

/* ── Foundation / end-to-end feature grid (home) ── */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 8px; }
.feat-card {
  position: relative; display: flex; flex-direction: column;
  padding: 28px 26px; background: var(--bg-card); border: 1px solid var(--line);
  border-radius: var(--r-lg); transition: border-color .3s, transform .3s, box-shadow .3s;
}
.feat-card:hover { border-color: var(--brand-soft-strong); transform: translateY(-4px); box-shadow: 0 30px 70px -34px rgba(201, 123, 74,.4); }
.feat-card .ico {
  width: 44px; height: 44px; border-radius: 11px; display: flex; align-items: center; justify-content: center;
  background: var(--brand-soft); color: var(--brand); margin-bottom: 18px; flex-shrink: 0;
}
.feat-card .ico svg { width: 22px; height: 22px; }
.feat-card h3 { font-size: 16.5px; font-weight: 600; margin: 0 0 9px; letter-spacing: -0.01em; }
.feat-card p { font-size: 13.5px; color: var(--fg-dim); line-height: 1.65; margin: 0; }
.feat-card .pill {
  align-self: flex-start; margin-top: 16px; font-family: 'JetBrains Mono', monospace;
  font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--brand);
  border: 1px solid var(--brand-soft-strong); border-radius: 999px; padding: 4px 11px;
}
@media (max-width: 900px) { .feat-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .feat-grid { grid-template-columns: 1fr; } }

/* Product screenshots — show as-is, no color grading */
.platform-shot-mock {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #121517;
}
.platform-shot-mock .ps-viewport {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.platform-shot-mock .ps-shot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* floating glass badges near the device */
.dev-badge {
  position: absolute; z-index: 5;
  display: flex; align-items: center; gap: 10px;
  padding: 11px 15px; border-radius: 14px;
  background: rgba(20,20,20,0.72);
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 16px 40px -16px rgba(0,0,0,0.7);
  will-change: transform;
}
.dev-badge .ico {
  width: 30px; height: 30px; border-radius: 9px; flex: none;
  display: flex; align-items: center; justify-content: center;
  background: var(--brand-soft); color: var(--brand);
}
.dev-badge .ico svg { width: 16px; height: 16px; }
.dev-badge .t { font-size: 11px; font-weight: 600; color: var(--fg); line-height: 1.2; }
.dev-badge .s { font-family: 'JetBrains Mono', monospace; font-size: 10px; color: var(--fg-dim); margin-top: 2px; }
.dev-badge .s.gain { color: var(--gain); }
.dev-badge-1 { top: 30px; left: -28px; animation: badgeFloat 6s ease-in-out infinite; }
.dev-badge-2 { bottom: 40px; right: -22px; animation: badgeFloat 7.5s ease-in-out infinite 0.8s; }
@keyframes badgeFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ============ FEATURES (3x2 grid) ============ */
.pf-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pf-card {
  position: relative; padding: 28px 26px 24px;
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: transform 0.25s, border-color 0.25s, background 0.25s;
  overflow: hidden;
}
.pf-card::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(420px circle at var(--mx,50%) var(--my,0%), var(--brand-soft), transparent 60%);
  opacity: 0; transition: opacity 0.3s; pointer-events: none;
}
.pf-card:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.pf-card:hover::after { opacity: 1; }
.pf-ico {
  width: 42px; height: 42px; border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  background: var(--brand-soft); color: var(--brand);
  margin-bottom: 20px; border: 1px solid var(--line-strong);
}
.pf-ico svg { width: 20px; height: 20px; }
.pf-card h3 { font-size: 16px; font-weight: 600; margin-bottom: 9px; letter-spacing: -0.01em; }
.pf-card p { font-size: 13px; color: var(--fg-dim); line-height: 1.6; }
.pf-meta {
  margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line);
  font-family: 'JetBrains Mono', monospace; font-size: 10px;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-dimmer);
  display: flex; align-items: center; gap: 8px;
}
.pf-meta .d { width: 5px; height: 5px; border-radius: 50%; background: var(--brand); }

/* ============ FEATURE EXPLORER (sticky scroll-driven) ============ */
.fx-section { position: relative; padding: 0; }
/* tall scroll track; height set by explorer.js per feature count */
.fx-scroll { position: relative; }
/* the pinned stage that holds heading + explorer while you scroll the track */
.fx-sticky {
  position: sticky; top: 0; min-height: 100vh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 88px 0; overflow: hidden;
}
.fx-sticky > .container { position: relative; z-index: 2; width: 100%; }
/* parallax background layers, drift driven by section scroll */
.fx-parallax { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.fx-glow {
  position: absolute; top: 50%; left: 50%; width: 820px; height: 820px; max-width: 120vw;
  border-radius: 50%; background: radial-gradient(circle, var(--brand-soft), transparent 62%);
  transform: translate(-50%, calc(-50% + var(--py, 0px))); will-change: transform;
}
.fx-watermark {
  position: absolute; top: 50%; left: 50%; white-space: nowrap;
  font-family: 'Instrument Serif', serif; font-style: italic;
  font-size: clamp(140px, 24vw, 360px); line-height: 1; letter-spacing: -0.02em;
  color: var(--fg); opacity: 0.05;
  transform: translate(-50%, calc(-50% + var(--py, 0px))); will-change: transform;
}
/* fallback when JS is off: normal flow, no pin */
.fx-section:not(.fx-on) .fx-scroll { height: auto !important; }
.fx-section:not(.fx-on) .fx-sticky { position: static; min-height: 0; padding: 96px 0; }
.fx { display: grid; grid-template-columns: 320px 1fr; gap: 28px; align-items: start; }
/* left rail */
.fx-nav { display: flex; flex-direction: column; gap: 2px; }
.fx-item {
  position: relative; display: grid; grid-template-columns: 34px 1fr; align-items: center; gap: 12px;
  width: 100%; text-align: left; cursor: pointer;
  background: transparent; border: none; border-radius: var(--r-md);
  padding: 14px 16px; color: var(--fg-dim); transition: background 0.25s, color 0.25s;
  font-family: inherit;
}
.fx-item:hover { background: var(--bg-card); color: var(--fg); }
.fx-item .fx-n { font-family: 'Instrument Serif', serif; font-style: italic; font-size: 20px; color: var(--fg-dimmer); transition: color 0.25s; }
.fx-item .fx-tt { font-size: 14px; font-weight: 500; letter-spacing: -0.01em; }
.fx-item.active { background: var(--bg-card); color: var(--fg); }
.fx-item.active .fx-n { color: var(--brand); }
.fx-item.active .fx-tt { color: var(--fg); font-weight: 600; }
.fx-item .fx-bar { position: absolute; left: 0; top: 8px; bottom: 8px; width: 2px; border-radius: 2px; background: var(--line-strong); overflow: hidden; }
.fx-item .fx-bar b { position: absolute; left: 0; top: 0; width: 100%; height: 0; background: var(--brand); }
.fx-item.active .fx-bar b { height: 100%; }
/* auto-advance progress fill (duration synced from --dwell in JS) */
.fx { --dwell: 5200ms; }
@keyframes fxFillV { from { height: 0; } }
@keyframes fxFillH { from { width: 0; } }
.fx.js-on .fx-item.active .fx-bar b { animation: fxFillV var(--dwell) linear forwards; }
.fx.js-on.is-paused .fx-item.active .fx-bar b { animation-play-state: paused; }
/* scroll-driven mode: the bar tracks scroll position, set inline by JS */
.fx.fx-scroll-mode .fx-item .fx-bar b { animation: none !important; height: 0; transition: height 0.15s linear; }
/* detail stage */
.fx-panels { position: relative; min-height: 360px; background: linear-gradient(180deg, var(--bg-soft), var(--bg-card)); border: 1px solid var(--line-strong); border-radius: var(--r-2xl); overflow: hidden; }
.fx-panels::before { content: ''; position: absolute; top: -30%; right: -10%; width: 460px; height: 460px; border-radius: 50%; background: radial-gradient(circle, var(--brand-soft), transparent 62%); pointer-events: none; }
.fx-feature { position: absolute; inset: 0; padding: 44px; display: flex; flex-direction: column; opacity: 0; transform: translateY(16px); transition: opacity 0.5s cubic-bezier(0.2,0.7,0.2,1), transform 0.5s cubic-bezier(0.2,0.7,0.2,1); pointer-events: none; }
.fx-feature.active { opacity: 1; transform: none; pointer-events: auto; }
.fx-ico { width: 56px; height: 56px; border-radius: 15px; display: flex; align-items: center; justify-content: center; background: var(--brand-soft); color: var(--brand); border: 1px solid var(--line-strong); margin-bottom: 24px; }
.fx-ico svg { width: 26px; height: 26px; }
.fx-feature h3 { font-size: clamp(22px, 2.6vw, 30px); font-weight: 700; letter-spacing: -0.02em; margin-bottom: 14px; }
.fx-feature h3 .serif { color: var(--brand); font-weight: 400; }
.fx-feature p { font-size: 15.5px; line-height: 1.7; color: var(--fg-dim); max-width: 520px; }
.fx-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 26px; }
.fx-chips span { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.04em; color: var(--fg-dim); padding: 7px 12px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); }
.fx-chips span:first-child { color: var(--brand); border-color: var(--brand-soft-strong); background: var(--brand-soft); }
/* progress dots under stage on mobile */
.fx-count { position: absolute; top: 28px; right: 32px; font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--fg-dimmer); letter-spacing: 0.1em; }
/* no-JS / reduced fallback: readable stacked cards, nav hidden */
.fx:not(.js-on) .fx-nav { display: none; }
.fx:not(.js-on) { grid-template-columns: 1fr; }
.fx:not(.js-on) .fx-panels { min-height: 0; background: none; border: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; overflow: visible; }
.fx:not(.js-on) .fx-feature { position: relative; inset: auto; opacity: 1; transform: none; padding: 26px; background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--r-lg); transition: border-color 0.2s; }
.fx:not(.js-on) .fx-feature:hover { border-color: var(--line-strong); }
.fx:not(.js-on) .fx-feature h3 { font-size: 18px; margin-bottom: 12px; }
.fx:not(.js-on) .fx-feature p { font-size: 13.5px; }
.fx:not(.js-on) .fx-count { display: none; }
/* tone-down: no drifting watermark behind the static grid */
.fx-section:not(.fx-on) .fx-parallax { display: none; }
@media (max-width: 860px) {
  .fx.js-on { grid-template-columns: 1fr; }
  .fx.js-on .fx-nav { flex-direction: row; overflow-x: auto; gap: 6px; padding-bottom: 6px; -webkit-overflow-scrolling: touch; }
  .fx.js-on .fx-item { flex: 0 0 auto; grid-template-columns: auto auto; padding: 10px 14px; }
  .fx.js-on .fx-item .fx-bar { left: 8px; right: 8px; top: auto; bottom: 0; width: auto; height: 2px; }
  .fx.js-on .fx-item .fx-bar b { width: 0; height: 100%; }
  .fx.js-on .fx-item.active .fx-bar b { width: 100%; height: 100%; animation: fxFillH var(--dwell) linear forwards; }
  .fx.js-on .fx-panels { min-height: 390px; }
  .fx.js-on .fx-feature { padding: 26px 22px; }
  .fx.js-on .fx-feature .fx-ico { width: 46px; height: 46px; margin-bottom: 18px; }
  .fx.js-on .fx-feature h3 { font-size: 21px; margin-bottom: 12px; }
  .fx.js-on .fx-feature p { font-size: 14px; line-height: 1.6; }
  .fx.js-on .fx-chips { padding-top: 18px; }
  .fx-sticky { padding: 78px 0 36px; }
  .fx-watermark { font-size: clamp(90px, 30vw, 200px); opacity: 0.04; }
  .fx:not(.js-on) .fx-panels { grid-template-columns: 1fr; }
}

/* ============ HOW IT WORKS (deep premium card) ============ */
.hw-card {
  position: relative;
  background: linear-gradient(180deg, var(--bg-soft), var(--bg));
  border: 1px solid var(--line-strong);
  border-radius: var(--r-2xl);
  padding: 64px 56px;
  overflow: hidden;
}
.hw-card::before {
  content: ''; position: absolute; top: -40%; left: 50%; transform: translateX(-50%);
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, var(--brand-soft), transparent 60%);
  pointer-events: none;
}
.hw-steps { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.hw-step { position: relative; }
.hw-num {
  font-family: 'Instrument Serif', serif; font-style: italic;
  font-size: 64px; line-height: 1; color: var(--brand); opacity: 0.9; margin-bottom: 16px;
}
.hw-step h3 { font-size: 18px; font-weight: 600; margin-bottom: 10px; }
.hw-step p { font-size: 13.5px; color: var(--fg-dim); line-height: 1.65; max-width: 280px; }
.hw-arrow {
  position: absolute; top: 34px; right: -22px;
  width: 44px; height: 1px; background: var(--line-strong);
}
.hw-arrow::after {
  content: ''; position: absolute; right: 0; top: -3px;
  width: 6px; height: 6px; border-top: 1px solid var(--brand); border-right: 1px solid var(--brand);
  transform: rotate(45deg);
}
.hw-step:last-child .hw-arrow { display: none; }

/* ============ PRICING ============ */
.pr-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.pr-tier {
  display: flex; flex-direction: column;
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: var(--r-xl); padding: 32px 28px;
  transition: border-color 0.25s, transform 0.25s;
}
.pr-tier:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.pr-tier.feat { border-color: var(--brand); background: linear-gradient(180deg, var(--brand-soft), var(--bg-card)); }
.pr-tier .badge {
  align-self: flex-start; font-family: 'JetBrains Mono', monospace;
  font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--brand); margin-bottom: 14px;
}
.pr-tier h3 { font-size: 20px; font-weight: 700; margin-bottom: 6px; }
.pr-tier .blurb { font-size: 13px; color: var(--fg-dim); line-height: 1.6; margin-bottom: 22px; min-height: 40px; }
.pr-tier .price { font-family: 'JetBrains Mono', monospace; font-size: 30px; font-weight: 600; color: var(--fg); margin-bottom: 4px; }
.pr-tier .price small { font-size: 13px; color: var(--fg-dim); font-weight: 400; }
.pr-tier ul { list-style: none; margin: 22px 0 28px; display: flex; flex-direction: column; gap: 12px; }
.pr-tier li { font-size: 13px; color: var(--fg-dim); padding-left: 24px; position: relative; line-height: 1.5; }
.pr-tier li::before {
  content: ''; position: absolute; left: 0; top: 5px;
  width: 12px; height: 7px; border-left: 1.5px solid var(--brand); border-bottom: 1.5px solid var(--brand);
  transform: rotate(-45deg);
}
.pr-tier .btn-lg { margin-top: auto; justify-content: center; width: 100%; }

/* ---------- waitlist (coming soon) ---------- */
.wl-card {
  max-width: 620px; margin: 0 auto; text-align: center;
  background: linear-gradient(180deg, var(--bg-soft), var(--bg));
  border: 1px solid var(--line-strong); border-radius: var(--r-2xl);
  padding: 56px 48px;
}
.wl-card h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 700; margin-bottom: 14px; }
.wl-card h2 .serif { color: var(--brand); font-weight: 400; }
.wl-card p { color: var(--fg-dim); font-size: 15px; line-height: 1.65; margin-bottom: 30px; }
.wl-form { display: flex; gap: 12px; max-width: 460px; margin: 0 auto; flex-wrap: wrap; }
.wl-form input {
  flex: 1; min-width: 220px; padding: 15px 18px;
  background: var(--bg-card); border: 1px solid var(--line-strong);
  border-radius: 999px; color: var(--fg); font-family: inherit; font-size: 14px;
  transition: border-color 0.2s;
}
.wl-form input:focus { outline: none; border-color: var(--brand); }

/* ============ FINAL CTA (premium deep card) ============ */
.fc {
  position: relative; margin: 0 32px 90px; max-width: 1200px;
  margin-left: auto; margin-right: auto;
  background: linear-gradient(135deg, var(--bg-elev), var(--bg-soft));
  border: 1px solid var(--line-strong); border-radius: var(--r-2xl);
  padding: 80px 56px; text-align: center; overflow: hidden;
}
.fc::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(700px circle at 50% 120%, var(--brand-soft-strong), transparent 60%);
  pointer-events: none;
}
.fc-mono {
  position: relative; font-family: 'Instrument Serif', serif; font-style: italic;
  font-size: 13px; letter-spacing: 0.1em; color: var(--brand); margin-bottom: 18px;
}
.fc h2 { position: relative; font-size: clamp(30px, 4.4vw, 56px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.05; margin-bottom: 18px; }
.fc h2 .serif { color: var(--brand); font-weight: 400; }
.fc p { position: relative; color: var(--fg-dim); font-size: 16px; max-width: 560px; margin: 0 auto 34px; line-height: 1.65; }
.fc .ph-ctas { position: relative; justify-content: center; margin: 0; }

/* ============ CONTACT ============ */
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 40px; align-items: start; }
.contact-methods { display: flex; flex-direction: column; gap: 14px; }
.cmethod {
  display: flex; gap: 14px; padding: 20px;
  background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--r-lg);
  transition: border-color 0.25s, transform 0.25s;
}
.cmethod:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.cmethod .ico { width: 38px; height: 38px; flex: none; border-radius: 10px; background: var(--brand-soft); color: var(--brand); display: flex; align-items: center; justify-content: center; border: 1px solid var(--line-strong); }
.cmethod .ico svg { width: 18px; height: 18px; }
.cmethod h3 { font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.cmethod p { font-size: 12.5px; color: var(--fg-dim); line-height: 1.55; margin-bottom: 6px; }
.cmethod a { font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--brand); }
.formcard {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, var(--bg-soft), var(--bg-card));
  border: 1px solid var(--line-strong); border-radius: var(--r-xl); padding: 36px;
}
.formcard::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: radial-gradient(500px circle at var(--mx,50%) var(--my,50%), var(--brand-soft), transparent 55%);
  transition: opacity 0.35s;
}
.formcard:hover::after, .formcard:focus-within::after { opacity: 1; }
.formcard .btn-lg { border: none; cursor: pointer; margin-top: 4px; }
.formcard-header {
  position: relative; z-index: 1; margin-bottom: 24px; padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.formcard-header h3 { font-size: 20px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 6px; }
.formcard-header h3 .serif { color: var(--brand); font-weight: 400; }
.formcard-header p { font-size: 13px; color: var(--fg-dim); line-height: 1.6; }
.formcard-body { position: relative; z-index: 1; }

/* Contact form fields (homepage embed + contact page) */
.contact-form { width: 100%; }
.contact-form .form-group { margin-bottom: 18px; }
.contact-form .form-group label {
  display: block; font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--fg-dim); margin-bottom: 8px;
}
.contact-form .form-group input,
.contact-form .form-group textarea,
.contact-form .form-group select {
  width: 100%; padding: 14px 16px;
  background: var(--bg); border: 1px solid var(--line-strong);
  border-radius: 10px; color: var(--fg); font-family: inherit; font-size: 14px;
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none; appearance: none;
}
.contact-form .form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23a8763e' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
  padding-right: 40px;
}
.contact-form .form-group input::placeholder,
.contact-form .form-group textarea::placeholder { color: var(--fg-dimmer); }
.contact-form .form-group input:focus,
.contact-form .form-group textarea:focus,
.contact-form .form-group select:focus {
  outline: none; border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-soft);
}
.contact-form .form-group textarea { min-height: 120px; resize: vertical; }
.contact-form .form-group select option { background: var(--bg-card); color: var(--fg); }
.contact-form .btn-lg { width: 100%; justify-content: center; display: inline-flex; align-items: center; gap: 8px; }

@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .contact-form .form-row { grid-template-columns: 1fr; } }

/* ============ FAQ ============ */
.faq { max-width: 820px; }
.faq-q {
  border-top: 1px solid var(--line); padding: 22px 0;
}
.faq-q h3 { font-size: 16px; font-weight: 600; margin-bottom: 8px; display: flex; gap: 12px; align-items: baseline; }
.faq-q h3::before { content: '→'; color: var(--brand); }
.faq-q p { color: var(--fg-dim); font-size: 14.5px; line-height: 1.7; padding-left: 24px; }

/* ============ logo / proof marquee ============ */
.proof { padding: 48px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; }
.proof-lbl { text-align: center; font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--fg-dimmer); margin-bottom: 26px; }
.proof-track { display: flex; gap: 56px; width: max-content; animation: proofScroll 32s linear infinite; }
.proof-track span { font-family: 'Instrument Serif', serif; font-style: italic; font-size: 22px; color: var(--fg-dim); white-space: nowrap; }
@keyframes proofScroll { to { transform: translateX(-50%); } }

/* ============ THEMED PHONE FRAME + MOBILE-APP SHOWCASE ============ */
.phone { position: relative; width: 100%; max-width: 264px; margin: 0 auto; }
.phone-glow {
  position: absolute; inset: -14% -22%; z-index: 0; border-radius: 50%;
  background: radial-gradient(circle, var(--brand-soft-strong), transparent 62%);
  filter: blur(34px); pointer-events: none;
}
.phone-frame {
  position: relative; z-index: 1; aspect-ratio: 1260 / 2736;
  border-radius: 40px; padding: 9px;
  background: linear-gradient(160deg, #2a1c12, #100a06);
  border: 1px solid var(--line-strong);
  box-shadow: 0 42px 90px -28px rgba(0,0,0,0.85), inset 0 1px 0 rgba(229,199,107,0.08);
}
/* notch */
.phone-frame::after {
  content: ''; position: absolute; top: 11px; left: 50%; transform: translateX(-50%);
  width: 34%; height: 20px; background: #0d0a07; border-radius: 0 0 13px 13px; z-index: 3;
}
.phone-frame img {
  width: 100%; height: 100%; object-fit: cover; border-radius: 32px; display: block;
  /* knock back the app's native blue/teal so the warm overlay reads cleanly */
  filter: saturate(0.45) brightness(0.96) contrast(1.04);
}
/* brand overlay — recolours the app screens to the site's blue theme */
.phone-frame .tint {
  position: absolute; inset: 9px; border-radius: 32px; z-index: 2; pointer-events: none;
  background: var(--brand); mix-blend-mode: color; opacity: 0.62;
}
.phone-frame .tint::after {
  content: ''; position: absolute; inset: 0; border-radius: 32px;
  background: radial-gradient(130% 90% at 50% 0%, rgba(201, 123, 74,0.18), transparent 62%);
  mix-blend-mode: soft-light;
}

.pocket { position: relative; overflow: hidden; }
.pocket-device { position: relative; z-index: 2; max-width: 900px; margin: 0 auto; }

/* ---------- platform launch / download buttons ---------- */
.plat-row { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }
.plat-btn {
  display: inline-flex; align-items: center; gap: 14px; min-width: 220px;
  padding: 15px 24px; border-radius: var(--r-lg);
  background: var(--bg-card); border: 1px solid var(--line-strong);
  text-decoration: none; color: var(--fg);
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.plat-btn:hover { transform: translateY(-3px); border-color: var(--brand); }
.plat-btn.primary { background: linear-gradient(135deg, var(--brand), var(--brand-deep)); border-color: transparent; color: #fff; }
.plat-btn.primary:hover { box-shadow: 0 12px 30px rgba(201, 123, 74,0.30); }
.plat-ico { display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; flex: none; color: var(--brand); }
.plat-btn.primary .plat-ico { color: #fff; }
.plat-ico svg { width: 26px; height: 26px; }
.plat-txt { display: flex; flex-direction: column; line-height: 1.25; }
.plat-txt .s { font-size: 10px; letter-spacing: 0.04em; color: var(--fg-dim); }
.plat-btn.primary .plat-txt .s { color: rgba(255,255,255,0.82); }
.plat-txt .t { font-size: 15px; font-weight: 600; letter-spacing: -0.01em; }
@media (max-width: 560px) { .plat-btn { width: 100%; justify-content: flex-start; } }
.pocket-glow {
  position: absolute; top: 30%; left: 50%; transform: translate(-50%, -50%);
  width: 900px; height: 600px; max-width: 130vw; border-radius: 50%;
  background: radial-gradient(circle, var(--brand-soft), transparent 64%);
  pointer-events: none;
}
.pocket-rail {
  position: relative; display: flex; gap: 28px;
  overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 16px 24px 30px; scrollbar-width: none;
  justify-content: flex-start;
}
.pocket-rail::-webkit-scrollbar { display: none; }
.pocket-item {
  flex: 0 0 auto; width: 230px; scroll-snap-align: center; text-align: center;
  transition: transform 0.3s;
}
.pocket-item:hover { transform: translateY(-6px); }
.pocket-item .cap { margin-top: 18px; }
.pocket-item .cap .t { display: block; font-size: 14px; font-weight: 600; color: var(--fg); }
.pocket-item .cap .s {
  display: block; margin-top: 3px; font-family: 'JetBrains Mono', monospace;
  font-size: 11px; letter-spacing: 0.04em; color: var(--fg-dim);
}
@media (min-width: 1080px) { .pocket-rail { justify-content: center; flex-wrap: nowrap; } }

/* hero device shows the same product mock on mobile and desktop */
.ph-phone { display: none; }

/* ============ DEMO REGISTRATION MODAL ============ */
.demo-overlay {
  position: fixed; inset: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  background: rgba(6,3,1,0.72);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
.demo-overlay.open { opacity: 1; pointer-events: auto; }
.demo-modal {
  position: relative; width: 100%; max-width: 480px;
  background: linear-gradient(180deg, var(--bg-elev), var(--bg-card));
  border: 1px solid var(--line-strong); border-radius: var(--r-2xl);
  padding: 36px; max-height: 92vh; overflow-y: auto;
  transform: translateY(20px) scale(0.97); transition: transform 0.35s cubic-bezier(0.2,0.8,0.2,1);
  box-shadow: 0 40px 100px -30px rgba(0,0,0,0.85);
}
.demo-overlay.open .demo-modal { transform: none; }
.demo-modal::before {
  content: ''; position: absolute; inset: 0; border-radius: var(--r-2xl); pointer-events: none;
  background: radial-gradient(440px circle at 80% -10%, var(--brand-soft), transparent 60%);
}
.demo-x {
  position: absolute; top: 18px; right: 18px; width: 32px; height: 32px;
  border-radius: 8px; border: 1px solid var(--line); background: var(--bg-soft);
  color: var(--fg-dim); cursor: pointer; font-size: 16px; line-height: 1;
  display: flex; align-items: center; justify-content: center; transition: all 0.2s;
}
.demo-x:hover { color: var(--fg); border-color: var(--line-strong); }
.demo-eyebrow {
  position: relative; display: inline-flex; align-items: center; gap: 8px;
  font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--brand); margin-bottom: 14px;
}
.demo-eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gain); box-shadow: 0 0 0 0 rgba(74,222,128,0.5); animation: liveDot 1.6s infinite; }
.demo-modal h2 { position: relative; font-size: 24px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 8px; }
.demo-modal h2 .serif { color: var(--brand); font-weight: 400; }
.demo-modal .sub { position: relative; color: var(--fg-dim); font-size: 13.5px; line-height: 1.6; margin-bottom: 26px; }
.demo-field { position: relative; margin-bottom: 16px; }
.demo-field label { display: block; font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-dim); margin-bottom: 7px; }
.demo-field input, .demo-field select {
  width: 100%; padding: 13px 15px; background: var(--bg); border: 1px solid var(--line-strong);
  border-radius: var(--r-md); color: var(--fg); font-family: inherit; font-size: 14px; transition: border-color 0.2s;
}
.demo-field input:focus, .demo-field select:focus { outline: none; border-color: var(--brand); }
.demo-modal .btn-lg { position: relative; width: 100%; justify-content: center; margin-top: 6px; border: none; cursor: pointer; }
.demo-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.demo-success { position: relative; text-align: center; padding: 18px 0; }
.demo-success .check {
  width: 64px; height: 64px; margin: 0 auto 22px; border-radius: 50%;
  background: var(--gain-soft); color: var(--gain); display: flex; align-items: center; justify-content: center;
  animation: demoPop 0.5s cubic-bezier(0.2,1.4,0.4,1);
}
.demo-success .check svg { width: 30px; height: 30px; }
@keyframes demoPop { from { transform: scale(0); } to { transform: scale(1); } }
.demo-success h2 { margin-bottom: 10px; }
.demo-success .who { font-family: 'JetBrains Mono', monospace; color: var(--brand); font-size: 13px; margin-top: 4px; }
@media (max-width: 460px) { .demo-modal { padding: 28px 22px; } .demo-row { grid-template-columns: 1fr; } }

/* ============ REQUEST ACCESS — split modal ============ */
.demo-modal--split {
  max-width: 920px; display: grid; grid-template-columns: 1fr 1.05fr;
  gap: 0; padding: 0; overflow: hidden;
}
.demo-modal--split .demo-x { z-index: 5; }
.demo-visual {
  position: relative; padding: 36px 32px; overflow: hidden;
  background: linear-gradient(160deg, var(--bg-soft) 0%, var(--bg) 100%);
  border-right: 1px solid var(--line);
  display: flex; flex-direction: column; justify-content: center; min-height: 420px;
}
.demo-visual-glow {
  position: absolute; top: -20%; right: -30%; width: 280px; height: 280px;
  border-radius: 50%; background: radial-gradient(circle, var(--brand-soft-strong), transparent 65%);
  filter: blur(40px); pointer-events: none;
}
.demo-orbit {
  position: absolute; border-radius: 50%; border: 1px dashed rgba(201, 123, 74,0.18);
  pointer-events: none;
}
.demo-orbit-1 { width: 200px; height: 200px; top: 12%; left: -20%; animation: ctOrbitSpin 48s linear infinite; }
.demo-orbit-2 { width: 140px; height: 140px; bottom: 10%; right: -10%; animation: ctOrbitSpin 36s linear infinite reverse; }
.demo-mini-mock {
  position: relative; z-index: 1; border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--line-strong);
  background: var(--bg-card);
  box-shadow: 0 24px 60px -20px rgba(0,0,0,0.7);
  transform: perspective(800px) rotateY(-6deg) rotateX(4deg);
  animation: demoMockFloat 6s ease-in-out infinite;
}
@keyframes demoMockFloat {
  0%, 100% { transform: perspective(800px) rotateY(-6deg) rotateX(4deg) translateY(0); }
  50% { transform: perspective(800px) rotateY(-4deg) rotateX(2deg) translateY(-6px); }
}
.dm-bar {
  display: flex; align-items: center; gap: 6px; padding: 10px 12px;
  background: var(--bg-soft); border-bottom: 1px solid var(--line);
}
.dm-bar span.r, .dm-bar span.y, .dm-bar span.g { width: 8px; height: 8px; border-radius: 50%; }
.dm-bar .r { background: #f87171; } .dm-bar .y { background: #ffd400; } .dm-bar .g { background: var(--gain); }
.dm-title { margin-left: 8px; font-family: 'JetBrains Mono', monospace; font-size: 9px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-dim); }
.dm-body { padding: 12px; }
.dm-row {
  display: grid; grid-template-columns: 1fr auto auto; gap: 10px; align-items: center;
  padding: 7px 8px; border-radius: 6px; font-family: 'JetBrains Mono', monospace; font-size: 11px;
  color: var(--fg-dim); transition: background 0.3s;
}
.dm-row.is-hot, .dm-row:nth-child(3) { background: var(--brand-soft); color: var(--fg); }
.dm-row .gain { color: var(--gain); } .dm-row .loss { color: var(--loss); }
.dm-chart { margin-top: 10px; height: 48px; color: var(--brand); opacity: 0.85; }
.demo-stat-chips { position: relative; z-index: 1; display: flex; gap: 10px; margin-top: 18px; }
.demo-chip {
  flex: 1; padding: 10px 12px; border-radius: var(--r-md);
  background: rgba(20,20,20,0.6); border: 1px solid var(--line-strong);
}
.demo-chip .k { display: block; font-size: 9px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-dim); margin-bottom: 4px; }
.demo-chip .v { font-family: 'JetBrains Mono', monospace; font-size: 13px; font-weight: 600; color: var(--brand); }
.demo-visual-copy {
  position: relative; z-index: 1; margin-top: 16px; font-size: 12.5px; line-height: 1.6;
  color: var(--fg-dim); font-style: italic;
}
.demo-visual-copy em { color: var(--brand); font-style: normal; }
.demo-modal--split .demo-body { padding: 36px 32px 32px; }
.demo-footnote {
  margin-top: 14px; text-align: center; font-size: 10px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--fg-dimmer);
}
@media (max-width: 760px) {
  .demo-modal--split { grid-template-columns: 1fr; max-width: 480px; }
  .demo-visual { display: none; }
  .demo-modal--split .demo-body { padding: 36px 28px 28px; }
}

/* ============ CONTACT PAGE — cinematic request access ============ */
.contact-page { overflow-x: clip; }
.contact-hero { min-height: 78vh; display: flex; align-items: center; padding-bottom: 48px; }
.contact-hero .ph-bg { overflow: hidden; }
.ct-watermark {
  position: absolute; top: 38%; left: 55%; transform: translate(-50%, -50%);
  font-family: 'Instrument Serif', serif; font-style: italic;
  font-size: clamp(140px, 26vw, 380px); line-height: 1; letter-spacing: -0.04em;
  color: var(--brand); opacity: 0.05; pointer-events: none; white-space: nowrap;
}
.ct-orbit {
  position: absolute; border-radius: 50%; pointer-events: none;
  border: 1px solid rgba(201, 123, 74,0.14);
}
.ct-orbit-1 { width: 420px; height: 420px; top: 8%; right: -6%; opacity: 0.45; animation: ctOrbitSpin 60s linear infinite; }
.ct-orbit-2 { width: 280px; height: 280px; bottom: 12%; left: 4%; opacity: 0.35; animation: ctOrbitSpin 45s linear infinite reverse; }
@keyframes ctOrbitSpin { to { transform: rotate(360deg); } }
.contact-hero-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
  position: relative; z-index: 2;
}
.contact-hero-grid .ph-copy { max-width: 540px; }
.ct-hero-kicker {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px;
  font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--brand);
  padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-strong);
  background: rgba(20,20,20,0.5); backdrop-filter: blur(10px);
}
.ct-hero-kicker .pulse {
  width: 6px; height: 6px; border-radius: 50%; background: var(--gain);
  box-shadow: 0 0 12px var(--gain); animation: liveDot 1.6s infinite;
}
@keyframes liveDot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(74,222,128,0.5); }
  50% { box-shadow: 0 0 0 6px rgba(74,222,128,0); }
}
.ct-trust-row {
  display: flex; flex-wrap: wrap; gap: 20px; margin-top: 28px;
}
.ct-trust-item { display: flex; flex-direction: column; gap: 4px; }
.ct-trust-item .k { font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-dim); }
.ct-trust-item .v { font-family: 'JetBrains Mono', monospace; font-size: 18px; font-weight: 600; color: var(--brand); }
.ct-showcase { position: relative; min-height: 380px; }
.ct-showcase-screen {
  position: relative; z-index: 2; border-radius: var(--r-xl); overflow: hidden;
  border: 1px solid var(--line-strong); background: var(--bg-card);
  box-shadow: 0 32px 80px -24px rgba(0,0,0,0.75);
}
.ct-showcase-bar {
  display: flex; align-items: center; gap: 6px; padding: 12px 14px;
  background: var(--bg-soft); border-bottom: 1px solid var(--line);
}
.ct-showcase-bar span { width: 9px; height: 9px; border-radius: 50%; }
.ct-showcase-bar .r { background: #f87171; } .ct-showcase-bar .y { background: #ffd400; } .ct-showcase-bar .g { background: var(--gain); }
.ct-showcase-bar .lbl {
  margin-left: 10px; font-family: 'JetBrains Mono', monospace; font-size: 10px;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-dim);
}
.ct-showcase-shot {
  display: block; width: 100%; height: auto; vertical-align: top;
}
.ct-mock {
  position: relative; z-index: 2; border-radius: var(--r-xl); overflow: hidden;
  border: 1px solid var(--line-strong); background: var(--bg-card);
  box-shadow: 0 40px 100px -30px rgba(0,0,0,0.85);
  transform: perspective(1200px) rotateY(-8deg) rotateX(5deg);
  animation: none;
}
.ct-mock-bar {
  display: flex; align-items: center; gap: 6px; padding: 12px 14px;
  background: var(--bg-soft); border-bottom: 1px solid var(--line);
}
.ct-mock-bar span { width: 9px; height: 9px; border-radius: 50%; }
.ct-mock-bar .r { background: #f87171; } .ct-mock-bar .y { background: #ffd400; } .ct-mock-bar .g { background: var(--gain); }
.ct-mock-bar .lbl {
  margin-left: 10px; font-family: 'JetBrains Mono', monospace; font-size: 10px;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-dim);
}
.ct-mock-body { padding: 16px; }
.ct-tick-row {
  display: grid; grid-template-columns: 1.2fr 0.8fr 0.6fr; gap: 8px; align-items: center;
  padding: 9px 10px; border-radius: 8px; margin-bottom: 6px;
  font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--fg-dim);
  transition: background 0.35s, color 0.35s;
}
.ct-tick-row.is-flash { background: var(--brand-soft); color: var(--fg); }
.ct-tick-row .up { color: var(--gain); } .ct-tick-row .dn { color: var(--loss); }
.ct-mock-chart {
  margin-top: 12px; height: 64px; border-radius: 8px;
  background: linear-gradient(180deg, var(--brand-soft), transparent);
  position: relative; overflow: hidden;
}
.ct-mock-chart svg { position: absolute; inset: 8px 8px 0; width: calc(100% - 16px); height: calc(100% - 8px); color: var(--brand); }
.ct-float-badge {
  position: absolute; z-index: 3; padding: 12px 16px; border-radius: var(--r-md);
  background: rgba(20,20,20,0.85); border: 1px solid var(--brand-soft-strong);
  backdrop-filter: blur(12px); box-shadow: 0 16px 40px -12px rgba(0,0,0,0.6);
  animation: none;
}
.ct-float-badge--tl { top: -12px; left: -16px; }
.ct-float-badge--br { bottom: 24px; right: -20px; }
.ct-float-badge .k { font-size: 9px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-dim); }
.ct-float-badge .v { font-family: 'JetBrains Mono', monospace; font-size: 15px; font-weight: 600; color: var(--brand); margin-top: 4px; }
.ct-marquee {
  overflow: hidden; border-block: 1px solid var(--line);
  padding: 16px 0; background: var(--bg-soft);
}
.ct-marquee-track {
  display: flex; gap: 48px; width: max-content;
  animation: abMarquee 32s linear infinite;
}
.ct-marquee-track span {
  font-family: 'JetBrains Mono', monospace; font-size: 11px;
  letter-spacing: 0.24em; text-transform: uppercase; color: var(--fg-dim); white-space: nowrap;
}
.ct-aside { position: sticky; top: 100px; }
.ct-aside-title {
  font-size: clamp(22px, 3vw, 32px); font-weight: 700; letter-spacing: -0.03em;
  line-height: 1.1; margin-bottom: 12px;
}
.ct-aside-title .serif { color: var(--brand); font-weight: 400; }
.ct-aside-lede { color: var(--fg-dim); font-size: 14px; line-height: 1.7; margin-bottom: 28px; }
.ct-steps { list-style: none; margin: 0 0 32px; padding: 0; counter-reset: ctstep; }
.ct-steps li {
  position: relative; padding: 0 0 24px 44px; counter-increment: ctstep;
  border-left: 1px solid var(--line-strong); margin-left: 14px;
}
.ct-steps li:last-child { padding-bottom: 0; border-left-color: transparent; }
.ct-steps li::before {
  content: counter(ctstep, decimal-leading-zero);
  position: absolute; left: -14px; top: 0;
  width: 28px; height: 28px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'JetBrains Mono', monospace; font-size: 10px; font-weight: 600;
  background: var(--bg-card); border: 1px solid var(--line-strong); color: var(--brand);
}
.ct-steps li h4 { font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.ct-steps li p { font-size: 12.5px; color: var(--fg-dim); line-height: 1.6; }
.ct-form-success { text-align: center; padding: 32px 12px; }
.ct-form-success .check {
  width: 56px; height: 56px; margin: 0 auto 18px; border-radius: 50%;
  background: var(--gain-soft); border: 1px solid rgba(74,222,128,0.3);
  display: flex; align-items: center; justify-content: center; color: var(--gain);
  animation: demoPop 0.5s cubic-bezier(0.2,1.4,0.4,1);
}
.ct-form-success .check svg { width: 28px; height: 28px; }
.ct-form-success h3 { font-size: 22px; font-weight: 700; margin-bottom: 10px; }
.ct-form-success h3 .serif { color: var(--brand); font-weight: 400; }
.ct-form-success p { color: var(--fg-dim); font-size: 14px; line-height: 1.65; max-width: 320px; margin: 0 auto; }
.ct-form-error {
  margin: 0 0 16px;
  padding: 12px 14px;
  border-radius: var(--r-sm);
  border: 1px solid rgba(217, 119, 87, 0.35);
  background: var(--loss-soft);
  color: var(--fg);
  font-size: 13px;
  line-height: 1.55;
}
.contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.contact-form .form-row .form-group { margin-bottom: 0; }
.contact-form .form-row + .form-group { margin-top: 18px; }
@media (max-width: 960px) {
  .contact-hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .ct-showcase { min-height: 300px; max-width: 420px; margin: 0 auto; }
  .ct-aside { position: static; }
}
@media (max-width: 560px) {
  .contact-hero { min-height: auto; padding-top: 120px; }
  .ct-float-badge--br { right: 0; }
  .ct-trust-row { gap: 14px; }
}

/* ============ reveal animation hooks ============ */
.rv { opacity: 0; transform: translateY(28px); transition: opacity 0.7s cubic-bezier(0.2,0.7,0.2,1), transform 0.7s cubic-bezier(0.2,0.7,0.2,1); }
.rv.in { opacity: 1; transform: none; }
.rv-stagger > * { opacity: 0; transform: translateY(28px); transition: opacity 0.6s ease, transform 0.6s ease; }
.rv-stagger.in > * { opacity: 1; transform: none; }
.rv-stagger.in > *:nth-child(1) { transition-delay: 0.04s; }
.rv-stagger.in > *:nth-child(2) { transition-delay: 0.10s; }
.rv-stagger.in > *:nth-child(3) { transition-delay: 0.16s; }
.rv-stagger.in > *:nth-child(4) { transition-delay: 0.22s; }
.rv-stagger.in > *:nth-child(5) { transition-delay: 0.28s; }
.rv-stagger.in > *:nth-child(6) { transition-delay: 0.34s; }
.rv-stagger.in > *:nth-child(7) { transition-delay: 0.40s; }
.rv-stagger.in > *:nth-child(8) { transition-delay: 0.46s; }
.rv-stagger.in > *:nth-child(9) { transition-delay: 0.52s; }

/* ============ responsive ============ */
@media (max-width: 980px) {
  .ph { padding: 124px 0 70px; }
  .ph-inner { grid-template-columns: 1fr; gap: 48px; }
  .ph-device { order: 2; }
  .ph-lede { max-width: none; }
  .pf-grid { grid-template-columns: 1fr 1fr; }
  .hw-steps { grid-template-columns: 1fr; gap: 36px; }
  .hw-arrow { display: none !important; }
  .pr-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .hw-card { padding: 48px 32px; }
}
@media (max-width: 600px) {
  .sec { padding: 80px 0; }
  .pf-grid { grid-template-columns: 1fr; }
  .ph-meta { gap: 24px; }
  .dev-badge { display: none; }
  .fc { padding: 56px 28px; margin-bottom: 64px; }
}
@media (prefers-reduced-motion: reduce) {
  .rv, .rv-stagger > * { opacity: 1 !important; transform: none !important; transition: none !important; }
  .proof-track { animation: none; }
  .dev-badge { animation: none !important; }
  .fx.js-on .fx-item.active .fx-bar b { animation: none !important; }
  .fx.js-on .fx-feature { transition: opacity 0.2s; }
}
