/* ==========================================================================
   No Bad Days Club — SEO page styles
   Tokens sourced from Brand Guidelines v1 (2026)
   ========================================================================== */


@font-face { font-family: 'Clash Grotesk'; src: url('fonts/ClashGrotesk-Regular.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Clash Grotesk'; src: url('fonts/ClashGrotesk-Medium.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Clash Grotesk'; src: url('fonts/ClashGrotesk-Semibold.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Clash Grotesk'; src: url('fonts/ClashGrotesk-Bold.woff2') format('woff2'); font-weight: 700; font-display: swap; }

:root {
  /* Primary */
  --blue: #215ad2;
  --blue-dark: #103583;
  --blue-deep: #1247b8;
  --night: #07204f;
  /* Earn · warm */
  --orange: #ef6133;
  --yellow: #fcd161;
  --gold: #FFD45A;
  --red: #ee4d51;
  /* Soft · neutrals */
  --cream: #fffde7;
  --gray-100: #fafafa;
  --gray-200: #f0f0f0;
  --gray-400: #b8b8b8;
  --gray-600: #909090;
  --gray-800: #636e85;
  /* Gradients */
  --g-xp: linear-gradient(90deg, #ef6133 0%, #fcd161 100%);
  --g-hero: radial-gradient(ellipse at 50% 30%, #1247b8 0%, #103583 40%, #07204f 100%);
  --g-cta: linear-gradient(135deg, #215ad2 0%, #1247b8 55%, #103583 100%);
  /* Tokens */
  --r-card: 20px;
  --r-slab: 32px;
  --shadow: 0 4px 24px -8px rgba(16,53,131,.18);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --measure: 720px;
  --wrap: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: #fff; color: var(--night);
  font-family: 'Clash Grotesk', system-ui, -apple-system, sans-serif;
  font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased;
}
::selection { background: var(--yellow); color: var(--night); }
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

h1, h2, h3, h4 { font-weight: 600; letter-spacing: -.02em; line-height: 1.05; margin: 0; }
h1 { font-size: clamp(44px, 8vw, 96px); letter-spacing: -.035em; line-height: .95; }
h2 { font-size: clamp(30px, 4.2vw, 48px); margin-bottom: 14px; }
h3 { font-size: 22px; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1.1em; }
.muted { color: var(--gray-800); }
.eyebrow {
  text-transform: uppercase; font-size: 12px; font-weight: 500; letter-spacing: .25em;
  color: rgba(33,90,210,.7); margin: 0 0 16px;
}
.warm {
  background: linear-gradient(90deg, #FCD161 0%, #EF6133 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* Layout */
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 6vw; }
.prose { max-width: var(--measure); }
section { padding: 88px 0; }
section.soft { background: rgba(255,253,231,.3); }
section.dark { background: var(--night); color: #fff; }
section.dark .eyebrow { color: rgba(252,209,97,.85); }
section.dark .muted { color: rgba(255,255,255,.7); }
section.dark a { color: var(--yellow); }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.85);
  backdrop-filter: blur(12px); border-bottom: 1px solid var(--gray-200);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--night); font-weight: 600; font-size: 16px; letter-spacing: -.01em; }
.brand img { height: 30px; }
.nav-links { display: flex; gap: 24px; font-size: 14px; font-weight: 500; }
.nav-links a { color: var(--gray-800); }

/* Hero */
.hero {
  background: var(--g-hero); color: #fff; position: relative; overflow: hidden;
  padding: 96px 0 72px;
}
.hero::before {
  content: ''; position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background-image: radial-gradient(circle, rgba(255,255,255,.6) 1px, transparent 1.5px), radial-gradient(circle, rgba(255,255,255,.4) 1px, transparent 1.2px);
  background-size: 120px 120px, 80px 80px; background-position: 0 0, 40px 60px;
}
.hero .wrap { position: relative; }
.hero .eyebrow { color: var(--yellow); letter-spacing: .3em; margin-bottom: 22px; }
.hero .lede { font-size: clamp(17px, 1.6vw, 20px); color: rgba(255,255,255,.78); max-width: 580px; margin-top: 26px; }
.crumbs { font-size: 13px; color: rgba(255,255,255,.55); margin-bottom: 40px; }
.crumbs a { color: rgba(255,255,255,.75); }
.crumbs span { margin: 0 8px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; border-radius: 9999px;
  background: var(--g-cta); color: #fff; font-weight: 600; font-size: 16px; letter-spacing: -.01em;
  box-shadow: 0 12px 32px rgba(16,53,131,.22); border: 0; cursor: pointer;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.btn:hover { transform: translateY(-4px); text-decoration: none; box-shadow: 0 18px 40px rgba(16,53,131,.28); }
.btn:active { transform: scale(.95); transition: transform .2s var(--spring); }
.btn.warm-btn { background: var(--g-xp); color: var(--night); box-shadow: 0 12px 32px rgba(239,97,51,.28); }

/* XP pill */
.xp {
  display: inline-flex; align-items: center; vertical-align: middle; white-space: nowrap;
}
.xp img { width: 24px; height: 24px; margin-right: -7px; position: relative; z-index: 2; filter: drop-shadow(0 1px 3px rgba(0,0,0,.3)); }
.xp b {
  background: linear-gradient(90deg, #EF6133 0%, #FCD161 100%); color: #fff; font-weight: 700; font-size: 12px;
  padding: 3px 10px 3px 13px; border-radius: 9999px; box-shadow: 0 2px 8px rgba(239,97,51,.3);
}

/* Data block (proprietary NBDC stats) */
.data {
  background: var(--night); color: #fff; border-radius: var(--r-slab); padding: 40px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 28px;
  position: relative; overflow: hidden; margin: 40px 0;
}
.data::before {
  content: ''; position: absolute; inset: 0; opacity: .35; pointer-events: none;
  background-image: radial-gradient(circle, rgba(255,255,255,.5) 1px, transparent 1.5px); background-size: 60px 60px;
}
.data > * { position: relative; }
.data .head { grid-column: 1 / -1; }
.data .head .eyebrow { color: rgba(252,209,97,.85); margin-bottom: 6px; }
.data .head p { color: rgba(255,255,255,.65); font-size: 14px; margin: 0; }
.stat .n { font-size: clamp(36px, 4.5vw, 56px); font-weight: 600; letter-spacing: -.03em; line-height: 1; }
.stat .n.warm { display: inline-block; }
.stat .l { font-size: 13px; color: rgba(255,255,255,.6); margin-top: 6px; }

/* Task cards */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.card {
  background: var(--gray-100); border-radius: var(--r-card); overflow: hidden; box-shadow: var(--shadow);
  transition: transform .5s var(--ease);
}
.card:hover { transform: translateY(-5px); }
.card .photo { position: relative; height: 200px; overflow: hidden; }
.card .photo img { width: 100%; height: 100%; object-fit: cover; filter: saturate(1.1) brightness(.95); transition: transform 1.4s var(--ease); }
.card:hover .photo img { transform: scale(1.05); }
.card .photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,.82) 100%); }
.card .photo .cap { position: absolute; bottom: 0; left: 0; right: 0; padding: 14px; color: #fff; z-index: 1; }
.card .photo .cap small { display: block; font-size: 9px; text-transform: uppercase; letter-spacing: .12em; opacity: .7; margin-bottom: 4px; }
.card .photo .cap b { font-size: 18px; font-weight: 700; letter-spacing: -.02em; }
.card .body { padding: 22px 24px 26px; }
.card .body h3 { margin-bottom: 8px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.card .body p { font-size: 15px; color: var(--gray-800); margin: 0 0 12px; }
.card .meta { font-size: 12px; color: var(--gray-600); text-transform: uppercase; letter-spacing: .12em; }

/* Numbered list (the actual content) */
.list { counter-reset: n; display: flex; flex-direction: column; gap: 14px; max-width: none; }
.item {
  counter-increment: n; position: relative;
  background: #fff; border-radius: var(--r-card); box-shadow: var(--shadow);
  padding: 26px 28px 26px 88px; transition: transform .4s var(--ease);
}
.item:hover { transform: translateY(-3px); }
.item::before {
  content: counter(n, decimal-leading-zero);
  position: absolute; left: 24px; top: 26px;
  width: 46px; height: 46px; border-radius: 13px;
  background: linear-gradient(160deg, var(--blue), var(--blue-dark)); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 700; letter-spacing: 0;
}
.item h3 { margin-bottom: 10px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.item p:last-child { margin-bottom: 0; }
.item .facts { display: flex; flex-wrap: wrap; gap: 7px; margin: 0 0 12px; }
.item .facts span {
  font-size: 12px; font-weight: 600; padding: 5px 12px; border-radius: 9999px;
  background: var(--gray-200); color: var(--night);
}
.item .facts span::before { content: none; }
.item .tip {
  background: var(--cream); border-radius: 12px; padding: 12px 16px; font-size: 14px; color: var(--night); margin-top: 12px;
}
.item .tip b { color: var(--orange); }

/* Category tiles */
.tiles { display: flex; flex-wrap: wrap; gap: 12px; }
.tile {
  position: relative; width: 108px; height: 118px; border-radius: 12px; overflow: hidden; color: #fff;
  display: flex; flex-direction: column; justify-content: flex-end; text-align: center; padding: 6px 6px 10px;
  font-weight: 600; font-size: 11.5px; letter-spacing: -.01em; line-height: 1.1;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 8px 20px -8px var(--td);
  background: linear-gradient(160deg, var(--tl) 0%, var(--td) 100%); text-shadow: 0 1px 2px var(--td);
}
.tile span { position: absolute; inset: 0 0 28px; display: flex; align-items: center; justify-content: center; font-size: 46px; filter: grayscale(1) contrast(1.2); mix-blend-mode: multiply; opacity: .85; }

/* FAQ */
details { border-top: 1px solid rgba(0,0,0,.08); padding: 20px 0; max-width: var(--measure); }
details:last-of-type { border-bottom: 1px solid rgba(0,0,0,.08); }
summary { cursor: pointer; font-weight: 600; font-size: 18px; letter-spacing: -.01em; list-style: none; display: flex; justify-content: space-between; }
summary::after { content: '+'; color: var(--blue); font-weight: 400; }
details[open] summary::after { content: '–'; }
details p { margin: 12px 0 0; color: var(--gray-800); }

/* Sibling links */
.siblings { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.siblings a {
  display: block; padding: 20px 22px; border-radius: 16px; background: var(--gray-100); color: var(--night);
  font-weight: 600; letter-spacing: -.01em; transition: transform .5s var(--ease);
}
.siblings a:hover { transform: translateY(-4px); text-decoration: none; }
.siblings a small { display: block; font-weight: 400; font-size: 13px; color: var(--gray-800); margin-top: 4px; }

/* CTA slab */
.cta {
  background: var(--g-hero); color: #fff; border-radius: 48px; padding: 72px 6vw; text-align: center; position: relative; overflow: hidden;
}
.cta::before { content: ''; position: absolute; inset: 0; opacity: .4; background-image: radial-gradient(circle, rgba(255,255,255,.5) 1px, transparent 1.5px); background-size: 60px 60px; }
.cta > * { position: relative; }
.cta h2 { font-size: clamp(36px, 6vw, 72px); letter-spacing: -.03em; line-height: .98; margin-bottom: 8px; }
.cta p { color: rgba(255,255,255,.72); max-width: 520px; margin: 18px auto 32px; }

/* Footer */
footer { background: var(--night); color: rgba(255,255,255,.5); padding: 60px 0; text-align: center; font-size: 14px; }
footer img { height: 36px; margin: 0 auto 16px; opacity: .9; }

/* Placeholder marker for unwired data — remove once hooked to live stats */
.todo { outline: 2px dashed rgba(252,209,97,.7); outline-offset: 4px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .item { padding: 84px 20px 22px; }
  .item::before { left: 20px; top: 20px; }
  section { padding: 64px 0; }
  .data { padding: 28px; border-radius: 24px; }
  .cta { border-radius: 28px; }
}

/* ==========================================================================
   Wide layout — hero visual, sticky TOC (left), sticky app card (right)
   ========================================================================== */
:root { --wrap: 1360px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.hero-visual { position: relative; height: 460px; }
.hero-visual .shot {
  position: absolute; border-radius: 24px; overflow: hidden; box-shadow: 0 30px 60px -20px rgba(0,0,0,.6);
  border: 1px solid rgba(255,255,255,.12);
}
.hero-visual .shot img { width: 100%; height: 100%; object-fit: cover; filter: saturate(1.1) brightness(.95); }
.hero-visual .shot.a { width: 72%; height: 82%; right: 0; top: 0; transform: rotate(3deg); }
.hero-visual .shot.b { width: 48%; height: 52%; left: 0; bottom: 0; transform: rotate(-4deg); }
.hero-visual .shot .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 16px; color: #fff; background: linear-gradient(180deg, transparent, rgba(0,0,0,.8)); }
.hero-visual .shot .cap small { display: block; font-size: 9px; letter-spacing: .12em; text-transform: uppercase; opacity: .7; margin-bottom: 3px; }
.hero-visual .shot .cap b { font-size: 16px; font-weight: 700; letter-spacing: -.02em; }
.hero-visual .chip {
  position: absolute; background: #fff; color: var(--night); border-radius: 9999px; padding: 10px 16px 10px 12px;
  font-size: 13px; font-weight: 600; display: flex; align-items: center; gap: 8px; box-shadow: 0 12px 30px -8px rgba(0,0,0,.5);
  animation: float 6s ease-in-out infinite;
}
.hero-visual .chip.c1 { top: 8%; left: 6%; }
.hero-visual .chip.c2 { bottom: 14%; right: -2%; animation-delay: -3s; }
.hero-visual .chip .dot { width: 8px; height: 8px; border-radius: 50%; background: #4caf50; box-shadow: 0 0 0 3px rgba(76,175,80,.25); }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

.layout {
  max-width: 1320px; margin: 0 auto; padding: 0 4vw;
  display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 64px; align-items: start;
}
.layout main { min-width: 0; }
.layout main section { padding: 56px 0; }
.layout main section.soft { background: none; }
.layout main section.dark { border-radius: var(--r-slab); padding: 56px; margin: 24px 0; }
.layout main .wrap { padding: 0; max-width: none; }
.layout main .list, .layout main .prose, .layout main details { max-width: 820px; }

.rail { position: sticky; top: 24px; padding: 88px 0 40px; display: flex; flex-direction: column; gap: 20px; max-height: calc(100vh - 80px); overflow-y: auto; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.rail .toc { background: #fff; border: 1px solid rgba(0,0,0,.07); border-radius: 20px; padding: 20px 20px 12px; }
.toc .eyebrow { margin-bottom: 10px; }
.toc a { display: block; font-size: 13px; line-height: 1.3; color: var(--gray-800); padding: 5px 0 5px 12px; border-left: 2px solid var(--gray-200); transition: color .3s, border-color .3s; }
.toc a:hover, .toc a.active { color: var(--night); border-color: var(--orange); text-decoration: none; font-weight: 500; }
.rail .side { display: flex; flex-direction: column; gap: 20px; }
.rail .appcard { margin-bottom: 0; }

.appcard {
  background: var(--g-hero); color: #fff; border-radius: 24px; padding: 28px; position: relative; overflow: hidden; margin-bottom: 20px;
  box-shadow: 0 24px 48px -16px rgba(16,53,131,.4);
}
.appcard::before { content: ''; position: absolute; inset: 0; opacity: .35; background-image: radial-gradient(circle, rgba(255,255,255,.5) 1px, transparent 1.5px); background-size: 50px 50px; }
.appcard > * { position: relative; }
.appcard .eyebrow { color: var(--yellow); margin-bottom: 10px; }
.appcard h3 { font-size: 26px; font-weight: 600; letter-spacing: -.02em; line-height: 1; margin-bottom: 10px; }
.appcard p { font-size: 14px; color: rgba(255,255,255,.72); margin-bottom: 20px; }
.appcard .btn { width: 100%; justify-content: center; padding: 12px 20px; font-size: 15px; }
.rail .mini { background: var(--gray-100); border-radius: 20px; padding: 22px 22px 8px; }
.rail .mini .eyebrow { margin-bottom: 8px; }
.rail .mini a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 0; border-top: 1px solid rgba(0,0,0,.06); color: var(--night); font-size: 14px; font-weight: 500; }
.rail .mini a:first-of-type { border-top: 0; }
.rail .mini a:hover { text-decoration: none; color: var(--blue); }

@media (max-width: 1180px) {
  .layout { grid-template-columns: minmax(0,1fr) 280px; gap: 40px; }
}
@media (max-width: 900px) {
  .layout { display: block; padding: 0 6vw; }
  .rail { position: static; padding: 0 0 40px; max-height: none; overflow: visible; }
  .rail .toc { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { height: 320px; margin-top: 8px; }
}

/* ==========================================================================
   Editorial additions — byline, quick answer, per-item facts
   ========================================================================== */
.byline { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13px; color: var(--gray-800); margin: 0 0 28px; }
.byline b { color: var(--night); font-weight: 600; }
.quick { background: var(--cream); border-radius: var(--r-card); padding: 26px 28px; margin: 8px 0 32px; }
.quick .eyebrow { margin-bottom: 10px; color: var(--orange); }
.quick h2 { font-size: 22px; margin-bottom: 12px; }
.quick ol { margin: 0; padding-left: 22px; columns: 2; column-gap: 32px; font-size: 15px; line-height: 1.7; }
.quick ol li { break-inside: avoid; }
.quick ol a { color: var(--night); }
.facts { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13px; color: var(--gray-800); margin: 0 0 10px; }
.facts span::before { content: ''; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--yellow); margin-right: 7px; vertical-align: middle; }
.table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 8px 0 20px; }
.table th, .table td { text-align: left; padding: 12px 10px; border-top: 1px solid rgba(0,0,0,.08); vertical-align: top; }
.table th { font-size: 11px; text-transform: uppercase; letter-spacing: .15em; color: var(--gray-600); font-weight: 500; border-top: 0; }
.table td:first-child { font-weight: 600; }
.table-wrap { overflow-x: auto; }
@media (max-width: 640px) { .quick ol { columns: 1; } }

/* ==========================================================================
   Challenges / XP page — hero stats, route cards, steps, tiers, rules, closer
   ========================================================================== */
.stat-row { display: flex; gap: 14px; margin-top: 36px; flex-wrap: wrap; }
.stat-row .box { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: 16px; padding: 16px 22px; min-width: 118px; }
.stat-row .box .l { font-size: 11px; text-transform: uppercase; letter-spacing: .14em; color: rgba(255,255,255,.55); margin-bottom: 6px; }
.stat-row .box .n { font-size: 26px; font-weight: 700; letter-spacing: -.02em; }
.stat-row .box .n.warm-text { color: var(--yellow); }

.speedrun { background: var(--gray-100); border-radius: var(--r-card); padding: 30px 32px; margin: 0 0 12px; }
.speedrun h2 { font-size: 26px; margin-bottom: 6px; }
.speedrun p { margin: 0; }
.steps5 { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 20px; padding: 0; list-style: none; }
.steps5 li { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 14px; }
.steps5 i { width: 24px; height: 24px; border-radius: 50%; background: var(--blue); color: #fff; font-style: normal; font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }

.route-grid { display: flex; flex-direction: column; gap: 18px; margin-top: 24px; }
.route-card { background: var(--gray-100); border-radius: var(--r-card); padding: 24px 28px; display: flex; gap: 20px; align-items: flex-start; transition: transform .4s var(--ease); }
.route-card.is-live { background: #fff; box-shadow: var(--shadow); }
.route-card .badge { width: 46px; height: 46px; border-radius: 13px; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 17px; color: #fff; flex-shrink: 0; }
.route-card.is-live .badge { background: linear-gradient(160deg, var(--orange), var(--red)); }
.route-card.is-soon .badge { background: var(--gray-200); color: var(--gray-800); }
.route-card .main { flex: 1; min-width: 0; }
.route-card .status { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.route-card.is-live .status { color: var(--red); }
.route-card.is-soon .status { color: var(--gray-600); }
.route-card h3 { margin: 5px 0 12px; }
.route-card .chips { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin-bottom: 12px; }
.route-card .chips span { font-size: 11px; font-weight: 600; padding: 4px 11px; border-radius: 9999px; background: var(--gray-200); color: var(--night); }
.route-card .chips .t-stop { background: var(--night); color: #fff; border-radius: 50%; width: 22px; height: 22px; display: inline-flex; align-items: center; justify-content: center; font-size: 10px; padding: 0; }
.route-card .chips .red { background: #fbdede; color: #b12a2a; }
.route-card .chips .green { background: #d9ecdd; color: #1f7a3f; }
.route-card .chips .orange-line { background: #fde3d4; color: #b0501f; }
.route-card .chips .blue-line { background: #d7e3fb; color: #1d3f91; }
.route-card .chips .silver-line { background: #e6e6e6; color: #52585e; }
.route-card .desc { font-size: 15px; color: var(--gray-800); margin: 0; }
.route-card .xp { text-align: right; flex-shrink: 0; }
.route-card .xp .n { font-size: 25px; font-weight: 700; color: var(--orange); letter-spacing: -.02em; }
.route-card .xp .l { font-size: 11px; color: var(--gray-600); text-transform: uppercase; letter-spacing: .1em; }

.route-card.is-open { background: #fff; box-shadow: var(--shadow); }
.route-card.is-open .badge { background: linear-gradient(160deg, var(--blue), var(--blue-dark)); }
.route-card.is-open .status { color: var(--blue); }
.route-card.is-timed .badge { background: var(--gray-200); color: var(--gray-800); }
.route-card.is-timed .status { color: #b0501f; }
.route-card.is-rare { background: var(--cream); box-shadow: var(--shadow); }
.route-card.is-rare .badge { background: linear-gradient(160deg, var(--orange), var(--red)); }
.route-card.is-rare .status { color: var(--red); }

.steps3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; margin-top: 24px; }
.steps3 .step { background: var(--night); color: #fff; border-radius: 20px; padding: 26px 24px; }
.steps3 .step .l { font-size: 11px; text-transform: uppercase; letter-spacing: .14em; color: var(--yellow); margin-bottom: 10px; }
.steps3 .step h3 { color: #fff; margin-bottom: 8px; }
.steps3 .step p { font-size: 14px; color: rgba(255,255,255,.72); margin: 0; }

.tier-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; margin-top: 24px; }
.tier { border-radius: 20px; padding: 26px 24px; background: var(--gray-100); }
.tier .l { font-size: 12px; font-weight: 600; letter-spacing: .06em; color: var(--gray-800); margin-bottom: 10px; }
.tier h3 { margin-bottom: 8px; }
.tier p { font-size: 14px; color: var(--gray-800); margin: 0; }
.tier.mid { background: var(--cream); }
.tier.top { background: linear-gradient(160deg, var(--orange), var(--red)); color: #fff; }
.tier.top .l { color: rgba(255,255,255,.8); }
.tier.top h3 { color: #fff; }
.tier.top p { color: rgba(255,255,255,.85); }

.rule-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; margin-top: 24px; }
.rule { background: #fff; border: 1px solid rgba(0,0,0,.07); border-radius: 18px; padding: 22px; }
.rule .badge { width: 30px; height: 30px; border-radius: 9px; background: var(--blue); color: #fff; font-weight: 700; font-size: 14px; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.rule h3 { font-size: 17px; margin-bottom: 6px; }
.rule p { font-size: 14px; color: var(--gray-800); margin: 0; }

.closer { background: var(--g-hero); color: #fff; border-radius: var(--r-slab); padding: 64px 5vw; position: relative; overflow: hidden; }
.closer::before { content: ''; position: absolute; inset: 0; opacity: .4; background-image: radial-gradient(circle, rgba(255,255,255,.5) 1px, transparent 1.5px); background-size: 60px 60px; }
.closer > * { position: relative; }
.closer .eyebrow { color: var(--yellow); }
.closer h2 { font-size: clamp(34px, 5.5vw, 60px); letter-spacing: -.03em; margin: 8px 0 32px; }
.closer .bar { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); border-radius: 20px; padding: 24px 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.closer .bar h3 { font-size: 20px; margin-bottom: 4px; }
.closer .bar p { margin: 0; color: rgba(255,255,255,.65); font-size: 14px; }
.closer .foot { display: flex; justify-content: space-between; margin-top: 28px; font-size: 13px; color: rgba(255,255,255,.5); flex-wrap: wrap; gap: 10px; }

@media (max-width: 640px) {
  .route-card { flex-direction: column; }
  .route-card .xp { text-align: left; }
  .speedrun { padding: 24px; }
}
