/* Steeze Swap landing pages.
   Colours come from the brand guide. Fonts, spacing (0 2 4 8 12 16 24 32 40 48 64 80 96),
   type scale, radius and motion come from the redesign skill's design values. */

@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/geist-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/geist-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #0F1220;
  --card: #1C2135;
  --text: #F1F2F7;
  --text-2: #C9CDE0;
  --text-3: #A6ACC4;
  --text-4: #8990AC;
  --cobalt: #2747F0;
  --violet: #9C7BFF;
  --red: #FF3B2A;
  --white: #FFFFFF;
  --line: rgba(241, 242, 247, .12);
  --line-2: rgba(241, 242, 247, .2);
  --shadow: 0 24px 48px rgba(15, 18, 32, .8);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --move: 500ms;
  --fade: 300ms;
  --wrap: 1200px;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 128px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Geist', system-ui, sans-serif;
  font-size: 16px;
  line-height: 24px;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, dl, dd { margin: 0; }
h1, h2, h3 { font-weight: 700; text-wrap: balance; }
p { text-wrap: pretty; }
a { color: inherit; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; }
.num { font-variant-numeric: tabular-nums; }
.i { width: 20px; height: 20px; flex: none; }
.i-sm { width: 16px; height: 16px; }
.i-lg { width: 24px; height: 24px; }

