/* Tokens measured from floatlaunch.xyz (host design language). */
:root {
  --bg: #020713; --surface: #050f22; --card: #09172e; --card-hover: #0e2040;
  --border: #16294a; --border-strong: #223d6b;
  --text: #e8eef9; --muted: #8d9cba; --faint: #51617f;
  --accent: #3d8bff; --accent-hover: #5a9cff;
  /* CS2 wear tiers, as CSFloat colours them */
  --fn: #3fbf6f; --mw: #8fd14f; --ft: #e8c547; --ww: #ef8a3c; --bs: #e5484d;
  --r-md: .375rem; --r-lg: .5rem; --r-xl: .75rem; --r-2xl: 1rem;
  --ease: cubic-bezier(.4, 0, .2, 1);
  --sans: "Geist", ui-sans-serif, system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, monospace;
  color-scheme: dark;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body { background: var(--bg); color: var(--text); font: 400 15px/1.5 var(--sans); min-height: 100vh; -webkit-font-smoothing: antialiased; display: flex; flex-direction: column; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; }
img { display: block; max-width: 100%; }
::selection { background: rgba(61, 139, 255, .35); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: var(--r-md); }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); } .faint { color: var(--faint); }

/* shell */
.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.top { height: 72px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 10px; font: 800 17px/1 var(--sans); letter-spacing: .08em; }
.brand img { width: 54px; height: auto; display: block; }
.nav { display: flex; gap: 2px; }
.nav a { color: var(--muted); font-size: 14px; font-weight: 500; padding: 8px 12px; border-radius: var(--r-lg); transition: color .15s var(--ease), background .15s var(--ease); }
.nav a:hover { color: var(--text); background: var(--surface); }
.nav a[aria-current="page"] { color: var(--text); background: var(--card); }
main { flex: 1; }
.foot { border-top: 1px solid var(--border); margin-top: 72px; }
.foot .wrap { height: 64px; display: flex; align-items: center; justify-content: space-between; color: var(--faint); font-size: 13px; }
.foot a { color: var(--muted); transition: color .15s var(--ease); } .foot a:hover { color: var(--text); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: var(--r-xl); font-weight: 600; font-size: 14.5px; transition: background .15s var(--ease), border-color .15s var(--ease), transform .1s var(--ease); }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-ghost { border: 1px solid var(--border-strong); background: var(--surface); }
.btn-ghost:hover { background: var(--card); border-color: #2e4f86; }
.btn[aria-disabled="true"] { opacity: .5; pointer-events: none; }

/* hero */
.hero { padding: 56px 0 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.eyebrow { backdrop-filter: blur(6px); display: inline-flex; align-items: center; gap: 8px; height: 28px; padding: 0 11px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); font: 500 12px/1 var(--mono); color: var(--muted); }
.eyebrow i { width: 6px; height: 6px; border-radius: 50%; background: var(--bs); }
.h1 { margin-top: 20px; font: 800 64px/.92 var(--sans); letter-spacing: -.035em; text-transform: uppercase; }
.lede { margin-top: 18px; max-width: 30em; color: var(--muted); font-size: 17px; line-height: 1.55; }
.lede b { color: var(--text); font-weight: 600; }
.ctas { margin-top: 28px; display: flex; gap: 10px; flex-wrap: wrap; }
.ca { margin-top: 20px; display: inline-flex; align-items: center; gap: 10px; height: 36px; padding: 0 6px 0 12px; border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--surface); font: 500 12.5px/1 var(--mono); color: var(--muted); }
.ca span { color: var(--faint); }
.ca button { height: 26px; padding: 0 9px; border-radius: var(--r-md); background: var(--card); color: var(--text); font: 600 11.5px/1 var(--mono); transition: background .15s var(--ease); }
.ca button:hover { background: var(--card-hover); }

