/* Mercury Journal — landing page. Same monochrome glass language as the app. */
:root {
  --font: 'Geist', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'SFMono-Regular', Consolas, monospace;
  --serif: 'Instrument Serif', Georgia, serif;
  --bg: #050505;
  --text: rgba(255, 255, 255, .93);
  --text-2: rgba(255, 255, 255, .6);
  --text-3: rgba(255, 255, 255, .38);
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .045);
  --panel: rgba(255, 255, 255, .045);
  --live: #34d399;
  --accent: #ffffff;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --gutter: clamp(16px, 4vw, 40px);
  --max: 1240px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font); font-size: 16px; line-height: 1.5;
  -webkit-font-smoothing: antialiased; font-feature-settings: 'ss01', 'cv11';
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
::selection { background: rgba(255, 255, 255, .25); }
:focus-visible { outline: 2px solid #fff; outline-offset: 3px; border-radius: 6px; }
.num { font-variant-numeric: tabular-nums; }
.dim { color: var(--text-3); }
em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; padding-right: .06em; }
[hidden] { display: none !important; }

.chrome-text {
  background: linear-gradient(172deg, #fff 18%, #b9bbc5 44%, #55575f 52%, #dfe0e6 70%, #fff 92%);
  background-size: 100% 220%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: sheen 7s ease-in-out infinite alternate;
}
@keyframes sheen { to { background-position: 0 100%; } }

/* ───────── backdrop ───────── */
#chrome { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; display: block; }
.ring-fallback { display: none; }
.no-gl #chrome { display: none; }
.no-gl .ring-fallback {
  display: block; position: fixed; z-index: 0; width: min(48vw, 620px); right: 4vw; top: 50%; transform: translateY(-50%);
  filter: drop-shadow(0 30px 80px rgba(0, 0, 0, .8)); mask-image: radial-gradient(circle, #000 60%, transparent 71%);
}
.veil {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(140% 100% at 50% 0%, transparent 40%, rgba(0, 0, 0, .6)), rgba(5, 5, 5, var(--veil, .1));
}
.grain {
  position: fixed; inset: -50%; z-index: 1; pointer-events: none; opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(5) infinite;
}
@keyframes grain { 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -3%); } 60% { transform: translate(-1%, 4%); } 80% { transform: translate(3%, 1%); } }