.page { min-height: 100dvh; overflow-x: clip; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.sec { padding-top: 64px; padding-bottom: 80px; }
@media (min-width: 1024px) { .sec { padding-top: 80px; padding-bottom: 96px; } }

.skip {
  position: absolute; left: 16px; top: 16px; z-index: 100;
  padding: 8px 12px; border-radius: 8px;
  background: var(--text); color: var(--bg); font-weight: 600; text-decoration: none;
  transform: translateY(-160%);
  transition: transform var(--move) var(--ease);
}
.skip:focus { transform: none; }

/* ---------- type ---------- */
.wm {
  /* the logo wordmark is a brand mark, set in Syne and squeezed as the brand guide asks */
  font-family: 'Syne', sans-serif; font-weight: 800; text-transform: uppercase;
  letter-spacing: -0.065em; display: inline-block; white-space: nowrap;
  transform: scaleX(.82); transform-origin: left center;
}
.h1 { font-size: 48px; line-height: 1; letter-spacing: -0.04em; max-width: 680px; }
.h2 { font-size: 36px; line-height: 40px; letter-spacing: -0.03em; }
.h3 { font-size: 20px; line-height: 28px; letter-spacing: -0.01em; }
@media (min-width: 1024px) {
  .h1 { font-size: 72px; }
  .h2 { font-size: 60px; line-height: 1; }
}
.lead { font-size: 18px; line-height: 28px; color: var(--text-2); max-width: 560px; }
@media (min-width: 1024px) { .lead { font-size: 20px; } }
.body { color: var(--text-2); }
.small { font-size: 14px; line-height: 20px; }
.xs { font-size: 12px; line-height: 16px; }
.muted { color: var(--text-3); }
.eyebrow { font-size: 14px; line-height: 20px; font-weight: 600; letter-spacing: .02em; color: var(--text-3); }
.stack { display: flex; flex-direction: column; gap: 16px; }
.stack-lg { display: flex; flex-direction: column; gap: 24px; }
.sec-head { margin-bottom: 48px; }

/* headline words rise in one after another */
.mask { display: inline-block; overflow: hidden; vertical-align: bottom; margin-right: .25em; padding-bottom: .1em; margin-bottom: -.1em; }
.w { display: inline-block; animation: rise 800ms var(--ease) both; }
.mask:nth-child(1) .w { animation-delay: 50ms; }
.mask:nth-child(2) .w { animation-delay: 120ms; }
.mask:nth-child(3) .w { animation-delay: 190ms; }
.mask:nth-child(4) .w { animation-delay: 260ms; }
.mask:nth-child(5) .w { animation-delay: 330ms; }
.mask:nth-child(6) .w { animation-delay: 400ms; }
.mask:nth-child(7) .w { animation-delay: 470ms; }
.mask:nth-child(8) .w { animation-delay: 540ms; }
.mask:nth-child(9) .w { animation-delay: 610ms; }
.mask:nth-child(10) .w { animation-delay: 680ms; }
.mask:nth-child(11) .w { animation-delay: 750ms; }
@keyframes rise { from { opacity: 0; transform: translateY(60%); } to { opacity: 1; transform: none; } }

/* ---------- buttons, links, fields ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 8px 12px; border: 0; border-radius: 8px; cursor: pointer; text-decoration: none;
  font-size: 16px; line-height: 24px; font-weight: 600;
  transition: transform var(--move) var(--ease), box-shadow var(--fade) var(--ease), background-color var(--fade) var(--ease);
}
.btn-red { background: var(--red); color: var(--bg); }
.btn-red:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(255, 59, 42, .35); color: var(--bg); }
.btn:active { transform: scale(.98); }
.btn-block { width: 100%; }
.btn-sm { font-size: 14px; line-height: 20px; border-radius: 9999px; }
.link { display: inline-flex; align-items: center; gap: 8px; align-self: center; font-weight: 600; text-decoration: none; color: var(--text); }
.link .i { transition: transform var(--move) var(--ease); }
.link:hover .i { transform: translateX(4px); }
.link:active { transform: translateY(1px); }
.textbtn { align-self: flex-start; padding: 4px 0; border: 0; background: none; font-weight: 600; color: var(--text); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }

.form { display: flex; flex-direction: column; gap: 12px; max-width: 560px; }
.form-row { display: grid; gap: 12px; }
@media (min-width: 640px) { .form-row { grid-template-columns: 3fr 2fr; } }
.fieldset { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.label { font-size: 14px; line-height: 20px; font-weight: 600; color: var(--text-2); }
.field {
  width: 100%; padding: 12px 16px; border-radius: 8px; border: 1px solid var(--line-2);
  background: var(--card); color: var(--text); font: inherit; font-size: 16px; line-height: 24px;
  transition: border-color var(--fade) var(--ease), box-shadow var(--fade) var(--ease);
}
.field::placeholder { color: var(--text-4); }
.field:focus { outline: none; border-color: var(--cobalt); box-shadow: 0 0 0 4px rgba(39, 71, 240, .3); }
.error { font-size: 14px; line-height: 20px; color: var(--red); }
.success { display: flex; gap: 16px; align-items: flex-start; padding: 24px; border-radius: 8px; background: var(--card); max-width: 560px; animation: pop 500ms var(--ease) both; }
.done-text { display: flex; flex-direction: column; gap: 8px; }
.done-icon { width: 40px; height: 40px; border-radius: 9999px; display: grid; place-items: center; flex: none; background: var(--cobalt); color: var(--white); }

/* ---------- brand tags ---------- */
.checked { align-self: flex-start; display: inline-flex; align-items: center; gap: 4px; padding: 4px 8px; border-radius: 4px; background: var(--cobalt); color: var(--white); font-size: 14px; line-height: 20px; font-weight: 600; }
.fresh { padding: 2px 8px; border-radius: 4px; border: 1px solid var(--violet); color: var(--violet); background: rgba(15, 18, 32, .6); font-size: 12px; line-height: 16px; font-weight: 600; }

/* ---------- nav and phone menu ---------- */
.top { position: sticky; top: 16px; z-index: 50; padding: 0 16px; }
.nav {
  position: relative; z-index: 2; max-width: var(--wrap); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 8px 8px 8px 24px; border-radius: 9999px; border: 1px solid var(--line);
  background: rgba(28, 33, 53, .72); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
}
.logo { flex: none; width: 227px; font-size: 24px; line-height: 1; color: var(--text); text-decoration: none; }
.navlinks { display: flex; align-items: center; gap: 4px; }
.navlink { padding: 8px 12px; border-radius: 9999px; font-size: 14px; line-height: 20px; font-weight: 500; color: var(--text-2); text-decoration: none; transition: color var(--fade) var(--ease), background-color var(--fade) var(--ease); }
.navlink:hover { color: var(--text); background: rgba(241, 242, 247, .06); }
.navlink[aria-current="page"] { color: var(--text); background: var(--card); }
.menubtn { display: none; position: relative; width: 40px; height: 40px; border: 0; border-radius: 9999px; background: var(--card); cursor: pointer; transition: transform var(--move) var(--ease); }
.menubtn:active { transform: scale(.98); }
.menubtn span { position: absolute; left: 12px; right: 12px; top: 19px; height: 2px; border-radius: 2px; background: var(--text); transition: transform var(--move) var(--ease), opacity var(--fade) var(--ease); }
.menubtn span:nth-child(1) { transform: translateY(-6px); }
.menubtn span:nth-child(3) { transform: translateY(6px); }
.menubtn.open span:nth-child(1) { transform: rotate(45deg); }
.menubtn.open span:nth-child(2) { opacity: 0; }
.menubtn.open span:nth-child(3) { transform: rotate(-45deg); }
.menu {
  position: fixed; inset: 0; z-index: 1; display: flex; flex-direction: column; gap: 8px;
  padding: 96px 24px 40px; background: var(--bg);
  opacity: 0; visibility: hidden; transition: opacity var(--fade) var(--ease), visibility 0s var(--fade);
}
.menu.open { opacity: 1; visibility: visible; transition: opacity var(--fade) var(--ease); }
.mlink { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 30px; line-height: 36px; font-weight: 600; text-decoration: none; color: var(--text); opacity: 0; transform: translateY(16px); transition: opacity var(--fade) var(--ease), transform var(--move) var(--ease); }
.mlink[aria-current="page"] { color: var(--text-3); }
.menu .btn { margin-top: 24px; opacity: 0; transform: translateY(16px); transition: opacity var(--fade) var(--ease), transform var(--move) var(--ease); }
.menu.open .mlink, .menu.open .btn { opacity: 1; transform: none; }
.menu.open > :nth-child(2) { transition-delay: 60ms; }
.menu.open > :nth-child(3) { transition-delay: 120ms; }
.menu.open > :nth-child(4) { transition-delay: 180ms; }
.menu.open > :nth-child(5) { transition-delay: 240ms; }
@media (max-width: 767px) {
  .navlinks { display: none; }
  .menubtn { display: block; }
  .nav { padding: 8px 8px 8px 16px; }
  .logo { width: 170px; font-size: 18px; }
}
@media (min-width: 768px) { .menu { display: none; } }

/* ---------- scroll reveal: sections fade up once as they enter the viewport ---------- */
.reveal:not(.in) { opacity: 0; }
.reveal.in { animation: up 700ms var(--ease) both; }
.stagger:not(.in) > * { opacity: 0; }
.stagger.in > * { animation: up 700ms var(--ease) both; }
.stagger.in > :nth-child(2) { animation-delay: 80ms; }
.stagger.in > :nth-child(3) { animation-delay: 160ms; }
.stagger.in > :nth-child(4) { animation-delay: 240ms; }
.stagger.in > :nth-child(n+5) { animation-delay: 320ms; }
/* uses `translate`, not `transform`, so hover lifts on cards keep working */
@keyframes up { from { opacity: 0; translate: 0 24px; } to { opacity: 1; translate: 0 0; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(.92); } to { opacity: 1; transform: none; } }
@keyframes screen { from { opacity: 0; transform: translateX(32px); } to { opacity: 1; transform: none; } }
.pop { animation: pop 500ms var(--ease) both; }
.screen { animation: screen 500ms var(--ease) both; }

/* ---------- shared layout pieces ---------- */
.split { display: grid; gap: 48px; align-items: center; }
@media (min-width: 1024px) { .split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }
.card { padding: 24px; border-radius: 8px; background: var(--card); }
@media (min-width: 1024px) { .card { padding: 32px; } }
.lift { transition: transform var(--move) var(--ease); }
.lift:hover { transform: translateY(-4px); }
.icon-tile { width: 40px; height: 40px; border-radius: 8px; display: grid; place-items: center; background: var(--bg); color: var(--text); }
.chip { padding: 8px 16px; border-radius: 9999px; border: 1px solid var(--line-2); background: transparent; color: var(--text-2); font-size: 14px; line-height: 20px; font-weight: 600; cursor: pointer; transition: background-color var(--fade) var(--ease), color var(--fade) var(--ease), border-color var(--fade) var(--ease), transform var(--move) var(--ease); }
.chip:hover { border-color: var(--text-3); color: var(--text); }
.chip:active { transform: scale(.98); }
.chip.on { background: var(--text); border-color: var(--text); color: var(--bg); }
.pill { padding: 8px 16px; border-radius: 9999px; border: 1px solid var(--line-2); color: var(--text-2); font-size: 14px; line-height: 20px; font-weight: 600; }
.row-wrap { display: flex; flex-wrap: wrap; gap: 8px; }
.cta-block { position: relative; overflow: hidden; display: grid; gap: 40px; align-items: center; padding: 40px 24px; border-radius: 8px; background: var(--cobalt); }
@media (min-width: 1024px) { .cta-block { grid-template-columns: 1fr 1fr; padding: 80px; } }
.cta-block .h2 { color: var(--white); }
.cta-block .lead { color: var(--text); }
.cta-mark { position: absolute; right: -40px; bottom: -72px; font-size: 18rem; line-height: 1; color: rgba(241, 242, 247, .08); text-shadow: 12px 12px 0 rgba(255, 59, 42, .18); pointer-events: none; }
.cta-block > :not(.cta-mark) { position: relative; }
.cta-form { position: relative; padding: 24px; border-radius: 8px; background: var(--bg); }
.cta-form .form { max-width: none; }
.foot { max-width: var(--wrap); margin: 0 auto; padding: 24px 24px 48px; display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; font-size: 14px; line-height: 20px; color: var(--text-3); }
.foot .logo { width: 189px; font-size: 20px; }
.foot a:not(.logo) { color: var(--text-2); }

/* ================= seller page ================= */
.hero { display: grid; gap: 48px; align-items: center; padding-top: 64px; padding-bottom: 48px; }
@media (min-width: 1024px) { .hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); padding-top: 80px; padding-bottom: 64px; } }
.hero-copy { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.live { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 9999px; background: var(--card); font-size: 14px; line-height: 20px; font-weight: 500; }
.pulse { width: 8px; height: 8px; border-radius: 9999px; background: var(--cobalt); animation: pulse 1.8s var(--ease) infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(39, 71, 240, .6); } 70% { box-shadow: 0 0 0 8px rgba(39, 71, 240, 0); } 100% { box-shadow: 0 0 0 0 rgba(39, 71, 240, 0); } }

