/* Afterstamp website. One dark look on purpose: it's a nightlife brand, and it matches the app.
   Layout: a single column of chapters that follow one night out (tonight → the door → the morning after),
   then the business side, then the promise. The ticket's punched edge (from the app icon) is the recurring motif. */
:root {
  --ink: #0B0714;          /* page */
  --night: #140D24;        /* raised surface */
  --plum: #26164A;         /* the icon's purple */
  --line: #2E2346;
  --text: #F3EEFA;
  --muted: #B9ADCF;
  --dim: #8A7EA3;
  --magenta: #FA0F6E;      /* icon gradient, bottom-left */
  --orange: #FF9B1A;       /* icon gradient, top-right */
  --lav: #D0BCFF;          /* the app's primary */
  --cyan: #4CD7F6;
  --green: #46E38A;
  --grad: linear-gradient(45deg, var(--magenta), #FF5A3C 55%, var(--orange));
  --display: 'Plus Jakarta Sans', 'Helvetica Neue', Arial, sans-serif;
  --mono: 'Space Grotesk', ui-monospace, 'SF Mono', Menlo, monospace;
  --r: 22px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { background: var(--ink); scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: var(--text); font: 16px/1.6 var(--display); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation: none !important; transition: none !important; } }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding-inline: 20px; }
.label { font: 700 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--lav); }
h1, h2, h3 { font-family: var(--display); text-wrap: balance; margin: 0; }
h1 { font-weight: 800; font-size: clamp(44px, 7.4vw, 92px); line-height: .98; letter-spacing: -0.035em; }
h2 { font-weight: 800; font-size: clamp(32px, 4.4vw, 52px); line-height: 1.04; letter-spacing: -0.025em; }
h3 { font-weight: 700; font-size: 20px; line-height: 1.25; }
p { margin: 0; }
.lead { font-size: clamp(18px, 2vw, 21px); color: var(--muted); max-width: 34em; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ── Header ─────────────────────────────────────────── */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 10; background: rgba(11, 7, 20, .82); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 16px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 20px; letter-spacing: -0.02em; }
.brand img { width: 30px; height: auto; }
.brand b { color: var(--magenta); margin-left: -10px; }
.nav { display: flex; gap: 22px; margin-left: auto; font: 600 14px var(--mono); }
.nav a { text-decoration: none; color: var(--muted); }
.nav a:hover { color: var(--text); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 22px; border-radius: 999px; border: 0; cursor: pointer;
  font: 700 15px var(--mono); letter-spacing: .02em; text-decoration: none; color: #1B0620; background: var(--grad); transition: transform .15s ease, filter .15s ease; }
.btn:hover { transform: translateY(-1px); filter: brightness(1.06); }
.btn.ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
.top .btn { padding: 9px 16px; font-size: 13px; }
@media (max-width: 760px) { .nav { display: none; } .top .btn { margin-left: auto; } }

/* ── Hero ───────────────────────────────────────────── */
.hero { position: relative; overflow: hidden; padding-block: 72px 56px; }
.hero::before { content: ''; position: absolute; inset: -30% -10% auto 40%; height: 720px; background: radial-gradient(closest-side, rgba(250, 15, 110, .28), transparent 70%); pointer-events: none; }
.hero::after { content: ''; position: absolute; inset: 10% auto auto 70%; width: 520px; height: 520px; background: radial-gradient(closest-side, rgba(255, 155, 26, .18), transparent 70%); pointer-events: none; }
.hero .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 48px; align-items: center; }
.hero .copy { display: grid; gap: 22px; }
.hero .lead { max-width: 30em; }
.hero-art { position: relative; justify-self: center; width: min(100%, 420px); aspect-ratio: 1; }
.hero-art .mark { position: absolute; inset: 12% 12%; width: 76%; filter: drop-shadow(0 30px 60px rgba(250, 15, 110, .35)); animation: float 7s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-10px) rotate(-1.5deg); } }
.hero-art .chip { position: absolute; font: 700 12px var(--mono); padding: 8px 12px; border-radius: 12px; background: rgba(20, 13, 36, .92); border: 1px solid var(--line); white-space: nowrap; }
.hero-art .chip.a { left: -4%; top: 16%; color: var(--green); }
.hero-art .chip.b { right: -6%; top: 46%; color: var(--cyan); }
.hero-art .chip.c { left: 6%; bottom: 6%; color: var(--orange); }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: 1fr; } .hero-art { width: min(80%, 340px); } }

