/* masUNO landing page — tokens from the masUNO design system (Verde cancha) */
:root {
  --bg: #f5f4f7;
  --card: #fdfcfe;
  --line: #e8e5ec;
  --handle: #d9d5de;
  --ink: #1f2638;
  --muted: #5f5c68;
  --navy: #141a2b;
  --primary: #12825a;
  --primary-tint: #ddf1e8;
  --sports: #2f6fe0;
  --sports-tint: #e0eafc;
  --coffee: #f29f05;
  --games: #7b4fd6;
  --danger: #c42222;
  --on-dark: #fdfcfe;
  --on-dark-muted: rgba(253, 252, 254, .76);

  --radius-card: 16px;
  --radius-own-bubble: 20px;
  --radius-dialog: 24px;
  --radius-phone: 59px;
  --radius-photo: 48px;
  --radius-pill: 9999px;

  --shadow-float: 0 4px 16px rgba(20, 26, 43, .10);
  --shadow-dialog: 0 12px 32px rgba(20, 26, 43, .18);

  --ease: cubic-bezier(.2, .7, .2, 1);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", system-ui, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI", Roboto, Arial, sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.5 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; }
h1, h2, h3, p, figure, blockquote { margin: 0; }
h3 { font-size: 20px; line-height: 1.2; }
a { color: inherit; }
button, input, select { font: inherit; }
button:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid var(--sports); outline-offset: 3px; }

.display { font-family: var(--font-display); font-weight: 800; letter-spacing: -0.035em; line-height: 1.04; font-size: clamp(36px, 4.6vw, 64px); }
.tint { color: var(--primary-tint); }
.muted { color: var(--muted); font-size: 18px; line-height: 1.5; }
.kicker { font-size: 15px; font-weight: 600; color: var(--muted); margin-bottom: 14px; }
.dark .kicker { color: var(--on-dark-muted); }

.i { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 48px); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--card); padding: 10px 16px; border-radius: var(--radius-pill); }
.skip:focus { top: 12px; }
.dark { background: var(--navy); color: var(--on-dark); }
.section { padding: clamp(72px, 9vw, 128px) 0; }
.section-card { background: var(--card); }
.section-head { display: flex; flex-direction: column; margin-bottom: 40px; }
.section-head.center { text-align: center; align-items: center; }
.section-head.center .display { max-width: 860px; }

