/* CS2 Reserve — one stylesheet for every page. */
@font-face { font-family: 'Archivo'; font-style: normal; font-display: swap; font-weight: 100 900; font-stretch: 62% 125%; src: url('/fonts/archivo-latin.woff2') format('woff2-variations'), url('/fonts/archivo-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: 'Archivo'; font-style: normal; font-display: swap; font-weight: 100 900; font-stretch: 62% 125%; src: url('/fonts/archivo-latin-ext.woff2') format('woff2-variations'), url('/fonts/archivo-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
:root {
  --ink-0: #08111f;      /* page */
  --ink-1: #0d1a2d;      /* sections */
  --ink-2: #13243b;      /* raised */
  --ink-3: #1a2f4b;      /* inputs, hover */
  --line: #233a5c;
  --line-soft: #1a2c47;
  --text: #edf2f9;
  --muted: #9fb1ca;
  --dim: #7489a6;
  --gold: #d8b26a;
  --gold-hi: #f0d49b;
  --gold-ink: #1a1306;
  --ok: #4fd1a5;
  --warn: #f2b45a;
  --err: #ff8a80;
  /* heat-tint colours of case-hardened steel */
  --temper: conic-gradient(from 210deg, #2f6fe0, #5a4fd0, #8a4fb8, #c78a3c, #e8c877, #9fb6d8, #2f6fe0);
  --font: 'Archivo', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --wrap: 1240px;
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
[id] { scroll-margin-top: 84px; }
body {
  margin: 0; background: var(--ink-0); color: var(--text);
  font-family: var(--font); font-size: 16px; line-height: 1.6; font-variation-settings: 'wdth' 100;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 3px; border-radius: 4px; }
.wrap { width: min(var(--wrap), calc(100% - 48px)); margin-inline: auto; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.num { font-variant-numeric: tabular-nums; }

/* ---------- type ---------- */
h1, h2, h3, .display { font-family: var(--font); font-variation-settings: 'wdth' 112; font-weight: 700; letter-spacing: -0.02em; line-height: 1.05; margin: 0; }
h2 { font-size: clamp(30px, 3.6vw, 48px); }
h3 { font-size: 20px; letter-spacing: -0.01em; }
p { margin: 0; }
.lead { color: var(--muted); font-size: 17px; max-width: 60ch; }
.kicker { color: var(--gold); font-weight: 600; font-size: 14px; margin-bottom: 14px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: var(--r-sm); border: 1px solid transparent;
  font-weight: 650; font-size: 15px; text-decoration: none; white-space: nowrap;
  transition: background-color .15s, border-color .15s, color .15s, transform .15s;
}
.btn-gold { background: var(--gold); color: var(--gold-ink); }
.btn-gold:hover { background: var(--gold-hi); }
.btn-ghost { border-color: var(--line); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-hi); }
.btn-quiet { background: var(--ink-3); color: var(--text); }
.btn-quiet:hover { background: #22395a; }
.btn:disabled, .btn[aria-disabled='true'] { opacity: .45; cursor: not-allowed; }
.btn-sm { min-height: 38px; padding: 0 14px; font-size: 14px; }
.btn-block { width: 100%; }
.link { color: var(--gold-hi); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.link:hover { color: #fff; }

/* ---------- promo bar ---------- */
.promo-bar { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 9px 18px; background: linear-gradient(90deg, #1a1408, #2a1f0a 50%, #1a1408); border-bottom: 1px solid rgba(216, 178, 106, .35); color: var(--gold-hi); font-size: 14px; font-weight: 600; text-align: center; }
.promo-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); flex: none; box-shadow: 0 0 0 3px rgba(216, 178, 106, .2); }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(8, 17, 31, .86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line-soft); }
.site-header .wrap { display: flex; align-items: center; gap: 28px; height: 74px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand img { width: 38px; height: 38px; border-radius: 9px; }
.brand-name { font-variation-settings: 'wdth' 118; font-weight: 750; font-size: 18px; letter-spacing: -0.01em; line-height: 1.1; }
.brand-name span { color: var(--gold); }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { text-decoration: none; color: var(--muted); font-size: 15px; font-weight: 500; }
.nav a:hover, .nav a[aria-current='page'] { color: var(--text); }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: var(--r-sm); width: 44px; height: 44px; }
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--text); margin: 4px auto; transition: transform .2s; }

/* ---------- hero ---------- */
.hero { border-bottom: 1px solid var(--line-soft); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 40px; align-items: center; min-height: min(680px, calc(100vh - 74px)); padding-block: 56px; }
.hero h1 { font-size: clamp(44px, 5.4vw, 84px); line-height: .98; letter-spacing: -0.03em; font-weight: 760; font-variation-settings: 'wdth' 100; }
.hero h1 .l1, .hero h1 .l2 { display: block; }
.hero h1 .l2 { color: var(--gold); }
.hero-sub { color: var(--muted); font-size: 18px; max-width: 46ch; margin-top: 26px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.facts { display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 40px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: 14.5px; }
.facts li { display: flex; align-items: center; gap: 9px; }
.facts svg { width: 18px; height: 18px; color: var(--gold); flex: none; }

/* specimen: the hero visual */
.specimen { position: relative; aspect-ratio: 1 / .92; border-radius: var(--r-lg); background: linear-gradient(160deg, #102341, #0a1628 70%); border: 1px solid var(--line); overflow: hidden; isolation: isolate; text-decoration: none; display: block; }
.specimen .lattice { position: absolute; inset: 0; z-index: -2; opacity: .9; }
.specimen .ring { position: absolute; z-index: -1; width: 74%; aspect-ratio: 1; left: 13%; top: 7%; border-radius: 50%; background: var(--temper); -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1px)); mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1px)); opacity: .85; }
.specimen .ring.inner { width: 52%; left: 24%; top: 18%; opacity: .35; }
.specimen .glow { position: absolute; z-index: -1; width: 70%; aspect-ratio: 1; left: 15%; top: 8%; border-radius: 50%; background: radial-gradient(circle, rgba(47, 111, 224, .28), transparent 65%); }
.specimen .weapon { position: absolute; left: 4%; top: 25%; width: 92%; max-width: none; transform: rotate(-7deg); filter: drop-shadow(0 26px 30px rgba(0, 0, 0, .55)); }
.specimen .plate { position: absolute; left: 22px; right: 22px; bottom: 22px; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; padding: 18px 20px; border-radius: var(--r-md); background: rgba(8, 17, 31, .78); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid var(--line); }
.plate-left { display: flex; flex-direction: column; min-width: 0; }
.plate-name { color: var(--muted); font-size: 14px; }
.plate-seed { font-variation-settings: 'wdth' 125; font-weight: 800; font-size: clamp(40px, 4.4vw, 60px); line-height: .9; letter-spacing: -0.03em; color: var(--gold-hi); margin-top: 6px; }
.plate-seed small { font-size: .3em; color: var(--muted); font-weight: 600; margin-right: 8px; letter-spacing: 0; font-variation-settings: 'wdth' 100; vertical-align: .55em; }
.plate-right { text-align: right; display: flex; flex-direction: column; gap: 4px; white-space: nowrap; }
.plate-price { font-weight: 700; font-size: 20px; }
.plate-cta { color: var(--gold-hi); font-size: 14px; font-weight: 600; }
.specimen:hover .plate { border-color: var(--gold); }
.render-note { position: absolute; top: 16px; left: 18px; font-size: 12px; color: var(--dim); }

/* ---------- sections ---------- */
.section { padding-block: 104px; }
.section + .section { border-top: 1px solid var(--line-soft); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.section-head .lead { margin-top: 14px; }
.band { background: var(--ink-1); }

/* filter tabs */
.tabs { display: inline-flex; flex-wrap: wrap; padding: 4px; border: 1px solid var(--line); border-radius: 10px; gap: 2px; }
.tabs button { border: 0; background: none; color: var(--muted); padding: 9px 16px; border-radius: 7px; font-weight: 600; font-size: 14px; }
.tabs button[aria-pressed='true'] { background: var(--ink-3); color: var(--text); }

/* ---------- product cards ---------- */
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.card { background: var(--ink-1); border: 1px solid var(--line-soft); border-radius: var(--r-md); overflow: hidden; display: flex; flex-direction: column; transition: border-color .2s; }
.card:hover { border-color: var(--line); }
.card-media { position: relative; display: block; aspect-ratio: 16 / 10; background: radial-gradient(120% 90% at 50% 45%, #183257 0%, #0e1d33 55%, #0a1526 100%); overflow: hidden; }
.card-media::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(216, 178, 106, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(216, 178, 106, .06) 1px, transparent 1px); background-size: 28px 28px; mask-image: radial-gradient(circle at 50% 50%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 30%, transparent 75%); }
.card-media img { position: absolute; inset: 14% 6%; width: 88%; height: 72%; object-fit: contain; filter: drop-shadow(0 16px 18px rgba(0, 0, 0, .5)); transition: transform .35s ease; }
.card:hover .card-media img { transform: scale(1.035); }
.card-seed { position: absolute; right: 16px; top: 12px; font-variation-settings: 'wdth' 125; font-weight: 800; font-size: 30px; letter-spacing: -0.02em; color: rgba(240, 212, 155, .9); }
.card-seed small { font-size: 15px; color: var(--dim); margin-right: 2px; }
.card-tag { position: absolute; right: 14px; top: 14px; font-size: 13px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: rgba(8, 17, 31, .8); border: 1px solid rgba(216, 178, 106, .5); color: var(--gold-hi); }
.pdp-media .card-tag { right: 20px; top: 20px; font-size: 14px; }
.price-ask { font-size: 17px; color: var(--muted); font-weight: 600; }
.pdp-price .price-ask { font-size: 26px; }
.rarity { font-size: 12px; font-weight: 650; margin-left: 6px; padding: 1px 7px; border-radius: 999px; border: 1px solid currentColor; vertical-align: 1px; }
.r-covert { color: #eb4b4b; } .r-classified { color: #d32ce6; } .r-restricted { color: #8847ff; } .r-milspec { color: #4b69ff; } .r-extraordinary { color: #e4ae39; } .r-contraband { color: #e4ae39; }
.badge { position: absolute; left: 14px; top: 14px; font-size: 12.5px; font-weight: 650; padding: 4px 10px; border-radius: 999px; background: rgba(8, 17, 31, .8); border: 1px solid var(--line); color: var(--text); }
.badge-ok::before { content: ''; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); margin-right: 7px; vertical-align: 1px; }
.badge-hold { color: var(--warn); }
.badge-sold { color: var(--muted); }
.ref-note { position: absolute; left: 14px; bottom: 10px; font-size: 11.5px; color: var(--dim); }
.card-body { padding: 20px 20px 22px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-weapon { color: var(--muted); font-size: 14px; }
.card h3 a { text-decoration: none; }
.card h3 a:hover { color: var(--gold-hi); }
.card-meta { color: var(--dim); font-size: 13.5px; }
.card-foot { margin-top: auto; padding-top: 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line-soft); margin-top: 16px; }
.price { font-variation-settings: 'wdth' 108; font-weight: 700; font-size: 22px; font-variant-numeric: tabular-nums; }
.card.is-sold .card-media img { filter: grayscale(.8) brightness(.7); }
.empty { color: var(--muted); padding: 40px 0; }

/* ---------- seed explainer ---------- */
.explain .wrap { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 64px; align-items: start; }
.explain .lead { margin-top: 18px; }
.terms-list { margin: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.terms-list div { display: grid; grid-template-columns: 170px 1fr; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.terms-list dt { font-weight: 700; font-variation-settings: 'wdth' 110; }
.terms-list dd { margin: 0; color: var(--muted); }

/* ---------- steps (a real sequence) ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; list-style: none; margin: 0; padding: 0; counter-reset: s; }
.steps li { position: relative; padding-top: 30px; border-top: 1px solid var(--line); counter-increment: s; }
.steps li::before { content: counter(s); position: absolute; top: -17px; left: 0; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--ink-0); border: 1px solid var(--gold); color: var(--gold-hi); font-weight: 700; font-size: 15px; }
.steps h3 { font-size: 18px; margin-bottom: 8px; }
.steps p { color: var(--muted); font-size: 15px; }
.note { margin-top: 44px; padding: 18px 20px; border-radius: var(--r-md); background: var(--ink-2); border: 1px solid var(--line); color: var(--muted); font-size: 14.5px; max-width: 900px; }
.note strong { color: var(--text); }

/* ---------- sell promo ---------- */
.sell-band { position: relative; overflow: hidden; }
.sell-box { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 40px 44px; border-radius: var(--r-lg); border: 1px solid var(--line); background: linear-gradient(120deg, #11233d, #0c1a2e); position: relative; overflow: hidden; }
.sell-box::after { content: ''; position: absolute; right: -90px; top: -90px; width: 260px; height: 260px; border-radius: 50%; background: var(--temper); -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1px)); mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1px)); opacity: .55; }
.sell-box h2 { font-size: clamp(26px, 3vw, 38px); }
.sell-box p { color: var(--muted); margin-top: 10px; max-width: 56ch; }

/* ---------- guide / seo copy ---------- */
.guide-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.guide-grid h3 { font-size: 19px; margin-bottom: 12px; }
.guide-grid p { color: var(--muted); font-size: 15.5px; line-height: 1.7; }
.guide-grid p + p { margin-top: 12px; }

/* ---------- FAQ ---------- */
.faq-layout { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative; font-weight: 650; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq details p { color: var(--muted); padding: 0 32px 22px 0; }
.help-card { padding: 30px; border-radius: var(--r-md); background: var(--ink-2); border: 1px solid var(--line); position: sticky; top: 100px; }
.help-card h3 { font-size: 22px; margin-bottom: 10px; }
.help-card p { color: var(--muted); font-size: 15px; }
.help-card .btn { margin-top: 20px; }
.help-card .contact-alt { margin-top: 14px; font-size: 14px; color: var(--muted); }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line-soft); padding: 56px 0 36px; background: var(--ink-1); }
.footer-top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer-top p { color: var(--muted); font-size: 14.5px; max-width: 44ch; margin-top: 14px; }
.footer-links { display: grid; grid-template-columns: repeat(2, auto); gap: 10px 48px; align-content: start; }
.footer-links a { color: var(--muted); text-decoration: none; font-size: 14.5px; }
.footer-links a:hover, .footer-btn:hover { color: var(--text); }
.footer-btn { background: none; border: 0; padding: 0; text-align: left; color: var(--muted); font-size: 14.5px; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; cursor: pointer; }
.footer-legal { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line-soft); color: var(--dim); font-size: 13px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }

/* ---------- product page ---------- */
.crumbs { padding-top: 28px; font-size: 14px; color: var(--dim); }
.crumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.crumbs li + li::before { content: '/'; margin-right: 8px; color: var(--line); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--text); }
.pdp { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 48px; padding-block: 28px 80px; align-items: start; }
.pdp-gallery { position: sticky; top: 98px; }
.pdp-media { position: relative; aspect-ratio: 1 / .78; border-radius: var(--r-lg); border: 1px solid var(--line); background: linear-gradient(160deg, #102341, #0a1628 70%); overflow: hidden; isolation: isolate; }
.pdp-media .lattice { position: absolute; inset: 0; z-index: -2; }
.pdp-media .ring { position: absolute; z-index: -1; width: 70%; aspect-ratio: 1; left: 15%; top: 4%; border-radius: 50%; background: var(--temper); -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1px)); mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1px)); opacity: .7; }
.pdp-media img { position: absolute; left: 5%; width: 90%; top: 50%; transform: translateY(-50%); filter: drop-shadow(0 24px 26px rgba(0, 0, 0, .55)); }
.pdp-media .card-seed { font-size: 44px; right: 22px; top: 16px; }
.pdp-media .ref-note { left: 20px; bottom: 16px; font-size: 12.5px; }
.pdp-media .badge { left: 20px; top: 20px; }
.pdp-info .card-weapon { font-size: 15px; }
.pdp-info h1 { font-size: clamp(34px, 3.6vw, 52px); margin-top: 8px; letter-spacing: -0.03em; }
.pdp-price { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-top: 22px; }
.pdp-price .price { font-size: 38px; }
.ref-price { color: var(--muted); font-size: 14.5px; }
.pdp-actions { display: grid; grid-template-columns: 1fr auto; gap: 10px; margin-top: 22px; }
.pay-with { display: flex; align-items: center; gap: 10px; margin-top: 14px; color: var(--dim); font-size: 13.5px; }
.pay-with svg { width: 22px; height: 22px; }
.specs { margin: 30px 0 0; border-top: 1px solid var(--line); }
.specs div { display: flex; justify-content: space-between; gap: 20px; padding: 13px 0; border-bottom: 1px solid var(--line-soft); font-size: 15px; }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.specs dd.pending { color: var(--dim); font-weight: 500; }
.assure { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.assure li { display: flex; gap: 12px; color: var(--muted); font-size: 14.5px; }
.assure svg { width: 20px; height: 20px; color: var(--gold); flex: none; margin-top: 2px; }
.prose { max-width: 70ch; }
.prose h2 { font-size: clamp(26px, 2.6vw, 34px); margin-bottom: 16px; }
.prose p { color: var(--muted); font-size: 16.5px; line-height: 1.75; }
.prose p + p { margin-top: 14px; }
.pdp-more { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 56px; }
.mini-steps { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 14px; counter-reset: m; }
.mini-steps li { counter-increment: m; display: grid; grid-template-columns: 30px 1fr; gap: 12px; color: var(--muted); font-size: 15px; }
.mini-steps li::before { content: counter(m); width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--gold); color: var(--gold-hi); display: grid; place-items: center; font-size: 13px; font-weight: 700; }

