/* RivlR marketing site. Plain CSS, no build step.
   Palette is fixed by the brand brief; everything else is a tint/mix of these tokens. */

@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Brand tokens (exact values from the brief) */
  --bg: #131318;
  --accent: #E94560;
  --text: #E4E1E9;
  --gradient: linear-gradient(135deg, #131318 0%, #E94560 100%);

  /* Derived neutral tints */
  --muted: color-mix(in srgb, var(--text) 70%, var(--bg));
  --faint: color-mix(in srgb, var(--text) 52%, var(--bg));
  --line: color-mix(in srgb, var(--text) 14%, transparent);
  --surface: color-mix(in srgb, var(--text) 5%, var(--bg));
  --surface-2: color-mix(in srgb, var(--text) 9%, var(--bg));
  --accent-hi: color-mix(in srgb, var(--accent) 78%, var(--text));
  --glow: radial-gradient(58% 48% at 50% 46%, color-mix(in srgb, var(--accent) 34%, transparent), transparent 72%);

  /* Motion: timing/easing measured on the reference site (see research/FINDINGS.md) */
  --ease: cubic-bezier(0.09, 0.56, 0.25, 1);
  --dur: 0.5s;

  --gutter: clamp(1.25rem, 4vw, 2rem);
  --mark-size: clamp(11rem, 50vw, 27rem);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { color-scheme: dark; background: var(--bg); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; min-height: 100svh;
  background: var(--bg); color: var(--text);
  font: 400 1rem/1.6 var(--font);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--accent); color: var(--bg); }

.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 1rem; top: -4rem; z-index: 100; background: var(--accent); color: var(--bg); padding: .6rem 1rem; border-radius: .5rem; font-weight: 700; text-decoration: none; }
.skip:focus { top: 1rem; }

/* ---------- ambient glow ---------- */
.glow { position: fixed; inset: 0; z-index: 0; pointer-events: none; background: var(--glow); opacity: .55; transition: opacity 1.2s var(--ease); }
.is-intro .glow { opacity: 1; animation: breathe 5s ease-in-out infinite; }
@keyframes breathe { 0%, 100% { opacity: .85; } 50% { opacity: 1; } }

/* ---------- header ---------- */
.bar { position: fixed; z-index: 20; top: 0; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: max(1.25rem, env(safe-area-inset-top)) var(--gutter) 1.6rem;
  background: linear-gradient(to bottom, var(--bg) 0%, color-mix(in srgb, var(--bg) 82%, transparent) 55%, transparent 100%); }
.brand { display: inline-flex; align-items: baseline; font-weight: 800; font-size: 1.6rem; line-height: 1; letter-spacing: -0.06em; text-decoration: none; }
.brand-r { display: inline-flex; margin-right: .08em; }
.brand-r img { height: .8em; width: auto; } /* the logo, sized to the cap height of the other letters */
.brand-rest span { display: inline-block; }
.bar nav { display: flex; gap: .5rem; }
.micro { font: 400 .6875rem/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; text-decoration: none; color: var(--muted); }
.micro a:hover { color: var(--text); }
/* top nav: readable pill links; the one whose section is in view fills with the accent (see main.js) */
.bar nav a { font: 600 .9rem/1 var(--font); letter-spacing: -.005em; text-decoration: none; color: var(--text); padding: .65rem 1.1rem; border-radius: 999px;
  background: color-mix(in srgb, var(--text) 6%, transparent); box-shadow: inset 0 0 0 1px var(--line); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transition: color .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease); }
.bar nav a:hover { background: color-mix(in srgb, var(--accent) 16%, transparent); box-shadow: inset 0 0 0 1px var(--accent); transform: translateY(-1px); }
.bar nav a[aria-current] { background: var(--accent); color: var(--bg); box-shadow: none; }

