/* 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;
  --brand-font: 'Unbounded', var(--font);
  --bg: #050505;
  --text: rgba(255, 255, 255, .93);
  --text-2: rgba(255, 255, 255, .62);
  --text-3: rgba(255, 255, 255, .54);
  --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%; scroll-padding-top: 76px; }
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; }
img { max-width: 100%; }
::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; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.ul { color: var(--text); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, .3); }

.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; opacity: 0; transition: opacity 1.4s var(--ease); }
#chrome.ready { opacity: var(--chrome-o, 1); }
#chrome.ready.live { transition: opacity .25s linear; }
.ring-fallback { display: none; }
.no-gl #chrome { display: none; }
.no-gl .ring-fallback { opacity: var(--chrome-o, 1); }
.no-gl .ring-fallback {
  display: block; position: fixed; z-index: 0; width: min(44vw, 560px); right: 4vw; top: 50%; transform: translateY(-50%);
  filter: drop-shadow(0 30px 80px rgba(0, 0, 0, .8));
}
.veil {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  /* --mood is the tint of whichever section fills the screen (landing.js eases between them) */
  background: radial-gradient(140% 100% at 50% 0%, transparent 40%, rgba(0, 0, 0, .55)), rgb(var(--mood, 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 svg { transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.shine { position: relative; overflow: hidden; }
.shine::after { content: ''; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .85) 50%, transparent 70%); transform: translateX(-120%); animation: shine 4.5s 1.2s ease-in-out infinite; pointer-events: none; }
@keyframes shine { 30%, 100% { transform: translateX(120%); } }
.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; }

.ticks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 11px; }
.ticks li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; font-size: 15px; color: var(--text-2); }
.ticks li::before { content: ''; width: 20px; height: 20px; margin-top: 1px; border-radius: 7px; background: rgba(255, 255, 255, .08) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E") center / 12px no-repeat; border: 1px solid var(--line); }

/* ───────── nav: a floating liquid-glass capsule ───────── */
.lg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.nav { position: fixed; top: 12px; left: 0; right: 0; z-index: 50; display: flex; justify-content: center; padding: 0 var(--gutter); pointer-events: none; }
.nav-bar {
  --lg-tint: 255 255 255;
  pointer-events: auto; position: relative; isolation: isolate;
  width: min(1180px, 100%); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px;
  padding: 7px 7px 7px 18px; border-radius: 999px;
  background: linear-gradient(180deg, rgb(var(--lg-tint) / .11), rgb(var(--lg-tint) / .03) 55%, rgb(var(--lg-tint) / .06));
  backdrop-filter: blur(14px) saturate(175%) brightness(1.06); -webkit-backdrop-filter: blur(14px) saturate(175%) brightness(1.06);
  border: 1px solid rgba(255, 255, 255, .13);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .32),
    inset 0 -1px 0 rgba(255, 255, 255, .07),
    inset 0 0 0 1px rgba(255, 255, 255, .025),
    inset 0 10px 22px -14px rgba(255, 255, 255, .35),
    0 18px 50px -18px rgba(0, 0, 0, .8), 0 2px 8px -2px rgba(0, 0, 0, .35);
  transition: background .5s var(--ease), border-color .5s, box-shadow .5s, color .5s, width .6s var(--ease);
}
/* Chromium bends what's behind the glass at its curved edges (the map is drawn by landing.js). */
.lg-refract .nav-bar { backdrop-filter: url(#lg-refract) blur(12px) saturate(175%) brightness(1.06); }
/* specular highlight that follows the pointer */
.nav-bar::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: -1; opacity: 0; transition: opacity .4s; background: radial-gradient(260px 90px at var(--mx, 50%) 0%, rgba(255, 255, 255, .22), transparent 70%); }
.nav-bar:hover::after { opacity: 1; }
.nav.scrolled .nav-bar { width: min(1060px, 100%); }
.brand { display: inline-flex; align-items: center; gap: 9px; font-family: var(--brand-font); font-weight: 500; font-size: 16px; letter-spacing: -.02em; }
.brand img { filter: drop-shadow(0 0 10px rgba(255, 255, 255, .3)); transition: filter .5s; }
.nav-links { display: flex; gap: 2px; }
.nav-links a { padding: 8px 14px; border-radius: 999px; 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, .09); }
.nav-right { justify-self: end; display: flex; align-items: center; gap: 4px; }
.nav-signin { padding: 8px 14px; font-size: 14px; font-weight: 500; color: var(--text-2); border-radius: 999px; transition: color .2s, background .2s; }
.nav-signin:hover { color: var(--text); background: rgba(255, 255, 255, .09); }
.nav-cta { border-radius: 999px; height: 38px; padding: 0 18px; }
/* over the white section the glass turns frosted-light and the type goes dark */
.nav.on-light .nav-bar { background: linear-gradient(180deg, rgba(255, 255, 255, .84), rgba(255, 255, 255, .66)); border-color: rgba(0, 0, 0, .08); color: #0b0b0d; box-shadow: inset 0 1px 0 #fff, inset 0 -1px 0 rgba(0, 0, 0, .04), 0 18px 44px -20px rgba(0, 0, 0, .35); }
.nav.on-light .nav-links a, .nav.on-light .nav-signin { color: rgba(10, 10, 12, .62); }
.nav.on-light .nav-links a:hover, .nav.on-light .nav-signin:hover { color: #0b0b0d; background: rgba(0, 0, 0, .06); }
.nav.on-light .nav-cta { background: #0b0b0d; color: #fff; box-shadow: 0 8px 24px -10px rgba(0, 0, 0, .5); }
.nav.on-light .brand img { filter: invert(1); }
@media (max-width: 980px) {
  .nav-bar { grid-template-columns: 1fr auto; }
  .nav-links { display: none; }
}
@media (max-width: 420px) {
  .nav { top: 8px; }
  .nav-bar { padding: 6px 6px 6px 14px; }
  .nav-signin { padding: 8px 9px; font-size: 13.5px; }
  .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) 90px; }
.hero-copy { max-width: 680px; }
.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(44px, 6.6vw, 92px); line-height: .95; letter-spacing: -.055em; font-weight: 600; margin: 26px 0 22px; text-wrap: balance; }
h1 em { font-size: 1.1em; letter-spacing: -.025em; }
.lede { font-size: clamp(16px, 1.5vw, 19px); color: var(--text-2); max-width: 560px; margin: 0 0 30px; text-wrap: pretty; }
.hero-cta { display: flex; gap: 10px; flex-wrap: wrap; }
.hero-cta.center { justify-content: center; }
.proof { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 13.5px; color: var(--text-2); }
.proof li { display: inline-flex; align-items: center; gap: 7px; }
.proof svg { color: var(--live); }

.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; } }