/* gallery */
.thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; padding-bottom: 4px; }
.thumb { flex: none; width: 108px; height: 66px; padding: 6px; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--ink-1); }
.thumb img { width: 100%; height: 100%; object-fit: contain; }
.thumb[aria-pressed='true'] { border-color: var(--gold); box-shadow: inset 0 0 0 1px var(--gold); }
.img-credit { margin-top: 10px; font-size: 12.5px; color: var(--dim); }

/* terms page */
.doc { max-width: 760px; padding-block: 56px 96px; }
.doc h1 { font-size: clamp(34px, 4vw, 52px); margin-bottom: 14px; }
.doc h2 { font-size: 24px; margin: 40px 0 12px; }
.doc p, .doc li { color: var(--muted); }
.doc ul { padding-left: 20px; }
.doc li + li { margin-top: 6px; }

/* ---------- modal (checkout, sell, order status) ---------- */
body.modal-open { overflow: hidden; }
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(3, 8, 16, .78); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); animation: fade .18s ease; }
.modal-panel { position: relative; width: min(580px, 100%); max-height: calc(100dvh - 40px); overflow: auto; background: var(--ink-1); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: 0 30px 80px rgba(0, 0, 0, .6); animation: rise .22s ease; overscroll-behavior: contain; }
.modal-panel.wide { width: min(720px, 100%); }
@keyframes fade { from { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(12px) scale(.985); } }
.modal-close { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: var(--ink-2); display: grid; place-items: center; z-index: 2; }
.modal-close:hover { border-color: var(--gold); }
.modal-close svg { width: 14px; height: 14px; }
.m-head { padding: 22px 64px 0 24px; }
.m-title { font-size: 22px; }
.m-item { display: flex; align-items: center; gap: 14px; margin-top: 14px; padding: 12px 14px; border-radius: var(--r-md); background: var(--ink-2); border: 1px solid var(--line-soft); }
.m-item img { width: 76px; height: 40px; object-fit: contain; }
.m-item-name { font-weight: 650; font-size: 15px; line-height: 1.3; }
.m-item-sub { color: var(--muted); font-size: 13.5px; }
.m-item .price { margin-left: auto; font-size: 18px; }
.stepper { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 20px 0 0; padding: 0; list-style: none; }
.stepper li { font-size: 12.5px; color: var(--dim); font-weight: 600; }
.stepper li::before { content: ''; display: block; height: 4px; border-radius: 4px; background: var(--ink-3); margin-bottom: 8px; transition: background .25s; }
.stepper li.done::before { background: var(--gold); }
.stepper li.now { color: var(--text); }
.stepper li.now::before { background: linear-gradient(90deg, var(--gold), var(--gold-hi)); }
.m-banner { margin: 18px 24px 0; padding: 14px 16px; border-radius: var(--r-md); background: rgba(216, 178, 106, .1); border: 1px solid rgba(216, 178, 106, .35); }
.m-banner strong { display: block; color: var(--gold-hi); font-size: 15.5px; }
.m-banner span { color: var(--muted); font-size: 14px; }
.m-body { padding: 20px 24px 6px; }
.m-foot { display: flex; justify-content: space-between; gap: 10px; padding: 16px 24px 24px; position: sticky; bottom: 0; background: var(--ink-1); border-top: 1px solid var(--line-soft); z-index: 1; }
.m-foot .btn { flex: 1; }
.m-foot .btn-ghost { flex: 0 0 auto; }

