/* Mod Assistant — promotional site
   Dark theme, gold and crimson accents. Plain CSS, no build step.
   Every text colour below is checked against the darkest surface it sits on (WCAG AA). */

:root {
  --bg: #07090e;
  --bg-alt: #0a0e16;
  --surface: #0f141f;
  --surface-2: #151c2a;
  --border: rgba(255, 255, 255, 0.1);
  --border-strong: rgba(255, 255, 255, 0.18);

  --text: #e8ecf3;
  --text-muted: #aab4c5;   /* 9.4:1 on --bg */
  --text-dim: #8e99ad;     /* 6.6:1 on --bg, 6.1:1 on --surface */

  --gold: #ffd24a;
  --gold-deep: #f2a900;
  --gold-ink: #1b1403;
  --red: #d42a3d;
  --red-deep: #a8142a;
  --green: #3ddc84;
  --cyan: #4dd8f0;

  --r-arcana: #b6e36b;
  --r-immortal: #e8b53f;
  --r-legendary: #e05ce8;
  --r-mythical: #a07bff;
  --r-rare: #6f8cff;

  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Cinzel', Georgia, 'Times New Roman', serif;

  --radius: 14px;
  --header-h: 68px;
  --gutter: 24px;
}

*, *::before, *::after { box-sizing: border-box; }

* { margin: 0; padding: 0; }

html {
  color-scheme: dark;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--bg);
  background-image:
    radial-gradient(900px 520px at 12% -8%, rgba(212, 42, 61, 0.2), transparent 62%),
    radial-gradient(760px 520px at 100% 18%, rgba(255, 210, 74, 0.07), transparent 62%);
  background-repeat: no-repeat;
  min-height: 100vh;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }

a { color: var(--gold); text-underline-offset: 3px; }
a:hover { color: #ffe58f; }

ul, ol { list-style: none; }

strong { font-weight: 700; color: #fff; }

button, input { font: inherit; color: inherit; }

.icon { width: 1.15em; height: 1.15em; flex: none; }
.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* Focus: always visible for keyboard users, never removed */
:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 6px;
}
main:focus { outline: none; }

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 200;
  background: var(--gold);
  color: var(--gold-ink);
  font-weight: 700;
  padding: 10px 16px;
  border-radius: 8px;
  text-decoration: none;
}
.skip-link:focus { top: 12px; color: var(--gold-ink); }

.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.narrow { max-width: 860px; }
.center { text-align: center; justify-content: center; }

