/* GameDispo — Linear-inspired design tokens (vanilla CSS, no framework runtime) */

:root,
[data-theme="dark"] {
  color-scheme: dark;

  --canvas: #010102;
  --surface-1: #0f1011;
  --surface-2: #141516;
  --surface-3: #18191a;
  --surface-4: #191a1b;
  --hairline: #23252a;
  --hairline-strong: #34343a;
  --hairline-tertiary: #3e3e44;

  --ink: #f7f8f8;
  --ink-muted: #d0d6e0;
  --ink-subtle: #8a8f98;
  --ink-tertiary: #62666d;
  --on-primary: #ffffff;

  --accent: #5e6ad2;
  --accent-hover: #828fff;
  --accent-focus: #5e69d1;

  --success: #27a644;
  --warning: #c9922a;
  --danger: #e05d5d;

  --shadow-sm: 0 1px 0 rgba(255, 255, 255, 0.04) inset;
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.35);
  --shadow-none: none;

  /* Legacy aliases used by product/legal pages */
  --bg: var(--canvas);
  --panel: var(--surface-2);
  --line: var(--hairline);
  --muted: var(--ink-subtle);
  --amber: var(--accent);
  --amber-hot: var(--accent-hover);
  --steel: var(--accent-hover);
  --deep: var(--canvas);
  --font-display: var(--font-sans);
  --font-body: var(--font-sans);

  --font-sans: "Inter", ui-sans-serif, system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "Cascadia Code", Consolas, monospace;

  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-md: 1.125rem;
  --text-lg: 1.25rem;
  --text-xl: 1.5rem;
  --text-2xl: 1.875rem;
  --text-3xl: 2.25rem;
  --text-4xl: clamp(2.25rem, 4.5vw, 3rem);

  --leading-tight: 1.2;
  --leading-body: 1.6;
  --measure: 70ch;

  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 40px;
  --space-6: 48px;
  --space-8: 64px;
  --space-10: 80px;
  --space-12: 96px;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-pill: 999px;

  --content: 1120px;
  --grid-gap: 16px;
  --section-y: clamp(48px, 8vh, 96px);
  --section-x: clamp(16px, 4vw, 40px);
  --transition: 180ms ease;
  --focus-ring: 0 0 0 2px var(--canvas), 0 0 0 4px var(--accent-focus);

  --brand-mc: #5d9c3f;
  --brand-mc-deep: #3f7a28;
  --brand-fivem: #ff6b00;
  --brand-fivem-deep: #d45800;
}

[data-theme="light"] {
  color-scheme: light;
  --canvas: #ffffff;
  --surface-1: #f5f6f6;
  --surface-2: #f6f7f7;
  --surface-3: #eceeef;
  --surface-4: #e6e8ea;
  --hairline: #e1e4e8;
  --hairline-strong: #c9ced6;
  --hairline-tertiary: #b4bac4;
  --ink: #0f1011;
  --ink-muted: #3a3f47;
  --ink-subtle: #62666d;
  --ink-tertiary: #8a8f98;
  --on-primary: #ffffff;
  --shadow-sm: 0 1px 2px rgba(15, 16, 17, 0.06);
  --shadow-md: 0 8px 24px rgba(15, 16, 17, 0.08);
  --focus-ring: 0 0 0 2px var(--canvas), 0 0 0 4px var(--accent-focus);
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]):not([data-theme="light"]) {
    color-scheme: light;
    --canvas: #ffffff;
    --surface-1: #f5f6f6;
    --surface-2: #f6f7f7;
    --surface-3: #eceeef;
    --surface-4: #e6e8ea;
    --hairline: #e1e4e8;
    --hairline-strong: #c9ced6;
    --hairline-tertiary: #b4bac4;
    --ink: #0f1011;
    --ink-muted: #3a3f47;
    --ink-subtle: #62666d;
    --ink-tertiary: #8a8f98;
    --shadow-sm: 0 1px 2px rgba(15, 16, 17, 0.06);
    --shadow-md: 0 8px 24px rgba(15, 16, 17, 0.08);
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: var(--text-base);
  line-height: var(--leading-body);
  background: var(--canvas);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

code,
.mono {
  font-family: var(--font-mono);
  font-size: 0.9em;
  color: var(--ink-muted);
}

.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;
}

.shell {
  width: min(100% - (var(--section-x) * 2), var(--content));
  margin-inline: auto;
}

.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--grid-gap);
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 16px;
  text-align: center;
  white-space: normal;
  line-height: 1.25;
  border-radius: var(--radius-md);
  font-family: var(--font-sans);
  font-weight: 550;
  font-size: var(--text-sm);
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition), color var(--transition), opacity var(--transition);
}

