/* =========================================================
   DustFall 3x — Store theme
   Warm wasteland palette. Change --accent to rebrand.
   ========================================================= */

:root {
  --bg: #0c0b09;
  --bg-2: #12110e;
  --surface: #181612;
  --surface-2: #211e18;
  --surface-3: #2a261f;
  --line: rgba(236, 226, 208, 0.09);
  --line-strong: rgba(236, 226, 208, 0.18);

  --text: #ede5d6;
  --muted: #a69d8c;
  --faint: #6f685c;

  --accent: #f26a21;
  --accent-hi: #ff8a45;
  --accent-ink: #160a03;
  --accent-soft: rgba(242, 106, 33, 0.12);
  --success: #7fbf5a;

  --kit-diving: #3fa7e0;
  --kit-farmer: #8cc04a;
  --kit-builder: #e2b23a;
  --kit-roaming: #e2523a;

  --font-display: "Bebas Neue", "Oswald", "Arial Narrow", sans-serif;
  --font-body: "General Sans", "Segoe UI", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", monospace;

  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: clamp(1.125rem, 1rem + 0.4vw, 1.3rem);
  --text-xl: clamp(1.75rem, 1.4rem + 1.2vw, 2.4rem);
  --text-2xl: clamp(2.6rem, 1.8rem + 3vw, 4.2rem);
  --text-hero: clamp(3.6rem, 2rem + 7vw, 8rem);

  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;

  --wrap: 1200px;
  --gutter: clamp(1rem, 0.5rem + 2.5vw, 2.5rem);
  --header-h: 68px;

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  background: var(--bg);
}

body {
  min-height: 100dvh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* film grain */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: 0.05;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3, h4 { line-height: 1.05; font-weight: 600; text-wrap: balance; }
p { text-wrap: pretty; }
strong { color: var(--text); font-weight: 600; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--accent); color: var(--accent-ink); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 200;
  background: var(--accent); color: var(--accent-ink);
  padding: 0.6rem 1rem; border-radius: var(--r-sm); font-weight: 600;
}
.skip-link:focus { top: 1rem; }

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

/* ---------- Type helpers ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before {
  content: "";
  width: 18px; height: 2px;
  background: currentColor;
}

.display {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 0.92;
  text-transform: uppercase;
}

.section { padding-block: clamp(3.5rem, 2rem + 6vw, 7rem); }
.section--tight { padding-block: clamp(2.5rem, 1.5rem + 4vw, 4.5rem); }
.section--alt { background: var(--bg-2); border-block: 1px solid var(--line); }

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 1.25rem 2rem;
  margin-bottom: clamp(1.75rem, 1rem + 2vw, 2.75rem);
}
.section-head h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--text-2xl);
  line-height: 0.95;
  text-transform: uppercase;
  margin-top: 0.6rem;
}
.section-head p {
  max-width: 46ch;
  color: var(--muted);
}

/* ---------- Buttons ---------- */

.btn {
  --btn-bg: var(--accent);
  --btn-fg: var(--accent-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 46px;
  padding: 0.7rem 1.35rem;
  border-radius: var(--r-sm);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 600;
  font-size: var(--text-sm);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: background 0.18s var(--ease), transform 0.18s var(--ease), border-color 0.18s;
  white-space: nowrap;
}
.btn:hover { background: var(--accent-hi); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }
.btn svg { width: 18px; height: 18px; flex: none; }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--text);
  border-color: var(--line-strong);
}
.btn--ghost:hover { background: rgba(236, 226, 208, 0.06); border-color: var(--text); }

.btn--block { width: 100%; }
.btn--lg { min-height: 54px; padding-inline: 1.8rem; font-size: var(--text-base); }