.fanwrap { position: relative; height: 560px; min-width: 0; perspective: 1400px; }
.fanscale { position: absolute; inset: 0; }
.fan { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform var(--move) var(--ease); }
.fan-card {
  position: absolute; left: 50%; top: 50%; width: 13rem; margin: -168px 0 0 -6.5rem;
  border-radius: 8px; overflow: hidden; background: var(--card); box-shadow: var(--shadow);
  transform: var(--t); transition: transform var(--move) var(--ease);
  animation: deal 900ms var(--ease) backwards;
}
.fan-card:hover { transform: var(--t) translateY(-24px) scale(1.05); z-index: 9; }
.fan-card:nth-child(1) { --t: translate(-170px, 40px) rotate(-16deg); animation-delay: 250ms; }
.fan-card:nth-child(2) { --t: translate(-58px, -6px) rotate(-6deg); animation-delay: 370ms; }
.fan-card:nth-child(3) { --t: translate(58px, -6px) rotate(6deg); animation-delay: 490ms; }
.fan-card:nth-child(4) { --t: translate(170px, 40px) rotate(16deg); animation-delay: 610ms; }
@keyframes deal { from { opacity: 0; transform: translateY(120px) scale(.8); } }
.photo { position: relative; aspect-ratio: 4 / 5; background: var(--bg); }
.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo .fresh { position: absolute; top: 12px; left: 12px; }
.heart { position: absolute; right: 12px; bottom: 12px; width: 40px; height: 40px; border: 0; border-radius: 9999px; display: grid; place-items: center; background: var(--bg); color: var(--text); cursor: pointer; transition: transform var(--move) var(--ease), color var(--fade) var(--ease); }
.heart:hover { transform: scale(1.12); }
.heart:active { transform: scale(.9); }
.heart.on { color: var(--red); }
.card-body { display: flex; flex-direction: column; padding: 12px 16px 16px; }
.price { font-size: 18px; line-height: 28px; font-weight: 700; }
.toasts { position: absolute; left: 0; right: 0; bottom: 8px; height: 96px; }
.toast {
  position: absolute; left: 0; right: 0; bottom: 0; margin: 0 auto; width: min(20.5rem, 100%);
  display: flex; gap: 12px; align-items: center; padding: 12px 16px; border-radius: 8px;
  background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow);
  transition: transform var(--move) var(--ease), opacity var(--move) var(--ease);
}
.toast.p0 { transform: none; opacity: 1; z-index: 4; }
.toast.p1 { transform: translateY(-16px) scale(.94); opacity: .7; z-index: 3; }
.toast.p2 { transform: translateY(-24px) scale(.88); opacity: .35; z-index: 2; }
.toast.p3 { transform: translateY(40px) scale(.9); opacity: 0; z-index: 1; }
.toast-icon { width: 40px; height: 40px; border-radius: 8px; display: grid; place-items: center; flex: none; background: var(--bg); color: var(--text); }
.toast-icon.cobalt { background: var(--cobalt); color: var(--white); }
.toast-text { display: flex; flex-direction: column; min-width: 0; }
.toast-text span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.band { margin: 40px -24px 80px; padding: 24px 0; overflow: hidden; background: var(--cobalt); transform: rotate(-2deg); }
.marquee { display: flex; gap: 48px; width: max-content; font-size: 36px; line-height: 40px; font-weight: 700; letter-spacing: -0.02em; color: var(--white); white-space: nowrap; animation: slide 26s linear infinite; }
.marquee .sep { color: rgba(241, 242, 247, .5); }
@keyframes slide { to { transform: translateX(-50%); } }