.btn:hover {
  transform: none;
}

.btn-primary {
  background: var(--accent);
  color: var(--on-primary);
}

.btn-primary:hover {
  background: var(--accent-hover);
}

.btn-secondary {
  background: var(--surface-3);
  border-color: var(--hairline-strong);
  color: var(--ink);
}

.btn-secondary:hover {
  border-color: var(--ink-tertiary);
  background: var(--surface-4);
}

.btn-ghost {
  background: transparent;
  border-color: var(--hairline-strong);
  color: var(--ink);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent-hover);
}

.btn-block {
  width: 100%;
}

.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

/* —— Badge / Card —— */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 22px;
  padding: 0 8px;
  border-radius: var(--radius-sm);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(94, 106, 210, 0.16);
  color: var(--accent-hover);
  border: 1px solid rgba(94, 106, 210, 0.28);
}

.badge-success {
  background: rgba(39, 166, 68, 0.14);
  color: var(--success);
  border-color: rgba(39, 166, 68, 0.28);
}

.badge-warn {
  background: rgba(201, 146, 42, 0.14);
  color: var(--warning);
  border-color: rgba(201, 146, 42, 0.28);
}

.badge-danger {
  background: rgba(224, 93, 93, 0.14);
  color: var(--danger);
  border-color: rgba(224, 93, 93, 0.28);
}

.card {
  background: var(--surface-2);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

/* —— Header —— */
.top {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
  padding: max(12px, env(safe-area-inset-top)) max(var(--section-x), calc((100% - var(--content)) / 2)) 12px;
  background: color-mix(in srgb, var(--canvas) 86%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), background var(--transition);
}

.top.is-solid {
  border-bottom-color: var(--hairline);
  background: color-mix(in srgb, var(--canvas) 92%, transparent);
}

.brand {
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.03em;
  line-height: 1.2;
  flex-shrink: 0;
  min-width: 0;
}

.brand-mark {
  color: var(--accent);
  font-weight: 700;
}

.nav {
  display: none;
  gap: 20px;
  align-items: center;
}

.nav a {
  color: var(--ink-subtle);
  font-size: var(--text-sm);
  font-weight: 500;
  transition: color var(--transition);
}

.nav a:hover {
  color: var(--ink);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.status-pill {
  display: none;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  padding: 0 10px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--hairline);
  background: var(--surface-2);
  color: var(--ink-subtle);
  font-size: 12px;
  font-weight: 500;
  max-width: 220px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.status-pill .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
  flex-shrink: 0;
}

.status-pill.is-degraded .dot {
  background: var(--warning);
}

.status-pill.is-down .dot {
  background: var(--danger);
}

.status-pill.is-error,
.status-pill.is-loading {
  color: var(--ink-tertiary);
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  border: 1px solid var(--hairline-strong);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.menu-toggle svg {
  width: 20px;
  height: 20px;
}

.mobile-nav {
  display: none;
  position: fixed;
  inset: 64px 0 auto;
  z-index: 49;
  padding: 16px var(--section-x) 20px;
  background: var(--surface-1);
  border-bottom: 1px solid var(--hairline);
}

.mobile-nav.is-open {
  display: grid;
  gap: 4px;
}

.mobile-nav a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 12px 8px;
  color: var(--ink-muted);
  font-weight: 500;
  border-radius: var(--radius-md);
}

.mobile-nav a:hover {
  background: var(--surface-3);
  color: var(--ink);
}

@media (min-width: 900px) {
  .nav {
    display: flex;
  }
  .status-pill {
    display: inline-flex;
  }
  .menu-toggle {
    display: none;
  }
  .mobile-nav,
  .mobile-nav.is-open {
    display: none;
  }
  .top .btn-cta-desktop {
    display: inline-flex;
  }
}

.top .btn-cta-desktop {
  display: none;
}

/* —— Hero —— */
.hero {
  position: relative;
  padding: var(--space-6) max(var(--section-x), calc((100% - var(--content)) / 2)) var(--space-5);
  min-height: auto;
  display: block;
  align-items: unset;
}

.hero-pro .hero-inner,
.hero-layout {
  width: 100%;
  max-width: var(--content);
  margin: 0 auto;
  display: grid;
  gap: var(--space-5);
  align-items: center;
  justify-items: center;
}

.hero-copy {
  width: 100%;
  max-width: 40rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media (min-width: 900px) {
  .hero {
    padding-top: var(--space-8);
    padding-bottom: var(--space-6);
  }
}

@media (min-width: 960px) {
  .hero-layout {
    grid-template-columns: 1fr;
    gap: var(--space-6);
    min-height: auto;
    justify-items: center;
  }

  .hero-layout .panel-window {
    width: min(100%, 420px);
    justify-self: center;
  }
}

.brand-hero {
  margin: 0 0 12px;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.05;
  text-align: center;
}

.brand-hero-sm {
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  margin-bottom: 8px;
}

.hero h1 {
  margin: 0 0 14px;
  font-weight: 600;
  font-size: var(--text-4xl);
  line-height: var(--leading-tight);
  letter-spacing: -0.035em;
  max-width: 22ch;
  text-align: center;
}

.lede {
  margin: 0 0 18px;
  color: var(--ink-subtle);
  font-size: var(--text-md);
  line-height: var(--leading-body);
  max-width: var(--measure);
  text-align: center;
}

.hero-price {
  margin: 0 0 18px;
  font-weight: 600;
  font-size: var(--text-lg);
  color: var(--accent-hover);
  letter-spacing: -0.02em;
  min-height: 1.4em;
  text-align: center;
}

.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.cta .btn {
  flex: 1 1 100%;
  justify-content: center;
}

@media (min-width: 520px) {
  .cta .btn {
    flex: 0 1 auto;
    min-width: 10.5rem;
  }
}

.hero-media {
  display: none;
}

.panel-window {
  background: var(--surface-2);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.panel-window.is-skeleton .panel-body,
.panel-window.is-error .panel-body {
  min-height: 180px;
}

.panel-chrome {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--hairline);
  background: var(--surface-1);
}

.panel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--hairline-strong);
}