.discord-btn { --btn-bg: #5865f2; --btn-fg: #fff; }
.discord-btn:hover { background: #6c78f5; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(12, 11, 9, 0.82);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.brand { display: flex; align-items: center; gap: 0.75rem; flex: none; }
.brand img { width: 92px; }

.nav { display: flex; gap: 0.25rem; margin-left: auto; }
.nav a {
  position: relative;
  padding: 0.5rem 0.85rem;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--muted);
  border-radius: var(--r-sm);
  transition: color 0.15s;
}
.nav a:hover { color: var(--text); }
.nav a[aria-current="page"] { color: var(--text); }
.nav a[aria-current="page"]::after {
  content: "";
  position: absolute; left: 0.85rem; right: 0.85rem; bottom: -2px;
  height: 2px; background: var(--accent);
}

.cart-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  height: 42px;
  padding: 0 0.95rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  font-size: var(--text-sm);
  font-weight: 600;
  transition: border-color 0.15s, background 0.15s;
}
.cart-btn:hover { border-color: var(--text); background: rgba(236, 226, 208, 0.05); }
.cart-btn svg { width: 19px; height: 19px; }
.cart-count {
  min-width: 22px; height: 22px;
  padding: 0 6px;
  display: inline-grid; place-items: center;
  border-radius: 99px;
  background: var(--accent);
  color: var(--accent-ink);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
}
.cart-count[hidden] { display: none; }
.cart-btn.bump .cart-count { animation: bump 0.4s var(--ease); }
@keyframes bump { 40% { transform: scale(1.35); } }

.menu-btn { display: none; width: 42px; height: 42px; border: 1px solid var(--line-strong); border-radius: var(--r-sm); place-items: center; }
.menu-btn svg { width: 20px; height: 20px; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  isolation: isolate;
  min-height: min(88vh, 820px);
  display: flex;
  align-items: flex-end;
  padding-block: clamp(5rem, 10vw, 9rem) clamp(2rem, 4vw, 3.5rem);
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0; z-index: -2;
  background: url("../img/hero.webp") center 40% / cover no-repeat;
  filter: saturate(1.1) contrast(1.05);
  transform: scale(1.04);
}
.hero::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse 70% 60% at 60% 35%, rgba(242, 106, 33, 0.16), transparent 60%),
    linear-gradient(180deg, rgba(12, 11, 9, 0.35) 0%, rgba(12, 11, 9, 0.15) 35%, rgba(12, 11, 9, 0.85) 78%, var(--bg) 100%),
    linear-gradient(90deg, rgba(12, 11, 9, 0.85) 0%, rgba(12, 11, 9, 0.2) 60%);
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--text-hero);
  line-height: 0.86;
  text-transform: uppercase;
  margin: 1rem 0 1.25rem;
  max-width: 10ch;
}
.hero h1 span { color: var(--accent); }
.hero__lede {
  max-width: 52ch;
  font-size: var(--text-lg);
  color: #d4cab8;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }

.page-hero {
  position: relative;
  isolation: isolate;
  padding-block: clamp(4rem, 8vw, 6.5rem) clamp(2.5rem, 5vw, 3.5rem);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(12, 11, 9, 0.55), var(--bg) 92%),
    url("../img/hero.webp") center 45% / cover no-repeat;
  opacity: 0.9;
}
.page-hero h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--text-2xl);
  line-height: 0.92;
  text-transform: uppercase;
  margin: 0.9rem 0 0.9rem;
}
.page-hero p { max-width: 58ch; color: #cfc5b3; font-size: var(--text-lg); }

/* ---------- Server strip ---------- */

.server-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(2.5rem, 5vw, 4rem);
  gap: 1px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-md);
  background: var(--line-strong);
  overflow: hidden;
}
.stat {
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
  background: rgba(16, 15, 12, 0.94);
}
.stat__label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
}
.stat__value {
  display: flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 1.85rem;
  line-height: 1;
  letter-spacing: 0.02em;
}
.copy-btn {
  display: inline-grid; place-items: center;
  width: 30px; height: 30px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line-strong);
  color: var(--muted);
  transition: color 0.15s, border-color 0.15s;
}
.copy-btn:hover { color: var(--accent); border-color: var(--accent); }
.copy-btn svg { width: 15px; height: 15px; }

/* ---------- Billing toggle ---------- */

.billing {
  display: inline-flex;
  padding: 4px;
  border: 1px solid var(--line-strong);
  border-radius: 99px;
  background: var(--surface);
}
.billing button {
  position: relative;
  padding: 0.5rem 1.15rem;
  border-radius: 99px;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--muted);
  transition: color 0.15s, background 0.2s var(--ease);
}
.billing button[aria-pressed="true"] { background: var(--text); color: var(--bg); }
.billing button:not([aria-pressed="true"]):hover { color: var(--text); }

/* ---------- Tier cards ---------- */

.tiers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.75rem);
}