@media (max-aspect-ratio: 23/20) {
  .hero { align-items: flex-start; padding-top: 30vh; padding-top: 30svh; padding-bottom: 56px; min-height: 0; }
  .scroll-hint { display: none; }
  .no-gl .ring-fallback { width: min(52vw, 320px); right: 50%; top: 17vh; transform: translate(50%, -50%); }
}
@media (max-width: 520px) {
  h1 { font-size: clamp(38px, 10.8vw, 54px); margin: 18px 0 16px; }
  .lede { font-size: 15.5px; margin-bottom: 22px; }
  .hero-cta .btn { flex: 1 1 100%; }
  .hero-cta .btn.ghost { height: 46px; }
  .proof { margin-top: 18px; font-size: 13px; gap: 6px 16px; }
}

/* ───────── product stage ───────── */
.stage-wrap { max-width: var(--max); margin: 0 auto; padding: 10px var(--gutter) 0; }
.stage { position: relative; perspective: 1800px; padding-bottom: 130px; }
.window {
  margin: 0; border-radius: 22px; padding: 0; overflow: hidden; background: rgba(14, 14, 17, .7);
  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), 0 0 120px -30px rgba(255, 255, 255, .12);
  will-change: transform;
}
.w-bar { display: flex; align-items: center; gap: 7px; height: 38px; padding: 0 16px; border-bottom: 1px solid var(--line-2); background: rgba(255, 255, 255, .025); }
.w-bar > i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .14); }
.w-url { margin: 0 auto; transform: translateX(-24px); display: inline-flex; align-items: center; gap: 7px; height: 24px; padding: 0 14px; border-radius: 8px; font-size: 12px; color: var(--text-3); background: rgba(255, 255, 255, .04); border: 1px solid var(--line-2); transition: opacity .3s; }
.w-shot { display: block; width: 100%; height: auto; aspect-ratio: 1600 / 896; background: #000; }

.toasts { position: absolute; right: -2.5%; top: 13%; display: grid; gap: 10px; width: min(320px, 30%); pointer-events: none; }
.toast { display: grid; grid-template-columns: 36px 1fr auto; align-items: center; gap: 12px; padding: 11px 14px 11px 11px; border-radius: 16px; background: rgba(16, 16, 19, .78); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 24px 50px -16px rgba(0, 0, 0, .9); font-size: 13px; animation: toastIn .7s var(--ease) both; }
.toast.out { animation: toastOut .5s var(--ease) forwards; }
.toast .ic { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: linear-gradient(135deg, #2c2c33, #0d0d10); border: 1px solid var(--line); }
.toast .ic i { width: 8px; height: 8px; border-radius: 50%; background: var(--live); box-shadow: 0 0 10px var(--live); }
.toast b { display: block; font-weight: 600; font-size: 13.5px; }
.toast small { color: var(--text-3); font-size: 12px; }
.toast .v { font-weight: 600; font-size: 14px; }
.toast .v.neg { color: var(--text-3); }
@keyframes toastIn { from { opacity: 0; transform: translateX(24px) scale(.96); filter: blur(6px); } }
@keyframes toastOut { to { opacity: 0; transform: translateY(-10px) scale(.97); filter: blur(4px); } }

.share {
  position: absolute; right: -3%; bottom: 0; width: clamp(170px, 15.5vw, 215px); 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: 30%; top: 37%; background: #fff; color: #000; }
.sc-tag.exit { right: 9%; top: 13%; background: #4a4b55; }
.sc-pnl { text-align: center; font-size: clamp(24px, 2.3vw, 31px); 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: 3px 18px; font-size: 11px; margin: 8px 0 12px; }
.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) {
  .toasts { position: relative; left: auto; right: auto; top: auto; width: auto; margin: 16px auto 0; max-width: 360px; }
  .toast:nth-child(n+2) { display: none; }
  .share { position: relative; right: auto; bottom: auto; margin: 18px auto 0; width: min(64vw, 240px); }
  .w-url { transform: none; }
}
@media (max-width: 520px) { .window { border-radius: 14px; } .w-bar { height: 30px; } .w-bar > i { width: 8px; height: 8px; } .w-url { font-size: 11px; height: 20px; } }

/* ───────── 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, 12vw, 150px) var(--gutter) 0; }
.section-head { margin-bottom: clamp(40px, 5.5vw, 68px); }
.section-head.center { text-align: center; }
.section-head.center p { margin-inline: auto; }
.section-head p { color: var(--text-2); font-size: clamp(16px, 1.4vw, 18px); max-width: 580px; 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(36px, 5.2vw, 70px); line-height: .98; letter-spacing: -.05em; font-weight: 600; margin: 18px 0 20px; text-wrap: balance; }
h2 em { font-size: 1.08em; color: var(--text-2); }

/* ───────── integrations ───────── */
.platforms { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.pf { border-radius: 18px; padding: 18px 18px 16px; display: grid; gap: 4px; background: rgba(14, 14, 17, .55); transition: border-color .3s, transform .4s var(--ease); }
.pf:hover { border-color: rgba(255, 255, 255, .18); transform: translateY(-3px); }
.pf b { font-size: 16.5px; font-weight: 600; letter-spacing: -.02em; }
.pf span { font-size: 13px; color: var(--text-3); }
@media (max-width: 900px) { .platforms { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.xchg { margin-top: 26px; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.xchg-track { display: flex; gap: 12px; width: max-content; animation: marquee 50s linear infinite; }
.xchg-track span { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); font-size: 13.5px; font-weight: 500; color: var(--text-2); white-space: nowrap; }

/* ───────── how ───────── */
.how { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; counter-reset: s; }
.how-step { position: relative; border-radius: 24px; padding: 28px 26px 26px; background: rgba(14, 14, 17, .55); overflow: hidden; }
.how-step::before { content: ''; position: absolute; left: 26px; right: 26px; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .5), transparent); opacity: 0; transition: opacity .6s; }
.how-step.in::before { opacity: 1; }
.how-n { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; font-family: var(--mono); font-size: 13px; border: 1px solid var(--line); background: rgba(255, 255, 255, .05); }
.how-step h3 { font-size: 22px; letter-spacing: -.035em; font-weight: 600; margin: 22px 0 8px; }
.how-step p { margin: 0; color: var(--text-2); font-size: 15px; text-wrap: pretty; }
@media (max-width: 860px) { .how { grid-template-columns: 1fr; } }

/* ───────── feature tour ───────── */
.tour { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.tour-steps { display: grid; gap: 0; }
.tour-step { padding: 26px 0 26px 24px; border-left: 1px solid var(--line); min-height: 46vh; display: flex; flex-direction: column; justify-content: center; position: relative; transition: opacity .5s; opacity: .38; }
.tour-step::before { content: ''; position: absolute; left: -1px; top: 20%; bottom: 20%; width: 2px; border-radius: 2px; background: #fff; box-shadow: 0 0 14px rgba(255, 255, 255, .7); transform: scaleY(0); transition: transform .6s var(--ease); }
.tour-step.on { opacity: 1; }
.tour-step.on::before { transform: none; }
.tour-k { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); }
.tour-step h3 { font-size: clamp(24px, 2.4vw, 32px); letter-spacing: -.04em; line-height: 1.08; font-weight: 600; margin: 12px 0 10px; }
.tour-step p { margin: 0; color: var(--text-2); font-size: 15.5px; text-wrap: pretty; }
.tour-inline { display: none; }
.tour-frame { position: sticky; top: calc(50vh - min(26vw, 290px)); border-radius: 20px; overflow: hidden; background: rgba(14, 14, 17, .7); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 50px 100px -40px rgba(0, 0, 0, .9); }
.tour-shots { position: relative; aspect-ratio: 16 / 10; background: #000; }
.tour-shots img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.035); filter: blur(6px); transition: opacity .7s var(--ease), transform 1.1s var(--ease), filter .7s var(--ease); }
.tour-shots img.on { opacity: 1; transform: none; filter: none; }
.tour-dots { position: absolute; right: 16px; bottom: 14px; display: flex; gap: 6px; }
.tour-dots i { width: 6px; height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .25); transition: width .4s var(--ease), background .4s; }
.tour-dots i.on { width: 20px; background: #fff; }
@media (max-width: 920px) {
  .tour { grid-template-columns: 1fr; }
  .tour-frame { display: none; }
  .tour-step { min-height: 0; opacity: 1; padding: 0 0 44px; border-left: 0; }
  .tour-step::before { display: none; }
  .tour-inline { display: block; width: 100%; height: auto; margin-top: 20px; border-radius: 14px; border: 1px solid var(--line); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .9); }
}

/* ───────── 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: 480px; 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); white-space: nowrap; }
.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; } }

/* leaderboard */
.lb { display: grid; gap: 6px; }
.lb-row { display: grid; grid-template-columns: 16px 28px 1fr auto; align-items: center; gap: 10px; padding: 8px 11px; border-radius: 12px; background: rgba(255, 255, 255, .035); border: 1px solid var(--line-2); font-size: 13px; transform: translateX(-10px); opacity: 0; transition: transform .7s var(--ease), opacity .7s var(--ease); }
.lb-row:nth-child(2) { transition-delay: .08s; } .lb-row:nth-child(3) { transition-delay: .16s; } .lb-row:nth-child(4) { transition-delay: .24s; }
.tile.in .lb-row { transform: none; opacity: 1; }
.tile.in .lb-row.dim { opacity: .45; }
.lb-n { font-family: var(--mono); font-size: 11.5px; color: var(--text-3); }
.lb-av { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 10px; font-weight: 700; color: #000; background: linear-gradient(140deg, #fff, #8d8f99); }
.lb-row b { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lb-row .num { font-weight: 600; }
.lb-row:first-child { border-color: rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .07); }

/* 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); }

/* phone */
.phone { display: grid; place-items: center; padding-top: 18px; height: 200px; overflow: hidden; }
.ph-body { position: relative; width: 156px; aspect-ratio: 390 / 844; border-radius: 28px; padding: 6px; margin-top: 40px; border: 1.5px solid rgba(255, 255, 255, .18); background: #050505; box-shadow: 0 -20px 60px -20px rgba(255, 255, 255, .15); transition: transform .6s var(--ease); }
.ph-body img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 22px; }
.tile:hover .ph-body { transform: translateY(-22px); }

/* security */
.lock { display: flex; align-items: center; gap: 18px; color: var(--text-2); }
.lock svg { filter: drop-shadow(0 0 18px rgba(255, 255, 255, .25)); }
.lock-code { font-family: var(--mono); font-size: 26px; letter-spacing: .06em; color: var(--text); padding: 10px 14px; border-radius: 14px; border: 1px solid var(--line); background: rgba(0, 0, 0, .3); position: relative; overflow: hidden; }
.lock-code::after { content: ''; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: #fff; transform-origin: left; animation: totp 6s linear infinite; }
@keyframes totp { from { transform: scaleX(1); } to { transform: scaleX(0); } }

/* 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; }

/* ───────── share studio ───────── */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.split-copy p { color: var(--text-2); font-size: clamp(16px, 1.4vw, 18px); margin: 0; text-wrap: pretty; }
.split-shot { margin: 0; border-radius: 20px; overflow: hidden; transform: perspective(1400px) rotateY(-8deg) rotateX(3deg); transition: transform .9s var(--ease); box-shadow: 0 60px 120px -40px rgba(0, 0, 0, .95), 0 0 100px -30px rgba(255, 255, 255, .12); }
.split-shot:hover { transform: perspective(1400px) rotateY(-2deg) rotateX(1deg); }
.split-shot img { display: block; width: 100%; height: auto; }
@media (max-width: 920px) { .split { grid-template-columns: 1fr; } .split-shot { transform: none; } }

/* ───────── compare ───────── */
.compare { border-radius: 24px; overflow-x: auto; background: rgba(14, 14, 17, .6); }
.compare table { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 14.5px; }
.compare th, .compare td { padding: 16px 20px; text-align: center; border-bottom: 1px solid var(--line-2); color: var(--text-2); }
.compare tbody tr:last-child > * { border-bottom: 0; }
.compare tbody th { text-align: left; font-weight: 500; color: var(--text); }
.compare thead th { font-size: 13px; font-weight: 600; letter-spacing: .02em; color: var(--text-3); padding-top: 20px; }
.compare thead th.us { color: var(--text); font-family: var(--brand-font); font-weight: 500; font-size: 14px; }
.compare thead th.us img { vertical-align: -4px; margin-right: 7px; }
.compare .us { background: rgba(255, 255, 255, .045); color: var(--text); }
.compare i { display: inline-block; width: 22px; height: 22px; border-radius: 50%; vertical-align: middle; }
.compare i.y { background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E") center / 13px no-repeat; box-shadow: 0 0 16px rgba(255, 255, 255, .35); }
.compare i.n { background: rgba(255, 255, 255, .06) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-opacity='.45' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M8 12h8'/%3E%3C/svg%3E") center / 14px no-repeat; }

/* ───────── pricing ───────── */
.price-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 480px); gap: clamp(36px, 7vw, 96px); align-items: center; }
.price-copy p { color: var(--text-2); font-size: clamp(16px, 1.4vw, 18px); max-width: 480px; margin: 0; }
.price-card { position: relative; border-radius: 28px; padding: 30px; background: rgba(14, 14, 17, .7); }
.price-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; } }
.pc-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.pc-name { font-family: var(--brand-font); font-weight: 500; font-size: 17px; }
.pc-tag { font-size: 12px; font-weight: 600; padding: 5px 11px; border-radius: 999px; background: #fff; color: #000; }
.pc-price { display: flex; align-items: baseline; gap: 10px; margin: 14px 0 4px; }
.pc-price b { font-size: 84px; font-weight: 600; letter-spacing: -.06em; line-height: 1; filter: drop-shadow(0 0 30px rgba(255, 255, 255, .2)); padding-right: .04em; }
.pc-price span { color: var(--text-3); font-size: 15px; }
.pc-cta { width: 100%; margin-top: 28px; }
.fine { margin: 14px 0 0; font-size: 13px; color: var(--text-3); text-align: center; }
.fine a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, .3); }
@media (max-width: 920px) { .price-wrap { grid-template-columns: 1fr; } }

/* ───────── faq ───────── */
.faq-wrap { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.faq-wrap .section-head { position: sticky; top: 110px; }
.faq { display: grid; gap: 10px; }
.faq details { border-radius: 18px; border: 1px solid var(--line); background: rgba(14, 14, 17, .55); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); transition: border-color .3s, background .3s; }
.faq details[open] { border-color: rgba(255, 255, 255, .16); background: rgba(22, 22, 26, .7); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 19px 22px; font-size: 16.5px; font-weight: 500; letter-spacing: -.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; flex: none; width: 26px; height: 26px; border-radius: 9px; border: 1px solid var(--line); background: rgba(255, 255, 255, .04) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 12px no-repeat; transition: transform .4s var(--ease); }
.faq details[open] summary::after { transform: rotate(135deg); }
.faq details p { margin: 0; padding: 0 22px 20px; color: var(--text-2); font-size: 15px; text-wrap: pretty; animation: faqIn .5s var(--ease); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } }
@media (max-width: 920px) { .faq-wrap { grid-template-columns: 1fr; } .faq-wrap .section-head { position: static; margin-bottom: 8px; } }

/* ───────── statement: full-bleed liquid mercury ───────── */
.statement { position: relative; margin-top: clamp(90px, 12vw, 150px); min-height: 92vh; min-height: 92svh; display: grid; place-items: center; overflow: hidden; padding: 120px var(--gutter); text-align: center; isolation: isolate;
  -webkit-mask-image: linear-gradient(transparent, #000 14%, #000 86%, transparent); mask-image: linear-gradient(transparent, #000 14%, #000 86%, transparent); }
.liquid { position: absolute; inset: -10%; z-index: -1; filter: blur(60px) saturate(120%); opacity: .9; }
.liquid i { position: absolute; border-radius: 50%; mix-blend-mode: screen; will-change: transform; }
.liquid i:nth-child(1) { width: 62vw; height: 46vw; left: 6%; top: 18%; background: radial-gradient(closest-side, rgba(214, 220, 232, .55), transparent); animation: drift1 26s ease-in-out infinite alternate; }
.liquid i:nth-child(2) { width: 54vw; height: 54vw; right: 2%; top: 4%; background: radial-gradient(closest-side, rgba(70, 104, 190, .55), transparent); animation: drift2 31s ease-in-out infinite alternate; }
.liquid i:nth-child(3) { width: 44vw; height: 36vw; left: 30%; bottom: 0; background: radial-gradient(closest-side, rgba(150, 160, 185, .45), transparent); animation: drift3 23s ease-in-out infinite alternate; }
.liquid i:nth-child(4) { width: 30vw; height: 30vw; left: 58%; top: 40%; background: radial-gradient(closest-side, rgba(255, 255, 255, .35), transparent); animation: drift1 19s -6s ease-in-out infinite alternate-reverse; }
@keyframes drift1 { to { transform: translate(14vw, -6vw) scale(1.15) rotate(25deg); } }
@keyframes drift2 { to { transform: translate(-18vw, 10vw) scale(.85) rotate(-30deg); } }
@keyframes drift3 { to { transform: translate(-8vw, -14vw) scale(1.25); } }
.statement::after { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 60% at 50% 50%, transparent, rgba(5, 6, 10, .65)); }
.statement-copy { max-width: 980px; }
.statement h2 { font-size: clamp(40px, 6.6vw, 96px); line-height: .96; margin: 22px 0 26px; }
.statement h2 em { color: rgba(255, 255, 255, .78); }
.statement p { color: var(--text-2); font-size: clamp(16px, 1.5vw, 19px); max-width: 600px; margin: 0 auto 32px; text-wrap: pretty; }
.statement .kicker::after { content: ''; width: 22px; height: 1px; background: currentColor; }

/* ───────── sheet: a bright section that slides over the dark page ───────── */
.sheet { position: relative; margin: clamp(90px, 12vw, 150px) clamp(8px, 1.6vw, 22px) 0; border-radius: clamp(28px, 4vw, 56px); background: #f2f1ed; color: #0b0b0d; padding-bottom: clamp(80px, 10vw, 130px); box-shadow: 0 -40px 120px -40px rgba(255, 255, 255, .18); overflow: hidden; }
.sheet::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(60% 50% at 85% 0%, rgba(140, 160, 200, .22), transparent 70%), radial-gradient(50% 40% at 0% 100%, rgba(255, 255, 255, .9), transparent 70%); }
.light { --text: rgba(11, 11, 13, .94); --text-2: rgba(11, 11, 13, .66); --text-3: rgba(11, 11, 13, .58); --line: rgba(0, 0, 0, .1); --line-2: rgba(0, 0, 0, .06); }
.light .section { position: relative; padding-top: clamp(70px, 9vw, 120px); }
.light .ticks li::before { background-color: #0b0b0d; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E"); border-color: transparent; }
.light h2 em { color: rgba(11, 11, 13, .5); }
.light .split-shot { border-color: rgba(0, 0, 0, .1); background: #0b0b0d; box-shadow: 0 50px 100px -40px rgba(10, 14, 30, .55), 0 20px 40px -24px rgba(0, 0, 0, .35); }

/* ───────── final band ───────── */
.final { position: relative; margin-top: clamp(110px, 14vw, 180px); min-height: 88vh; min-height: 88svh; display: grid; place-items: center; overflow: hidden; padding: 100px var(--gutter); text-align: center; isolation: isolate; }
.final-glow { position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(60% 55% at 50% 100%, rgba(64, 110, 255, .55), transparent 70%),
  radial-gradient(45% 40% at 50% 85%, rgba(170, 196, 255, .35), transparent 70%),
  linear-gradient(180deg, transparent, rgba(8, 18, 52, .9) 60%, #040a1d); }
.final-glow::after { content: ''; position: absolute; left: 50%; bottom: -30%; width: 140vw; height: 70vh; transform: translateX(-50%); border-radius: 50%; border-top: 1px solid rgba(190, 210, 255, .6); box-shadow: 0 -30px 90px -10px rgba(120, 160, 255, .55); }
.final-card { max-width: 820px; }
.final-card h2 { font-size: clamp(42px, 6.4vw, 92px); }
.final-card p { color: var(--text-2); font-size: 18px; margin: 0 0 30px; }
.final-mark { display: block; margin: 0 auto; width: min(340px, 64vw); height: auto; filter: drop-shadow(0 18px 40px rgba(0, 0, 0, .5)) drop-shadow(0 0 30px rgba(140, 170, 255, .35)); animation: float 7s ease-in-out infinite; }
.final-card { position: relative; }
.final-card::before { content: ''; position: absolute; left: 50%; top: 0; width: min(420px, 80vw); aspect-ratio: 1.6; transform: translate(-50%, -8%); border-radius: 50%; background: radial-gradient(closest-side, rgba(150, 180, 255, .28), transparent); z-index: -1; pointer-events: none; }
@keyframes float { 50% { transform: translateY(-12px) rotate(-2deg); } }
.final + footer { margin-top: 0; background: #040a1d; }

/* ───────── 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, 14vw, 180px); 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-links { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.foot-links a:hover { color: var(--text); }
.wordmark {
  font-family: var(--brand-font); font-size: clamp(60px, 17vw, 250px); font-weight: 600; letter-spacing: -.05em; 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: 10px; } }

/* ───────── reduced motion ───────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal] { opacity: 1; transform: none; filter: none; transition: none; }
  .ticker-track, .xchg-track { animation: none; }
  .grain, .chrome-text, .dot, .shine::after, .price-card::before, .scroll-hint span, .final-mark, .lock-code::after, .liquid i { animation: none; }
  .window { --tilt: 0deg !important; --scale: 1 !important; }
  .tour-shots img { transition: opacity .2s; transform: none; filter: none; }
  .lb-row { transform: none; opacity: 1; }
}

/* ───────── redesign additions (Nov 2026) ───────── */
.skip { position: fixed; left: 12px; top: -60px; z-index: 400; padding: 10px 16px; border-radius: 12px; background: #fff; color: #000; font-weight: 600; font-size: 14px; transition: top .2s; }
.skip:focus { top: 12px; }

/* nav: the section in view, and a menu for small screens */
.nav { flex-direction: column; align-items: center; }
.nav-links a[aria-current="true"] { color: var(--text); background: rgba(255, 255, 255, .1); }
.nav.on-light .nav-links a[aria-current="true"] { color: #0b0b0d; background: rgba(0, 0, 0, .07); }
.nav-menu { display: none; align-items: center; gap: 9px; height: 38px; padding: 0 12px 0 14px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--text-2); transition: color .2s, background .2s; }
.nav-menu:hover, .nav-menu[aria-expanded="true"] { color: var(--text); background: rgba(255, 255, 255, .09); }
.nav-menu i { position: relative; width: 14px; height: 8px; }
.nav-menu i::before, .nav-menu i::after { content: ''; position: absolute; left: 0; right: 0; height: 1.5px; border-radius: 2px; background: currentColor; transition: transform .3s var(--ease), top .3s var(--ease); }
.nav-menu i::before { top: 0; }
.nav-menu i::after { top: 6.5px; }
.nav-menu[aria-expanded="true"] i::before { top: 3.25px; transform: rotate(45deg); }
.nav-menu[aria-expanded="true"] i::after { top: 3.25px; transform: rotate(-45deg); }
.nav.on-light .nav-menu { color: rgba(10, 10, 12, .7); }
.nav-sheet { pointer-events: auto; width: min(1180px, 100%); margin-top: 8px; padding: 8px; border-radius: 24px; display: grid; gap: 2px;
  background: rgba(12, 12, 15, .97); backdrop-filter: blur(24px) saturate(160%); -webkit-backdrop-filter: blur(24px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .85); animation: sheetIn .35s var(--ease); }
.nav-sheet[hidden] { display: none; }
.nav-sheet a { display: flex; align-items: center; justify-content: space-between; min-height: 50px; padding: 0 16px; border-radius: 16px; font-size: 17px; font-weight: 500; letter-spacing: -.01em; color: var(--text); }
.nav-sheet a::after { content: '\2192'; color: var(--text-3); font-size: 15px; }
.nav-sheet a:hover, .nav-sheet a:focus-visible { background: rgba(255, 255, 255, .07); }
.nav-sheet .ns-signin { margin-top: 6px; border-top: 1px solid var(--line); border-radius: 0 0 16px 16px; color: var(--text-2); }
@keyframes sheetIn { from { opacity: 0; transform: translateY(-8px) scale(.98); } }
@media (max-width: 980px) { .nav-menu { display: inline-flex; } }
@media (min-width: 981px) { .nav-sheet { display: none !important; } }
@media (max-width: 420px) { .nav-signin { display: none; } .nav-menu span { display: none; } .nav-menu { padding: 0 12px; } }

/* manifesto: one sentence with the product inline; the words light up as you read */
.manifesto { position: relative; max-width: var(--max); margin: 0 auto; padding: clamp(110px, 14vw, 190px) var(--gutter) 0; }
.mf { font-size: clamp(30px, 4.6vw, 64px); line-height: 1.13; letter-spacing: -.045em; font-weight: 500; margin: 26px 0 0; max-width: 1120px; text-wrap: pretty; }
.mf .mw { transition: color .35s; }
.js .mf .mw { color: rgba(255, 255, 255, .22); }
.js .mf .mw.lit { color: var(--text); }
.mf-chip { display: inline-grid; place-items: center; width: 1.12em; height: 1.12em; margin: 0 .06em; vertical-align: -.2em; border-radius: .3em; color: #fff;
  background: radial-gradient(120% 120% at 30% 0%, #3a3b44, #0d0d10 70%); border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 12px 30px -10px rgba(0, 0, 0, .9); transform: rotate(-4deg) scale(.86); opacity: .35; transition: transform .6s cubic-bezier(.2, 1.5, .4, 1), opacity .4s; }
.mf-chip.r { transform: rotate(5deg) scale(.86); }
.mf-chip svg { width: 74%; height: 74%; display: block; }
.mf-chip.lit, html:not(.js) .mf-chip { transform: rotate(-4deg); opacity: 1; }
.mf-chip.lit.r { transform: rotate(5deg); }
.mf-pulse { animation: mfPulse 1.8s ease-in-out infinite; transform-origin: 31px 26.5px; }
@keyframes mfPulse { 50% { opacity: .35; transform: scale(.7); } }
.mf-sub { color: var(--text-2); font-size: clamp(16px, 1.4vw, 18px); max-width: 520px; margin: 30px 0 0; }

/* how it works: an open, connected sequence instead of three boxes */
.how { gap: clamp(20px, 3vw, 40px); position: relative; }
.how::before { content: ''; position: absolute; left: 23px; right: 23px; top: 23px; height: 1px; background: linear-gradient(90deg, rgba(255, 255, 255, .35), rgba(255, 255, 255, .06)); }
.how-step { background: none; border: 0; border-radius: 0; padding: 0; overflow: visible; box-shadow: none; }
.how-step::before { display: none; }
.how-n { position: relative; background: #0b0b0e; border-color: rgba(255, 255, 255, .16); box-shadow: 0 0 0 6px var(--bg); }
.how-step.in .how-n { border-color: rgba(255, 255, 255, .42); box-shadow: 0 0 0 6px var(--bg), 0 0 24px -4px rgba(255, 255, 255, .35); transition: box-shadow 1s .3s, border-color 1s .3s; }
.how-step h3 { margin-top: 20px; }
.how-step p { max-width: 360px; }
@media (max-width: 860px) {
  .how::before { right: auto; bottom: 23px; width: 1px; height: auto; background: linear-gradient(180deg, rgba(255, 255, 255, .35), rgba(255, 255, 255, .06)); }
  .how-step { display: grid; grid-template-columns: 46px 1fr; column-gap: 18px; }
  .how-step h3 { margin: 10px 0 6px; }
  .how-step p { grid-column: 2; }
}

/* integrations: what each connection is, at a glance */
.pf-i { width: 38px; height: 38px; margin-bottom: 10px; border-radius: 12px; display: grid; place-items: center; color: var(--text);
  background: linear-gradient(140deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .02)); border: 1px solid var(--line); }

/* feature tour: labels are buttons, the frame counts */
.tour-k { display: inline-flex; align-self: flex-start; padding: 4px 0; border-radius: 6px; font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); cursor: pointer; transition: color .2s; }
.tour-k:hover, .tour-step.on .tour-k { color: var(--text); }
.tour-frame { margin: 0; }
.tour-frame .w-bar { position: relative; }
.w-count { position: absolute; right: 16px; font-family: var(--mono); font-size: 11px; color: var(--text-3); letter-spacing: .08em; }
@media (max-width: 920px) { .tour-k { cursor: default; pointer-events: none; } }

/* pricing absorbs the comparison */
.compare-head { margin: clamp(70px, 8vw, 110px) 0 26px; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px 30px; flex-wrap: wrap; }
.compare-head h3 { font-size: clamp(26px, 3vw, 40px); font-weight: 600; letter-spacing: -.045em; line-height: 1.02; margin: 0; }
.compare-head h3 em { color: var(--text-2); }
.compare-head p { margin: 0; color: var(--text-2); font-size: 15px; }

/* phones: a call to action that floats once the hero's has scrolled away */
.dock { position: fixed; left: 50%; bottom: calc(14px + env(safe-area-inset-bottom)); z-index: 60; display: none; align-items: center; gap: 12px; width: min(420px, calc(100vw - 24px)); padding: 9px 16px 9px 9px;
  border-radius: 20px; background: rgba(250, 250, 252, .97); color: #0b0b0d; box-shadow: 0 20px 50px -14px rgba(0, 0, 0, .85), 0 0 0 1px rgba(255, 255, 255, .2);
  transform: translate(-50%, 160%); visibility: hidden; transition: transform .5s var(--ease), visibility 0s .5s; }
.dock img { width: 36px; height: 36px; padding: 7px; border-radius: 12px; background: #0b0b0d; }
.dock span { display: grid; flex: 1; line-height: 1.25; }
.dock b { font-size: 14.5px; font-weight: 600; letter-spacing: -.01em; }
.dock small { font-size: 12px; color: rgba(11, 11, 13, .62); }
.dock.show { transform: translate(-50%, 0); visibility: visible; transition: transform .5s var(--ease), visibility 0s; }
@media (max-width: 760px) { .dock { display: flex; } footer { padding-bottom: 100px; } }

@media (prefers-reduced-motion: reduce) {
  .mf-pulse { animation: none; }
  .js .mf .mw { color: var(--text); }
  .mf-chip { transform: none !important; opacity: 1; transition: none; }
  .dock { transition: none; }
  .nav-sheet { animation: none; }
}

/* phones: the product as it looks on a phone, not a shrunken desktop */
@media (max-width: 600px) {
  .window { max-width: 340px; margin: 0 auto; border-radius: 40px; padding: 8px; }
  .window .w-glass { border-radius: 32px; }
  .window .w-bar { display: none; }
  .w-shot { aspect-ratio: 780 / 1180; object-fit: cover; object-position: top; }
  .stage { padding-bottom: 60px; }
}

/* ───────── light sheets (Nov 2026, v2.1): black and white, no extra colour ───────── */
/* the manifesto on white; its chips are small black chrome tiles */
.sheet-what { background: #f6f6f4; }
.sheet-what .manifesto { padding-top: clamp(70px, 9vw, 120px); }
.js .light .mf .mw { color: rgba(11, 11, 13, .15); }
.js .light .mf .mw.lit { color: var(--text); }
.light .mf-chip { border: 0; background: radial-gradient(120% 120% at 30% 0%, #4a4b55, #0b0b0e 65%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 14px 28px -12px rgba(0, 0, 0, .55); }
.light .mf-sub { color: var(--text-2); }

/* pricing on white; the $0 card stays a dark, chrome-edged object on it */
.sheet-pricing { background: #f2f1ed; }
.light .price-card {
  --text: rgba(255, 255, 255, .93); --text-2: rgba(255, 255, 255, .66); --text-3: rgba(255, 255, 255, .54); --line: rgba(255, 255, 255, .08); --line-2: rgba(255, 255, 255, .045);
  color: var(--text); background: radial-gradient(120% 80% at 80% 0%, #24252d, #0b0b0e 60%);
  box-shadow: 0 50px 90px -30px rgba(10, 10, 20, .55), 0 0 0 1px rgba(0, 0, 0, .1); transform: rotate(-1.2deg); transition: transform .8s var(--ease); }
.light .price-card:hover { transform: none; }
.light .price-card .ticks li::before { background-color: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .1); }
.light .compare { background: rgba(255, 255, 255, .8); border: 1px solid rgba(0, 0, 0, .07); box-shadow: 0 30px 70px -36px rgba(10, 10, 20, .35); backdrop-filter: none; -webkit-backdrop-filter: none; }
.light .compare .us { background: rgba(11, 11, 13, .045); }
.light .compare thead th.us img { filter: invert(1); }
.light .compare i.y { background: #0b0b0d url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E") center / 13px no-repeat; box-shadow: 0 6px 14px -6px rgba(0, 0, 0, .5); }
.light .compare i.n { background: rgba(0, 0, 0, .05) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-opacity='.4' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M8 12h8'/%3E%3C/svg%3E") center / 14px no-repeat; }
.light .compare-head h3 em { color: rgba(11, 11, 13, .5); }
@media (prefers-reduced-motion: reduce) { .light .price-card { transform: none; } }

/* ───────── product video in a liquid-glass bezel, peeking at the bottom of the first screen ───────── */
.window { position: relative; padding: 10px; border-radius: 30px; overflow: visible;
  background: linear-gradient(160deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .035) 38%, rgba(255, 255, 255, .02) 62%, rgba(255, 255, 255, .09));
  backdrop-filter: blur(22px) saturate(170%) brightness(1.08); -webkit-backdrop-filter: blur(22px) saturate(170%) brightness(1.08);
  border: 1px solid rgba(255, 255, 255, .2);
  box-shadow: inset 0 1.5px 0 rgba(255, 255, 255, .45), inset 0 -1px 0 rgba(255, 255, 255, .12), inset 0 0 0 1px rgba(255, 255, 255, .04), inset 0 18px 30px -22px rgba(255, 255, 255, .5),
    0 60px 120px -40px rgba(0, 0, 0, .9), 0 0 140px -30px rgba(255, 255, 255, .18); }
/* a specular streak that slides across the glass as you scroll */
.window::before { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 2;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .16) 44%, rgba(255, 255, 255, .04) 50%, transparent 58%);
  background-size: 260% 100%; background-position: var(--sheen, 80%) 0; mix-blend-mode: screen; }
/* light pooling under the glass where it meets the fold */
.stage::before { content: ''; position: absolute; left: 8%; right: 8%; top: -60px; height: 180px; z-index: -1; pointer-events: none;
  background: radial-gradient(50% 50% at 50% 60%, rgba(255, 255, 255, .14), transparent 70%); filter: blur(20px); }
.w-glass { position: relative; border-radius: 21px; overflow: hidden; background: rgba(8, 8, 10, .92); box-shadow: 0 0 0 1px rgba(0, 0, 0, .6); }
.w-media { position: relative; }
.w-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .8s var(--ease); background: transparent; }
.w-media.playing .w-video { opacity: 1; }
.w-bar { position: relative; }
.w-play { position: absolute; right: 10px; top: 50%; width: 26px; height: 26px; margin-top: -13px; border-radius: 50%; display: grid; place-items: center; color: var(--text-2); background: rgba(255, 255, 255, .06); border: 1px solid var(--line); transition: color .2s, background .2s; }
.w-play:hover { color: var(--text); background: rgba(255, 255, 255, .12); }
.w-play[hidden] { display: none; }
/* desktop: the hero is a little shorter than the screen, so the glass shows at the bottom */
@media (min-aspect-ratio: 23/20) {
  .hero { min-height: calc(100vh - clamp(110px, 17vh, 180px)); min-height: calc(100svh - clamp(110px, 17svh, 180px)); padding-bottom: 40px; }
  .scroll-hint { display: none; }
}
@media (max-aspect-ratio: 23/20) { .hero { padding-bottom: 12px; } }
@media (max-width: 520px) { .window { border-radius: 26px; padding: 7px; } .w-glass { border-radius: 19px; } }
@media (prefers-reduced-motion: reduce) { .window::before { display: none; } .w-video { display: none; } }

/* tablets in portrait: a little more room under the mark */
@media (min-aspect-ratio: 3/5) and (max-aspect-ratio: 23/20) { .hero { padding-top: 33vh; padding-top: 33svh; } }