.panel-title {
  margin-left: 4px;
  font-size: 12px;
  color: var(--ink-tertiary);
  font-weight: 500;
}

.panel-body {
  padding: 18px 16px 20px;
  display: grid;
  gap: 14px;
}

.panel-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.panel-label {
  font-size: 12px;
  color: var(--ink-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}

.panel-value {
  font-size: var(--text-sm);
  font-weight: 550;
  color: var(--ink);
}

.panel-address {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-muted);
  background: var(--surface-1);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  padding: 10px 12px;
  word-break: break-all;
}

.panel-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.panel-meta div {
  background: var(--surface-1);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  padding: 10px 12px;
}

/* —— Trust —— */
.trust-strip,
.trust-facts {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  width: 100%;
  max-width: var(--content);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
}

.trust-strip li,
.trust-facts li {
  background: var(--surface-2);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  text-align: center;
}

.trust-value,
.tf-k {
  display: block;
  font-weight: 600;
  font-size: var(--text-sm);
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}

.tf-k {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-tertiary);
  font-weight: 700;
}

.trust-label {
  display: block;
  font-size: var(--text-sm);
  line-height: 1.4;
  color: var(--ink-subtle);
}

.trust-facts a,
.text-link {
  color: var(--accent-hover);
  font-weight: 550;
}

.text-link:hover {
  color: var(--accent);
}

.trust-bar {
  padding-top: 0;
}

/* —— Sections —— */
.section {
  padding: var(--section-y) max(var(--section-x), calc((100% - var(--content)) / 2));
}

.section > * {
  width: 100%;
  max-width: var(--content);
  margin-left: auto;
  margin-right: auto;
}

.section-alt {
  background: var(--surface-1);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}

.section-head {
  max-width: 40rem;
  margin: 0 auto var(--space-4);
  text-align: center;
}

.section-head-center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-head h2 {
  margin: 0 0 10px;
  font-weight: 600;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.section-head p {
  margin: 0 auto;
  color: var(--ink-subtle);
  font-size: var(--text-md);
  line-height: var(--leading-body);
  max-width: var(--measure);
  text-align: center;
}

.section-head-center p {
  margin-inline: auto;
}

/* —— Pricing —— */
.pricing-wizard {
  display: grid;
  gap: 20px;
  width: 100%;
  max-width: var(--content);
  margin-inline: auto;
}

@media (min-width: 960px) {
  .pricing-wizard {
    grid-template-columns: minmax(0, 1fr);
    max-width: var(--content);
    justify-items: stretch;
  }

  .quote-card {
    grid-column: 1;
    grid-row: auto;
    position: static;
    width: 100%;
    max-width: 420px;
    margin-inline: auto;
  }

  .wizard-step {
    grid-column: 1;
    width: 100%;
  }
}

.wizard-step {
  background: var(--surface-2);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: 18px;
  text-align: center;
}

.wizard-step.is-muted {
  opacity: 0.55;
  pointer-events: none;
}

.wizard-kicker {
  margin: 0 0 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-tertiary);
  text-align: center;
}

.wizard-hint {
  margin: -4px 0 14px;
  font-size: var(--text-sm);
  color: var(--ink-subtle);
  text-align: center;
}