/* specimen card */
.spec { border: 1px solid var(--border); border-radius: var(--r-2xl); background: var(--card); overflow: hidden; }
.spec-img { aspect-ratio: 4/3; display: grid; place-items: center; background: radial-gradient(closest-side, #0e2040, var(--card)); border-bottom: 1px solid var(--border); padding: 24px; }
.spec-img img { width: 92%; filter: drop-shadow(0 18px 24px rgba(0,0,0,.55)); }
.spec-body { padding: 18px 20px 20px; }
.spec-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.spec-name { font-weight: 600; font-size: 15px; }
.spec-wear { font: 500 12px/1 var(--mono); color: var(--bs); }
.spec-float { margin-top: 14px; display: flex; justify-content: space-between; align-items: baseline; }
.spec-float .k { font: 500 11.5px/1 var(--mono); color: var(--faint); text-transform: uppercase; letter-spacing: .08em; }
.spec-float .v { font: 600 22px/1 var(--mono); letter-spacing: -.01em; }

/* wear bar */
.wear { position: relative; margin-top: 12px; height: 6px; border-radius: 3px; display: flex; overflow: visible; }
.wear i { height: 100%; }
.wear i:first-child { border-radius: 3px 0 0 3px; } .wear i:nth-child(5) { border-radius: 0 3px 3px 0; }
.wear .fn { width: 7%; background: var(--fn); } .wear .mw { width: 8%; background: var(--mw); }
.wear .ft { width: 23%; background: var(--ft); } .wear .ww { width: 7%; background: var(--ww); } .wear .bs { width: 55%; background: var(--bs); }
.wear .mark { position: absolute; top: -5px; width: 2px; height: 16px; background: var(--text); border-radius: 1px; transform: translateX(-1px); box-shadow: 0 0 0 2px var(--card); }
.wear-scale { margin-top: 8px; display: flex; justify-content: space-between; font: 500 11px/1 var(--mono); color: var(--faint); }

/* stats strip */
.stats { margin-top: 40px; display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--border); border-radius: var(--r-2xl); background: var(--surface); }
.stat { padding: 18px 20px; } .stat + .stat { border-left: 1px solid var(--border); }
.stat .k { font: 500 11.5px/1 var(--mono); color: var(--faint); text-transform: uppercase; letter-spacing: .08em; }
.stat .v { margin-top: 10px; font: 600 22px/1 var(--mono); letter-spacing: -.01em; }

/* pages */
.page-head { padding: 48px 0 28px; }
.h2 { font: 800 40px/1 var(--sans); letter-spacing: -.03em; text-transform: uppercase; }
.sub { margin-top: 12px; color: var(--muted); max-width: 40em; font-size: 16px; }
.table { border: 1px solid var(--border); border-radius: var(--r-2xl); background: var(--card); overflow: hidden; }
.tr { display: grid; grid-template-columns: 56px 64px 1fr 140px 120px; gap: 16px; align-items: center; padding: 12px 20px; }
.tr + .tr { border-top: 1px solid var(--border); }
.th { font: 500 11.5px/1 var(--mono); color: var(--faint); text-transform: uppercase; letter-spacing: .08em; background: var(--surface); padding-top: 14px; padding-bottom: 14px; }
.tr img { width: 64px; }
.rank { font: 700 15px/1 var(--mono); }
.empty { padding: 56px 24px; text-align: center; }
.empty img { width: 160px; margin: 0 auto; opacity: .35; filter: grayscale(1); }
.empty h3 { margin-top: 18px; font-size: 17px; font-weight: 600; }
.empty p { margin: 8px auto 0; color: var(--muted); max-width: 30em; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.step { border: 1px solid var(--border); border-radius: var(--r-2xl); background: var(--card); padding: 22px; }
.step .n { font: 600 12px/1 var(--mono); color: var(--accent); }
.step h3 { margin-top: 14px; font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
.step p { margin-top: 8px; color: var(--muted); font-size: 14.5px; }
.facts { margin-top: 12px; border: 1px solid var(--border); border-radius: var(--r-2xl); background: var(--surface); }
.fact { display: flex; justify-content: space-between; gap: 16px; padding: 14px 20px; font-size: 14.5px; }
.fact + .fact { border-top: 1px solid var(--border); }
.fact span:first-child { color: var(--muted); }
.fact span:last-child { font-family: var(--mono); text-align: right; }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; gap: 32px; padding-top: 32px; }
  .h1 { font-size: 46px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; } .stat:nth-child(n+3) { border-top: 1px solid var(--border); }
  .steps { grid-template-columns: 1fr; }
  .tr { grid-template-columns: 40px 48px 1fr 96px; } .tr > :nth-child(5) { display: none; } .tr img { width: 48px; }
}
@media (max-width: 520px) {
  .wrap { padding: 0 16px; }
  .nav a { padding: 8px 8px; font-size: 13px; }
  .brand span { display: none; }
  .h1 { font-size: 40px; }
  .h2 { font-size: 30px; }
}
.hero > *, main, .wrap { min-width: 0; }
@media (max-width: 520px) {
  .top { height: 64px; }
  .nav a.how-long { display: none; }
  .ctas .btn { flex: 1 1 auto; }
  .lede { font-size: 16px; }
}
@media (min-width: 521px) { .nav a.how-short { display: none; } }
a.tr { transition: background .15s var(--ease); } a.tr:hover { background: var(--card-hover); }

/* ===== v2: float-scale scene + inventory cards ===== */
.scene { position: relative; margin-top: 8px; padding: 0 0 8px; }
.scene-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; padding: 40px 0 0; }
.scene-head .h1 { margin-top: 14px; font-size: 76px; }
.scene-side { text-align: right; padding-bottom: 6px; }
.scene-side .k { font: 500 11.5px/1 var(--mono); color: var(--faint); text-transform: uppercase; letter-spacing: .08em; }
.scene-side .v { margin-top: 8px; font: 600 34px/1 var(--mono); letter-spacing: -.02em; }
.scene-side .v small { font-size: 15px; color: var(--muted); margin-left: 6px; }
.stage { position: relative; margin-top: 40px; height: 360px; border: 1px solid var(--border); border-radius: var(--r-2xl); background:
  linear-gradient(var(--border) 1px, transparent 1px) 0 0 / 100% 72px, linear-gradient(180deg, #050f22, #020713); overflow: hidden; }
.stage .tier { position: absolute; top: 0; bottom: 64px; border-left: 1px dashed #1c3156; }
.stage .tier span { position: absolute; top: 14px; left: 10px; font: 500 11px/1 var(--mono); color: var(--faint); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.rail { position: absolute; left: 0; right: 0; bottom: 40px; height: 8px; display: flex; }
.rail i { height: 100%; } .rail .fn { width: 7%; background: var(--fn); } .rail .mw { width: 8%; background: var(--mw); }
.rail .ft { width: 23%; background: var(--ft); } .rail .ww { width: 7%; background: var(--ww); } .rail .bs { width: 55%; background: var(--bs); }
.ticks { position: absolute; left: 0; right: 0; bottom: 14px; height: 14px; font: 500 11px/1 var(--mono); color: var(--faint); }
.ticks span { position: absolute; transform: translateX(-50%); } .ticks span:first-child { transform: none; left: 12px !important; } .ticks span:last-child { transform: translateX(-100%); left: calc(100% - 12px) !important; }
.pin { position: absolute; bottom: 48px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; transition: transform .2s var(--ease); }
.pin:hover { transform: translateX(-50%) translateY(-4px); }
.pin img { width: 168px; filter: drop-shadow(0 14px 18px rgba(0,0,0,.6)); }
.pin .tag { margin-top: 6px; padding: 6px 9px; border: 1px solid var(--border-strong); border-radius: var(--r-lg); background: var(--card); font: 600 12px/1 var(--mono); white-space: nowrap; }
.pin .tag em { font-style: normal; color: var(--muted); font-weight: 500; margin-left: 6px; }
.pin .stem { width: 2px; height: 40px; background: var(--text); margin-top: 6px; border-radius: 1px; }
.pin.wanted .slot { width: 150px; height: 112px; border: 1.5px dashed #3a5384; border-radius: var(--r-xl); display: grid; place-items: center; font: 600 12px/1.35 var(--mono); color: var(--muted); text-align: center; background: rgba(9,23,46,.6); }
.pin.wanted .slot b { display: block; color: var(--text); font-size: 20px; margin-bottom: 4px; }
.pin.wanted .stem { background: var(--bs); }
.pin.wanted { transform: translateX(-100%); } .pin.wanted:hover { transform: translateX(-100%) translateY(-4px); }
.under { margin-top: 18px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.under .lede { margin: 0; max-width: 36em; font-size: 16px; }
.under .ctas { margin: 0; }

.sec { margin-top: 64px; }
.sec-h { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 16px; }
.sec-h h2 { font: 700 15px/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; }
.sec-h a { font-size: 13.5px; color: var(--muted); transition: color .15s var(--ease); } .sec-h a:hover { color: var(--text); }
.inv { display: grid; grid-template-columns: repeat(auto-fill, minmax(176px, 1fr)); gap: 10px; }
.item { position: relative; display: block; border: 1px solid var(--border); border-radius: var(--r-lg); background: linear-gradient(180deg, #0b1a33, #08142a); overflow: hidden; transition: border-color .15s var(--ease), transform .15s var(--ease); }
.item::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--covert); }
.item:hover { border-color: #3a5384; transform: translateY(-2px); }
.item .im { aspect-ratio: 4/3; display: grid; place-items: center; padding: 10px 12px 0; }
.item .im img { width: 100%; filter: drop-shadow(0 8px 10px rgba(0,0,0,.5)); }
.item .meta { padding: 8px 12px 14px; }
.item .fl { font: 600 13px/1 var(--mono); letter-spacing: -.01em; }
.item .row2 { margin-top: 7px; display: flex; justify-content: space-between; font: 500 11.5px/1 var(--mono); color: var(--muted); }
.item .pat { position: absolute; top: 8px; right: 8px; padding: 4px 6px; border-radius: var(--r-md); background: rgba(2,7,19,.75); font: 600 10.5px/1 var(--mono); color: var(--muted); }
.item .wr { position: absolute; top: 8px; left: 8px; padding: 4px 6px; border-radius: var(--r-md); font: 700 10.5px/1 var(--mono); color: #020713; }
.item.empty-slot { border-style: dashed; border-color: #2a4170; background: transparent; display: grid; place-items: center; min-height: 196px; color: var(--faint); font: 500 12px/1.4 var(--mono); text-align: center; padding: 16px; }
.item.empty-slot::after { display: none; }
:root { --covert: #eb4b4b; }

@media (max-width: 860px) {
  .scene-head { flex-direction: column; align-items: start; }
  .scene-side { text-align: left; }
  .scene-head .h1 { font-size: 52px; }
  .stage { height: 300px; } .pin img { width: 112px; } .pin.wanted .slot { width: 104px; height: 84px; font-size: 11px; }
  .stage .tier span { font-size: 10px; left: 5px; }
}
@media (max-width: 520px) { .scene-head .h1 { font-size: 42px; } .pin img { width: 84px; } .pin .tag em { display: none; } }
@media (max-width: 520px) {
  .stage .tier span { display: none; }
  .ticks span:nth-child(2) { display: none; }
  .pin.wanted .slot { width: 64px; height: 64px; font-size: 10px; }
  .pin.wanted .slot b { font-size: 15px; }
  .pin .tag { padding: 5px 6px; font-size: 10.5px; }
  .inv { grid-template-columns: 1fr 1fr; }
  .under .ctas { width: 100%; }
}

/* ===== v3: banner standard (palette sampled from the X banner) ===== */
:root {
  --bg: #08203d; --surface: #0c2a4d; --card: #10335c; --card-hover: #15406f;
  --border: #1f4a78; --border-strong: #2c5d92;
  --text: #eef4fc; --muted: #9db6d6; --faint: #6a88ad;
  --accent: #f0b93a; --accent-hover: #f6c75a; --gold: #f0b93a;
}
.btn-primary { color: #1a1305; }
::selection { background: rgba(240, 185, 58, .35); }
.stage { background: linear-gradient(var(--border) 1px, transparent 1px) 0 0 / 100% 72px, linear-gradient(180deg, #0f3058, #0a2546); }
.stage .tier { border-left-color: #2a5486; }
.item { background: linear-gradient(180deg, #15406f, #10335c); }
.pin.wanted .slot { border-color: var(--gold); background: rgba(8,32,61,.7); }
.pin.wanted .slot b { color: var(--gold); }
.step .n { color: var(--gold); }

.hero-band { position: relative; height: clamp(420px, 33.35vw, 640px); background: #163f6f url(/hero.png) center 40% / cover no-repeat; margin-top: -72px; }
.hero-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,32,61,.55) 0, rgba(8,32,61,0) 18%, rgba(8,32,61,0) 62%, var(--bg) 100%); pointer-events: none; }
.hero-band .wrap { position: relative; z-index: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: 28px; }
.hero-band .h1 { font-size: clamp(44px, 6vw, 84px); text-shadow: 0 2px 24px rgba(8,32,61,.6); }
.hero-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.hero-row .scene-side .v { text-shadow: 0 2px 18px rgba(8,32,61,.7); }
header#top { position: relative; z-index: 2; }
body[data-page="home"] .nav a[aria-current="page"] { background: rgba(8,32,61,.55); }
@media (max-width: 860px) {
  .hero-band { height: 380px; background-position: 42% 40%; }
  .hero-row { flex-direction: column; align-items: flex-start; gap: 10px; }
  .hero-row .scene-side { text-align: left; }
}
@media (max-width: 520px) { .hero-band { height: 340px; background-size: auto 100%; background-position: 46% 0; } }
@media (max-width: 860px) {
  .hero-band { height: auto; background: none; }
  .hero-band::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 300px; background: #163f6f url(/hero.png) 46% 0 / auto 100% no-repeat; }
  .hero-band::after { height: 300px; bottom: auto; background: linear-gradient(180deg, rgba(8,32,61,.5) 0, rgba(8,32,61,0) 25%, rgba(8,32,61,0) 70%, var(--bg) 100%); }
  .hero-band .wrap { padding-top: 288px; padding-bottom: 8px; }
}
.fl-links { display: flex; gap: 6px; }
.fl-link { display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 11px; border: 1px solid var(--border); border-radius: 999px; color: var(--muted); font-size: 13px; font-weight: 500; transition: color .15s var(--ease), border-color .15s var(--ease), background .15s var(--ease); }
.fl-link:hover { color: var(--text); border-color: var(--border-strong); background: var(--surface); }
.fl-link svg { width: 14px; height: 14px; }