/* ---------- Buttons, chips ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 50px; padding: 0 24px; border: 0; border-radius: var(--radius-pill);
  font-size: 17px; font-weight: 600; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .2s var(--ease), filter .2s;
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.06); }
.btn:active { transform: scale(.97); }
.btn:disabled { opacity: .7; cursor: progress; transform: none; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-sm { height: 44px; padding: 0 20px; font-size: 15px; }
.btn-text { background: none; color: var(--muted); }
.chip { background: var(--primary-tint); color: var(--ink); font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: var(--radius-pill); white-space: nowrap; }
.icon-circle { width: 48px; height: 48px; border-radius: 50%; background: var(--primary-tint); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.icon-solid { background: var(--primary); color: #fff; }
.card { background: var(--card); color: var(--ink); border-radius: var(--radius-card); }
.lift { transition: transform .3s var(--ease), box-shadow .3s; }
.lift:hover { transform: translateY(-6px); box-shadow: var(--shadow-dialog); }

/* ---------- Avatars: initials, replaced by a photo when one exists ---------- */
.avatar {
  position: relative; flex: none; width: 44px; height: 44px; border-radius: 50%;
  background: var(--primary-tint); color: var(--ink); font-weight: 700; font-size: 18px;
  display: inline-flex; align-items: center; justify-content: center;
}
.avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.avatar-sm { width: 52px; height: 52px; font-size: 20px; border: 3px solid #fff; }
.avatar-lg { width: 64px; height: 64px; font-size: 26px; border: 3px solid #fff; box-shadow: 0 0 0 1px var(--line); }
.avatar-lg img, .avatar-sm img, .avatar-xl img, .avatar-you img { inset: 0; }
.avatar-xl { width: 80px; height: 80px; font-size: 30px; border: 3px solid #fff; }
.ring-you { box-shadow: 0 0 0 5px rgba(18, 130, 90, .25); }
.halo { animation: halo 2s ease-out infinite; }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(20, 26, 43, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.nav-inner { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 14px; padding-bottom: 14px; }
.wordmark { font-family: var(--font-display); font-weight: 900; font-size: 24px; letter-spacing: -0.02em; color: var(--on-dark); text-decoration: none; margin-right: auto; }
.wordmark span { color: var(--primary-tint); }
.nav-links { display: flex; gap: 8px; flex-wrap: wrap; }
.nav-links a {
  color: var(--on-dark); text-decoration: none; font-size: 14px; font-weight: 600;
  padding: 10px 16px; border: 1.5px solid rgba(253, 252, 254, .28); border-radius: var(--radius-pill);
  transition: background .2s, border-color .2s;
}
.nav-links a:hover { background: rgba(253, 252, 254, .08); border-color: rgba(253, 252, 254, .5); }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.language-toggle { display: inline-flex; flex: none; border: 1.5px solid rgba(253, 252, 254, .28); border-radius: var(--radius-pill); overflow: hidden; }
.language-toggle button {
  min-width: 44px; height: 44px; padding: 0 10px; border: 0; background: transparent;
  color: var(--on-dark); font-size: 13px; font-weight: 700; cursor: pointer;
  transition: background .2s, color .2s, transform .2s;
}
.language-toggle button:hover { background: rgba(253, 252, 254, .12); }
.language-toggle button:active { transform: scale(.94); }
.language-toggle button[aria-pressed="true"] { background: var(--card); color: var(--ink); }
@media (max-width: 640px) {
  html { scroll-padding-top: 140px; }
  .nav-links { display: none; }
  .nav-actions { width: 100%; }
  .nav-actions .btn { flex: 1; }
}

/* ---------- Hero ---------- */
.hero { padding: clamp(48px, 7vw, 96px) 0 clamp(64px, 8vw, 120px); }
.hero-grid { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; }
.hero-copy { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.eyebrow { align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: var(--radius-pill); background: rgba(253, 252, 254, .08); font-size: 14px; font-weight: 600; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--primary-tint); animation: live 1.6s ease-out infinite; }
.hero h1 { font-size: clamp(40px, 5.4vw, 72px); line-height: 1.04; }
.hero h1 > span { display: block; }
.hero h1 > span + span { margin-top: 8px; }
/* "Can I join?" gets crossed out once the headline lands */
.strike { position: relative; color: var(--on-dark-muted); }
:lang(es) .strike { display: inline-block; white-space: nowrap; }
.strike::after { content: ""; position: absolute; left: -2%; right: -2%; top: 54%; height: .08em; border-radius: 9999px; background: var(--primary); transform: scaleX(0); transform-origin: left; animation: progress .5s 1.1s var(--ease) forwards; }
.lede { max-width: 520px; font-size: 20px; line-height: 1.5; color: var(--on-dark-muted); }
.hero-meta { font-size: 14px; color: var(--on-dark-muted); }
.countdown { display: flex; flex-direction: column; gap: 10px; }
.countdown-label { font-size: 14px; font-weight: 600; color: var(--on-dark-muted); }
.countdown-units { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; max-width: 400px; }
html:not(.js) .countdown-units { display: none; }
.countdown-unit { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 12px 4px; border-radius: var(--radius-card); background: rgba(253, 252, 254, .08); font-size: 13px; color: var(--on-dark-muted); }
.countdown-unit strong { font: 800 clamp(26px, 3vw, 34px)/1.1 var(--font-display); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; color: var(--on-dark); }

/* Chat bubbles: incoming is a pill, yours is the green bubble */
.bubble { font-size: 16px; padding: 10px 16px; max-width: max-content; }
.bubble b { display: block; font-size: 12px; color: var(--muted); }
.bubble-in { background: var(--bg); color: var(--ink); border-radius: var(--radius-pill); align-self: flex-start; }
.bubble-own { background: var(--primary); color: #fff; border-radius: var(--radius-own-bubble) var(--radius-own-bubble) 6px var(--radius-own-bubble); align-self: flex-end; }

/* Waitlist form */
.join-wrap { display: flex; flex-direction: column; gap: 12px; max-width: 520px; width: 100%; }
.launch-note { margin: 0; max-width: 52ch; color: var(--on-dark-muted); font-size: 15px; line-height: 1.55; }
.launch-note strong { display: block; color: var(--on-dark); font-size: 16px; }
.join-row { display: flex; gap: 8px; flex-wrap: wrap; background: rgba(253, 252, 254, .08); padding: 6px; border-radius: var(--radius-pill); }
.join-row input {
  flex: 1 1 200px; min-width: 0; height: 50px; padding: 0 20px; border-radius: var(--radius-pill);
  border: 1.5px solid transparent; background: var(--card); color: var(--ink); font-size: 16px;
}
.join-row input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 1.5px var(--primary); }
.join.is-invalid input { border-color: var(--danger); }
@media (max-width: 520px) {
  .join-row { border-radius: 31px; }
  .join-row .btn { flex: 1 1 100%; }
}
.join-status:empty { display: none; }
.join-status { font-size: 14px; font-weight: 600; color: #ffb4b4; }
.hp { position: absolute; left: -9999px; }
.join-done { display: flex; align-items: center; gap: 12px; font-size: 18px; font-weight: 600; animation: pop .5s var(--ease) both; }
.tick { width: 36px; height: 36px; border-radius: 50%; background: var(--primary); color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.tick .i { width: 20px; height: 20px; stroke-width: 2.5; }
.notice { font-size: 13px; line-height: 18px; color: var(--on-dark-muted); }
.notice a { color: var(--primary-tint); }

/* Hero visual: everything is placed in % of a 600×620 stage so it scales down */
.hero-visual { flex: 1 1 460px; min-width: 0; display: flex; justify-content: center; }
.hero-stage { position: relative; width: min(600px, 100%); aspect-ratio: 600 / 620; }
.ribbon { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.ribbon path { stroke-width: 28; stroke-linecap: round; }
.hero .ribbon path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw .8s cubic-bezier(.6, 0, .35, 1) forwards; }
.hero .ribbon .r1 { animation-delay: .9s; }
.hero .ribbon .r2 { animation-delay: 1.55s; }
.hero .ribbon .r3 { animation-delay: 2.2s; }

.you { position: absolute; left: calc(78.33% - 44px); top: 10%; width: 88px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.avatar-you { width: 88px; height: 88px; font-size: 32px; border: 3px solid #fff; }
.you-dot { position: absolute; right: 2px; bottom: 2px; width: 16px; height: 16px; border-radius: 50%; background: var(--primary); border: 3px solid #fff; z-index: 1; }
.you-label { background: var(--card); color: var(--ink); font-size: 13px; font-weight: 600; padding: 4px 12px; border-radius: var(--radius-pill); white-space: nowrap; }

.float { position: absolute; }
.float-host { left: 0; top: 2%; }
.float-game { left: 34%; top: 61%; }
.people-card { rotate: -5deg; box-shadow: var(--shadow-float); padding: 16px; width: 220px; display: flex; flex-direction: column; gap: 12px; }
:lang(es) .people-card { width: 264px; }
.pc-top { display: flex; align-items: center; gap: 12px; }
.pc-name { display: flex; flex-direction: column; margin-right: auto; }
.pc-name strong { font-size: 17px; }
.pc-name span { font-size: 13px; color: var(--muted); }
.people-card .chip { font-size: 12px; padding: 4px 10px; }
.pc-msg { background: var(--bg); padding: 10px 14px; border-radius: var(--radius-pill); font-size: 14px; }

.sticker { position: absolute; left: 4%; top: 35%; width: 132px; height: 132px; rotate: -8deg; border-radius: 50%; background: var(--primary-tint); color: var(--ink); display: flex; align-items: center; justify-content: center; }
.sticker-ring { position: absolute; inset: 0; width: 100%; height: 100%; }
.sticker-ring text { font-family: var(--font); font-size: 13.5px; font-weight: 700; letter-spacing: 1.5px; fill: var(--ink); }
:lang(es) .sticker-ring text { font-size: 11.5px; letter-spacing: .5px; }
.sticker > .i { width: 34px; height: 34px; }

/* Game card (hero + demo) */
.game-card { box-shadow: var(--shadow-dialog); padding: 16px; width: 300px; display: flex; flex-direction: column; gap: 14px; }
.float-game .game-card { rotate: 4deg; }
.gc-top { display: flex; gap: 12px; align-items: center; }
.sport { width: 44px; height: 44px; flex: none; border-radius: 12px; background: var(--sports-tint); color: var(--sports); display: flex; align-items: center; justify-content: center; }
.sport .i { width: 24px; height: 24px; }
.gc-title { display: flex; flex-direction: column; gap: 2px; margin-right: auto; min-width: 0; }
.gc-title strong { font-size: 17px; line-height: 1.25; }
.gc-title span { font-size: 13px; color: var(--muted); }
.gc-people { display: flex; align-items: center; justify-content: space-between; }
.stack { display: flex; }
.av { width: 30px; height: 30px; border-radius: 50%; background: var(--primary-tint); border: 2px solid var(--card); display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; }
.av + .av { margin-left: -8px; }
.av.slot { background: var(--card); border: 2px dashed var(--muted); color: var(--muted); transition: background .4s, border-color .4s, color .4s; }
.av.slot b { font-weight: 700; }
.gc-faces { align-self: flex-start; display: flex; align-items: center; gap: 8px; padding: 5px 12px 5px 10px; border-radius: var(--radius-pill); background: var(--primary-tint); font-size: 13px; }
.gc-faces .i { width: 16px; height: 16px; color: var(--primary); }
.spots { font-size: 15px; font-weight: 600; }
.fake-btn { height: 32px; padding: 0 18px; border-radius: var(--radius-pill); background: var(--primary); color: #fff; font-size: 15px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; }
.gc-foot { display: flex; align-items: center; justify-content: space-between; font-size: 14px; color: var(--muted); }
.gc-foot b { color: var(--ink); }

.hero-toast { position: absolute; right: -2%; top: 37%; width: 240px; box-shadow: var(--shadow-dialog); rotate: -3deg; }

.ribbon-phone { display: none; }

@media (max-width: 560px) {
  .game-card { width: 250px; }
}

/* Phones: the cards can't shrink with the stage and stay readable, so they get their own
   350×560 layout. Zoom scales it as a whole to fit the screen. */
@media (max-width: 640px) {
  .hero-visual { flex-basis: 100%; }
  .hero-stage { width: 350px; flex: none; aspect-ratio: auto; height: 560px; zoom: 1.2; }
  .ribbon-wide { display: none; }
  .ribbon-phone { display: block; }
  .ribbon-phone path { stroke-width: 18; }

  .float-host { left: 0; top: 4px; }
  .people-card { width: 200px; padding: 12px; gap: 10px; }
  :lang(es) .people-card { width: 244px; }
  .pc-top { gap: 8px; }
  .pc-top .avatar { width: 40px; height: 40px; flex: none; }
  .people-card .chip { font-size: 11px; padding: 3px 8px; }
  .pc-msg { font-size: 13px; padding: 8px 12px; }

  .you { left: 249px; top: 22px; width: 72px; }
  .avatar-you { width: 72px; height: 72px; font-size: 26px; }

  .sticker { left: 0; top: 142px; width: 96px; height: 96px; }
  .sticker > .i { width: 26px; height: 26px; }

  .hero-toast { left: 155px; right: auto; top: 158px; width: 195px; padding: 10px 12px; }
  .hero-toast .icon-circle { width: 32px; height: 32px; }

  .float-game { left: 30px; top: 312px; }
  .float-game .game-card { width: 300px; rotate: 3deg; }
}
@media (max-width: 479px) { .hero-stage { zoom: 1; } }
@media (max-width: 389px) { .hero-stage { zoom: .9; } }
@media (max-width: 354px) { .hero-stage { zoom: .8; } }

/* ---------- Marquee ---------- */
.marquee { background: var(--primary-tint); padding: 22px 0; overflow: hidden; border-block: 1px solid var(--line); }
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee-set { display: flex; align-items: center; gap: 36px; padding-right: 36px; font-family: var(--font-display); font-size: clamp(24px, 3vw, 34px); font-weight: 800; letter-spacing: -0.02em; white-space: nowrap; }
.dot { width: 14px; height: 14px; border-radius: 50%; }
.dot.sports { background: var(--sports); }
.dot.coffee { background: var(--coffee); }
.dot.games { background: var(--games); }

/* ---------- Story ---------- */
.story { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.story-card { flex: 1 1 340px; min-width: 0; background: var(--card); border-radius: var(--radius-dialog); padding: 28px; box-shadow: var(--shadow-float); display: flex; flex-direction: column; gap: 20px; }
.person { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.person-name { display: flex; flex-direction: column; gap: 2px; margin-right: auto; }
.person-name h3 { font-size: 24px; }
.person-name p { font-size: 14px; color: var(--muted); }
.timeline { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 14px; }
.timeline li { display: flex; gap: 14px; font-size: 16px; }
.timeline time, .timeline li > span { flex: none; width: 64px; font-size: 13px; font-weight: 600; color: var(--muted); padding-top: 2px; }
.thought p { background: var(--bg); padding: 10px 18px; border-radius: var(--radius-pill); font-style: italic; }
.chat { display: flex; flex-direction: column; gap: 8px; }
.chat-title { font-size: 13px; font-weight: 600; color: var(--muted); text-align: center; margin-bottom: 4px; }
.outcome { padding-top: 16px; border-top: 1px solid var(--line); font-size: 17px; font-weight: 700; }
.story-link { flex: none; display: flex; align-items: center; gap: 6px; }
.story-link .line { width: 20px; border-top: 3px dashed var(--muted); }
.story-link .node { width: 52px; height: 52px; border-radius: 50%; background: var(--card); box-shadow: var(--shadow-float); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 24px; }
@media (max-width: 900px) { .story-link { display: none; } }

/* No-show refill: group chat vs masUNO */
.refill { max-width: 860px; margin: 64px auto 0; display: flex; flex-direction: column; align-items: center; text-align: center; }
.refill-row { width: 100%; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px 24px; }
.refill-col { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 24px; background: var(--card); border-radius: var(--radius-dialog); box-shadow: var(--shadow-float); }
.refill-label { font-size: 13px; font-weight: 700; color: var(--muted); }
.refill-meta { font-size: 13px; color: var(--muted); }
.refill-vs { font-family: var(--font-display); font-weight: 800; color: var(--muted); }
.refill .bubble-own { align-self: center; }
.refill .toast { box-shadow: none; background: var(--bg); text-align: left; }
/* ---------- +1 band (the one full-green band) ---------- */
.band-primary { background: var(--primary); color: #fff; padding: clamp(64px, 8vw, 112px) 0; }
.band-inner { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(24px, 4vw, 64px); }
.plus-one { font-size: clamp(120px, 17vw, 240px); line-height: .85; }
.band-text { flex: 1 1 360px; font-size: clamp(24px, 2.6vw, 34px); line-height: 1.2; font-weight: 700; }

/* ---------- Insight ---------- */
.insight-grid { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.insight-grid > div { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.insight-grid .display { font-size: clamp(36px, 4.4vw, 60px); }
.insight-body { font-size: 18px; line-height: 1.55; color: var(--on-dark-muted); }
.quote { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.quote > .bubble-in { background: var(--card); font-size: 17px; padding: 12px 20px; }
.quote-row { display: flex; align-items: flex-end; gap: 12px; justify-content: flex-end; }
.quote blockquote { padding: 20px 26px; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.25; font-weight: 700; max-width: 420px; }

/* ---------- How it works ---------- */
.how-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; }
.tabs { display: flex; gap: 4px; padding: 4px; background: var(--primary-tint); border-radius: var(--radius-pill); }
.tab { height: 44px; padding: 0 22px; border: 0; border-radius: var(--radius-pill); font-size: 16px; font-weight: 600; color: var(--ink); background: transparent; cursor: pointer; transition: background .3s, box-shadow .3s; }
.tab[aria-selected="true"] { background: var(--card); box-shadow: var(--shadow-float); }
.walkthrough { display: flex; flex-wrap: wrap; gap: clamp(32px, 6vw, 96px); align-items: center; }
.wt-steps { flex: 1 1 400px; min-width: 0; margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.wt-col { flex: 1 1 400px; min-width: 0; }
.wt-col .wt-steps { flex: none; }
.host-cta { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; font-size: 17px; font-weight: 600; }
.wt-step {
  width: 100%; text-align: left; display: flex; gap: 18px; padding: 22px; border-radius: var(--radius-card);
  border: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer;
  transition: background .3s, box-shadow .3s, border-color .3s;
}
.wt-step:hover { border-color: var(--handle); }
.wt-step[aria-pressed="true"] { background: var(--card); border-color: var(--card); box-shadow: var(--shadow-float); }
.num { flex: none; width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 17px; font-weight: 700; background: var(--line); transition: background .3s; }
.wt-step[aria-pressed="true"] .num { background: var(--primary-tint); }
.wt-text { display: flex; flex-direction: column; gap: 6px; }
.wt-text strong { font-size: 19px; line-height: 1.25; }
.wt-text > span { font-size: 16px; color: var(--muted); }

.phone-col { flex: 0 1 340px; margin: 0 auto; position: relative; }
.phone { width: 320px; max-width: 100%; margin: 0 auto; padding: 12px; border-radius: var(--radius-phone); background: var(--navy); box-shadow: var(--shadow-dialog); }
.screen { position: relative; width: 100%; aspect-ratio: 1206 / 2622; border-radius: 47px; overflow: hidden; background: var(--line); }
/* The incoming shot fades in on top while the outgoing one stays opaque beneath it, so the shared status bar and Dynamic Island hold still. */
.layer { position: absolute; inset: 0; opacity: 0; transition: opacity 0s .45s; }
.layer.is-active { z-index: 1; opacity: 1; transition: opacity .45s var(--ease); }
.layer img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.placeholder { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 24px; text-align: center; color: var(--muted); font-size: 13px; }
.placeholder strong { font-size: 20px; color: var(--ink); }
.placeholder code { font-size: 12px; background: var(--card); color: var(--ink); padding: 4px 12px; border-radius: var(--radius-pill); }
.ph-icon { width: 64px; height: 64px; border-radius: var(--radius-card); background: var(--card); display: flex; align-items: center; justify-content: center; }
.ph-icon .i { width: 30px; height: 30px; }

.anno { position: absolute; left: -190px; top: 70px; width: 170px; display: flex; flex-direction: column; gap: 6px; rotate: -4deg; font-size: 15px; font-weight: 600; color: var(--muted); }
.anno svg { width: 170px; height: 90px; stroke: var(--ink); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 1100px) { .anno { display: none; } }

/* ---------- Open spots demo ---------- */
.demo { display: flex; flex-wrap: wrap; gap: clamp(32px, 5vw, 72px); align-items: center; }
.demo-copy { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.demo-copy .kicker { margin-bottom: 0; }
.demo-copy .display { font-size: clamp(34px, 4vw, 54px); line-height: 1.02; }
.demo-steps { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }
.demo-step {
  position: relative; overflow: hidden; display: flex; align-items: center; gap: 16px; text-align: left;
  padding: 14px 18px; border-radius: var(--radius-card); border: 1.5px solid var(--line);
  background: var(--card); color: var(--ink); cursor: pointer; transition: background .3s, border-color .3s;
}
.demo-step > span:last-child { display: flex; flex-direction: column; gap: 2px; }
.demo-step strong { font-size: 17px; }
.demo-step > span:last-child > span { font-size: 15px; color: var(--muted); }
.demo-step .icon-circle { width: 44px; height: 44px; }
.demo-step[aria-pressed="true"] { background: var(--primary-tint); border-color: var(--primary-tint); }
.demo-step[aria-pressed="true"] .icon-circle { background: var(--card); }
/* Auto-play progress bar */
.demo-step::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--primary); transform: scaleX(0); transform-origin: left; }
.demo-step.is-timing::after { animation: progress var(--dur, 3600ms) linear forwards; }

.demo-stage { flex: 1 1 440px; min-width: 0; position: relative; height: 500px; border-radius: var(--radius-photo); background: var(--bg); overflow: hidden; }
.map { position: absolute; inset: 0; }
.street { position: absolute; background: var(--line); }
.s1 { left: -10%; top: 26%; width: 120%; height: 22px; rotate: -10deg; }
.s2 { left: -10%; top: 74%; width: 120%; height: 16px; rotate: 6deg; }
.s3 { left: 58%; top: -10%; width: 18px; height: 120%; rotate: 12deg; }
.pin { position: absolute; width: 28px; height: 28px; border-radius: 50%; background: var(--sports); border: 3px solid #fff; }
.p1 { left: 14%; top: 16%; }
.p2 { left: 80%; top: 62%; }
.pin-main { left: 66%; top: 18%; width: 40px; height: 40px; box-shadow: var(--shadow-dialog); transition: opacity .45s var(--ease), transform .45s var(--ease); }
.ping { position: absolute; inset: -3px; border-radius: 50%; background: var(--sports); animation: ping 1.8s ease-out infinite; z-index: -1; }
.demo-toast, .demo-card { position: absolute; left: 50%; width: min(340px, 86%); translate: -50% 0; transition: opacity .45s var(--ease), transform .45s var(--ease), filter .45s; }
.toast { display: flex; gap: 12px; align-items: center; background: var(--card); color: var(--ink); border-radius: var(--radius-card); padding: 12px 16px; box-shadow: var(--shadow-float); }
.toast .icon-circle { width: 40px; height: 40px; }
.toast div { display: flex; flex-direction: column; }
.toast strong { font-size: 15px; }
.toast span { font-size: 13px; color: var(--muted); }
.toast .icon-solid { color: #fff; }
.demo-toast { top: 24px; opacity: 0; transform: translateY(-20px); }
.demo-card { bottom: 64px; }
.demo-caption { position: absolute; left: 0; right: 0; bottom: 18px; text-align: center; font-size: 14px; font-weight: 600; }
.slot-full { display: none; }

.demo-stage[data-state="full"] .pin-main { opacity: 0; transform: scale(.3); }
.demo-stage[data-state="full"] .demo-card { opacity: .45; transform: scale(.94); filter: grayscale(1); }
.demo-stage[data-state="full"] .slot { background: var(--primary-tint); border-style: solid; border-color: var(--card); color: var(--ink); }
.demo-stage[data-state="full"] .slot-open { display: none; }
.demo-stage[data-state="full"] .slot-full { display: inline; }
.demo-stage[data-state="drop"] .demo-toast { opacity: 1; transform: none; }
@media (max-width: 480px) { .demo-stage { height: 440px; } }

/* ---------- Features ---------- */
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.feature { background: var(--card); border-radius: var(--radius-dialog); padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.feature .icon-circle { width: 52px; height: 52px; }
.feature p { font-size: 16px; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq-grid { display: flex; flex-wrap: wrap; gap: clamp(32px, 6vw, 96px); }
.faq-grid > div:first-child { flex: 1 1 300px; display: flex; flex-direction: column; }
.faq-grid .muted { margin-top: 16px; font-size: 17px; }
.faq { flex: 2 1 520px; min-width: 0; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 0; cursor: pointer; font-size: 18px; font-weight: 600; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq-icon { flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--bg); display: flex; align-items: center; justify-content: center; transition: transform .35s var(--ease), background .3s; }
.faq-icon .i { width: 18px; height: 18px; stroke-width: 2.2; }
.faq details[open] .faq-icon { transform: rotate(45deg); background: var(--primary-tint); }
.faq details p { padding: 0 52px 22px 0; font-size: 16px; color: var(--muted); }
.faq details[open] p { animation: rise .45s var(--ease) both; }

/* ---------- Final CTA ---------- */
.cta { padding: clamp(80px, 10vw, 140px) 0 40px; }
.cta-inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 28px; }
.pair { position: relative; width: min(560px, 100%); height: 140px; }
.ribbon-pair path { stroke-width: 22; }
.js .pair path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .9s cubic-bezier(.6, 0, .35, 1); }
.js .pair.is-in path { stroke-dashoffset: 0; }
.js .pair.is-in path:nth-child(2) { transition-delay: .5s; }
.js .pair.is-in path:nth-child(3) { transition-delay: 1s; }
.pair .avatar { position: absolute; top: 30px; }
.pair-e { left: calc(10.7% - 40px); }
.pair-r { left: calc(89.3% - 40px); }
.payoff { font-size: clamp(20px, 2.2vw, 26px); font-weight: 700; }
.cta-title { font-size: clamp(48px, 7vw, 104px); line-height: .95; max-width: 900px; }
.cta .join-wrap { align-items: stretch; }
.cta .join-done { justify-content: center; }

/* ---------- Footer ---------- */
.footer { margin-top: 96px; }
.footer-inner { padding-top: 28px; padding-bottom: 8px; border-top: 1px solid rgba(253, 252, 254, .14); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.footer .wordmark { font-size: 22px; margin-right: 0; }
.footer p { font-size: 14px; color: var(--on-dark-muted); }
.footer a { color: var(--primary-tint); }
.footer .wordmark { color: var(--on-dark); }

/* ---------- Step-2 dialog ---------- */
.sheet {
  width: min(520px, calc(100% - 32px)); padding: 0; border: 0; border-radius: var(--radius-dialog);
  background: var(--card); color: var(--ink); box-shadow: var(--shadow-dialog);
}
.sheet[open] { animation: sheet-in .35s var(--ease); }
.sheet::backdrop { background: rgba(20, 26, 43, .35); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.sheet form { padding: 36px 32px 28px; display: grid; gap: 22px; position: relative; }
.sheet h2 { font-size: 26px; line-height: 1.2; margin-top: -6px; }
.sheet h2 + .muted { margin-top: -14px; font-size: 16px; }
.sheet-close { position: absolute; top: 14px; right: 14px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--bg); color: var(--muted); font-size: 24px; line-height: 1; cursor: pointer; }
.sheet-close:hover { color: var(--ink); }
.sheet-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 4px; }
.details-status:empty { display: none; }
.details-status { color: var(--danger); font-size: 14px; }
.details-status.is-pending { color: var(--muted); }
@media (max-width: 560px) {
  .sheet { width: 100%; max-width: 100%; margin: auto 0 0; border-radius: 28px 28px 0 0; max-height: 92dvh; }
  .sheet form { padding: 32px 20px 24px; }
  .sheet-actions .btn { flex: 1; }
}
.field { border: 0; padding: 0; margin: 0; min-width: 0; display: grid; gap: 10px; }
.field > label, .field > legend { font-size: 14px; font-weight: 600; padding: 0; }
fieldset.field > legend { margin-bottom: 10px; }
.field select {
  height: 50px; padding: 0 16px; border: 1.5px solid var(--line); border-radius: var(--radius-card);
  background: var(--card); color: var(--ink); font-size: 16px;
}
.field select:focus { outline: none; border-color: var(--primary); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills label { position: relative; cursor: pointer; }
.pills input { position: absolute; opacity: 0; pointer-events: none; }
.pills span {
  display: inline-flex; align-items: center; height: 44px; padding: 0 18px;
  border: 1.5px solid var(--line); border-radius: var(--radius-pill); background: var(--card);
  font-size: 15px; font-weight: 500; transition: background .15s, border-color .15s;
}
.pills label:hover span { border-color: var(--muted); }
.pills input:checked + span { background: var(--primary-tint); border-color: var(--primary-tint); font-weight: 600; }
.pills input:focus-visible + span { outline: 3px solid var(--sports); outline-offset: 2px; }

/* ---------- Privacy notice and support pages ---------- */
.prose-page { display: flex; flex-direction: column; min-height: 100vh; }
.prose-page .nav-inner { padding-top: 18px; padding-bottom: 18px; }
.prose-page .footer { margin-top: 0; padding: 0 0 32px; }
.prose-page .footer-inner { border-top: 0; }
.prose-wrap { max-width: 760px; padding-top: 72px; padding-bottom: 96px; flex: 1; }
.prose h1 { font-family: var(--font-display); font-weight: 900; font-size: clamp(34px, 5vw, 48px); letter-spacing: -0.02em; line-height: 1.05; }
.prose .updated { margin-top: 10px; color: var(--muted); font-size: 14px; }
.prose .lead { margin-top: 28px; font-size: 19px; }
.prose h2 { font-size: 22px; font-weight: 700; margin: 44px 0 12px; }
.prose h3 { font-size: 18px; font-weight: 700; margin: 28px 0 8px; }
.prose p + p { margin-top: 12px; }
.prose ul { margin: 12px 0; padding-left: 22px; display: grid; gap: 8px; }
.prose a { color: var(--ink); text-underline-offset: 2px; }
.prose .back { margin-top: 56px; font-weight: 600; }
.prose .back a { text-decoration: none; }

/* ---------- Motion ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes pop { 0% { opacity: 0; transform: scale(.6) translateY(14px); } 70% { opacity: 1; transform: scale(1.04); } 100% { opacity: 1; transform: none; } }
@keyframes drop { from { opacity: 0; transform: translateY(-36px) scale(.92); } to { opacity: 1; transform: none; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@keyframes halo { 0% { box-shadow: 0 0 0 6px rgba(18, 130, 90, .45), 0 0 0 6px rgba(18, 130, 90, .3); } 100% { box-shadow: 0 0 0 6px rgba(18, 130, 90, .45), 0 0 0 26px rgba(18, 130, 90, 0); } }
@keyframes ping { from { transform: scale(1); opacity: .55; } to { transform: scale(2.6); opacity: 0; } }
@keyframes live { from { box-shadow: 0 0 0 0 rgba(221, 241, 232, .7); } to { box-shadow: 0 0 0 10px rgba(221, 241, 232, 0); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes progress { to { transform: scaleX(1); } }
@keyframes sheet-in { from { transform: translateY(24px); opacity: 0; } }

/* Page-load entrances */
.load.rise { animation: rise .9s var(--ease) both; }
.load.pop { animation: pop .55s cubic-bezier(.3, .8, .3, 1.2) both; }
.load.drop { animation: drop .9s cubic-bezier(.2, .8, .2, 1) both; }
.d1 { animation-delay: .15s !important; } .d2 { animation-delay: .3s !important; } .d3 { animation-delay: .45s !important; }
.d4 { animation-delay: .6s !important; } .d5 { animation-delay: .8s !important; } .d6 { animation-delay: 1s !important; }
.d8 { animation-delay: 1.9s !important; } .d9 { animation-delay: 2.3s !important; } .d10 { animation-delay: 2.8s !important; }
.bob { animation: bob 6s ease-in-out infinite; }
.bob-late { animation-delay: -3s; }

/* Scroll reveal (only when JS is running) */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease), box-shadow .3s; }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal.lift.is-in:hover { transform: translateY(-6px); }
.grid-4 .reveal:nth-child(2), .story .reveal:nth-child(3) { transition-delay: .08s; }
.grid-4 .reveal:nth-child(3) { transition-delay: .16s; }
.grid-4 .reveal:nth-child(4) { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .strike::after { transform: none; }
  .ribbon path, .js .pair path { stroke-dashoffset: 0 !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Interactive hero: the visitor takes the open spot ---------- */
.hero-game { position: relative; }
.hero-game .slot-plus, .hero-game .slot-you { display: flex; align-items: center; justify-content: center; }
.hero-game .slot-you { display: none; }
.hero-join {
  width: 100%; min-height: 44px; padding: 8px 18px; border: 2px solid rgba(255, 255, 255, .5); border-radius: var(--radius-pill);
  background: var(--primary); color: #fff; font-size: 15px; font-weight: 700; cursor: pointer;
  box-shadow: 0 0 0 3px var(--primary-tint);
  animation: hero-cta-pulse 2.8s ease-in-out infinite;
  transition: background .2s, box-shadow .2s;
}
.hero-join:hover { background: #0f7651; box-shadow: 0 0 0 4px var(--primary-tint); animation-play-state: paused; }
.hero-join:active { transform: scale(.98); }
@keyframes hero-cta-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .86; }
}
.hero-game-status { display: none; font-size: 13px; font-weight: 600; text-align: center; color: var(--primary); }
.hero-game.is-joined { box-shadow: 0 0 0 3px var(--primary), var(--shadow-dialog); }
.hero-game.is-joined .slot { background: var(--primary); border: 2px solid var(--card); color: #fff; transform: scale(1.12); }
.hero-game.is-joined .slot-plus { display: none; }
.hero-game.is-joined .slot-you { display: flex; }
.hero-game.is-joined .hero-join { background: var(--primary-tint); color: var(--ink); cursor: default; box-shadow: none; animation: none; }
.hero-game.is-joined .hero-game-status { display: block; }
.hero-toast { transition: transform .25s var(--ease), background .25s, color .25s; }
.hero-toast.is-joined { background: var(--primary); color: #fff; transform: rotate(3deg) scale(1.04); }
.hero-toast.is-joined .icon-circle { background: var(--card); color: var(--primary); }
.hero-toast.is-joined span { color: #fff; }
.hero:has(.hero-game.is-joined) .halo { animation: none; box-shadow: 0 0 0 6px rgba(18, 130, 90, .4); }

/* ---------- Signup success and sharing ---------- */
.sheet-step { display: grid; gap: 22px; }
.sheet-progress { display: flex; gap: 6px; }
.sheet-progress span { width: 28px; height: 4px; border-radius: var(--radius-pill); background: var(--line); }
.sheet-progress span.is-active { background: var(--primary); }
.founder-badge {
  display: inline-flex; align-items: center; gap: 8px; width: fit-content; padding: 7px 12px;
  border-radius: var(--radius-pill); background: var(--primary-tint); color: var(--ink);
  font-size: 13px; font-weight: 800; letter-spacing: .02em; text-transform: uppercase;
}
.founder-badge .i { width: 16px; height: 16px; color: var(--primary); }
.sheet-success { text-align: center; justify-items: center; }
.sheet-success .muted { max-width: 38ch; }
.share-plus-one {
  width: 112px; height: 112px; display: grid; place-items: center; border-radius: 50%;
  background: var(--primary); color: #fff; font-family: var(--font-display); font-size: 52px;
  font-weight: 900; letter-spacing: -.06em; box-shadow: 0 0 0 10px var(--primary-tint); margin: 8px 0 12px;
}
.share-actions { width: 100%; display: grid; gap: 10px; }
.share-actions .btn { width: 100%; text-decoration: none; }
.btn-whatsapp { background: var(--navy); color: var(--on-dark); }
.share-copy-row { display: flex; gap: 8px; width: 100%; }
.share-copy-row input {
  min-width: 0; flex: 1; height: 50px; padding: 0 14px; border: 1.5px solid var(--line);
  border-radius: var(--radius-pill); background: var(--bg); color: var(--muted); font-size: 13px;
}
.share-copy-row .btn { width: auto; flex: none; padding-inline: 18px; }
.share-note { font-size: 13px; color: var(--muted); }
@media (max-width: 480px) {
  .share-copy-row { flex-wrap: wrap; }
  .share-copy-row input { flex-basis: 100%; }
  .share-copy-row .btn { width: 100%; }
}


/* ---------- Launch conversion and participation ---------- */
.band-message { flex: 1 1 420px; display: grid; gap: 16px; }
.band-message .band-text { max-width: 30ch; }
.band-message .display { font-size: clamp(36px, 4.4vw, 60px); }
.band-message > p:last-child { margin: 0; font-size: 18px; line-height: 1.55; }
.how-demo { padding-bottom: 0; }
.host-cta { align-items: flex-start; }
.host-cta p { flex: 1 1 320px; margin: 0; font-weight: 500; line-height: 1.55; }
.host-cta p span { display: block; font-weight: 800; }
.host-cta .btn { flex: none; }
.founder-summary { margin: -8px 0 4px; color: var(--muted); font-size: 15px; line-height: 1.55; }
.optional { color: var(--muted); font-size: 12px; font-weight: 500; }
.share-position { margin: -12px 0 0; color: var(--primary); font-weight: 800; }
.host-invite { width: 100%; padding: 10px 0 0; border-top: 1px solid var(--line); text-align: center; font-size: 13px; line-height: 1.5; }
.host-invite strong { margin-right: 6px; font-size: 13px; }
.host-invite a { color: var(--primary); font-weight: 600; text-underline-offset: 3px; }
.sheet-success .share-actions { margin-top: 0; }
@media (max-width: 560px) {
  .launch-note { font-size: 14px; }
}