.brand-icon {
  width: 18px;
  height: 18px;
  border-radius: 0;
  flex-shrink: 0;
  display: block;
  object-fit: contain;
  background: transparent !important;
  box-shadow: none;
}

.brand-icon[src*="brand-fivem"] {
  background: transparent !important;
  border-radius: 0;
  object-fit: contain;
  /* keep orange mark crisp on blue/primary buttons */
  mix-blend-mode: normal;
  filter: none;
}

.btn-brand .brand-icon,
.game-chip .brand-icon,
.size-brand .brand-icon,
.quote-breadcrumb-brand .brand-icon,
.app-card-top .brand-icon,
.section-head-brand .brand-icon {
  background: transparent !important;
  border-radius: 0;
  padding: 0;
}

.brand-icon-lg {
  width: 22px;
  height: 22px;
  border-radius: 5px;
}

.brand-icon-xl {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

.btn-brand {
  gap: 8px;
}

.game-rail,
.category-rail {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.game-chip,
.category-chip {
  appearance: none;
  min-height: 44px;
  border: 1px solid var(--hairline);
  background: var(--surface-1);
  color: var(--ink-subtle);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: var(--text-sm);
  padding: 0 14px;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: color var(--transition), border-color var(--transition), background var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.game-chip:hover,
.category-chip:hover {
  color: var(--ink);
  border-color: var(--hairline-strong);
}

.game-chip.is-active,
.category-chip.is-active {
  color: var(--on-primary);
  background: var(--accent);
  border-color: var(--accent);
}

.game-chip.brand-minecraft.is-active {
  background: var(--brand-mc);
  border-color: var(--brand-mc);
  color: #0b1208;
}

.game-chip.brand-fivem.is-active {
  background: var(--brand-fivem);
  border-color: var(--brand-fivem);
  color: #140a00;
}

.category-chip.is-disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.named-tiers {
  display: grid;
  gap: 12px;
  margin-bottom: 14px;
  width: 100%;
  grid-template-columns: 1fr;
}

/* 3 cards (e.g. FiveM): one even row. 4 cards (e.g. Minecraft): 2×2. */
@media (min-width: 720px) {
  .named-tiers[data-tier-count="3"],
  .named-tiers.tier-count-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .named-tiers[data-tier-count="4"],
  .named-tiers.tier-count-4,
  .named-tiers.has-custom:not([data-tier-count="3"]) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .named-tiers .size-tier.is-custom {
    grid-column: auto;
  }
}


.size-tier {
  appearance: none;
  -webkit-appearance: none;
  text-align: center;
  border: 1px solid var(--hairline);
  background: var(--surface-1);
  color: var(--ink-subtle);
  font-family: var(--font-sans);
  padding: 16px;
  border-radius: var(--radius-lg);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  min-height: 160px;
  width: 100%;
  box-sizing: border-box;
  transition: border-color var(--transition), background var(--transition), color var(--transition);
  position: relative;
}

.size-tier > * {
  max-width: 100%;
}

.size-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 2px;
  width: auto;
}

.size-brand-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-tertiary);
}

.size-tier.brand-minecraft .size-brand-label {
  color: var(--brand-mc);
}

.size-tier.brand-fivem .size-brand-label {
  color: var(--brand-fivem);
}

.size-tier.is-popular {
  border-color: color-mix(in srgb, var(--accent) 55%, var(--hairline));
  background: color-mix(in srgb, var(--accent) 8%, var(--surface-1));
}

.size-tier.brand-minecraft.is-popular {
  border-color: color-mix(in srgb, var(--brand-mc) 55%, var(--hairline));
  background: color-mix(in srgb, var(--brand-mc) 10%, var(--surface-1));
}

.size-tier.brand-fivem.is-popular {
  border-color: color-mix(in srgb, var(--brand-fivem) 55%, var(--hairline));
  background: color-mix(in srgb, var(--brand-fivem) 10%, var(--surface-1));
}

.size-tier.is-active {
  border-color: var(--accent);
  color: var(--ink);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 40%, transparent);
}

.size-tier.brand-minecraft.is-active {
  border-color: var(--brand-mc);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--brand-mc) 45%, transparent);
}

.size-tier.brand-fivem.is-active {
  border-color: var(--brand-fivem);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--brand-fivem) 45%, transparent);
}

.size-tier.brand-minecraft .size-price {
  color: #8fd46a;
}

.size-tier.brand-fivem .size-price {
  color: #ff9a4d;
}

.size-name {
  font-weight: 600;
  font-size: var(--text-md);
  color: var(--ink);
  letter-spacing: -0.02em;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  width: 100%;
}

.size-slots {
  font-size: var(--text-sm);
  font-family: var(--font-mono);
  text-align: center;
  width: 100%;
}

