/* ==========================================================
   Arena - site styles (design spec v1)
   Colors, fonts and sizes live in :root so they're easy to change.
   The bright accent color is only for sign-up actions.
   ========================================================== */

:root {
  --ink: #0E1116;            /* dark sections, main text on light */
  --ink-2: #1A1F27;          /* cards on dark */
  --line-dark: #2A313C;      /* borders on dark */
  --line-dark-strong: #3A4250;
  --on-dark: #F2F4F7;        /* body text on dark */
  --on-dark-2: #C9D0DA;      /* subheads and labels on dark */
  --muted-on-dark: #A9B1BD;  /* small print on dark */
  --white: #FFFFFF;
  --surface: #F4F5F7;        /* alternate light sections, cards */
  --line: #E3E6EB;           /* borders on light */
  --muted: #4A5260;          /* secondary text on light */
  --accent: #F5B700;         /* gold: sign-up buttons and selected chips only */
  --error: #B42318;          /* error text on light */
  --error-dark: #FFB4A8;     /* error text on dark */

  --font-display: "Archivo Black", "Archivo", Arial, Helvetica, sans-serif;
  --font: "Archivo", Arial, Helvetica, sans-serif;
  --font-narrow: "Archivo Narrow", "Arial Narrow", Arial, Helvetica, sans-serif;
  --font-logo: "Geist", Arial, Helvetica, sans-serif;

  --max: 1200px;
  --pad: clamp(16px, 4vw, 40px);
  --section: 112px;
  --focus: var(--ink);
}
@media (max-width: 767px) { :root { --section: 72px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; border: 0 solid; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-size: 17px;
  background: var(--white);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-size: inherit; font-weight: inherit; }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; background: none; }
button { cursor: pointer; }
svg { display: block; flex-shrink: 0; }
.icon { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.narrow { width: 100%; max-width: 760px; margin: 0 auto; padding: 0 var(--pad); }

/* Dark sections: hero, final call to action, footer, sign-up pages */
.on-dark { background: var(--ink); color: var(--on-dark); --focus: var(--accent); }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .js [data-reveal] { opacity: 1 !important; transform: none !important; }
}

/* Headlines: Archivo Black, uppercase. Small labels: Archivo Narrow. Everything else: Archivo. */
.display { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; line-height: .98; letter-spacing: 0; }
.eyebrow { font-family: var(--font-narrow); font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.on-dark .eyebrow { color: var(--on-dark-2); }

/* Scroll reveal (only when JS is running) */
.js [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 24px; white-space: nowrap; border-radius: 12px;
  font-size: 17px; font-weight: 700; line-height: 1;
  border: 1px solid transparent;
  transition: filter .2s, background-color .2s, color .2s, border-color .2s;
}
.btn .icon { width: 18px; height: 18px; }
.btn--primary { background: var(--accent); color: var(--ink); }
.btn--primary:hover { filter: brightness(.94); }
.btn--outline { border-color: var(--line); background: var(--white); color: var(--ink); }
.btn--outline:hover { background: var(--surface); }
.on-dark .btn--outline { background: transparent; border-color: var(--line-dark-strong); color: var(--on-dark); }
.on-dark .btn--outline:hover { background: var(--ink-2); }
.btn--lg { height: 56px; padding: 0 28px; font-size: 18px; }
.btn--md { height: 48px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; pointer-events: none; }
.btn[hidden] { display: none; }

/* ---------- Header (logo + one Join button) ---------- */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; background: none; border: 0; pointer-events: none; }
.site-header .logo, .site-header .header-join { pointer-events: auto; }
/* Soft fade behind the floating header so page text dims before it reaches the logo (colour set by site.js) */
.site-header::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 104px; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .25s; background: linear-gradient(to bottom, var(--fade, #fff) 0, var(--fade, #fff) 58%, transparent 100%); }
.site-header.is-scrolled::before { opacity: 1; }
/* Slides away on scroll down, comes back on scroll up */
.site-header { transition: transform .3s ease; }
.site-header.is-hidden:not(:focus-within) { transform: translateY(-110%); }
@media (prefers-reduced-motion: reduce) { .site-header { transition: none; } }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; height: 76px; max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.header-join { display: inline-flex; align-items: center; justify-content: center; height: 46px; padding: 0 22px; border-radius: 12px; background: var(--accent); color: var(--ink); font-size: 16px; font-weight: 700; transition: filter .2s; }
.header-join:hover { filter: brightness(.94); }
.header-join__more { display: none; margin-left: .3em; }
@media (min-width: 560px) { .header-join__more { display: inline; } }

/* ---------- Footer ---------- */
.site-footer { padding: 64px 0 40px; border-top: 1px solid var(--line-dark); }
.site-footer__grid { display: grid; gap: 40px; }
@media (min-width: 768px) { .site-footer__grid { grid-template-columns: 2fr 1fr 1fr; gap: 48px; } }
.site-footer__brand p { margin-top: 14px; font-size: 15px; line-height: 1.6; color: var(--muted-on-dark); }
.site-footer h4 { font-family: var(--font-narrow); margin-bottom: 14px; font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--on-dark-2); }
.site-footer li + li { margin-top: 10px; }
.site-footer li a { font-size: 16px; color: var(--on-dark); }
.site-footer li a:hover { text-decoration: underline; text-underline-offset: 3px; }
.socials { display: flex; gap: 16px; }
.socials a { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--line-dark-strong); border-radius: 999px; color: var(--on-dark); transition: background-color .2s; }
.socials a:hover { background: var(--ink-2); }
.socials svg { width: 20px; height: 20px; }