/* ---------- big R mark (intro state) ---------- */
.mark { position: fixed; inset: 0; z-index: 15; display: grid; place-items: center; pointer-events: none; animation: markIn 1s var(--ease) both; }
.mark span { display: block; transform-origin: 50% 50%; will-change: transform; }
.mark img { height: calc(var(--mark-size) * .78); width: auto; }
.mark-hint { justify-content: center; position: absolute; left: 0; right: 0; bottom: calc(4.6rem + env(safe-area-inset-bottom)); text-align: center; animation: hint 2.4s ease-in-out 1s infinite both; }
@keyframes markIn { from { opacity: 0; transform: scale(.92); } to { opacity: 1; transform: scale(1); } }
@keyframes hint { 0%, 100% { opacity: .45; } 50% { opacity: 1; } }
.mark-done .mark { display: none; }
.is-open .mark-hint { animation: none; opacity: 0; transition: opacity .2s; }

/* ---------- intro image trail (js/trail.js): above the glow, behind the big R ---------- */
.trail { position: fixed; inset: 0; z-index: 12; pointer-events: none; overflow: hidden; }
.trail img { position: absolute; left: 0; top: 0; width: clamp(5rem, 10vw, 8.5rem); aspect-ratio: 8 / 15; object-fit: cover; object-position: 50% 78%; border-radius: .75rem; /* tall cards; crop biased to the bottom so the baked-in captions survive */
  opacity: 0; will-change: transform, opacity; background: var(--surface-2); box-shadow: 0 18px 50px -18px rgb(0 0 0 / .7); }
.trail-hint { position: fixed; z-index: 14; left: 0; right: 0; top: max(1.5rem, calc(env(safe-area-inset-top) + 1rem)); display: grid; justify-items: center;
  pointer-events: none; opacity: 0; transition: opacity .7s var(--ease); }
.trail-hint.show { opacity: 1; }
.trail-hint-in { display: grid; justify-items: center; gap: .55rem; animation: hintBlink 2.6s ease-in-out infinite; }
.trail-hint svg { width: 4.75rem; height: auto; overflow: visible; }
.trail-hint .rail { stroke: var(--text); stroke-opacity: .32; stroke-width: 1.25; }
.trail-hint .comet { stroke: var(--accent); stroke-width: 2.25; stroke-dasharray: 24 76; animation: hintComet 2.6s linear infinite; filter: drop-shadow(0 0 4px var(--accent)); }
.trail-hint .micro { text-align: center; }
@keyframes hintBlink { 0%, 100% { opacity: .5; } 50% { opacity: 1; } }
@keyframes hintComet { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
.js.is-intro, .js.is-intro body { touch-action: none; } /* lets a finger drag paint the trail instead of starting a scroll */

/* ---------- state gating (JS only; without JS everything is visible) ---------- */
.js.is-intro body { overflow: hidden; }
.js .rise, .js .brand-rest span { opacity: 0; transform: translateY(16px); visibility: hidden; }
.js .brand { visibility: hidden; }
.js .brand-r { opacity: 0; }
.js.mark-done .brand-r { opacity: 1; }
.js.is-open .brand { visibility: visible; }
.js.is-open .rise, .js.is-open .brand-rest span {
  opacity: 1; transform: none; visibility: visible;
  transition: opacity var(--dur) var(--ease) calc(280ms + var(--i, 0) * 70ms),
              transform var(--dur) var(--ease) calc(280ms + var(--i, 0) * 70ms), visibility 0s;
}
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
.js .reveal.in { opacity: 1; transform: none; }
.js.is-intro .reveal, .js.is-intro .site-foot { visibility: hidden; }

/* ---------- hero ---------- */
main { position: relative; z-index: 1; }
.hero { position: relative; min-height: 100svh; display: grid; align-content: center; justify-items: center; text-align: center; padding: 6rem var(--gutter) 8rem; gap: 1.5rem; }
.hero h1 { font-weight: 800; font-size: clamp(3.25rem, 13vw, 7.5rem); line-height: .95; letter-spacing: -0.05em; text-wrap: balance; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .lede { max-width: 34rem; color: var(--muted); font-size: clamp(1rem, 2.4vw, 1.2rem); text-wrap: balance; }
.stores { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; margin-top: .5rem; }

.btn { display: inline-flex; flex-direction: column; align-items: flex-start; justify-content: center; min-height: 3.4rem; padding: .55rem 1.6rem; border-radius: 9999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-hi)); color: var(--bg); text-decoration: none; font-weight: 800; line-height: 1.15;
  box-shadow: 0 14px 44px -14px var(--accent), 0 0 0 1px color-mix(in srgb, var(--accent) 60%, transparent);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.btn small { display: inline-block; margin-bottom: .22rem; padding: .2rem .6rem; border-radius: 9999px; font: 600 .6875rem/1.2 var(--font); letter-spacing: .01em; color: var(--bg);
  background: linear-gradient(135deg, rgb(255 255 255 / .42), rgb(255 255 255 / .12));
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / .3), inset 0 1px 0 rgb(255 255 255 / .45); }
.btn span { font-size: 1.05rem; letter-spacing: -0.01em; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 20px 56px -12px var(--accent), 0 0 0 1px var(--accent); }
/* store badges: dark glass, real logos, crimson ring + glow on hover */
.btn.store { position: relative; overflow: hidden; flex-direction: row; align-items: center; gap: .8rem; min-height: 3.75rem; min-width: 11.5rem; padding: .7rem 1.5rem .7rem 1.15rem; border-radius: 1.1rem;
  background: linear-gradient(180deg, #24232b, #0d0d11); color: var(--text);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / .14), inset 0 1px 0 rgb(255 255 255 / .12), 0 16px 40px -18px color-mix(in srgb, var(--accent) 70%, transparent), 0 10px 26px -14px rgb(0 0 0 / .9); }
.btn.store::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgb(255 255 255 / .1) 50%, transparent 70%); translate: -120% 0; transition: translate .7s var(--ease); pointer-events: none; }
.btn.store:hover { transform: translateY(-2px);
  box-shadow: inset 0 0 0 1px var(--accent), inset 0 1px 0 rgb(255 255 255 / .14), 0 22px 54px -16px var(--accent), 0 10px 26px -14px rgb(0 0 0 / .9); }