.size-price {
  font-weight: 700;
  color: var(--accent-hover);
  font-size: var(--text-lg);
  letter-spacing: -0.02em;
  min-height: 1.4em;
  text-align: center;
  width: 100%;
}

.size-blurb {
  font-size: var(--text-sm);
  line-height: 1.45;
  text-align: center;
  width: 100%;
}

.feature-list {
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 100%;
}

.feature-list li {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: var(--ink-subtle);
  line-height: 1.4;
  text-align: center;
  width: auto;
}

.feature-list svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--success);
}

.size-popular {
  display: inline-flex;
  align-items: center;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--on-primary);
  background: var(--accent);
  padding: 3px 7px;
  border-radius: var(--radius-sm);
}

.size-tier.is-custom {
  min-height: 180px;
}

.custom-slot-block {
  display: grid;
  gap: 8px;
  margin-top: 4px;
  width: 100%;
  text-align: center;
}

.backup-addon {
  margin: 0 0 14px;
}

.backup-label {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  padding: 14px;
  background: var(--surface-1);
  cursor: pointer;
}

.backup-label input {
  margin-top: 3px;
  width: 18px;
  height: 18px;
}

.backup-label strong {
  display: block;
  color: var(--ink);
}

.backup-label em {
  display: block;
  font-style: normal;
  font-size: var(--text-sm);
  color: var(--ink-subtle);
  margin-top: 2px;
}

.advanced-slots {
  border: 1px dashed var(--hairline-strong);
  border-radius: var(--radius-md);
  padding: 4px 14px 14px;
  background: transparent;
}

.advanced-slots > summary {
  cursor: pointer;
  font-weight: 600;
  font-size: var(--text-sm);
  padding: 12px 0;
  color: var(--ink-subtle);
  list-style: none;
}

.advanced-slots > summary::-webkit-details-marker {
  display: none;
}

.range-wrap {
  margin-top: 4px;
}

.range-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 10px;
  font-weight: 650;
  font-size: var(--text-md);
  min-height: 1.5em;
}

.range-top span:last-child {
  font-size: var(--text-sm);
  font-weight: 550;
  color: var(--ink-subtle);
  font-family: var(--font-mono);
}

.range-track {
  position: relative;
  height: 44px;
  display: flex;
  align-items: center;
}

.range-fill {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 6px;
  width: 0;
  border-radius: 3px;
  background: var(--accent);
  pointer-events: none;
  z-index: 0;
}

.range-track input[type="range"] {
  position: relative;
  z-index: 1;
  width: 100%;
  margin: 0;
  height: 44px;
  background: transparent;
  -webkit-appearance: none;
  appearance: none;
}

.range-track input[type="range"]::-webkit-slider-runnable-track {
  height: 6px;
  border-radius: 3px;
  background: var(--hairline-strong);
}

.range-track input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  margin-top: -8px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid var(--canvas);
  cursor: grab;
}

.range-track input[type="range"]::-moz-range-track {
  height: 6px;
  border-radius: 3px;
  background: var(--hairline-strong);
}

.range-track input[type="range"]::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid var(--canvas);
  cursor: grab;
}

.range-ends {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--ink-tertiary);
  margin-top: 4px;
  font-family: var(--font-mono);
}

.tier-rail {
  display: grid;
  gap: 10px;
}

@media (min-width: 640px) {
  .tier-rail {
    grid-template-columns: 1fr 1fr;
  }
}

.tier-card {
  appearance: none;
  text-align: center;
  border: 1px solid var(--hairline);
  background: var(--surface-1);
  color: var(--ink-subtle);
  font-family: var(--font-sans);
  padding: 14px;
  border-radius: var(--radius-md);
  cursor: pointer;
  display: grid;
  gap: 4px;
  justify-items: center;
  transition: border-color var(--transition), background var(--transition);
}

.tier-card.is-active {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 8%, var(--surface-1));
  color: var(--ink);
}

.tier-name {
  font-weight: 650;
  font-size: var(--text-md);
  color: var(--ink);
}

.tier-price {
  font-weight: 700;
  color: var(--accent-hover);
  font-size: var(--text-sm);
}

.tier-meta {
  font-size: 12px;
  line-height: 1.35;
  color: var(--ink-subtle);
}

.tier-note,
.game-note {
  margin: 12px auto 0;
  font-size: var(--text-sm);
  color: var(--ink-subtle);
  max-width: var(--measure);
  text-align: center;
}

.quote-card {
  background: var(--surface-2);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: 20px 18px;
  text-align: center;
}

.quote-breadcrumb {
  font-size: var(--text-sm);
  color: var(--ink-subtle);
  margin: 0 0 6px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
}

