/* ============================================================
   PEEP — Solana social trading broadcast app · landing
   Brand: Chick Studio brandbook · accent = iPhone orange
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Anton&family=Oswald:wght@400;500;600;700&family=Geist:wght@300;400;500;600;700&family=Inter:wght@400;500;600&display=swap');

:root {
  /* ink + paper */
  --ink: #0B0B0B;
  --ink-2: #1A1A1E;
  --paper: #F1F0F4;        /* anti-flash white */
  --paper-2: #FDFDFD;
  --line: #E4E2EA;

  /* accents */
  --orange: #FF6A00;       /* Peep orange (iPhone orange energy) */
  --orange-2: #FF9500;
  --orange-ink: #1A0E00;
  --accent-ink: #1A0E00;   /* text on accent fills (overridden by tweaks) */
  --violet: #6B34FF;
  --cyan: #0BA4C3;
  --rose: #FF00A9;
  --green: #19C37D;        /* gains */
  --red:  #FF4D4D;         /* losses */

  /* semantic (overridden by tweaks) */
  --accent: var(--orange);
  --accent-2: var(--orange-2);

  --display: 'Anton', 'Oswald', 'Arial Narrow', sans-serif;
  --head: 'Oswald', 'Arial Narrow', sans-serif;
  --ui: 'Geist', 'Inter', system-ui, sans-serif;

  --maxw: 1240px;
  --pad: clamp(20px, 5vw, 72px);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--ui);
  background: var(--paper);
  color: var(--ink);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