.gradient-text {
  background: linear-gradient(120deg, #ffd24a 0%, #ff8f3d 55%, #ff5b6b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 11px 22px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.97rem;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.18s ease, border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
.btn:hover { transform: translateY(-1px); }

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--red) 0%, var(--red-deep) 100%); /* white text: 5.0:1 at the lightest stop */
  box-shadow: 0 6px 22px rgba(212, 42, 61, 0.32);
}
.btn-primary:hover { color: #fff; background: linear-gradient(135deg, #c62136 0%, #95101f 100%); }

.btn-gold {
  color: var(--gold-ink);
  background: linear-gradient(135deg, #ffe07a 0%, var(--gold-deep) 100%);
  box-shadow: 0 6px 22px rgba(242, 169, 0, 0.25);
}
.btn-gold:hover { color: var(--gold-ink); background: linear-gradient(135deg, #ffe89a 0%, #ffb81a 100%); }

.btn-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--border-strong);
}
.btn-secondary:hover { color: #fff; background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.3); }

.btn-ghost {
  color: var(--text);
  background: transparent;
  border-color: var(--border-strong);
}
.btn-ghost:hover { color: #fff; border-color: var(--gold); }

.btn-sm { min-height: 40px; padding: 8px 16px; font-size: 0.9rem; }
.btn-lg { min-height: 52px; padding: 14px 26px; font-size: 1.02rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 9, 14, 0.94);
  border-bottom: 1px solid var(--border);
}
@supports (backdrop-filter: blur(1px)) {
  @media (min-width: 961px) {
    .site-header { background: rgba(7, 9, 14, 0.8); backdrop-filter: blur(14px); }
  }
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: var(--text);
  flex: none;
}
.brand:hover { color: var(--text); }
.brand-mark { width: 36px; height: 36px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.08rem;
  letter-spacing: 0.04em;
  color: #fff;
}
.brand-by {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
}
.nav-list { display: flex; gap: 22px; }
.nav-list a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.93rem;
  font-weight: 600;
  padding: 6px 0;
}
.nav-list a:hover { color: #fff; }
.nav-list a.nav-vip { color: var(--gold); }

.header-tools { display: flex; align-items: center; gap: 8px; }

.lang-toggle {
  min-width: 44px;
  min-height: 40px;
  padding: 0 10px;
  border-radius: 8px;
  border: 1px solid var(--border-strong);
  background: transparent;
  color: var(--text);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  cursor: pointer;
}
.lang-toggle:hover { border-color: var(--gold); color: #fff; }

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  border: 1px solid var(--border-strong);
  background: transparent;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.menu-bars,
.menu-bars::before,
.menu-bars::after {
  display: block;
  width: 20px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.menu-bars { position: relative; }
.menu-bars::before, .menu-bars::after { content: ''; position: absolute; left: 0; }
.menu-bars::before { top: -6px; }
.menu-bars::after { top: 6px; }
.menu-toggle[aria-expanded="true"] .menu-bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-bars::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-bars::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Sections ---------- */
.section {
  padding-block: 92px;
  scroll-margin-top: calc(var(--header-h) + 8px);
}
.section-alt { background: linear-gradient(180deg, rgba(15, 20, 31, 0.55), rgba(10, 14, 22, 0.55)); border-block: 1px solid rgba(255, 255, 255, 0.04); }

.section-head { max-width: 760px; margin: 0 auto 44px; text-align: center; }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.kicker-vip {
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 210, 74, 0.45);
  background: rgba(255, 210, 74, 0.08);
}

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.75rem, 3.6vw, 2.6rem);
  line-height: 1.2;
  color: #fff;
  margin-bottom: 14px;
  text-wrap: balance;
}

.section-lead {
  font-size: 1.08rem;
  color: var(--text-muted);
  max-width: 680px;
}
.section-head .section-lead { margin-inline: auto; }

.fine-print {
  font-size: 0.88rem;
  color: var(--text-dim);
  margin-top: 18px;
  max-width: 760px;
}
.fine-print.center { margin-inline: auto; }

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 56px;
  align-items: start;
}
.split-main .section-lead { margin-bottom: 22px; }
.split-main .cta-row { margin-top: 28px; }

.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}
.panel-title {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.panel-foot { margin-top: 18px; font-size: 0.86rem; color: var(--text-dim); }

.check-list { display: grid; gap: 12px; }
.check-list li {
  position: relative;
  padding-left: 32px;
  color: var(--text);
}
.check-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.18em;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(61, 220, 132, 0.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%233ddc84' d='M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.check-gold li::before {
  background-color: rgba(255, 210, 74, 0.14);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23ffd24a' d='M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E");
}

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.04);
}
.chips-lg li { font-size: 0.95rem; padding: 8px 14px; }

/* ---------- Hero ---------- */
.hero { padding-block: 72px 64px; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}
.eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold);
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 210, 74, 0.35);
  background: rgba(255, 210, 74, 0.07);
  margin-bottom: 20px;
}
.hero-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.05rem, 4vw, 3rem);
  line-height: 1.14;
  color: #fff;
  margin-bottom: 18px;
  text-wrap: balance;
}
.hero-lead {
  font-size: 1.14rem;
  color: var(--text-muted);
  max-width: 600px;
  margin-bottom: 30px;
}

.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 6px; }

.cta-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  margin-top: 16px;
  font-size: 0.9rem;
  color: var(--text-dim);
}
.cta-meta a { color: var(--text-muted); padding-block: 2px; }
.cta-meta a:hover { color: #fff; }
.release-info { color: var(--text-muted); }
.release-info::before { content: '·'; margin-right: 10px; color: var(--text-dim); }

.platform-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(77, 216, 240, 0.35);
  background: rgba(77, 216, 240, 0.07);
  font-size: 0.93rem;
  color: var(--text);
}
.platform-note[hidden] { display: none; }
.platform-note p { flex: 1 1 240px; }
.copy-status { font-size: 0.88rem; color: var(--green); }