.toggle { position: relative; align-self: flex-start; display: inline-grid; grid-template-columns: 1fr 1fr; padding: 4px; border: 0; border-radius: 9999px; background: var(--card); cursor: pointer; transition: transform var(--move) var(--ease); }
.toggle:active { transform: scale(.98); }
.knob { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 9999px; background: var(--cobalt); transition: transform var(--move) var(--ease); }
.toggle.steeze .knob { transform: translateX(100%); }
.tlabel { position: relative; padding: 12px 24px; font-weight: 600; color: var(--text-3); transition: color var(--fade) var(--ease); }
.toggle:not(.steeze) .t-ig, .toggle.steeze .t-ss { color: var(--white); }
.panel { display: flex; flex-direction: column; gap: 12px; min-height: 30rem; padding: 24px; border-radius: 8px; background: var(--card); }
.bubble { align-self: flex-start; max-width: 80%; padding: 12px 16px; border-radius: 16px 16px 16px 4px; background: var(--bg); }
.bubble.me { align-self: flex-end; border-radius: 16px 16px 4px 16px; background: var(--cobalt); color: var(--white); }
.seen { align-self: flex-end; }
.verdict { margin-top: 12px; padding-top: 16px; border-top: 1px dashed var(--line-2); font-size: 18px; line-height: 28px; font-weight: 600; }
.chat > :nth-child(2) { animation-delay: 350ms; }
.chat > :nth-child(3) { animation-delay: 700ms; }
.chat > :nth-child(4) { animation-delay: 1050ms; }
.chat > :nth-child(5) { animation-delay: 1400ms; }
.chat > :nth-child(6) { animation-delay: 1750ms; }
.chat > :nth-child(7) { animation-delay: 2300ms; }
.chat > :nth-child(8) { animation-delay: 2700ms; }
.track { gap: 4px; }
.trow { display: flex; gap: 16px; align-items: flex-start; animation: lit 500ms var(--ease) both; }
.trow:nth-child(2) { animation-delay: 380ms; }
.trow:nth-child(3) { animation-delay: 760ms; }
.trow:nth-child(4) { animation-delay: 1140ms; }
.trow:nth-child(5) { animation-delay: 1520ms; }
.trow:nth-child(6) { animation-delay: 1900ms; }
.track .verdict { animation-delay: 2600ms; }
@keyframes lit { from { opacity: .15; filter: grayscale(1); } to { opacity: 1; filter: none; } }
.tcol { display: flex; flex-direction: column; align-items: center; flex: none; }
.tdot { width: 32px; height: 32px; border-radius: 9999px; display: grid; place-items: center; background: var(--text); color: var(--bg); }
.tdot.key { background: var(--cobalt); color: var(--white); }
.tline { width: 2px; height: 32px; background: var(--line-2); }
.ttext { display: flex; flex-direction: column; padding-top: 4px; }