::selection { background: var(--accent); color: #fff; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--pad); }

/* ---------- display type ---------- */
.kicker {
  font-family: var(--head);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: clamp(11px, 1.1vw, 13px);
}
.mega {
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
  line-height: .86;
  letter-spacing: -.01em;
  margin: 0;
}
h2.sec {
  font-family: var(--display);
  text-transform: uppercase;
  line-height: .9;
  letter-spacing: -.005em;
  font-size: clamp(40px, 7vw, 104px);
  margin: 0;
}
.head {
  font-family: var(--head);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: .005em;
}
.accent { color: var(--accent); }

/* ============================================================
   PEEPER mascot (built so the eye can blink)
   ============================================================ */
.peeper { display: inline-block; color: var(--ink); }
.peeper svg { width: 100%; height: 100%; overflow: visible; }
.peeper .eye {
  transform-box: fill-box;
  transform-origin: 50% 100%;
  transform: scaleY(1);
  transition: transform .09s ease;
}
.peeper.blink .eye { transform: scaleY(.08); }

/* ---------- living background field ---------- */
.peep-field {
  position: absolute;
  inset: -8% -4% -8% -4%;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
/* grid mode reads as an intentional watermark, not clutter:
   fainter, and vignetted so the content column stays clean */
.peep-field.is-grid {
  -webkit-mask-image: radial-gradient(120% 90% at 50% 45%, transparent 0%, transparent 34%, #000 78%);
  mask-image: radial-gradient(120% 90% at 50% 45%, transparent 0%, transparent 34%, #000 78%);
}
.peep-field .pf {
  position: absolute;
  will-change: transform;
  animation: pfDrift var(--dur, 14s) ease-in-out var(--delay, 0s) infinite alternate;
}
@keyframes pfDrift {
  from { transform: translate(0,0) rotate(var(--rot,0deg)); }
  to   { transform: translate(var(--dx,8px), var(--dy,-14px)) rotate(var(--rot2,0deg)); }
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px var(--pad);
  transition: background .3s ease, box-shadow .3s ease, padding .3s ease;
}
.nav.scrolled {
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: 0 1px 0 var(--line);
  padding-block: 12px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand .mark { width: 30px; height: 30px; color: var(--ink); }
.brand .word { width: 78px; color: var(--ink); }
.nav-cta {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--head); font-weight: 600; text-transform: uppercase;
  letter-spacing: .04em; font-size: 14px;
  background: var(--ink); color: #fff;
  padding: 11px 20px; border-radius: 999px;
  border: 1.5px solid var(--ink);
  transition: transform .18s cubic-bezier(.34,1.56,.64,1), background .2s;
}
.nav-cta:hover { transform: translateY(-2px); background: var(--accent); border-color: var(--accent); }
.nav-cta .dot { width: 8px; height: 8px; border-radius: 999px; background: var(--accent); box-shadow: 0 0 0 0 var(--accent); animation: liveDot 1.6s infinite; }
.nav.scrolled .nav-cta:hover .dot, .nav-cta:hover .dot { background:#fff; }
@keyframes liveDot { 0%{box-shadow:0 0 0 0 color-mix(in srgb,var(--accent) 70%,transparent);} 70%{box-shadow:0 0 0 7px transparent;} 100%{box-shadow:0 0 0 0 transparent;} }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  padding-top: 110px; padding-bottom: 40px;
  overflow: hidden;
}
.hero-glow {
  position: absolute; z-index: 1; pointer-events: none;
  right: -6%; top: 38%; width: 720px; height: 720px;
  transform: translateY(-50%);
  background: radial-gradient(circle, color-mix(in srgb,var(--accent) 38%, transparent), transparent 62%);
  filter: blur(10px);
}
.hero .wrap { position: relative; z-index: 2; width: 100%;
  display: grid; grid-template-columns: 1.08fr .92fr; gap: 48px; align-items: center; }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px; white-space: nowrap;
  background: var(--paper-2); border: 1.5px solid var(--line);
  padding: 7px 14px 7px 10px; border-radius: 999px;
  font-family: var(--head); font-weight: 600; text-transform: uppercase; letter-spacing: .12em;
  font-size: 12px; color: var(--ink);
  box-shadow: 0 1px 3px rgba(11,11,11,.04);
}
.hero-eyebrow .sol { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 12px; }
.hero h1 { font-size: clamp(56px, 9vw, 122px); line-height: .9; margin: 24px 0 0; }
.hero h1 .ln { display: block; }
.hero .sub {
  margin: 40px 0 0; max-width: 33ch;
  font-size: clamp(16px, 1.35vw, 19px); line-height: 1.5; color: #46454C; font-weight: 400;
}
.hero .sub b { color: var(--ink); font-weight: 600; }

.hero-actions { display: flex; align-items: center; gap: 22px; margin-top: 34px; flex-wrap: wrap; }
.stores { display: flex; gap: 12px; }
.store-badge {
  display: inline-flex; align-items: center; gap: 11px;
  background: var(--ink); color: #fff; border-radius: 14px; padding: 9px 18px 11px 15px;
  transition: transform .18s cubic-bezier(.34,1.56,.64,1);
}
.store-badge:hover { transform: translateY(-3px) rotate(-1deg); }
.store-badge svg { width: 24px; height: 24px; }
.store-badge .st { display: flex; flex-direction: column; line-height: 1.14; }
.store-badge .st small { font-size: 9px; opacity: .7; text-transform: uppercase; letter-spacing: .08em; white-space: nowrap; }
.store-badge .st span { font-family: var(--head); font-weight: 600; font-size: 16px; white-space: nowrap; }

/* QR card */
.qr-card {
  display: flex; align-items: center; gap: 14px;
  background: var(--paper-2); border: 1.5px solid var(--line);
  border-radius: 18px; padding: 12px 16px 12px 12px;
  box-shadow: 0 8px 24px rgba(11,11,11,.06);
}
.qr-card .qr { width: 74px; height: 74px; border-radius: 10px; }
.qr-card .qr-cap { font-size: 12.5px; line-height: 1.35; color: #46454C; max-width: 13ch; }
.qr-card .qr-cap b { display:block; font-family: var(--head); font-weight: 700; text-transform: uppercase; color: var(--ink); letter-spacing:.02em; font-size: 13px; margin-bottom: 2px; }

.hero-proof { margin-top: 30px; display: flex; align-items: center; gap: 14px; color:#6B6A72; font-size: 13.5px; }
.avstack { display: flex; }
.avstack .av { width: 30px; height: 30px; border-radius: 999px; border: 2px solid var(--paper); margin-left: -9px; display:grid; place-items:center; }
.avstack .av:first-child { margin-left: 0; }

/* ---------- hero phone column ---------- */
.hero-phone { position: relative; display: flex; justify-content: center; }
.hero-phone .float-peep { position: absolute; z-index: 4; }

/* ============================================================
   PHONE MOCKUP
   ============================================================ */
.phone {
  position: relative; width: 322px; height: 668px; flex: none;
  background: #0b0b0b; border-radius: 52px;
  padding: 11px;
  box-shadow: 0 2px 2px rgba(11,11,11,.4) inset, 0 40px 80px -28px rgba(11,11,11,.55), 0 0 0 2px #000;
}
.phone.tilt { transform: rotate(2.2deg); }
.phone .screen {
  position: relative; width: 100%; height: 100%;
  background: #0E0E12; border-radius: 42px; overflow: hidden;
  display: flex; flex-direction: column;
}
.phone .island {
  position: absolute; top: 11px; left: 50%; transform: translateX(-50%);
  width: 104px; height: 30px; background: #000; border-radius: 999px; z-index: 20;
}
.phone .statusbar { display: flex; justify-content: space-between; align-items: center; padding: 15px 26px 8px; color:#fff; font-size: 14px; font-weight: 600; }
.phone .statusbar .t { font-variant-numeric: tabular-nums; letter-spacing: .01em; }
.phone .statusbar .sigs { display:flex; gap:6px; align-items:center; color:#fff; }
.phone .statusbar .sigs svg { display:block; }
.phone .statusbar .batt { display:inline-flex; align-items:center; gap:1px; }
.phone .statusbar .batt-body { width:20px; height:11px; border:1.4px solid rgba(255,255,255,.55); border-radius:3px; padding:1.4px; display:block; }
.phone .statusbar .batt-fill { display:block; width:100%; height:100%; background:#fff; border-radius:1px; }
.phone .statusbar .batt-cap { width:1.6px; height:4px; background:rgba(255,255,255,.55); border-radius:0 1px 1px 0; }

/* app chrome */
.app { flex: 1; display: flex; flex-direction: column; min-height: 0; color: #fff; }
.app-top { display:flex; align-items:center; justify-content: space-between; padding: 6px 16px 10px; }
.app-top .aw { width: 58px; color: #fff; }
.app-bal { display:inline-flex; align-items:center; gap:7px; background:#17171D; border:1px solid #25252E; padding:6px 11px; border-radius:999px; font-size:13px; font-weight:600; }
.app-bal .sol { width:15px;height:15px;border-radius:999px;background:linear-gradient(135deg,#9945FF,#14F195); }
.app-tabs { display:flex; gap:18px; padding: 4px 16px 12px; border-bottom:1px solid #1C1C24; }
.app-tabs span { font-family:var(--head); font-weight:600; text-transform:uppercase; letter-spacing:.04em; font-size:13px; color:#5A5A66; padding-bottom:8px; position:relative; }
.app-tabs span.on { color:#fff; }
.app-tabs span.on::after { content:''; position:absolute; left:0; right:0; bottom:-1px; height:2px; background:var(--accent); border-radius:2px; }

.feed { flex:1; overflow:hidden; padding: 10px 12px; display:flex; flex-direction:column; gap:10px; position: relative;
  -webkit-mask: linear-gradient(180deg, transparent 0, #000 7%, #000 90%, transparent 100%);
          mask: linear-gradient(180deg, transparent 0, #000 7%, #000 90%, transparent 100%); }
.feed-track { display:flex; flex-direction:column; gap:10px; will-change: transform; animation: feedScroll 19s linear infinite; }
.feed:hover .feed-track { animation-play-state: paused; }
@keyframes feedScroll { from { transform: translateY(0); } to { transform: translateY(-50%); } }
body.no-motion .feed-track { animation: none; }
.tcard { background:#15151B; border:1px solid #21212B; border-radius:16px; padding:11px 12px; }
.tcard .row1 { display:flex; align-items:center; gap:8px; }
.tcard .av { width:30px; height:30px; border-radius:999px; flex:none; display:grid; place-items:center; }
.tcard .who { display:flex; flex-direction:column; line-height:1.15; min-width:0; }
.tcard .who b { font-size:13px; font-weight:600; }
.tcard .who small { font-size:11px; color:#7A7A86; }
.tcard .live { margin-left:auto; font-size:9.5px; font-weight:700; text-transform:uppercase; letter-spacing:.06em; color:var(--accent); display:flex; align-items:center; gap:4px; }
.tcard .live i { width:6px;height:6px;border-radius:999px;background:var(--accent); animation: liveDot 1.4s infinite; }
.tcard .act { margin:9px 0 0; font-size:13px; color:#C9C7CF; line-height:1.35; }
.tcard .act .tk { color:#fff; font-weight:600; }
.tcard .row2 { display:flex; align-items:center; gap:8px; margin-top:10px; }
.pnl { font-size:12px; font-weight:700; padding:3px 8px; border-radius:8px; }
.pnl.up { color:#14F195; background:rgba(20,241,149,.12); }
.pnl.down { color:#FF6B6B; background:rgba(255,107,107,.12); }
.spark { flex:1; height:24px; }
.copybtn { margin-left:auto; font-family:var(--head); font-weight:600; text-transform:uppercase; letter-spacing:.04em; font-size:12px; background:var(--accent); color:var(--accent-ink); padding:6px 13px; border-radius:999px; }

.app-bottom { display:flex; align-items:center; justify-content:space-around; padding:10px 14px 16px; border-top:1px solid #1C1C24; background:#0c0c10; }
.app-bottom .ti { width:22px; height:22px; color:#54545E; }
.app-bottom .ti.on { color:#fff; }
.app-bottom .trade { width:46px;height:46px;border-radius:16px;background:var(--accent); display:grid;place-items:center; color:var(--accent-ink); box-shadow:0 8px 20px -6px color-mix(in srgb,var(--accent) 80%, transparent); }
.app-bottom .trade svg{width:22px;height:22px;}

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee { background: var(--ink); color:#fff; overflow:hidden; padding: 18px 0; border-block: 2px solid var(--ink); }
.marquee .track { display:flex; gap:38px; width:max-content; animation: mq 26s linear infinite; }
.marquee .track span { font-family:var(--display); text-transform:uppercase; font-size: clamp(26px,3.6vw,46px); letter-spacing:.01em; display:flex; align-items:center; gap:38px; white-space:nowrap; }
.marquee .track .o { color: var(--accent); }
.marquee .track .pk { width: 30px; height: 30px; color:#fff; }
@keyframes mq { to { transform: translateX(-50%); } }

/* ============================================================
   SECTIONS
   ============================================================ */
section { position: relative; }

/* ---------- scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.steps .reveal:nth-child(2) { transition-delay: .09s; }
.steps .reveal:nth-child(3) { transition-delay: .18s; }
.bento .reveal:nth-child(2) { transition-delay: .06s; }
.bento .reveal:nth-child(3) { transition-delay: .12s; }
.bento .reveal:nth-child(4) { transition-delay: .18s; }
.bento .reveal:nth-child(5) { transition-delay: .24s; }
.stats-row .reveal:nth-child(2) { transition-delay: .07s; }
.stats-row .reveal:nth-child(3) { transition-delay: .14s; }
.stats-row .reveal:nth-child(4) { transition-delay: .21s; }
.board-list .reveal:nth-child(2) { transition-delay: .05s; }
.board-list .reveal:nth-child(3) { transition-delay: .10s; }
.board-list .reveal:nth-child(4) { transition-delay: .15s; }
.board-list .reveal:nth-child(5) { transition-delay: .20s; }

/* ---------- pupil tracking ---------- */
.pup { transition: transform .14s ease-out; }
body.no-motion .pup { transform: none !important; transition: none; }

/* ---------- live price ticker ---------- */
.ticker { background: var(--ink); color: #fff; overflow: hidden; padding: 13px 0; }
.ticker .track { display: flex; width: max-content; animation: mq 42s linear infinite; }
.ticker .chip { display: inline-flex; align-items: center; gap: 9px; padding: 0 24px; border-right: 1px solid #1E1E26; white-space: nowrap; font-size: 15px; }
.ticker .sym { font-family: var(--head); font-weight: 600; letter-spacing: .03em; }
.ticker .pc { color: #8A8A92; font-variant-numeric: tabular-nums; font-size: 13.5px; }
.ticker .ch { font-weight: 600; font-size: 13px; font-variant-numeric: tabular-nums; }
.ticker .ch.up { color: #14F195; }
.ticker .ch.down { color: #FF6B6B; }
body.no-motion .ticker .track { animation: none; }
.ticker { position: relative; }
.ticker-live { position: absolute; left: 0; top: 0; bottom: 0; z-index: 3; display: flex; align-items: center; gap: 9px; padding: 0 22px 0 var(--pad); background: var(--ink); color: #fff; font-family: var(--head); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: 12px; white-space: nowrap; box-shadow: 18px 0 22px -8px var(--ink); }
.ticker-live i { width: 8px; height: 8px; border-radius: 999px; background: var(--accent); animation: liveDot 1.4s infinite; }
.sec-pad { padding: clamp(72px,10vw,140px) 0; }
.sec-head { max-width: 760px; }
.sec-head .kicker { color: var(--accent); }
.sec-head p { font-size: clamp(16px,1.4vw,19px); line-height:1.55; color:#46454C; margin: 18px 0 0; max-width: 56ch; }

/* how it works */
.steps { display:grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 56px; }
.step {
  position: relative; background: var(--paper-2); border:1.5px solid var(--line);
  border-radius: var(--radius); padding: 26px 24px 24px; overflow:hidden;
  transition: transform .25s cubic-bezier(.34,1.56,.64,1), box-shadow .25s;
}
.step:hover { transform: translateY(-6px); box-shadow: 0 24px 50px -28px rgba(11,11,11,.3); }
.step .n { font-family:var(--display); font-size: 64px; line-height:1; color: var(--line); position:absolute; top:14px; right:20px; }
.step .pic { width:64px; height:64px; margin-bottom: 18px; }
.step h3 { font-family:var(--head); text-transform:uppercase; font-weight:700; font-size: 22px; margin: 0 0 8px; letter-spacing:.01em; }
.step p { margin:0; color:#56555C; font-size: 15px; line-height:1.5; }

/* features bento */
.bento { display:grid; grid-template-columns: repeat(12,1fr); gap: 18px; margin-top: 56px; grid-auto-rows: minmax(0,auto); }
.card {
  background: var(--paper-2); border:1.5px solid var(--line); border-radius: var(--radius);
  padding: 28px; overflow:hidden; position:relative; min-height: 230px;
  display:flex; flex-direction:column;
  transition: transform .25s cubic-bezier(.34,1.56,.64,1), box-shadow .25s, border-color .25s;
}
.card:hover { transform: translateY(-5px); box-shadow: 0 24px 50px -30px rgba(11,11,11,.34); }
.card h3 { font-family:var(--head); text-transform:uppercase; font-weight:700; font-size: clamp(22px,2vw,30px); margin:0 0 10px; line-height:1.02; letter-spacing:.005em; }
.card p { margin:0; color:#56555C; font-size:15px; line-height:1.5; max-width: 40ch; }
.card .tag { font-family:var(--head); font-weight:600; text-transform:uppercase; letter-spacing:.1em; font-size:11px; color:var(--accent); margin-bottom: 14px; }
.card.dark { background: var(--ink); border-color: var(--ink); color:#fff; }
.card.dark p { color:#A9A9B0; }
.card.accent-fill { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.card.accent-fill p { color: color-mix(in srgb, var(--accent-ink) 78%, transparent); }
.c-6 { grid-column: span 6; } .c-4 { grid-column: span 4; } .c-8 { grid-column: span 8; }
.c-5 { grid-column: span 5; } .c-7 { grid-column: span 7; }
.spotw { position:absolute; pointer-events:none; }

/* dark broadcast section */
.broadcast { background: var(--ink); color:#fff; overflow:hidden; }
.broadcast .peep-field .pf { color: #17171D; }
.broadcast .wrap { position:relative; z-index:2; display:grid; grid-template-columns: .95fr 1.05fr; gap: 48px; align-items:center; }
.broadcast h2.sec { color:#fff; }
.broadcast .sec-head p { color:#A9A9B0; margin-top: 52px; }
.broadcast .blist { margin-top: 30px; display:flex; flex-direction:column; gap: 16px; }
.broadcast .bi { display:flex; gap:14px; align-items:flex-start; }
.broadcast .bi .bx { width:40px;height:40px;border-radius:12px; background:#17171D; border:1px solid #262630; display:grid; place-items:center; flex:none; color:var(--accent); }
.broadcast .bi b { font-family:var(--head); text-transform:uppercase; font-weight:700; letter-spacing:.02em; font-size:16px; }
.broadcast .bi span { display:block; color:#9A9AA2; font-size:14px; margin-top:3px; line-height:1.45; }
.broadcast .phone-wrap { display:flex; justify-content:center; position:relative; }

/* surveillance banner (real brand art: the wall of watching eyes) */
.watch { position: relative; overflow: hidden; padding: clamp(96px, 13vw, 170px) 0; background: #0a0814; }
.watch-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center right; }
.watch-scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(9,7,20,.96) 0%, rgba(9,7,20,.84) 34%, rgba(9,7,20,.46) 62%, rgba(9,7,20,.4) 80%, rgba(9,7,20,.62) 100%); }
.watch-c { position: relative; z-index: 2; color: #fff; }
.watch .kicker { color: var(--accent); }
.watch h2.sec { color: #fff; margin-top: 18px; }
.watch p { color: #C9C7CF; max-width: 44ch; margin-top: 26px; font-size: clamp(16px,1.4vw,19px); line-height: 1.55; }
.watch .eyebrow-row { display:flex; align-items:center; gap:10px; margin-top:30px; flex-wrap:wrap; }
.watch .eyebrow-row .pill { display:inline-flex; align-items:center; gap:8px; background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.18); padding:8px 14px; border-radius:999px; color:#fff; font-family:var(--head); font-weight:600; text-transform:uppercase; letter-spacing:.06em; font-size:12px; }

/* community "den" band (real brand art: the cyberpunk hangout) */
.den { position: relative; overflow: hidden; padding: clamp(96px, 13vw, 168px) 0; background: #0a0814; text-align: center; }
.den-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.den-scrim { position: absolute; inset: 0; background: linear-gradient(rgba(8,6,16,.84), rgba(8,6,16,.9)); }
.den-c { position: relative; z-index: 2; color: #fff; }
.den-c h2.sec { color: #fff; margin-top: 16px; }
.den-c p { color: #C9C7CF; max-width: 46ch; margin: 22px auto 0; font-size: clamp(16px,1.4vw,19px); line-height: 1.55; }
.den-socials { display: flex; gap: 14px; justify-content: center; margin-top: 38px; flex-wrap: wrap; }
.den-socials a { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.2); color: #fff; padding: 14px 24px; border-radius: 14px; font-family: var(--head); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; font-size: 15px; transition: transform .18s cubic-bezier(.34,1.56,.64,1), background .2s, color .2s, border-color .2s; }
.den-socials a:hover { transform: translateY(-3px); background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.den-socials a svg { width: 20px; height: 20px; }

/* ---------- stats band ---------- */
.stats { background: var(--paper); padding: clamp(44px,6vw,76px) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats-row { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.stat { text-align: center; position: relative; }
.stat + .stat::before { content: ''; position: absolute; left: -12px; top: 50%; transform: translateY(-50%); height: 52px; width: 1px; background: var(--line); }
.stat b { display: block; font-family: var(--display); font-size: clamp(38px,5vw,66px); line-height: .88; letter-spacing: -.01em; color: var(--ink); }
.stat.hl b { color: var(--accent); }
.stat span { display: block; margin-top: 12px; color: #6B6A72; font-size: 13px; font-family: var(--head); text-transform: uppercase; letter-spacing: .07em; font-weight: 600; }

/* ---------- leaderboard ---------- */
.board { background: var(--paper); }
.board-list { margin-top: 50px; display: flex; flex-direction: column; gap: 10px; }
.brow { display: grid; grid-template-columns: 42px 1.7fr 0.85fr 1.25fr auto; align-items: center; gap: 20px; background: var(--paper-2); border: 1.5px solid var(--line); border-radius: 16px; padding: 14px 22px; transition: transform .2s cubic-bezier(.34,1.56,.64,1), box-shadow .22s, border-color .2s; }
.brow:hover { transform: translateX(5px); box-shadow: 0 16px 38px -24px rgba(11,11,11,.34); border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); }
.brow .rank { font-family: var(--display); font-size: 30px; color: var(--line); line-height: 1; }
.brow.top .rank { color: var(--accent); }
.brow .trader { display: flex; align-items: center; gap: 13px; min-width: 0; }
.brow .trader .av { width: 42px; height: 42px; border-radius: 999px; display: grid; place-items: center; flex: none; }
.brow .trader .nm { min-width: 0; }
.brow .trader b { display: block; font-size: 16px; font-weight: 600; letter-spacing: -.01em; }
.brow .trader small { display: block; color: #91919A; font-size: 12.5px; margin-top: 1px; }
.brow .metric { display: flex; flex-direction: column; gap: 3px; }
.brow .metric .lab { font-size: 10.5px; font-family: var(--head); text-transform: uppercase; letter-spacing: .08em; color: #A8A8B0; font-weight: 600; }
.brow .metric .val { font-size: 16px; font-weight: 600; font-variant-numeric: tabular-nums; }
.brow .pnlcell { display: flex; align-items: center; gap: 12px; }
.brow .pnlcell .spark { width: 76px; height: 26px; flex: none; }
.brow .pnlcell .pnl { font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; }
.brow .pnlcell .pnl.up { color: #0EA86B; }
.brow .copybtn { color: var(--accent-ink); }
@media (max-width: 860px) {
  .brow { grid-template-columns: 32px 1.4fr auto; gap: 12px; }
  .brow .metric.wr, .brow .pnlcell .spark { display: none; }
}

/* ---------- soft-shell dream ---------- */
.dream { background: var(--paper); overflow: hidden; }
.dream-grid { display: grid; grid-template-columns: 1fr 1.12fr; gap: clamp(32px,5vw,64px); align-items: center; }
.dream-copy .kicker { color: var(--accent); }
.dream-copy h2.sec { margin-top: 16px; font-size: clamp(34px, 4.6vw, 60px); line-height: 1; }
.dream-copy p { color: #56555C; font-size: clamp(16px,1.4vw,19px); line-height: 1.55; margin-top: 32px; max-width: 42ch; }
.dream-img { position: relative; }
.dream-img .tagpill { position: absolute; left: 18px; bottom: 18px; background: rgba(255,255,255,.92); backdrop-filter: blur(6px); border-radius: 999px; padding: 9px 16px; font-family: var(--head); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; font-size: 13px; color: var(--ink); box-shadow: 0 6px 18px rgba(11,11,11,.12); z-index: 5; }

/* on-brand celebratory scene (replaces the stock image) */
.dream-scene {
  position: relative; width: 100%; aspect-ratio: 16 / 11; overflow: hidden;
  border-radius: 24px; border: 1.5px solid var(--line);
  background:
    radial-gradient(120% 120% at 72% 8%, color-mix(in srgb, var(--accent) 26%, transparent), transparent 58%),
    linear-gradient(165deg, color-mix(in srgb, var(--accent) 12%, #fff) 0%, #FFF6EF 48%, #FDFDFD 100%);
  box-shadow: 0 30px 60px -34px rgba(11,11,11,.35);
}
.dream-scene .ds-chart { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 62%; }
.dream-scene .ds-area { transform-box: view-box; }
.dream-scene .ds-line { stroke-dasharray: 460; stroke-dashoffset: 460; }
body.loaded .dream-img.in .ds-line { animation: dsDraw 1.5s .15s cubic-bezier(.65,0,.35,1) forwards; }
@keyframes dsDraw { to { stroke-dashoffset: 0; } }

.dream-scene .ds-peeper {
  position: absolute; left: 49%; bottom: 7%; width: 39%; transform: translateX(-50%);
  color: var(--ink); z-index: 3; filter: drop-shadow(0 16px 26px rgba(11,11,11,.22));
  animation: dsBob 4.2s ease-in-out infinite;
}
@keyframes dsBob { 0%,100% { transform: translateX(-50%) translateY(0) rotate(-2deg); } 50% { transform: translateX(-50%) translateY(-9px) rotate(2deg); } }

.dream-scene .ds-arrow {
  position: absolute; right: 14%; top: 14%; z-index: 4;
  font-size: clamp(28px, 4vw, 44px); color: #10C97D; font-weight: 700;
  animation: dsRise 2.6s ease-in-out infinite;
  text-shadow: 0 4px 12px rgba(16,201,125,.35);
}
@keyframes dsRise { 0%,100% { transform: translateY(0); opacity: .9; } 50% { transform: translateY(-10px); opacity: 1; } }

.dream-scene .ds-spark { position: absolute; width: 12px; height: 12px; z-index: 2; opacity: .85;
  background: var(--accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0c1.5 6.5 4 9 10.5 12C16 15 13.5 17.5 12 24 10.5 17.5 8 15 1.5 12 8 9 10.5 6.5 12 0Z'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0c1.5 6.5 4 9 10.5 12C16 15 13.5 17.5 12 24 10.5 17.5 8 15 1.5 12 8 9 10.5 6.5 12 0Z'/%3E%3C/svg%3E") center/contain no-repeat;
  animation: dsTwinkle 2.4s ease-in-out infinite;
}
.dream-scene .ds-spark.s1 { left: 16%; top: 20%; --d: 0s; }
.dream-scene .ds-spark.s2 { left: 34%; top: 12%; width: 9px; height: 9px; --d: .6s; background: #6B34FF; }
.dream-scene .ds-spark.s3 { left: 78%; top: 40%; width: 14px; height: 14px; --d: 1.1s; }
.dream-scene .ds-spark.s4 { left: 64%; top: 26%; width: 8px; height: 8px; --d: 1.6s; background: #0BA4C3; }
.dream-scene .ds-spark { animation-delay: var(--d); }
@keyframes dsTwinkle { 0%,100% { transform: scale(.6) rotate(0deg); opacity: .3; } 50% { transform: scale(1.1) rotate(40deg); opacity: 1; } }

.dream-scene .ds-confetti { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.dream-scene .ds-confetti i { position: absolute; width: 8px; height: 8px; border-radius: 2px; opacity: .9; animation: dsFall linear infinite; }
@keyframes dsFall { 0% { transform: translateY(-20px) rotate(0); opacity: 0; } 12% { opacity: 1; } 100% { transform: translateY(360px) rotate(540deg); opacity: 0; } }

body.no-motion .dream-scene .ds-peeper,
body.no-motion .dream-scene .ds-arrow,
body.no-motion .dream-scene .ds-spark,
body.no-motion .dream-scene .ds-confetti i { animation: none !important; }
body.no-motion .dream-scene .ds-line { stroke-dashoffset: 0; }
@media (max-width: 980px) { .dream-grid { grid-template-columns: 1fr; } .dream-img { order: -1; } }

/* download CTA */
.download { text-align:center; position:relative; overflow:hidden; }
.download .peep-field { opacity:.9; }
.download .wrap { position:relative; z-index:2; }
.download h2.sec { font-size: clamp(52px,9vw,140px); }
.download .big-qr { width: 220px; height: 220px; border-radius: 26px; margin: 40px auto 0; padding: 16px; background: var(--paper-2); border:1.5px solid var(--line); box-shadow: 0 30px 60px -30px rgba(11,11,11,.3); }
.download .stores { justify-content:center; margin-top: 26px; }
.download .scan-cap { margin-top: 22px; font-family:var(--head); text-transform:uppercase; letter-spacing:.14em; font-weight:600; font-size:13px; color:#6B6A72; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--ink); color:#fff; padding: 70px 0 40px; }
.footer .top { display:flex; justify-content:space-between; align-items:flex-end; gap:30px; flex-wrap:wrap; padding-bottom: 40px; border-bottom:1px solid #1F1F27; }
.footer .word { width: clamp(180px, 30vw, 360px); color:#fff; }
.footer .socials { display:flex; gap:10px; }
.footer .socials a { width:46px; height:46px; border-radius:14px; background:#17171D; border:1px solid #262630; display:grid; place-items:center; color:#fff; transition: transform .18s cubic-bezier(.34,1.56,.64,1), background .2s, color .2s; }
.footer .socials a:hover { transform: translateY(-3px); background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.footer .socials a svg { width: 20px; height: 20px; }
.footer .bottom { display:flex; justify-content:space-between; gap:20px; flex-wrap:wrap; margin-top: 28px; color:#6B6A72; font-size: 13px; }
.footer .bottom nav { display:flex; gap:22px; flex-wrap:wrap; }
.footer .bottom a:hover { color:#fff; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; }
  .hero-phone { order: -1; }
  .broadcast .wrap { grid-template-columns: 1fr; }
  .broadcast .phone-wrap { order: -1; }
  .steps { grid-template-columns: 1fr; }
  .c-6,.c-4,.c-8,.c-5,.c-7 { grid-column: span 12; }
}
@media (max-width: 560px) {
  .hero h1 { font-size: 17vw; }
  .hero-actions { gap: 16px; }
  .nav-cta span.hide { display:none; }
  .phone { transform: none; }
  .phone.tilt { transform: none; }
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  .peep-field .pf, .marquee .track, .nav-cta .dot, .tcard .live i { animation: none !important; }
}
body.no-motion .peep-field .pf,
body.no-motion .marquee .track,
body.no-motion .nav-cta .dot,
body.no-motion .tcard .live i { animation: none !important; }

/* ============================================================
   TWEAKS PANEL (host-toggled)
   ============================================================ */
/* ============================================================
   PREMIUM POLISH
   ============================================================ */
/* film grain */
.grain { position: fixed; inset: 0; z-index: 150; pointer-events: none; opacity: .04; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 140px 140px; }

/* scroll progress */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 70; transform: scaleX(0); transform-origin: 0 50%; background: linear-gradient(90deg, var(--accent), var(--accent-2)); box-shadow: 0 0 12px color-mix(in srgb, var(--accent) 60%, transparent); }

/* hero intro stagger */
.hero-eyebrow, .hero h1 .ln, .hero .sub, .hero-actions, .hero-proof, .hero-phone { opacity: 0; }
body.loaded .hero-eyebrow { animation: heroIn .7s .05s both; }
body.loaded .hero h1 .ln:nth-child(1) { animation: heroIn .8s .14s both; }
body.loaded .hero h1 .ln:nth-child(2) { animation: heroIn .8s .22s both; }
body.loaded .hero h1 .ln:nth-child(3) { animation: heroIn .8s .30s both; }
body.loaded .hero .sub { animation: heroIn .7s .44s both; }
body.loaded .hero-actions { animation: heroIn .7s .54s both; }
body.loaded .hero-proof { animation: heroIn .7s .62s both; }
body.loaded .hero-phone { animation: heroPhoneIn 1.05s .34s both; }
@keyframes heroIn { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes heroPhoneIn { from { opacity: 0; transform: translateY(34px) scale(.97); } to { opacity: 1; transform: none; } }

/* cursor-follow spotlight on cards/rows/steps */
.card, .step, .brow { position: relative; }
.card::after, .step::after, .brow::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 0;
  opacity: 0; transition: opacity .35s ease;
  background: radial-gradient(240px circle at var(--mx,50%) var(--my,50%), color-mix(in srgb, var(--accent) 15%, transparent), transparent 62%);
}
.card.dark::after, .card.accent-fill::after { background: radial-gradient(240px circle at var(--mx,50%) var(--my,50%), rgba(255,255,255,.09), transparent 62%); }
.card:hover::after, .step:hover::after, .brow:hover::after { opacity: 1; }
.card > *, .step > *, .brow > * { position: relative; z-index: 1; }

/* focus-visible */
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }

/* magnetic targets */
.nav-cta, .store-badge, .den-socials a { will-change: transform; }

@media (prefers-reduced-motion: reduce) {
  .hero-eyebrow, .hero h1 .ln, .hero .sub, .hero-actions, .hero-proof, .hero-phone { opacity: 1 !important; animation: none !important; }
  .grain { display: none; }
}
/* safety net: if the intro animation never runs (e.g. tab loaded while
   hidden, so CSS animations are paused), force the final visible state */
body.intro-done .hero-eyebrow,
body.intro-done .hero h1 .ln,
body.intro-done .hero .sub,
body.intro-done .hero-actions,
body.intro-done .hero-proof,
body.intro-done .hero-phone { opacity: 1 !important; animation: none !important; }

#tweaks-root { position: fixed; right: 18px; bottom: 18px; z-index: 200; font-family: var(--ui); display: none; }
#tweaks-root.show { display: block; }
.tw-panel { width: 270px; background: #fff; border: 1.5px solid var(--line); border-radius: 18px; box-shadow: 0 24px 60px -20px rgba(11,11,11,.4); overflow: hidden; animation: twIn .22s cubic-bezier(.34,1.56,.64,1); }
@keyframes twIn { from { opacity: 0; transform: translateY(10px) scale(.97); } }
.tw-head { display: flex; align-items: center; justify-content: space-between; padding: 13px 15px; border-bottom: 1px solid var(--line); }
.tw-head b { font-family: var(--head); text-transform: uppercase; letter-spacing: .06em; font-size: 14px; display: flex; align-items: center; gap: 8px; }
.tw-head .x { width: 26px; height: 26px; border-radius: 8px; border: 1px solid var(--line); background: #fff; cursor: pointer; display: grid; place-items: center; font-size: 12px; color: #46454C; }
.tw-head .x:hover { background: var(--paper); }
.tw-body { padding: 4px 15px 16px; }
.tw-sec { margin-top: 14px; }
.tw-sec .lbl { font-family: var(--head); text-transform: uppercase; letter-spacing: .08em; font-size: 11px; color: #91919A; margin-bottom: 9px; display: block; }
.tw-sw { display: flex; gap: 10px; }
.tw-sw button { width: 30px; height: 30px; border-radius: 999px; border: 0; cursor: pointer; padding: 0; outline: 2px solid transparent; outline-offset: 2px; transition: transform .15s cubic-bezier(.34,1.56,.64,1); }
.tw-sw button:hover { transform: scale(1.12); }
.tw-sw button.on { outline-color: var(--ink); }
.tw-seg { display: flex; background: var(--paper); border: 1px solid var(--line); border-radius: 11px; padding: 3px; gap: 3px; }
.tw-seg button { flex: 1; border: 0; background: transparent; border-radius: 8px; padding: 7px 4px; font-family: var(--head); text-transform: uppercase; letter-spacing: .03em; font-size: 12px; color: #6B6A72; cursor: pointer; transition: background .15s, color .15s; }
.tw-seg button.on { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(11,11,11,.14); }