.hero-shot {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 210, 74, 0.06);
}
.hero-shot img { width: 100%; aspect-ratio: 1360 / 860; object-fit: cover; }
.hero-shot figcaption {
  padding: 10px 14px;
  font-size: 0.83rem;
  color: var(--text-dim);
  border-top: 1px solid var(--border);
}

/* ---------- Stats strip ---------- */
.stats { padding-block: 8px 24px; }
.stats-list {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
}
.stats-list li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 18px 14px;
  text-align: center;
  border-right: 1px solid var(--border);
}
.stats-list li:last-child { border-right: 0; }
.stats-list strong {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--gold);
  line-height: 1.2;
}
.stats-list span { font-size: 0.84rem; color: var(--text-muted); }

/* ---------- Free cosmetics ---------- */
.big-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 36px;
}
.big-stats li {
  padding: 26px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  text-align: center;
}
.big-stats strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.6rem);
  color: var(--gold);
  line-height: 1.1;
}
.big-stats span { color: var(--text-muted); font-weight: 600; }

.list-title {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 14px;
  text-align: center;
}
#gratis .chips { justify-content: center; }

.note {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  max-width: 820px;
  margin: 40px auto 0;
  padding: 20px 22px;
  border-radius: var(--radius);
  border: 1px solid rgba(61, 220, 132, 0.3);
  background: rgba(61, 220, 132, 0.06);
}
.note-icon { width: 26px; height: 26px; color: var(--green); margin-top: 2px; }
.note-title { font-size: 1rem; color: #fff; margin-bottom: 4px; }
.note p { color: var(--text-muted); }

/* ---------- Arsenal VIP ---------- */
.arsenal {
  background:
    radial-gradient(700px 420px at 85% 20%, rgba(255, 210, 74, 0.1), transparent 65%),
    radial-gradient(600px 400px at 0% 100%, rgba(160, 123, 255, 0.08), transparent 65%);
}
.panel-vip { border-color: rgba(255, 210, 74, 0.3); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45); }

.rarity-list { display: grid; gap: 8px; }
.rarity-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px 12px 16px;
  border-radius: 10px;
  background: var(--surface-2);
  border-left: 4px solid currentColor;
}
.r-name { font-weight: 700; }
.r-count { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; }
.r-count.r-soft { font-family: var(--font); font-size: 0.85rem; font-weight: 600; color: var(--text-muted); }
.r-arcana { color: var(--r-arcana); }
.r-immortal { color: var(--r-immortal); }
.r-legendary { color: var(--r-legendary); }
.r-mythical { color: var(--r-mythical); }
.r-rare { color: var(--r-rare); }

.exclusive {
  margin-top: 20px;
  padding: 18px;
  border-radius: 12px;
  border: 1px dashed rgba(255, 210, 74, 0.45);
  background: rgba(255, 210, 74, 0.05);
}
.exclusive-title { font-size: 1rem; color: var(--gold); margin-bottom: 10px; }
.exclusive-list { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.exclusive-list li {
  font-weight: 700;
  font-size: 0.92rem;
  padding: 6px 12px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 210, 74, 0.35);
  color: #fff;
}
.exclusive-note { font-size: 0.88rem; color: var(--text-muted); }