.btn.store:hover::after { translate: 120% 0; }
.btn.store .logo { flex: none; width: 1.75rem; height: 1.75rem; }
.btn.store .txt { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.05; text-align: left; }
.btn.store small { margin: 0 0 .2rem; padding: 0; background: none; box-shadow: none; color: var(--muted); font: 500 .6875rem/1 var(--font); letter-spacing: .02em; }
.btn.store .txt > span { font: 700 1.25rem/1 var(--font); letter-spacing: -0.02em; }
.btn.ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1px var(--line); }
.btn.ghost:hover { box-shadow: inset 0 0 0 1px var(--accent); }

.hero-foot { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; align-items: center; padding: 1.25rem var(--gutter) max(1.25rem, env(safe-area-inset-bottom)); }
.micro { display: flex; gap: 1.1rem; }
.micro a { text-decoration: none; padding: .7rem 0; }
/* Instagram: glass pill with the brand-gradient tile + handle */
.micro .ig-link { display: inline-flex; align-items: center; gap: .6rem; padding: .3rem 1rem .3rem .3rem; border-radius: 9999px;
  font: 600 .8125rem/1 var(--font); letter-spacing: 0; text-transform: none; color: var(--text);
  transition: box-shadow .25s var(--ease), transform .25s var(--ease); }
.ig-tile { flex: none; display: grid; place-items: center; width: 1.95rem; height: 1.95rem; border-radius: .65rem; color: #fff;
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .35), 0 6px 16px -6px rgb(214 36 159 / .7); transition: transform .35s var(--ease); }
.ig { width: 1.15rem; height: 1.15rem; }
.micro .ig-link:hover { transform: translateY(-2px);
  box-shadow: inset 0 0 0 1px rgb(214 36 159 / .75), inset 0 1px 0 rgb(255 255 255 / .2), 0 12px 30px -12px rgb(214 36 159 / .8); }