.how { display: grid; gap: 48px; align-items: center; }
@media (min-width: 1024px) { .how { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }
.steps { display: flex; flex-direction: column; gap: 12px; }
.step { position: relative; overflow: hidden; width: 100%; display: flex; gap: 16px; align-items: flex-start; padding: 16px 24px; border-radius: 8px; border: 1px solid var(--line); background: transparent; text-align: left; cursor: pointer; transition: background-color var(--fade) var(--ease), border-color var(--fade) var(--ease), transform var(--move) var(--ease); }
.step:hover { background: rgba(241, 242, 247, .04); }
.step:active { transform: scale(.98); }
.step.on { background: var(--card); border-color: var(--line-2); }
.step-n { width: 32px; height: 32px; border-radius: 8px; display: grid; place-items: center; flex: none; font-weight: 700; background: var(--card); color: var(--text-2); transition: background-color var(--fade) var(--ease), color var(--fade) var(--ease); }
.step.on .step-n { background: var(--text); color: var(--bg); }
.step-text { display: flex; flex-direction: column; gap: 4px; }
.step-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--cobalt); transform-origin: left; animation: fill 4.2s linear both; }
@keyframes fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.phone { position: relative; width: min(19rem, 100%); aspect-ratio: 300 / 610; margin: 0 auto; padding: 12px; border-radius: 24px; background: var(--card); box-shadow: 0 0 0 1px var(--line-2), var(--shadow); animation: floaty 3s var(--ease) infinite alternate; }
@keyframes floaty { to { transform: translateY(-12px); } }
.phone-screen { position: relative; height: 100%; overflow: hidden; padding: 48px 16px 16px; border-radius: 12px; background: var(--bg); }
.notch { position: absolute; top: 12px; left: 50%; width: 88px; height: 24px; margin-left: -44px; border-radius: 9999px; background: var(--card); }
.ps { display: flex; flex-direction: column; gap: 12px; }
.ps-title { font-size: 20px; line-height: 28px; font-weight: 700; }
.slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.slot { position: relative; overflow: hidden; aspect-ratio: 4 / 5; display: flex; align-items: flex-end; padding: 4px 8px; border-radius: 8px; background: var(--card); font-size: 12px; line-height: 16px; color: var(--text-2); }
.slot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.slot span { position: relative; padding: 0 4px; border-radius: 4px; background: rgba(15, 18, 32, .6); }
.slot.add { align-items: center; justify-content: center; border: 1px dashed var(--line-2); background: transparent; font-size: 20px; }
.ps-field { padding: 8px 12px; border-radius: 8px; background: var(--card); font-size: 14px; line-height: 20px; }
.ps-field.big { font-size: 18px; line-height: 28px; font-weight: 700; }
.mini-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.mini-tag { padding: 4px 8px; border-radius: 9999px; border: 1px solid var(--line-2); font-size: 12px; line-height: 16px; font-weight: 600; color: var(--text-2); }
.mini-tag.on { background: var(--text); border-color: var(--text); color: var(--bg); }
.ps-btn { padding: 12px; border-radius: 8px; background: var(--red); color: var(--bg); text-align: center; font-weight: 600; }
.ps-note { text-align: center; font-size: 14px; line-height: 20px; font-weight: 600; color: var(--text-2); animation-delay: 1.2s; }
.order { display: flex; flex-direction: column; gap: 12px; padding: 16px; border-radius: 8px; background: var(--card); border: 1px solid var(--cobalt); }
.order-row { display: flex; gap: 12px; align-items: center; }
.thumb { width: 56px; aspect-ratio: 4 / 5; border-radius: 8px; overflow: hidden; flex: none; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.escrow-note { display: flex; gap: 12px; align-items: flex-start; padding: 12px 16px; border-radius: 8px; background: var(--card); font-size: 14px; line-height: 20px; color: var(--text-2); }
.dropshot { position: relative; overflow: hidden; aspect-ratio: 4 / 5; border-radius: 8px; }
.dropshot img { width: 100%; height: 100%; object-fit: cover; }
.dropshot .checked { position: absolute; right: 12px; top: 12px; animation: stamp 600ms var(--ease) 300ms both; }
@keyframes stamp { from { opacity: 0; transform: scale(2.4) rotate(-14deg); } to { opacity: 1; transform: rotate(-6deg); } }
.payout { display: flex; flex-direction: column; gap: 8px; padding: 16px; border-radius: 8px; background: var(--card); }
.payout-amount { font-size: 36px; line-height: 40px; font-weight: 700; letter-spacing: -0.02em; }
.kv { display: flex; flex-direction: column; gap: 8px; padding: 12px 16px; border-radius: 8px; background: var(--card); font-size: 14px; line-height: 20px; }
.kv div { display: flex; justify-content: space-between; gap: 12px; }

.cond { display: grid; gap: 48px; align-items: center; padding: 32px 24px; border-radius: 8px; background: var(--card); }
@media (min-width: 1024px) { .cond { grid-template-columns: 1fr 1fr; padding: 64px; } }
.cond-demo { display: flex; flex-direction: column; gap: 24px; padding: 24px; border-radius: 8px; background: var(--bg); }
.cond-label { font-size: 48px; line-height: 1; font-weight: 700; letter-spacing: -0.03em; }
.cond-read { display: flex; flex-direction: column; gap: 8px; min-height: 96px; }
.range { width: 100%; height: 32px; accent-color: var(--cobalt); cursor: pointer; }
.segs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.seg { height: 8px; border-radius: 4px; background: rgba(241, 242, 247, .12); transition: background-color var(--fade) var(--ease); }
.seg.on { background: var(--cobalt); }

.perks { display: grid; gap: 16px; }
@media (min-width: 768px) {
  .perks { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .perks > :nth-child(1), .perks > :nth-child(4) { grid-column: span 7; }
  .perks > :nth-child(2), .perks > :nth-child(3) { grid-column: span 5; }
}
.perk { display: flex; flex-direction: column; gap: 12px; }

.faq { display: grid; gap: 48px; }
@media (min-width: 1024px) { .faq { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); } .faq-head { position: sticky; top: 128px; align-self: start; } }
.qa { display: grid; gap: 8px; padding: 24px 0; border-top: 1px solid var(--line); }
@media (min-width: 768px) { .qa { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px; } }
.qa dt { font-size: 18px; line-height: 28px; font-weight: 600; }
.qa dd { color: var(--text-2); }

/* ================= investor page ================= */
.hero-actions { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; }
.tile-wrap { display: flex; flex-direction: column; align-items: center; gap: 16px; min-width: 0; }
.tile {
  display: grid; grid-template-columns: repeat(18, 12px); gap: 8px; padding: 40px; border-radius: 24px;
  background: var(--cobalt); box-shadow: 0 48px 96px rgba(39, 71, 240, .4); cursor: crosshair;
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform var(--move) var(--ease);
}
.dot { width: 12px; height: 12px; border-radius: 9999px; background: rgba(241, 242, 247, .12); }
.dot.on { background: var(--text); box-shadow: var(--sx, 6px) var(--sy, 6px) 0 var(--red); transition: box-shadow var(--fade) var(--ease); animation: twinkle 4s var(--ease) infinite, dotin 700ms var(--ease) backwards; animation-delay: var(--d, 0s); }
@keyframes twinkle { 0%, 100% { opacity: 1; } 50% { opacity: .55; } }
@keyframes dotin { from { transform: scale(0); } to { transform: scale(1); } }
@media (hover: none) { .hover-hint { display: none; } }

.chips { position: relative; height: 420px; overflow: hidden; border-radius: 8px; background: var(--card); }
.chipx { position: absolute; left: 50%; top: 50%; padding: 12px 24px; border-radius: 9999px; border: 1px solid var(--line-2); background: var(--bg); color: var(--text); font-weight: 600; white-space: nowrap; transform: var(--t); transition: transform 900ms var(--ease), opacity var(--move) var(--ease); }
.chipx span { display: inline-block; animation: drift 5s var(--ease) infinite alternate; }
.chipx:nth-child(1) { --t: translate(-110%, -320%) rotate(-8deg); }
.chipx:nth-child(2) { --t: translate(20%, -230%) rotate(6deg); }
.chipx:nth-child(2) span { animation-delay: .6s; }
.chipx:nth-child(3) { --t: translate(-120%, 30%) rotate(5deg); }
.chipx:nth-child(3) span { animation-delay: 1.2s; }
.chipx:nth-child(4) { --t: translate(15%, 120%) rotate(-7deg); }
.chipx:nth-child(4) span { animation-delay: 1.8s; }
.chipx:nth-child(5) { --t: translate(-75%, 280%) rotate(4deg); }
.chipx:nth-child(5) span { animation-delay: 2.4s; }
.chipx:nth-child(6) { --t: translate(-30%, -90%) rotate(-3deg); }
.chipx:nth-child(6) span { animation-delay: 3s; }
.chipx.one { --t: translate(-50%, -50%) scale(0); opacity: 0; z-index: 20; background: var(--text); color: var(--bg); border-color: var(--text); }
.chips.gathered .chipx { --t: translate(-50%, -50%) scale(.6); opacity: 0; }
.chips.gathered .chipx span { animation: none; }
.chips.gathered .chipx.one { --t: translate(-50%, -50%) scale(1.25); opacity: 1; }
@keyframes drift { to { translate: 0 -8px; } }

.jcard { display: flex; flex-direction: column; gap: 32px; padding: 24px; border-radius: 8px; background: var(--card); }
@media (min-width: 1024px) { .jcard { padding: 48px; } }
.jtrack { --edge: 60px; --p: 0; position: relative; height: 112px; }
.jtrack.s1 { --p: .25; }
.jtrack.s2 { --p: .5; }
.jtrack.s3 { --p: .75; }
.jtrack.s4 { --p: 1; }
.jline, .jprog { position: absolute; left: var(--edge); right: var(--edge); top: 31px; height: 2px; border-radius: 2px; background: var(--line); }
.jprog { background: var(--cobalt); transform-origin: left; transform: scaleX(var(--p)); transition: transform var(--move) var(--ease); }
.jstages { position: relative; display: flex; justify-content: space-between; }
.stage { width: 120px; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.node { width: 64px; height: 64px; border-radius: 9999px; display: grid; place-items: center; background: var(--bg); color: var(--text-3); transition: background-color var(--fade) var(--ease), color var(--fade) var(--ease), transform var(--move) var(--ease); }
.stage strong { font-size: 14px; line-height: 20px; color: var(--text-3); transition: color var(--fade) var(--ease); }
.stage.done .node { background: var(--cobalt); color: var(--white); }
.stage.now .node { background: var(--text); color: var(--bg); transform: scale(1.12); }
.stage.done strong, .stage.now strong { color: var(--text); }
.jrail { position: absolute; left: var(--edge); right: var(--edge); top: 8px; }
.jmover { width: 100%; transform: translateX(calc(var(--p) * 100%)); transition: transform var(--move) var(--ease); }
.parcel { width: 48px; height: 48px; margin-left: -24px; border-radius: 8px; display: grid; place-items: center; background: var(--cobalt); color: var(--white); box-shadow: 0 8px 24px rgba(39, 71, 240, .45); }
.jinfo { display: grid; gap: 16px; }
@media (min-width: 768px) { .jinfo { grid-template-columns: 2fr 1fr; } }
.jstep { display: flex; flex-direction: column; gap: 8px; min-height: 144px; padding: 24px; border-radius: 8px; background: var(--bg); }
.jstep-title { font-size: 24px; line-height: 32px; font-weight: 700; letter-spacing: -0.02em; }
.escrow { display: flex; flex-direction: column; gap: 8px; padding: 24px; border-radius: 8px; background: var(--bg); color: var(--text); transition: background-color var(--move) var(--ease), color var(--move) var(--ease); }
.escrow.released { background: var(--text); color: var(--bg); }
.esc-head { display: flex; align-items: center; gap: 8px; }
.escrow-amount { font-size: 36px; line-height: 40px; font-weight: 700; letter-spacing: -0.02em; }

.boxarea { position: relative; height: 380px; overflow: hidden; border-radius: 8px; background: var(--card); }
.boxstage { position: absolute; left: 50%; top: 50%; }
.box { position: absolute; left: -44px; top: -44px; width: 88px; height: 88px; border-radius: 8px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; background: var(--bg); font-size: 12px; line-height: 16px; font-weight: 600; transform: var(--t); transition: transform 900ms var(--ease), opacity var(--move) var(--ease); }
.box:nth-child(1) { --t: translate(-150px, -70px) rotate(-8deg); }
.box:nth-child(2) { --t: translate(30px, -110px) rotate(6deg); }
.box:nth-child(3) { --t: translate(-40px, 60px) rotate(-4deg); }
.box.big { left: -84px; top: -60px; width: 168px; height: 120px; padding: 12px; text-align: center; background: var(--text); color: var(--bg); font-size: 14px; line-height: 20px; --t: scale(.2); opacity: 0; }
.boxarea.merged .box { --t: translate(0, 0) scale(.3); opacity: 0; }
.boxarea.merged .box.big { --t: scale(1); opacity: 1; }
.boxcap { position: absolute; left: 24px; bottom: 16px; }

.why { display: grid; gap: 16px; }
@media (min-width: 768px) { .why { grid-template-columns: 1fr 1fr; } .why > :nth-child(even) { margin-top: 48px; } }
.places { display: grid; gap: 24px; margin-top: 32px; }
@media (min-width: 1024px) { .places { grid-template-columns: 1fr 2fr; } }
.place { padding: 8px 16px; border-radius: 8px; background: var(--bg); font-weight: 600; }

.pilot-head { display: grid; gap: 24px; margin-bottom: 40px; align-items: end; }
@media (min-width: 1024px) { .pilot-head { grid-template-columns: 7fr 5fr; } }
.stats { display: grid; gap: 16px; }
@media (min-width: 768px) {
  .stats { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .stats > :nth-child(-n+3) { grid-column: 2; }
  .stats > :nth-child(4) { grid-column: 1; grid-row: 1 / 4; }
}
.stat { display: flex; flex-direction: column; gap: 4px; padding: 24px; border-radius: 8px; background: var(--card); }
.stat-n { font-size: 48px; line-height: 1; font-weight: 700; letter-spacing: -0.04em; }
.stat.star { justify-content: flex-end; padding: 32px; }
.stat.star .stat-n { font-size: 96px; }
@media (min-width: 1024px) { .stat.star .stat-n { font-size: 128px; } }

.model { display: grid; gap: 48px; align-items: center; }
@media (min-width: 1024px) { .model { grid-template-columns: 1fr 1fr; } }
.model-box { display: flex; flex-direction: column; gap: 8px; padding: 24px; border-radius: 8px; background: var(--card); }
.model-box.launch { box-shadow: inset 0 0 0 1px var(--cobalt); }
.wheel-wrap { display: flex; flex-direction: column; align-items: center; gap: 24px; }
.wheel { position: relative; width: 340px; height: 340px; max-width: 100%; }
.ring { position: absolute; inset: 0; border-radius: 9999px; border: 2px dashed rgba(39, 71, 240, .6); animation: spin 30s linear infinite; }
.spoke { position: absolute; transform: translate(-50%, -50%); }
.spoke:nth-child(1) { left: 50%; top: 0; }
.spoke:nth-child(2) { left: 100%; top: 50%; }
.spoke:nth-child(3) { left: 50%; top: 100%; }
.spoke:nth-child(4) { left: 0; top: 50%; }
.spoke span { display: block; padding: 8px 16px; border-radius: 9999px; border: 1px solid var(--line-2); background: var(--card); font-weight: 600; white-space: nowrap; animation: spin 30s linear infinite reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
.wheel-core { position: absolute; inset: 72px; border-radius: 9999px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 24px; text-align: center; background: var(--card); }
.wheel-note { display: none; max-width: 300px; text-align: center; }

.road-box { display: flex; flex-direction: column; gap: 16px; padding: 24px; border-radius: 8px; background: var(--card); }
.roads { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.road-item { display: inline-flex; align-items: center; gap: 8px; }
.road { padding: 12px 16px; border-radius: 8px; background: var(--bg); color: var(--text-2); font-weight: 600; }
.road.now { background: var(--text); color: var(--bg); }

/* ================= phones ================= */
@media (max-width: 767px) {
  .fanwrap { height: 380px; }
  .fanscale { transform: translateY(-24px) scale(.54); }
  .tile { transform: scale(.72); transform-origin: center; }
  .chipx { padding: 8px 12px; font-size: 12px; line-height: 16px; left: 47%; }
  .boxarea { height: 300px; }
  .boxstage { transform: scale(.72); }
  .jcard { padding: 24px 12px; }
  .jtrack { --edge: 29px; height: 80px; }
  .stage { width: 58px; gap: 8px; }
  .node { width: 44px; height: 44px; }
  .node .i-lg { width: 20px; height: 20px; }
  .stage strong { font-size: 12px; line-height: 16px; white-space: nowrap; visibility: hidden; }
  /* five labels do not fit side by side on a phone; the step card below names every step */
  .stage.now strong { visibility: visible; }
  .jline, .jprog { top: 21px; }
  .jrail { top: 6px; }
  .parcel { width: 32px; height: 32px; margin-left: -16px; }
  .parcel .i-lg { width: 16px; height: 16px; }
  .wheel { width: 220px; height: 220px; }
  .spoke span { padding: 8px 12px; font-size: 12px; line-height: 16px; }
  .wheel-core { inset: 40px; padding: 16px; }
  .wheel-core .small { display: none; }
  .wheel-note { display: block; }
  .road { padding: 8px 12px; font-size: 14px; line-height: 20px; }
  .stat.star .stat-n { font-size: 72px; }
}

/* ---------- reduced motion: no movement, plain fades only ---------- */
@media (prefers-reduced-motion: reduce) {
  .reveal.in, .stagger.in > * { animation-name: fade; }
  .w, .pop, .screen, .success, .fan-card, .trow, .dropshot .checked { animation-name: fade; }
  .marquee, .ring, .spoke span, .phone, .chipx span, .pulse, .dot.on, .step-bar { animation: none; }
  .knob, .jmover, .jprog, .toast, .chipx, .box, .fan, .tile { transition-property: opacity; }
}