.tier {
  --tier: var(--accent);
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, var(--surface-2), var(--surface) 40%);
  overflow: hidden;
}
.tier--warlord { --tier: #e2523a; border-color: rgba(226, 82, 58, 0.35); }
.tier--survivor { --tier: #f2a33a; }

.tier__top {
  padding: clamp(1.25rem, 2.5vw, 2rem);
  display: grid;
  gap: 1.1rem;
}
.tier__name-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.tier__name {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--text-xl);
  letter-spacing: 0.02em;
  line-height: 1;
}
.tier__name span { color: var(--tier); }
.tag {
  display: inline-flex; align-items: center;
  padding: 0.25rem 0.6rem;
  border-radius: 99px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid currentColor;
  color: var(--tier, var(--accent));
  white-space: nowrap;
}

.price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.15rem 0.5rem;
}
.price__amount {
  font-family: var(--font-display);
  font-size: clamp(3rem, 2.4rem + 2vw, 4rem);
  line-height: 0.9;
  font-variant-numeric: tabular-nums;
}
.price__per { color: var(--muted); font-size: var(--text-sm); }
.price__note {
  flex-basis: 100%;
  font-size: var(--text-sm);
  color: var(--success);
  min-height: 1.4em;
}

.perks { display: grid; gap: 0.55rem; }
.perks li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 0.7rem;
  align-items: start;
  font-size: var(--text-sm);
  color: #d6ccba;
}
.perks svg { width: 18px; height: 18px; color: var(--tier, var(--accent)); margin-top: 2px; }

.tier__actions { display: grid; gap: 0.6rem; }

.loadouts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  margin-top: auto;
}
.loadout {
  position: relative;
  display: block;
  background: #0a0a0a;
  overflow: hidden;
  aspect-ratio: 3 / 4;
}
.loadout img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.5s var(--ease), opacity 0.3s;
  opacity: 0.92;
}
.loadout:hover img { transform: scale(1.03); opacity: 1; }
.loadout__label {
  position: absolute; left: 0.6rem; bottom: 0.6rem;
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.35rem 0.6rem;
  border-radius: var(--r-sm);
  background: rgba(12, 11, 9, 0.82);
  backdrop-filter: blur(6px);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.loadout__label svg { width: 14px; height: 14px; }

/* ---------- Kit cards ---------- */

.kits {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.85rem, 1.5vw, 1.25rem);
}
.kits--large { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.75rem); }

.kit {
  --kit: var(--accent);
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  overflow: hidden;
  transition: border-color 0.2s, transform 0.25s var(--ease);
}
.kit:hover { border-color: color-mix(in srgb, var(--kit) 45%, transparent); }
.kit[data-kit="diving-kit"] { --kit: var(--kit-diving); }
.kit[data-kit="farmer-kit"] { --kit: var(--kit-farmer); }
.kit[data-kit="builder-kit"] { --kit: var(--kit-builder); }
.kit[data-kit="roaming-kit"] { --kit: var(--kit-roaming); }

.kit__media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  background: #0a0a0a;
  overflow: hidden;
  border-bottom: 2px solid var(--kit);
}
.kits--large .kit__media { aspect-ratio: 16 / 10; }
.kit__media img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top;
  transition: transform 0.5s var(--ease);
}
.kit__media:hover img { transform: scale(1.04); }
.kit__media .loadout__label { left: auto; right: 0.6rem; }

.kit__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding: 1.15rem 1.15rem 1.25rem;
}
.kits--large .kit__body { padding: 1.5rem; gap: 1.1rem; }
.kit__head { display: flex; align-items: start; justify-content: space-between; gap: 0.75rem; }
.kit__name {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.85rem;
  line-height: 1;
  letter-spacing: 0.02em;
}
.kits--large .kit__name { font-size: var(--text-xl); }
.kit .tag { color: var(--kit); }
.kit__desc { color: var(--muted); font-size: var(--text-sm); }

.emote {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.6rem 0.75rem;
  border-radius: var(--r-md);
  background: var(--surface-2);
  border: 1px solid var(--line);
}
.emote__icon {
  flex: none;
  display: grid; place-items: center;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--kit) 18%, transparent);
  color: var(--kit);
}
.emote__icon svg { width: 16px; height: 16px; }
.emote__text { min-width: 0; line-height: 1.25; }
.emote__label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
}
.emote__value { font-weight: 600; font-size: var(--text-sm); }

.kit__meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}
.meta {
  padding: 0.5rem 0.7rem;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  line-height: 1.3;
}
.meta span { display: block; font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); }
.meta strong { font-size: var(--text-sm); }