.micro .ig-link:hover .ig-tile { transform: rotate(-8deg) scale(1.06); }

/* Terms / Privacy / Home: same glass pill, crimson icon tile that fills on hover */
nav.micro a.legal { display: inline-flex; align-items: center; gap: .55rem; padding: .3rem 1rem .3rem .3rem; font: 600 .8125rem/1 var(--font); color: var(--text); }
.lg-tile { flex: none; display: grid; place-items: center; width: 1.95rem; height: 1.95rem; border-radius: .65rem; color: var(--accent-hi);
  background: color-mix(in srgb, var(--accent) 16%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 38%, transparent);
  transition: background .3s var(--ease), color .3s var(--ease), transform .35s var(--ease), box-shadow .3s var(--ease); }
.lg-tile svg { width: 1.05rem; height: 1.05rem; }
nav.micro a.legal:hover { transform: translateY(-2px);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 75%, transparent), inset 0 1px 0 rgb(255 255 255 / .2), 0 12px 30px -12px var(--accent); }
nav.micro a.legal:hover .lg-tile { background: var(--accent); color: var(--bg); box-shadow: 0 6px 16px -6px var(--accent); transform: rotate(-6deg) scale(1.06); }
nav.micro a.legal[aria-current] .lg-tile { background: var(--accent); color: var(--bg); }
@media (max-width: 420px) {
  .hero-foot .ig-handle { display: none; }
  .hero-foot .micro .ig-link { padding: .3rem; }
}
nav.micro { gap: .5rem; }
.micro a:not(.ig-link) { padding: .6rem 1rem; border-radius: 9999px; font: 500 .8125rem/1 var(--font); letter-spacing: 0; text-transform: none; color: var(--muted);
  transition: color .25s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease); }
.micro a:not(.ig-link):hover { color: var(--text); transform: translateY(-1px);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 70%, transparent), inset 0 1px 0 rgb(255 255 255 / .2), 0 8px 22px -12px rgb(0 0 0 / .7); }

/* glass: translucent gradient, hairline edge, soft top highlight (labels, legal links, note, Instagram) */
.eyebrow, .chip, .sport, .micro a:not(.ig-link), .micro .ig-link {
  background: linear-gradient(135deg, rgb(255 255 255 / .11), rgb(255 255 255 / .03) 55%, color-mix(in srgb, var(--accent) 9%, transparent));
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / .09), inset 0 1px 0 rgb(255 255 255 / .16), 0 8px 22px -12px rgb(0 0 0 / .7);
  -webkit-backdrop-filter: blur(12px) saturate(140%); backdrop-filter: blur(12px) saturate(140%); }