/* ── Waitlist form ──────────────────────────────────── */
.join { display: flex; flex-wrap: wrap; gap: 10px; max-width: 560px; }
.join input, .join select { flex: 1 1 180px; min-width: 0; height: 50px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--night); color: var(--text); font: 15px var(--display); }
.join select { flex: 0 1 150px; }
.join .btn { flex: 0 0 auto; height: 50px; }
.join-note { font-size: 13px; color: var(--dim); }
.join-note[data-state="ok"] { color: var(--green); }
.join-note[data-state="err"] { color: #FF8A9A; }
.counters { display: flex; flex-wrap: wrap; gap: 8px; }
.counters span { font: 600 13px var(--mono); padding: 6px 12px; border-radius: 999px; background: var(--night); border: 1px solid var(--line); color: var(--muted); }
.counters b { color: var(--text); }

/* ── Chapters ───────────────────────────────────────── */
.chapter { padding-block: 88px; border-top: 1px solid var(--line); }
.chapter .head { display: grid; gap: 14px; max-width: 720px; margin-bottom: 40px; }
.time { font: 700 13px var(--mono); color: var(--orange); letter-spacing: .08em; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 900px) { .grid { grid-template-columns: 1fr; } }
.card { position: relative; padding: 24px; border-radius: var(--r); background: var(--night); border: 1px solid var(--line); display: grid; gap: 10px; align-content: start; min-width: 0; }
.card p { color: var(--muted); font-size: 15px; }
.card .ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--plum); color: var(--lav); font: 700 18px var(--mono); }