/* ───────── shared ───────── */
.glass {
  background: var(--panel);
  backdrop-filter: blur(22px) saturate(140%); -webkit-backdrop-filter: blur(22px) saturate(140%);
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05), 0 10px 40px -12px rgba(0, 0, 0, .5);
}
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 38px; padding: 0 16px;
  border-radius: 12px; font-size: 14px; font-weight: 500; white-space: nowrap;
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .08);
  transition: background .2s, transform .15s, box-shadow .3s, opacity .2s;
}
.btn:hover { background: rgba(255, 255, 255, .12); }
.btn:active { transform: scale(.97); }
.btn.primary { background: #fff; color: #000; border-color: transparent; box-shadow: 0 8px 30px -8px rgba(255, 255, 255, .35); }
.btn.primary:hover { background: #e9e9ee; box-shadow: 0 0 0 4px rgba(255, 255, 255, .08), 0 10px 44px -8px rgba(255, 255, 255, .5); }
.btn.ghost { background: rgba(0, 0, 0, .2); border-color: var(--line); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn.ghost:hover { background: rgba(255, 255, 255, .08); }
.btn.lg { height: 50px; padding: 0 22px; border-radius: 15px; font-size: 15px; }
.btn:disabled { opacity: .55; pointer-events: none; }
.dot { width: 7px; height: 7px; border-radius: 50%; flex: none; background: var(--live); box-shadow: 0 0 0 3px rgba(52, 211, 153, .18), 0 0 10px var(--live); animation: pulse 2.4s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 5px rgba(52, 211, 153, .06), 0 0 14px var(--live); } }

.js [data-reveal] { opacity: 0; transform: translateY(26px); filter: blur(6px); transition: opacity 1s var(--ease), transform 1s var(--ease), filter 1s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].in { opacity: 1; transform: none; filter: none; }

/* ───────── nav ───────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
  padding: 14px var(--gutter); transition: background .35s, border-color .35s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled { background: rgba(5, 5, 5, .55); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%); border-bottom-color: var(--line-2); }
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: 17px; letter-spacing: -.02em; }
.brand svg { filter: drop-shadow(0 0 10px rgba(255, 255, 255, .3)); }
.nav-links { display: flex; gap: 2px; padding: 5px; border-radius: 14px; }
.nav-links a { padding: 7px 14px; border-radius: 10px; font-size: 13.5px; font-weight: 500; color: var(--text-2); transition: color .2s, background .2s; }
.nav-links a:hover { color: var(--text); background: rgba(255, 255, 255, .06); }
.nav-cta { justify-self: end; }
@media (max-width: 760px) {
  .nav { grid-template-columns: 1fr auto; }
  .nav-links { display: none; }
  .nav-cta { height: 36px; padding: 0 14px; font-size: 13.5px; }
}

/* ───────── hero ───────── */
main, footer { position: relative; z-index: 2; overflow-x: clip; }
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; max-width: var(--max); margin: 0 auto; padding: 110px var(--gutter) 100px; }
.hero-copy { max-width: 640px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; min-height: 34px; padding: 6px 15px 6px 13px; border-radius: 999px; font-size: 13px; color: var(--text-2); transition: border-color .3s; }
.eyebrow:hover { border-color: rgba(255, 255, 255, .18); }
.eyebrow b { color: var(--text); font-weight: 500; }
h1 { font-size: clamp(46px, 7.2vw, 98px); line-height: .94; letter-spacing: -.055em; font-weight: 600; margin: 26px 0 22px; }
h1 em { font-size: 1.1em; letter-spacing: -.025em; }
.lede { font-size: clamp(16px, 1.55vw, 19px); color: var(--text-2); max-width: 520px; margin: 0 0 30px; text-wrap: pretty; }

.countdown { display: flex; gap: 10px; margin-bottom: 28px; }
.cd { width: 82px; padding: 12px 0 10px; border-radius: 16px; text-align: center; background: rgba(10, 10, 12, .35); }
.cd b { display: block; position: relative; height: 38px; overflow: hidden; font-family: var(--mono); font-size: 32px; font-weight: 500; letter-spacing: -.05em; line-height: 38px; }
.cd b span { display: block; }
.cd b span.roll { animation: roll .55s var(--ease); }
@keyframes roll { from { transform: translateY(-70%); opacity: 0; filter: blur(5px); } }
.cd > span { font-size: 10.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); }
.hero-cta { display: flex; gap: 10px; flex-wrap: wrap; }

