@font-face { font-family: Barlow; font-weight: 300; font-display: swap; src: url(/assets/barlow-latin-300-normal.889347d7bc.woff2) format('woff2') }
@font-face { font-family: Barlow; font-weight: 500; font-display: swap; src: url(/assets/barlow-latin-500-normal.cd759df8ef.woff2) format('woff2') }
@font-face { font-family: Barlow; font-weight: 600; font-display: swap; src: url(/assets/barlow-latin-600-normal.4b52ddd483.woff2) format('woff2') }
@font-face { font-family: 'Saira Condensed'; font-weight: 700; font-display: swap; src: url(/assets/saira-condensed-latin-700-normal.eb1cf59a1f.woff2) format('woff2') }
@font-face { font-family: 'Saira Condensed'; font-weight: 800; font-display: swap; src: url(/assets/saira-condensed-latin-800-normal.5afa98eefc.woff2) format('woff2') }

:root {
  --bg: #121118; --panel: #1a1922; --panel2: #22202c; --line: #2f2c3b;
  --fg: #ecebf2; --muted: #9d99ad; --faint: #8a869b; --body: #c9c6d6;
  --mint: #36d3a0; --mint-d: #1f9a74; --mint-l: #8ef0cb;
  --coral: #ee5d6c; --peri: #8fb3ff; --gold: #e2b74a;
}
* { box-sizing: border-box }
html { scroll-behavior: smooth; background: var(--bg) }
body { margin: 0; color: var(--fg); font: 300 18px/1.5 Barlow, system-ui, sans-serif; -webkit-font-smoothing: antialiased }
a { color: var(--mint-l) }
.display { font-family: 'Saira Condensed', sans-serif; font-weight: 800; text-transform: uppercase; letter-spacing: .02em; line-height: .92; margin: 0 }
.mono { font-family: Consolas, ui-monospace, monospace; letter-spacing: .14em; text-transform: uppercase; font-size: 13px }

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 10; display: flex; align-items: center; gap: 16px;
  padding: 14px clamp(16px, 4vw, 40px); background: linear-gradient(#121118ee, #12111800);
  border-bottom: 1px solid transparent; transition: background .2s, border-color .2s }