.kit__foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 0.25rem;
}
.kit__price { line-height: 1.1; }
.kit__price b {
  display: block;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 2.1rem;
  line-height: 0.95;
  font-variant-numeric: tabular-nums;
}
.kit__price small { color: var(--muted); font-size: var(--text-xs); }
.kit .btn { padding-inline: 1rem; }

/* ---------- Steps ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
  counter-reset: step;
}
.step {
  position: relative;
  padding: 1.6rem 1.5rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
}
.step__num {
  font-family: var(--font-display);
  font-size: 3.2rem;
  line-height: 0.8;
  color: var(--accent);
  opacity: 0.9;
}
.step h3 { font-size: var(--text-lg); margin: 1rem 0 0.5rem; }
.step p { color: var(--muted); font-size: var(--text-sm); }

/* ---------- FAQ ---------- */

.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: start;
}
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 0;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex: none;
  font-family: var(--font-mono);
  font-size: 1.25rem;
  color: var(--accent);
  transition: transform 0.2s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 1.25rem; color: var(--muted); max-width: 62ch; }

/* ---------- CTA band ---------- */

.cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 1.5rem 3rem;
  padding: clamp(1.75rem, 4vw, 3rem);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  background: var(--surface);
}
.cta::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse 50% 120% at 100% 50%, rgba(88, 101, 242, 0.22), transparent 70%),
    repeating-linear-gradient(-45deg, transparent 0 22px, rgba(236, 226, 208, 0.02) 22px 44px);
}
.cta h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--text-xl);
  text-transform: uppercase;
  letter-spacing: 0.01em;
}
.cta p { color: var(--muted); margin-top: 0.4rem; max-width: 56ch; }

/* ---------- Comparison table ---------- */

.compare-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
.compare { width: 100%; border-collapse: collapse; min-width: 520px; font-size: var(--text-sm); }
.compare th, .compare td { padding: 0.95rem 1.25rem; text-align: left; border-bottom: 1px solid var(--line); }
.compare tr:last-child td { border-bottom: 0; }
.compare thead th { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); font-weight: 500; }
.compare td:first-child { color: var(--muted); }
.compare td.num { font-variant-numeric: tabular-nums; font-weight: 600; }
.compare .yes { color: var(--success); }

/* ---------- Terms ---------- */

.terms {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: start;
}
.terms__aside {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  font-size: var(--text-sm);
  color: var(--muted);
}
.terms__aside strong { display: block; margin-bottom: 0.4rem; }
.terms ol { counter-reset: clause; display: grid; gap: 0; }
.terms li {
  counter-increment: clause;
  display: grid;
  grid-template-columns: 3.25rem 1fr;
  gap: 1rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--line);
}
.terms li:first-child { border-top: 1px solid var(--line); }
.terms li::before {
  content: counter(clause, decimal-leading-zero);
  font-family: var(--font-display);
  font-size: 1.9rem;
  line-height: 1;
  color: var(--accent);
}
.terms li h3 { font-size: var(--text-base); margin-bottom: 0.35rem; }
.terms li p { color: var(--muted); max-width: 68ch; }

/* ---------- Footer ---------- */

.site-footer {
  margin-top: clamp(3rem, 6vw, 5rem);
  border-top: 1px solid var(--line);
  background: var(--bg-2);
  padding-block: clamp(2.5rem, 5vw, 3.5rem) 1.75rem;
  font-size: var(--text-sm);
  color: var(--muted);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
}
.footer-top img { width: 110px; margin-bottom: 1rem; }
.footer-top h3 {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
  font-weight: 500;
  margin-bottom: 0.9rem;
}
.footer-top ul { display: grid; gap: 0.5rem; }
.footer-top a:hover { color: var(--text); }
.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: var(--text-xs);
  color: var(--faint);
}
.footer-bottom p:first-child { max-width: 70ch; }

/* ---------- Cart drawer ---------- */

.drawer-overlay {
  position: fixed; inset: 0; z-index: 80;
  background: rgba(5, 5, 4, 0.6);
  backdrop-filter: blur(3px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s var(--ease), visibility 0.25s;
}
.drawer-overlay.is-open { opacity: 1; visibility: visible; }

.drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  z-index: 90;
  width: min(440px, 100vw);
  display: flex;
  flex-direction: column;
  background: var(--bg-2);
  border-left: 1px solid var(--line-strong);
  transform: translateX(100%);
  transition: transform 0.32s var(--ease);
  visibility: hidden;
}
.drawer.is-open { transform: none; visibility: visible; }
body.no-scroll { overflow: hidden; }

