/* DMZ identity — shared visual system. Commerce and route behavior stay in app.js. */
:root {
  --font-body: system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-display: var(--font-body);
  --line: #ffffff12;
  --line-strong: #ffffff22;
  --accent-soft: #65bfff12;
  --radius: 14px;
  --content-width: 1240px;
}
html { scrollbar-gutter: stable; }
body { background: var(--background); font-size: 1rem; line-height: 1.6; -webkit-font-smoothing: antialiased; }
body::before, .ambient { display: none; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 650; text-wrap: balance; letter-spacing: -.035em; }
button, input, select, textarea { font-family: var(--font-body); }
button, a { -webkit-tap-highlight-color: transparent; }
.glass { background: var(--surface); border: 1px solid var(--line); box-shadow: none; }
.section-kicker, .eyebrow { font: 650 .75rem/1.5 var(--font-body); letter-spacing: .12em; }
.page-shell { padding: 24px 20px 56px; }
.page-shell > .route-view, #shop-view.section-block, #terms-view.section-block, #product-view.section-block { margin-top: 0; }
.section-block { margin-top: 36px; }
.text-link { font: 600 .875rem/1.5 var(--font-body); }

/* Familiar header silhouette, with a quieter brand treatment. */
.site-header { padding: 12px 0; background: #0c111a; border-bottom: 1px solid var(--line); }
.site-header::before, .site-header::after { display: none; }
.header-inner { min-height: 80px; gap: 20px; padding-inline: 20px; }
.brand { gap: 4px; }
.brand-mark { width: 54px; height: 54px; border: 0; border-radius: 0; background-color: transparent; box-shadow: none; animation: none; filter: none; }
.brand-mark::before, .brand-mark::after { display: none; }
.brand-name { font: 750 .75rem/1.4 var(--font-body); letter-spacing: .18em; text-shadow: none; }
.server-chip, .discord-chip { gap: 10px; padding: 8px 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
.server-chip:hover, .discord-chip:hover { background: none; transform: none; box-shadow: none; }
.chip-icon { border: 1px solid var(--line); border-radius: 10px; color: var(--accent-1); background: #ffffff05; box-shadow: none; }
.discord-icon { color: #a7b1ff; background: #7986ff0a; }
.chip-copy strong { font: 600 .875rem/1.4 var(--font-body); }
.chip-copy small { font-size: .75rem; }
.language-switcher { background: #090e16; border: 1px solid var(--line); border-radius: 8px; padding: 4px; gap: 2px; }
.language-option { min-height: 30px; padding: 0 8px; border-radius: 5px; font-size: .75rem; font-weight: 600; letter-spacing: 0; }
.language-option.active { color: var(--text); background: #243448; box-shadow: none; }
.main-nav { background: #0c111af5; box-shadow: none; border-bottom: 1px solid var(--line); }
.nav-inner { min-height: 62px; }
.nav-links { gap: 10px; }
.nav-link { min-height: 44px; padding: 10px 14px; border: 0; border-radius: 7px; font: 550 .875rem/1.4 var(--font-body); }
.nav-link.active, .nav-link:hover { background: #ffffff06; border-color: transparent; transform: none; }
.nav-link::after { left: 14px; right: 14px; bottom: 0; height: 2px; }
.api-state { font-size: .75rem; }
.api-state.ready { display: none; }
.cart-button, .primary-button, .secondary-button, .vip-buy-button, .buy-button {
  min-height: 42px; padding: 10px 16px; border-radius: 8px;
  font: 650 .875rem/1.3 var(--font-body); letter-spacing: 0;
  text-shadow: none; box-shadow: none;
  transition: background-color .18s ease, border-color .18s ease, transform .18s ease;
}
.cart-button, .primary-button, .vip-buy-button, .buy-button { color: #08111b; border: 1px solid transparent; background: var(--accent-1); }
.secondary-button { color: var(--text); border: 1px solid var(--line-strong); background: #ffffff05; }
.cart-button:hover, .primary-button:hover, .vip-buy-button:hover, .buy-button:hover { color: #08111b; background: #a5d9ff; box-shadow: none; filter: none; transform: translateY(-1px); }
.secondary-button:hover { background: #ffffff0b; box-shadow: none; transform: translateY(-1px); }
.cart-button::before, .primary-button::before, .secondary-button::before, .buy-button::before, .vip-buy-button::before,
.cart-button::after, .primary-button::after, .secondary-button::after, .buy-button::after, .vip-buy-button::after { display: none; }
.cart-button b { background: #08111b14; font-size: .75rem; }
.vip-buy-button .button-icon { width: 16px; height: 16px; }
.icon-button { min-width: 40px; min-height: 40px; border-radius: 8px; }

/* Home keeps its hero, downloads and support sections. */
.hero.hero-banner {
  width: 100%; max-width: 100%; min-height: 360px; margin: 0;
  border: 1px solid var(--line-strong); border-radius: 16px;
  background-position: center; box-shadow: none;
}
.hero.hero-banner::before { background: linear-gradient(90deg, #0b1320 12%, #0b1320ed 40%, #0b132033 100%); }
.hero.hero-banner::after, .hero-glow { display: none; }
.hero.hero-banner .hero-content { padding: 48px; max-width: 680px; margin: 0; }
.hero-content h1 { font-size: clamp(2.75rem, 5.5vw, 4.5rem); font-weight: 700; letter-spacing: -.055em; line-height: 1.06; }
.hero-content > p { max-width: 440px; font-size: 1rem; line-height: 1.65; color: #bac7d8; }
.hero-actions { gap: 12px; margin-top: 24px; }
.hero-ip, .hero-ip code { font-size: .8125rem; }
.hero.hero-banner .hero-badge { width: 250px; height: 250px; right: 7%; top: 50%; bottom: auto; transform: translateY(-50%); opacity: 1; }
.hero-logo-stage, .hero-banner-logo { animation: none; filter: none; }
.hero-logo-stage::before, .hero-logo-stage::after { display: none; }
.intro-section { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 24px; padding: 26px 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; margin-top: 12px; background: none; }
.intro-section > .section-kicker, .intro-section h2, .intro-section p { grid-column: 1; }
.intro-store-link { grid-column: 2; grid-row: 1 / 4; align-self: center; }
.intro-section::before, .intro-section::after { display: none; }
.intro-section h2, .section-heading h2, .support-panel h2 { font-size: clamp(1.5rem, 2.5vw, 1.875rem); font-weight: 650; }
.intro-section p, .support-panel p { font-size: 1rem; }
.download-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.download-card, .downloads-page-grid .download-card { padding: 24px; min-height: 172px; border-radius: 12px; background: var(--surface); align-items: start; }
.download-card h3 { font: 650 1rem/1.4 var(--font-body); margin-top: 0; }
.download-card p { font-size: .875rem; line-height: 1.6; }
.download-card.is-pending, .download-card.is-secondary { opacity: 1; }
.download-card .download-icon { border: 0; border-radius: 8px; box-shadow: none; background: var(--accent-soft); }
.support-panel { margin-top: 40px; padding: 24px; border-radius: 12px; }
.support-icon { border: 0; box-shadow: none; background: var(--accent-soft); color: var(--accent-1); }
.downloads-page-hero, .terms-hero { padding: 24px 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: none; box-shadow: none; }
.downloads-page-hero h1, .terms-hero h1 { font-size: clamp(2rem, 4vw, 2.75rem); }
.downloads-page-hero p, .terms-hero > p { font-size: 1rem; }
.downloads-page-mark { border: 0; color: var(--accent-1); box-shadow: none; background: var(--accent-soft); }

/* Categories are navigation, not another oversized promotional card. */
.shop-heading { padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; overflow: visible; }
#shop-view .shop-heading { margin-top: 0; }
.shop-heading::before, .shop-heading::after { display: none; }
.shop-heading > .section-kicker { display: none; }
.shop-heading h1 { margin-top: 6px; font-size: clamp(1.875rem, 3.2vw, 2.5rem); line-height: 1.2; font-weight: 650; }
.shop-heading > p { font-size: .9375rem; line-height: 1.6; margin-top: 6px; }
.shop-heading .shop-section-tabs { margin-top: 22px; padding: 5px; gap: 6px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.shop-heading .shop-section-tab { min-height: 48px; padding: 10px; border: 1px solid transparent; border-radius: 6px; background: transparent; }
.shop-heading .shop-section-tab:hover { background: #ffffff05; border-color: transparent; }
.shop-heading .shop-section-tab.active { background: #79c4ff12; border-color: #6fbfff35; box-shadow: inset 0 -2px var(--accent-1); }
.shop-heading .shop-section-tab > strong { color: var(--muted); font: 600 .9375rem/1.4 var(--font-body); overflow: visible; white-space: normal; }
.shop-heading .shop-section-tab.active > strong { color: #e9f5ff; }
.shop-section-tab::before, .shop-section-tab::after { display: none; }
.shop-section-tab > b { display: none; }
.vip-section-content { gap: 20px; }
.vip-loading { display: grid; place-content: center; justify-items: center; gap: 12px; min-height: 200px; padding: 24px; border-radius: 12px; color: var(--muted); text-align: center; }
.vip-loading p { font-size: .9375rem; }
.vip-loading-icon { width: 24px; height: 24px; }
.vip-loading-spinner { width: 24px; height: 24px; border: 2px solid var(--line-strong); border-top-color: var(--accent-1); border-radius: 50%; }
@media (prefers-reduced-motion: no-preference) {
  .vip-loading-spinner { animation: dmz-loading 1s linear infinite; }
}
@keyframes dmz-loading { to { transform: rotate(360deg); } }
.vip-section-heading { padding: 22px 0 2px; border: 0; background: none; text-align: left; }
.vip-section-heading h2 { font-size: 1.75rem; font-weight: 650; }
.vip-section-heading p { margin: 6px 0 0; margin-inline: 0; max-width: 740px; font-size: .9375rem; line-height: 1.6; color: var(--muted); }
.vip-section-heading-club { width: min(100%, 900px); margin-inline: auto; }
.vip-product-card { border: 1px solid var(--line); border-radius: 12px; background: var(--surface); box-shadow: none; }
.vip-product-card::before, .vip-product-card::after { display: none; }
.vip-product-card:hover { border-color: #6fbfff50; background: #151e2b; box-shadow: 0 10px 28px #00000020; transform: translateY(-2px); }
.vip-product-media, .vip-product-image { background: #0c131e; border: 0; }
.vip-product-image::after { display: none; }
.vip-product-image { height: 150px; }
.vip-product-image img { object-fit: contain; padding: 16px; filter: none; }
.vip-image-placeholder { color: var(--accent-1); filter: none; }
.vip-product-body { padding: 20px; }
.vip-product-body h3 { font-size: 1.125rem; font-weight: 650; line-height: 1.4; overflow-wrap: normal; word-break: normal; }
.vip-product-body .vip-product-summary { font-size: .875rem; line-height: 1.6; margin-top: 8px; }
.vip-product-footer { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 20px; }
.vip-product-price { flex: 1 0 auto; font-size: 1.375rem; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: -.035em; }
.vip-product-price small { font-size: .8125rem; font-weight: 400; line-height: 1.5; letter-spacing: 0; white-space: normal; }
.vip-details-button { padding: 10px 12px; min-height: 42px; border: 1px solid var(--line-strong); border-radius: 8px; background: none; color: var(--muted); font-size: .875rem; font-weight: 550; text-decoration: none; }
.vip-details-button:hover { background: #ffffff05; border-color: #6fbfff50; color: var(--text); transform: none; }
.vip-lumens-amount { border: 0; border-radius: 0; padding: 0; background: none; box-shadow: none; backdrop-filter: none; }
.vip-lumens-amount strong { font-size: 1.375rem; font-weight: 650; }
.vip-lumens-amount small { font-size: .75rem; letter-spacing: .04em; }
.vip-product-grid.vip-product-grid-lumens { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.vip-product-grid.vip-product-grid-lumens .vip-product-card { width: 100%; max-width: none; min-width: 0; }
.vip-product-card-lumens .vip-product-summary { display: none; }
.vip-product-grid-club { width: min(100%, 900px) !important; max-width: 900px !important; grid-template-columns: minmax(0, 1fr) !important; gap: 12px !important; }
.vip-product-grid-club .vip-product-card-featured { grid-template-columns: 170px minmax(0, 1fr) !important; border-color: #6fbfff65; background: #142235; }
.vip-product-grid-club .vip-product-card-featured .vip-product-body { padding: 24px; }
.vip-product-grid-club .vip-product-card-featured .vip-product-body h3 { font-size: 1.375rem; }
.vip-product-eyebrow { color: var(--accent-1); font-size: .75rem; font-weight: 650; letter-spacing: .06em; margin-bottom: 10px; }
.vip-product-grid-club .vip-product-card-secondary { grid-template-columns: 84px minmax(0, 1fr) !important; background: var(--surface); }
.vip-product-grid-club .vip-product-card-secondary .vip-product-body { grid-template-columns: minmax(170px, 1fr) minmax(0, auto) !important; padding: 20px; gap: 18px; }
.vip-product-grid-club .vip-product-card-secondary .vip-product-body h3 { font-size: 1rem; min-height: 0; }
.vip-product-grid-club .vip-product-card-secondary .vip-product-price { font-size: 1.25rem; min-width: 90px; }
.vip-product-grid-club .vip-product-card-secondary .vip-product-price small { font-size: .8125rem; line-height: 1.5; font-weight: 400; }
.vip-product-grid-club .vip-product-card-secondary .vip-product-footer { gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.vip-product-grid-club .vip-product-card-secondary .vip-buy-button { min-height: 42px; padding: 10px 14px; font-size: .875rem; }
.vip-product-grid-club .vip-product-card-secondary .vip-product-image { height: 100%; min-height: 108px; }
.vip-subscription-note { width: min(100%, 900px); margin-inline: auto; padding: 16px 0; border: 0; border-top: 1px solid var(--line); border-radius: 0; background: none; }
.vip-subscription-note p { font-size: .8125rem; line-height: 1.6; }

/* Membership information uses a consistent, legible rhythm. */
.club-benefits { width: min(100%, 900px); padding: 26px; gap: 28px; grid-template-columns: minmax(200px, .8fr) minmax(0, 1.3fr); border: 1px solid var(--line); border-radius: 12px; background: var(--surface); box-shadow: none; }
.club-benefits-intro h3 { margin-bottom: 0; font-size: 1.625rem; font-weight: 650; line-height: 1.2; }
.club-benefits-intro p { font-size: .875rem; line-height: 1.65; }
.club-benefits-choose { font-size: .875rem; font-weight: 600; margin-top: 20px; }
.club-benefit-grid { gap: 0 18px; }
.club-benefit, .club-benefit.is-featured { padding: 12px 0; gap: 10px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: none; box-shadow: none; }
.club-benefit:hover { transform: none; background: none; border-color: var(--line); }
.club-benefit-icon { border: 0; color: var(--accent-1); background: none; box-shadow: none; }
.club-benefit-copy strong, .club-benefit.is-featured .club-benefit-copy strong { font-size: .875rem; font-weight: 600; line-height: 1.45; overflow-wrap: normal; }
.club-benefit-copy small { font-size: .8125rem; font-weight: 400; line-height: 1.5; }
.club-benefit.is-upcoming { opacity: 1; }

/* Rank color identifies the tier; actions and data use a common design. */
.vip-rank-comparison { border-radius: 12px; border-color: var(--line); background: var(--surface); box-shadow: none; }
.vip-rank-comparison .vip-comparison-heading { padding: 24px; background: none; }
.vip-rank-comparison .vip-comparison-heading .section-kicker { display: none; }
.vip-rank-comparison .vip-comparison-heading h2 { font-size: 1.375rem; margin: 0; }
.vip-rank-comparison .vip-comparison-heading p { font-size: .875rem; }
.vip-comparison-hint { display: none; max-width: 24ch; color: var(--muted); font-size: .8125rem; line-height: 1.5; }
.vip-rank-table { min-width: 1180px; }
.vip-rank-table .vip-rank-feature-col, .vip-rank-table tbody th { width: 176px; }
.vip-rank-table thead th.vip-rank-plan-column { border-top-width: 2px; }
.vip-rank-plan { min-height: 258px; padding: 18px 12px; background: linear-gradient(180deg, color-mix(in srgb, var(--rank-color), transparent 93%), transparent 100%); }
.vip-rank-plan-topline { min-height: 24px; gap: 7px; letter-spacing: .04em; font-size: .75rem; font-weight: 550; }
.vip-rank-plan-badge { border: 0; border-radius: 4px; color: var(--text); background: #ffffff10; font-size: .75rem; font-weight: 550; box-shadow: none; }
.vip-rank-plan-name { min-height: 40px; margin-top: 8px; font-size: 1.0625rem; font-weight: 650; line-height: 1.25; color: var(--text); }
.vip-rank-plan-price { color: var(--text); font-size: 1.375rem; font-weight: 650; font-variant-numeric: tabular-nums; letter-spacing: -.03em; }
.vip-rank-plan-price small { color: var(--muted); font-size: .8125rem; font-weight: 400; line-height: 1.4; letter-spacing: 0; }
.vip-rank-buy.vip-buy-button { min-height: 42px; padding: 10px 8px; border: 1px solid #6fbfff25; color: #c8e7ff; background: #243a50; border-radius: 7px; box-shadow: none; }
.vip-rank-buy.vip-buy-button:hover { background: var(--accent-1); color: #08111b; border-color: transparent; box-shadow: none; }
.vip-rank-buy.vip-buy-button span { font-size: .875rem; font-weight: 600; }
.vip-rank-details { min-height: 40px; padding: 9px 8px; color: var(--muted); border: 1px solid var(--line); border-radius: 7px; font-size: .875rem; font-weight: 500; text-decoration: none; }
.vip-rank-details:hover { color: var(--text); border-color: #6fbfff50; background: #ffffff05; }
.vip-rank-feature-head { background: #161e29 !important; }
.vip-rank-feature-head-inner { min-height: 258px; padding: 20px 16px; background: none; }
.vip-rank-feature-head strong { font-size: .9375rem; font-weight: 600; text-transform: none; letter-spacing: 0; }
.vip-rank-feature-head small { font-size: .8125rem; font-weight: 400; }
.vip-rank-feature-mark { border: 0; border-radius: 8px; box-shadow: none; }
.vip-rank-table tbody th, .vip-rank-table tbody td { font: 500 .875rem/1.5 var(--font-body); padding: 14px 12px; }
.vip-rank-table tbody th { background: #131b26; }
.vip-rank-table tbody tr:not(.vip-rank-group-row) td.vip-rank-value { background: #ffffff01; }
.vip-rank-table tbody tr:nth-child(odd):not(.vip-rank-group-row) td.vip-rank-value { background: #ffffff03; }
.vip-rank-table tbody tr:not(.vip-rank-group-row):hover td.vip-rank-value { background: #6fbfff08; }
.vip-rank-table .vip-rank-group-row th { padding: 12px 16px; font-size: .75rem; font-weight: 650; background: #1a2634; letter-spacing: .08em; }
.vip-rank-table .vip-rank-group-row th small { font-size: .75rem; font-weight: 400; letter-spacing: 0; }
.vip-check { color: #85d6b8; background: #85d6b812; }
.vip-cross { color: #8996a8; background: transparent; }
.kit-tooltip { background: #161f2e; border-color: var(--line-strong); border-radius: 12px; box-shadow: 0 18px 50px #0008; }
.kit-tooltip-title { font-size: .875rem; }
.kit-tooltip-text { font-size: .875rem; line-height: 1.6; }

/* Product details, checkout, and footer use the same surfaces and text scale. */
.product-details-panel, .modal-panel, .drawer-panel { background: #121b28; border-color: var(--line-strong); }
.product-details-header, .product-details-footer { background: #ffffff02; }
.product-details-heading h2, .modal-header h2, .drawer-header h2 { font-weight: 650; line-height: 1.3; }
.product-details-price { font-size: 1.125rem; font-weight: 650; }
.product-details-price small, .product-details-heading .section-kicker { font-size: .75rem; }
.product-description-content, .terms-content { font-size: 1rem; line-height: 1.8; }
.product-description-content p, .product-description-content li, .terms-content p, .terms-content li { font-size: 1rem; line-height: 1.75; }
.product-description-content p:empty,
.product-description-content p:has(> br:only-child),
.product-description-content ul > br,
.product-description-content ol > br { display: none; }
.product-description-content ul, .product-description-content ol { display: flex; flex-direction: column; gap: 8px; }
.product-description-content li { margin: 0; }
.terms-content h3 { font-size: 1.25rem; }
.terms-content h4 { font-size: 1.0625rem; }
.terms-content { margin-top: 24px; padding: 32px; }
.terms-content > * { max-width: 800px; margin-inline: auto; }
.terms-content ul, .terms-content ol { padding-left: 24px; }
.terms-content h2 { margin-top: 32px; font-size: 1.5rem; font-weight: 650; }
.terms-content strong { font-weight: 650; }
.terms-notice strong, .terms-notice p { font-size: .875rem; }
.terms-meta { font-size: .75rem; }
.form-field > span, .modal-package-name { font: 600 .9375rem/1.5 var(--font-body); }
.form-field small, .modal-help, .drawer-footer > small { font-size: .8125rem; line-height: 1.5; }
.form-field input, .form-field select { min-height: 46px; font-size: 1rem; border-radius: 8px; }
.form-error, .toast { font-size: .875rem; }
.cart-row-info strong { font: 600 .875rem/1.5 var(--font-body); white-space: normal; }
.cart-row-info small, .cart-row-price { font-size: .8125rem; }
.cart-total { font-size: .9375rem; }
.cart-total strong { font-size: 1.5rem; }
.quantity-button { width: 32px; height: 34px; }
.quantity-input { height: 34px; font-size: 1rem; }
.cart-coupon-input { font-size: 1rem; }
.site-footer { margin-top: auto; border-top: 1px solid var(--line); background: #0b1018; }
.footer-inner { padding: 28px 20px; align-items: center; }
.footer-brand { font: 700 .8125rem/1.5 var(--font-body); letter-spacing: .12em; }
.footer-inner p { font-size: .8125rem; }
.footer-links { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 24px; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); font-size: .875rem; }
.footer-links a:hover { color: var(--text); }

@media (max-width: 1240px) {
  .vip-comparison-hint { display: block; }
}

@media (max-width: 1000px) {
  .header-inner { grid-template-columns: 1fr auto 1fr; grid-template-areas: none; }
  .brand, .server-chip, .header-tools { grid-area: auto; grid-row: auto; grid-column: auto; }
  .header-tools { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
  .header-tools .discord-chip .chip-copy { display: none; }
  .hero.hero-banner .hero-badge { right: 3%; width: 200px; height: 200px; }
  .hero.hero-banner .hero-content { max-width: 68%; padding: 36px; }
  .vip-product-grid.vip-product-grid-lumens { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .site-header { padding: 10px 0; }
  .header-inner { padding-inline: 16px; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: 'brand tools' 'server server'; gap: 8px 12px; }
  .brand { grid-area: brand; display: flex; gap: 8px; text-align: left; }
  .brand-mark { width: 40px; height: 40px; flex: 0 0 40px; }
  .brand-name { font-size: .6875rem; letter-spacing: .08em; max-width: 90px; }
  .server-chip { grid-area: server; width: fit-content; min-height: 32px; padding: 0; gap: 8px; }
  .server-chip .chip-icon { display: none; }
  .server-chip .chip-copy { display: flex; gap: 8px; }
  .server-chip .chip-copy strong, .server-chip .chip-copy small { font-size: .75rem; }
  .header-tools { grid-area: tools; display: flex; gap: 6px; width: auto; flex-wrap: nowrap; }
  .header-tools .discord-chip { min-height: 36px; width: auto; padding: 0; }
  .header-tools .discord-chip .chip-icon { width: 28px; height: 28px; flex-basis: 28px; }
  .language-switcher { min-height: 36px; padding: 2px; gap: 0; }
  .language-icon { display: none; }
  .language-option { min-width: 28px; min-height: 32px; padding: 0 4px; font-size: .75rem; }
  .nav-inner { gap: 8px; padding: 0 12px; min-height: 64px; }
  .nav-links { gap: 0; }
  .nav-link { gap: 4px; padding: 8px 4px; min-height: 52px; font-size: .75rem; }
  .nav-link span { display: block; overflow: visible; text-overflow: clip; }
  .nav-link::after { left: 6px; right: 6px; }
  .api-state { display: none; }
  .cart-button { padding: 10px; min-height: 42px; gap: 6px; }
  .cart-button > span { display: none; }
  .page-shell { padding: 18px 16px 40px; }
  .hero.hero-banner { width: 100%; max-width: 100%; margin: 0; min-height: 340px; border-radius: 12px; }
  .hero.hero-banner .hero-content { max-width: 100%; padding: 28px 24px; }
  .hero.hero-banner::before { background: linear-gradient(90deg, #0b1320fa, #0b1320b8); }
  .hero-content h1 { font-size: clamp(2.5rem, 9vw, 3.5rem); max-width: 80%; }
  .hero-content > p { font-size: 1rem; max-width: 90%; }
  .hero.hero-banner .hero-badge { width: 110px; height: 110px; top: 14px; right: 10px; bottom: auto; transform: none; opacity: .25; }
  .hero-actions .primary-button, .hero-actions .secondary-button { flex: 0 1 auto; min-height: 44px; padding: 10px 14px; font-size: .875rem; white-space: normal; }
  .hero-ip { font-size: .75rem; }
  .intro-section { grid-template-columns: minmax(0, 1fr); padding: 24px 0; }
  .intro-store-link { grid-column: 1; grid-row: auto; justify-self: start; margin-top: 16px; }
  .intro-section p, .support-panel p { font-size: .9375rem; }
  .download-grid { grid-template-columns: 1fr; }
  .download-card, .downloads-page-grid .download-card { min-height: 148px; padding: 20px; }
  .support-panel { flex-wrap: wrap; gap: 14px; padding: 20px; }
  .support-panel > div:nth-child(2) { flex: 1; min-width: 180px; }
  .support-panel .primary-button { margin-left: 0; }
  .shop-heading h1 { font-size: 1.875rem; }
  .shop-heading > p { font-size: .875rem; }
  .shop-heading .shop-section-tabs { gap: 3px; padding: 4px; margin-top: 18px; }
  .shop-heading .shop-section-tab { min-height: 48px; padding: 8px 4px; gap: 5px; }
  .shop-heading .shop-section-tab > strong { font-size: .875rem; }
  .shop-heading .shop-section-tab > .shop-section-icon { display: none; }
  .vip-section-heading { padding-top: 16px; }
  .vip-section-heading h2 { font-size: 1.5rem; }
  .vip-section-heading p { font-size: .875rem; }
  .club-benefits { padding: 20px; gap: 16px; grid-template-columns: 1fr; }
  .club-benefits-intro h3 { font-size: 1.5rem; }
  .club-benefit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 14px; }
  .club-benefit { grid-template-columns: 22px minmax(0, 1fr); gap: 6px; }
  .club-benefit-icon { width: 22px; }
  .vip-product-grid-club .vip-product-card-featured { display: grid !important; grid-template-columns: 84px minmax(0, 1fr) !important; }
  .vip-product-grid-club .vip-product-card-featured .vip-product-body { padding: 18px; }
  .vip-product-grid-club .vip-product-card-featured .vip-product-body h3 { font-size: 1.125rem; }
  .vip-product-grid-club .vip-product-card-secondary { grid-template-columns: 64px minmax(0, 1fr) !important; }
  .vip-product-grid-club .vip-product-card-secondary .vip-product-body { grid-template-columns: minmax(0, 1fr) !important; padding: 16px; gap: 10px; }
  .vip-product-grid-club .vip-product-card-secondary .vip-product-footer { grid-column: 1 !important; grid-row: auto !important; gap: 10px; justify-content: space-between; }
  .vip-product-grid-club .vip-product-card-secondary .vip-product-price { min-width: 0; flex: 1 0 100%; }
  .vip-product-footer { flex-wrap: wrap; }
  .vip-product-price { flex: 1 0 100%; }
  .vip-product-grid-club .vip-product-price { flex-basis: 100%; }
  .vip-rank-comparison .vip-comparison-heading { padding: 20px; }
  .vip-rank-table { min-width: 1180px; }
  .vip-rank-table .vip-rank-feature-col, .vip-rank-table tbody th { width: 150px; }
  .vip-rank-table .vip-rank-group-row th small { float: none; display: block; max-width: 100%; margin-top: 3px; }
  .footer-inner { padding: 24px 16px; flex-wrap: wrap; gap: 16px; }
  .footer-links { gap: 4px 20px; }
  .terms-content { padding: 22px 20px; }
  .vip-rank-comparison .vip-comparison-heading { flex-wrap: wrap; gap: 6px; }
  .vip-comparison-hint { max-width: none; }
}
@media (max-width: 420px) {
  .header-inner { padding-inline: 12px; }
  .header-tools .discord-chip { display: none; }
  .page-shell { padding-inline: 12px; }
  .hero.hero-banner .hero-content { padding: 26px 20px; }
  .nav-links { overflow-x: auto; justify-content: space-between; scrollbar-width: thin; }
  .nav-link { flex: 0 0 auto; padding-inline: 4px; }
  .club-benefit-grid { grid-template-columns: minmax(0, 1fr); }
  .vip-product-grid-club .vip-product-card-featured { grid-template-columns: minmax(0, 1fr) !important; }
  .vip-product-grid-club .vip-product-card-featured .vip-product-image,
  .vip-product-grid-club .vip-product-card-featured .vip-product-media { min-height: 88px; height: 88px; }
  .vip-product-grid-club .vip-product-card-secondary { grid-template-columns: minmax(0, 1fr) !important; }
  .vip-product-grid-club .vip-product-card-secondary .vip-product-media { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media (max-width: 540px) {
  .vip-product-grid.vip-product-grid-lumens { grid-template-columns: minmax(0, 1fr); }
}

/* Finishing pass: optical alignment, interaction states and touch ergonomics. */
:root { --ease-out: cubic-bezier(.2, .7, .25, 1); }
::selection { color: #f4f9ff; background: #36658d; }
:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 2px solid var(--accent-1); outline-offset: 4px;
}
.nav-link:focus-visible, .shop-section-tab:focus-visible { outline-offset: -3px; }
.vip-table-wrap:focus-visible { outline-offset: -3px; }
button:disabled, button[aria-disabled="true"] {
  cursor: not-allowed; opacity: .48; transform: none !important; box-shadow: none !important;
}
.primary-button:disabled:hover, .vip-buy-button:disabled:hover { background: var(--accent-1); }
.nav-link, .shop-section-tab, .language-option, .vip-details-button, .vip-rank-details {
  transition: color .18s ease, background-color .18s ease, border-color .18s ease;
}
.language-option:not(.active):hover { color: var(--text); background: #ffffff09; }
.server-chip:hover .server-icon, .discord-chip:hover .discord-icon,
.support-panel:hover .support-icon { transform: none; box-shadow: none; }
.copy-glyph { transition: color .18s ease; }
.server-chip:hover .copy-glyph { color: var(--accent-1); }
.chip-icon, .copy-glyph, .nav-icon, .shop-section-icon { flex-shrink: 0; }
.hero.hero-banner { border-color: #ffffff16; }
.hero.hero-banner .hero-content { padding-block: 44px; }
.hero-content .eyebrow { color: #aec8df; }
.hero-ip span { color: var(--muted); font-weight: 400; }
.hero-ip code { padding: 4px 8px; border: 1px solid var(--line); border-radius: 5px; background: #ffffff03; font-weight: 500; }
.section-heading { align-items: center; }
.section-heading h2 { margin-top: 5px; }
.download-card::after { display: none; }
.download-card.is-pending .download-icon { color: var(--muted); background: #ffffff05; }
.download-card.is-pending { border-style: solid; }
.download-card h3 { margin-bottom: 6px; }
.support-panel .section-kicker { margin-bottom: 5px; }
.support-panel h2 { margin-top: 0; }
.footer-discord-link { min-height: 44px; display: inline-flex; align-items: center; }

.vip-product-body { min-width: 0; gap: 0; }
.vip-product-body h3 { margin: 0; text-wrap: pretty; }
.vip-product-grid-lumens .vip-product-body { flex: 1; }
.vip-product-grid-lumens .vip-product-body h3 { min-height: 3.1em; }
.vip-product-grid-lumens .vip-product-footer { margin-top: auto; align-items: flex-end; }
.vip-product-grid-lumens .vip-product-image { height: 164px; }
.vip-lumens-amount { margin-bottom: 8px; }
.vip-product-grid-club .vip-product-card-featured .vip-product-footer { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.vip-product-grid-club .vip-product-card-secondary .vip-product-footer { margin: 0; align-items: center; }
.vip-product-grid-club .vip-product-card-secondary .vip-product-body h3 { max-width: 26ch; }
.vip-subscription-note > span { align-self: flex-start; }
.club-benefits-intro { justify-content: flex-start; padding-top: 8px; }
.club-benefits-intro h3 { margin-top: 8px; }
.club-benefits-intro p { margin-top: 12px; }
.club-benefit.is-upcoming { grid-column: 1 / -1; border: 0; padding-bottom: 0; }
.club-benefit.is-upcoming .club-benefit-copy { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.club-benefit.is-upcoming .club-benefit-copy strong { color: var(--muted); font-weight: 500; }
.club-benefit.is-upcoming .club-benefit-icon { color: var(--muted); }
.vip-rank-plan-topline {
  display: grid; grid-template-rows: minmax(24px, auto);
  justify-items: center; align-content: start; gap: 4px; min-height: 24px;
}
.vip-rank-plan-badge { grid-row: 1; align-self: center; }
.vip-rank-plan-name { display: flex; justify-content: center; align-items: center; margin: 6px 0 0; min-height: 36px; }
.vip-rank-plan-price { margin-top: 8px; white-space: nowrap; }
.vip-rank-plan-price small { white-space: normal; }
.vip-rank-plan { min-height: 244px; }
.vip-rank-feature-head-inner { min-height: 244px; }
.vip-rank-plan-actions { gap: 4px; padding-top: 16px; }
.vip-rank-comparison .vip-comparison-heading { padding-block: 18px; }
.vip-rank-table .vip-rank-group-row th > span { position: sticky; left: 16px; display: inline-block; }
.vip-rank-details { display: flex; align-items: center; justify-content: center; min-height: 40px; }
.kit-preview { width: 100px; height: 50px; border-color: var(--line-strong); box-shadow: none; border-radius: 6px; }
.kit-preview img { object-fit: contain; border-radius: 3px; }
.kit-preview:hover, .kit-preview:focus-visible { box-shadow: none; }
.kit-preview:focus-visible { outline: 2px solid var(--accent-1); outline-offset: 3px; }
.kit-tooltip strong { font-size: .8125rem; font-weight: 650; letter-spacing: .04em; }
.kit-tooltip p { font-size: .875rem; font-weight: 400; line-height: 1.65; }
.kit-tooltip-image { border-color: var(--line); box-shadow: none; }
.product-details-scroll, .cart-items, .modal-panel { overscroll-behavior: contain; }
.product-details-heading h2 { margin-block: 5px 6px; }
.product-details-price { display: flex; flex-wrap: wrap; gap: 3px 10px; align-items: baseline; }
.product-details-price small { margin-left: 0; }
.product-description-content li + li { margin-top: 0; }
.product-description-content strong { font-weight: 650; }
.product-details-footer { padding-block: 16px; }
.modal-package-name { padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.form-field input:focus-visible, .form-field select:focus-visible { outline-offset: 2px; }
.terms-consent { padding: 14px; border-radius: 8px; font-size: .875rem; line-height: 1.6; }
.terms-consent input { width: 18px; height: 18px; flex: 0 0 18px; margin-top: 3px; accent-color: var(--accent-1); }
.cart-coupon-label { font-size: .875rem; font-weight: 550; }
.cart-coupon-status, .cart-payment-note { font-size: .8125rem; line-height: 1.5; }
.cart-coupon-button { min-height: 44px; font-size: .875rem; }
.cart-row-price { font-variant-numeric: tabular-nums; white-space: nowrap; }
.drawer-header { align-items: center; }
.drawer-panel { box-shadow: -20px 0 60px #00000030; }
.cart-player { margin: 0 20px; padding: 14px; border: 1px solid #79c4ff28; border-radius: 10px; background: #79c4ff08; }
.cart-player-summary { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; align-items: center; gap: 11px; }
.cart-player-icon { display: grid; width: 36px; height: 36px; place-items: center; border-radius: 9px; color: var(--accent-1); background: #79c4ff12; }
.cart-player-icon .ui-icon { width: 19px; height: 19px; }
.cart-player-copy { display: grid; min-width: 0; line-height: 1.35; }
.cart-player-copy small { color: var(--muted); font-size: .75rem; }
.cart-player-copy strong { overflow: hidden; color: var(--text); font-size: .9375rem; text-overflow: ellipsis; white-space: nowrap; }
.cart-player-copy span { margin-top: 2px; color: var(--muted); font-size: .75rem; line-height: 1.35; }
.cart-player-change { min-height: 36px; padding: 7px 9px; border: 1px solid var(--line-strong); border-radius: 7px; color: var(--accent-1); background: #ffffff05; font: 600 .75rem/1.25 var(--font-body); }
.cart-player-change:hover { border-color: #79c4ff55; background: #79c4ff0d; }
.cart-player-form { display: grid; gap: 9px; }
.cart-player-form label { display: grid; gap: 6px; color: var(--text); font-size: .875rem; font-weight: 600; }
.cart-player-form input { width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid var(--line-strong); border-radius: 8px; color: var(--text); background: #0c131e; font: 500 1rem/1.4 var(--font-body); }
.cart-player-form input:focus { outline: 2px solid #79c4ff55; outline-offset: 1px; border-color: var(--accent-1); }
.cart-player-form > small { color: var(--muted); font-size: .75rem; line-height: 1.45; }
.cart-player-error { margin: 0; color: #ff9daa; font-size: .8125rem; }
.cart-player-actions { display: flex; justify-content: flex-end; gap: 8px; }
.cart-player-cancel, .cart-player-save { min-height: 36px; padding: 7px 11px; border-radius: 7px; font: 600 .8125rem/1.3 var(--font-body); }
.cart-player-cancel { border: 1px solid var(--line-strong); color: var(--muted); background: transparent; }
.cart-player-save { border: 1px solid transparent; color: #08111b; background: var(--accent-1); }
.player-name-field small { color: #b8c5d6; }
@media (max-width: 460px) {
  .cart-player { margin-inline: 14px; }
  .cart-player-summary { grid-template-columns: 34px minmax(0, 1fr); }
  .cart-player-change { grid-column: 2; justify-self: start; }
}
@media (max-width: 1000px) {
  .api-state { display: none; }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .vip-product-image img { transition: transform .28s var(--ease-out); }
  .vip-product-media:hover .vip-product-image img { transform: scale(1.035); }
}
@media (hover: none) {
  .vip-product-card:hover, .download-card:hover, .nav-link:hover { transform: none; }
  .vip-product-card:hover { box-shadow: none; }
}
@media (max-width: 760px) {
  .hero.hero-banner .hero-content { padding-block: 28px; }
  .club-benefits-intro { padding-top: 0; }
  .club-benefits-choose { margin-top: 12px; }
  .club-benefit.is-upcoming .club-benefit-copy { display: block; }
  .vip-rank-table .vip-rank-group-row th small { text-align: left; margin-left: 0; }
  .vip-rank-table .vip-rank-group-row th small { position: sticky; left: 16px; max-width: min(72vw, 420px); }
  .kit-preview { width: 92px; height: 46px; }
  .vip-product-grid-club .vip-product-card-featured .vip-product-footer { margin-top: 12px; padding-top: 14px; }
  .drawer-footer { padding-bottom: max(22px, env(safe-area-inset-bottom)); }
  .product-details-footer { padding-bottom: max(16px, env(safe-area-inset-bottom)); }
  .language-option { min-height: 36px; }
  .product-details-panel { max-height: calc(100dvh - 24px); }
}
@media (max-width: 540px) {
  .vip-product-grid-lumens .vip-product-body h3 { min-height: 0; }
  .vip-product-grid-lumens .vip-product-footer { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
  .vip-product-grid-lumens .vip-product-price { flex: 1 1 auto; }
}

/* Header finish and rank alignment: shared centers, no decorative logo tile. */
.vip-rank-plan-topline {
  width: 100%; grid-template-columns: minmax(0, 1fr);
  justify-content: stretch; justify-items: center; text-align: center;
}
.vip-rank-plan-topline > span { justify-self: center; max-width: 100%; }
.brand-mark.has-logo { background-color: transparent; border: 0; box-shadow: none; }
.site-header {
  background: radial-gradient(ellipse at 50% 0%, #18314a70, transparent 65%), #0c111a;
  border-bottom-color: #93cfff10;
}
.main-nav { background: #0c131df5; border-bottom-color: #93cfff18; }
.server-icon { position: relative; color: #8ddac4; background: #85d6b809; border-color: #85d6b824; }
.server-icon::after {
  content: ""; position: absolute; width: 6px; height: 6px; right: -2px; bottom: -2px;
  border-radius: 50%; background: #85d6b8; border: 2px solid #0c111a; box-sizing: content-box;
}
.brand:hover .brand-mark { box-shadow: none; }
.server-chip .chip-icon, .discord-chip .chip-icon {
  transition: transform .24s var(--ease-out), background-color .24s ease, border-color .24s ease;
}
.vip-rank-plan { transition: background-color .24s ease; }
.shop-heading .shop-section-tab { transition: background-color .22s ease, border-color .22s ease; }
@media (prefers-reduced-motion: no-preference) {
  html:not(.performance-lite) .header-inner { animation: dmz-fade-in .45s ease both; }
  html:not(.performance-lite) .vip-rank-plan { animation: dmz-fade-in .4s ease both; }
  html:not(.performance-lite) .vip-rank-plan-column:nth-child(3) .vip-rank-plan { animation-delay: .035s; }
  html:not(.performance-lite) .vip-rank-plan-column:nth-child(4) .vip-rank-plan { animation-delay: .07s; }
  html:not(.performance-lite) .vip-rank-plan-column:nth-child(5) .vip-rank-plan { animation-delay: .105s; }
  html:not(.performance-lite) .vip-rank-plan-column:nth-child(6) .vip-rank-plan { animation-delay: .14s; }
  html:not(.performance-lite) .vip-rank-plan-column:nth-child(7) .vip-rank-plan { animation-delay: .175s; }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .brand .brand-mark { transition: transform .3s var(--ease-out), filter .3s ease; }
  .brand:hover .brand-mark { transform: translateY(-2px) scale(1.04); filter: drop-shadow(0 3px 8px #63caff35); }
  .server-chip:hover .chip-icon, .discord-chip:hover .chip-icon { transform: translateY(-2px); border-color: #93cfff50; }
  .vip-rank-plan:hover { background-color: #93cfff08; }
}