.variants {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.v-chip {
  letter-spacing: 0;
  text-transform: none;
  font-size: 0.9rem;
  padding: 4px 12px;
  border-radius: 999px;
}
.v-golden { color: var(--gold-ink); background: linear-gradient(135deg, #ffe07a, #e0a200); }
.v-crimson { color: #fff; background: linear-gradient(135deg, #c8203a, #7d0b1c); }

/* ---------- Medal demo ---------- */
.demo {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 32px;
  padding: 28px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: rgba(15, 20, 31, 0.9);
}
.demo-controls { min-width: 0; }

.tabs {
  display: flex;
  gap: 4px;
  padding: 4px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border);
  margin-bottom: 22px;
}
.tab {
  flex: 1 1 0;
  min-height: 44px;
  padding: 8px 12px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--text-muted);
  font-weight: 600;
  cursor: pointer;
}
.tab[aria-selected="true"] { background: rgba(255, 255, 255, 0.1); color: #fff; }
.tab:hover { color: #fff; }

.tabpanel[hidden] { display: none; }

.field { border: 0; min-width: 0; margin-bottom: 20px; }
.field[hidden] { display: none; }
.label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 10px;
  padding: 0;
}
.label output { color: var(--gold); letter-spacing: 0; }
.hint { font-size: 0.86rem; color: var(--text-dim); margin-top: 8px; }

.medal-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}
.tier-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.chip-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 0;
  padding: 10px 4px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  cursor: pointer;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.2;
}
.chip-btn:hover { border-color: var(--border-strong); background: rgba(255, 255, 255, 0.07); }
.chip-btn[aria-pressed="true"] {
  border-color: var(--gold);
  background: rgba(255, 210, 74, 0.12);
  box-shadow: 0 0 0 1px var(--gold) inset;
}
.chip-btn img { width: 44px; height: 44px; object-fit: contain; }
.chip-sub { font-size: 0.72rem; font-weight: 600; color: var(--text-dim); }

.star-row { display: flex; gap: 8px; }
.star-btn {
  flex: 1 1 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 44px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-muted);
  font-weight: 700;
  cursor: pointer;
}
.star-btn .icon { width: 14px; height: 14px; color: var(--gold); }
.star-btn[aria-pressed="true"] { border-color: var(--gold); color: var(--gold); background: rgba(255, 210, 74, 0.12); }

.input {
  width: 140px;
  max-width: 100%;
  min-height: 44px;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid var(--border-strong);
  background: rgba(0, 0, 0, 0.4);
  color: var(--gold);
  font-weight: 700;
  font-size: 1.1rem;
  text-align: center;
}
.input:focus { border-color: var(--gold); }

.range { width: 100%; min-height: 32px; accent-color: var(--gold); cursor: pointer; }

.demo-preview { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.preview-card {
  padding: 22px;
  border-radius: 14px;
  border: 1px solid var(--border-strong);
  background: linear-gradient(180deg, #171e2c 0%, #0c1019 100%);
}
.preview-head { display: flex; align-items: center; gap: 14px; }
.preview-avatar {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  background: var(--surface-2);
  color: var(--text-muted);
  flex: none;
}
.preview-avatar svg { width: 30px; height: 30px; }
.preview-name { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: #fff; }
.preview-sub { font-size: 0.82rem; color: var(--gold); }

.medal-stage {
  position: relative;
  width: 170px;
  height: 170px;
  margin: 18px auto 0;
}
.medal-img { width: 160px; height: 160px; margin: 5px auto 0; object-fit: contain; filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.8)); }
.stars-img {
  position: absolute;
  left: 50%;
  bottom: 8px;
  width: 128px;
  transform: translateX(-50%);
  pointer-events: none;
}
.stars-img[hidden] { display: none; }
.plaque {
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.2rem;
  line-height: 1;
  color: #f4ebd8;
  text-shadow: 0 1px 2px #100c08, 0 2px 4px rgba(0, 0, 0, 0.95);
  pointer-events: none;
}
.plaque[hidden] { display: none; }
.preview-rank {
  text-align: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
  margin: 6px 0 18px;
}

.preview-badge {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.3);
}
.tier-wrap { position: relative; width: 52px; height: 52px; flex: none; }
.tier-img { width: 52px; height: 52px; object-fit: contain; }
.tier-num {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: #fff;
  text-shadow: 0 0 3px #000, 0 0 6px #000;
  pointer-events: none;
}
.tier-title { font-weight: 700; color: #fff; }
.tier-sub { font-size: 0.82rem; color: var(--text-dim); }

.preview-foot {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  font-size: 0.86rem;
  color: var(--text-muted);
}
.preview-foot .icon { color: var(--green); margin-top: 2px; }

/* ---------- Safety ---------- */
.risk {
  padding: 26px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 170, 60, 0.45);
  background: rgba(255, 170, 60, 0.07);
}
.risk-icon { width: 28px; height: 28px; color: #ffb454; margin-bottom: 10px; }
.risk-title { font-size: 1.15rem; color: #fff; margin-bottom: 10px; }
.risk p { color: var(--text-muted); }
.risk p + p { margin-top: 10px; }

/* ---------- Pricing ---------- */
.plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  max-width: 940px;
  margin: 0 auto;
}
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px 30px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: var(--surface);
}
.plan-vip {
  border-color: rgba(255, 210, 74, 0.5);
  background: linear-gradient(180deg, rgba(255, 210, 74, 0.07), rgba(15, 20, 31, 1) 45%);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}