.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.15rem 1.35rem;
  border-bottom: 1px solid var(--line);
}
.drawer__head h2 { font-family: var(--font-display); font-weight: 400; font-size: 1.9rem; letter-spacing: 0.02em; line-height: 1; }
.icon-btn {
  display: grid; place-items: center;
  width: 38px; height: 38px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line-strong);
  color: var(--muted);
}
.icon-btn:hover { color: var(--text); border-color: var(--text); }
.icon-btn svg { width: 18px; height: 18px; }

.drawer__body { flex: 1; overflow-y: auto; padding: 1rem 1.35rem; }
.drawer__foot { padding: 1.15rem 1.35rem 1.35rem; border-top: 1px solid var(--line); display: grid; gap: 0.75rem; background: var(--surface); }

.line-item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 0.9rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--line);
}
.line-item img {
  width: 64px; height: 80px;
  object-fit: cover; object-position: top;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  background: #0a0a0a;
}
.line-item__top { display: flex; justify-content: space-between; gap: 0.5rem; }
.line-item__name { font-weight: 600; line-height: 1.3; }
.line-item__billing { font-size: var(--text-xs); color: var(--muted); }
.line-item__billing.is-sub { color: var(--accent); }
.line-item__remove { color: var(--faint); font-size: var(--text-xs); text-decoration: underline; text-underline-offset: 3px; align-self: start; }
.line-item__remove:hover { color: var(--text); }
.line-item__bottom { display: flex; align-items: center; justify-content: space-between; margin-top: 0.6rem; }
.line-item__price { font-weight: 600; font-variant-numeric: tabular-nums; }

.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: var(--r-sm); }
.qty button { width: 32px; height: 32px; display: grid; place-items: center; color: var(--muted); }
.qty button:hover { color: var(--text); }
.qty span { min-width: 28px; text-align: center; font-variant-numeric: tabular-nums; font-size: var(--text-sm); }
.renews { font-size: var(--text-xs); color: var(--faint); }

.summary-row { display: flex; justify-content: space-between; font-size: var(--text-sm); color: var(--muted); }
.summary-row--total { font-size: var(--text-lg); color: var(--text); font-weight: 600; }
.summary-row--total span:last-child { font-variant-numeric: tabular-nums; }
.drawer__fine { font-size: var(--text-xs); color: var(--faint); text-align: center; }
.drawer__fine a { text-decoration: underline; text-underline-offset: 2px; }
.drawer__clear { justify-self: center; font-size: var(--text-xs); color: var(--faint); text-decoration: underline; text-underline-offset: 3px; }
.drawer__clear:hover { color: var(--text); }
.drawer__clear[hidden] { display: none; }

.empty {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 0.6rem;
  padding: 3rem 1rem;
  color: var(--muted);
}
.empty svg { width: 44px; height: 44px; color: var(--faint); margin-bottom: 0.4rem; }
.empty h3 { color: var(--text); font-size: var(--text-lg); }
.empty .btn { margin-top: 0.8rem; }

/* ---------- Lightbox ---------- */