.spots { margin-top: 26px; max-width: 440px; }
.spots-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 13px; color: var(--text-2); margin-bottom: 9px; }
.spots-top b { color: var(--text); font-weight: 600; }
.spots .if-full { display: none; }
.full .spots .if-full { display: inline; }
.full .spots .if-open { display: none; }
.meter { height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.meter i { display: block; height: 100%; width: var(--fill, 0%); border-radius: inherit; background: linear-gradient(90deg, rgba(255, 255, 255, .3), #fff); box-shadow: 0 0 14px rgba(255, 255, 255, .55); transition: width 1.6s var(--ease); }
.spots.big { margin-top: 38px; max-width: none; }
.spots.big .spots-top { font-size: 15px; }
.spots.big .spots-top b { font-size: 22px; letter-spacing: -.02em; margin-right: 4px; }
.spots.big .meter { height: 8px; }

.scroll-hint { position: absolute; left: 50%; bottom: 28px; width: 24px; height: 38px; margin-left: -12px; border-radius: 14px; border: 1.5px solid rgba(255, 255, 255, .25); }
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 3px; background: #fff; animation: wheel 2s var(--ease) infinite; }
@keyframes wheel { 60% { transform: translateY(11px); opacity: 0; } 61% { transform: none; opacity: 0; } }

/* portrait screens: chrome sits on top, copy below it */
@media (max-aspect-ratio: 23/20) {
  .hero { align-items: flex-end; padding-top: 46vh; padding-top: 46svh; padding-bottom: 60px; }
  .scroll-hint { display: none; }
  .no-gl .ring-fallback { width: min(70vw, 420px); right: 50%; top: 26vh; transform: translate(50%, -50%); }
}
@media (max-width: 520px) {
  h1 { font-size: clamp(42px, 12.4vw, 60px); }
  .countdown { gap: 7px; }
  .cd { flex: 1; width: auto; border-radius: 14px; }
  .cd b { font-size: 26px; height: 32px; line-height: 32px; }
  .hero-cta .btn { flex: 1 1 100%; }
}

/* ───────── ticker ───────── */
.ticker { position: relative; z-index: 2; overflow: hidden; border-block: 1px solid var(--line-2); background: rgba(5, 5, 5, .55); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.ticker-track { display: flex; gap: 40px; width: max-content; padding: 15px 0; animation: marquee 70s linear infinite; }
.tick { display: inline-flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--text-3); white-space: nowrap; }
.tick .sym { color: var(--text); font-weight: 600; letter-spacing: -.01em; }
.tick .pos { color: var(--text); font-weight: 600; }
.tick .neg { color: var(--text-3); font-weight: 600; }
.tick .r { font-family: var(--mono); font-size: 12px; }
.tick::after { content: ''; width: 4px; height: 4px; border-radius: 50%; background: rgba(255, 255, 255, .2); margin-left: 30px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ───────── sections ───────── */
.section { max-width: var(--max); margin: 0 auto; padding: clamp(90px, 13vw, 160px) var(--gutter) 0; scroll-margin-top: 20px; }
.section-head { margin-bottom: clamp(44px, 6vw, 72px); }
.section-head p { color: var(--text-2); font-size: clamp(16px, 1.4vw, 18px); max-width: 560px; margin: 0; text-wrap: pretty; }
.kicker { display: inline-flex; align-items: center; gap: 12px; font-family: var(--mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--text-3); }
.kicker::before { content: ''; width: 22px; height: 1px; background: currentColor; }
h2 { font-size: clamp(38px, 5.4vw, 72px); line-height: .98; letter-spacing: -.05em; font-weight: 600; margin: 18px 0 20px; }
h2 em { font-size: 1.08em; color: var(--text-2); }

/* ───────── product stage ───────── */
.stage { position: relative; perspective: 1800px; padding-bottom: 60px; }
.window {
  border-radius: 24px; padding: 14px 20px 20px; background: rgba(14, 14, 17, .62);
  transform: rotateX(var(--tilt, 20deg)) scale(var(--scale, .92)); transform-origin: 50% 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 60px 120px -40px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .02);
  will-change: transform;
}
.w-top { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; padding-bottom: 10px; }
.w-top > :last-child { justify-self: end; }
.w-pill { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px; border-radius: 10px; font-size: 12.5px; color: var(--text-2); background: rgba(255, 255, 255, .04); border: 1px solid var(--line-2); width: fit-content; }
.w-nav { display: flex; align-items: center; gap: 2px; padding: 4px; border-radius: 12px; background: rgba(255, 255, 255, .035); border: 1px solid var(--line-2); font-size: 12.5px; color: var(--text-2); }
.w-nav > span { padding: 5px 11px; border-radius: 8px; white-space: nowrap; }
.w-nav .on { color: var(--text); background: rgba(255, 255, 255, .08); }
.w-brand { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--text); font-size: 13.5px; }
.w-hero { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; padding: 18px 4px 22px; }
.w-k { font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); }
.w-v { font-size: clamp(42px, 6vw, 76px); font-weight: 600; letter-spacing: -.05em; line-height: 1; margin: 8px 0 10px; filter: drop-shadow(0 0 30px rgba(255, 255, 255, .15)); }
.w-s { font-size: 13px; color: var(--text-2); display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.w-s b { color: var(--text); font-weight: 600; }
.w-s i { width: 3px; height: 3px; border-radius: 50%; background: var(--text-3); }
.w-actions { display: flex; gap: 8px; }
.w-btn { font-size: 12.5px; padding: 7px 13px; border-radius: 10px; background: rgba(255, 255, 255, .07); border: 1px solid var(--line-2); white-space: nowrap; }
.w-btn.light { background: #fff; color: #000; font-weight: 500; }
.w-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.w-stat, .w-panel { border-radius: 16px; background: rgba(255, 255, 255, .035); border: 1px solid var(--line-2); }
.w-stat { padding: 14px 16px; }
.w-stat span { font-size: 12.5px; color: var(--text-2); }
.w-stat b { display: block; font-size: 24px; font-weight: 600; letter-spacing: -.03em; margin-top: 6px; }
.w-stat small { font-size: 11.5px; color: var(--text-3); }
.w-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 12px; margin-top: 12px; }
.w-panel { padding: 16px 16px 14px; min-width: 0; }
.w-ph { display: flex; justify-content: space-between; font-size: 13px; color: var(--text-2); font-weight: 500; margin-bottom: 12px; }
.equity { display: block; width: 100%; height: 210px; overflow: visible; }
.eq-line { fill: none; stroke: #fff; stroke-width: 2.2; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; filter: drop-shadow(0 0 6px rgba(255, 255, 255, .35)); stroke-dasharray: 1; stroke-dashoffset: 1; }
.eq-area { opacity: 0; transition: opacity 1.2s .9s; }
.window.in .eq-line { animation: draw 2.2s .2s var(--ease) forwards; }
.window.in .eq-area { opacity: 1; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.w-cal { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 5px; }
.w-cal .dow { font-size: 10px; letter-spacing: .1em; color: var(--text-3); text-align: center; font-weight: 600; padding-bottom: 2px; }
.w-cal .day { aspect-ratio: 1.45; border-radius: 8px; background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .03); display: grid; place-items: center; font-size: clamp(9px, .9vw, 12px); font-weight: 600; position: relative; opacity: 0; transform: scale(.85); transition: opacity .5s var(--ease), transform .5s var(--ease); transition-delay: calc(var(--i) * 22ms + .3s); }
.w-cal .day small { position: absolute; top: 3px; right: 5px; font-size: 8.5px; color: var(--text-3); font-weight: 500; }
.w-cal .day.win { background: linear-gradient(160deg, rgba(255, 255, 255, .26), rgba(255, 255, 255, .09)); border-color: rgba(255, 255, 255, .2); }
.w-cal .day.loss { background: rgba(255, 255, 255, .06); color: var(--text-2); }
.w-cal .day.blank { visibility: hidden; }
.window.in .w-cal .day { opacity: 1; transform: none; }

.share {
  position: absolute; right: -1%; bottom: -2%; width: clamp(210px, 23vw, 290px); aspect-ratio: 9 / 14.5;
  border-radius: 26px; padding: 20px 20px 16px; overflow: hidden; display: flex; flex-direction: column;
  background: radial-gradient(120% 80% at 70% 0%, #3b3c46 0%, #121216 55%, #08080a 100%);
  box-shadow: 0 50px 90px -24px rgba(0, 0, 0, .95), 0 0 0 1px rgba(255, 255, 255, .1), inset 0 1px 0 rgba(255, 255, 255, .12);
  transform: translateY(var(--lift, 40px)) rotate(var(--rot, 9deg));
  transition: transform .2s linear;
}
.share::after { content: ''; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, .09) 48%, transparent 60%); transform: translateX(var(--glint, -60%)); pointer-events: none; }
.sc-head { display: flex; align-items: center; gap: 8px; justify-content: center; font-size: 15px; }
.sc-head b { font-weight: 700; letter-spacing: -.02em; }
.sc-head > span:last-child { font-size: 9.5px; letter-spacing: .14em; color: var(--text-3); font-weight: 600; }
.sc-sym { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 800; background: linear-gradient(135deg, #e9eaee, #8d8f99); color: #000; }
.sc-chart { width: 100%; height: 30%; margin-top: 12px; filter: drop-shadow(0 0 8px rgba(255, 255, 255, .3)); }
.sc-tag { position: absolute; font-size: 10px; font-weight: 700; padding: 3px 8px; border-radius: 7px; }
.sc-tag.entry { left: 22%; top: 34%; background: #fff; color: #000; }
.sc-tag.exit { right: 9%; top: 15%; background: #4a4b55; }
.sc-pnl { text-align: center; font-size: clamp(30px, 3.3vw, 42px); font-weight: 700; letter-spacing: -.05em; margin-top: auto; text-shadow: 0 0 40px rgba(255, 255, 255, .45); }
.sc-rows { display: grid; grid-template-columns: auto auto; justify-content: center; gap: 4px 22px; font-size: 12px; margin: 10px 0 14px; }
.sc-rows dt { color: var(--text-3); }
.sc-rows dd { margin: 0; font-weight: 600; }
.sc-foot { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 12px; font-weight: 700; color: var(--text-2); }
.sc-foot i { font-style: normal; color: var(--text-3); font-weight: 400; }

@media (max-width: 900px) {
  .w-top { grid-template-columns: 1fr auto; }
  .w-top > :first-child, .w-actions { display: none; }
  .w-nav > span:nth-child(n+4) { display: none; }
  .w-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .w-grid { grid-template-columns: 1fr; }
  .w-cal-panel { display: none; }
  .equity { height: 150px; }
  .share { position: relative; right: auto; bottom: auto; margin: -60px auto 0; width: min(64vw, 250px); }
}
@media (max-width: 520px) {
  .window { padding: 12px 12px 14px; border-radius: 20px; }
  .w-top { grid-template-columns: 1fr; }
  .w-top > :last-child { display: none; }
  .w-nav { justify-self: start; }
  .w-stat b { font-size: 20px; }
}

/* ───────── bento ───────── */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.tile { position: relative; border-radius: 24px; padding: 26px; min-height: 330px; display: flex; flex-direction: column; overflow: hidden; background: rgba(14, 14, 17, .55); transition: border-color .35s; }
.tile::before { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .35s; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .07), transparent 45%); }
.tile:hover { border-color: rgba(255, 255, 255, .14); }
.tile:hover::before { opacity: 1; }
.tile-k { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); margin-bottom: 14px; }
.tile h3 { font-size: clamp(22px, 2vw, 26px); letter-spacing: -.035em; font-weight: 600; margin: 0 0 8px; line-height: 1.1; }
.tile p { color: var(--text-2); font-size: 14.5px; margin: 0; max-width: 460px; text-wrap: pretty; }
.tile .viz { margin-top: auto; padding-top: 24px; position: relative; }
.t-4 { grid-column: span 4; }
.t-3 { grid-column: span 3; }
.t-2 { grid-column: span 2; }
@media (max-width: 980px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .t-4, .t-3 { grid-column: span 2; }
  .t-2 { grid-column: span 1; }
}
@media (max-width: 640px) {
  .bento { grid-template-columns: 1fr; }
  .t-4, .t-3, .t-2 { grid-column: auto; }
  .tile { min-height: 0; padding: 22px; }
}

/* live fill feed */
.feed { display: flex; flex-direction: column; gap: 6px; min-height: 172px; justify-content: flex-end; }
.fill { display: grid; grid-template-columns: 74px 58px 1fr auto; align-items: center; gap: 12px; padding: 9px 14px; border-radius: 12px; background: rgba(255, 255, 255, .035); border: 1px solid var(--line-2); font-size: 13px; animation: fillIn .6s var(--ease); }
.fill .t { font-family: var(--mono); font-size: 12px; color: var(--text-3); }
.fill .side { font-size: 10.5px; font-weight: 700; letter-spacing: .08em; padding: 2px 0; border-radius: 6px; text-align: center; background: rgba(255, 255, 255, .07); color: var(--text-2); }
.fill .side.buy { background: rgba(255, 255, 255, .9); color: #000; }
.fill .what { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fill .what b { font-weight: 600; }
.fill .st { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; color: var(--text-2); }
.fill .st::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--live); box-shadow: 0 0 8px var(--live); }
.fill.old { opacity: .45; }
@keyframes fillIn { from { opacity: 0; transform: translateY(14px) scale(.98); filter: blur(4px); } }
@media (max-width: 520px) { .fill { grid-template-columns: 58px 46px 1fr; } .fill .st { display: none; } }

/* share fan */
.fan { height: 150px; display: grid; place-items: end center; }
.mini-card { position: absolute; bottom: 0; width: 104px; height: 140px; border-radius: 16px; padding: 12px 10px; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 2px; background: radial-gradient(120% 80% at 70% 0%, #3b3c46, #0d0d10 70%); border: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 20px 40px -14px rgba(0, 0, 0, .9); transition: transform .6s var(--ease); }
.mini-card b { font-size: 19px; letter-spacing: -.04em; text-shadow: 0 0 20px rgba(255, 255, 255, .4); }
.mini-card span { font-size: 8.5px; letter-spacing: .14em; color: var(--text-3); font-weight: 600; }
.mini-card.c1 { transform: translateX(-82px) rotate(-12deg) translateY(6px); }
.mini-card.c1 b { color: var(--text-2); text-shadow: none; }
.mini-card.c2 { transform: translateX(82px) rotate(12deg) translateY(6px); }
.mini-card.c3 { transform: translateY(-6px); background: radial-gradient(120% 80% at 70% 0%, #5a5b66, #141418 70%); }
.tile:hover .mini-card.c1 { transform: translateX(-104px) rotate(-17deg) translateY(10px); }
.tile:hover .mini-card.c2 { transform: translateX(104px) rotate(17deg) translateY(10px); }
.tile:hover .mini-card.c3 { transform: translateY(-14px) scale(1.04); }

/* heatmap */
.heat { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 5px; }
.heat i { aspect-ratio: 1; border-radius: 5px; background: rgba(255, 255, 255, var(--a, .05)); border: 1px solid rgba(255, 255, 255, .04); transition: transform .3s var(--ease), background .3s; }
.heat i.w { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15); }
.heat i:hover { transform: scale(1.25); }

/* accounts */
.accts { display: grid; gap: 8px; }
.acct { display: grid; grid-template-columns: 34px 1fr; grid-template-rows: auto auto; column-gap: 12px; row-gap: 7px; align-items: center; padding: 10px 12px; border-radius: 14px; background: rgba(255, 255, 255, .035); border: 1px solid var(--line-2); }
.acct .mk { grid-row: span 2; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-size: 11.5px; font-weight: 700; background: rgba(255, 255, 255, .08); border: 1px solid var(--line); }
.acct .nm { font-size: 13px; font-weight: 600; display: flex; justify-content: space-between; gap: 8px; }
.acct .nm small { font-weight: 400; color: var(--text-3); font-size: 11.5px; }
.acct .bar { height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .08); position: relative; overflow: hidden; }
.acct .bar::after { content: ''; position: absolute; inset: 0; width: var(--w); border-radius: inherit; background: linear-gradient(90deg, rgba(255, 255, 255, .3), #fff); transform-origin: left; transform: scaleX(0); transition: transform 1.4s .3s var(--ease); }
.tile.in .acct .bar::after { transform: none; }

/* phone */
.phone { display: grid; place-items: center; padding-top: 18px; height: 180px; overflow: hidden; }
.ph-body { position: relative; width: 150px; height: 230px; border-radius: 30px; padding: 30px 16px; margin-top: 64px; border: 1.5px solid rgba(255, 255, 255, .18); background: linear-gradient(180deg, #17171b, #0a0a0c); box-shadow: inset 0 0 0 5px #050505, 0 -20px 60px -20px rgba(255, 255, 255, .15); transition: transform .6s var(--ease); }
.ph-body::before { content: ''; position: absolute; top: 12px; left: 50%; width: 42px; height: 11px; margin-left: -21px; border-radius: 8px; background: #000; }
.tile:hover .ph-body { transform: translateY(-14px); }
.ph-k { font-size: 9px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); font-weight: 600; }
.ph-v { font-size: 28px; font-weight: 600; letter-spacing: -.04em; text-shadow: 0 0 20px rgba(255, 255, 255, .35); }
.ph-bars { display: flex; align-items: flex-end; gap: 5px; height: 44px; margin-top: 8px; }
.ph-bars i { flex: 1; height: var(--h); border-radius: 4px 4px 1px 1px; background: linear-gradient(to top, rgba(255, 255, 255, .25), rgba(255, 255, 255, .75)); }
.ph-bars i.n { background: rgba(255, 255, 255, .14); }

/* accent picker */
.accent { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.swatches { display: flex; gap: 8px; flex-wrap: wrap; }
.swatch { width: 34px; height: 34px; border-radius: 50%; background: var(--c); border: 2px solid transparent; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2), 0 4px 14px -4px var(--c); transition: transform .25s var(--ease), border-color .2s; }
.swatch:hover { transform: scale(1.12); }
.swatch[aria-checked="true"] { border-color: #fff; box-shadow: 0 0 0 3px #0b0b0d inset, 0 0 18px -2px var(--c); }
.accent-preview { min-width: 180px; padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, .035); border: 1px solid var(--line-2); }
.accent-preview span { font-size: 11px; color: var(--text-3); letter-spacing: .1em; text-transform: uppercase; font-weight: 600; }
.accent-preview b { display: block; font-size: 26px; letter-spacing: -.04em; color: var(--accent); text-shadow: 0 0 24px color-mix(in srgb, var(--accent) 50%, transparent); transition: color .4s; }
.accent-preview svg { display: block; width: 100%; height: 34px; margin-top: 4px; filter: drop-shadow(0 0 6px color-mix(in srgb, var(--accent) 60%, transparent)); }

.payout-tile { background: radial-gradient(90% 120% at 100% 100%, rgba(255, 255, 255, .09), transparent 60%), rgba(14, 14, 17, .55); }
.payout-tile .viz { display: flex; }

/* ───────── waitlist ───────── */
.wl { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 470px); gap: clamp(36px, 7vw, 96px); align-items: start; }
@media (max-width: 920px) { .wl { grid-template-columns: 1fr; } }
.wl-lede { color: var(--text-2); font-size: clamp(16px, 1.4vw, 18px); max-width: 480px; margin: 0; }
.wl-lede b { color: var(--text); font-weight: 600; }
.steps { list-style: none; padding: 0; margin: 38px 0 0; display: grid; gap: 22px; counter-reset: s; }
.steps li { display: grid; grid-template-columns: 46px 1fr; gap: 16px; align-items: start; counter-increment: s; }
.steps li::before { content: counter(s, decimal-leading-zero); width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-family: var(--mono); font-size: 13px; color: var(--text); border: 1px solid var(--line); background: rgba(255, 255, 255, .04); }
.steps b { display: block; font-weight: 600; font-size: 16px; margin-top: 2px; }
.steps span { color: var(--text-2); font-size: 14.5px; }

.wl-card { position: relative; border-radius: 28px; padding: 30px; background: rgba(14, 14, 17, .68); }
.wl-card::before { content: ''; position: absolute; inset: -1px; border-radius: inherit; padding: 1.5px; pointer-events: none; background: conic-gradient(from var(--spin, 0deg), transparent 0 58%, rgba(255, 255, 255, .25) 70%, #fff 80%, rgba(255, 255, 255, .25) 88%, transparent 96%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: spin 6s linear infinite; }
@property --spin { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
@keyframes spin { to { --spin: 360deg; } }
.wl-card h3 { margin: 0; font-size: 24px; letter-spacing: -.035em; font-weight: 600; }
.wl-sub { margin: 6px 0 22px; font-size: 14px; color: var(--text-2); }

.ig-step { display: flex; align-items: center; gap: 14px; padding: 12px 12px 12px 14px; border-radius: 18px; border: 1px solid var(--line); background: rgba(0, 0, 0, .28); transition: border-color .3s, background .3s; }
.ig-icon { position: relative; width: 42px; height: 42px; flex: none; border-radius: 13px; display: grid; place-items: center; background: linear-gradient(135deg, #2c2c33, #0d0d10); border: 1px solid var(--line); }
.ig-icon svg { position: absolute; transition: opacity .3s, transform .4s var(--ease); }
.ig-icon .i-ok { opacity: 0; transform: scale(.4); color: #000; }
.ig-text { flex: 1; min-width: 0; display: grid; font-size: 13px; color: var(--text-2); }
.ig-text b { color: var(--text); font-weight: 600; font-size: 14px; }
.ig-step.done { border-color: rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .05); }
.ig-step.done .ig-icon { background: #fff; }
.ig-step.done .i-ig { opacity: 0; transform: scale(.4); }
.ig-step.done .i-ok { opacity: 1; transform: none; }
.ig-step.nudge { animation: nudge .5s; border-color: rgba(252, 165, 165, .5); }

.field { display: grid; gap: 7px; margin-top: 18px; }
.field label { font-size: 11.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }
.input { position: relative; }
.input input { width: 100%; height: 50px; border-radius: 14px; padding: 0 15px; font-size: 16px; background: rgba(0, 0, 0, .32); border: 1px solid var(--line); outline: none; transition: border-color .2s, background .2s, box-shadow .2s; }
.input input::placeholder { color: rgba(255, 255, 255, .25); }
.input input:focus { border-color: rgba(255, 255, 255, .32); background: rgba(0, 0, 0, .42); box-shadow: 0 0 0 4px rgba(255, 255, 255, .06); }
.input.at input { padding-left: 33px; }
.input.at::before { content: '@'; position: absolute; left: 15px; top: 50%; transform: translateY(-52%); color: var(--text-3); font-size: 16px; pointer-events: none; }
.input input[aria-invalid="true"] { border-color: rgba(252, 165, 165, .55); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.check { display: flex; gap: 12px; align-items: flex-start; margin-top: 20px; font-size: 14px; color: var(--text-2); cursor: pointer; position: relative; }
.check input { position: absolute; opacity: 0; width: 22px; height: 22px; margin: 0; }
.check .box { width: 22px; height: 22px; flex: none; border-radius: 7px; border: 1.5px solid rgba(255, 255, 255, .3); display: grid; place-items: center; transition: background .2s, border-color .2s; }
.check input:checked + .box { background: #fff; border-color: #fff; }
.check input:checked + .box::after { content: ''; width: 9px; height: 5px; border: 2px solid #000; border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); }
.check input:focus-visible + .box { outline: 2px solid #fff; outline-offset: 2px; }
.check b { color: var(--text); font-weight: 600; }
.check.nudge .box { animation: nudge .5s; border-color: #fca5a5; }

.submit { width: 100%; margin-top: 22px; position: relative; overflow: hidden; }
.submit::after { content: ''; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .8) 50%, transparent 70%); transform: translateX(-120%); animation: shine 4.5s 1s ease-in-out infinite; }
@keyframes shine { 30%, 100% { transform: translateX(120%); } }
.submit.loading span { opacity: 0; }
.submit.loading::before { content: ''; position: absolute; left: 50%; top: 50%; width: 18px; height: 18px; margin: -9px; border-radius: 50%; border: 2px solid rgba(0, 0, 0, .2); border-top-color: #000; animation: rot .8s linear infinite; }
@keyframes rot { to { transform: rotate(360deg); } }
.form-err { min-height: 20px; margin-top: 12px; font-size: 13.5px; color: #fca5a5; text-align: center; }
.fine { margin: 2px 0 0; font-size: 12px; color: var(--text-3); text-align: center; }
@keyframes nudge { 20%, 60% { transform: translateX(-5px); } 40%, 80% { transform: translateX(5px); } }

.wl-done { text-align: center; padding: 8px 0 4px; animation: doneIn .8s var(--ease); }
@keyframes doneIn { from { opacity: 0; transform: scale(.94); filter: blur(8px); } }
.wl-done .k { font-family: var(--mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--text-3); }
.wl-done .pos { font-size: clamp(88px, 13vw, 132px); font-weight: 600; letter-spacing: -.07em; line-height: 1; margin: 14px 0 6px; padding-right: .04em; filter: drop-shadow(0 0 40px rgba(255, 255, 255, .25)); }
.wl-done .badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 13px; border-radius: 999px; font-size: 12.5px; font-weight: 600; background: #fff; color: #000; }
.wl-done .badge.wait { background: rgba(255, 255, 255, .08); color: var(--text); border: 1px solid var(--line); }
.wl-done p { color: var(--text-2); font-size: 14.5px; max-width: 360px; margin: 18px auto 0; }
.wl-done p b { color: var(--text); font-weight: 600; }
.wl-done .note { margin-top: 20px; padding: 13px 15px; border-radius: 14px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line-2); font-size: 13px; color: var(--text-2); text-align: left; display: flex; gap: 11px; align-items: flex-start; }
.wl-done .note svg { flex: none; margin-top: 1px; }
.wl-done .note a { color: var(--text); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, .3); }
.wl-done .again { margin-top: 18px; font-size: 13px; color: var(--text-3); text-decoration: underline; text-underline-offset: 3px; }
.wl-done .again:hover { color: var(--text-2); }

/* ───────── payout celebration (same as the app) ───────── */
.celebrate { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; pointer-events: none; }
.celebrate canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.celebrate .c-card { position: relative; text-align: center; padding: 34px 48px; border-radius: 28px; background: rgba(18, 18, 20, .6); animation: cIn .7s cubic-bezier(.2, 1.4, .3, 1) both; }
.celebrate .c-k { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-2); font-weight: 600; }
.celebrate .c-v { font-size: clamp(52px, 9vw, 76px); font-weight: 700; letter-spacing: -.04em; text-shadow: 0 0 50px rgba(255, 255, 255, .5); }
.celebrate.out .c-card { animation: cOut .5s ease forwards; }
@keyframes cIn { from { transform: scale(.6) translateY(30px); opacity: 0; } }
@keyframes cOut { to { transform: scale(.9); opacity: 0; } }

/* ───────── footer ───────── */
footer { margin-top: clamp(110px, 15vw, 190px); border-top: 1px solid var(--line-2); padding: 34px var(--gutter) 26px; overflow: hidden; background: linear-gradient(rgba(5, 5, 5, .4), #050505 60%); }
.foot-row { display: flex; justify-content: space-between; align-items: center; gap: 12px 24px; flex-wrap: wrap; max-width: var(--max); margin: 0 auto; font-size: 13.5px; color: var(--text-2); }
.foot-row .brand { font-size: 15px; color: var(--text); }
.foot-ig:hover { color: var(--text); }
.wordmark {
  font-size: clamp(76px, 21vw, 300px); font-weight: 700; letter-spacing: -.075em; line-height: .78; text-align: center;
  margin: clamp(30px, 5vw, 60px) 0 clamp(10px, 2vw, 20px); padding: 0 .05em .14em 0; user-select: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, .2), rgba(255, 255, 255, .02) 88%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.fine-row { font-size: 12px; color: var(--text-3); }
@media (max-width: 600px) { .foot-row { flex-direction: column; align-items: flex-start; gap: 8px; } }

/* ───────── reduced motion ───────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal] { opacity: 1; transform: none; filter: none; transition: none; }
  .ticker-track { animation: none; }
  .grain, .chrome-text, .dot, .submit::after, .wl-card::before, .scroll-hint span { animation: none; }
  .window { --tilt: 0deg !important; --scale: 1 !important; }
  .eq-line { stroke-dashoffset: 0; }
  .w-cal .day { opacity: 1; transform: none; }
}