.field { display: block; margin-bottom: 16px; }
.field > span { display: block; font-weight: 600; font-size: 14.5px; margin-bottom: 7px; }
.field .hint { display: block; color: var(--dim); font-size: 13px; margin-top: 6px; font-weight: 400; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 12px 14px; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--ink-0); color: var(--text); font-size: 16px; }
.field textarea { min-height: 96px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #5e7491; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(216, 178, 106, .18); }
.field input[aria-invalid='true'] { border-color: var(--err); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; color: var(--muted); cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--gold); flex: none; }
.form-error { color: var(--err); font-size: 14px; margin: 10px 0 0; min-height: 1px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.form-grid .full { grid-column: 1 / -1; }
.hp { position: absolute; left: -10000px; }

/* discount code */
.coupon-toggle { margin: 4px 0 0; font-size: 14.5px; }
.coupon-row { display: flex; gap: 8px; margin-top: 14px; }
.coupon-row .btn { min-height: 48px; }
.coupon-ok { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 14px; padding: 10px 12px; border-radius: var(--r-sm); border: 1px solid rgba(79, 209, 165, .4); background: rgba(79, 209, 165, .08); font-size: 14px; color: var(--text); }
.coupon-ok strong { color: var(--ok); }
.price s.was { color: var(--dim); font-size: .7em; font-weight: 500; margin-right: 8px; }
.m-item .price { text-align: right; white-space: nowrap; }
.m-item .price s.was { display: block; margin: 0; }

/* option cards (currency / network) */
.options { display: grid; gap: 10px; }
.option { display: flex; align-items: center; gap: 16px; width: 100%; text-align: left; padding: 16px 18px; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--ink-2); transition: border-color .15s, background-color .15s; position: relative; }
.option:hover:not(:disabled) { border-color: #36557f; background: #172b46; }
.option[aria-checked='true'] { border-color: var(--gold); background: #1a2c45; box-shadow: inset 0 0 0 1px var(--gold); }
.option:disabled { opacity: .5; cursor: not-allowed; }
.option .ico { width: 44px; height: 44px; flex: none; }
.option-text { flex: 1; min-width: 0; }
.option-name { display: block; font-weight: 700; font-size: 17px; }
.option-sub { display: block; color: var(--muted); font-size: 13.5px; }
.option-side { text-align: right; font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }
.option-side strong { display: block; color: var(--text); font-size: 15px; }
.option .tick { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line); flex: none; display: grid; place-items: center; }
.option[aria-checked='true'] .tick { border-color: var(--gold); background: var(--gold); }
.option[aria-checked='true'] .tick::after { content: ''; width: 6px; height: 10px; border: solid var(--gold-ink); border-width: 0 2px 2px 0; transform: translateY(-1px) rotate(45deg); }
.tag-soon { font-size: 12px; padding: 2px 8px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); }
.callout { margin-top: 16px; padding: 12px 14px; border-radius: var(--r-sm); background: rgba(242, 180, 90, .08); border: 1px solid rgba(242, 180, 90, .3); color: #f3d3a4; font-size: 14px; }

/* payment screen */
.pay-status { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: var(--r-md); background: var(--ink-2); border: 1px solid var(--line); }
.waiting { display: flex; align-items: center; gap: 10px; font-weight: 650; }
.pulse { width: 10px; height: 10px; border-radius: 50%; background: var(--warn); box-shadow: 0 0 0 0 rgba(242, 180, 90, .6); animation: pulse 1.6s infinite; }
.pulse.ok { background: var(--ok); animation: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(242, 180, 90, 0); } 100% { box-shadow: 0 0 0 0 rgba(242, 180, 90, 0); } }
.timer { font-variant-numeric: tabular-nums; font-weight: 700; color: var(--gold-hi); }
.timer.low { color: var(--err); }
.amount-box { margin-top: 14px; padding: 18px; border-radius: var(--r-md); border: 1px solid rgba(79, 209, 165, .35); background: rgba(79, 209, 165, .06); }
.amount-label { font-size: 13.5px; color: var(--muted); }
.amount-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 4px; }
.amount { user-select: all; -webkit-user-select: all; font-variation-settings: 'wdth' 106; font-weight: 750; font-size: clamp(22px, 5vw, 30px); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; letter-spacing: -0.01em; }
.amount-sub { font-size: 13.5px; color: var(--muted); margin-top: 6px; font-variant-numeric: tabular-nums; }
.pay-grid { display: grid; grid-template-columns: 172px 1fr; gap: 18px; margin-top: 16px; align-items: start; }
.qr { width: 172px; height: 172px; padding: 10px; border-radius: var(--r-md); background: #fff; display: grid; place-items: center; }
.qr svg, .qr img { width: 100%; height: 100%; }
.addr-label { font-size: 13.5px; color: var(--muted); display: flex; justify-content: space-between; gap: 8px; }
.addr { user-select: all; -webkit-user-select: all; margin-top: 6px; padding: 12px; border-radius: var(--r-sm); background: var(--ink-0); border: 1px solid var(--line); font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace; font-size: 13.5px; word-break: break-all; line-height: 1.5; }
.net-pill { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; padding: 6px 10px; border-radius: 999px; background: var(--ink-2); border: 1px solid var(--line); font-size: 13.5px; font-weight: 600; }
.net-pill svg { width: 18px; height: 18px; }
.copy { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); background: var(--ink-3); border-radius: 7px; padding: 6px 11px; font-size: 13.5px; font-weight: 600; white-space: nowrap; }
.copy:hover { border-color: var(--gold); }
.copy svg { width: 14px; height: 14px; }
.copy.done { border-color: var(--ok); color: var(--ok); }
.ref-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line-soft); font-size: 14px; color: var(--muted); }
.ref-row strong { color: var(--text); font-variant-numeric: tabular-nums; }
.instructions { margin: 14px 0 0; padding-left: 20px; color: var(--muted); font-size: 14px; }
.instructions li + li { margin-top: 6px; }
.instructions strong { color: var(--text); }
.reported { margin-top: 16px; padding: 14px; border-radius: var(--r-md); background: var(--ink-2); border: 1px solid var(--line); }
.spinner { width: 18px; height: 18px; border: 2px solid var(--line); border-top-color: var(--gold); border-radius: 50%; animation: spin .8s linear infinite; display: inline-block; vertical-align: -3px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* waiting loader (payment step) */
.wait-bar { flex: 1; display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: var(--r-md); background: var(--ink-2); border: 1px solid var(--line); }
.wait-bar strong { display: block; font-size: 16px; }
.wait-bar small { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; }
.wait-spin { width: 28px; height: 28px; flex: none; border-radius: 50%; border: 3px solid var(--ink-3); border-top-color: var(--gold); border-right-color: var(--gold); animation: spin .9s linear infinite; }
@media (prefers-reduced-motion: reduce) { .wait-spin { animation: spin 2.4s linear infinite !important; animation-iteration-count: infinite !important; animation-duration: 2.4s !important; } }

/* order timeline */
.timeline { list-style: none; margin: 8px 0 0; padding: 0; }
.timeline li { position: relative; padding: 0 0 20px 34px; color: var(--dim); }
.timeline li::before { content: ''; position: absolute; left: 0; top: 2px; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line); background: var(--ink-1); }
.timeline li::after { content: ''; position: absolute; left: 9px; top: 22px; bottom: 2px; width: 2px; background: var(--line); }
.timeline li:last-child::after { display: none; }
.timeline li.done { color: var(--text); }
.timeline li.done::before { background: var(--gold); border-color: var(--gold); }
.timeline li.now { color: var(--text); }
.timeline li.now::before { border-color: var(--warn); }
.timeline small { display: block; color: var(--muted); font-size: 13.5px; }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; z-index: 200; background: var(--text); color: var(--ink-0); padding: 12px 18px; border-radius: 10px; font-weight: 650; font-size: 14.5px; transition: opacity .2s, transform .2s; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