.quote-breadcrumb-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.quote-price {
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 6px;
  min-height: 1.15em;
}

.quote-price span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink-subtle);
}

.quote-per {
  margin: 0 0 14px;
  font-size: var(--text-sm);
  color: var(--ink-tertiary);
  min-height: 1.2em;
  font-family: var(--font-mono);
}

.quote-specs {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  display: grid;
  gap: 8px;
  color: var(--ink-subtle);
  font-size: var(--text-sm);
}

.quote-specs li {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.quote-specs li::before {
  content: "";
  width: 6px;
  height: 6px;
  margin-top: 0;
  border-radius: 1px;
  background: var(--accent);
  flex-shrink: 0;
}

.stock-line {
  margin: 0 0 14px;
  font-size: var(--text-sm);
  min-height: 1.3em;
}

.stock-ok {
  color: var(--success);
}

.stock-bad {
  color: var(--danger);
}

.quote-fine {
  margin: 12px 0 0;
  font-size: 12px;
  color: var(--ink-tertiary);
  text-align: center;
}

.waitlist-form {
  display: grid;
  gap: 10px;
}

.waitlist-form input[type="email"] {
  width: 100%;
  min-height: 44px;
  border-radius: var(--radius-md);
  border: 1px solid var(--hairline-strong);
  background: var(--surface-1);
  color: var(--ink);
  padding: 0 12px;
  font: inherit;
  font-size: 16px;
}

.waitlist-ok {
  margin: 0;
  color: var(--success);
  font-size: var(--text-sm);
  line-height: 1.5;
}

/* —— Content grids —— */
.why-grid,
.pillar-grid,
.app-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  width: 100%;
  max-width: var(--content);
  margin-inline: auto;
}

.why-grid article,
.pillar,
.app-card {
  background: var(--surface-2);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: 18px;
  text-align: center;
}

.why-grid h3,
.pillar h3,
.app-card h3 {
  margin: 0 0 8px;
  font-size: var(--text-md);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.why-grid p,
.pillar p,
.app-card p {
  margin: 0;
  color: var(--ink-subtle);
  font-size: var(--text-sm);
  line-height: var(--leading-body);
}

.step-label {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-hover);
}

.founder-note {
  margin: 16px auto 0;
  padding: 16px 18px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  background: var(--surface-1);
  color: var(--ink-subtle);
  font-size: var(--text-sm);
  width: 100%;
  max-width: var(--content);
  text-align: center;
}

.founder-note a {
  color: var(--accent-hover);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.app-grid-two {
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .app-grid-two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.app-card-top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 4px;
}

.app-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  background: rgba(94, 106, 210, 0.16);
  color: var(--accent-hover);
}

.app-card.brand-minecraft {
  border-color: color-mix(in srgb, var(--brand-mc) 35%, var(--hairline));
}

.app-card.brand-minecraft .app-badge {
  background: color-mix(in srgb, var(--brand-mc) 18%, transparent);
  color: #8fd46a;
}

.app-card.brand-fivem {
  border-color: color-mix(in srgb, var(--brand-fivem) 35%, var(--hairline));
}

.app-card.brand-fivem .app-badge {
  background: color-mix(in srgb, var(--brand-fivem) 18%, transparent);
  color: #ff9a4d;
}

.app-card .text-link {
  display: inline-block;
  margin-top: 12px;
}

.section-head-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  max-width: none;
  margin: 0 auto var(--space-3);
  text-align: center;
  flex-wrap: wrap;
}

.section-head-brand h2 {
  margin: 0 0 10px;
}

.fivem-band.brand-fivem {
  border-color: color-mix(in srgb, var(--brand-fivem) 22%, var(--hairline));
}

.fivem-panel {
  width: 100%;
  max-width: var(--content);
  margin-inline: auto;
  padding: 22px 22px 20px;
  border-color: color-mix(in srgb, var(--brand-fivem) 28%, var(--hairline));
}

.fivem-panel .section-head {
  margin-bottom: 18px;
}

.quote-card[data-product-brand="minecraft"] .quote-breadcrumb,
.pricing-wizard[data-product-brand="minecraft"] .quote-breadcrumb {
  color: #8fd46a;
}

.quote-card[data-product-brand="fivem"] .quote-breadcrumb,
.pricing-wizard[data-product-brand="fivem"] .quote-breadcrumb {
  color: #ff9a4d;
}

/* —— FiveM meter —— */
.fivem-slot-wrap {
  width: 100%;
  max-width: none;
  margin: 0;
}

.fivem-meter {
  width: 100%;
}

.fivem-meter-top {
  display: flex;
  justify-content: center;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 10px;
  text-align: center;
}

.fivem-meter-top strong {
  font-size: 1.5rem;
  letter-spacing: -0.02em;
}

