/* =====================================================================
   veinhost — voxel/Minecraft theme system (Paymenter-ready prototype)
   All artwork is original pixel/voxel styling. No third-party game assets.
   ===================================================================== */

:root {
  /* bedrock neutrals */
  --bg:        #0f1320;
  --bg-2:      #141a2b;
  --grid:      #1a2034;
  --surface:   #1b2236;
  --surface-2: #232b44;
  --surface-3: #2c3553;
  --fg:        #eef2fb;
  --muted:     #8b95b3;
  --border:    #39415e;
  --border-dk: #20243a;
  --line:      #000;

  /* voxel palette */
  --grass:    #6cbb3c;
  --grass-lt: #93dd5b;
  --grass-dk: #4d8a27;
  --dirt:     #7a5638;
  --dirt-dk:  #55391f;
  --stone:    #828da0;
  --diamond:  #4fd6cc;
  --diamond-dk:#2bb1a7;
  --emerald:  #27d27a;
  --gold:     #ffb73a;
  --gold-dk:  #d98e1c;
  --redstone: #ff4d4d;
  --lava:     #ff7a2e;
  --netherite:#4a3b4d;
  --amethyst: #b07cff;

  /* type */
  --font-display: 'Press Start 2P', ui-monospace, 'Courier New', monospace;
  --font-body:    'VT323', 'Press Start 2P', ui-monospace, monospace;

  /* hard pixel shadows */
  --sh:    6px 6px 0 #000;
  --sh-sm: 4px 4px 0 #000;
  --sh-xs: 3px 3px 0 #000;
  --inset-bevel: inset 4px 4px 0 rgba(255,255,255,.10), inset -4px -4px 0 rgba(0,0,0,.40);

  --wrap: 1200px;
  --radius: 2px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background-color: var(--bg);
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px),
    radial-gradient(120% 90% at 50% -10%, rgba(108,187,60,.10), transparent 60%);
  background-size: 32px 32px, 32px 32px, 100% 100%;
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 21px;
  line-height: 1.4;
  min-height: 100vh;
  -webkit-font-smoothing: none;
  image-rendering: pixelated;
  animation: vh-fade .45s ease both;
}
img, svg { image-rendering: pixelated; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; }