.preview-bar { position: sticky; top: 0; z-index: 60; background: #3a2a07; color: #ffe4a8; font-size: 13.5px; text-align: center; padding: 7px 12px; }

/* ---------- admin ---------- */
.adm-order { border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; margin-bottom: 12px; background: var(--ink-1); }
.adm-row { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.adm-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px 18px; margin-top: 12px; font-size: 14.5px; }
.adm-grid small { display: block; color: var(--dim); font-size: 12.5px; }
.adm-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.adm-table td, .adm-table th { padding: 10px 12px; border-bottom: 1px solid var(--line-soft); text-align: left; vertical-align: top; }
.adm-table th { color: var(--dim); font-weight: 600; }

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .hero .wrap { grid-template-columns: 1fr; min-height: 0; padding-block: 48px 56px; gap: 44px; }
  .specimen { max-width: 640px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 48px; }
  .explain .wrap, .faq-layout, .pdp, .pdp-more { grid-template-columns: 1fr; gap: 40px; }
  .guide-grid { grid-template-columns: 1fr; gap: 28px; }
  .pdp-gallery, .help-card { position: relative; top: auto; }
}
@media (max-width: 760px) {
  .wrap { width: calc(100% - 36px); }
  .nav-toggle { display: block; }
  .site-header .header-sell { display: none; }
  .nav { display: none; position: absolute; top: 74px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 18px 18px; background: var(--ink-1); border-bottom: 1px solid var(--line); }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line-soft); font-size: 17px; }
  .nav .btn { margin-top: 14px; }
  .site-header.open .nav { display: flex; }
  .site-header.open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .site-header.open .nav-toggle span:nth-child(2) { opacity: 0; }
  .site-header.open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .section { padding-block: 72px; }
  .grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .terms-list div { grid-template-columns: 1fr; gap: 6px; }
  .sell-box { flex-direction: column; align-items: flex-start; padding: 30px 24px; }
  .hero-sub { font-size: 17px; }
  .specimen { aspect-ratio: 1 / 1.02; }
  .specimen .weapon { top: 22%; }
  .plate-seed { font-size: 44px; }
  .footer-links { grid-template-columns: 1fr 1fr; gap: 10px 28px; }
  .pdp-actions { grid-template-columns: 1fr; }
  .modal { padding: 0; place-items: end stretch; }
  .modal-panel, .modal-panel.wide { width: 100%; max-height: 94dvh; border-radius: 18px 18px 0 0; border-bottom: 0; }
  .m-head { padding: 18px 60px 0 18px; }
  .m-banner { margin: 16px 18px 0; }
  .m-body { padding: 18px 18px 4px; }
  .m-foot { padding: 14px 18px 20px; position: sticky; bottom: 0; background: var(--ink-1); border-top: 1px solid var(--line-soft); }
  .pay-grid { grid-template-columns: 1fr; }
  .qr { margin-inline: auto; }
  .form-grid { grid-template-columns: 1fr; }
  .stepper li { font-size: 11.5px; }
  .m-item { gap: 10px; padding: 10px 12px; }
  .m-item img { width: 52px; }
  .m-item-name { font-size: 14px; }
  .m-item .price { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