.fivem-meter-top span {
  color: var(--ink-subtle);
  font-size: var(--text-sm);
  font-family: var(--font-mono);
}

.fivem-meter-track {
  height: 8px;
  border-radius: var(--radius-pill);
  background: var(--hairline);
  overflow: hidden;
}

.fivem-meter-fill {
  height: 100%;
  background: var(--brand-fivem);
  border-radius: var(--radius-pill);
  transition: width var(--transition);
}

.fivem-meter-note {
  margin: 10px 0 0;
  color: var(--ink-subtle);
  font-size: var(--text-sm);
  text-align: center;
}

/* —— FAQ —— */
.faq-list {
  width: 100%;
  max-width: 48rem;
  margin-inline: auto;
  display: grid;
  gap: 8px;
}

.faq-list details,
.tech-details {
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  background: var(--surface-2);
  padding: 0 16px;
}

.faq-list summary,
.tech-details > summary {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-weight: 600;
  font-size: var(--text-sm);
  padding: 14px 0;
  min-height: 44px;
  list-style: none;
  color: var(--ink);
  text-align: center;
}

.faq-list summary::-webkit-details-marker,
.tech-details > summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after,
.tech-details > summary::after {
  content: "+";
  flex-shrink: 0;
  color: var(--ink-tertiary);
  font-weight: 500;
}

.faq-list details[open] > summary::after,
.tech-details[open] > summary::after {
  content: "–";
}

.faq-list details p,
.tech-details-body {
  margin: 0 auto 14px;
  color: var(--ink-subtle);
  font-size: var(--text-sm);
  line-height: var(--leading-body);
  max-width: var(--measure);
  text-align: center;
}

