/* Rust.camp · Retake – landing page. Dark glass, Ember accent. No framework.
   Colours/type come from the brand tokens (css/tokens.css = brand/tokens.css); the aliases below keep the
   page's short variable names. Fonts are self-hosted (web/fonts, no third-party requests). */

@font-face {
  font-family: "Roboto Condensed"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("../fonts/roboto-condensed-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("../fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: var(--rc-bg);
  --bg-2: var(--rc-bg-2);
  --ink: var(--rc-ink);
  --ink-2: var(--rc-ink-2);
  --ink-3: var(--rc-ink-3);
  --line: var(--rc-line);
  --line-2: var(--rc-line-2);
  --glass: var(--rc-glass);
  --glass-2: var(--rc-glass-2);
  --accent: var(--rc-ember);
  --accent-2: var(--rc-ember-2);
  --accent-ink: var(--rc-ember-ink);
  --accent-soft: var(--rc-ember-soft);
  --ok: var(--rc-ok);
  --radius: var(--rc-radius);
  --radius-sm: var(--rc-radius-sm);
  --font: var(--rc-font-text);
  --font-cond: var(--rc-font-display);
  --wrap: var(--rc-wrap);
  --gutter: var(--rc-gutter);
  --shadow: var(--rc-shadow);
  color-scheme: dark;
}

/* The page is dark by design; keep tokens identical for both schemes. */
:root:not([data-theme="light"]), :root[data-theme="dark"] { color-scheme: dark; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-cond); font-weight: 800; letter-spacing: 0.01em; line-height: 1.05; margin: 0; }
h2 { font-size: clamp(30px, 4.5vw, 48px); text-wrap: balance; }
h3 { font-size: 22px; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.wrap--narrow { max-width: 820px; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: var(--accent-ink); padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- Glass card ---------- */
.card {
  position: relative;
  background: linear-gradient(180deg, var(--glass-2), var(--glass));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 18px; border-radius: 999px; border: 1px solid var(--line-2);
  background: var(--glass-2); font-weight: 600; font-size: 15px; cursor: pointer;
  transition: transform .15s ease, background .15s ease, border-color .15s ease, box-shadow .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); border-color: rgba(255,255,255,.25); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.btn--primary {
  background: linear-gradient(180deg, var(--accent-2), var(--accent));
  color: var(--accent-ink); border-color: transparent;
  box-shadow: 0 6px 24px rgba(255, 127, 0, 0.28);
}
.btn--primary:hover { box-shadow: 0 10px 32px rgba(255, 127, 0, 0.4); }
.btn--sm { padding: 9px 14px; font-size: 14px; }
.ico { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 13, 16, 0.72);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
/* ---------- Brand (Rust.camp mark + wordmark, Retake as product) ---------- */
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.rc-mark { width: 1em; height: 1em; display: inline-block; vertical-align: -0.12em; color: var(--ink); flex: 0 0 auto; }
.rc-mark__dot { fill: var(--accent); }
/* Lock-On motif: two corner brackets (top-left / bottom-right) on the hero connect card - used once, stays quiet */
.connect::before, .connect::after { content: ""; position: absolute; width: 14px; height: 14px; pointer-events: none; border: 2px solid var(--accent); opacity: .7; }
.connect::before { top: 7px; left: 7px; border-right: 0; border-bottom: 0; }
.connect::after { right: 7px; bottom: 7px; border-left: 0; border-top: 0; }
.rc-lockup { display: inline-flex; align-items: center; gap: .32em; font-family: var(--font-cond); font-weight: 800; letter-spacing: var(--rc-track-wordmark); color: var(--ink); white-space: nowrap; }
.rc-lockup .rc-mark { font-size: 1.18em; }
.rc-lockup--lg { font-size: 30px; }
.brand__dot { color: var(--accent); }
.brand { display: inline-flex; align-items: center; gap: 9px; }
.brand__mark { font-size: 26px; filter: drop-shadow(0 0 10px rgba(255,127,0,.35)); }
.brand__word { font-family: var(--font-cond); font-weight: 800; font-size: 21px; letter-spacing: var(--rc-track-wordmark); line-height: 1; }
.brand__sep { width: 1px; height: 20px; background: var(--line-2); margin: 0 3px; }
.brand__product { font-family: var(--font-cond); font-weight: 700; font-size: 15px; letter-spacing: var(--rc-track-display); color: var(--ink-2); line-height: 1; padding-top: 1px; }
@media (max-width: 519px) {
  /* phone: umbrella brand only in the bar, the product name is the hero right below */
  .brand__sep, .brand__product { display: none; }
  .brand { gap: 7px; }
  .brand__mark { font-size: 22px; }
  .brand__word { font-size: 18px; }
  .nav__actions { gap: 6px; }
}
.nav__links { display: none; gap: 28px; font-size: 14px; color: var(--ink-2); }
.nav__links a { position: relative; padding: 6px 0; transition: color .15s; }
.nav__links a:hover { color: var(--ink); }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; background: var(--accent); transition: right .2s ease; }
.nav__links a:hover::after { right: 0; }
.nav__actions { display: flex; align-items: center; gap: 10px; }
.lang {
  display: inline-flex; align-items: center; gap: 2px; padding: 4px 6px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--glass); font-size: 12px; font-weight: 600; letter-spacing: .06em; color: var(--ink-3);
}
.lang__opt {
  appearance: none; background: none; border: 0; border-radius: 999px; padding: 6px 6px; min-height: 28px;
  font: inherit; letter-spacing: inherit; color: inherit; cursor: pointer; transition: color .15s;
}
.lang__opt:hover { color: var(--ink-2); }
.lang__opt[aria-pressed="true"] { color: var(--ink); cursor: default; }
.lang__sep { opacity: .4; }
.lang__opt:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }

/* ---------- Steam login in the header (same classes/markup as web/stats: .auth, .btn--steam, .avatar--xs) ----------
   The bar is nearly full on every width (brand + links + EN/DE + Connect), so the login is compact by default
   (Steam icon / initials + logout icon, 36 px tall) and only shows its text from 1140 px. Space is reserved
   (min-width, the slack lands between login and Connect) so the bar does not move when /api/me answers;
   .is-pending hides the block until then. */
.btn--ghost { background: transparent; }
.btn--steam { background: linear-gradient(180deg, #2a475e, #1b2838); border-color: #3b5a76; color: #e6eef5; padding: 8px 10px; }
.btn--steam:hover { border-color: #66c0f4; box-shadow: 0 6px 20px rgba(102, 192, 244, .18); }
.btn--steam .ico { color: #66c0f4; }
.btn--steam span { display: none; }
.btn--icon { padding: 8px; }
.auth { display: flex; align-items: center; justify-content: flex-start; gap: 6px; min-width: 76px; }
.auth.is-pending { visibility: hidden; }
.auth__user { display: flex; align-items: center; gap: 6px; }
.auth__me { display: inline-flex; align-items: center; gap: 8px; padding: 4px; border-radius: 999px; border: 1px solid var(--line); background: var(--glass); font-size: 14px; font-weight: 500; max-width: 180px; transition: border-color .15s ease; }
.auth__me:hover { border-color: var(--line-2); }
.auth__me:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.auth__name { display: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.auth__logout { display: inline-flex; margin: 0; }
.auth__logout .btn[disabled] { opacity: .5; cursor: progress; }
.avatar { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 16px; background: linear-gradient(135deg, #2a3140, #171b22); border: 1px solid var(--line-2); font-family: var(--font-cond); font-weight: 800; font-size: 24px; color: var(--ink-2); letter-spacing: .04em; overflow: hidden; flex: 0 0 auto; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar--xs { width: 26px; height: 26px; border-radius: 8px; font-size: 11px; }
@media (max-width: 559px) {
  /* phone: the hero connect card sits right below the bar - the header CTA makes room for the login
     (measured: brand + EN/DE + login + Connect overflow the 16 px gutter below 560 px);
     nothing sits right of the login here, so no space is reserved */
  .nav__connect { display: none; }
  .auth { min-width: 0; }
}
@media (min-width: 860px) and (max-width: 1023px) {
  .nav__links { gap: 20px; }
  .nav__actions { gap: 8px; }
}
@media (min-width: 1140px) {
  /* full variant: "Sign in through Steam" (204 px) or a fixed-width account pill + logout (172 + 8 + 36 = 216 px) */
  .btn--steam { padding: 9px 14px; }
  .btn--steam span { display: inline; }
  .auth { gap: 8px; min-width: 216px; }
  .auth__user { gap: 8px; }
  .auth__me { width: 172px; max-width: none; padding: 4px 10px 4px 4px; }
  .auth__name { display: block; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding: 56px 0 56px; overflow: hidden; isolation: isolate; }
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 75%);
}
@keyframes drift { from { transform: translate3d(0,0,0) scale(1); } to { transform: translate3d(6vw, 4vw, 0) scale(1.08); } }

.hero__inner { position: relative; display: grid; gap: 32px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.eyebrow__mark { font-size: 18px; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(79,209,139,.55); } 100% { box-shadow: 0 0 0 12px rgba(79,209,139,0); } }
.hero__title {
  margin-top: 18px;
  font-size: clamp(72px, 15vw, 168px);
  letter-spacing: 0.06em; line-height: .9;
  background: linear-gradient(180deg, #fff 30%, #b9c0cc 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__by { margin-top: 14px; display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--ink-2); }
.hero__by .rc-lockup { font-size: 20px; transition: color .15s; }
.hero__by .rc-lockup:hover { color: var(--accent-2); }
.hero__claim { margin-top: 12px; font-family: var(--font-cond); font-weight: 700; font-size: clamp(20px, 3vw, 30px); color: var(--accent); letter-spacing: .02em; }
.hero__sub { margin-top: 16px; max-width: 560px; color: var(--ink-2); font-size: 17px; }

.connect { position: relative; margin-top: 28px; padding: 16px; border-radius: var(--radius); background: rgba(0,0,0,.35); border: 1px solid var(--line-2); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: var(--shadow); max-width: 620px; }
.connect__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 12px; margin-bottom: 10px; }
.connect__label { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.connect__row { display: flex; gap: 10px; flex-wrap: wrap; }
.connect__cmd {
  flex: 1 1 260px; display: block; line-height: 46px; min-height: 48px; padding: 0 14px;
  background: #06080a; border: 1px solid var(--line); border-radius: var(--radius-sm);
  font-size: 15px; color: var(--ink); overflow-x: auto; white-space: nowrap;
}
.connect__host { color: var(--accent-2); }
.connect__port { color: var(--ink-2); }
.connect__copy { flex: 0 0 auto; min-width: 118px; justify-content: center; }
.connect__copy.is-done { background: linear-gradient(180deg, #6fe3a5, var(--ok)); box-shadow: 0 6px 24px rgba(79,209,139,.3); }
.connect__hint { margin-top: 10px; font-size: 13px; color: var(--ink-3); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }

.status { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-2); padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); background: var(--glass); }
.status__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }
.status b { color: var(--ink); font-weight: 600; }
.status.is-stale .status__dot { background: var(--ink-3); }

.pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.pill { padding: 7px 12px; border-radius: 999px; font-size: 13px; color: var(--ink-2); border: 1px solid var(--line); background: var(--glass); }

/* ---------- Sections ---------- */
.section { padding: 80px 0; }
.section--alt { background: linear-gradient(180deg, transparent, rgba(255,255,255,.025) 20%, rgba(255,255,255,.025) 80%, transparent); }
.section__head { max-width: 720px; margin-bottom: 36px; }
.kicker { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.lede { margin-top: 14px; color: var(--ink-2); font-size: 17px; }

/* Modes */
.modes { display: grid; gap: 20px; }
.mode { position: relative; display: grid; align-content: start; }
.mode__media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius); background: var(--bg-2); }
.mode__media img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.mode:hover .mode__media img { transform: scale(1.05); }
.mode__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,13,16,.35) 0%, rgba(11,13,16,0) 30%, rgba(11,13,16,0) 60%, rgba(11,13,16,.85)); pointer-events: none; }
.mode__live { position: absolute; top: 14px; left: 14px; z-index: 1; display: inline-flex; align-items: center; gap: 7px; padding: 5px 11px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; background: rgba(0,0,0,.6); color: var(--ink); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.mode__live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ink-3); }
.mode__live.is-ready::before { background: var(--ok); }
.mode__live.is-live { background: rgba(255,127,0,.92); color: var(--accent-ink); }
.mode__live.is-live::before { background: var(--accent-ink); animation: blink 1.4s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .25; } }
.mode__body { padding: 18px 4px 0; position: relative; }
.mode__body h3 { font-size: 28px; }
.mode__tag { margin-top: 6px; color: var(--accent-2); font-weight: 500; }
.mode__specs { margin-top: 8px; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.facts { margin-top: 14px; display: grid; gap: 8px; color: var(--ink-2); font-size: 15px; }
.facts li { padding-left: 18px; position: relative; }
.facts li::before { content: ""; position: absolute; left: 0; top: 9px; width: 8px; height: 8px; border-radius: 2px; background: var(--accent); transform: rotate(45deg); opacity: .9; }
.queues { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.queues li { padding: 5px 10px; border-radius: 6px; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; background: var(--accent-soft); color: var(--accent-2); border: 1px solid rgba(255,127,0,.25); }
.queues li.queues__elo { background: var(--accent); color: var(--accent-ink); border-color: transparent; }

/* Features */
.feat { display: grid; gap: 16px; }
.feat__item { padding: 22px; transition: transform .25s ease, border-color .25s ease; }
.feat__item:hover { transform: translateY(-3px); border-color: var(--line-2); }
.feat__ico { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: var(--accent-soft); border: 1px solid rgba(255,127,0,.25); margin-bottom: 16px; }
.feat__ico svg { width: 22px; height: 22px; fill: none; stroke: var(--accent-2); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feat__ico--img { background: transparent; border-color: transparent; }
.feat__item h3 { font-size: 20px; }
.feat__item p { margin-top: 8px; color: var(--ink-2); font-size: 15px; }

/* Steps */
.steps { display: grid; gap: 16px; counter-reset: step; }
.step { padding: 26px 22px 24px; overflow: hidden; }
.step__n { position: absolute; right: 16px; top: 8px; font-family: var(--font-cond); font-weight: 800; font-size: 72px; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.12); }
.step h3 { font-size: 24px; color: var(--accent-2); }
.step p { margin-top: 8px; color: var(--ink-2); font-size: 15px; max-width: 32ch; }

/* Ladder */
.ladder { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.rank[data-tier="bronze"] { --tier: #c47a3e; }
.rank[data-tier="silver"] { --tier: #c4cad4; }
.rank[data-tier="gold"] { --tier: #f0c440; }
.rank[data-tier="platinum"] { --tier: #6ed6ce; }
.rank[data-tier="diamond"] { --tier: #76aaff; }
.rank[data-tier="elite"] { --tier: #be70ff; }
.rank[data-tier="legend"] { --tier: #ff7f00; }
.rank { --tier: #aab2bf; display: grid; justify-items: center; gap: 6px; padding: 20px 10px 16px; text-align: center; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.rank::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(circle at 50% 30%, color-mix(in srgb, var(--tier) 22%, transparent), transparent 60%); opacity: .8; }
.rank:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--tier) 55%, transparent); box-shadow: 0 16px 40px color-mix(in srgb, var(--tier) 18%, transparent); }
.rank img { position: relative; width: 84px; height: 84px; filter: drop-shadow(0 8px 16px rgba(0,0,0,.5)); }
.rank h3 { position: relative; font-size: 18px; color: var(--tier); letter-spacing: .04em; text-transform: uppercase; }
.rank__min { position: relative; font-size: 12px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.rank--top { grid-column: span 2; }
.ladder__note { display: flex; align-items: center; gap: 10px; margin-top: 18px; color: var(--ink-3); font-size: 14px; }

/* FAQ */
.faq { display: grid; gap: 10px; }
.faq details { padding: 0 20px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 28px 18px 0; font-family: var(--font-cond); font-weight: 700; font-size: 19px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 2px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: translateY(-70%) rotate(45deg); transition: transform .2s ease; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { padding: 0 0 18px; color: var(--ink-2); font-size: 15px; }

/* CTA */
.cta { padding-top: 20px; }
.cta__box { padding: 28px 22px; display: grid; gap: 20px; border-color: rgba(255,127,0,.35); background: linear-gradient(135deg, rgba(255,127,0,.14), rgba(255,255,255,.03) 60%); }
.cta__box h2 { font-size: 34px; }
.cta__box p { color: var(--ink-2); margin-top: 4px; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 40px 0 32px; color: var(--ink-3); font-size: 14px; }
.footer__inner { display: grid; gap: 22px; }
.footer__brand p { margin-top: 6px; }
.footer__claim { color: var(--ink-2); font-weight: 500; }
.footer__line { max-width: 52ch; }
.footer__product { font-family: var(--font-cond); font-weight: 700; letter-spacing: var(--rc-track-display); color: var(--ink); }
.footer__tree { margin-top: 12px; font-family: var(--font-cond); font-weight: 700; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.footer__sep { color: var(--accent); margin: 0 2px; }
.footer__links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer__links a { color: var(--ink-2); transition: color .15s; }
.footer__links a:hover { color: var(--accent-2); }
.footer__legal { font-size: 12px; line-height: 1.7; }

/* ---------- Reveal (scroll-driven, CSS only) ---------- */
.reveal { opacity: 1; }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal {
      animation: reveal linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 28%;
    }
    .hero .reveal { opacity: 0; animation: rise .7s cubic-bezier(.2,.7,.2,1) forwards; }
    .hero .reveal:nth-child(1) { animation-delay: .05s; }
    .hero .reveal:nth-child(2) { animation-delay: .12s; }
    .hero .reveal:nth-child(3) { animation-delay: .2s; }
    .hero .reveal:nth-child(4) { animation-delay: .28s; }
    .hero .reveal:nth-child(5) { animation-delay: .36s; }
    .hero .reveal:nth-child(6) { animation-delay: .44s; }
    .hero .reveal:nth-child(7) { animation-delay: .52s; }
    .hero .reveal:nth-child(8) { animation-delay: .6s; }
    .hero .live.reveal { animation: rise .9s cubic-bezier(.2,.7,.2,1) .3s forwards; }
  }
}
@keyframes reveal { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- Breakpoints ---------- */
@media (min-width: 640px) {
  .ladder { grid-template-columns: repeat(4, 1fr); }
  .rank--top { grid-column: span 4; justify-self: center; width: 50%; }
  .feat { grid-template-columns: repeat(2, 1fr); }
  .cta__box { grid-template-columns: 1fr auto; align-items: center; padding: 32px; }
  .footer__inner { grid-template-columns: 1fr auto; align-items: start; }
  .footer__legal { grid-column: 1 / -1; }
}
@media (min-width: 860px) {
  .nav__links { display: flex; }
  .hero { padding: 88px 0 88px; min-height: min(860px, calc(100vh - 64px)); display: flex; align-items: center; }
  .hero > .wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); }
  .hero__inner { grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr); align-items: end; }
  .modes { gap: 40px 28px; }
  .modes { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 104px 0; }
}
@media (min-width: 1100px) {
  .ladder { grid-template-columns: repeat(7, 1fr); }
  .rank--top { grid-column: auto; width: auto; justify-self: stretch; }
  .feat { grid-template-columns: repeat(3, 1fr); }
}

/* =====================================================================================================
   2026-11-06 rework: unframed hero photo, live panel, rules, season, leaderboard teaser
   ===================================================================================================== */
.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; }
a:focus-visible, button:focus-visible, summary:focus-visible, [tabindex]:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.tnum { font-variant-numeric: tabular-nums; }

/* Hero photo: full bleed, no frame - the shade keeps the copy readable (text sits on >= 85 % Camp Night) */
.hero__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 40%; opacity: .62; filter: saturate(1.05) contrast(1.05); }
.hero__shade { position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(11,13,16,.97) 0%, rgba(11,13,16,.9) 34%, rgba(11,13,16,.45) 68%, rgba(11,13,16,.25) 100%),
    linear-gradient(180deg, rgba(11,13,16,.55) 0%, rgba(11,13,16,0) 22%, rgba(11,13,16,0) 70%, var(--bg) 100%),
    radial-gradient(ellipse 60% 70% at 0% 0%, rgba(255,127,0,.22), transparent 70%); }
.hero .grid { opacity: .6; }
@media (max-width: 859px) {
  .hero__photo { height: 62%; object-position: 70% 50%; opacity: .5; }
  .hero__shade { background: linear-gradient(180deg, rgba(11,13,16,.55) 0%, rgba(11,13,16,.8) 40%, var(--bg) 62%), radial-gradient(ellipse 80% 50% at 0% 0%, rgba(255,127,0,.2), transparent 70%); }
}
.hero__title { text-shadow: none; filter: drop-shadow(0 6px 30px rgba(0,0,0,.45)); }

/* Status chip in the connect card */
.status { white-space: nowrap; }
.status__text b { font-variant-numeric: tabular-nums; }
.status.is-live .status__dot { background: var(--ok); box-shadow: 0 0 0 0 rgba(79,209,139,.6); animation: pulse 2.2s ease-out infinite; }
.status.is-quiet .status__dot { background: var(--accent); }
.status.is-stale .status__dot { background: var(--ink-3); animation: none; }

/* Live panel (hero, right) */
.live { padding: 20px; background: linear-gradient(180deg, rgba(15,18,22,.82), rgba(11,13,16,.72)); border-color: var(--line-2); box-shadow: var(--shadow); max-width: 520px; }
.live::before, .live::after { content: ""; position: absolute; width: 14px; height: 14px; pointer-events: none; border: 2px solid var(--accent); opacity: .75; }
.live::before { top: 8px; left: 8px; border-right: 0; border-bottom: 0; }
.live::after { right: 8px; bottom: 8px; border-left: 0; border-top: 0; }
.live__head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.live__title { display: inline-flex; align-items: center; gap: 9px; font-size: 14px; font-family: var(--font); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.live__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ink-3); flex: 0 0 auto; }
.live__dot.is-on { background: var(--ok); animation: pulse 2.2s ease-out infinite; }
.live__season { font-size: 12px; font-weight: 600; color: var(--accent-2); padding: 3px 9px; border-radius: 999px; background: var(--accent-soft); border: 1px solid rgba(255,127,0,.25); white-space: nowrap; }
.live__kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 16px 0 0; }
.live__kpi { padding: 10px 12px; border-radius: var(--radius-sm); background: rgba(255,255,255,.04); border: 1px solid var(--line); min-width: 0; }
.live__kpi dt { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.live__kpi dd { margin: 4px 0 0; font-family: var(--font-cond); font-weight: 800; font-size: 28px; line-height: 1; font-variant-numeric: tabular-nums; color: var(--ink); }
.live__kpi dd small { font-size: 13px; color: var(--ink-3); font-weight: 700; margin-left: 2px; }
.live__modes { margin-top: 12px; display: grid; gap: 2px; }
.live__mode { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 9px 2px; border-bottom: 1px solid var(--line); font-size: 14px; }
.live__mode:last-child { border-bottom: 0; }
.live__mname { font-weight: 600; }
.live__mstate { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: var(--ink-3); font-variant-numeric: tabular-nums; white-space: nowrap; }
.live__mstate::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ink-3); opacity: .6; }
.live__mode.is-ready .live__mstate::before { background: var(--ok); opacity: 1; }
.live__mode.is-live .live__mstate { color: var(--accent-2); font-weight: 600; }
.live__mode.is-live .live__mstate::before { background: var(--accent); opacity: 1; animation: blink 1.4s ease-in-out infinite; }
.live__mode.is-off .live__mstate { color: var(--ink-3); }
.live__note { margin-top: 12px; font-size: 13px; color: var(--ink-3); }
.live__link { margin-top: 12px; display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--accent-2); }
.live__link .ico { width: 16px; height: 16px; transition: transform .15s ease; }
.live__link:hover .ico, .board__more:hover .ico { transform: translateX(3px); }

/* Rules + season */
.rules { display: grid; gap: 12px; margin-top: 28px; }
.rule { padding: 20px; }
.rule__big { font-family: var(--font-cond); font-weight: 800; font-size: 40px; line-height: 1; color: var(--accent); font-variant-numeric: tabular-nums; }
.rule h3 { margin-top: 10px; font-size: 19px; }
.rule p:last-child { margin-top: 6px; color: var(--ink-2); font-size: 14px; }
.season { margin-top: 16px; padding: 22px; display: grid; gap: 16px; align-items: center; border-color: rgba(255,127,0,.3); background: linear-gradient(120deg, rgba(255,127,0,.12), rgba(255,255,255,.03) 55%); }
.season__mark { font-size: 44px; display: none; }
.season__mark .rc-mark { filter: drop-shadow(0 0 14px rgba(255,127,0,.35)); }
.season__body .kicker { margin-bottom: 4px; }
.season__name { font-size: 28px; }
.season__text { margin-top: 6px; color: var(--ink-2); font-size: 15px; max-width: 62ch; }
.season__clock { display: flex; gap: 8px; }
.season__clock div { min-width: 70px; padding: 10px 12px; border-radius: var(--radius-sm); background: rgba(0,0,0,.35); border: 1px solid var(--line-2); text-align: center; }
.season__clock b { display: block; font-family: var(--font-cond); font-weight: 800; font-size: 30px; line-height: 1; font-variant-numeric: tabular-nums; }
.season__clock small { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }

/* Leaderboard teaser */
.board { display: grid; gap: 16px; }
.board__main { padding: 8px 20px 20px; }
.board__side { display: grid; gap: 16px; align-content: start; }
.tabs { display: flex; gap: 2px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.tab { appearance: none; border: 0; background: none; padding: 14px 14px 12px; color: var(--ink-2); font-weight: 600; font-size: 14px; cursor: pointer; position: relative; white-space: nowrap; min-height: 44px; }
.tab::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: -1px; height: 2px; border-radius: 2px; background: transparent; transition: background .15s; }
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] { color: var(--ink); }
.tab[aria-selected="true"]::after { background: var(--accent); }
.lb { min-height: 300px; padding-top: 6px; }
.lb__list { display: grid; }
.lb__row { display: grid; grid-template-columns: 28px 36px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 10px 8px; border-bottom: 1px solid var(--line); border-radius: var(--radius-sm); transition: background .15s; }
.lb__list li:last-child .lb__row { border-bottom: 0; }
.lb__row:hover { background: var(--glass); }
.lb__pos { font-family: var(--font-cond); font-weight: 800; font-size: 18px; color: var(--ink-3); text-align: center; font-variant-numeric: tabular-nums; }
.lb__row--1 .lb__pos { color: var(--rc-tier-gold); } .lb__row--2 .lb__pos { color: var(--rc-tier-silver); } .lb__row--3 .lb__pos { color: var(--rc-tier-bronze); }
.lb__row img { width: 36px; height: 36px; filter: drop-shadow(0 4px 8px rgba(0,0,0,.45)); }
.lb__name { min-width: 0; }
.lb__name b { display: block; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lb__name small { display: block; font-size: 12px; color: var(--ink-3); }
.lb__val { font-family: var(--font-cond); font-weight: 800; font-size: 22px; font-variant-numeric: tabular-nums; }
.lb__val small { font-family: var(--font); font-size: 11px; font-weight: 600; color: var(--ink-3); margin-left: 3px; letter-spacing: .06em; }
.lb__empty, .potw__empty, .meta__empty { padding: 26px 4px; color: var(--ink-3); font-size: 14px; }
.lb__skel { height: 56px; margin: 6px 0; border-radius: var(--radius-sm); background: linear-gradient(90deg, rgba(255,255,255,.03), rgba(255,255,255,.07), rgba(255,255,255,.03)); background-size: 200% 100%; animation: shimmer 1.4s linear infinite; }
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: -100% 0; } }
.board__more { margin-top: 14px; display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--accent-2); }
.board__more .ico { width: 16px; height: 16px; transition: transform .15s ease; }
.potw, .meta { padding: 20px; }
.potw .kicker, .meta .kicker { display: flex; align-items: center; gap: 8px; font-family: var(--font); line-height: 1.3; }
.potw .kicker .ico, .meta .kicker .ico { width: 16px; height: 16px; }
.potw { overflow: hidden; }
.potw::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(circle at 85% 20%, color-mix(in srgb, var(--tier, var(--accent)) 26%, transparent), transparent 60%); }
.potw__card { position: relative; display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 4px 16px; align-items: center; }
.potw__card img { grid-row: span 3; width: 76px; height: 76px; filter: drop-shadow(0 8px 16px rgba(0,0,0,.5)); }
.potw__name { font-family: var(--font-cond); font-weight: 800; font-size: 26px; line-height: 1.05; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.potw__name a:hover { color: var(--accent-2); }
.potw__tier { font-size: 13px; font-weight: 600; color: var(--tier, var(--ink-2)); }
.potw__wins { font-size: 14px; color: var(--ink-2); }
.potw__wins b { font-family: var(--font-cond); font-size: 20px; color: var(--ink); font-variant-numeric: tabular-nums; }
.meta__list { display: grid; gap: 10px; counter-reset: meta; }
.meta__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; font-size: 14px; }
.meta__row b { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.meta__row span { color: var(--ink-3); font-size: 12px; font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.meta__bar { grid-column: 1 / -1; height: 6px; border-radius: 999px; background: rgba(255,255,255,.06); overflow: hidden; }
.meta__bar i { display: block; height: 100%; width: 0; border-radius: 999px; background: linear-gradient(90deg, var(--rc-ember-3), var(--accent-2)); transition: width .7s cubic-bezier(.2,.7,.2,1); }

/* CTA */
.cta__text { display: flex; align-items: center; gap: 18px; }
.cta__mark { font-size: 54px; filter: drop-shadow(0 0 18px rgba(255,127,0,.35)); }

@media (min-width: 640px) {
  .rules { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .season { grid-template-columns: auto minmax(0, 1fr) auto; }
  .season__mark { display: block; }
}
@media (min-width: 1000px) {
  .rules { grid-template-columns: repeat(4, 1fr); }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .board { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: start; }
}
/* nav: five links incl. "How it works" need a little more room */
@media (min-width: 860px) and (max-width: 1139px) {
  .nav__links { gap: 18px; font-size: 13.5px; }
}
@media (max-width: 479px) {
  .live__kpi dd { font-size: 24px; }
  .live { padding: 16px; }
  .board__main { padding: 4px 14px 16px; }
  .lb__row { grid-template-columns: 22px 30px minmax(0, 1fr) auto; gap: 10px; padding: 9px 4px; }
  .lb__row img { width: 30px; height: 30px; }
}
.lb__row--private, .lb__row--private:hover { background: transparent; } .lb__row--private b { color: var(--ink-3); font-style: italic; }