/* ---------- persistent "+" toggle ---------- */
.dock { position: fixed; z-index: 30; left: 50%; bottom: max(.9rem, env(safe-area-inset-bottom)); translate: -50% 0; display: flex; align-items: center; gap: .5rem;
  height: 2.9rem; padding: 0 1.1rem 0 .55rem; border: 0; border-radius: 9999px; cursor: pointer;
  background: color-mix(in srgb, var(--bg) 72%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: inset 0 0 0 1px var(--line); font: 400 .6875rem/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.dock .plus { width: 1.9rem; height: 1.9rem; display: grid; place-items: center; font: 400 1.9rem/1 var(--font); color: var(--accent); transition: transform var(--dur) var(--ease); }
.dock[aria-expanded="true"] .plus { transform: rotate(135deg); }
.dock .dock-label { transition: opacity .3s; }
.is-intro .dock .dock-label { opacity: 0; width: 0; overflow: hidden; }
.is-intro .dock { padding-right: .55rem; }
.dock:hover { box-shadow: inset 0 0 0 1px var(--accent); }

/* ---------- About panel ---------- */
.about { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 2rem var(--gutter) 6rem; text-align: center;
  background: var(--bg); background-image: radial-gradient(70% 55% at 50% 105%, color-mix(in srgb, var(--accent) 45%, transparent), transparent 70%);
  transform: translateY(100%); visibility: hidden; transition: transform var(--dur) var(--ease), visibility 0s linear var(--dur); }
.about.open { transform: none; visibility: visible; transition: transform var(--dur) var(--ease), visibility 0s; }
.about-inner { max-width: 44rem; transform: translateY(16px); opacity: 0; transition: transform var(--dur) var(--ease), opacity .2s; }
.about.open .about-inner { transform: none; opacity: 1; transition: transform var(--dur) var(--ease) .1s, opacity .2s ease .2s; }
.about p.type { font-weight: 700; font-size: clamp(1.4rem, 4.2vw, 2.4rem); line-height: 1.25; letter-spacing: -0.02em; text-wrap: balance; min-height: 6em; }
.caret { color: var(--accent); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.about-links { margin-top: 1.5rem; justify-content: center; }
.about-links a { color: var(--text); }
.about-close { position: absolute; left: 50%; bottom: max(1.1rem, env(safe-area-inset-bottom)); translate: -50% 0; background: none; border: 0; cursor: pointer; padding: 1rem 1.5rem;
  font: 400 .75rem/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.about-close:hover { color: var(--accent); }

/* ---------- sections ---------- */
.section { position: relative; padding: clamp(4.5rem, 11vw, 8.5rem) var(--gutter); }
.wrap { max-width: 72rem; margin-inline: auto; }
.eyebrow { display: inline-flex; align-items: center; gap: .55rem; padding: .55rem 1rem .55rem .85rem; border-radius: 9999px; margin-bottom: 1.25rem;
  font: 600 .8125rem/1 var(--font); letter-spacing: .01em; color: var(--text); }
.eyebrow::before { content: ""; width: .42rem; height: .42rem; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
h2 { font-weight: 800; font-size: clamp(2rem, 6vw, 4rem); line-height: 1; letter-spacing: -0.045em; text-wrap: balance; }
.sub { color: var(--muted); max-width: 32rem; margin-top: 1.25rem; font-size: 1.0625rem; }

.steps { display: grid; gap: 0; margin-top: clamp(2.5rem, 6vw, 4rem); border-top: 1px solid var(--line); }
.steps li { padding: 1.75rem 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 4rem 1fr; gap: 1rem; align-items: start; }
.steps .n { font: 800 2.5rem/1 var(--font); letter-spacing: -0.05em; color: var(--accent); }
.steps h3 { font-size: 1.35rem; letter-spacing: -0.02em; }
.steps p { color: var(--muted); margin-top: .35rem; max-width: 28rem; }

.split { display: grid; gap: clamp(2.5rem, 6vw, 4rem); align-items: center; }
.features { margin-top: 2rem; display: grid; gap: 1.1rem; }
.features li { padding-left: 1.4rem; position: relative; }
.features li::before { content: ""; position: absolute; left: 0; top: .62em; width: .6rem; height: 2px; background: var(--accent); }
.features b { display: block; font-size: 1.05rem; letter-spacing: -0.01em; }
.features span { color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2rem; }
.chip { padding: .4rem .85rem; border-radius: 9999px; font: 500 .8125rem/1.2 var(--font); box-shadow: inset 0 0 0 1px var(--line); color: var(--muted); }
.panel-tint { background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--accent) 7%, transparent) 50%, transparent); }

.final { text-align: center; }
.final h2 { font-size: clamp(2.5rem, 9vw, 6rem); }
.final .stores { margin-top: 2rem; }

.site-foot { border-top: 1px solid var(--line); padding: 2rem var(--gutter) calc(6rem + env(safe-area-inset-bottom)); position: relative; z-index: 1; }
.site-foot .wrap { display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between; align-items: center; }
.site-foot .micro { flex-wrap: wrap; }
.fine { color: var(--faint); font: 400 .6875rem/1.5 var(--mono); letter-spacing: .04em; }

/* ---------- phone mockups (CSS-drawn, illustrative; no real data) ---------- */
.phones { display: flex; justify-content: center; gap: 1rem; position: relative; min-height: 34rem; }
.phone { width: min(15.5rem, 44vw); aspect-ratio: 9 / 18.6; border-radius: 2rem; padding: .35rem; background: var(--surface-2);
  box-shadow: 0 0 0 1px var(--line), 0 40px 80px -30px rgba(0, 0, 0, .9); }
.phones .phone:nth-child(2) { margin-top: 3rem; }
.screen { height: 100%; border-radius: 1.7rem; background: var(--bg); overflow: hidden; padding: .9rem .75rem .6rem; display: flex; flex-direction: column; gap: .55rem; font-size: .625rem; line-height: 1.2; }
.phone:has(> .screen.shot) { align-self: flex-start; }
.screen.shot { padding: 0; }
.screen.shot img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.s-title { font-weight: 800; font-size: .8rem; text-align: center; letter-spacing: -0.02em; }
.seg { display: grid; grid-template-columns: 1fr 1fr; padding: .15rem; border-radius: 9999px; background: var(--surface-2); }
.seg span { text-align: center; padding: .3rem 0; border-radius: 9999px; color: var(--muted); font-weight: 600; }
.seg .on { background: var(--accent); color: var(--bg); }
.row { display: flex; gap: .3rem; flex-wrap: nowrap; overflow: hidden; }
.pill { padding: .25rem .55rem; border-radius: 9999px; box-shadow: inset 0 0 0 1px var(--line); color: var(--muted); font-weight: 600; white-space: nowrap; }
.pill.on { box-shadow: inset 0 0 0 1px var(--accent); color: var(--accent); }
.label { font: 400 .5rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.range { height: 3px; border-radius: 2px; background: var(--surface-2); position: relative; margin: .2rem 0 .1rem; }
.range::before { content: ""; position: absolute; inset: 0 55% 0 0; background: var(--accent); border-radius: 2px; }
.range::after { content: ""; position: absolute; left: 45%; top: 50%; width: .6rem; height: .6rem; border-radius: 50%; background: var(--accent); translate: 0 -50%; }
.card { flex: 1; min-height: 0; border-radius: 1rem; position: relative; overflow: hidden; background:
  radial-gradient(80% 60% at 50% 30%, color-mix(in srgb, var(--accent) 38%, transparent), transparent 70%), var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.card .who { position: absolute; left: .7rem; right: .7rem; bottom: .7rem; display: grid; gap: .35rem; }
.bar-s { height: .5rem; border-radius: .25rem; background: color-mix(in srgb, var(--text) 78%, transparent); }
.bar-s.short { width: 45%; background: color-mix(in srgb, var(--text) 32%, transparent); }
.acts { display: flex; justify-content: center; gap: .6rem; }
.acts i { width: 1.6rem; height: 1.6rem; border-radius: 50%; display: grid; place-items: center; font-style: normal; box-shadow: inset 0 0 0 1px var(--line); color: var(--muted); }
.acts i.go { background: var(--accent); color: var(--bg); box-shadow: none; }
.nav { display: flex; justify-content: space-between; padding-top: .5rem; border-top: 1px solid var(--line); color: var(--faint); font-size: .5rem; }
.nav .on { color: var(--accent); }
.dates { display: grid; grid-template-columns: repeat(4, 1fr); gap: .3rem; }
.dates span { padding: .4rem 0; border-radius: .5rem; text-align: center; box-shadow: inset 0 0 0 1px var(--line); color: var(--muted); font-weight: 700; }
.dates .on { box-shadow: inset 0 0 0 1px var(--accent); color: var(--accent); }
.slots { display: grid; grid-template-columns: 1fr 1fr; gap: .35rem; }
.slots span { padding: .6rem 0; border-radius: .5rem; text-align: center; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); font-weight: 600; }
.slots .off { color: var(--faint); text-decoration: line-through; }
.slots .on { box-shadow: inset 0 0 0 1px var(--accent); color: var(--accent); }
.cta-s { margin-top: auto; padding: .65rem 0; border-radius: 9999px; text-align: center; background: linear-gradient(135deg, var(--accent), var(--accent-hi)); color: var(--bg); font-weight: 800; }
.req { display: flex; align-items: center; gap: .5rem; padding: .55rem; border-radius: .75rem; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.req .dot { width: 1.5rem; height: 1.5rem; border-radius: 50%; background: var(--surface-2); flex: none; }
.req .grow { flex: 1; display: grid; gap: .3rem; }
.req .ok, .req .no { width: 1.3rem; height: 1.3rem; border-radius: 50%; display: grid; place-items: center; font-style: normal; flex: none; }
.req .ok { background: var(--accent); color: var(--bg); }
.req .no { box-shadow: inset 0 0 0 1px var(--line); color: var(--muted); }
.pitch { padding: .6rem; border-radius: .75rem; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); display: grid; gap: .45rem; }
.pitch .top { display: flex; justify-content: space-between; align-items: center; font-weight: 700; font-size: .7rem; }
.tag { padding: .15rem .5rem; border-radius: 9999px; font-weight: 600; font-size: .5625rem; box-shadow: inset 0 0 0 1px var(--line); color: var(--muted); }
.tag.on { box-shadow: inset 0 0 0 1px var(--accent); color: var(--accent); }
.note { margin-top: 1.5rem; }
.chip { display: inline-flex; align-items: center; gap: .55rem; padding: .5rem 1rem .5rem .6rem; border-radius: 9999px; font: 500 .8125rem/1.2 var(--font); color: var(--muted); }
.chip::before { content: "i"; content: "i" / ""; flex: none; display: grid; place-items: center; width: 1.15rem; height: 1.15rem; border-radius: 50%; font: 700 .6875rem/1 var(--font);
  color: var(--accent); background: color-mix(in srgb, var(--accent) 20%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 45%, transparent); }

/* ---------- sports band (two rows scrolling opposite ways; static wrap for reduced motion) ---------- */
.sports { margin: clamp(3.5rem, 8vw, 5.5rem) calc(-1 * var(--gutter)) 0; display: grid; gap: .5rem; }
.sports-head { width: 100%; max-width: calc(72rem + 2 * var(--gutter)); padding-inline: var(--gutter); display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; margin-bottom: 1.25rem; }
.sports-head h3 { font-weight: 800; font-size: clamp(1.35rem, 3.4vw, 2rem); line-height: 1.1; letter-spacing: -0.035em; }
.sports-head h3 b { color: var(--accent); }
.marquee { --gap: .7rem; display: flex; gap: var(--gap); overflow: hidden; padding: .4rem 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); }
.track { display: flex; gap: var(--gap); flex: none; min-width: 100%; animation: marquee 80s linear infinite; }
.marquee.rev .track { animation-duration: 60s; animation-direction: reverse; }
.marquee:hover .track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-100% - var(--gap))); } }
.sport { display: inline-flex; align-items: center; gap: .65rem; padding: .4rem 1.15rem .4rem .4rem; border-radius: 9999px; white-space: nowrap;
  font: 600 .9375rem/1 var(--font); letter-spacing: -0.01em; color: var(--text); transition: box-shadow .25s var(--ease), transform .25s var(--ease); }