.faq-list a,
.protect-plain a {
  color: var(--accent-hover);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* —— Protection —— */
.protect-plain {
  width: 100%;
  max-width: 48rem;
  margin: 0 auto 20px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.protect-plain li {
  padding: 14px 16px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  background: var(--surface-2);
  color: var(--ink-subtle);
  font-size: var(--text-sm);
  line-height: var(--leading-body);
  text-align: center;
}

.protect-plain strong {
  color: var(--ink);
}

.protect-diagram {
  width: 100%;
  max-width: 48rem;
  margin: 0 auto 16px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  background: var(--surface-2);
  padding: 12px;
}

.protect-flow {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.protect-flow li {
  background: var(--surface-1);
  border: 1px solid var(--hairline-strong);
  border-radius: var(--radius-md);
  padding: 14px 16px;
}

.protect-flow li.is-accent {
  border-color: color-mix(in srgb, var(--accent) 70%, var(--hairline-strong));
}

.protect-flow strong {
  display: block;
  color: var(--ink);
  font-size: var(--text-sm);
  letter-spacing: -0.01em;
}

.protect-flow span {
  display: block;
  margin-top: 2px;
  color: var(--ink-subtle);
  font-size: 12px;
}

@media (min-width: 720px) {
  .protect-diagram {
    padding: 16px;
  }

  .protect-flow {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
  }
}

.tech-details {
  width: 100%;
  max-width: 48rem;
  margin: 0 auto;
  padding: 0 16px 4px;
}

/* —— Close / Footer —— */
.close {
  padding-bottom: var(--space-6);
}

.close-panel {
  max-width: 36rem;
  padding-top: var(--space-4);
  border-top: 1px solid var(--hairline);
}

.close-panel-center {
  text-align: center;
  margin: 0 auto;
}

.close-panel h2 {
  margin: 0 0 10px;
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  letter-spacing: -0.03em;
}

.close-panel p {
  color: var(--ink-subtle);
  margin: 0 0 18px;
}

.foot {
  border-top: 1px solid var(--hairline);
  padding: var(--space-6) max(var(--section-x), calc((100% - var(--content)) / 2)) var(--space-8);
  color: var(--ink-subtle);
  font-size: var(--text-sm);
}

.foot-grid {
  width: min(100%, var(--content));
  margin: 0 auto var(--space-5);
  display: grid;
  gap: var(--space-4);
  grid-template-columns: 1fr;
  text-align: center;
  justify-items: center;
}

.foot-col,
.foot-brand {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media (min-width: 640px) {
  .foot-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 960px) {
  .foot-grid {
    grid-template-columns: 1.4fr repeat(4, minmax(0, 1fr));
  }
}

.foot-brand > span:first-child {
  font-weight: 700;
  color: var(--ink);
  display: block;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.foot-brand .brand-mark {
  display: inline;
  color: var(--accent);
}

.foot-col h3 {
  margin: 0 0 10px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-tertiary);
  font-weight: 700;
}

.foot-col a,
.foot-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-subtle);
  padding: 8px 0;
  min-height: 44px;
  overflow-wrap: anywhere;
  transition: color var(--transition);
}

@media (min-width: 900px) {
  .foot-col a,
  .foot-links a {
    min-height: 0;
    padding: 4px 0;
  }
}

.foot-col a:hover,
.foot-links a:hover {
  color: var(--accent-hover);
}

.foot-bottom {
  width: min(100%, var(--content));
  margin: 0 auto;
  padding-top: 16px;
  border-top: 1px solid var(--hairline);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: var(--ink-tertiary);
  font-size: 12px;
}

.foot-social {
  display: flex;
  gap: 14px;
  justify-content: center;
}

.foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  justify-content: center;
}

/* —— Sticky CTA —— */
.sticky-cta {
  position: fixed;
  left: max(12px, env(safe-area-inset-left));
  right: max(12px, env(safe-area-inset-right));
  bottom: max(12px, env(safe-area-inset-bottom));
  z-index: 45;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: var(--radius-md);
  background: var(--accent);
  color: var(--on-primary);
  font-weight: 600;
  font-size: var(--text-sm);
  box-shadow: var(--shadow-md);
}

body:has(.sticky-cta) {
  padding-bottom: calc(76px + env(safe-area-inset-bottom));
}

@media (min-width: 900px) {
  .sticky-cta {
    display: none;
  }

  body:has(.sticky-cta) {
    padding-bottom: 0;
  }
}

/* —— Skeletons / states —— */
.skeleton {
  background: linear-gradient(90deg, var(--surface-3), var(--surface-4), var(--surface-3));
  background-size: 200% 100%;
  animation: shimmer 1.2s linear infinite;
  border-radius: var(--radius-sm);
  color: transparent !important;
}

@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

.state-msg {
  margin: 0;
  font-size: var(--text-sm);
  color: var(--ink-subtle);
}

.state-msg.is-error {
  color: var(--danger);
}

.state-msg.is-soldout {
  color: var(--warning);
}

/* —— Legal / security shared —— */
.legal {
  width: min(100% - (var(--section-x) * 2), 720px);
  margin: 96px auto 64px;
  color: var(--ink-muted);
  text-align: center;
}

.legal h1 {
  color: var(--ink);
  letter-spacing: -0.03em;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  line-height: 1.15;
  margin: 0 auto 8px;
  text-align: center;
}

.legal h2 {
  color: var(--ink);
  margin-top: 2rem;
  font-size: clamp(1.15rem, 2.4vw, 1.35rem);
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.legal p,
.legal li {
  overflow-wrap: break-word;
}

.legal ul,
.legal ol {
  padding-left: 0;
  list-style-position: inside;
  text-align: center;
}

.legal li + li {
  margin-top: 0.45rem;
}

.legal-updated {
  margin: 0 0 1.25rem;
  color: var(--ink-tertiary);
  font-size: var(--text-sm);
}

.legal a {
  color: var(--accent-hover);
}

.lede-plain {
  color: var(--ink-subtle);
  max-width: var(--measure);
}

.security-back {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.security-back .btn {
  flex: 1 1 100%;
}

@media (min-width: 520px) {
  .security-back .btn {
    flex: 0 1 auto;
  }
}

.hero-compact {
  min-height: auto;
  padding-bottom: var(--space-4);
}

.eyebrow {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-tertiary);
}

.wizard-step.is-locked {
  opacity: 0.55;
}

.wizard-soon {
  margin: 0;
  color: var(--ink-subtle);
}

/* Keep old hero image pages usable without layout break */
.hero-pro .hero-copy {
  max-width: 40rem;
  margin-inline: auto;
  text-align: center;
  align-items: center;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* —— Sitewide page centering —— */
main {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.section,
.hero,
.trust-bar,
.close,
.foot {
  text-align: center;
}

.pricing-wizard {
  justify-items: stretch;
}

.named-tiers,
.backup-addon,
.wizard-step > .advanced-slots {
  width: 100%;
}

.lede-plain {
  margin-inline: auto;
  text-align: center;
}

.legal p,
.legal li,
.legal-updated {
  text-align: center;
}

.legal h2 {
  text-align: center;
}

.size-popular {
  justify-self: center;
}

/* FiveM / brand icons — Zap-style: no plate behind mark */
.brand-icon,
img.brand-icon {
  background: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  object-fit: contain;
}
.btn .brand-icon,
.btn-brand .brand-icon,
.game-chip .brand-icon,
.size-brand .brand-icon,
.quote-breadcrumb-brand .brand-icon,
.app-card-top .brand-icon,
.section-head-brand .brand-icon {
  background: transparent !important;
  border-radius: 0 !important;
}
