/* Home hero: stat tiles, labelled server picker, pricing table.
   Values from the Games design reference (colors #12151c / #232835 / #2a2f3b / #f0a64a, Space Grotesk + Inter). */
.design-2026 .hero-home .hero-stats { gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 40px; }
.design-2026 .hero-home .hero-stats > div { flex: 0 1 160px; min-width: 160px; padding: 14px 18px; border: 1px solid #232835; border-radius: 12px; background: rgba(11,13,18,.72); text-align: left; }
.design-2026 .hero-home .hero-stats dt { font: 400 13px/1.4 Inter, system-ui, sans-serif; letter-spacing: 0; text-transform: none; color: #a7adbd; }
.design-2026 .hero-home .hero-stats dd { margin-top: 4px; font: 700 26px/1.2 'Space Grotesk', Inter, sans-serif; color: #eef0f5; }
.design-2026 .hero-home .hero-stats dd small { font: 400 14px Inter, system-ui, sans-serif; color: #a7adbd; }
@media (max-width: 640px) {
  .design-2026 .hero-home .hero-stats { gap: 10px; }
  .design-2026 .hero-home .hero-stats > div { flex: 1 1 calc(50% - 10px); min-width: 0; padding: 12px 14px; }
  .design-2026 .hero-home .hero-stats dd { font-size: 22px; }
}

/* Labelled picker */
.hero-configure { position: relative; z-index: 1; padding: 24px 0 72px; }
.design-2026 .hero-configure .hero-instrument { max-width: 1200px; margin: 0 auto; padding: 28px; display: flex; flex-wrap: wrap; gap: 32px; border: 1px solid #232835; border-radius: 18px; background: #12151c; box-shadow: none; text-align: left; backdrop-filter: none; }
.design-2026 .hero-configure .hero-instrument[hidden] { display: flex; visibility: hidden; min-height: 520px; }
.design-2026 .hero-configure .hero-instrument[hidden].is-empty { display: none; }
@media (max-width: 819px) { .design-2026 .hero-configure .hero-instrument[hidden] { min-height: 760px; } }
.hero-instrument .cfg-main { flex: 2 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 26px; }
.hero-instrument h2 { margin: 0; font: 700 28px/1.2 'Space Grotesk', Inter, sans-serif; color: #eef0f5; }
.hero-instrument fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.hero-instrument legend, .hero-instrument .cfg-region label { padding: 0; margin-bottom: 12px; font: 600 15px/1.4 Inter, system-ui, sans-serif; color: #eef0f5; }
.hero-instrument .cfg-num { color: #f0a64a; }
.hero-instrument .cfg-sizebtn[aria-pressed="true"] { border-color: #f0a64a; background: #1d1a14; }
.hero-instrument .cfg-row { display: flex; flex-wrap: wrap; gap: 24px; }
.hero-instrument .cfg-size { flex: 1 1 300px; }
.hero-instrument .cfg-sizes { display: grid; grid-template-columns: repeat(auto-fit, minmax(64px, 1fr)); gap: 8px; }
.hero-instrument .cfg-sizebtn { min-height: 52px; border-radius: 10px; border: 2px solid #2a2f3b; background: #0B0D12; color: #eef0f5; font: 600 15px Inter, system-ui, sans-serif; cursor: pointer; }
.hero-instrument .cfg-hint { margin: 10px 0 0; font-size: 13px; line-height: 1.5; color: #a7adbd; }
.hero-instrument .cfg-region { flex: 1 1 240px; display: flex; flex-direction: column; }
.hero-instrument .cfg-region label { margin-bottom: 12px; }
.hero-instrument .cfg-region select { min-height: 52px; padding: 0 14px; border-radius: 10px; border: 2px solid #2a2f3b; background: #0B0D12; color: #eef0f5; font: 400 15px Inter, system-ui, sans-serif; }
.hero-instrument :is(button, select, a):focus-visible { outline: 2px solid #7c8cff; outline-offset: 3px; }
.hero-instrument .cfg-summary { flex: 1 1 300px; display: flex; flex-direction: column; gap: 16px; padding: 22px; border: 1px solid #232835; border-radius: 14px; background: #0B0D12; }
.hero-instrument .cfg-summary p { margin: 0; }
.hero-instrument .cfg-kicker { font-size: 13px; color: #a7adbd; }
.hero-instrument .cfg-title { font: 700 22px/1.3 'Space Grotesk', Inter, sans-serif; color: #eef0f5; }
.hero-instrument .cfg-price { display: flex; align-items: baseline; gap: 6px; color: #a7adbd; }
.hero-instrument .cfg-amount { font: 700 38px/1.1 'Space Grotesk', Inter, sans-serif; color: #f0a64a; white-space: nowrap; }
.hero-instrument .cfg-summary ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: #d4d8e2; }
.hero-instrument .cfg-cta { margin-top: auto; padding: 15px; border-radius: 10px; background: #f0a64a; color: #14100a; font: 600 16px Inter, system-ui, sans-serif; text-align: center; text-decoration: none; }
.hero-instrument .cfg-cta:hover { filter: brightness(1.08); color: #14100a; }
.hero-instrument .cfg-cta[aria-disabled="true"] { opacity: .5; pointer-events: none; }
@media (max-width: 640px) {
  .hero-configure { padding: 8px 0 48px; }
  .design-2026 .hero-configure .hero-instrument { padding: 18px; gap: 24px; }
  }

/* Pricing table */
#plans .plan-table-scroll { overflow-x: auto; border: 1px solid #232835; border-radius: 12px; }
#plans .plan-table { width: 100%; min-width: 640px; border-collapse: collapse; font: 400 15px Inter, system-ui, sans-serif; background: transparent; }
#plans .plan-table th, #plans .plan-table td { padding: 14px 18px; text-align: left; }
#plans .plan-table thead th { font-size: 13px; font-weight: 500; color: #a7adbd; }
#plans .plan-table tbody tr { border-top: 1px solid #232835; }
#plans .plan-table tbody th { font-weight: 600; color: #eef0f5; }
#plans .plan-table tbody td { color: #d4d8e2; }
#plans .plan-table td:last-child { color: #eef0f5; white-space: nowrap; }
#plans .plan-table td:last-child span { color: #a7adbd; font-size: 13px; }
#plans .plan-table td:last-child strong { font-weight: 600; }

/* Compact hero: starts right under the header; the picker below it is part of the first screen. */
.design-2026 .hero-home { min-height: 0; margin-top: 0; }
@media (max-width: 819px) { .design-2026 .hero-home { margin-top: 0; } }
.design-2026 .hero-home .hero-content { padding: 28px 24px 26px; }
.design-2026 .hero-home .hero-eyebrow { margin-bottom: 14px; }
.design-2026 .hero-home h1 { font-size: clamp(28px, 3.4vw, 44px); line-height: 1.1; margin-bottom: 18px; }
.design-2026 .hero-home .hero-stats { margin-top: 18px; }
.design-2026 .hero-home .hero-stats dd { margin-top: 4px; font-size: 22px; }
.hero-configure { padding-top: 20px; }
.design-2026 .hero-configure .hero-instrument { padding: 22px; gap: 24px; }
.design-2026 .hero-configure .hero-instrument[hidden] { min-height: 430px; }
.hero-instrument h2 { font-size: 22px; }
@media (max-width: 640px) {
  .design-2026 .hero-home .hero-content { padding: 22px 18px 20px; }
  .design-2026 .hero-home h1 { font-size: 27px; margin-bottom: 14px; }
  .design-2026 .hero-home .hero-cta { gap: 10px; flex-direction: row; flex-wrap: nowrap; }
  .design-2026 .hero-home .hero-cta .btn { flex: 1 1 0; padding-inline: 10px; white-space: nowrap; }
  .design-2026 .hero-home .hero-stats { margin-top: 16px; gap: 8px; }
  .design-2026 .hero-home .hero-stats > div { flex: 1 1 0; min-width: 0; padding: 0 2px; }
  .design-2026 .hero-home .hero-stats dd { font-size: 18px; }
  .design-2026 .hero-configure .hero-instrument[hidden] { min-height: 760px; }
  .hero-instrument h2 { display: none; }
}

/* Game picker: one row of equal cards, 8 per view on desktop, arrows + snap + search. */
.hero-instrument .cfg-picker { --per: 8; --gap: 10px; min-width: 0; }
.hero-instrument .cfg-picker-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin-bottom: 12px; }
.hero-instrument .cfg-picker-label { font: 600 15px/1.4 Inter, system-ui, sans-serif; color: #eef0f5; }
.hero-instrument .cfg-search { flex: 0 1 260px; min-width: 0; height: 40px; padding: 0 14px; border-radius: 10px; border: 1px solid #2a2f3b; background: #0B0D12; color: #eef0f5; font: 400 14px Inter, system-ui, sans-serif; }
.hero-instrument .cfg-search::placeholder { color: #8b93a7; }
.hero-instrument .cfg-search:focus-visible { outline: 2px solid #7c8cff; outline-offset: 2px; border-color: #7c8cff; }
.hero-instrument .cfg-rail { display: flex; align-items: center; gap: 10px; }
.hero-instrument .cfg-games { flex: 1 1 0; min-width: 0; display: flex; gap: var(--gap); overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; overscroll-behavior-x: contain; }
.hero-instrument .cfg-games::-webkit-scrollbar { display: none; }
.hero-instrument .cfg-games[hidden], .hero-instrument .cfg-empty[hidden] { display: none; }
.hero-instrument .cfg-game { flex: 0 0 calc((100% - (var(--per) - 1) * var(--gap)) / var(--per)); height: 112px; scroll-snap-align: start; box-sizing: border-box; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 10px; padding: 16px 8px 8px; border-radius: 10px; border: 2px solid #2a2f3b; background: #0B0D12; color: #eef0f5; text-align: center; cursor: pointer; overflow: hidden; }
.hero-instrument .cfg-game[hidden] { display: none; }
.hero-instrument .cfg-game:focus-visible { outline-offset: -5px; }
.hero-instrument .cfg-game:hover { border-color: #3a4152; }
.hero-instrument .cfg-game[aria-pressed="true"] { border-color: #f0a64a; background: #1d1a14; }
.hero-instrument .cfg-game img, .hero-instrument .cfg-game-fallback { flex: none; width: 40px; height: 40px; border-radius: 8px; object-fit: cover; background: #232835; }
.hero-instrument .cfg-game-fallback { display: grid; place-items: center; font: 700 18px 'Space Grotesk', Inter, sans-serif; color: #f0a64a; }
.hero-instrument .cfg-game-name { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; max-width: 100%; font: 500 13px/1.25 Inter, system-ui, sans-serif; overflow-wrap: break-word; word-break: normal; }
.hero-instrument .cfg-arrow { flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1px solid #2a2f3b; background: #0B0D12; color: #eef0f5; font: 400 24px/1 Inter, system-ui, sans-serif; padding: 0 0 3px; cursor: pointer; }
.hero-instrument .cfg-arrow:hover:not(:disabled) { border-color: #f0a64a; color: #f0a64a; }
.hero-instrument .cfg-arrow:disabled { opacity: .3; cursor: default; }
.hero-instrument .cfg-empty { margin: 0; padding: 28px 12px; text-align: center; border: 1px dashed #2a2f3b; border-radius: 10px; color: #a7adbd; font: 400 14px Inter, system-ui, sans-serif; }
@media (max-width: 1100px) { .hero-instrument .cfg-picker { --per: 4; } }
@media (max-width: 640px) {
  .hero-instrument .cfg-picker { --per: 3; --gap: 8px; }
  .hero-instrument .cfg-search { flex: 1 1 100%; }
  .hero-instrument .cfg-rail { gap: 6px; }
  .hero-instrument .cfg-arrow { width: 30px; height: 30px; font-size: 20px; }
  .hero-instrument .cfg-game { height: 104px; padding: 12px 4px 6px; gap: 8px; }
  .hero-instrument .cfg-game-name { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) { .hero-instrument .cfg-games { scroll-behavior: auto; } }

/* The picker spans the whole panel; sizes/region and the summary sit below it. */
.hero-instrument .cfg-main { display: contents; }
.hero-instrument > h2, .hero-instrument .cfg-main > h2 { flex: 1 1 100%; }
.hero-instrument .cfg-picker { flex: 1 1 100%; }
.hero-instrument .cfg-rest { flex: 2 1 560px; min-width: 0; }
.hero-instrument .cfg-rest .cfg-row { margin: 0; }

/* The header is in the flow here: no extra offset above the hero. */
.design-2026 main:has(> .hero-home) { padding-top: 0; }

/* Compact "Your server" card; the included features sit under size and region. */
.hero-instrument .cfg-rest { display: flex; flex-direction: column; gap: 18px; }
.hero-instrument .cfg-perks { margin: 0; padding: 14px 0 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 20px; border-top: 1px solid #232835; font: 400 14px/1.4 Inter, system-ui, sans-serif; color: #d4d8e2; }
.hero-instrument .cfg-perks li { display: flex; align-items: flex-start; gap: 8px; }
.hero-instrument .cfg-perks li::before { content: ""; flex: none; width: 14px; height: 14px; margin-top: 3px; background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f0a64a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E"); }
.design-2026 .hero-configure .hero-instrument { align-items: stretch; }
.hero-instrument .cfg-summary { gap: 12px; padding: 20px; }
.hero-instrument .cfg-kicker { display: none; }
.hero-instrument .cfg-title { font-size: 18px; }
.hero-instrument .cfg-amount { font-size: 34px; }
@media (max-width: 640px) {
  .hero-instrument .cfg-perks { grid-template-columns: 1fr; }
  .hero-instrument .cfg-rest { gap: 14px; }
  .design-2026 .hero-configure .hero-instrument[hidden] { min-height: 640px; }
}
.hero-configure { padding-bottom: 40px; }
@media (max-width: 640px) { .hero-configure { padding-bottom: 28px; } }
#plans .plan-table td:last-child .plan-some-regions { color: #a7adbd; font-size: 13px; font-weight: 400; }