.sport i { flex: none; display: grid; place-items: center; width: 2.15rem; height: 2.15rem; border-radius: 50%; font-style: normal; font-size: 1.2rem; line-height: 1;
  background: color-mix(in srgb, var(--text) 7%, transparent); box-shadow: inset 0 0 0 1px var(--line); }
.sport.es i { background: color-mix(in srgb, var(--accent) 18%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 42%, transparent); }
.sport:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 75%, transparent), 0 10px 24px -12px var(--accent); }
@media (prefers-reduced-motion: reduce) {
  .marquee { -webkit-mask-image: none; mask-image: none; padding-inline: var(--gutter); }
  .track { animation: none; flex: 1; min-width: 0; flex-wrap: wrap; justify-content: center; }
  .track[aria-hidden="true"] { display: none; }
}

/* ---------- toast ---------- */
.toast { position: fixed; z-index: 60; left: 50%; bottom: 5.5rem; translate: -50% 0; background: var(--text); color: var(--bg); padding: .7rem 1.1rem; border-radius: 9999px; font-weight: 700; font-size: .875rem;
  opacity: 0; transform: translateY(8px); pointer-events: none; transition: opacity .25s, transform .25s var(--ease); white-space: nowrap; }
.toast.show { opacity: 1; transform: none; }