/* once the page has scrolled, a frosted bar so the content doesn't show through */
.nav.scrolled { background: #121118d9; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom-color: var(--line) }
.brand { display: flex; align-items: center; gap: 10px; color: var(--fg); text-decoration: none; font-weight: 600; font-size: 17px; margin-right: auto }
.brand b { font-weight: 300; color: var(--muted) }
.nav-links { display: flex; gap: 26px; margin-right: 10px }
.nav-links a { color: var(--muted); text-decoration: none; font-weight: 500; font-size: 15px; transition: color .15s }
.nav-links a:hover { color: var(--fg) }

/* ---------- hero ---------- */
.hero { position: relative; height: 100svh; min-height: 640px; overflow: hidden; background: var(--bg) }
#gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity .6s }
.gl-ready #gl { opacity: 1 }
.no-gl .hero { background: radial-gradient(60% 50% at 50% 35%, #1f9a7433, transparent), var(--bg) }
.shove { position: absolute; left: 25%; right: 25%; top: var(--mark-top, 8%); height: calc(var(--bar-bottom, 54%) - var(--mark-top, 8%)); background: none; border: 0; cursor: pointer; z-index: 1 }
.shove:focus-visible { outline: 1px dashed var(--mint); outline-offset: -8px }
.hero-copy { position: absolute; left: 0; right: 0; top: calc(var(--bar-bottom, 54%) + 26px); text-align: center; padding: 0 20px; z-index: 2; pointer-events: none }
.hero-copy a, .hero-copy button { pointer-events: auto }
/* the readout: a HUD pill under the bar. Its number flashes mint or coral when it moves. */
.readout { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-bottom: 18px }
.pct { display: inline-flex; align-items: baseline; gap: 10px; padding: 6px 16px 6px 14px; border: 1px solid var(--line); border-radius: 999px;
  background: #16151ee6; box-shadow: 0 8px 24px -10px #000000aa; transition: border-color .3s, box-shadow .3s }
.pct .mono { font-size: 11px; color: var(--muted) }
.pct b { font: 800 26px/1 'Saira Condensed', sans-serif; color: var(--mint-l); min-width: 2.1ch; text-align: right; font-variant-numeric: tabular-nums; transition: color .3s }
.pct i { font: 700 15px/1 'Saira Condensed', sans-serif; font-style: normal; color: var(--muted); margin-left: -8px }
.pct.up { border-color: #36d3a088; box-shadow: 0 0 0 4px #36d3a01a, 0 8px 24px -10px #000000aa }
.pct.down { border-color: #ee5d6c88; box-shadow: 0 0 0 4px #ee5d6c1a, 0 8px 24px -10px #000000aa }
.pct.down b { color: #ff8f99 }

/* one slot under the readout: the hint at rest, the notice while a game plays out */
.say { display: grid; place-items: center; min-height: 32px }
.say > * { grid-area: 1 / 1 }
.hint { margin: 0; color: var(--faint); font-size: 11px; transition: opacity .2s }
.almost { display: inline-flex; align-items: stretch; border-radius: 999px; overflow: hidden; border: 1px solid var(--line); background: #16151ef2;
  box-shadow: 0 10px 28px -12px #000000cc; white-space: nowrap; opacity: 0; transform: translateY(-6px) scale(.97); transition: opacity .2s, transform .25s }
.almost .delta { display: flex; align-items: center; gap: 6px; padding: 6px 11px; font-size: 12px; font-weight: 700; letter-spacing: .08em; color: var(--bg); background: var(--coral) }
.almost .delta::before { content: '▼'; font-size: 9px }
.almost .line { padding: 6px 14px 6px 11px; font-size: 15px; font-style: italic; color: var(--fg) }
.almost.up .delta, .almost.capped .delta { background: var(--mint) }
.almost.up .delta::before, .almost.capped .delta::before { content: '▲' }
.almost.capped .line { color: var(--mint-l) }
.say.playing .hint { opacity: 0 }
.say.playing .almost.show { opacity: 1; transform: none }

/* the game it's for, said plainly above the title */
.game { display: inline-flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px 12px; margin: 0 0 14px; color: var(--peri); font-size: clamp(12px, 1vw, 14px) }
.game b { color: var(--fg); font-weight: 700 }
.game .sep { width: 4px; height: 4px; border-radius: 50%; background: var(--line) }
.game .soft { color: var(--muted) }
.hero h1 { font-size: clamp(48px, 8.5vw, 132px); letter-spacing: .01em; text-wrap: balance }
.hero h1 .dot { color: var(--mint) }
.tag { font-size: clamp(19px, 2.1vw, 28px); color: var(--muted); margin: 10px 0 0; letter-spacing: .01em }
.lede { max-width: 600px; margin: 18px auto 0; color: var(--body); font-size: clamp(16px, 1.4vw, 19px); text-wrap: balance }
.cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 26px }
.btn { display: inline-block; font: 600 16px Barlow, sans-serif; padding: 12px 22px; border-radius: 10px; text-decoration: none; border: 1px solid var(--line); cursor: pointer;
  transition: background .15s, border-color .15s, transform .15s }
.btn:active { transform: translateY(1px) }
.btn.small { font-size: 14px; padding: 8px 14px; border-radius: 8px }
.btn.primary { background: var(--mint); color: var(--bg); border-color: var(--mint) }
.btn.primary:hover { background: var(--mint-l) }
.btn.ghost { color: var(--fg); background: #1a1922aa }
.btn.ghost:hover { border-color: var(--mint-d) }
.btn:disabled { opacity: .6; cursor: default }
.no-gl .hint, .no-gl .shove { display: none }
/* the mark as a picture: until the 3D one is ready, and for good under reduced motion or
   on a weak device. Sized so its tip and bar line up with --mark-top and --bar-bottom
   (in mark.svg the tip is at y 91 and the bar's bottom at 421, of 512). */
.mark-still { position: absolute; left: 50%; z-index: 0; pointer-events: none; width: auto; transform: translateX(-50%);
  top: calc(var(--mark-top, 8%) - (var(--bar-bottom, 54%) - var(--mark-top, 8%)) * .2758);
  height: calc((var(--bar-bottom, 54%) - var(--mark-top, 8%)) * 1.5515); transition: opacity .6s }
.gl-ready .mark-still { opacity: 0 }

/* ---------- sections ---------- */
main { max-width: 1160px; margin: 0 auto; padding: 0 clamp(18px, 4vw, 40px) }
section { padding: clamp(80px, 12vh, 140px) 0 }
.head { max-width: 900px; margin-bottom: 48px }
.kicker { color: var(--mint); margin-bottom: 14px }
.head h2 { font-size: clamp(44px, 6vw, 92px) }
.sub { color: var(--body); margin: 18px 0 0; max-width: 56ch }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px }
.features .head { grid-column: 1 / -1 }
.features { row-gap: 18px }
.feat { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 24px 24px 0; overflow: hidden;
  display: grid; grid-row: span 4; grid-template-rows: subgrid; row-gap: 0;
  transition: border-color .2s, opacity .6s, translate .6s }
.feat:hover { border-color: #36d3a055 }
.feat .num { color: var(--mint); display: flex; align-items: center; gap: 10px }
.feat .num::after { content: ''; flex: 1; height: 1px; background: var(--line) }
.feat h3 { font-size: clamp(28px, 2.4vw, 36px); margin-top: 14px; align-self: end }
.feat p { color: var(--body); margin: 12px 0 22px; font-size: 16.5px; line-height: 1.5 }

/* the mocks: drawn small versions of the app's screens, not screenshots */
.mock { align-self: end; height: 136px; margin: 0 -24px; background: var(--panel2); border-top: 1px solid var(--line); position: relative; overflow: hidden; padding: 16px 24px }
.mock .mono { font-size: 10px; color: var(--faint) }
.good, .bad, .info { font: 600 12px/1 Barlow, sans-serif; padding: 6px 9px; border-radius: 6px; white-space: nowrap }
.good { color: var(--mint-l); background: #36d3a01a }
.bad { color: #ff8f99; background: #ee5d6c1a }
.info { color: #c2d4ff; background: #8fb3ff1a }

.mock-live { display: flex; flex-direction: column; justify-content: center; gap: 12px }
/* the guides mock-up's callout wears the app's tip-card look (as the guide cards below):
   a wash of its colour, a tinted border, no stripe down the side */
.mock-guides .callout { padding: 7px 12px 8px; border-radius: 10px;
  background: radial-gradient(120% 140% at 0 0, color-mix(in srgb, var(--c) 11%, transparent), transparent 60%), var(--panel);
  border: 1px solid color-mix(in srgb, var(--c) 26%, var(--line)); box-shadow: inset 0 1px 0 color-mix(in srgb, var(--c) 14%, transparent) }
.verdict b { display: block; font: 800 30px/1 'Saira Condensed', sans-serif; text-transform: uppercase; letter-spacing: .02em; margin-top: 4px }
.why { display: flex; flex-wrap: wrap; gap: 6px }

.mock-review { display: flex; flex-direction: column; justify-content: space-between }
.mock-review .row { display: flex; gap: 12px; align-items: baseline; font-weight: 500; font-size: 15px }
.mock-review .loss { color: var(--coral); font-weight: 600 }
.mock-review em { margin-left: auto; font-style: normal; color: var(--muted); font-size: 13px }
.fights { display: flex; align-items: center; gap: 0; position: relative; padding: 10px 0 }
.fights::before { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 2px; background: var(--line) }
.fights i { position: relative; flex: 1; display: flex; justify-content: center }
.fights i::before { content: ''; width: 14px; height: 14px; border-radius: 50%; background: var(--panel2); border: 2px solid }
.fights i.w::before { border-color: var(--mint); background: #36d3a033 }
.fights i.l::before { border-color: var(--coral); background: #ee5d6c33 }
.fights i.f::after { content: ''; position: absolute; top: -9px; width: 5px; height: 5px; border-radius: 50%; background: var(--fg) }
.legend { display: flex; gap: 14px }
.legend span::before { content: ''; display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 6px; vertical-align: 1px }
.legend .w::before { background: var(--mint) } .legend .l::before { background: var(--coral) } .legend .f::before { background: var(--fg); width: 5px; height: 5px }

.mock-chart { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: stretch }
.tiles { display: grid; gap: 8px; align-content: center }
.tiles div { display: grid }
.tiles b { font: 800 26px/1 'Saira Condensed', sans-serif; margin-top: 3px }
.tiles small { font: 600 11px Barlow; color: var(--mint-l); margin-left: 6px; vertical-align: 4px }
.mock-chart svg { width: 100%; height: 100%; overflow: visible }
.mock-chart .gridl { stroke: var(--line); stroke-width: 1; vector-effect: non-scaling-stroke; stroke-dasharray: 3 4 }
.mock-chart .area { fill: url(#chart-fill) }
.mock-chart polyline { fill: none; stroke: var(--mint); stroke-width: 2.5; vector-effect: non-scaling-stroke; stroke-linejoin: round }

.mock-guides { display: flex; flex-direction: column; justify-content: center; gap: 10px }
.mock-guides .callout { --c: var(--peri); font-size: 15px; font-weight: 500; line-height: 1.3 }
.mock-guides .callout .mono { display: block; color: var(--peri); margin-bottom: 4px }
.pills { display: flex; flex-wrap: wrap; gap: 6px }

.mock-aim i { position: absolute; left: 50%; top: 46%; width: 14px; height: 14px; margin: -7px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 14px var(--coral); animation: strafe 2.4s ease-in-out infinite alternate }
.mock-aim::before, .mock-aim::after { content: ''; position: absolute; background: var(--mint-l); left: 50%; top: 46% }
.mock-aim::before { width: 18px; height: 2px; margin: -1px 0 0 -9px }
.mock-aim::after { width: 2px; height: 18px; margin: -9px 0 0 -1px }
.mock-aim .read, .mock-aim .avg { position: absolute; bottom: 12px }
.mock-aim .read { left: 24px; color: var(--muted) } .mock-aim .read b { color: var(--mint-l); font-size: 14px; margin-right: 4px }
.mock-aim .avg { right: 24px }
@keyframes strafe { from { transform: translateX(-90px) } to { transform: translateX(90px) } }

.mock-party { display: flex; flex-direction: column; justify-content: center; gap: 14px }
.code { display: flex; gap: 5px }
.code span { width: 28px; height: 34px; display: grid; place-items: center; border-radius: 6px; background: var(--bg); border: 1px solid var(--line); color: var(--fg) !important; font-size: 16px !important; letter-spacing: 0 }
.seats { display: flex; align-items: center; gap: 6px }
.seats svg { width: 30px; height: 30px; padding: 6px; border-radius: 50%; background: #2c2a36 }
.seats .t { fill: var(--peri) } .seats .d { fill: var(--coral) } .seats .s { fill: var(--mint) }
.seats b { margin-left: auto; font: 600 12px Barlow; color: var(--mint-l); border: 1px solid #36d3a066; padding: 5px 10px; border-radius: 999px }

/* the fine print: four short facts on one board, 2x2 with thin dividers */
.rules { padding-top: 0 }
.rule-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: 18px; overflow: hidden }
.rule-grid { position: relative }
.rule-grid::before { content: ''; position: absolute; inset: 0 0 auto; height: 2px; z-index: 1;
  background: linear-gradient(90deg, var(--mint), var(--peri) 60%, transparent) }
.rule { position: relative; background: var(--panel); padding: 30px 32px 32px 32px; display: grid;
  grid-template-columns: 44px 1fr; column-gap: 18px; align-content: start }
.rule .ico { grid-row: span 2; width: 44px; height: 44px; padding: 10px; border-radius: 12px;
  background: #36d3a014; fill: none; stroke: var(--mint); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round }
.rule:first-child .ico { background: #8fb3ff17; stroke: var(--peri) }
.rule h3 { margin: 2px 0 0; font: 800 26px/1.05 'Saira Condensed', sans-serif; text-transform: uppercase; letter-spacing: .02em; padding-right: 56px }
.rule p { margin: 10px 0 0; color: var(--body); font-size: 16px; max-width: 46ch }
.rule-n { position: absolute; top: 18px; right: 24px; font: 800 52px/1 'Saira Condensed', sans-serif; color: transparent;
  -webkit-text-stroke: 1px var(--line); letter-spacing: .02em; transition: -webkit-text-stroke-color .2s }
.rule:hover .rule-n { -webkit-text-stroke-color: var(--mint-d) }
.rule:first-child:hover .rule-n { -webkit-text-stroke-color: var(--peri) }

/* the waitlist: what happens next on the left, the name tag on the right */
.join { display: grid; grid-template-columns: 1fr 460px; gap: 64px; align-items: center }
.join .head { margin: 0 }
.steps { list-style: none; margin: 34px 0 0; padding: 0; display: grid; gap: 4px; counter-reset: step }
.steps li { counter-increment: step; display: grid; grid-template-columns: 40px 1fr; column-gap: 14px; padding: 12px 0; border-top: 1px solid var(--line) }
.steps li::before { content: counter(step, decimal-leading-zero); grid-row: span 2; font: 800 26px/1 'Saira Condensed', sans-serif; color: var(--mint); padding-top: 2px }
.steps b { font-weight: 600; font-size: 17px }
.steps span { color: var(--muted); font-size: 15px }

/* the name tag: a lanyard slot, a coral header, a written-in name line, a footer strip,
   and a stamp once you're on the list */
.tag-wrap { position: relative; padding-top: 18px }
.tagcard { position: relative; background: linear-gradient(#1d1c26, var(--panel) 40%); border: 1px solid #3a3648; border-radius: 20px;
  transform: rotate(-1.6deg);
  box-shadow: 0 1px 0 #ffffff12 inset, 0 2px 0 #00000040, 0 30px 60px -20px #000000cc, 0 0 0 1px #00000040 }
.tag-top { position: relative; background: linear-gradient(170deg, #f26b79, var(--coral) 55%, #d94f5e); color: var(--bg);
  text-align: center; padding: 34px 20px 16px; border-radius: 19px 19px 0 0; box-shadow: 0 -1px 0 #ffffff33 inset }
.slot { position: absolute; top: 12px; left: 50%; width: 64px; height: 10px; margin-left: -32px; border-radius: 999px;
  background: var(--bg); box-shadow: 0 1px 0 #ffffff40, 0 -1px 2px #00000080 inset }
.tag-meta { position: absolute; top: 12px; left: 18px; right: 18px; display: flex; justify-content: space-between; font-size: 9px; opacity: .7 }
.tag-top b { display: block; font: 800 56px/.95 'Saira Condensed', sans-serif; text-transform: uppercase; letter-spacing: .05em }
.tag-sub { font-weight: 600; font-size: 14px; text-transform: uppercase; letter-spacing: .2em }
.tag-body { padding: 24px 26px 8px; display: grid; gap: 16px }
.tag-body .field { display: grid; gap: 6px }
.label { font-size: 13px; color: var(--muted); font-weight: 500; letter-spacing: .02em }
.label small { color: var(--faint); font-weight: 300; margin-left: 6px }
.tag-body input, .pick-btn { font: 500 17px Barlow, sans-serif; color: var(--fg); background: #15141c; border: 1px solid var(--line); border-radius: 10px;
  padding: 11px 13px; width: 100%; box-shadow: 0 1px 0 #ffffff08, 0 2px 4px #00000040 inset; transition: border-color .15s, box-shadow .15s }
.tag-body input::placeholder { color: #55516a }
.tag-body input[aria-invalid="true"] { border-color: var(--coral); box-shadow: 0 0 0 3px #ee5d6c26, 0 2px 4px #00000040 inset }
.tag-body input:focus, .pick-btn:focus-visible, .pick-btn[aria-expanded="true"] { outline: none; border-color: var(--mint);
  box-shadow: 0 0 0 3px #36d3a026, 0 2px 4px #00000040 inset }
/* the name: written onto the tag, on a line, not boxed */
.name { display: grid; gap: 4px }
.tag-body .name input { font: 800 34px/1.1 'Saira Condensed', sans-serif; letter-spacing: .03em; text-align: center; background: none; border: 0;
  border-bottom: 2px dashed #4a4560; border-radius: 0; box-shadow: none; padding: 6px 4px 8px }
.tag-body .name input:focus { border-bottom-color: var(--mint); box-shadow: none }
.tag-body .name input::placeholder { color: #3d394f }
.name .note { text-align: center; font-size: 12px; color: var(--faint) }
.submit { width: 100%; padding: 13px 22px; margin-top: 4px; font-size: 17px; box-shadow: 0 6px 18px -6px #36d3a080 }
.submit span { display: inline-block; transition: transform .15s }
.submit:hover span { transform: translateX(3px) }
.tag-foot { display: flex; justify-content: space-between; gap: 10px; padding: 12px 26px 14px; border-top: 1px dashed var(--line); font-size: 10px; color: var(--faint) }
.stamp { position: absolute; left: 50%; top: 52%; padding: 10px 20px; border: 3px solid var(--mint); border-radius: 10px; color: var(--mint);
  background: #121118d9; font-size: 28px; font-weight: 700; white-space: nowrap; box-shadow: 0 0 0 4px #121118d9;
  transform: translate(-50%, -50%) rotate(-12deg) scale(1.5); opacity: 0; pointer-events: none;
  transition: opacity .2s, transform .3s cubic-bezier(.3, 1.6, .6, 1) }
.tagcard.done .stamp { opacity: 1; transform: translate(-50%, -50%) rotate(-12deg) scale(1) }

/* the rank picker: the list opens under the button, inside the tilted tag */
.pick { position: relative }
.pick-btn { text-align: left; cursor: pointer; display: flex; align-items: center }
.pick-btn:hover { border-color: #4a4560 }
.pick-btn::after { content: ''; margin-left: auto; width: 8px; height: 8px; border: solid var(--muted); border-width: 0 2px 2px 0; transform: translateY(-2px) rotate(45deg); transition: transform .15s }
.pick-btn[aria-expanded="true"]::after { transform: translateY(2px) rotate(-135deg) }
.pick-list { position: absolute; z-index: 5; left: 0; right: 0; top: calc(100% + 6px); margin: 0; padding: 6px; list-style: none;
  background: #1f1d28; border: 1px solid #3a3648; border-radius: 12px; max-height: 420px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--line) transparent;
  box-shadow: 0 18px 40px #00000080; transform-origin: top; animation: drop .14s ease-out }
.pick-list:focus { outline: none }
@keyframes drop { from { opacity: 0; transform: translateY(-4px) scaleY(.96) } }
.pick-list li { display: flex; align-items: baseline; gap: 10px; padding: 7px 10px; border-radius: 6px; cursor: pointer; color: var(--fg); font-size: 16px }
.pick-list li small { margin-left: auto; color: var(--faint); font-size: 13px; font-weight: 300; text-align: right }
.pick-list li.active { background: #36d3a01f }
.pick-list li[aria-selected="true"] { color: var(--mint-l) }
.hp { position: absolute; left: -9999px; height: 0; width: 0; opacity: 0 }
.status { margin: 0; min-height: 1.5em; font-size: 14px; color: var(--muted); text-align: center }
.status.good { color: var(--mint-l) }
.status.bad { color: var(--coral) }
.tagcard.done .tag-body > * { opacity: .45; pointer-events: none }
.tagcard.done .status { opacity: 1 }

.foot { border-top: 1px solid var(--line); padding: 56px 20px 64px; text-align: center; color: var(--muted); display: grid; justify-items: center; gap: 18px; font-size: 15px }
.foot-brand { display: flex; align-items: center; gap: 14px; text-align: left }
.foot-brand b { display: block; color: var(--fg); font-weight: 600; font-size: 18px }
.foot-brand span { color: var(--muted); font-style: italic }
.foot-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 26px }
.foot-links a { color: var(--body); text-decoration: none; border-bottom: 1px solid var(--line) }
.foot-links a:hover { color: var(--mint-l); border-color: var(--mint-d) }
.foot-meta { color: var(--muted); font-size: 11px }
.foot .fine { color: var(--muted); font-size: 12px }

/* ---------- the other pages: category pages, FAQ, hero guides, 404 ---------- */
.nav-links a[aria-current="page"] { color: var(--fg) }
.page { padding-top: 96px }
.page > section:first-child { padding-top: clamp(48px, 8vh, 96px) }
.page h1 { font-size: clamp(44px, 7vw, 96px); text-wrap: balance }
.page h1 .dot { color: var(--mint) }
.page .lede { margin: 18px 0 0; max-width: 62ch; text-align: left }
.page .cta { justify-content: flex-start }
.lost { min-height: 70vh }

/* hero guides: /heroes/<slug>/ in the hero's accent colour, and the /heroes/ index */
.guide { --accent: var(--mint); max-width: 900px }
.guide .kicker { color: var(--accent) }
.guide h2.display { font-size: clamp(30px, 3.4vw, 44px); margin-bottom: 18px }
.guide > section { padding: 40px 0 }
.guide-head { padding-bottom: 32px !important }
.guide-head .habit { margin: 14px 0 0; max-width: 62ch; color: var(--body) }
.guide-head .habit b { color: var(--accent); font-weight: 600 }
/* Cards look like the app's tip cards (app/src/renderer/styles.css .tip): a wash of the
   accent from the top-left corner, a border tinted to it and a faint top highlight. No
   coloured stripe down the side. */
.guide .callout, .roster a, .fun-related .fun-list a, .fun-band[open] {
  background: radial-gradient(120% 140% at 0 0, color-mix(in srgb, var(--accent) 11%, transparent), transparent 60%), var(--panel);
  border: 1px solid color-mix(in srgb, var(--accent) 26%, var(--line));
  box-shadow: inset 0 1px 0 color-mix(in srgb, var(--accent) 14%, transparent) }
.roster a:hover, .fun-related .fun-list a:hover {
  background: radial-gradient(120% 140% at 0 0, color-mix(in srgb, var(--accent) 17%, transparent), transparent 65%), color-mix(in srgb, var(--fg) 2%, var(--panel));
  border-color: color-mix(in srgb, var(--accent) 50%, var(--line)) }
.guide .callout { margin: 8px 0 16px; padding: 24px 26px; border-radius: 12px }
.guide .callout .mono { font-size: 11px; color: var(--accent) }
.guide .callout h2 { margin: 8px 0 8px; font: 600 22px/1.25 Barlow, sans-serif; color: var(--fg) }
.guide .callout p { margin: 0; color: var(--body) }
.matchups { display: grid; grid-template-columns: 1fr 1fr; gap: 32px }
.matchups ul, .maps ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px }
.matchups li { display: grid; gap: 2px; padding-left: 14px; border-left: 2px solid var(--line) }
.matchups li a { font-weight: 600; color: var(--fg); text-decoration: none }
.matchups li a:hover { color: var(--accent) }
.matchups li span { color: var(--body); font-size: 16px }
.matchups > div:first-child li { border-left-color: var(--mint-d) }
.matchups > div:last-child li { border-left-color: #a8444f }
.maps li { color: var(--body); padding-left: 22px; position: relative }
.maps li::before { content: ''; position: absolute; left: 0; top: .6em; width: 10px; height: 2px; background: var(--accent) }
.against p { margin: 0; color: var(--body); max-width: 62ch }
.guide-cta { margin-top: 16px; padding: 32px 30px !important; background: var(--panel); border: 1px solid var(--line); border-radius: 16px }
.guide-cta p { color: var(--body); margin: 0; max-width: 62ch }
.guide-cta .source { margin-top: 22px; font-size: 14px; color: var(--muted) }
.heroes .guide-head { padding-bottom: 8px !important }
.roster { padding: 32px 0 !important }
.roster h2 { font-size: clamp(30px, 3.4vw, 44px); margin-bottom: 18px; display: flex; align-items: baseline; gap: 12px }
.roster h2 small { color: var(--muted); font-size: 12px }
.roster ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px }
.roster a, .fun-related .fun-list a { display: grid; gap: 4px; align-content: start; height: 100%; padding: 14px 16px; border-radius: 10px; text-decoration: none; transition: border-color .15s }
.roster b, .fun-related b { color: color-mix(in srgb, var(--accent) 30%, var(--fg)); font-weight: 600 }
.roster span { color: var(--muted); font-size: 14px; line-height: 1.35 }
@media (max-width: 700px) { .matchups { grid-template-columns: 1fr } }

/* fundamentals: /fundamentals/<slug>/ (the whole guide, rank bands folded) and the index */
.fun h3 { margin: 0 0 10px; font: 600 22px/1.25 Barlow, sans-serif; color: var(--fg); scroll-margin-top: 90px }
.fun-part { margin: 0 0 30px }
.fun-part p { margin: 0 0 12px; color: var(--body); max-width: 66ch }
.fun-part .ticks { margin: 10px 0 12px }
.fun-part a, .fun-roles a, .fun-heroes a, .fun-index .lede a, .guide-cta p a { color: var(--fg); text-decoration-color: var(--accent); text-underline-offset: 3px }
.dg-fig { margin: 18px 0 8px; max-width: 640px }
.dg-fig svg { border: 1px solid var(--line); border-radius: 12px }
.dg-fig figcaption { margin-top: 8px; color: var(--muted); font-size: 14px; max-width: 62ch }
.fun-pick-lede { margin: 0 0 14px; color: var(--body); max-width: 62ch }
.fun-pick { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px }
.fun-pick a { padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--body); text-decoration: none; font-weight: 500; font-size: 15px; transition: border-color .15s, color .15s }
.fun-pick a:hover { border-color: var(--accent); color: var(--fg) }
.fun-pick a[aria-current="true"] { background: var(--accent); border-color: var(--accent); color: var(--bg) }
.fun-band { margin: 0 0 10px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; scroll-margin-top: 90px }
.fun-band summary { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 16px 22px; cursor: pointer; list-style: none }
.fun-band summary::-webkit-details-marker { display: none }
.fun-band summary .display { font-size: 26px; color: var(--fg) }
.fun-band summary .display::before { content: '+'; display: inline-block; width: 1em; color: var(--accent) }
.fun-band[open] summary .display::before { content: '−' }
.fun-band summary small { color: var(--muted); font-size: 11px }
.fun-band > .fun-part, .fun-roles { padding: 0 22px }
.fun-band > .fun-part:first-of-type { padding-top: 6px }
.fun-roles { padding-bottom: 20px }
.fun-roles ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; max-width: 66ch }
.fun-roles li { display: grid; grid-template-columns: 90px 1fr; gap: 12px; color: var(--body) }
.fun-roles li a { font-size: 11px; padding-top: 5px; text-decoration: none; color: var(--accent) }
.fun-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px }
.fun-related .fun-list span { color: var(--muted); font-size: 14px; line-height: 1.35 }
.fun-heroes { margin: 18px 0 0; color: var(--body) }
@media (max-width: 640px) { .fun-roles li { grid-template-columns: 1fr; gap: 2px } .fun-band summary { padding: 14px 16px } .fun-band > .fun-part, .fun-roles { padding: 0 16px } }

/* category pages and the FAQ */
.article { max-width: 860px }
.article > section { padding: 36px 0 }
.article h2.display { font-size: clamp(30px, 3.4vw, 44px); margin-bottom: 16px }
.article p { color: var(--body); max-width: 66ch }
.article-head { padding-bottom: 24px !important }
.ticks, .steps-list { margin: 18px 0; padding: 0; display: grid; gap: 12px; max-width: 66ch }
.ticks { list-style: none }
.ticks li { color: var(--body); padding-left: 24px; position: relative }
.ticks li::before { content: ''; position: absolute; left: 0; top: .62em; width: 10px; height: 2px; background: var(--mint) }
.steps-list { padding-left: 24px }
.steps-list li { color: var(--body); padding-left: 6px }
.steps-list li::marker { color: var(--mint); font: 800 18px 'Saira Condensed', sans-serif }
.ticks b, .steps-list b { color: var(--fg); font-weight: 600 }
.shots { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; margin: 24px 0 }
.shot { margin: 0; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; overflow: hidden }
.shot .mock { margin: 0; border-top: 0 }
.shot figcaption { padding: 12px 18px 14px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px }

/* fundamentals diagrams, drawn by app/src/shared/diagram.mjs */
.dg-fig { margin: 24px 0; max-width: 640px; display: grid; gap: 8px }
.dg-fig svg { border: 1px solid var(--line); border-radius: 10px }
.dg-fig figcaption { color: var(--muted); font-size: 15px }
.qa h3 { margin: 26px 0 6px; font: 600 20px/1.3 Barlow, sans-serif; color: var(--fg) }
.qa .answer p { margin: 0 }

/* the preview tag, anywhere but the real domain (site.js) */
.preview { position: fixed; left: 16px; bottom: 16px; z-index: 20; font-size: 11px; color: var(--bg);
  background: var(--peri); padding: 6px 12px; border-radius: 999px; box-shadow: 0 6px 20px #00000066 }

/* reveals */
.js-reveal .feat, .js-reveal .head, .js-reveal .tagcard, .js-reveal .rule, .js-reveal .reveal { opacity: 0; translate: 0 24px; transition: opacity .6s, translate .6s }
.feat.in, .head.in, .tagcard.in, .rule.in, .reveal.in { opacity: 1 !important; translate: 0 0 !important }

@media (max-width: 1000px) {
  .nav-links { display: none }
}
@media (max-width: 900px) {
  .features { grid-template-columns: 1fr 1fr }
  .join { grid-template-columns: 1fr; gap: 40px }
  .tag-wrap { max-width: 460px }
  .tagcard { transform: rotate(-1deg) }
}
@media (max-width: 640px) {
  .features, .rule-grid { grid-template-columns: 1fr }
  .rule { padding: 24px 22px 26px }
  .brand span { display: none }
  .tag-body { padding: 20px 18px 6px }
  .tag-foot { padding: 12px 18px 14px }
  .shove { left: 10%; right: 10% }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto }
  .mock-aim i { animation: none }
  .js-reveal .feat, .js-reveal .head, .js-reveal .tagcard, .js-reveal .rule, .js-reveal .reveal { opacity: 1; translate: none; transition: none }
}

/* download and changelog pages (download.mjs, changelog.mjs) */
.download .cta.get { justify-content: flex-start }
.download .get-meta { color: var(--muted); font-size: 13px; margin: 12px 0 0 }
.download .testers { margin-top: 18px; max-width: 62ch }
.changelog .release { padding: 22px 0 }
.changelog .release h2.display { font-size: clamp(26px, 2.8vw, 36px); margin-bottom: 6px; display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap }
.changelog .release h2 a { color: inherit; text-decoration: none }
.changelog .when { font-size: 13px; color: var(--body); letter-spacing: .04em }
