:root {
  --bg: #08090c;
  --bg-2: #0e1015;
  --fg: #f2f3f7;
  --muted: #9b9eab;
  --faint: #6d707d;
  --line: rgb(255 255 255 / .09);
  --line-2: rgb(255 255 255 / .18);
  --surface: rgb(255 255 255 / .035);
  --surface-2: rgb(255 255 255 / .07);
  --display: 'Big Shoulders Display', Impact, sans-serif;
  --body: Onest, system-ui, sans-serif;
  --spring: cubic-bezier(.3, 1.5, .5, 1);
  --ease: cubic-bezier(.2, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; scrollbar-width: thin; scrollbar-color: rgb(255 255 255 / .2) transparent; }
::-webkit-scrollbar { width: 9px; height: 9px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { border: 2px solid transparent; border-radius: 99px; background: rgb(255 255 255 / .18) padding-box; }
::-webkit-scrollbar-thumb:hover { background: rgb(255 255 255 / .4) padding-box; }

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--fg);
  font: 400 16.5px/1.55 var(--body);
}
/* Moonlight from above, on every page. */
body::before {
  content: '';
  position: fixed;
  inset: 0 0 auto;
  z-index: -1;
  height: 900px;
  background: radial-gradient(80% 70% at 50% -12%, rgb(176 186 224 / .2), rgb(176 186 224 / .06) 45%, transparent 75%);
  pointer-events: none;
}
a { color: inherit; }
button { font: inherit; }
img { max-width: 100%; }
:focus-visible { outline: 2px solid var(--fg); outline-offset: 2px; }
h1, h2, h3 { margin: 0; }

.display {
  font-family: var(--display);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.005em;
  text-transform: uppercase;
}

.wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }

/* Header */
.nav {
  position: sticky;
  top: 12px;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 22px;
  width: min(1200px, 100% - 24px);
  margin: 12px auto 0;
  padding: 9px 10px 9px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgb(14 16 21 / .72);
  backdrop-filter: blur(16px);
}
.logo { display: inline-flex; align-items: center; gap: 8px; font: 900 25px/1 var(--display); letter-spacing: .01em; text-decoration: none; text-transform: uppercase; }
.logo svg { width: 22px; height: 22px; }
.logo svg path { transition: transform .28s var(--spring); }
.logo:hover svg path:nth-child(1) { transform: translateY(-2px); }
.logo:hover svg path:nth-child(3) { transform: translateY(2px); }
.nav-links { display: flex; flex: 1; align-items: center; gap: 4px; }
.nav-link { padding: 6px 11px; border-radius: 9px; color: var(--muted); font-size: 15px; font-weight: 500; text-decoration: none; transition: color .14s, background .14s; }
.nav-link:hover, .nav-link[aria-current='page'] { background: var(--surface-2); color: var(--fg); }
.nav-end { display: flex; align-items: center; gap: 6px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border: 1px solid var(--fg);
  border-radius: 11px;
  background: var(--fg);
  color: var(--bg);
  font: 700 15.5px/1.2 var(--body);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .18s var(--spring), box-shadow .2s, opacity .12s;
}
.btn:hover { box-shadow: 0 8px 30px rgb(214 220 255 / .25); transform: translateY(-1px); }
.btn:active { transform: scale(.96); }
.btn:disabled { opacity: .55; cursor: progress; }
.btn-small { padding: 7px 14px; font-size: 14.5px; }
.btn-line { border-color: var(--line-2); background: none; color: var(--fg); }
.btn-line:hover { border-color: var(--fg); box-shadow: none; }
.linkish { padding: 0; border: 0; background: none; color: inherit; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* Hero */
.hero { padding: 40px 0 22px; text-align: center; }
.hero-copy { display: flex; flex-direction: column; align-items: center; }
.hero h1 { font-size: clamp(50px, 6.400vw, 96px); line-height: 1.02; }
.hero-lead { margin-top: 16px !important; }
.claim { width: 100%; margin-top: 18px !important; }
.claim-status { min-height: 0 !important; }
.claim-status:not(:empty) { min-height: 1.5em !important; }
.hero h1 span { display: block; animation: rise-in .7s var(--ease) backwards; }
.hero h1 span:nth-child(2) { animation-delay: .07s; color: rgb(242 243 247 / .38); }
.hero h1 span:nth-child(3) { animation-delay: .14s; }
.hero-lead { max-width: 44ch; margin: 24px 0 0; color: var(--muted); font-size: 19px; animation: rise-in .7s var(--ease) .2s backwards; }
@keyframes rise-in { from { opacity: 0; transform: translateY(18px); } }
@keyframes fade-in { from { opacity: 0; } }

.claim { max-width: 540px; margin-top: 26px; animation: rise-in .7s var(--ease) .27s backwards; }
.claim-row { display: flex; align-items: center; padding: 6px; border: 1px solid var(--line-2); border-radius: 15px; background: rgb(14 16 21 / .8); transition: border-color .16s, box-shadow .2s; }
.claim-row:focus-within { border-color: var(--fg); box-shadow: 0 0 0 4px rgb(255 255 255 / .07); }
.claim-prefix { padding-left: 13px; color: var(--muted); font-weight: 500; white-space: nowrap; }
.claim-input { flex: 1; min-width: 0; padding: 10px 6px 10px 1px; border: 0; outline: 0; background: none; color: inherit; font: 500 17px var(--body); }
.claim-status { min-height: 1.5em; margin: 9px 0 0 4px; color: var(--muted); font-size: 15px; }
.claim-status.good { color: var(--fg); }

/* The showcase: a real desktop profile in the middle, examples sliding in from both sides. */
.showcase {
  --close: 0;
  position: relative;
  height: clamp(320px, 45vw, 640px);
  overflow: hidden;
  perspective: 1800px;
  mask-image: linear-gradient(180deg, #000 82%, transparent);
}
.window { position: absolute; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line-2); border-radius: 14px; background: #08090c; box-shadow: 0 30px 80px rgb(0 0 0 / .65); }
.window-bar { display: flex; flex: none; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-bottom: 1px solid var(--line); background: #101116; }
.window-bar i { width: 9px; height: 9px; border-radius: 50%; background: rgb(255 255 255 / .16); }
.window-bar span { flex: 1; margin-right: 40px; color: var(--muted); font-size: 12.5px; text-align: center; }
.window-body { position: relative; flex: 1; min-height: 0; overflow: hidden; }
.window-body img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center; user-select: none; -webkit-user-drag: none; }
.window-main { top: 10px; left: 50%; z-index: 3; width: min(900px, 66%); height: calc(100% - 30px); transform: translateX(-50%); animation: rise-in .9s var(--ease) .25s backwards; }
.side { top: 12%; width: 40%; height: 74%; }
.side-l1 { z-index: 2; left: 2%; opacity: .92; transform: translateX(calc(-22% * (1 - var(--close)))) rotateY(26deg); transform-origin: right center; animation: from-left 1.1s var(--ease) .2s backwards; }
.side-r1 { z-index: 2; right: 2%; opacity: .92; transform: translateX(calc(22% * (1 - var(--close)))) rotateY(-26deg); transform-origin: left center; animation: from-right 1.1s var(--ease) .2s backwards; }
@keyframes from-left { from { opacity: 0; translate: -60% 0; } }
@keyframes from-right { from { opacity: 0; translate: 60% 0; } }
.showcase-note { margin: 12px 0 0; text-align: center; font-size: 14px; }
.showcase-note a { color: var(--faint); text-decoration: none; }
.showcase-note a:hover { color: var(--fg); }

/* Drawn fallback and decoration: a night scene behind a glass card. */
.scene-demo { position: absolute; inset: 0; display: grid; place-items: center; padding: 18px; transition: opacity .5s; }
.scene-art { position: absolute; inset: 0; width: 100%; height: 100%; }
.ember { animation: ember-up 7s linear infinite; }
.ember:nth-child(2) { animation-delay: -1.4s; animation-duration: 9s; }
.ember:nth-child(3) { animation-delay: -3s; animation-duration: 6s; }
.ember:nth-child(4) { animation-delay: -4.1s; animation-duration: 8s; }
.ember:nth-child(5) { animation-delay: -2.2s; animation-duration: 10s; }
@keyframes ember-up { 0% { opacity: 0; transform: translate(0, 40px); } 15% { opacity: 1; } 100% { opacity: 0; transform: translate(14px, -110px); } }

.glass { position: relative; width: 100%; padding: 24px 16px 14px; border: 1px solid rgb(255 255 255 / .2); border-radius: 16px; background: rgb(0 0 0 / .42); backdrop-filter: blur(9px); text-align: center; }
.glass-name { display: block; font-size: 30px; font-weight: 700; line-height: 1.1; }
.glass-bio { display: block; margin-top: 4px; font-size: 14.5px; font-weight: 500; }
.glass-box { display: flex; align-items: center; gap: 10px; margin-top: 16px; padding: 9px 10px; border: 1px solid rgb(255 255 255 / .16); border-radius: 13px; background: rgb(255 255 255 / .07); text-align: left; }
.glass-face { position: relative; display: grid; flex: none; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: #23242c; font-weight: 700; font-size: 20px; }
.glass-face::after { content: ''; position: absolute; right: 0; bottom: 0; width: 12px; height: 12px; border: 2px solid #17181e; border-radius: 50%; background: #23a55a; }
.glass-who { min-width: 0; }
.glass-who strong { display: flex; align-items: center; gap: 5px; font-size: 15px; font-weight: 500; }
.glass-who span { display: block; color: rgb(255 255 255 / .68); font-size: 12.5px; }
.glass-who b { color: #fff; font-weight: 500; }
.glyph { display: inline-block; flex: none; width: 17px; height: 17px; fill: currentColor; filter: drop-shadow(0 0 4px color-mix(in srgb, currentColor 65%, transparent)); }
.glass-icons { display: flex; justify-content: center; gap: 12px; margin-top: 16px; }
.glass-icons svg { width: 28px; height: 28px; fill: currentColor; }

/* Section headings */
.section { padding: 84px 0; }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 40px; margin-bottom: 30px; }
.section-head h2 { font-size: clamp(44px, 6.4vw, 88px); }
.section-head p { max-width: 42ch; margin: 0; color: var(--muted); }

/* Feature board: every tile shows the thing itself. */
.board { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 12px; }
.tile { position: relative; display: flex; flex-direction: column; min-height: 268px; overflow: hidden; padding: 22px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); transition: border-color .2s; }
.tile:hover { border-color: var(--line-2); }
.tile h3 { font: 800 30px/1 var(--display); letter-spacing: .005em; text-transform: uppercase; }
.tile p { margin: 7px 0 0; color: var(--muted); font-size: 15px; }
.tile-demo { margin-top: auto; padding-top: 22px; }
.span-5 { grid-column: span 5; }
.span-4 { grid-column: span 4; }
.span-7 { grid-column: span 7; }
.span-3 { grid-column: span 3; }
.span-8 { grid-column: span 8; }
.tile-widgets { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 22px 34px; }
.widgets-copy { flex: 1 1 260px; min-width: 0; }
.service-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.service { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: color-mix(in srgb, currentColor 13%, transparent); transition: transform .22s var(--spring); }
.service:hover { transform: translateY(-3px); }
.service svg { width: 23px; height: 23px; fill: currentColor; }
.player-mock { display: flex; flex: 1 1 280px; align-items: center; gap: 13px; min-width: 0; padding: 12px; border-radius: 14px; background: linear-gradient(120deg, #5c4410, #2c2208); }
.player-art { flex: none; width: 68px; height: 68px; border-radius: 9px; background: radial-gradient(circle at 30% 25%, #f7dc8a, #8a6412 62%, #33260a); }
.player-info { flex: 1; min-width: 0; }
.player-info b { display: block; font-weight: 700; }
.player-info span { display: block; color: rgb(255 255 255 / .7); font-size: 13.5px; }
.player-bar { height: 4px; margin-top: 10px; overflow: hidden; border-radius: 2px; background: rgb(255 255 255 / .22); }
.player-bar i { display: block; width: 38%; height: 100%; border-radius: 2px; background: #fff; animation: player-progress 14s linear infinite alternate; }
@keyframes player-progress { from { width: 12%; } to { width: 88%; } }
.player-play { position: relative; flex: none; width: 40px; height: 40px; border-radius: 50%; background: #fff; }
.player-play::after { content: ''; position: absolute; top: 12px; left: 15px; border-block: 8px solid transparent; border-left: 13px solid #1d1606; }

.demo-badges { display: flex; flex-wrap: wrap; gap: 10px; }
.demo-badge { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; background: color-mix(in srgb, currentColor 12%, transparent); transition: transform .22s var(--spring); }
.demo-badge:hover { transform: translateY(-4px) rotate(-6deg); }
.demo-badge svg { width: 25px; height: 25px; fill: currentColor; filter: drop-shadow(0 0 6px color-mix(in srgb, currentColor 65%, transparent)); }
.demo-row { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 13px; background: var(--surface-2); font-size: 14.5px; }
.demo-row + .demo-row { margin-top: 8px; }
.demo-row small { display: block; color: var(--muted); font-size: 12.5px; }
.demo-row .grow { flex: 1; min-width: 0; }
.demo-row svg { flex: none; width: 24px; height: 24px; fill: currentColor; }
.eq { display: flex; align-items: flex-end; gap: 4px; height: 62px; }
.eq span { flex: 1; height: 100%; border-radius: 3px; background: var(--fg); transform-origin: bottom; animation: eq 1.1s ease-in-out infinite alternate; }
.eq span:nth-child(3n) { animation-duration: .8s; }
.eq span:nth-child(3n+1) { animation-duration: 1.4s; animation-delay: -.4s; }
.eq span:nth-child(4n) { animation-delay: -.7s; opacity: .55; }
@keyframes eq { from { transform: scaleY(.14); } to { transform: scaleY(1); } }
.demo-glitch { position: relative; display: inline-block; font-size: 46px; font-weight: 700; line-height: 1.1; }
.demo-glitch::before, .demo-glitch::after { content: attr(data-text); position: absolute; inset: 0; z-index: -1; }
.demo-glitch::before { color: #8ea2ff; transform: translate(-2px, 0); }
.demo-glitch::after { color: #ff8ea8; transform: translate(2px, 0); }
.tile:hover .demo-glitch::before { animation: glitch-a .5s steps(2) infinite; }
.tile:hover .demo-glitch::after { animation: glitch-b .5s steps(2) infinite; }
@keyframes glitch-a { 50% { transform: translate(-5px, 2px); clip-path: inset(15% 0 45% 0); } }
@keyframes glitch-b { 50% { transform: translate(5px, -2px); clip-path: inset(55% 0 10% 0); } }
.tile-bg { min-height: 268px; }
.tile-bg h3, .tile-bg p { position: relative; }
.tile-scene { position: absolute; inset: 0; opacity: .75; }
.tile-scene .scene-art { position: absolute; }
.tile-flakes { position: absolute; inset: 0; pointer-events: none; }
.tile-flakes i { position: absolute; top: -8px; width: 3px; height: 3px; border-radius: 50%; background: #fff; animation: fall linear infinite; }
@keyframes fall { to { transform: translateY(330px); opacity: .1; } }

/* Top of the leaderboard on the home page */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps li { position: relative; padding: 22px; border-top: 1px solid var(--line-2); counter-increment: step; }
.steps li::before { content: counter(step); display: block; margin-bottom: 12px; color: var(--faint); font: 900 62px/.9 var(--display); }
.steps h3 { font-size: 19px; font-weight: 700; }
.steps p { margin: 5px 0 0; color: var(--muted); font-size: 15.5px; }

.questions { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: start; gap: 34px 60px; }
.questions-side { position: sticky; top: 90px; }
.questions-side h2 { font-size: clamp(44px, 5.600vw, 80px); }
.questions-side p { margin: 14px 0 20px; color: var(--muted); }
.qa details { margin-bottom: 8px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); transition: border-color .16s, background .16s; }
.qa details:hover { border-color: var(--line-2); }
.qa details[open] { border-color: var(--line-2); background: var(--surface-2); }
.qa summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 15px 17px; font-size: 16.5px; font-weight: 500; list-style: none; cursor: pointer; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: '+'; flex: none; color: var(--muted); font-size: 22px; line-height: 1; transition: transform .25s var(--spring); }
.qa details[open] summary::after { transform: rotate(45deg); }
.qa p { margin: 0; padding: 0 17px 16px; color: #c8cad3; font-size: 15.5px; animation: rise-in .3s ease-out; }

/* The help page keeps the simple list. */
.faq { max-width: 780px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 17px 2px; font-size: 18px; font-weight: 500; list-style: none; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; flex: none; color: var(--muted); font-size: 24px; line-height: 1; transition: transform .25s var(--spring); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { margin: 0; padding: 0 2px 18px; color: var(--muted); animation: rise-in .3s ease-out; }

.closing { position: relative; overflow: hidden; margin: 30px 0 0; padding: 100px 20px; border-block: 1px solid var(--line); text-align: center; }
.closing h2 { font-size: clamp(56px, 11vw, 170px); }
.closing .btn { margin-top: 26px; }

.reveal { transition: opacity .7s ease-out, transform .7s var(--ease); }
.reveal.waiting { opacity: 0; transform: translateY(18px); }

/* Footer */
.footer { padding: 46px 0 34px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 26px; }
.footer h4 { margin: 0 0 9px; color: var(--muted); font-size: 14px; font-weight: 500; }
.footer-grid a { display: block; padding: 3px 0; font-size: 15px; text-decoration: none; }
.footer-grid a:hover { text-decoration: underline; }
.footer-note { margin: 10px 0 0; max-width: 30ch; color: var(--muted); font-size: 14.5px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; margin-top: 30px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--faint); font-size: 14px; }

/* Sign in, sign up, password: one glass card in front of real, blurred profiles. */
.auth { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); place-items: center; min-height: 100vh; overflow: hidden; padding: 24px 16px; }
.auth-stage { position: absolute; inset: 0; pointer-events: none; }
.auth-stage::after { content: ''; position: absolute; inset: 0; background: radial-gradient(70% 70% at 50% 45%, rgb(8 9 12 / .55), rgb(8 9 12 / .92)); }
.stage-shot { position: absolute; top: 50%; width: min(760px, 58vw); border-radius: 18px; filter: blur(3px) saturate(1.1); user-select: none; -webkit-mask-image: radial-gradient(closest-side, #000 62%, transparent); mask-image: radial-gradient(closest-side, #000 62%, transparent); animation: fade-in 1s ease-out backwards; }
.stage-left { left: -9vw; transform: translateY(-50%) perspective(1400px) rotateY(24deg) rotate(-3deg); }
.stage-right { right: -9vw; transform: translateY(-50%) perspective(1400px) rotateY(-24deg) rotate(3deg); }
.auth-side { position: relative; z-index: 1; width: min(440px, 100%); padding: 24px 26px 22px; border: 1px solid var(--line-2); border-radius: 22px; background: rgb(12 13 18 / .72); box-shadow: 0 30px 90px rgb(0 0 0 / .6); backdrop-filter: blur(22px); animation: rise-in .6s var(--ease) backwards; }
.auth-main { display: block; margin-top: 18px; }
.auth-form.shake { animation: shake .36s; }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; margin-bottom: 20px; padding: 3px; border-radius: 12px; background: rgb(255 255 255 / .06); }
.auth-tabs button { padding: 8px 10px; border: 0; border-radius: 9px; background: none; color: var(--muted); font-size: 15px; font-weight: 500; cursor: pointer; transition: background .16s, color .16s; }
.auth-tabs button:hover { color: var(--fg); }
.auth-tabs button[aria-pressed='true'] { background: var(--fg); color: var(--bg); }
.auth h1 { margin-bottom: 18px; font-size: clamp(40px, 11vw, 50px); }
.auth-lead { margin: -8px 0 18px; color: var(--muted); }
.field { display: block; margin-bottom: 14px; font-size: 14.5px; font-weight: 500; }
.field > input, .field textarea, .address-input, .password-input { display: flex; align-items: center; width: 100%; margin-top: 6px; border: 1px solid var(--line-2); border-radius: 11px; background: rgb(255 255 255 / .05); color: inherit; font: 400 16px var(--body); transition: border-color .16s, box-shadow .2s; }
.field > input, .field textarea { display: block; padding: 11px 13px; resize: vertical; }
.field > input:focus, .field textarea:focus, .address-input:focus-within, .password-input:focus-within { border-color: var(--fg); outline: 0; box-shadow: 0 0 0 4px rgb(255 255 255 / .07); }
.address-input > span { flex: none; padding-left: 13px; color: var(--muted); font-size: 15px; }
.address-input input, .password-input input { flex: 1; min-width: 0; padding: 11px 13px 11px 1px; border: 0; outline: 0; background: none; color: inherit; font: inherit; }
.password-input input { padding-left: 13px; }
.password-input button { flex: none; margin-right: 5px; padding: 5px 9px; border: 0; border-radius: 7px; background: none; color: var(--muted); font-size: 13.5px; font-weight: 500; cursor: pointer; }
.password-input button:hover { background: rgb(255 255 255 / .08); color: var(--fg); }
.field small { display: block; margin-top: 5px; color: var(--muted); font-size: 13.5px; font-weight: 400; }
.field small:empty { display: none; }
.field small.good { color: #7fe0a3; }
.field small.bad { color: #fca5a5; }
.field > input.code-input { padding: 14px 8px; font: 700 28px Consolas, Menlo, monospace; letter-spacing: .3em; text-align: center; }
.auth-lead[hidden] { display: none; }
.auth-form .btn, .auth-main > .btn { width: 100%; margin-top: 2px; padding: 13px; }
.auth-error { min-height: 0; margin: 4px 0 10px; color: #fca5a5; font-size: 14.5px; }
.auth-error:empty { display: none; }
.auth-switch { margin: 14px 0 0; color: var(--muted); font-size: 14.5px; text-align: center; }
.auth-switch a { color: var(--fg); }
.auth-message { margin: 14px 0 0; font-size: 15px; }
.auth-message:empty { display: none; }
#turnstile:not(:empty) { margin-bottom: 12px; }

/* Discover */
.page-head { padding: 54px 0 26px; animation: rise-in .6s var(--ease) backwards; }
.page-head h1 { font-size: clamp(70px, 12vw, 150px); }
.page-head p { max-width: 50ch; margin: 12px 0 0; color: var(--muted); font-size: 18px; }
.page { padding-bottom: 80px; }
.tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 18px; }
.search { flex: 1 1 220px; max-width: 340px; padding: 10px 14px; border: 1px solid var(--line-2); border-radius: 11px; background: var(--surface); color: inherit; font: 400 15.5px var(--body); transition: border-color .16s; }
.search:focus { border-color: var(--fg); outline: 0; }
.seg { display: inline-flex; padding: 3px; border: 1px solid var(--line); border-radius: 11px; }
.seg button { padding: 6px 15px; border: 0; border-radius: 8px; background: none; color: var(--muted); font-size: 15px; font-weight: 500; cursor: pointer; transition: background .16s, color .16s; }
.seg button[aria-pressed='true'] { background: var(--fg); color: var(--bg); }
.status { margin: 0 0 12px; color: var(--muted); }
.status:empty { display: none; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 12px; }
.pcard { position: relative; display: block; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); text-decoration: none; transition: transform .22s var(--spring), border-color .16s; animation: rise-in .45s var(--ease) backwards; }
.pcard:hover { border-color: var(--line-2); transform: translateY(-4px); }
.pcard-cover { display: block; width: 100%; height: 104px; object-fit: cover; background: linear-gradient(120deg, #1e2029, #0f1015); transition: transform .5s var(--ease); }
.pcard:hover .pcard-cover { transform: scale(1.04); }
.pcard-body { position: relative; display: block; padding: 0 15px 15px; }
.face { display: grid; place-items: center; width: 58px; height: 58px; overflow: hidden; border-radius: 50%; background: #23242c; font-size: 22px; font-weight: 700; object-fit: cover; }
.pcard .face { margin-top: -29px; border: 3px solid var(--bg-2); }
.pcard-name { display: flex; align-items: center; gap: 6px; margin-top: 7px; font-weight: 500; }
.pcard-name b { overflow: hidden; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
.pcard-badges { display: inline-flex; flex: none; gap: 3px; }
.pcard-handle { display: block; color: var(--muted); font-size: 13.5px; }
.pcard-bio { display: -webkit-box; min-height: 2.7em; margin-top: 7px; overflow: hidden; color: var(--muted); font-size: 14.5px; line-height: 1.35; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.pcard-views { display: block; margin-top: 9px; color: var(--faint); font-size: 13.5px; }
.center { display: block; margin: 22px auto 0; }

/* Leaderboard: each card shows that person's real background under a veil that keeps the text readable. */
.podium { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: end; gap: 12px; margin-bottom: 14px; }
.step { position: relative; display: block; overflow: hidden; min-height: 240px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); text-align: center; text-decoration: none; transition: transform .22s var(--spring), border-color .16s; animation: rise-in .55s var(--ease) backwards; }
.step:hover { border-color: var(--line-2); transform: translateY(-4px); }
.step:hover .card-bg { transform: scale(1.05); }
.card-bg { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card-veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgb(8 9 12 / .35), rgb(8 9 12 / .82)); }
.step-content { position: relative; display: block; padding: 22px 16px 18px; }
.step-1 { order: 2; min-height: 290px; border-color: var(--line-2); animation-delay: .1s; }
.step-1 .step-content { padding-top: 44px; }
.step-2 { order: 1; }
.step-3 { order: 3; animation-delay: .18s; }
.step .place { position: absolute; top: 10px; left: 14px; color: rgb(255 255 255 / .55); font: 900 40px/.9 var(--display); }
.step-1 .place { color: var(--fg); font-size: 58px; }
.step .face { margin: 0 auto 10px; }
.step-1 .face { width: 80px; height: 80px; }
.step b { display: flex; align-items: center; justify-content: center; gap: 5px; font-weight: 500; }
.step b span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.step small { display: block; color: rgb(255 255 255 / .72); font-size: 13.5px; }
.step .count { display: block; margin-top: 10px; font: 900 34px/1 var(--display); }
.rank-row { position: relative; display: flex; align-items: center; gap: 13px; overflow: hidden; margin-bottom: 8px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; text-decoration: none; transition: transform .2s var(--ease), border-color .15s; }
.rank-row:hover { border-color: var(--line-2); transform: translateX(4px); }
.rank-row .card-veil { background: linear-gradient(90deg, rgb(8 9 12 / .88), rgb(8 9 12 / .55)); }
.rank-row > :not(.card-bg, .card-veil) { position: relative; }
.rank-row .place { flex: none; width: 34px; color: rgb(255 255 255 / .6); font: 800 25px/1 var(--display); text-align: right; }
.rank-row .face { flex: none; width: 40px; height: 40px; font-size: 16px; }
.rank-who { flex: 1; min-width: 0; }
.rank-who b { display: flex; align-items: center; gap: 5px; font-weight: 500; }
.rank-who small { color: rgb(255 255 255 / .7); font-size: 13.5px; }
.rank-count { flex: none; font-size: 15px; font-variant-numeric: tabular-nums; }

/* Help and status */
.help-group { margin-bottom: 34px; max-width: 780px; }
.help-title { margin-bottom: 8px; font: 800 30px/1 var(--display); text-transform: uppercase; }
.status-row { display: flex; align-items: center; gap: 12px; padding: 15px 2px; border-top: 1px solid var(--line); }
.status-row:last-child { border-bottom: 1px solid var(--line); }
.status-dot { flex: none; width: 10px; height: 10px; border-radius: 50%; }
.status-dot.good { background: #23a55a; box-shadow: 0 0 10px #23a55a; }
.status-dot.bad { background: #f23f43; box-shadow: 0 0 10px #f23f43; }
.status-name { flex: 1; font-weight: 500; }
.status-state { color: var(--muted); font-size: 14.5px; }
.status-note { margin-top: 12px; color: var(--faint); font-size: 14px; }

/* Premium */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.plan { padding: 26px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }
.plan-top { border-color: var(--line-2); background: linear-gradient(180deg, rgb(255 255 255 / .08), var(--surface)); }
.plan h2 { font-size: 50px; margin-bottom: 14px; }
.plan ul { margin: 0; padding: 0; list-style: none; }
.plan li { display: flex; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); font-size: 15.5px; }
.plan li::before { content: '✓'; flex: none; color: var(--muted); }
.plan-top li::before { color: var(--fg); }
.plan-note { margin: 18px 0 0; color: var(--muted); }

/* Text pages */
.prose { max-width: 720px; padding-bottom: 70px; }
.prose h2 { margin-top: 32px; font-size: 20px; font-weight: 700; }
.prose li + li { margin-top: 6px; }
.prose p, .prose li { color: #c8cad3; }

@media (max-width: 980px) {
  .window-main { width: 84%; }
  .side-l1, .side-r1 { width: 46%; }
  .span-5, .span-4, .span-7, .span-3, .span-8 { grid-column: span 6; }
  .stage-shot { width: 80vw; opacity: .5; }
  .questions { grid-template-columns: minmax(0, 1fr); }
  .questions-side { position: static; }
  .tile-widgets { flex-direction: column; align-items: stretch; }
  .widgets-copy, .player-mock { flex: none; }
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .hero h1 { font-size: 13.400vw; }
  .window-main { width: 92%; }
  .side { display: none; }
  .showcase { height: 62vw; }
  .nav { gap: 8px; }
  .nav-links { display: none; }
  .nav-end { margin-left: auto; }
  .section { padding: 60px 0; }
  .board { display: flex; flex-direction: column; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .plans { grid-template-columns: minmax(0, 1fr); }
  .podium { grid-template-columns: minmax(0, 1fr); }
  .step-1, .step-2, .step-3 { order: 0; padding-top: 22px; }
  .claim-prefix { padding-left: 7px; font-size: 14px; }
  .claim-input { font-size: 15px; }
  .claim .btn { padding: 11px 13px; font-size: 14px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal.waiting { opacity: 1; transform: none; }
}