/* ---------- text pages (/terms /privacy) ---------- */
.doc { position: relative; z-index: 1; max-width: 46rem; margin: 0 auto; padding: 7rem var(--gutter) 8rem; }
.doc h1 { font-weight: 800; font-size: clamp(2.25rem, 7vw, 3.75rem); line-height: 1; letter-spacing: -0.045em; margin-bottom: 1.5rem; }
.doc h2 { font-size: 1.35rem; letter-spacing: -0.02em; margin: 2.5rem 0 .5rem; }
.doc p, .doc li { color: var(--muted); }
.doc ul { list-style: disc; padding-left: 1.25rem; display: grid; gap: .4rem; margin-top: .5rem; }
.doc p + p, .doc ul + p { margin-top: .75rem; }
.doc li b { color: var(--text); font-weight: 600; }
.doc li::marker { color: var(--accent); }
.doc a { color: var(--accent-hi); text-underline-offset: .2em; }
.doc a:hover { color: var(--text); }
.doc .updated { color: var(--faint); font: 400 .75rem/1.5 var(--mono); letter-spacing: .04em; margin-bottom: 1.5rem; }.banner { border: 1px solid var(--accent); border-radius: 1rem; padding: 1rem 1.25rem; margin-bottom: 2rem; background: color-mix(in srgb, var(--accent) 10%, transparent); }
.banner b { color: var(--accent); font: 500 .6875rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; display: block; margin-bottom: .4rem; }
.banner p { color: var(--text); }
.todo { color: var(--accent); font-family: var(--mono); font-size: .9em; }
.page .bar { background: linear-gradient(var(--bg), transparent); }
.page .brand-r, .page .brand-rest span { opacity: 1; transform: none; visibility: visible; }

