/* HumbleServers website, v1 of the redesign (2026-10-03): the client area's look on the public site.
   Deep navy surfaces, Humble Blue, game key art, live data in mono, small drawings instead of paragraphs.
   Brand fonts (self-hosted, variable): Plus Jakarta Sans for headings, Inter for text.
   Prefix-free on purpose: this file is only loaded by redesigned pages (index.html first). */

@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 500 800; font-display: swap;
  src: url(/fonts/plus-jakarta-sans/plus-jakarta-sans-700.woff2) format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(/fonts/inter/inter-400.woff2) format('woff2'); }

:root {
  --void: #060a12;          /* the deepest tone: page */
  --deck: #0b111c;          /* raised surfaces */
  --deck-2: #0f1724;
  --hull: rgb(25 34 41);    /* borders */
  --hull-2: rgba(148, 163, 184, 0.16);
  --blue: #0796dd;          /* Humble Blue */
  --blue-deep: #0369a1;
  --sky: #38bdf8;
  --sky-soft: #7dd3fc;
  --green: #4ade80;
  --amber: #f59e0b;
  --red: #ef4444;
  --ink: #f1f5f9;
  --ink-2: #cbd5e1;
  --muted: #94a3b8;
  --faint: #64748b;
  --display: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
  --text: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: ui-monospace, 'SFMono-Regular', 'JetBrains Mono', Menlo, Consolas, monospace;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --out: cubic-bezier(0.16, 1, 0.3, 1);
  --wrap: 1200px;
  --gut: 24px;
  --r: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--void); color: var(--ink); font-family: var(--text); font-size: 16px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--sky); text-decoration: none; }
a:hover { color: var(--sky-soft); }
h1, h2, h3 { font-family: var(--display); margin: 0; color: var(--ink); letter-spacing: -0.025em; line-height: 1.08; text-wrap: balance; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--sky-soft); outline-offset: 3px; border-radius: 6px; }
.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; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 14px; border-radius: 10px; background: var(--blue); color: #fff; font-weight: 600; }
.skip:focus { top: 12px; color: #fff; }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gut) * 2); margin: 0 auto; padding: 0 var(--gut); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px;
  border-radius: 12px; border: 1px solid transparent; font: 600 0.95rem/1 var(--text); white-space: nowrap; cursor: pointer;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 10px 24px -10px rgba(7, 150, 221, 0.75); }