.plan-tag {
  position: absolute;
  top: 18px;
  right: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--gold);
}
.plan-name { font-family: var(--font-display); font-size: 1.6rem; color: #fff; }
.plan-price { display: flex; align-items: baseline; gap: 8px; margin: 8px 0 22px; color: var(--text-muted); }
.plan-price strong { font-family: var(--font-display); font-size: 2.4rem; line-height: 1.1; color: #fff; }
.plan-list { display: grid; gap: 12px; margin-bottom: 26px; flex: 1; }
.plan-list li { display: flex; gap: 10px; align-items: flex-start; }
.plan-list .icon { color: var(--green); margin-top: 3px; }
.plan-vip .plan-list .icon { color: var(--gold); }
.plan-list li.is-off { color: var(--text-dim); }
.plan-list li.is-off .icon { color: var(--text-dim); }
.plan-note { margin-top: 12px; font-size: 0.86rem; color: var(--text-dim); text-align: center; }

/* ---------- Install steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  counter-reset: step;
}
.step {
  counter-increment: step;
  position: relative;
  padding: 26px 24px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
}
.step::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: rgba(255, 210, 74, 0.12);
  border: 1px solid rgba(255, 210, 74, 0.45);
  color: var(--gold);
  font-weight: 700;
}
.step-title { font-size: 1.1rem; color: #fff; margin-bottom: 6px; }
.step p { color: var(--text-muted); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; }
.faq-item {
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
}
.faq-item[open] { border-color: rgba(255, 210, 74, 0.35); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 44px;
  padding: 18px 20px;
  font-weight: 600;
  font-size: 1.02rem;
  color: #fff;
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  flex: none;
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 1;
  color: var(--gold);
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:focus-visible { outline-offset: -3px; border-radius: 12px; }
.faq-body { padding: 0 20px 20px; color: var(--text-muted); }

/* ---------- Download ---------- */
.download-box {
  padding: 56px 32px;
  border-radius: 22px;
  text-align: center;
  border: 1px solid rgba(255, 210, 74, 0.3);
  background:
    radial-gradient(600px 300px at 0% 0%, rgba(212, 42, 61, 0.2), transparent 70%),
    radial-gradient(600px 300px at 100% 100%, rgba(255, 210, 74, 0.1), transparent 70%),
    var(--surface);
}
.download-box .section-lead { margin: 0 auto 26px; }
.download-box .cta-row { justify-content: center; }
.download-box .cta-meta { justify-content: center; }
.download-box .platform-note { max-width: 640px; margin-inline: auto; text-align: left; }
.download-smartscreen { margin-top: 18px; font-size: 0.9rem; color: var(--text-dim); }

/* ---------- Legal ---------- */
.legal { padding-top: 0; }
.legal-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.legal-card {
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-alt);
  scroll-margin-top: calc(var(--header-h) + 8px);
}
.legal-card h3 { font-size: 1.05rem; color: #fff; margin-bottom: 12px; }
.legal-card ul { display: grid; gap: 8px; list-style: disc; padding-left: 20px; }
.legal-card li { color: var(--text-muted); font-size: 0.93rem; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  background: #05070b;
  padding-top: 56px;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 2fr);
  gap: 40px;
  padding-bottom: 40px;
}
.footer-tagline { margin-top: 14px; max-width: 340px; color: var(--text-muted); font-size: 0.93rem; }
.footer-nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.footer-heading {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 12px;
}
.footer-nav ul { display: grid; gap: 4px; }
/* inline links measured 18px tall; a block with padding gives a 24px+ tap target */
.footer-nav a { display: inline-block; padding-block: 3px; color: var(--text-muted); text-decoration: none; font-size: 0.93rem; }
.footer-nav a:hover { color: var(--gold); text-decoration: underline; }
.footer-legal {
  display: grid;
  gap: 8px;
  padding-block: 0 36px;
  font-size: 0.85rem;
  color: var(--text-dim);
}
/* the rule sits inside the gutter, aligned with the text above it */
.footer-legal::before {
  content: '';
  display: block;
  height: 1px;
  margin-bottom: 16px;
  background: var(--border);
}
.footer-legal a { color: var(--text-muted); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .stats-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .stats-list li { border-bottom: 1px solid var(--border); }
  .stats-list li:nth-child(4n) { border-right: 0; }
}

@media (max-width: 1024px) {
  .hero-grid, .split, .demo { grid-template-columns: minmax(0, 1fr); }
  .hero { padding-top: 48px; }
  .hero-copy { text-align: center; }
  .hero-lead { margin-inline: auto; }
  .hero .cta-row, .hero .cta-meta { justify-content: center; }
  .hero-shot { max-width: 720px; margin-inline: auto; }
  .split { gap: 36px; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 960px) {
  :root { --header-h: 62px; }
  .menu-toggle { display: inline-flex; }
  .header-tools { margin-left: auto; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin: 0;
    padding: 12px var(--gutter) 20px;
    background: #090c13;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }
  .site-header.is-open .site-nav { display: flex; }
  .nav-list { flex-direction: column; gap: 0; }
  .nav-list a { display: block; padding: 12px 4px; font-size: 1.02rem; border-bottom: 1px solid var(--border); }
  .nav-cta { width: 100%; min-height: 48px; }
}

@media (max-width: 760px) {
  :root { --gutter: 16px; }
  .section { padding-block: 64px; }
  .stats-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats-list li { border-right: 1px solid var(--border); }
  .stats-list li:nth-child(4n) { border-right: 1px solid var(--border); }
  .stats-list li:nth-child(2n) { border-right: 0; }
  .stats-list li:last-child { grid-column: 1 / -1; border-bottom: 0; }
  .big-stats, .plans, .steps, .legal-grid, .footer-nav { grid-template-columns: minmax(0, 1fr); }
  .big-stats { gap: 12px; }
  .panel, .demo, .plan { padding: 20px 16px; }
  .demo { gap: 24px; }
  .medal-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cta-row .btn { width: 100%; }
  .cta-meta > span[aria-hidden="true"] { display: none; }
  .tab { font-size: 0.92rem; padding-inline: 8px; }
  .download-box { padding: 36px 16px; }
  .hero-title { font-size: clamp(1.8rem, 7.4vw, 2.3rem); }
  .brand-name { font-size: 1rem; }
}

@media (max-width: 380px) {
  .brand-by { display: none; }
  .star-btn { font-size: 0.9rem; }
  /* brand + EN + menu needed 331px: a 320px phone scrolled sideways */
  .header-inner { gap: 10px; }
  .header-tools { gap: 6px; }
  .brand { gap: 8px; }
  .brand-mark { width: 32px; height: 32px; }
  .brand-name { font-size: 0.9rem; letter-spacing: 0.02em; }
}

@media (max-width: 300px) {
  /* folded phones: the mark alone still names the link (aria-label) */
  .brand-text { display: none; }
}

/* Motion: nothing loops on this page; transitions stop entirely when the visitor asks. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
  .btn:hover { transform: none; }
}
/* the Arsenal's own screenshot sits under its two columns, full width */
.ars-shot { margin-top: 40px; }