.lightbox {
  position: fixed; inset: 0; z-index: 95;
  display: grid;
  place-items: center;
  padding: clamp(0.75rem, 3vw, 2rem);
  background: rgba(5, 5, 4, 0.92);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox figure { display: grid; gap: 0.75rem; justify-items: center; max-height: 100%; }
.lightbox img {
  max-height: calc(100dvh - 8rem);
  width: auto;
  border-radius: var(--r-md);
  border: 1px solid var(--line-strong);
}
.lightbox figcaption { font-size: var(--text-sm); color: var(--muted); }
.lightbox .icon-btn { position: absolute; top: 1rem; right: 1rem; background: var(--bg-2); }

/* ---------- Toast ---------- */

.toast {
  position: fixed;
  left: 50%;
  bottom: 1.5rem;
  z-index: 120;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  max-width: calc(100vw - 2rem);
  padding: 0.75rem 1.1rem;
  border-radius: var(--r-md);
  background: var(--text);
  color: var(--bg);
  font-size: var(--text-sm);
  font-weight: 600;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
  transform: translate(-50%, 140%);
  transition: transform 0.3s var(--ease);
}
.toast.is-visible { transform: translate(-50%, 0); }
.toast svg { width: 18px; height: 18px; color: #3d8a1f; flex: none; }
.toast.is-error svg { color: #c0381c; }

/* ---------- Notice / skeleton ---------- */

.notice {
  display: flex;
  gap: 0.6rem;
  align-items: center;
  margin-bottom: 1.25rem;
  padding: 0.7rem 1rem;
  border: 1px dashed var(--line-strong);
  border-radius: var(--r-md);
  font-size: var(--text-sm);
  color: var(--muted);
}
.notice[hidden] { display: none; }

.skeleton {
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: linear-gradient(100deg, var(--surface) 30%, var(--surface-2) 50%, var(--surface) 70%) 0 0 / 300% 100%;
  animation: shimmer 1.4s linear infinite;
  min-height: 420px;
}
.kits .skeleton { min-height: 440px; }
@keyframes shimmer { to { background-position: -100% 0; } }

.error-box {
  grid-column: 1 / -1;
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  text-align: center;
  color: var(--muted);
}
.error-box h3 { color: var(--text); margin-bottom: 0.4rem; }
.error-box .btn { margin-top: 1rem; }


/* ---------- Store tabs ---------- */

.store-tabs {
  position: sticky;
  top: var(--header-h);
  z-index: 40;
  background: rgba(12, 11, 9, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.tabs { display: flex; gap: 0.25rem; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab {
  position: relative;
  flex: none;
  padding: 1.05rem 1.1rem;
  font-family: var(--font-display);
  font-size: 1.45rem;
  letter-spacing: 0.03em;
  line-height: 1;
  text-transform: uppercase;
  color: var(--faint);
  transition: color 0.15s;
}
.tab:hover { color: var(--text); }
.tab[aria-selected="true"] { color: var(--text); }
.tab[aria-selected="true"]::after {
  content: "";
  position: absolute; left: 1.1rem; right: 1.1rem; bottom: -1px;
  height: 3px; background: var(--accent);
}
.tab-panel[hidden] { display: none; }
.page-hero--store { padding-bottom: clamp(2rem, 4vw, 3rem); }

/* ---------- Teasers ---------- */

.teasers { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem, 2vw, 1.5rem); }
.teaser {
  position: relative;
  display: grid;
  grid-template-columns: 38% 1fr;
  min-height: 260px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  overflow: hidden;
  transition: border-color 0.2s, transform 0.25s var(--ease);
}
.teaser:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.teaser img { width: 100%; height: 100%; object-fit: cover; object-position: left top; border-right: 1px solid var(--line); }
.teaser__body { padding: clamp(1.25rem, 2.5vw, 1.75rem); display: flex; flex-direction: column; gap: 0.6rem; }
.teaser h2 { font-family: var(--font-display); font-weight: 400; font-size: var(--text-xl); text-transform: uppercase; line-height: 0.95; letter-spacing: 0.01em; }
.teaser p { color: var(--muted); font-size: var(--text-sm); }
.teaser__price {
  margin-top: auto;
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-weight: 600;
  color: var(--accent);
}
.teaser__price::after { content: "→"; transition: transform 0.2s var(--ease); }
.teaser:hover .teaser__price::after { transform: translateX(4px); }

/* ---------- Live data ---------- */

.server-strip--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.stat__value small { font-size: 0.55em; color: var(--muted); margin-left: 0.25rem; }
.live-dot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--faint);
  margin-right: 0.45rem;
  vertical-align: 1px;
}
.live-dot.is-on { background: var(--success); box-shadow: 0 0 0 0 rgba(127, 191, 90, 0.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 7px rgba(127, 191, 90, 0); } 100% { box-shadow: 0 0 0 0 rgba(127, 191, 90, 0); } }
.live-inline { margin-top: 0.75rem !important; font-size: var(--text-sm); color: var(--text) !important; }
.live-inline[hidden] { display: none; }

.live-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(1.5rem, 3vw, 2.5rem); align-items: start; }
.live-grid .section-head h2 { font-size: var(--text-xl); }
.panel {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  overflow: hidden;
}
.panel__foot { padding: 0.75rem 1.25rem; font-size: var(--text-xs); color: var(--faint); border-top: 1px solid var(--line); }

.placeholder {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 0.5rem;
  padding: clamp(2.25rem, 5vw, 3.5rem) 1.5rem;
  color: var(--muted);
  font-size: var(--text-sm);
  background: repeating-linear-gradient(-45deg, transparent 0 18px, rgba(236, 226, 208, 0.015) 18px 36px);
}
.placeholder__icon {
  display: grid; place-items: center;
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 1px dashed var(--line-strong);
  color: var(--accent);
  margin-bottom: 0.4rem;
}
.placeholder__icon svg { width: 24px; height: 24px; }
.placeholder h3 { color: var(--text); font-size: var(--text-lg); }
.placeholder p { max-width: 40ch; }

.seg { display: inline-flex; padding: 3px; border: 1px solid var(--line-strong); border-radius: 99px; }
.seg[hidden] { display: none; }
.seg button { padding: 0.4rem 0.9rem; border-radius: 99px; font-size: var(--text-sm); font-weight: 600; color: var(--muted); }
.seg button[aria-selected="true"] { background: var(--text); color: var(--bg); }

.board__row {
  display: grid;
  grid-template-columns: 2.5rem 1fr auto;
  align-items: center;
  gap: 0.75rem;
  padding: 0.8rem 1.25rem;
  border-bottom: 1px solid var(--line);
}
.board__row:last-child { border-bottom: 0; }
.board__rank { font-family: var(--font-display); font-size: 1.5rem; line-height: 1; color: var(--faint); }
.board__row.is-top .board__rank { color: var(--accent); }
.board__name { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.board__value { font-variant-numeric: tabular-nums; font-weight: 600; }

.events { display: grid; }
.event { display: grid; grid-template-columns: 56px 1fr; gap: 1rem; padding: 1rem 1.25rem; border-bottom: 1px solid var(--line); }
.event:last-child { border-bottom: 0; }
.event__date { display: grid; justify-items: center; align-content: center; height: 60px; border-radius: var(--r-md); background: var(--surface-2); border: 1px solid var(--line); }
.event__date span { font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.event__date b { font-family: var(--font-display); font-weight: 400; font-size: 1.8rem; line-height: 1; }
.event h3 { font-size: var(--text-base); display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; }
.event__time { font-size: var(--text-xs); color: var(--faint); margin: 0.15rem 0 0.35rem; }
.event p { font-size: var(--text-sm); color: var(--muted); }

@media (max-width: 900px) {
  .teasers, .live-grid { grid-template-columns: 1fr; }
  .server-strip--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .server-strip--5 .stat:first-child { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .teaser { grid-template-columns: 34% 1fr; min-height: 220px; }
  .tab { font-size: 1.25rem; padding: 0.95rem 0.8rem; }
  .tab[aria-selected="true"]::after { left: 0.8rem; right: 0.8rem; }
}

/* ---------- Reveal ---------- */

.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
  .kits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .tiers, .kits--large { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  .terms { grid-template-columns: 1fr; }
  .terms__aside { position: static; }
  .server-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-top > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .menu-btn { display: grid; }
  .nav {
    position: absolute;
    top: var(--header-h);
    left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    padding: 0.5rem var(--gutter) 1rem;
    background: var(--bg);
    box-shadow: 0 20px 40px rgba(0,0,0,.5);
    border-bottom: 1px solid var(--line);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, transform 0.2s var(--ease), visibility 0.2s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav a { padding: 0.85rem 0; font-size: var(--text-base); border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav a[aria-current="page"]::after { display: none; }
  .nav a[aria-current="page"] { color: var(--accent); }
  .site-header .wrap { gap: 0.6rem; }
  .brand { margin-right: auto; }
  .cta { grid-template-columns: 1fr; }
  .cta .btn { justify-self: start; }
}

@media (max-width: 560px) {
  .kits { grid-template-columns: 1fr; }
  .cart-btn__label { display: none; }
  .hero { min-height: auto; padding-top: 4.5rem; }
  .hero__actions .btn { flex: 1 1 100%; }
  .stat { padding: 0.85rem 1rem; }
  .stat__value { font-size: 1.55rem; }
  .kit__meta { grid-template-columns: 1fr 1fr; }
  .terms li { grid-template-columns: 2.5rem 1fr; gap: 0.75rem; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

.tab-panel.section { padding-top: clamp(2rem, 1.5rem + 2vw, 3rem); }