.btn-primary:hover { background: #0aa4f0; color: #fff; transform: translateY(-1px); box-shadow: 0 14px 30px -10px rgba(7, 150, 221, 0.9); }
.btn-ghost { background: rgba(15, 23, 36, 0.6); border-color: var(--hull-2); color: var(--ink); }
.btn-ghost:hover { border-color: rgba(148, 163, 184, 0.36); background: rgba(22, 32, 48, 0.8); color: #fff; }
.btn-lg { height: 52px; padding: 0 26px; font-size: 1.02rem; border-radius: 14px; }
.btn-sm { height: 36px; padding: 0 14px; font-size: 0.88rem; border-radius: 10px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; font: 600 0.74rem/1 var(--mono); letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--sky);
}
.eyebrow::before { content: ''; width: 18px; height: 1px; background: currentColor; opacity: 0.7; }

/* ---------- header: a floating bar, detached from the edges (as on the old site) ---------- */
.nav {
  position: fixed; top: 16px; left: 16px; right: 16px; z-index: 50; max-width: 1280px; margin: 0 auto; border-radius: 18px;
  border: 1px solid var(--hull-2); background: rgba(9, 14, 23, 0.62); -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3);
  box-shadow: 0 10px 30px -18px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.03);
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), top 0.3s var(--ease);
}
.nav.is-solid { top: 10px; background: rgba(9, 14, 23, 0.88); border-color: rgba(148, 163, 184, 0.22); box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.04); }
.nav .wrap { max-width: none; padding: 0 12px 0 20px; }
.nav-in { display: flex; align-items: center; gap: 28px; height: 66px; }
.nav-logo { display: flex; align-items: center; flex-shrink: 0; }
.nav-logo img { height: 38px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; list-style: none; }
.nav-links > li > a, .nav-links > li > button {
  display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 13px; border: 0; border-radius: 10px;
  background: none; color: var(--ink-2); font: 500 0.93rem/1 var(--text); cursor: pointer; transition: color 0.2s, background 0.2s;
}
.nav-links > li > a:hover, .nav-links > li > button:hover, .nav-links > li > button[aria-expanded='true'] { color: #fff; background: rgba(148, 163, 184, 0.08); }
.nav-links .chev { width: 12px; height: 12px; transition: transform 0.25s var(--ease); }
.nav-links button[aria-expanded='true'] .chev { transform: rotate(180deg); }
.nav-end { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.nav-burger { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--hull-2); background: rgba(15, 23, 36, 0.6); color: var(--ink); cursor: pointer; }
.nav-burger svg { width: 20px; height: 20px; margin: auto; }

/* Games menu: every game with its logo and live from-price. */
.has-menu { position: relative; }
.menu {
  position: absolute; left: -12px; top: calc(100% + 10px); width: 560px; padding: 10px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
  border-radius: 16px; border: 1px solid var(--hull-2); background: rgba(9, 14, 23, 0.97); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.8);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  opacity: 0; transform: translateY(-6px); pointer-events: none; visibility: hidden; transition: opacity 0.2s var(--ease), transform 0.25s var(--out), visibility 0s 0.25s;
}
.has-menu.is-open .menu { opacity: 1; transform: none; pointer-events: auto; visibility: visible; transition: opacity 0.2s var(--ease), transform 0.25s var(--out); }
.menu a { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 11px; color: var(--ink); }
.menu a:hover { background: rgba(56, 189, 248, 0.08); color: #fff; }
.menu img { width: 34px; height: 34px; border-radius: 9px; flex-shrink: 0; }
.menu b { display: block; font-weight: 600; font-size: 0.93rem; }
.menu small { display: block; font: 500 0.76rem/1.3 var(--mono); color: var(--muted); }
.menu .menu-all { grid-column: 1 / -1; justify-content: center; margin-top: 4px; border-top: 1px solid var(--hull-2); border-radius: 0 0 10px 10px; color: var(--sky); font-size: 0.88rem; font-weight: 600; }

/* ---------- hero: the message on the left, the worlds as angled slices on the right ---------- */
.hero { position: relative; min-height: min(100svh, 920px); display: flex; align-items: center; padding: 112px 0 64px; overflow: hidden; isolation: isolate; }
.hero::before { /* the brand's blue glow behind the words */
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(48% 60% at 18% 46%, rgba(7, 150, 221, 0.16), transparent 70%),
    radial-gradient(30% 40% at 0% 100%, rgba(56, 189, 248, 0.08), transparent 70%);
}
.hero-in { display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); align-items: center; gap: 40px; }
.hero-copy { position: relative; z-index: 2; max-width: 560px; }
.hero h1 { margin: 22px 0 20px; font-size: clamp(2.6rem, 5.2vw, 4.6rem); font-weight: 800; letter-spacing: -0.04em; line-height: 0.98; }
.hero h1 span { display: block; background: linear-gradient(92deg, #7dd3fc 0%, #38bdf8 40%, #0796dd 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { max-width: 470px; font-size: 1.13rem; line-height: 1.55; color: var(--ink-2); }
.lede b { color: #fff; font-weight: 600; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.proof { display: flex; flex-wrap: wrap; gap: 8px; margin: 34px 0 0; padding: 0; list-style: none; }
.proof li {
  display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 12px; border-radius: 999px;
  border: 1px solid var(--hull-2); background: rgba(11, 17, 28, 0.7); font: 500 0.78rem/1 var(--mono); color: var(--ink-2); white-space: nowrap;
}
.proof li b { color: #fff; font-weight: 700; }
.proof a { color: inherit; }
.proof a:hover { color: #fff; }
.proof .stars { color: #00b67a; letter-spacing: 1px; font-size: 0.82rem; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--faint); flex-shrink: 0; }
.is-up .dot { background: var(--green); box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.6); animation: pulse 2.4s ease-out infinite; }
.is-degraded .dot { background: var(--amber); }
.is-down .dot { background: var(--red); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.55); } 70%, 100% { box-shadow: 0 0 0 7px rgba(74, 222, 128, 0); } }
.ping-ms { color: var(--faint); }
.ping-ms.is-great { color: var(--green); } .ping-ms.is-good { color: #a3e635; } .ping-ms.is-fair { color: #fbbf24; } .ping-ms.is-far { color: #fb923c; }

/* The worlds: one angled window cut into slices, one per game. The one you point at (or the reel's turn) opens
   wide. The window is skewed and each slice's content skewed back, so the art stands upright. */
.worlds {
  --skew: -7deg; position: relative; display: flex; height: min(620px, 70svh); min-height: 460px; margin: 0 calc(var(--gut) * -1 - 7vw) 0 28px;
  padding: 0; list-style: none; overflow: hidden; transform: skewX(var(--skew)); border-radius: 26px;
  border: 1px solid rgba(125, 211, 252, 0.22); background: var(--deck);
  box-shadow: 0 50px 90px -40px rgba(0, 0, 0, 0.9), 0 0 0 6px rgba(56, 189, 248, 0.04);
}
.world {
  position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; border-left: 1px solid rgba(125, 211, 252, 0.32);
  transition: flex-grow 0.8s var(--out), filter 0.6s var(--ease); filter: saturate(0.7) brightness(0.55);
}
.world:first-child { border-left: 0; }
.world > a { position: absolute; top: 0; bottom: 0; left: -30%; right: -30%; display: block; color: #fff; transform: skewX(calc(var(--skew) * -1)); }
.world > a > img {
  position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover;
  transform: scale(1.08); transition: transform 1.6s var(--out);
}
.world > a::after { /* each slice's bottom shade for its label */
  content: ''; position: absolute; inset: 45% 0 0; pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(6, 10, 18, 0.94));
}
.world-tag {
  position: absolute; left: 50%; bottom: 26px; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 8px;
  width: max-content; transform: translateX(-50%); text-align: center; pointer-events: none;
}
.world-tag img { width: 40px; height: 40px; border-radius: 10px; box-shadow: 0 6px 20px rgba(0, 0, 0, 0.55); transition: transform 0.5s var(--out); }
.world-name, .world-from, .world-go { max-height: 0; opacity: 0; overflow: hidden; transition: max-height 0.55s var(--out), opacity 0.35s var(--ease); }
.world-name { font: 700 1.25rem/1.15 var(--display); letter-spacing: -0.015em; text-shadow: 0 2px 12px rgba(0, 0, 0, 0.7); white-space: nowrap; }
.world-from { font: 500 0.82rem/1.3 var(--mono); color: var(--ink-2); white-space: nowrap; }
.world-from b { color: #fff; }
.world-go {
  display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 16px; border-radius: 11px;
  background: var(--blue); font: 600 0.86rem/1 var(--text); color: #fff; box-shadow: 0 10px 24px -10px rgba(7, 150, 221, 0.9);
}
.world-go svg { width: 14px; height: 14px; }
.world.is-on { flex-grow: 3.4; filter: none; }
.world.is-on > a > img { transform: scale(1); }
.world.is-on .world-tag img { transform: scale(1.12); }
.world.is-on .world-name { max-height: 30px; opacity: 1; }
.world.is-on .world-from { max-height: 20px; opacity: 1; }
.world.is-on .world-go { max-height: 36px; opacity: 1; }
/* The reel's progress: a thin bar along the open slice's top. */
.world-bar { position: absolute; left: 0; right: 0; top: 0; height: 3px; z-index: 3; background: var(--sky); transform-origin: left; transform: scaleX(0); box-shadow: 0 0 12px rgba(56, 189, 248, 0.9); }
.world.is-on .world-bar.is-running { animation: reel var(--reel, 4.5s) linear forwards; }
.worlds.is-held .world-bar { animation-play-state: paused; }
@keyframes reel { to { transform: scaleX(1); } }

/* ---------- sections ---------- */
.section { position: relative; padding: 110px 0; }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head h2 { margin-top: 16px; font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 800; letter-spacing: -0.035em; }
.section-head p { margin-top: 14px; font-size: 1.08rem; color: var(--muted); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.rule { height: 1px; background: linear-gradient(90deg, transparent, var(--hull-2) 20%, var(--hull-2) 80%, transparent); }

/* Hardware: the three Minecraft tiers, each with its CPU drawn as a chip. */
.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.tier {
  position: relative; display: flex; flex-direction: column; padding: 26px; border-radius: 20px; border: 1px solid var(--hull-2);
  background: linear-gradient(180deg, rgba(15, 23, 36, 0.9), rgba(9, 14, 23, 0.9)); overflow: hidden;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--out);
}
.tier:hover { border-color: rgba(56, 189, 248, 0.4); transform: translateY(-3px); }
.tier.is-pop { border-color: rgba(56, 189, 248, 0.45); box-shadow: 0 30px 60px -30px rgba(7, 150, 221, 0.55); }
.tier.is-pop::before { content: ''; position: absolute; inset: -1px -1px auto; height: 3px; background: linear-gradient(90deg, var(--blue), var(--sky)); }
.tier-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.tier h3 { font-size: 1.35rem; font-weight: 700; }
.tier-tag { display: inline-flex; height: 24px; align-items: center; padding: 0 10px; border-radius: 999px; font: 600 0.7rem/1 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; }
.tier-tag.blue { color: var(--sky); background: rgba(56, 189, 248, 0.12); border: 1px solid rgba(56, 189, 248, 0.3); }
.tier-tag.quiet { color: var(--muted); background: rgba(148, 163, 184, 0.08); border: 1px solid var(--hull-2); }
.chip-art { position: relative; height: 150px; margin: 22px 0 20px; display: grid; place-items: center; }
.chip-art::before { /* the board's traces */
  content: ''; position: absolute; inset: 10px 0; opacity: 0.55;
  background:
    repeating-linear-gradient(90deg, transparent 0 18px, rgba(56, 189, 248, 0.08) 18px 19px),
    repeating-linear-gradient(0deg, transparent 0 18px, rgba(56, 189, 248, 0.06) 18px 19px);
  -webkit-mask-image: radial-gradient(closest-side, #000 30%, transparent); mask-image: radial-gradient(closest-side, #000 30%, transparent);
}
.cpu {
  position: relative; width: 118px; height: 118px; display: grid; place-content: center; text-align: center; border-radius: 14px;
  background: linear-gradient(145deg, #1b2534, #0e1520); border: 1px solid rgba(148, 163, 184, 0.28);
  box-shadow: 0 0 0 6px rgba(15, 23, 36, 0.9), 0 0 0 7px rgba(148, 163, 184, 0.14), 0 20px 40px -12px rgba(0, 0, 0, 0.8);
}
.cpu::before, .cpu::after { /* the pins */
  content: ''; position: absolute; left: 14px; right: 14px; height: 6px;
  background: repeating-linear-gradient(90deg, rgba(203, 213, 225, 0.5) 0 3px, transparent 3px 8px);
}
.cpu::before { top: -14px; } .cpu::after { bottom: -14px; }
.cpu small { font: 600 0.64rem/1 var(--mono); letter-spacing: 0.14em; color: var(--muted); }
.cpu b { margin-top: 6px; font: 800 1.7rem/1 var(--display); letter-spacing: -0.02em; color: #fff; }
.cpu i { margin-top: 6px; font: 500 0.62rem/1 var(--mono); font-style: normal; color: var(--faint); letter-spacing: 0.08em; }
.tier.is-ryzen .cpu { border-color: rgba(56, 189, 248, 0.5); }
.tier.is-ryzen .cpu b { background: linear-gradient(180deg, #fff, #7dd3fc); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tier.is-ultimate .cpu { box-shadow: 0 0 0 6px rgba(15, 23, 36, 0.9), 0 0 0 7px rgba(56, 189, 248, 0.25), 0 0 40px rgba(56, 189, 248, 0.25), 0 20px 40px -12px rgba(0, 0, 0, 0.8); }
.tier-price { display: flex; align-items: baseline; gap: 6px; }
.tier-price b { font: 800 2.4rem/1 var(--display); letter-spacing: -0.03em; }
.tier-price span { font: 500 0.9rem/1 var(--mono); color: var(--muted); }
.tier-specs { display: grid; gap: 8px; margin: 18px 0 24px; padding: 0; list-style: none; }
.tier-specs li { display: flex; align-items: center; gap: 10px; font-size: 0.93rem; color: var(--ink-2); }
.tier-specs svg { width: 16px; height: 16px; color: var(--sky); flex-shrink: 0; }
.tier .btn { margin-top: auto; }
.tiers-note { margin-top: 18px; text-align: center; font-size: 0.9rem; color: var(--faint); }
.tiers-note a { font-weight: 600; }

/* Bento: what every server comes with, each as a small drawing. */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.cell {
  position: relative; display: flex; flex-direction: column; min-height: 250px; padding: 24px; border-radius: 20px; overflow: hidden;
  border: 1px solid var(--hull-2); background: linear-gradient(180deg, rgba(15, 23, 36, 0.92), rgba(9, 14, 23, 0.92)); color: var(--ink);
  transition: border-color 0.3s var(--ease);
}
a.cell:hover { border-color: rgba(56, 189, 248, 0.38); color: var(--ink); }
.cell-2 { grid-column: span 2; } .cell-3 { grid-column: span 3; } .cell-4 { grid-column: span 4; }
.cell-art { flex: 1; display: grid; place-items: center; min-height: 120px; margin-bottom: 18px; }
.cell h3 { font-size: 1.12rem; font-weight: 700; letter-spacing: -0.015em; }
.cell p { margin-top: 6px; font-size: 0.92rem; color: var(--muted); }
.cell-more { display: inline-flex; align-items: center; gap: 4px; margin-top: 12px; font-size: 0.85rem; font-weight: 600; color: var(--sky); }
.cell-more svg { width: 14px; height: 14px; transition: transform 0.2s var(--ease); }
a.cell:hover .cell-more svg { transform: translateX(3px); }

.addr {
  display: inline-flex; align-items: center; height: 52px; padding: 0 18px; border-radius: 12px; font: 500 1.02rem/1 var(--mono);
  background: #070c15; border: 1px solid rgba(56, 189, 248, 0.45); color: var(--muted); box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.07), 0 16px 40px -18px rgba(7, 150, 221, 0.6);
}
.addr b { color: #fff; font-weight: 600; }
.addr .caret { width: 2px; height: 22px; margin-left: 2px; background: var(--sky); animation: blink 1.05s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.addr-ip { display: block; margin-top: 10px; text-align: center; font: 500 0.78rem/1 var(--mono); color: var(--faint); }

.soft { display: grid; grid-template-columns: repeat(6, 44px); gap: 10px; }
.soft img { width: 44px; height: 44px; padding: 7px; border-radius: 12px; background: #0a101a; border: 1px solid var(--hull-2); object-fit: contain; transition: transform 0.3s var(--out), border-color 0.3s; }
.soft img:nth-child(odd) { transform: translateY(8px); }
a.cell:hover .soft img { border-color: rgba(56, 189, 248, 0.3); }

.timeline { width: 100%; max-width: 320px; }
.tl-day { position: relative; height: 54px; border-radius: 12px; background: repeating-linear-gradient(90deg, rgba(148, 163, 184, 0.12) 0 1px, transparent 1px 8.333%), #070c15; border: 1px solid var(--hull-2); overflow: hidden; }
.tl-now { position: absolute; top: 0; bottom: 0; width: 2px; left: 0; background: var(--sky); box-shadow: 0 0 14px var(--sky); animation: sweep 9s linear infinite; }
.tl-snap { position: absolute; top: 12px; bottom: 12px; width: 26px; margin-left: -13px; border-radius: 8px; display: grid; place-items: center; background: rgba(74, 222, 128, 0.14); border: 1px solid rgba(74, 222, 128, 0.5); color: var(--green); }
.tl-snap svg { width: 14px; height: 14px; }
.tl-labels { display: flex; justify-content: space-between; margin-top: 8px; font: 500 0.72rem/1 var(--mono); color: var(--faint); }
@keyframes sweep { to { left: 100%; } }

.chat { display: grid; gap: 10px; width: 100%; max-width: 300px; }
.bub { display: flex; align-items: center; gap: 10px; max-width: 92%; padding: 10px 14px; border-radius: 16px 16px 16px 6px; background: #0e1724; border: 1px solid var(--hull-2); font-size: 0.86rem; color: var(--ink-2); }
.bub i { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 8px; flex-shrink: 0; background: rgba(56, 189, 248, 0.14); color: var(--sky); font-style: normal; }
.bub i svg { width: 14px; height: 14px; }
.bub.me { justify-self: end; border-radius: 16px 16px 6px 16px; background: rgba(7, 150, 221, 0.18); border-color: rgba(56, 189, 248, 0.35); color: #fff; }
.bub.team i { background: rgba(250, 204, 21, 0.14); color: #facc15; }

.shield { position: relative; width: 120px; height: 120px; display: grid; place-items: center; }
.shield svg { width: 72px; height: 72px; color: var(--sky); filter: drop-shadow(0 0 18px rgba(56, 189, 248, 0.5)); }
.shield::before, .shield::after { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(56, 189, 248, 0.35); animation: ring 3s ease-out infinite; }
.shield::after { animation-delay: 1.5s; }
@keyframes ring { from { transform: scale(0.6); opacity: 1; } to { transform: scale(1.35); opacity: 0; } }

.save { display: flex; align-items: flex-end; gap: 10px; height: 110px; }
.save span { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 8px; font: 600 0.74rem/1 var(--mono); color: var(--muted); }
.save i { display: block; width: 42px; border-radius: 9px 9px 4px 4px; background: linear-gradient(180deg, rgba(56, 189, 248, 0.9), rgba(7, 150, 221, 0.35)); }
.save b { font: 700 0.82rem/1 var(--mono); color: var(--green); }

.slots { font: 800 4.6rem/1 var(--display); letter-spacing: -0.04em; background: linear-gradient(180deg, #fff, #38bdf8); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* The client area, drawn: one server card and its console, the way customers see them. */
.portal { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.portal-copy .checks { display: grid; gap: 12px; margin: 26px 0 30px; padding: 0; list-style: none; }
.checks li { display: flex; align-items: center; gap: 12px; color: var(--ink-2); }
.checks svg { width: 20px; height: 20px; padding: 3px; border-radius: 7px; background: rgba(56, 189, 248, 0.12); color: var(--sky); flex-shrink: 0; }
.stage { position: relative; perspective: 1400px; }
.stage-in { position: relative; transform: rotateY(-9deg) rotateX(4deg); transform-style: preserve-3d; transition: transform 0.8s var(--out); }
.stage:hover .stage-in { transform: rotateY(-4deg) rotateX(2deg); }
.srv {
  position: relative; width: 100%; max-width: 440px; border-radius: 18px; overflow: hidden; border: 1px solid rgba(148, 163, 184, 0.2);
  background: #070c15; box-shadow: 0 50px 80px -30px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(56, 189, 248, 0.08);
}
.srv-art { position: relative; height: 128px; }
.srv-art img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.srv-art::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 12, 21, 0.1), #070c15); }
.srv-state { position: absolute; top: 12px; right: 12px; z-index: 1; display: inline-flex; align-items: center; gap: 7px; height: 26px; padding: 0 10px; border-radius: 999px; background: rgba(6, 10, 18, 0.7); font: 600 0.72rem/1 var(--mono); color: #fff; }
.srv-state .dot { background: var(--green); }
.srv-body { position: relative; margin-top: -34px; padding: 0 18px 18px; }
.srv-id { display: flex; align-items: center; gap: 12px; }
.srv-icon { width: 54px; height: 54px; border-radius: 13px; border: 2px solid #070c15; background: #0b1220; padding: 6px; }
.srv-id b { display: block; font: 700 1.05rem/1.2 var(--display); }
.srv-id small { display: block; font: 500 0.74rem/1.3 var(--mono); color: var(--muted); }
.srv-addr { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 14px 0; height: 36px; padding: 0 12px; border-radius: 10px; background: #0b1220; border: 1px solid var(--hull-2); font: 500 0.8rem/1 var(--mono); color: var(--ink-2); }
.srv-addr em { font-style: normal; color: var(--faint); }
.meters { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.meter { padding: 10px; border-radius: 10px; background: #0b1220; border: 1px solid var(--hull-2); }
.meter small { display: block; font: 600 0.66rem/1 var(--mono); letter-spacing: 0.08em; color: var(--faint); text-transform: uppercase; }
.meter b { display: block; margin: 6px 0 8px; font: 700 0.92rem/1 var(--mono); }
.meter span { display: block; height: 4px; border-radius: 4px; background: rgba(148, 163, 184, 0.14); overflow: hidden; }
.meter span i { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--blue), var(--sky)); }
.srv-acts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.srv-acts span { display: grid; place-items: center; height: 34px; border-radius: 10px; border: 1px solid var(--hull-2); font: 600 0.8rem/1 var(--text); color: var(--ink-2); }
.srv-acts span.blue { background: rgba(7, 150, 221, 0.18); border-color: rgba(56, 189, 248, 0.4); color: #fff; }
.term {
  position: absolute; right: -2%; bottom: -14%; width: 74%; border-radius: 14px; overflow: hidden; border: 1px solid rgba(148, 163, 184, 0.22);
  background: rgba(5, 8, 14, 0.96); box-shadow: 0 40px 70px -24px rgba(0, 0, 0, 0.95); transform: translateZ(60px);
}
.term-bar { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-bottom: 1px solid var(--hull-2); font: 600 0.7rem/1 var(--mono); color: var(--muted); }
.term-bar i { width: 8px; height: 8px; border-radius: 50%; background: #334155; }
.term-bar i:first-child { background: var(--green); }
.term pre { margin: 0; padding: 12px 14px 14px; font: 500 0.74rem/1.65 var(--mono); color: #a5b4c8; white-space: pre-wrap; min-height: 128px; }
.term pre .ok { color: var(--green); } .term pre .hl { color: var(--sky); } .term pre .me { color: #fff; }

/* Reviews: two rows moving opposite ways; a hover holds them. */
.reviews-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.tp { display: flex; align-items: center; gap: 16px; padding: 14px 18px; border-radius: 16px; border: 1px solid var(--hull-2); background: rgba(11, 17, 28, 0.8); color: var(--ink); }
.tp:hover { border-color: rgba(0, 182, 122, 0.5); color: var(--ink); }
.tp-score { font: 800 2.2rem/1 var(--display); letter-spacing: -0.03em; }
.tp-stars { display: flex; gap: 3px; }
.tp-stars i { display: grid; place-items: center; width: 22px; height: 22px; background: #00b67a; color: #fff; }
.tp-stars i svg { width: 14px; height: 14px; }
.tp-stars i.half { background: linear-gradient(90deg, #00b67a 50%, #475569 50%); }
.tp small { display: block; margin-top: 6px; font: 500 0.76rem/1 var(--mono); color: var(--muted); }
.marquee { position: relative; margin-top: 44px; display: grid; gap: 16px; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.mq-row { display: flex; gap: 16px; width: max-content; animation: mq 70s linear infinite; }
.mq-row.rev { animation-direction: reverse; animation-duration: 80s; }
.marquee:hover .mq-row { animation-play-state: paused; }
@keyframes mq { to { transform: translateX(calc(-50% - 8px)); } }
.rv { width: 340px; flex-shrink: 0; padding: 20px; border-radius: 18px; border: 1px solid var(--hull-2); background: linear-gradient(180deg, rgba(15, 23, 36, 0.9), rgba(9, 14, 23, 0.9)); }
.rv q { display: block; font-size: 0.95rem; line-height: 1.55; color: var(--ink-2); quotes: none; }
.rv-who { display: flex; align-items: center; gap: 10px; margin-top: 14px; }
.rv-who i { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; font: 700 0.8rem/1 var(--display); font-style: normal; color: #fff; background: linear-gradient(135deg, var(--blue), #6366f1); }
.rv-who b { font-size: 0.88rem; }
.rv-who small { display: block; font: 500 0.72rem/1.2 var(--mono); color: var(--faint); }
.rv-stars { color: #00b67a; font-size: 0.8rem; letter-spacing: 2px; margin-bottom: 10px; }

/* Guides: search the 500+ answers, or open a shelf. */
.guides { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 48px; align-items: center; }
.search { display: flex; align-items: center; gap: 10px; height: 58px; margin-top: 28px; padding: 0 8px 0 18px; border-radius: 16px; border: 1px solid rgba(56, 189, 248, 0.35); background: #070c15; box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.06); }
.search svg { width: 20px; height: 20px; color: var(--muted); flex-shrink: 0; }
.search input { flex: 1; min-width: 0; height: 100%; border: 0; background: none; color: #fff; font: 500 1rem var(--text); outline: none; }
.search input::placeholder { color: var(--faint); }
.shelves { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.shelf { display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: 16px; border: 1px solid var(--hull-2); background: rgba(11, 17, 28, 0.8); color: var(--ink); transition: border-color 0.25s, transform 0.25s var(--out); }
.shelf:hover { border-color: rgba(56, 189, 248, 0.38); color: var(--ink); transform: translateY(-2px); }
.shelf-ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; flex-shrink: 0; background: rgba(56, 189, 248, 0.1); color: var(--sky); }
.shelf-ico img { width: 30px; height: 30px; border-radius: 7px; }
.shelf-ico svg { width: 22px; height: 22px; }
.shelf b { display: block; font-weight: 600; }
.shelf small { display: block; margin-top: 2px; font: 500 0.76rem/1.2 var(--mono); color: var(--faint); }

/* The last word: every world behind one button. */
.finale { position: relative; margin: 0 var(--gut) 90px; border-radius: 28px; overflow: hidden; isolation: isolate; border: 1px solid rgba(56, 189, 248, 0.25); }
.finale-art { position: absolute; top: 0; bottom: 0; left: -8%; right: -8%; z-index: -2; display: flex; transform: skewX(-7deg); }
.finale-art span { position: relative; flex: 1; overflow: hidden; border-left: 1px solid rgba(125, 211, 252, 0.25); }
.finale-art img { position: absolute; top: 0; bottom: 0; left: -30%; width: 160%; height: 100%; max-width: none; object-fit: cover; transform: skewX(7deg); filter: saturate(0.85); }
.finale::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 90% at 50% 50%, rgba(6, 10, 18, 0.72), rgba(6, 10, 18, 0.94)), linear-gradient(0deg, rgba(7, 150, 221, 0.25), transparent 60%); }
.finale-in { padding: 110px 24px; text-align: center; }
.finale h2 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); font-weight: 800; letter-spacing: -0.04em; }
.finale p { margin: 16px auto 0; max-width: 520px; font-size: 1.1rem; color: var(--ink-2); }
.finale .cta-row { justify-content: center; }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--hull-2); background: #04070d; padding: 64px 0 36px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; }
.foot-brand img { height: 40px; width: auto; }
.foot-brand p { margin-top: 16px; max-width: 280px; font-size: 0.9rem; color: var(--muted); }
.socials { display: flex; gap: 8px; margin-top: 20px; }
.socials a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; border: 1px solid var(--hull-2); color: var(--ink-2); }
.socials a:hover { color: #fff; border-color: rgba(56, 189, 248, 0.4); }
.socials svg { width: 17px; height: 17px; }
.foot h4 { margin: 0 0 14px; font: 600 0.72rem/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); }
.foot ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.foot ul a { color: var(--ink-2); font-size: 0.92rem; }
.foot ul a:hover { color: #fff; }
.foot-base { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--hull-2); font-size: 0.84rem; color: var(--faint); }
.foot-status { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-2); font: 500 0.8rem/1 var(--mono); }

/* ---------- scroll reveal (only once JS says it can) ---------- */
.js .rise { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.8s var(--out); }
.js .rise.is-in { opacity: 1; transform: none; }

/* ---------- narrower screens ---------- */
@media (max-width: 1080px) {
  .nav-links, .nav-end .btn-ghost { display: none; }
  .nav-burger { display: grid; }
  .nav-end { margin-left: auto; }
  .hero-in { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .hero { min-height: 0; padding-top: 120px; }
  .hero-copy { max-width: 640px; }
  .worlds { height: 420px; min-height: 0; margin: 0; border-radius: 22px; --skew: -5deg; }
  .tiers { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cell-2, .cell-3, .cell-4 { grid-column: span 1; }
  .cell.wide-sm { grid-column: span 2; }
  .portal, .guides { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .stage { max-width: 520px; margin: 0 auto 60px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  :root { --gut: 16px; }
  .nav { top: 10px; left: 10px; right: 10px; border-radius: 16px; }
  .nav.is-solid { top: 8px; }
  .nav .wrap { padding: 0 8px 0 14px; }
  .nav-in { height: 60px; }
  .section { padding: 76px 0; }
  .hero { padding: 104px 0 40px; }
  .hero h1 { font-size: clamp(2.4rem, 11vw, 3.2rem); }
  .lede { font-size: 1.02rem; }
  .cta-row .btn { flex: 1 1 auto; }
  .proof li { height: 30px; font-size: 0.72rem; }
  /* The worlds become a row you swipe: tall cards, no skew. */
  .worlds { --skew: 0deg; height: auto; gap: 10px; margin: 0 calc(var(--gut) * -1); padding: 0 var(--gut) 4px; border: 0; border-radius: 0; background: none; box-shadow: none;
    overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .worlds::-webkit-scrollbar { display: none; }
  .world { flex: 0 0 64%; height: 320px; border: 1px solid var(--hull-2); border-radius: 18px; filter: none; scroll-snap-align: center; }
  .world:first-child { border-left: 1px solid var(--hull-2); }
  .world > a { left: 0; right: 0; transform: none; }
  .world > a > img { transform: none; }
  .world .world-name, .world .world-from { max-height: 30px; opacity: 1; }
  .world .world-go { max-height: 36px; opacity: 1; }
  .world-bar { display: none; }
  .bento { grid-template-columns: 1fr; }
  .cell.wide-sm { grid-column: span 1; }
  .shelves { grid-template-columns: 1fr; }
  .term { right: -2%; width: 86%; }
  .finale { margin: 0 var(--gut) 60px; border-radius: 22px; }
  .finale-art { grid-template-columns: repeat(4, 1fr); }
  .finale-in { padding: 76px 20px; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .rv { width: 290px; }
}

/* Mobile menu sheet */
.sheet { position: fixed; inset: 0; z-index: 60; display: none; flex-direction: column; padding: 18px var(--gut) 28px; background: var(--void); overflow-y: auto; }
.sheet.is-open { display: flex; }
.sheet-head { display: flex; align-items: center; justify-content: space-between; height: 44px; }
.sheet-head img { height: 34px; width: auto; }
.sheet-games { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 22px 0; }
.sheet-games a { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 12px; border: 1px solid var(--hull-2); color: var(--ink); font-weight: 600; font-size: 0.92rem; }
.sheet-games img { width: 30px; height: 30px; border-radius: 8px; }
.sheet-links { display: grid; gap: 2px; margin: 0 0 22px; padding: 0; list-style: none; }
.sheet-links a { display: block; padding: 13px 4px; border-bottom: 1px solid var(--hull-2); color: var(--ink); font-weight: 500; }
.sheet .btn { width: 100%; margin-top: 10px; }

@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; }
  .js .rise { opacity: 1; transform: none; }
  .marquee { -webkit-mask-image: none; mask-image: none; padding: 0 var(--gut); }
  .mq-row { animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
  .rv[aria-hidden='true'] { display: none; }
  .tl-now { display: none; }
}