/* ---------- breakpoints ---------- */
@media (max-width: 600px) {
  .nav span { font-size: 0; }
  .nav span::before { content: ""; display: block; width: .5rem; height: .5rem; border-radius: 50%; background: currentColor; margin: 0 auto; }
}
@media (max-width: 600px) {
  .hero-foot { padding-bottom: calc(4.6rem + env(safe-area-inset-bottom)); } /* keep Terms/Privacy/Support clear of the centred "+" button */
}
@media (max-width: 420px) {
  .bar nav { gap: .35rem; }
  .bar nav a { padding: .6rem .85rem; font-size: .85rem; }
  .brand { font-size: 1.4rem; }
  .btn { padding-inline: 1.3rem; }
  .micro a:not(.ig-link) { padding: .55rem .85rem; }
  .phones { min-height: 30rem; }
}
@media (min-width: 720px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
  .steps li { grid-template-columns: 1fr; padding: 2rem 2rem 2rem 0; border-bottom: 0; border-right: 1px solid var(--line); gap: 2rem; }
  .steps li:last-child { border-right: 0; }
  .steps li + li { padding-left: 2rem; }
  .split { grid-template-columns: 1fr 1fr; }
  .split.flip .phones { order: -1; }
}
@media (min-width: 1100px) {
  .bar { padding-inline: 2rem; }
  .hero-foot { padding-inline: 2rem; }
}

/* ---------- reduced motion: skip the animation, show content directly ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 0s !important; transition-delay: 0s !important; }
  .mark { display: none; }
}