/* The ticket: notched edges like the icon. */
.ticket { --notch: 14px; position: relative; border-radius: var(--r); background: var(--night);
  -webkit-mask: radial-gradient(circle var(--notch) at 0 50%, transparent 98%, #000) left / 51% 100% no-repeat,
                radial-gradient(circle var(--notch) at 100% 50%, transparent 98%, #000) right / 51% 100% no-repeat;
          mask: radial-gradient(circle var(--notch) at 0 50%, transparent 98%, #000) left / 51% 100% no-repeat,
                radial-gradient(circle var(--notch) at 100% 50%, transparent 98%, #000) right / 51% 100% no-repeat; }

/* Door: a QR ticket mock beside the copy. */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.list { display: grid; gap: 18px; margin: 0; padding: 0; list-style: none; }
.list li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; }
.list li::before { content: ''; width: 10px; height: 10px; margin-top: 8px; border-radius: 50%; background: var(--grad); }
.list b { display: block; }
.list span { color: var(--muted); font-size: 15px; }
.qr { max-width: 360px; justify-self: center; width: 100%; padding: 26px; display: grid; gap: 16px; border: 1px solid var(--line); }
.qr .row { display: flex; justify-content: space-between; font: 600 12px var(--mono); color: var(--muted); }
.qr .code { aspect-ratio: 1; border-radius: 14px; background: #fff; padding: 14px; }
.qr .code canvas { width: 100%; height: 100%; image-rendering: pixelated; }
.qr .bar { height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; }
.qr .bar i { display: block; height: 100%; width: 60%; background: var(--grad); animation: drain 30s linear infinite; }
@keyframes drain { from { width: 100%; } to { width: 0%; } }

/* Morning after: a strip of passport stamps. */
.stamps { display: flex; gap: 14px; overflow-x: auto; padding: 6px 2px 16px; scrollbar-width: thin; }
.stamp { flex: 0 0 150px; height: 150px; border-radius: 16px; padding: 14px; display: grid; align-content: space-between; border: 2px dashed currentColor;
  font: 700 11px/1.2 var(--mono); letter-spacing: .06em; text-transform: uppercase; transform: rotate(var(--tilt, -2deg)); background: rgba(255, 255, 255, .02); }
.stamp strong { font: 800 17px/1.1 var(--display); letter-spacing: -0.01em; text-transform: none; color: var(--text); }
.stamp small { color: var(--muted); letter-spacing: .04em; }

/* Business */
.biz { background: linear-gradient(180deg, var(--night), var(--ink)); }
.biz .grid .card { background: rgba(38, 22, 74, .35); }

/* Promise */
.promise { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 40px; }
@media (max-width: 760px) { .promise { grid-template-columns: 1fr; } }
.promise div { padding: 18px 0; border-top: 1px solid var(--line); }
.promise b { display: block; margin-bottom: 4px; }
.promise span { color: var(--muted); font-size: 15px; }

/* CTA + footer */
.cta { text-align: center; padding-block: 96px; display: grid; justify-items: center; gap: 22px; }
.cta .join { justify-content: center; }
.foot { border-top: 1px solid var(--line); padding-block: 36px 48px; color: var(--dim); font-size: 14px; }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; }
.foot nav { display: flex; flex-wrap: wrap; gap: 18px; margin-left: auto; }
.foot a { color: var(--muted); text-decoration: none; }
.foot a:hover { color: var(--text); }

/* ── Legal pages ────────────────────────────────────── */
.doc { padding-block: 56px 88px; }
.doc .wrap { max-width: 760px; }
.doc h1 { font-size: clamp(36px, 5vw, 52px); margin-bottom: 10px; }
.doc .meta { font: 600 13px var(--mono); color: var(--dim); margin-bottom: 36px; }
.doc .draft { padding: 14px 16px; border-radius: 14px; border: 1px solid rgba(255, 155, 26, .4); background: rgba(255, 155, 26, .08); color: #FFD39A; font-size: 14px; margin-bottom: 32px; }
.doc h2 { font-size: 22px; letter-spacing: -0.01em; margin: 40px 0 12px; }
.doc p, .doc li { color: #DAD1EA; font-size: 16px; }
.doc p + p { margin-top: 12px; }
.doc ul { padding-left: 20px; display: grid; gap: 8px; }
.doc .toc { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.doc .toc a { font: 600 13px var(--mono); text-decoration: none; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); }

/* ── Inside the app: phones built in HTML from the app's demo data ───────────── */
.inside { --app: #121318; --app-card: #1E1F25; --app-card2: #292A2F; --app-out: #958EA0; overflow: hidden; }
.phones { display: grid; grid-template-columns: repeat(4, 300px); gap: 28px; justify-content: center; padding: 8px 20px 12px; }
@media (max-width: 1340px) {
  .phones { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 300px; justify-content: start; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 20px; scrollbar-width: none; }
  .phones::-webkit-scrollbar { display: none; }
  .phone-fig { scroll-snap-align: start; }
}
@media (min-width: 1341px) { .phones { padding-inline: 0; } }
.phone-fig { margin: 0; display: grid; gap: 18px; align-content: start; }
.phone-fig figcaption { font-size: 15px; color: var(--muted); padding-inline: 6px; }
.phone-fig figcaption b { display: block; color: var(--text); font-size: 17px; margin-bottom: 2px; }
.inside-note { margin-top: 28px; font: 600 12px var(--mono); color: var(--dim); }
.phone { width: 300px; height: 620px; border-radius: 46px; padding: 9px; background: linear-gradient(160deg, #2B2140, #120C1F 60%); box-shadow: 0 30px 70px -30px rgba(250, 15, 110, .35), inset 0 0 0 1px rgba(255,255,255,.08); }
.scr { position: relative; height: 100%; border-radius: 38px; overflow: hidden; background: var(--app); color: #E3E1EA; font: 13px/1.35 var(--display); }
.scr img { display: block; }
.scr small { display: block; color: var(--app-out); font-size: 11px; }
.sb { position: relative; z-index: 3; display: flex; justify-content: space-between; padding: 12px 26px 6px; font: 700 12px var(--display); color: #fff; }
.sb span:last-child { font-size: 9px; letter-spacing: 1px; }

/* map */
.map-scr .map { position: absolute; inset: 0; width: 100%; height: 100%; }
.map .hood text { font: 700 8px var(--mono); letter-spacing: .12em; fill: #4B4D5C; }
.map-top { position: relative; z-index: 3; padding: 4px 12px 0; display: grid; gap: 8px; }
.search { background: rgba(30, 31, 37, .92); border: 1px solid #33343d; border-radius: 14px; padding: 10px 14px; color: var(--app-out); font-size: 12px; }
.chips { display: flex; gap: 6px; overflow: hidden; }
.chips span { flex: 0 0 auto; padding: 5px 10px; border-radius: 999px; background: rgba(30, 31, 37, .92); border: 1px solid #33343d; font-size: 11px; font-weight: 600; }
.chips .on { background: #D0BCFF; color: #21005D; border-color: #D0BCFF; }
.pin { position: absolute; z-index: 2; display: flex; align-items: center; gap: 5px; }
.pin b { min-width: 30px; height: 22px; padding: 0 6px; display: grid; place-items: center; border-radius: 999px; background: #33343d; font: 700 10px var(--mono); color: #fff; box-shadow: 0 0 0 2px var(--app); }
.pin span { font-size: 9.5px; font-weight: 700; color: #C9C5D3; text-shadow: 0 1px 3px #000; white-space: nowrap; }
.pin.l { flex-direction: row-reverse; }
.pin.warm b { background: #FF9B1A; color: #2A1500; }
.pin.hot b { background: var(--grad); animation: pinpulse 2.2s ease-out infinite; }
@keyframes pinpulse { 0% { box-shadow: 0 0 0 2px var(--app), 0 0 0 2px rgba(250,15,110,.6); } 100% { box-shadow: 0 0 0 2px var(--app), 0 0 0 16px rgba(250,15,110,0); } }
.friends { position: absolute; z-index: 2; display: flex; align-items: center; padding: 3px; border-radius: 999px; background: #46E38A; }
.friends img { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; border: 2px solid #46E38A; margin-left: -8px; }
.friends img:first-child { margin-left: 0; }
.friends i { font: 700 10px var(--mono); color: #04210F; padding: 0 5px 0 3px; font-style: normal; }
.sheet { position: absolute; z-index: 3; left: 8px; right: 8px; bottom: 8px; padding: 8px 14px 16px; border-radius: 26px 26px 30px 30px; background: var(--app-card); box-shadow: 0 -10px 30px rgba(0,0,0,.5); }
.grab { width: 36px; height: 4px; border-radius: 4px; background: #44454f; margin: 0 auto 10px; }
.sheet-row { display: flex; gap: 10px; align-items: center; }
.sheet-row img { width: 42px; height: 42px; border-radius: 12px; object-fit: cover; }
.sheet-row b { font-size: 14px; }
.facts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.facts span { padding: 4px 9px; border-radius: 999px; background: var(--app-card2); font: 600 10.5px var(--mono); }
.facts .g { color: #46E38A; } .facts .f { color: #D0BCFF; }

/* feed */
.feed-scr { display: flex; flex-direction: column; }
.feed-head { display: flex; gap: 16px; align-items: baseline; padding: 4px 16px 10px; }
.feed-head b { font-size: 20px; font-weight: 800; }
.feed-head span { color: var(--app-out); font-weight: 600; }
.rings { display: flex; gap: 10px; padding: 0 14px 12px; overflow: hidden; flex: 0 0 auto; }
.ring { flex: 0 0 52px; display: grid; justify-items: center; gap: 4px; }
.ring img { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; border: 2px solid var(--app); box-shadow: 0 0 0 2px #595a66; }
.ring.live img, .ring:nth-child(2) img { box-shadow: 0 0 0 2px #FA0F6E; }
.ring i { font-style: normal; font-size: 10px; color: var(--app-out); max-width: 56px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.feed { flex: 1; overflow-y: auto; padding: 0 10px 20px; display: grid; gap: 10px; align-content: start; scrollbar-width: none; }
.feed::-webkit-scrollbar { display: none; }
.fc { background: var(--app-card); border-radius: 18px; padding: 12px; display: grid; gap: 6px; }
.fc > b { font-size: 14px; }
.fc p { font-size: 12.5px; }
.tag { font: 700 10px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--c); }
.tag em { font-style: normal; color: var(--app-out); text-transform: none; letter-spacing: 0; }
.mosaic { display: grid; grid-template-columns: 1.3fr 1fr; grid-template-rows: 70px 70px; gap: 3px; border-radius: 12px; overflow: hidden; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; }
.mosaic img:first-child { grid-row: span 2; }
.faces { display: flex; align-items: center; margin-top: 2px; }
.faces img { width: 20px; height: 20px; border-radius: 50%; object-fit: cover; border: 2px solid var(--app-card); margin-left: -6px; }
.faces img:first-child { margin-left: 0; }
.faces span { font-size: 11px; color: var(--app-out); margin-left: 6px; }
.cover { height: 120px; border-radius: 12px; background: center/cover; position: relative; }
.cover.tall { height: 200px; }
.cover span { position: absolute; left: 8px; bottom: 8px; padding: 3px 8px; border-radius: 6px; background: rgba(0,0,0,.6); font: 700 9.5px var(--mono); text-transform: uppercase; letter-spacing: .06em; }
.offers { display: flex; flex-wrap: wrap; gap: 6px; }
.offers span { padding: 4px 9px; border-radius: 999px; background: var(--app-card2); font-size: 11px; font-weight: 600; }
.offers .buy { background: #FFB547; color: #2B1700; }
.who { display: flex; gap: 8px; align-items: center; }
.who img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; }
.who b { font-size: 13px; }
.clip { border-radius: 12px; overflow: hidden; aspect-ratio: 4 / 5; background: #000; }
.clip video { width: 100%; height: 100%; object-fit: cover; display: block; }
.mix { display: flex; gap: 10px; align-items: center; }
.mix img { width: 46px; height: 46px; border-radius: 10px; object-fit: cover; }
.mix div { flex: 1; min-width: 0; }
.mix b { font-size: 12.5px; display: block; }
.mix .play { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #C86BFF; color: #1A0529; font-size: 12px; }
.wave { display: flex; align-items: center; gap: 3px; height: 28px; }
.wave i { flex: 1; border-radius: 2px; background: #4A3B5E; height: calc(20% + var(--h, 40%)); }
.wave i:nth-child(-n+9) { background: #C86BFF; }
.wave i:nth-child(3n) { --h: 60%; } .wave i:nth-child(4n+1) { --h: 20%; } .wave i:nth-child(5n+2) { --h: 75%; } .wave i:nth-child(7n) { --h: 45%; }

/* recap player */
.recap-scr { background: #000; }
.recap-scr video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.55), transparent 22%, transparent 62%, rgba(0,0,0,.75)); }
.bars { position: absolute; top: 16px; left: 18px; right: 18px; display: flex; gap: 4px; z-index: 2; }
.bars i { flex: 1; height: 3px; border-radius: 3px; background: rgba(255,255,255,.3); overflow: hidden; }
.bars i.done { background: #fff; }
.bars i.now::after { content: ''; display: block; height: 100%; width: 100%; background: #fff; transform-origin: left; animation: fillbar 10s linear infinite; }
@keyframes fillbar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.rc-head { position: absolute; top: 30px; left: 14px; right: 14px; display: flex; gap: 8px; align-items: center; z-index: 2; }
.rc-head img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; border: 2px solid #fff; }
.rc-head div { flex: 1; }
.rc-head b { font-size: 13px; }
.rc-head small { color: rgba(255,255,255,.75); }
.rc-head > span { font-size: 16px; }
.rail { position: absolute; right: 10px; bottom: 110px; display: grid; gap: 16px; justify-items: center; z-index: 2; }
.rail span { display: grid; justify-items: center; line-height: 1; }
.rail svg { width: 26px; height: 26px; filter: drop-shadow(0 1px 4px rgba(0,0,0,.6)); }
.rail i { font: 700 10px var(--display); font-style: normal; margin-top: 4px; }
.rc-foot { position: absolute; left: 16px; right: 60px; bottom: 26px; display: grid; gap: 10px; z-index: 2; }
.rc-foot p { font-size: 15px; font-weight: 700; text-shadow: 0 1px 6px rgba(0,0,0,.7); }
.stamped { justify-self: start; padding: 5px 10px; border-radius: 999px; background: rgba(255, 181, 71, .18); border: 1px solid rgba(255, 181, 71, .6); color: #FFB547; font: 700 10.5px var(--mono); }

/* host event page */
.event-scr { display: flex; flex-direction: column; }
.ev-cover { height: 170px; flex: 0 0 auto; background: center/cover; position: relative; }
.ev-cover::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.45), transparent 40%, var(--app)); }
.ev-cover .back { position: absolute; z-index: 2; left: 14px; top: 40px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: rgba(0,0,0,.5); font-size: 20px; line-height: 1; }
.ev-body { flex: 1; overflow: hidden; padding: 0 16px 70px; margin-top: -26px; position: relative; z-index: 2; display: grid; gap: 6px; align-content: start; }
.presents { font: 700 9.5px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: #FFB0CD; }
.ev-body h4 { margin: 0; font-size: 22px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
.collab { justify-self: start; padding: 3px 9px; border-radius: 999px; background: rgba(70, 227, 138, .14); color: #46E38A; font-size: 10.5px; font-weight: 700; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 4px; }
.stats span { background: var(--app-card); border-radius: 12px; padding: 8px; font-size: 10px; color: var(--app-out); }
.stats b { display: block; color: #fff; font: 700 15px var(--mono); }
.sec { margin-top: 8px; font: 700 10px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--app-out); }
.lineup { display: flex; gap: 10px; }
.lineup span { flex: 1; display: grid; justify-items: center; gap: 2px; text-align: center; }
.lineup img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.lineup span:first-child img { box-shadow: 0 0 0 2px #D0BCFF; }
.lineup b { font-size: 11px; }
.lineup i { font: 600 10px var(--mono); color: var(--app-out); font-style: normal; }
.offer { display: flex; align-items: center; gap: 8px; background: var(--app-card); border-radius: 12px; padding: 8px 10px; }
.offer div { flex: 1; min-width: 0; }
.offer b { font-size: 12px; display: block; }
.offer > span { font: 700 13px var(--mono); }
.offer .free { color: #46E38A; }
.ev-cta { position: absolute; left: 14px; right: 14px; bottom: 16px; z-index: 3; height: 46px; border-radius: 999px; display: grid; place-items: center; background: var(--grad); color: #fff; font-weight: 800; font-size: 14px; box-shadow: 0 10px 30px -8px rgba(250,15,110,.6); }

/* ── Why we built it: problem → fix ─────────────────────────────────────────── */
.st { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font: 700 11px var(--mono); letter-spacing: .04em; white-space: nowrap; }
.st::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.st.live { color: var(--green); background: rgba(70, 227, 138, .1); }
.st.soon { color: var(--orange); background: rgba(255, 155, 26, .1); }
.st.mix { color: var(--cyan); background: rgba(76, 215, 246, .1); }
.st.ai-chip { color: var(--lav); background: rgba(208, 188, 255, .12); }
.legend { display: flex; gap: 8px; flex-wrap: wrap; }
.fix-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 860px) { .fix-grid { grid-template-columns: 1fr; } }
.fix { padding: 22px 24px; border-radius: var(--r); background: var(--night); border: 1px solid var(--line); display: grid; gap: 10px; align-content: start; }
.fix header { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.fix .who { font: 700 11px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.fix p { font-size: 15px; padding-left: 26px; position: relative; }
.fix p::before { position: absolute; left: 0; top: 0; font: 700 14px var(--mono); }
.fix .was { color: var(--dim); }
.fix .was::before { content: '✕'; color: #FF6B8B; }
.fix .now { color: var(--text); }
.fix .now::before { content: '→'; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.fix em { font-style: normal; font-weight: 700; color: var(--orange); }
.ai { margin-top: 56px; padding: 32px; border-radius: 28px; background: radial-gradient(120% 140% at 0% 0%, rgba(208, 188, 255, .12), transparent 55%), linear-gradient(160deg, #1B1233, var(--night)); border: 1px solid #3A2C5A; }
.ai-head { display: grid; gap: 10px; max-width: 640px; margin-bottom: 26px; }
.ai-head .st { justify-self: start; }
.ai-head h3 { font-size: clamp(24px, 3vw, 32px); font-weight: 800; letter-spacing: -0.02em; }
.ai-head p { color: var(--muted); }
.ai-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.ai-grid div { padding: 16px 18px; border-radius: 16px; background: rgba(11, 7, 20, .55); border: 1px solid var(--line); display: grid; gap: 4px; align-content: start; }
.ai-grid b { font-size: 15px; }
.ai-grid span { color: var(--muted); font-size: 14px; line-height: 1.5; }
@media (max-width: 560px) { .ai { padding: 22px 18px; } }

/* ── Illustrations for the problem cards ─────────────────────────────────────── */
.fix { overflow: hidden; }
.art { position: relative; height: 132px; margin: -22px -24px 6px; padding: 18px 24px; background: radial-gradient(90% 120% at 100% 0%, rgba(250, 15, 110, .14), transparent 60%), linear-gradient(180deg, #1A1030, var(--night)); border-bottom: 1px solid var(--line); overflow: hidden; display: flex; align-items: center; gap: 16px; }
.art img { display: block; }
/* line */
.art-line .door { position: absolute; left: 24px; top: 34px; width: 34px; height: 64px; border-radius: 6px 6px 0 0; background: var(--grad); box-shadow: 0 0 30px rgba(250,15,110,.5); }
.art-line .queue { position: absolute; left: 70px; right: 24px; top: 58px; height: 22px; }
.art-line .queue i { position: absolute; top: 0; width: 18px; height: 18px; border-radius: 50%; background: var(--lav); opacity: 0; animation: walk 5.4s linear infinite; animation-delay: calc(var(--i) * -0.6s); }
.art-line .queue i:nth-child(3n) { background: var(--cyan); } .art-line .queue i:nth-child(4n) { background: var(--orange); }
@keyframes walk { 0% { left: 100%; opacity: 0; } 10% { opacity: 1; } 85% { opacity: 1; } 100% { left: -14px; opacity: 0; transform: scale(.6); } }
.art-line .timer { position: absolute; right: 20px; top: 14px; padding: 5px 12px; border-radius: 999px; background: rgba(70,227,138,.12); color: var(--green); font: 700 12px var(--mono); }
/* qr */
.art-qr { justify-content: center; gap: 22px; }
.qrbox { position: relative; width: 96px; height: 96px; border-radius: 12px; overflow: hidden; background: #fff; padding: 6px; }
.mqr { width: 100%; height: 100%; }
.qrbox .scan { position: absolute; left: 0; right: 0; height: 3px; background: var(--magenta); box-shadow: 0 0 14px 4px rgba(250,15,110,.6); animation: scanline 2.6s ease-in-out infinite; }
@keyframes scanline { 0%, 100% { top: 6%; } 50% { top: 92%; } }
.admit { display: grid; gap: 2px; animation: pop 2.6s ease-in-out infinite; }
.admit b { font-size: 18px; color: var(--green); }
.admit small { color: var(--muted); font: 600 12px var(--mono); }
@keyframes pop { 0%, 40% { opacity: 0; transform: translateY(6px); } 55%, 90% { opacity: 1; transform: none; } 100% { opacity: 0; } }
/* vote */
.bubbles { display: grid; gap: 5px; }
.bubbles span { justify-self: start; padding: 5px 10px; border-radius: 12px 12px 12px 3px; background: #2A2340; color: var(--dim); font-size: 11.5px; animation: jitter 2.4s ease-in-out infinite; }
.bubbles span:nth-child(2) { justify-self: end; border-radius: 12px 12px 3px 12px; animation-delay: -.8s; }
.bubbles span:nth-child(3) { animation-delay: -1.6s; }
@keyframes jitter { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(3px); } }
.art-vote .arrow { font: 700 22px var(--mono); color: var(--orange); }
.votes, .art-bars { flex: 1; display: grid; gap: 7px; }
.votes div, .art-bars div { display: grid; grid-template-columns: 78px 1fr 26px; align-items: center; gap: 8px; font-size: 11.5px; }
.art-bars div { grid-template-columns: 124px 1fr 36px; font-size: 12.5px; }
.votes em, .art-bars em { font-style: normal; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.votes i, .art-bars i { height: 10px; border-radius: 6px; background: var(--grad); width: 0; transition: width 1.2s cubic-bezier(.2,.8,.2,1) .2s; }
.art-bars i.g { background: var(--green); }
.votes b, .art-bars b { font: 700 13px var(--mono); }
.in .votes i, .in .art-bars i { width: var(--w); }
.art-bars { padding-right: 8px; }
/* count */
.art-count { justify-content: space-between; }
.art-count .big b { display: block; font: 700 46px/1 var(--mono); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.art-count .big small { color: var(--muted); font: 600 12px var(--mono); }
.art-count .faces { display: flex; align-items: center; }
.art-count .faces img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; border: 2px solid var(--night); margin-left: -10px; }
.art-count .faces span { margin-left: 6px; font: 700 12px var(--mono); color: var(--lav); }
/* film strip */
.art-strip { padding: 0; flex-direction: column; justify-content: center; gap: 10px; }
.film { display: flex; gap: 8px; width: max-content; animation: drift 30s linear infinite; }
.film img { width: 96px; height: 78px; object-fit: cover; border-radius: 10px; }
@keyframes drift { to { transform: translateX(-50%); } }
.art-strip .rec { align-self: flex-start; margin-left: 24px; font: 600 11px var(--mono); color: var(--lav); }
/* split */
.art-split { justify-content: center; gap: 20px; }
.art-split .total { font: 700 24px var(--mono); padding: 10px 16px; border-radius: 14px; background: rgba(255,155,26,.12); color: var(--orange); animation: shrink 4s ease-in-out infinite; }
.shares { display: grid; grid-template-columns: repeat(4, 44px); gap: 6px; }
.shares i { height: 30px; border-radius: 10px; display: grid; place-items: center; font: 700 10.5px var(--mono); font-style: normal; background: #2A2340; color: var(--dim); animation: paid 4s ease-in-out infinite; animation-delay: calc(var(--i) * .25s); }
@keyframes paid { 0%, 20% { background: #2A2340; color: var(--dim); } 35%, 85% { background: rgba(70,227,138,.16); color: var(--green); } 100% { background: #2A2340; color: var(--dim); } }
@keyframes shrink { 0%, 20% { opacity: 1; } 50%, 85% { opacity: .35; } 100% { opacity: 1; } }
/* djs */
.art-djs { gap: 12px; align-items: flex-start; padding-top: 16px; }
.art-djs > span { display: grid; justify-items: center; gap: 4px; flex: 1; }
.art-djs img { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px var(--lav); }
.art-djs em { font-style: normal; font: 600 10.5px var(--mono); color: var(--muted); white-space: nowrap; }
.eq { position: absolute; left: 24px; right: 24px; bottom: 10px; height: 20px; display: flex; align-items: flex-end; gap: 3px; }
.eq i { flex: 1; background: var(--grad); border-radius: 2px; height: 30%; animation: eq 1.1s ease-in-out infinite alternate; animation-delay: calc(var(--i) * -0.13s); opacity: .8; }
@keyframes eq { to { height: 100%; } }
/* home */
.art-home svg { width: 56%; height: 100%; overflow: visible; }
.route { fill: none; stroke: var(--lav); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 260; stroke-dashoffset: 260; animation: draw 3.6s ease-in-out infinite; }
@keyframes draw { 0% { stroke-dashoffset: 260; } 60%, 100% { stroke-dashoffset: 0; } }
.pin-a { fill: var(--magenta); } .house { fill: var(--green); }
.checks { display: grid; gap: 6px; }
.checks span { display: flex; align-items: center; gap: 6px; font: 700 11.5px var(--mono); color: var(--green); opacity: 0; animation: checkin 3.6s ease-in-out infinite; }
.checks span:nth-child(2) { animation-delay: .3s; } .checks span:nth-child(3) { animation-delay: .6s; }
.checks img { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; }
@keyframes checkin { 0%, 55% { opacity: 0; transform: translateX(-4px); } 65%, 95% { opacity: 1; transform: none; } 100% { opacity: 0; } }
/* polaroids */
.art-polaroid { justify-content: center; }
.art-polaroid img { width: 82px; height: 96px; object-fit: cover; padding: 5px 5px 16px; background: #F3EEFA; border-radius: 4px; margin-inline: -14px; transform: rotate(var(--r)); box-shadow: 0 10px 24px rgba(0,0,0,.5); transition: transform .4s; }
.fix:hover .art-polaroid img { transform: rotate(calc(var(--r) * 2)) translateY(-4px); }
.art-polaroid .lock { position: absolute; right: 14px; bottom: 10px; padding: 4px 10px; border-radius: 999px; background: rgba(11,7,20,.8); border: 1px solid var(--line); font: 600 10.5px var(--mono); color: var(--lav); }

/* ── Photo strip ─────────────────────────────────────────────────────────────── */
.marquee { overflow: hidden; padding-block: 8px 28px; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee .track { display: flex; gap: 14px; width: max-content; animation: drift 70s linear infinite; }
.marquee img { width: 168px; height: 220px; object-fit: cover; border-radius: 18px; }
.marquee img:nth-child(odd) { transform: translateY(14px); }
.marquee:hover .track { animation-play-state: paused; }

/* ── AI demo ─────────────────────────────────────────────────────────────────── */
.ai-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 32px; align-items: center; margin-bottom: 26px; }
.ai-top .ai-head { margin-bottom: 0; }
@media (max-width: 900px) { .ai-top { grid-template-columns: 1fr; } }
.ai-demo { padding: 16px; border-radius: 20px; background: rgba(11, 7, 20, .7); border: 1px solid #3A2C5A; display: grid; gap: 10px; }
.prompt { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 12px 14px; border-radius: 14px; background: #1E1F25; border: 1px solid #3A2C5A; font-size: 14px; }
.spark { color: var(--lav); font-size: 16px; }
.caret { width: 2px; height: 18px; background: var(--lav); animation: blink 1s steps(1) infinite; margin-left: -8px; }
@keyframes blink { 50% { opacity: 0; } }
.results { display: grid; gap: 8px; }
.results div { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 12px; background: #1E1F25; opacity: 0; transform: translateY(6px); transition: opacity .4s, transform .4s; }
.results.show div { opacity: 1; transform: none; }
.results.show div:nth-child(2) { transition-delay: .15s; } .results.show div:nth-child(3) { transition-delay: .3s; }
.results img { width: 38px; height: 38px; border-radius: 10px; object-fit: cover; }
.results span { flex: 1; min-width: 0; display: grid; }
.results b { font-size: 13.5px; }
.results small { color: var(--dim); font-size: 12px; }
.results em { font-style: normal; font: 700 11px var(--mono); color: var(--green); white-space: nowrap; }
.ai-note { font: 600 11px var(--mono); color: var(--dim); }
.ai-grid div { position: relative; padding-top: 44px; }
.ai-grid div::before { content: '✦'; position: absolute; top: 14px; left: 18px; width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center; font-size: 12px; color: #fff; background: var(--grad); filter: hue-rotate(calc(var(--h, 0) * 1deg)); }
.ai-grid div:nth-child(4n+2) { --h: 40; } .ai-grid div:nth-child(4n+3) { --h: 250; } .ai-grid div:nth-child(4n) { --h: 300; }

/* ── Scroll-in ───────────────────────────────────────────────────────────────── */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; } .in .votes i, .in .art-bars i, .votes i, .art-bars i { width: var(--w); transition: none; } .results div { opacity: 1; transform: none; } }
@media (max-width: 560px) {
  .ai-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .ai-grid div { padding: 40px 12px 12px; }
  .ai-grid div::before { left: 12px; top: 12px; }
  .ai-grid b { font-size: 13.5px; } .ai-grid span { font-size: 12.5px; }
  .marquee img { width: 120px; height: 160px; }
}