::selection { background: var(--grass); color: #0a1106; }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.section { padding: 72px 0; }
.section.tight { padding: 40px 0; }
.stack > * + * { margin-top: 14px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.hr-pix { height: 4px; border: 0; background: repeating-linear-gradient(90deg, var(--border) 0 8px, transparent 8px 16px); }

/* ---------- typography ---------- */
h1,h2,h3,h4 { font-family: var(--font-display); line-height: 1.25; text-shadow: 3px 3px 0 #000; }
.h-xxl { font-size: clamp(26px, 4.4vw, 46px); }
.h-xl  { font-size: clamp(20px, 3vw, 32px); }
.h-l   { font-size: clamp(16px, 2.1vw, 24px); }
.h-m   { font-size: clamp(13px, 1.5vw, 18px); }
.lead  { font-size: 23px; color: var(--muted); max-width: 60ch; }
.eyebrow {
  font-family: var(--font-display); font-size: 11px; letter-spacing: 2px;
  color: var(--grass-lt); text-transform: uppercase; display: inline-block;
  background: rgba(108,187,60,.12); padding: 8px 12px; border: 3px solid var(--border-dk);
  box-shadow: var(--sh-xs);
}
.psp { font-family: var(--font-display); }
.tnum { font-variant-numeric: tabular-nums; }

/* color text */
.c-grass { color: var(--grass-lt); } .c-diamond { color: var(--diamond); }
.c-gold { color: var(--gold); } .c-red { color: var(--redstone); }
.c-emerald { color: var(--emerald); } .c-amethyst { color: var(--amethyst); }

/* ---------- pixel panels / cards ---------- */
.panel {
  background: var(--surface);
  border: 4px solid var(--line);
  box-shadow: var(--inset-bevel), var(--sh);
  padding: 22px;
}
.panel.flat { box-shadow: var(--inset-bevel), var(--sh-xs); }
.panel.tight { padding: 16px; }

/* Minecraft inventory slot */
.slot {
  width: 56px; height: 56px; flex: none;
  background: #11151f;
  border: 4px solid #000;
  box-shadow: inset 3px 3px 0 rgba(0,0,0,.55), inset -3px -3px 0 rgba(255,255,255,.06);
  display: grid; place-items: center;
}

/* tag / pill / badge */
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-display); font-size: 9px; letter-spacing: 1px;
  text-transform: uppercase; padding: 7px 9px; line-height: 1;
  border: 3px solid #000; box-shadow: var(--sh-xs);
}
.tag.grass { background: var(--grass); color: #0a1106; }
.tag.diamond { background: var(--diamond); color: #06231f; }
.tag.gold { background: var(--gold); color: #2a1700; }
.tag.red { background: var(--redstone); color: #fff; }
.tag.stone { background: var(--surface-3); color: var(--fg); }
.tag.ghost { background: transparent; color: var(--muted); border-color: var(--border); box-shadow: none; }
.badge-dot { width: 9px; height: 9px; background: currentColor; display: inline-block; }

/* ---------- buttons ---------- */
.btn {
  font-family: var(--font-display); font-size: 11px; letter-spacing: 1px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 20px; cursor: pointer; border: 0; line-height: 1;
  background: var(--surface-3); color: var(--fg);
  box-shadow: var(--inset-bevel), var(--sh-xs);
  transition: transform .06s steps(2), box-shadow .06s steps(2);
  text-transform: uppercase; white-space: nowrap;
}
.btn svg { width: 15px; height: 15px; }
.btn:hover { filter: brightness(1.08); }
.btn:active { transform: translate(3px,3px); box-shadow: var(--inset-bevel), 1px 1px 0 #000; }
.btn-grass { background: var(--grass); color: #0a1106; }
.btn-diamond { background: var(--diamond); color: #06231f; }
.btn-gold { background: var(--gold); color: #2a1700; }
.btn-red { background: var(--redstone); color: #fff; }
.btn-ghost { background: var(--surface); color: var(--fg); border: 3px solid var(--border); box-shadow: var(--sh-xs); }
.btn-lg { font-size: 13px; padding: 19px 26px; }
.btn-sm { font-size: 9px; padding: 11px 12px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }

/* ---------- forms ---------- */
.field { display: block; }
.label { font-family: var(--font-display); font-size: 9px; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; display: block; }
.input, .select, .textarea {
  width: 100%; background: #0c1020; color: var(--fg);
  border: 3px solid var(--border-dk); padding: 13px 14px;
  font-size: 20px; box-shadow: inset 3px 3px 0 rgba(0,0,0,.45);
}
.input:focus, .select:focus, .textarea:focus { outline: 3px solid var(--grass); border-color: var(--grass); }
.textarea { resize: vertical; min-height: 120px; }
.input-grp { display: flex; }
.input-grp .input { border-right-width: 1px; }
.input-grp .btn { border: 3px solid var(--border-dk); border-left: 0; }
.check { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-size: 20px; }
.check input { width: 20px; height: 20px; accent-color: var(--grass); }

/* toggle chips (filters) */
.chip {
  font-family: var(--font-display); font-size: 9px; letter-spacing: 1px; text-transform: uppercase;
  padding: 10px 12px; background: var(--surface); border: 3px solid var(--border);
  box-shadow: var(--sh-xs); cursor: pointer; color: var(--muted);
}
.chip[aria-pressed="true"] { background: var(--grass); color: #0a1106; border-color: #000; }
.chip:hover { color: var(--fg); }

/* ---------- header / nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(15,19,32,.92); backdrop-filter: blur(4px);
  border-bottom: 4px solid #000;
  box-shadow: 0 4px 0 rgba(0,0,0,.4);
}
.nav-in { display: flex; align-items: center; gap: 22px; height: 74px; }
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-size: 16px; letter-spacing: 1px; }
.brand .mk { width: 38px; height: 38px; display: block; }
.nav-links { display: flex; align-items: center; gap: 4px; margin-left: 8px; }
.nav-links a {
  font-family: var(--font-display); font-size: 10px; letter-spacing: 1px; text-transform: uppercase;
  padding: 11px 12px; color: var(--muted);
}
.nav-links a:hover, .nav-links a.active { color: var(--grass-lt); background: rgba(108,187,60,.10); }
.nav-end { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.nav-cart { position: relative; }
.nav-cart .count {
  position: absolute; top: -6px; right: -6px; background: var(--redstone); color: #fff;
  font-family: var(--font-display); font-size: 8px; padding: 4px 5px; border: 2px solid #000;
}
.burger { display: none; background: var(--surface-3); border: 3px solid #000; box-shadow: var(--sh-xs); padding: 10px; cursor: pointer; }
.burger span { display: block; width: 22px; height: 3px; background: var(--fg); margin: 4px 0; }

/* ---------- footer ---------- */
.footer { border-top: 4px solid #000; background: linear-gradient(#0c1018, #080b12); margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 36px; padding: 56px 0 40px; }
.footer h4 { font-size: 11px; color: var(--grass-lt); margin-bottom: 16px; }
.footer li { margin-bottom: 10px; font-size: 20px; color: var(--muted); }
.footer li a:hover { color: var(--fg); }
.statusdot { display: inline-block; width: 10px; height: 10px; background: var(--emerald); box-shadow: 0 0 0 3px rgba(39,210,122,.25); animation: pulse 1.8s steps(2) infinite; }
.footer-base { border-top: 3px solid var(--border-dk); padding: 18px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--muted); font-size: 18px; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: 64px 0 56px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero h1 { margin: 22px 0; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin: 26px 0; }
.hero-trust { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 8px; font-family: var(--font-display); font-size: 10px; color: var(--muted); letter-spacing: 1px; }
.hero-trust b { color: var(--grass-lt); }
.hero-art { position: relative; display: grid; place-items: center; min-height: 360px; }
.cube3d { animation: floaty 5s steps(8) infinite; filter: drop-shadow(8px 10px 0 rgba(0,0,0,.45)); }
.console-card { position: absolute; bottom: -8px; left: 50%; transform: translateX(-50%); width: min(420px, 92%); }
.console-log { font-family: var(--font-display); font-size: 9px; line-height: 2; color: var(--grass-lt); }
.console-log .dim { color: var(--muted); }
.cursor-blink::after { content: "▮"; color: var(--grass); animation: blink 1s steps(2) infinite; }

/* ping/location strip */
.ping-row { display: flex; gap: 10px; flex-wrap: wrap; }
.ping { display: inline-flex; align-items: center; gap: 8px; background: var(--surface); border: 3px solid var(--border); padding: 8px 12px; font-size: 18px; box-shadow: var(--sh-xs); }
.ping .ms { font-family: var(--font-display); font-size: 9px; color: var(--grass-lt); }
.bars { display: inline-flex; gap: 2px; align-items: flex-end; height: 14px; }
.bars i { width: 4px; background: var(--grass); }
.bars i:nth-child(1){height:5px} .bars i:nth-child(2){height:8px} .bars i:nth-child(3){height:11px} .bars i:nth-child(4){height:14px}
.bars.warn i:nth-child(4){background:var(--gold)} .bars.warn i:nth-child(3){background:var(--gold)}

/* ---------- pricing cards ---------- */
.tier-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.tier {
  background: var(--surface); border: 4px solid #000; box-shadow: var(--inset-bevel), var(--sh);
  padding: 26px 22px; display: flex; flex-direction: column; gap: 16px; position: relative;
  transition: transform .08s steps(2), box-shadow .08s steps(2);
}
.tier:hover { transform: translate(-3px,-3px); box-shadow: var(--inset-bevel), 9px 9px 0 #000; }
.tier.featured { background: linear-gradient(180deg, rgba(79,214,204,.16), var(--surface) 40%); border-color: var(--diamond-dk); }
.tier .ribbon { position: absolute; top: -14px; right: 16px; }
.tier .icon-slot { margin-bottom: 4px; }
.tier h3 { font-size: 16px; }
.tier .price { font-family: var(--font-display); font-size: 26px; line-height: 1; margin: 4px 0; }
.tier .price small { font-size: 11px; color: var(--muted); display: block; margin-top: 8px; }
.tier ul.spec { display: flex; flex-direction: column; gap: 11px; font-size: 19px; }
.tier ul.spec li { display: flex; gap: 10px; align-items: center; }
.tier ul.spec .ok { color: var(--grass-lt); flex: none; }

/* ---------- feature grid ---------- */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feat { background: var(--surface); border: 4px solid #000; box-shadow: var(--inset-bevel), var(--sh-sm); padding: 26px; }
.feat .ic { width: 52px; height: 52px; display: grid; place-items: center; background: #11151f; border: 3px solid #000; box-shadow: inset 3px 3px 0 rgba(0,0,0,.5); margin-bottom: 18px; }
.feat h3 { font-size: 12px; margin-bottom: 12px; }
.feat p { font-size: 19px; color: var(--muted); }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
.step { position: relative; padding-top: 18px; }
.step .n { font-family: var(--font-display); font-size: 30px; color: var(--grass-dk); -webkit-text-stroke: 2px var(--grass); margin-bottom: 14px; }

/* ---------- meters / health bars ---------- */
.meter { height: 18px; background: #0c1020; border: 3px solid #000; box-shadow: inset 2px 2px 0 rgba(0,0,0,.6); display: flex; gap: 2px; padding: 2px; }
.meter i { flex: 1; background: var(--grass-dk); }
.meter i.on { background: var(--grass); }
.meter.warn i.on { background: var(--gold); }
.meter.crit i.on { background: var(--redstone); }
.meter.diamond i.on { background: var(--diamond); }

.heartbar { display: inline-flex; gap: 2px; }
.heart { width: 16px; height: 16px; }

/* ---------- server cards (dashboard / list) ---------- */
.srv {
  background: var(--surface); border: 4px solid #000; box-shadow: var(--inset-bevel), var(--sh-sm);
  padding: 20px; display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center;
}
.srv .favicon { width: 52px; height: 52px; }
.srv .ip { font-family: var(--font-display); font-size: 10px; color: var(--diamond); letter-spacing: .5px; }
.srv-actions { display: flex; gap: 8px; }
.status-led { font-family: var(--font-display); font-size: 9px; display: inline-flex; align-items: center; gap: 7px; letter-spacing: 1px; text-transform: uppercase; }
.status-led .dot { width: 11px; height: 11px; }
.status-led.online .dot { background: var(--emerald); box-shadow: 0 0 0 3px rgba(39,210,122,.25); animation: pulse 1.8s steps(2) infinite; }
.status-led.offline .dot { background: var(--redstone); }
.status-led.boot .dot { background: var(--gold); animation: pulse 1s steps(2) infinite; }

/* ---------- table ---------- */
.tbl { width: 100%; border-collapse: collapse; }
.tbl th, .tbl td { text-align: left; padding: 14px 16px; border-bottom: 3px solid var(--border-dk); font-size: 19px; }
.tbl th { font-family: var(--font-display); font-size: 9px; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); }
.tbl tr:hover td { background: rgba(108,187,60,.05); }
.tbl .num { font-family: var(--font-display); font-size: 11px; }

/* ---------- tabs ---------- */
.tabs { display: flex; gap: 0; border-bottom: 4px solid #000; flex-wrap: wrap; }
.tab {
  font-family: var(--font-display); font-size: 10px; letter-spacing: 1px; text-transform: uppercase;
  padding: 14px 18px; background: var(--surface); border: 3px solid var(--border); border-bottom: 0;
  box-shadow: var(--sh-xs); cursor: pointer; color: var(--muted); margin-right: 4px;
}
.tab[aria-selected="true"] { background: var(--grass); color: #0a1106; border-color: #000; transform: translateY(2px); }
.tabpanel { padding: 26px 0; }
.tabpanel[hidden] { display: none; }

/* ---------- cart ---------- */
.cart-grid { display: grid; grid-template-columns: 1.5fr .9fr; gap: 28px; align-items: start; }
.qty { display: inline-flex; border: 3px solid #000; box-shadow: var(--sh-xs); }
.qty button { width: 40px; height: 40px; background: var(--surface-3); border: 0; cursor: pointer; font-size: 20px; }
.qty button:hover { background: var(--grass-dk); color: #0a1106; }
.qty span { width: 48px; display: grid; place-items: center; background: #0c1020; font-family: var(--font-display); font-size: 12px; }
.sum-row { display: flex; justify-content: space-between; padding: 10px 0; font-size: 20px; }
.sum-row.total { font-family: var(--font-display); font-size: 16px; border-top: 3px dashed var(--border); margin-top: 8px; padding-top: 16px; }

/* ---------- auth ---------- */
.auth-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; max-width: 920px; margin: 0 auto; }
.auth-perks { background: linear-gradient(160deg, rgba(108,187,60,.16), rgba(79,214,204,.08)); padding: 40px; border: 4px solid #000; border-right-width: 0; box-shadow: var(--inset-bevel); }

/* ---------- dashboard ---------- */
.dash-grid { display: grid; grid-template-columns: 240px 1fr; gap: 28px; align-items: start; }
.side { position: sticky; top: 90px; }
.side a { display: flex; align-items: center; gap: 12px; padding: 13px 14px; font-size: 20px; color: var(--muted); border-left: 4px solid transparent; }
.side a:hover, .side a.active { color: var(--fg); background: var(--surface); border-left-color: var(--grass); }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat { background: var(--surface); border: 4px solid #000; box-shadow: var(--inset-bevel), var(--sh-sm); padding: 20px; }
.stat .k { font-family: var(--font-display); font-size: 9px; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); }
.stat .v { font-family: var(--font-display); font-size: 26px; margin: 12px 0 4px; }
.stat .sub { font-size: 17px; color: var(--muted); }

/* ---------- banner / alert ---------- */
.banner { background: repeating-linear-gradient(45deg, var(--gold) 0 18px, var(--gold-dk) 18px 36px); border-bottom: 4px solid #000; }
.banner .wrap { display: flex; justify-content: center; padding: 10px 24px; }
.banner .txt { background: #0a1106; color: var(--gold); font-family: var(--font-display); font-size: 10px; padding: 9px 16px; letter-spacing: 1px; box-shadow: var(--sh-xs); }
.alert { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border: 3px solid #000; box-shadow: var(--sh-xs); }
.alert.ok { background: rgba(39,210,122,.14); border-color: var(--emerald); }
.alert.info { background: rgba(79,214,204,.12); border-color: var(--diamond-dk); }

/* ---------- animations ---------- */
@keyframes floaty { 0%,100% { transform: translateY(0) rotate(-1deg);} 50% { transform: translateY(-14px) rotate(1deg);} }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }
@keyframes blink { 0%,49% { opacity: 1; } 50%,100% { opacity: 0; } }
@keyframes shimmer { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }
.live { animation: pulse 1.8s steps(2) infinite; }
.shimmer { background: linear-gradient(90deg, transparent, rgba(108,187,60,.25), transparent); background-size: 200% 100%; animation: shimmer 2.5s linear infinite; }

/* ---------- page transitions + scroll reveal (assets/transitions.js) ---------- */
@keyframes vh-fade { from { opacity: 0 } to { opacity: 1 } }
/* Block wipe overlay — coverage is GUARANTEED by TWO stacked opaque layers
   so the page behind can NEVER bleed through, even mid-wave while cells are
   still popping in on the diagonal:
   • .px-wipe       paints an opaque bedrock backdrop over the whole viewport
                    the instant it is appended (before any cell has grown).
   • .px-wipe-grid  paints the SAME opaque bedrock AND overscans the viewport
                    by 4px on every side; cells scale to 1.12 so adjacent
                    blocks overlap ~12%, killing every hairline seam.
   Net effect: at every animation frame every pixel of the viewport is either
   backdrop, grid-bedrock, or a popped block — never transparent. */
.px-wipe {
  position: fixed; inset: 0; z-index: 99990; pointer-events: none;
  background: var(--bg);
}
.px-wipe-grid {
  position: absolute; inset: -4px;
  display: grid;
  grid-template-columns: repeat(18,1fr);
  grid-template-rows: repeat(12,1fr);
  background: var(--bg);
}
.px-wipe-grid i {
  transform: scale(0); transform-origin: center;
  background: var(--grass-dk);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.35);
}
.px-wipe-grid i:nth-child(5n)  { background: var(--grass); }
.px-wipe-grid i:nth-child(7n)  { background: var(--dirt); }
.px-wipe-grid i:nth-child(11n) { background: var(--grass-lt); }
.px-wipe-grid i:nth-child(13n) { background: var(--dirt-dk); }
.px-wipe-go .px-wipe-grid i {
  animation: px-cell .30s steps(2) forwards;
  animation-delay: var(--d, 0ms);
}
@keyframes px-cell {
  0%   { transform: scale(0) }
  60%  { transform: scale(1.12) }
  100% { transform: scale(1.12) }
}

.reveal { opacity: 0; transform: translateY(20px); transition: opacity .55s cubic-bezier(.23,1,.32,1), transform .55s cubic-bezier(.23,1,.32,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal:nth-child(2) { transition-delay: .05s }
.reveal:nth-child(3) { transition-delay: .10s }
.reveal:nth-child(4) { transition-delay: .15s }
.reveal:nth-child(5) { transition-delay: .20s }

@media (prefers-reduced-motion: reduce) {
  body { animation: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .cube3d, .console-card { animation: none !important; }
  .px-wipe { display: none !important; }
}

/* ---------- breadcrumb ---------- */
.crumb { display: flex; gap: 8px; align-items: center; font-family: var(--font-display); font-size: 9px; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); }
.crumb a:hover { color: var(--grass-lt); }
.crumb .sep { color: var(--border); }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .tier-grid { grid-template-columns: repeat(2, 1fr); }
  .feat-grid, .steps { grid-template-columns: repeat(2, 1fr); }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .ping-row { justify-content: center; }
}
@media (max-width: 860px) {
  .nav-links { display: none; }
  .burger { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute; top: 74px; left: 0; right: 0;
    background: var(--bg); border-bottom: 4px solid #000; padding: 12px; gap: 6px; box-shadow: var(--sh);
  }
  .hero-grid, .cart-grid, .auth-grid, .dash-grid { grid-template-columns: 1fr; }
  .auth-perks { border-right: 4px solid #000; border-bottom-width: 0; }
  .side { position: static; }
  .side nav { display: flex; flex-wrap: wrap; gap: 6px; }
  .side nav a { border-left: 0; border-bottom: 4px solid transparent; padding: 11px 12px; }
  .side nav a:hover, .side nav a.active { border-left: 0; border-bottom-color: var(--grass); }
  .hero-art { min-height: auto; display: flex; flex-direction: column; gap: 18px; }
  .hero-art .voxel { width: min(220px, 60%); }
  .console-card { position: static; transform: none; width: 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 52px 0; }
  .lead { font-size: 21px; }
}
@media (max-width: 620px) {
  .panel:has(> table.tbl) { overflow-x: auto; }
  .pm-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 19px; }
  .tier-grid, .feat-grid, .steps, .stat-grid, .footer-grid { grid-template-columns: 1fr; }
  .hero { padding: 32px 0; }
  .srv { grid-template-columns: 1fr; }
  .srv-actions { justify-content: flex-start; }
  .wrap { padding: 0 16px; }
  .btn { min-height: 44px; }
  .chip { min-height: 44px; }
  .section { padding: 40px 0; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }
  .footer-base { flex-direction: column; gap: 8px; text-align: center; }
  .h-xxl { font-size: 26px; }
  .opt .box { min-width: 0; flex: 1; }
}
@media (max-width: 420px) {
  .brand { font-size: 13px; gap: 8px; }
  .brand .mk { width: 30px; height: 30px; }
  .nav-in { gap: 10px; }
  .nav-end { gap: 8px; }
  .nav-cart .count { font-size: 7px; padding: 3px 4px; }
  .lead { font-size: 19px; }
  .eyebrow { font-size: 9px; padding: 6px 9px; }
}