/* ==========================================================
   LOGO (kept exactly as designed)
   The "A" is an upside-down V (an arrowhead). On hover it turns right and cuts through RENA.
   ========================================================== */
.logo { display: flex; align-items: center; gap: 12px; }
.logo__text { font-family: var(--font-logo); font-size: clamp(25px, 7.6vw, 32px); font-weight: 900; letter-spacing: 0.07em; line-height: 1.4; white-space: nowrap; color: #09090b; }
@media (min-width: 768px) { .logo__text { font-size: 42px; } }
.site-footer .logo__text { font-size: clamp(34px, 10vw, 48px); }
.logo-a { position: relative; display: inline-block; width: .74em; height: .72em; margin-right: 0.07em; vertical-align: baseline; }
.logo-a svg { position: absolute; left: 0; bottom: 0; width: 100%; height: 100%; overflow: visible; fill: #09090b; }
.logo:hover .logo-a svg { animation: logo-launch 1.8s linear both; }
@keyframes logo-launch {
  0% { transform: translate(0, 0) rotate(0deg); opacity: 1; animation-timing-function: cubic-bezier(.4,0,.2,1); }
  14% { transform: translate(0, 0) rotate(90deg); opacity: 1; animation-timing-function: cubic-bezier(.6,0,.9,.4); }
  52% { transform: translate(7.4em, 0) rotate(90deg); opacity: 1; }
  52.1% { transform: translate(0, 14px) rotate(0deg); opacity: 0; animation-timing-function: ease-out; }
  100% { transform: translate(0, 0) rotate(0deg); opacity: 1; }
}
/* RENA is cut in half as the arrow passes, then closes back up */
.logo-rena { color: inherit; }
.lt { position: relative; display: inline-block; }
.lt__a, .lt__b { display: block; background-image: linear-gradient(90deg, var(--c1), var(--c2)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.lt__a { clip-path: inset(-20% -10% 48% -10%); }
.lt__b { position: absolute; left: 0; top: 0; clip-path: inset(48% -10% -20% -10%); }
.logo:hover .lt__a { animation: lt-top .9s ease-out both; animation-delay: var(--d, 0s); }
.logo:hover .lt__b { animation: lt-bot .9s ease-out both; animation-delay: var(--d, 0s); }
@keyframes lt-top { 0%, 100% { transform: translate(0, 0); } 20%, 42% { transform: translate(0, -.22em); } }
@keyframes lt-bot { 0%, 100% { transform: translate(0, 0); } 20%, 42% { transform: translate(0, .22em); } }
@media (prefers-reduced-motion: reduce) { .logo:hover .logo-a svg, .logo:hover .lt__a, .logo:hover .lt__b { animation: none; } }
.lt:nth-child(1) { --d: .34s; } .lt:nth-child(2) { --d: .53s; } .lt:nth-child(3) { --d: .62s; } .lt:nth-child(4) { --d: .69s; }
/* Logo on a dark background (footer): all white */
.logo--light .logo__text { color: #fff; }
.logo--light .logo-a svg { fill: #fff; }
.logo--light .lt__a, .logo--light .lt__b { background: none; -webkit-text-fill-color: #fff; color: #fff; }

/* ==========================================================
   FORM FIELDS
   ========================================================== */
.field { display: flex; flex-direction: column; gap: 8px; }
.field label, .label { font-size: 15px; font-weight: 600; line-height: 1.2; }
.input, .select {
  width: 100%; min-width: 0; height: 56px; padding: 4px 16px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--white); color: var(--ink);
  font-size: 18px; outline: none; transition: border-color .15s, box-shadow .15s;
}
.input::placeholder { color: #6b7280; }
.input:focus-visible { border-color: var(--ink); box-shadow: 0 0 0 3px var(--focus); }
.on-dark .input { border-color: var(--line-dark-strong); }
.on-dark .input:focus-visible { border-color: var(--accent); }
.input[readonly] { background: var(--surface); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-error { padding: 12px 16px; border: 1px solid var(--error); border-radius: 12px; color: var(--error); font-size: 16px; }
.on-dark .form-error { border-color: var(--error-dark); color: var(--error-dark); }
.form-error[hidden] { display: none; }

/* Email box (hero and bottom of the home page) */
.capture { display: flex; flex-direction: column; gap: 10px; }
.capture__label { font-size: 15px; font-weight: 600; color: var(--on-dark-2); }
.capture__row { display: flex; flex-direction: column; gap: 12px; }
@media (min-width: 560px) { .capture__row { flex-direction: row; } }
.capture__input { flex: none; }
@media (min-width: 560px) { .capture__input { flex: 1; } }
.capture__btn { height: 56px; padding: 0 28px; font-size: 18px; }
.capture__error { font-size: 15px; color: var(--error-dark); }
.capture__error[hidden] { display: none; }
.fine { margin-top: 14px; font-size: 14px; line-height: 1.5; color: var(--muted-on-dark); }
.fine a { text-decoration: underline; text-underline-offset: 2px; }
.fine a:hover { color: var(--on-dark); }

/* ==========================================================
   HOME
   ========================================================== */
.hero { padding: 76px 0 0; }
.hero__inner { display: grid; grid-template-columns: minmax(0, 1fr); gap: 56px; align-items: center; padding-top: 56px; padding-bottom: 72px; }
@media (min-width: 900px) { .hero__inner { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 64px; padding-top: 88px; padding-bottom: 104px; } }
.hero__copy { min-width: 0; display: flex; flex-direction: column; gap: 32px; }
.hero__title { font-size: clamp(34px, 8.4vw, 54px); line-height: .92; color: var(--white); overflow-wrap: break-word; }
.hero__form { max-width: 34rem; }
.hero__head { display: flex; flex-direction: column; gap: 20px; }
.hero__line { display: block; }
.hero__copy { container-type: inline-size; }
@media (min-width: 900px) { .hero__title { font-size: clamp(46px, 4.4vw, 68px); } }
@supports (width: 1cqw) { .hero__title { font-size: min(14.9cqw, 150px); line-height: .9; } }
.hero__sub { font-size: clamp(19px, 2.6vw, 28px); line-height: 1.35; font-weight: 500; color: var(--on-dark-2); max-width: 40rem; text-wrap: balance; }

/* Hero video: the phone walkthrough, playing silently on a loop. Its black backdrop blends into the page, so only the phone shows. */
.reel { position: relative; width: min(100%, 280px); margin-inline: auto; aspect-ratio: 1 / 2; }
@media (min-width: 900px) { .reel { width: min(100%, 320px); } }
.reel__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; display: block; mix-blend-mode: lighten; }

/* Light and alternate sections */
.sec { padding: var(--section) 0; }
.sec--surface { background: var(--surface); }
.sec__head { max-width: 52rem; margin-bottom: 48px; }
.sec h2 { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: clamp(30px, 3.6vw, 46px); line-height: .98; }
.sec__sub { margin-top: 16px; font-size: 18px; color: var(--muted); }
.cards { display: flex; flex-wrap: wrap; gap: 20px; }
.card { flex: 1 1 280px; min-width: 0; padding: 28px; border-radius: 20px; border: 1px solid var(--line); background: var(--white); }
.sec:not(.sec--surface) .card--tint { background: var(--surface); }
.card h3 { font-size: 22px; font-weight: 700; line-height: 1.25; margin-bottom: 10px; }
.card p { color: var(--muted); }
/* Problem cards: dark graphic panels that come alive on hover (or tap on a phone) */
.card--art { display: flex; flex-direction: column; overflow: hidden; }
.card--art p { margin-bottom: 26px; }
.card__art { display: block; width: 100%; height: auto; margin-top: auto; border-radius: 14px; fill: none; stroke: none; overflow: hidden; }
.art__bg { fill: var(--ink); }
.art__mow { fill: #16191E; }
.art__line { fill: none; stroke: #5A5F67; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.ln { transform-box: view-box; transform-origin: var(--ox) var(--oy); transition: transform .9s cubic-bezier(.2,.9,.3,1) var(--rd, 0s), opacity .5s ease var(--rd, 0s); }
.pl, .art__wave, .art__flash, .bub, .dot, .nd, .nd__ping { transform-box: fill-box; transform-origin: center; }
.rd__road { fill: none; stroke: #232932; stroke-width: 6; }
.rd__park { fill: #123524; }
.rd__lawn { fill: #17452E; }
.rd__ping { fill: none; stroke: var(--accent); stroke-width: 1.4; opacity: 0; transform-box: fill-box; transform-origin: center; }
.rd--gold { fill: var(--accent); }
.rd--white { fill: #fff; }
.bub { transform-origin: 50% 100%; }
.pl { transition: transform .8s cubic-bezier(.2,.9,.3,1.12) var(--rl, 0s), opacity .5s ease var(--rl, 0s); }
.pl__dot--gold, .nd__dot--gold { fill: var(--accent); }
.pl__dot--white, .nd__dot--white { fill: #fff; }
.art__wave { fill: none; stroke: #fff; stroke-width: 2; opacity: 0; vector-effect: non-scaling-stroke; }
.art__flash { fill: var(--accent); opacity: 0; }
.bub__shape { fill: rgba(255,255,255,.07); stroke: rgba(255,255,255,.45); stroke-width: 1.5; stroke-linejoin: round; }
.bub__txt { fill: #fff; font-family: var(--font); font-size: 14.5px; font-weight: 600; text-anchor: middle; }
.qm { fill: var(--accent); }
.dot { fill: rgba(255,255,255,.75); }
.nd { transition: transform .9s cubic-bezier(.2,.8,.2,1); }
.nd__ring { fill: none; stroke: rgba(255,255,255,.85); stroke-width: 2; }
.nd__ping { fill: none; stroke: rgba(255,255,255,.6); stroke-width: 1.5; opacity: 0; vector-effect: non-scaling-stroke; }

@media (prefers-reduced-motion: no-preference) {
  /* 1. three players pop out one by one, then the rest explode, the pitch splinters outward from the middle and everything is gone */
  .card--art:is(:hover, .is-on) .pl--solo { transform: scale(0); opacity: 0; transition: transform .3s cubic-bezier(.5,0,.8,.4) calc(var(--vo) * .4s), opacity .25s ease calc(var(--vo) * .4s + .05s); }
  .card--art:is(:hover, .is-on) .pl:not(.pl--solo) { transform: translate(var(--dx), var(--dy)) scale(.2); opacity: 0; transition: transform .95s cubic-bezier(.15,.7,.25,1) calc(1.3s + var(--dl)), opacity .3s ease calc(1.65s + var(--dl)); }
  .card--art:is(:hover, .is-on) .ln { transform: translate(var(--bx), var(--by)) rotate(var(--rot)); opacity: 0; transition: transform .85s cubic-bezier(.1,.7,.25,1) calc(1.3s + var(--fd)), opacity .3s ease calc(1.3s + var(--fd) + .45s); }
  .card--art:is(:hover, .is-on) .art__wave { animation: art-wave .9s cubic-bezier(.1,.7,.3,1) 1.3s forwards; }
  .card--art:is(:hover, .is-on) .art__flash { animation: art-flash .45s ease-out 1.3s forwards; }
  /* 2. the messages keep arriving, and nobody answers */
  .card--art:is(:hover, .is-on) .bub { animation: art-pop .55s cubic-bezier(.3,1.5,.5,1) calc(var(--k) * .22s) both; }
  .card--art:is(:hover, .is-on) .dot { animation: art-dot 1s ease-in-out calc(var(--j) * .16s + .9s) infinite; }
  /* 3. everyone drifts further apart, each pinging for someone nearby */
  .card--art:is(:hover, .is-on) .rd { animation: art-walk 3s cubic-bezier(.45,0,.35,1) var(--d, 0s) both; }
  .card--art:is(:hover, .is-on) .rd__ping { animation: art-ping 2s ease-out 3.4s infinite; }
  .card--art:is(:hover, .is-on) .nd { transform: translate(var(--dx), var(--dy)); }
  .card--art:is(:hover, .is-on) .nd__ping { animation: art-ping 2s ease-out var(--p) infinite; }
}
@keyframes art-wave { from { transform: scale(.4); opacity: .9; } to { transform: scale(15); opacity: 0; } }
@keyframes art-flash { from { transform: scale(.4); opacity: .8; } to { transform: scale(3.4); opacity: 0; } }
@keyframes art-pop { from { transform: scale(.3); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes art-dot { 0%, 60%, 100% { transform: translateY(0); opacity: .55; } 30% { transform: translateY(-5px); opacity: 1; } }
@keyframes art-ping { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(3.6); opacity: 0; } }
.closer { margin-top: 40px; font-size: clamp(20px, 2.2vw, 24px); font-weight: 700; line-height: 1.35; max-width: 44rem; }

.step-num { display: block; margin-bottom: 18px; font-family: var(--font-display); font-weight: 400; font-size: 64px; line-height: 1; }

/* Who it's for */
.role-icon { width: 48px; height: 48px; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 18px; border-radius: 14px; background: var(--ink); color: var(--white); }
.role-icon .icon { width: 28px; height: 28px; }
.role-icon .icon--lg { width: 40px; height: 40px; }
.role-label { font-family: var(--font-narrow); display: block; margin-bottom: 8px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.role { display: flex; flex-direction: column; flex: 1 1 250px; min-width: 0; padding: 28px; border-radius: 20px; border: 1px solid var(--line); background: var(--white); transition: border-color .2s, transform .2s; }
.role:hover { border-color: var(--ink); transform: translateY(-3px); }
.role h3 { font-size: 22px; font-weight: 700; line-height: 1.25; margin-bottom: 10px; }
.role p { color: var(--muted); margin-bottom: 22px; }
.role__go { margin-top: auto; font-size: 16px; font-weight: 700; }
.role--player { flex: 1 1 100%; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding: 36px; border-radius: 24px; background: var(--ink); border-color: var(--ink); color: var(--on-dark); --focus: var(--accent); }
.role--player:hover { border-color: var(--accent); }
.role--player .role-label { color: var(--on-dark-2); }
.role--player h3 { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: clamp(26px, 3.1vw, 38px); line-height: .98; color: var(--white); }
.role--player p { color: var(--on-dark-2); margin: 0; max-width: 34rem; }
.role--player .role__text { flex: 1 1 320px; min-width: 0; }
.role--player .btn { flex: none; max-width: 100%; white-space: normal; text-align: center; height: auto; min-height: 56px; padding-block: 12px; }
.role--host { margin-top: 20px; }
.roles-pro { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 20px; }

/* Final call to action */
.final { padding: var(--section) 0; }
.final__inner { max-width: 760px; margin: 0 auto; padding: 0 var(--pad); text-align: center; }
.final h2 { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: clamp(34px, 4.6vw, 60px); line-height: .94; color: var(--white); }
.final__sub { margin: 18px 0 36px; font-size: 19px; color: var(--on-dark-2); }
.final .capture { text-align: left; }
.final .fine { text-align: center; }

/* ==========================================================
   PRODUCTS
   ========================================================== */
.page-hero { padding: 148px 0 64px; text-align: center; }
@media (min-width: 768px) { .page-hero { padding: 184px 0 80px; } }
.page-hero .narrow { max-width: 1000px; }
.page-hero h1 { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: clamp(34px, 5.4vw, 66px); line-height: .94; }
.kicker { font-family: var(--font-narrow); font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.apps { padding-bottom: var(--section); }
.apps__grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.app { position: relative; min-width: 0; min-height: 220px; display: flex; flex-direction: column; justify-content: space-between; gap: 48px; padding: 28px; border-radius: 20px; border: 1px solid var(--line); background: var(--surface); transition: border-color .2s; -webkit-tap-highlight-color: transparent; }
.app:hover { border-color: var(--ink); }
.app__icon { width: 52px; height: 52px; display: flex; align-items: center; justify-content: center; border-radius: 14px; background: var(--ink); color: var(--white); }
.app__icon .icon { width: 26px; height: 26px; }
.app__name { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: 30px; line-height: 1; }
.app__tip { font-family: var(--font-narrow); position: absolute; right: 20px; top: 20px; padding: 8px 14px; border-radius: 999px; background: var(--accent); color: var(--ink); font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .15s; }
.app:hover .app__tip, .app:focus-visible .app__tip { opacity: 1; }
/* The flagship (Arena) sits above the four smaller products */
.app--flagship { min-height: clamp(380px, 56vh, 620px); margin-bottom: 20px; padding: 40px; justify-content: flex-end; overflow: hidden; border-radius: 24px; background: var(--ink); border-color: var(--ink); color: var(--white); --focus: var(--accent); }
@media (min-width: 768px) { .app--flagship { padding: 56px; } }
.app--flagship .app__icon { position: relative; z-index: 2; width: 72px; height: 72px; border-radius: 20px; background: var(--ink-2); border: 1px solid var(--line-dark-strong); }
.app--flagship .app__icon .icon { width: 36px; height: 36px; }
.app--flagship .app__name { position: relative; z-index: 2; font-size: clamp(64px, 14vw, 180px); line-height: .92; }
.app--flagship .app__tip { z-index: 3; right: 24px; top: 24px; }
.app__rings { position: absolute; right: -8%; top: 50%; width: min(70vw, 760px); aspect-ratio: 1; transform: translateY(-50%); pointer-events: none; }
.app__rings i { position: absolute; border-radius: 50%; border: 1px solid var(--line-dark-strong); }
.app__rings i:nth-child(1) { inset: 0; }
.app__rings i:nth-child(2) { inset: 12%; }
.app__rings i:nth-child(3) { inset: 24%; background: var(--ink-2); }

/* ==========================================================
   JOIN FORM PAGE (white) and thank-you screen
   ========================================================== */
.form-page { min-height: 100vh; padding: 76px var(--pad) 64px; }
.form-page__inner { max-width: 36rem; margin: 0 auto; padding-top: 56px; }
.form-page__head { margin-bottom: 36px; }
.form-page__badge { width: 64px; height: 64px; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 24px; border-radius: 18px; background: var(--accent); color: var(--ink); }
.form-page__badge .icon { width: 32px; height: 32px; }
.form-page h1 { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: clamp(36px, 5.4vw, 54px); line-height: .94; margin-bottom: 16px; color: var(--ink); }
.form-page__head p { font-size: 19px; color: var(--muted); }

.form { display: flex; flex-direction: column; gap: 24px; }
.form__note { font-size: 16px; color: var(--muted); }
.wizard { gap: 28px; }
.wizard__progress { font-family: var(--font-narrow); display: flex; flex-direction: column; gap: 10px; font-size: 14px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.wizard__bar { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 6px; }
.wizard__bar i { display: block; height: 4px; border-radius: 4px; background: var(--line); transition: background-color .3s; }
.wizard__bar i.is-done { background: var(--accent); }
.step { display: flex; flex-direction: column; }
.step[hidden] { display: none; }
.step:not([hidden]) { animation: step-in .35s ease both; }
@keyframes step-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.step__title, .chips legend.step__title { display: block; padding: 0; margin-bottom: 18px; font-size: 28px; font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; color: var(--ink); }
@media (max-width: 480px) { .step__title, .chips legend.step__title { font-size: 24px; } }
.input--lg { height: 60px; font-size: 20px; }
.step__nav { display: flex; align-items: center; gap: 12px; margin-top: 24px; }
.step__back { height: 48px; padding: 0 12px; font-size: 17px; font-weight: 600; color: var(--muted); }
.step__back:hover { color: var(--ink); }
.form__fine { font-size: 14px; line-height: 1.5; color: var(--muted); }
.form__fine a { text-decoration: underline; text-underline-offset: 2px; }

/* Role choices: selected = gold fill + check */
.chips { border: 0; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.chips__bar { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); }
.chip { position: relative; display: block; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.chip__body { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 4px; height: 100%; min-height: 76px; padding: 14px 10px; border-radius: 16px; border: 1px solid var(--line); background: var(--white); color: var(--ink); transition: background-color .15s, color .15s, border-color .15s; }
.chip__body strong { font-size: 17px; font-weight: 700; }
.chip__body small { font-size: 13px; line-height: 1.3; color: var(--muted); }
.chip:hover .chip__body { border-color: var(--ink); }
.chip input:checked + .chip__body { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.chip input:checked + .chip__body small { color: var(--ink); }
.chip input:checked + .chip__body::after { content: ""; position: absolute; top: 8px; right: 8px; width: 14px; height: 14px; background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230E1116' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }
.chip input:focus-visible + .chip__body { outline: 3px solid var(--ink); outline-offset: 3px; }

/* Thank-you screen */
.success { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 100px var(--pad) 48px; }
.success[hidden] { display: none; }
.success__box { max-width: 34rem; width: 100%; padding: 36px 28px; border-radius: 20px; border: 1px solid var(--line); background: var(--surface); text-align: center; }
.success__box .icon { width: 64px; height: 64px; margin: 0 auto 20px; padding: 14px; border-radius: 999px; background: var(--accent); color: var(--ink); }
.success__box h1 { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: 30px; line-height: 1; margin-bottom: 14px; color: var(--ink); }
.success__box .success__lead { margin-bottom: 18px; color: var(--muted); }
.success__box .success__spot { margin-bottom: 22px; font-size: 26px; font-weight: 700; line-height: 1.2; color: var(--ink); }
.success__spot strong { background: var(--accent); padding: 0 8px; border-radius: 8px; }
.success__box .share { margin-bottom: 8px; text-align: left; }
.success__box .share__label { margin-bottom: 12px; font-size: 16px; color: var(--muted); text-align: center; }
.share__row { display: flex; flex-wrap: wrap; gap: 8px; }
.share__row .input { flex: 1 1 180px; height: 48px; font-size: 16px; }
.success__box .share__done { margin: 8px 0 0; font-size: 14px; color: var(--ink); font-weight: 600; text-align: center; }
.share__done[hidden], .enrich[hidden], .share[hidden], .success__spot[hidden], .enrich__note[hidden] { display: none; }
.enrich { margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--line); text-align: left; display: flex; flex-direction: column; gap: 16px; }
.enrich h2 { font-size: 20px; font-weight: 700; line-height: 1.2; color: var(--ink); }
.success__box .enrich__note { margin: 0; font-size: 14px; font-weight: 600; color: var(--ink); }
.enrich__row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }

/* ==========================================================
   PRIVACY / TERMS and 404
   ========================================================== */
.legal { padding: 148px 0 var(--section); }
@media (min-width: 768px) { .legal { padding-top: 172px; } }
.legal__inner { max-width: 44rem; }
.legal h1 { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: clamp(34px, 4.6vw, 50px); line-height: .96; margin-bottom: 10px; }
.legal__date { color: var(--muted); margin-bottom: 32px; }
.legal h2 { font-size: 22px; font-weight: 700; margin: 32px 0 8px; }
.legal p, .legal li { font-size: 17px; line-height: 1.7; }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 24px; margin: 8px 0; list-style: disc; }
.legal a { text-decoration: underline; text-underline-offset: 2px; }
.notfound { min-height: 80vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 140px 24px 56px; }
.notfound h1 { font-family: var(--font-display); font-weight: 400; font-size: 140px; line-height: 1; margin-bottom: 12px; }
.notfound p { color: var(--muted); margin-bottom: 28px; font-size: 20px; }

/* Old Join page (not linked from anywhere) */
.contact { padding: 148px 0 var(--section); }
.contact__intro { margin-bottom: 40px; text-align: center; }
.contact__intro h1 { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: clamp(34px, 5.4vw, 58px); line-height: .94; }
.join-apps { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.join-app { min-width: 0; display: flex; flex-direction: column; padding: 28px; border-radius: 20px; border: 1px solid var(--line); background: var(--surface); }
.join-app__icon { width: 48px; height: 48px; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 18px; border-radius: 14px; background: var(--ink); color: var(--white); }
.join-app__icon .icon { width: 24px; height: 24px; }
.join-app h2 { font-size: 26px; font-weight: 800; line-height: 1.2; margin-bottom: 10px; }
.join-app p { flex-grow: 1; color: var(--muted); margin-bottom: 24px; }
.ring-bg { display: none; }

/* How it works: three steps on one connected path, each with a small product scene on top */
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; }
.steps > .step { position: relative; padding-top: 40px; }
.step__node { position: absolute; z-index: 2; top: 0; left: 50%; width: 16px; height: 16px; margin-left: -8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px var(--surface); }
.step__node::after { content: ""; position: absolute; left: 7px; top: 16px; width: 2px; height: 24px; background: var(--accent); }
.steps > .step:not(:last-child)::before { content: ""; position: absolute; z-index: 1; top: 6.5px; left: 50%; width: calc(100% + 20px); height: 3px; border-radius: 2px; background: var(--accent); transform-origin: left center; }
.step__card.card { flex: none; height: 100%; padding: 12px 12px 28px; }
.step__card h3 { padding: 0 14px; margin-top: 22px; }
.step__card p { padding: 0 14px; }
.step__art { display: block; width: 100%; height: auto; border-radius: 14px; fill: none; stroke: none; overflow: hidden; }
@media (max-width: 899px) {
  .steps { grid-template-columns: 1fr; padding-left: 44px; }
  .steps > .step { padding-top: 0; }
  .step__node { top: 24px; left: -44px; margin-left: 0; }
  .step__node::after { left: 16px; top: 7px; width: 22px; height: 2px; }
  .steps > .step:not(:last-child)::before { top: 32px; left: -37px; width: 3px; height: calc(100% + 20px); transform-origin: center top; }
}
.sa__road { fill: none; stroke: #232932; stroke-width: 7; stroke-linecap: round; }
.sa__park { fill: #151A21; }
.sa__pitch { fill: none; stroke: #2F3640; stroke-width: 1.4; }
.sa__dim { fill: #5A5F67; }
.sa__ping { fill: none; stroke: var(--accent); stroke-width: 1.6; opacity: .5; }
.sa__cardbg { fill: #1A1F27; stroke: #3A4250; stroke-width: 1.2; }
.sa__t { font-family: var(--font); fill: #fff; }
.sa__t--h { font-size: 15px; font-weight: 700; }
.sa__t--s { font-size: 11.5px; font-weight: 500; fill: #A9B1BD; }
.sa__t--c { font-size: 12.5px; font-weight: 800; fill: var(--ink); text-anchor: middle; }
.sa__t--n { font-size: 20px; font-weight: 800; text-anchor: middle; }
.sa__t--m { text-anchor: middle; }
.sa__slot { fill: none; stroke: #3A4250; stroke-width: 1.5; stroke-dasharray: 3 4; }
.sa__fill { fill: #fff; }
.sa__fill--g { fill: #C9D0DA; }
.sa__me { fill: var(--accent); }
.sa__tick { fill: none; stroke: var(--ink); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.sa__track { fill: none; stroke: #2A313C; stroke-width: 4; }
.sa__ring { fill: none; stroke: var(--accent); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 100 100; transform: rotate(-90deg); transform-origin: 76px 66px; }
.sa__pin, .sa__card, .sa__bar, .sa__slot, .sa__fill, .sa__me, .sa__tick, .sa__pill, .sa__badge, .sa__stat, .sa__dim, .sa__ping, .sa__who { transform-box: fill-box; transform-origin: center; }
.sa__bar { transform-origin: left center; }
.sa__pin { transform-origin: 50% 100%; }

@media (prefers-reduced-motion: no-preference) {
  .js .steps > .step:not(:last-child)::before { transform: scaleX(0); transition: transform .8s cubic-bezier(.5,0,.2,1) calc(.35s + var(--i) * .8s); }
  .js .steps > .step.is-visible:not(:last-child)::before { transform: scaleX(1); }
  @media (max-width: 899px) {
    .js .steps > .step:not(:last-child)::before { transform: scaleY(0); transition-delay: .25s; }
    .js .steps > .step.is-visible:not(:last-child)::before { transform: scaleY(1); }
  }
  .js .step__node { transform: scale(0); transition: transform .45s cubic-bezier(.3,1.6,.5,1) calc(var(--i) * .8s + .15s); }
  .js .steps > .step.is-visible .step__node { transform: scale(1); }
  /* 1. a pin drops on the map, then the game card rises and its spots fill */
  .steps > .step.is-visible .sa__pin { animation: sa-drop .6s cubic-bezier(.3,1.4,.5,1) .55s both; }
  .steps > .step.is-visible .sa__ping { animation: sa-ping 2.4s ease-out 1.3s infinite; }
  .steps > .step.is-visible .sa__dim { animation: sa-pop .4s ease-out calc(.9s + var(--i) * .15s) both; }
  .steps > .step.is-visible .sa__card { animation: sa-rise .6s cubic-bezier(.2,.9,.3,1) 1s both; }
  .steps > .step.is-visible .sa__bar { animation: sa-grow .8s cubic-bezier(.3,0,.2,1) 1.5s both; }
  /* 2. the roster fills up one spot at a time, the last one is you */
  .steps > .step.is-visible .sa__fill { animation: sa-pop .35s cubic-bezier(.3,1.6,.5,1) calc(.4s + var(--i) * .13s) both; }
  .steps > .step.is-visible .sa__me { animation: sa-pop .45s cubic-bezier(.3,1.6,.5,1) calc(.4s + var(--i) * .13s) both; }
  .steps > .step.is-visible .sa__tick { animation: sa-fade .3s ease-out calc(.65s + var(--i) * .13s) both; }
  .steps > .step.is-visible .sa__pill { animation: sa-pop .5s cubic-bezier(.3,1.6,.5,1) 1.95s both; }
  /* 3. your record builds */
  .steps > .step.is-visible .sa__ring { animation: sa-ring 1.3s cubic-bezier(.4,0,.2,1) .4s both; }
  .steps > .step.is-visible .sa__who { animation: sa-fade .5s ease-out .9s both; }
  .steps > .step.is-visible .sa__stat { animation: sa-rise .5s cubic-bezier(.2,.9,.3,1) calc(.9s + var(--i) * .16s) both; }
  .steps > .step.is-visible .sa__badge { animation: sa-spin .7s cubic-bezier(.3,1.5,.5,1) 1.8s both; }
}
@keyframes sa-drop { from { transform: translateY(-46px); opacity: 0; } 60% { opacity: 1; } to { transform: none; opacity: 1; } }
@keyframes sa-ping { from { transform: scale(.6); opacity: .7; } to { transform: scale(2.4); opacity: 0; } }
@keyframes sa-pop { from { transform: scale(0); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes sa-rise { from { transform: translateY(26px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes sa-grow { from { transform: scaleX(0); } to { transform: none; } }
@keyframes sa-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes sa-ring { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 18; } }
@keyframes sa-spin { from { transform: scale(0) rotate(-120deg); opacity: 0; } to { transform: none; opacity: 1; } }

@keyframes art-walk { 0% { transform: translate(0, 0); } 33% { transform: translate(var(--x1), var(--y1)); } 66% { transform: translate(var(--x2), var(--y2)); } 100% { transform: translate(var(--x3), var(--y3)); } }
