/* ==========================================================================
   VirtualCloud — design system v3
   Light-first, editorial, one accent. Dark theme via [data-theme="dark"].
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  --bg: #f5f5f1;
  --bg-2: #efeee9;
  --card: #ffffff;
  --ink: #0b0b0d;
  --ink-2: #34343a;
  --muted: #6b6b73;
  --faint: #707079;
  --line: #e4e3dd;
  --line-2: #d6d5ce;
  --accent: #2b4bff;
  --accent-2: #1f39d6;
  --accent-soft: #e8ecff;
  --grad: linear-gradient(90deg, #2b4bff, #6a2ff0);
  --accent-ink: #ffffff;
  --green: #0f9f58;
  --green-soft: #e3f6ec;
  --red: #e5484d;
  --amber: #e8a317;
  --inv-bg: #0b0b0d;          /* inverted surfaces: primary buttons, featured plan */
  --inv-ink: #ffffff;
  --inv-muted: #a3a3ad;
  --space: #04060d;           /* the "orbit" windows */
  --panel-inv: #0b0b0d;       /* large inverted panels: dark in both themes */
  --panel-inv-ink: #ffffff;
  --panel-inv-muted: #a3a3ad;
  --panel-inv-line: rgba(255, 255, 255, 0.12);
  --map-dot: #c2c1ba;
  --shadow-sm: 0 1px 2px rgba(15, 15, 30, 0.04), 0 2px 6px -2px rgba(15, 15, 30, 0.06);
  --shadow: 0 1px 2px rgba(15, 15, 30, 0.04), 0 12px 32px -14px rgba(15, 15, 30, 0.16);
  --shadow-lg: 0 2px 4px rgba(15, 15, 30, 0.04), 0 30px 70px -24px rgba(15, 15, 30, 0.28);

  --font: "Geist", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Instrument Serif", "Times New Roman", serif;
  --mono: "Geist Mono", "JetBrains Mono", ui-monospace, Consolas, monospace;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --container: 1200px;
  --nav-h: 68px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: light;
}
[data-theme="dark"] {
  --bg: #0a0a0c;
  --bg-2: #0f0f12;
  --card: #131317;
  --ink: #f3f3f0;
  --ink-2: #cacad0;
  --muted: #8e8e98;
  --faint: #8a8a95;
  --line: #222228;
  --line-2: #2d2d35;
  --accent: #7b8cff;
  --accent-2: #9aa7ff;
  --accent-soft: rgba(123, 140, 255, 0.12);
  --grad: linear-gradient(90deg, #7b8cff, #a57bff);
  --accent-ink: #0a0a0c;
  --green: #3ccf8a;
  --green-soft: rgba(60, 207, 138, 0.12);
  --inv-bg: #f3f3f0;
  --inv-ink: #0a0a0c;
  --inv-muted: #5a5a63;
  --map-dot: #3a3a44;
  --panel-inv: #181a24;
  --panel-inv-ink: #f3f3f0;
  --panel-inv-muted: #a0a0ac;
  --panel-inv-line: rgba(123, 140, 255, 0.28);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow: 0 12px 32px -14px rgba(0, 0, 0, 0.7);
  --shadow-lg: 0 30px 70px -24px rgba(0, 0, 0, 0.8);
  color-scheme: dark;
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink-2);
  font-family: var(--font); font-size: 16.5px; line-height: 1.6; letter-spacing: -0.006em;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: clip;
  transition: background 0.4s, color 0.4s;
}
img, svg, video, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); font-weight: 560; letter-spacing: -0.035em; line-height: 1.05; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
strong { color: var(--ink); font-weight: 600; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); 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; }
.ic { width: 1.2em; height: 1.2em; flex: none; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
main { overflow-x: clip; }

/* serif italic accent inside headings — the signature of the brand */
h1 em, h2 em, h3 em, .serif { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; color: var(--accent); }
h1 em, h2 em { font-size: 1.08em; line-height: 0.9; }
.grad-text { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--accent); letter-spacing: -0.01em; }

/* ---------- 3. Layout ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
/* one fluid rhythm: about 112px a side on wide screens, 104 at 1366, 88 at 1024 and 72 on phones
   (a fixed 128px left about 256px of air between two sections on a laptop) */
.section { position: relative; padding: clamp(72px, calc(4.5vw + 42px), 112px) 0; }
.section--tight { padding: clamp(52px, calc(2.5vw + 36px), 72px) 0; }
.center { text-align: center; }
.section-head { max-width: 760px; margin: 0 auto 64px; text-align: center; }
.section-head--left { margin-left: 0; text-align: left; }
.section-head h2 { text-wrap: balance; font-size: clamp(2.1rem, 4.3vw, 3.5rem); margin: 18px 0 18px; letter-spacing: -0.045em; line-height: 1.02; }
.section-head p { color: var(--muted); font-size: 1.12rem; max-width: 620px; margin: 0 auto; }
.section-head--left p { margin: 0; }
.muted { color: var(--muted); }

.eyebrow, .chip {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted);
}
.eyebrow::before, .chip::before { content: ""; width: 18px; height: 1px; background: currentColor; opacity: 0.6; }
.chip__dot { display: none; }

/* ---------- 4. Announcement & navigation ---------- */
.announce { position: relative; z-index: 60; background: var(--inv-bg); color: var(--inv-ink); font-size: 0.86rem; text-align: center; padding: 9px 48px; }
.announce strong { color: inherit; }
.announce a { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.announce__close { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; color: var(--inv-muted); }
.announce__close:hover { color: var(--inv-ink); }
.announce.is-hidden { display: none; }

.nav { position: sticky; top: 0; z-index: 100; height: var(--nav-h); border-bottom: 1px solid transparent; transition: background 0.3s, border-color 0.3s; }
.nav.is-scrolled { background: color-mix(in srgb, var(--bg) 82%, transparent); -webkit-backdrop-filter: blur(14px) saturate(160%); backdrop-filter: blur(14px) saturate(160%); border-bottom-color: var(--line); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: "Lexend", var(--font); font-weight: 600; font-size: 1.2rem; letter-spacing: -0.035em; color: var(--ink); }
.logo b { font-weight: 600; color: var(--accent); }
.logo__mark { width: 32px; height: 32px; flex: none; overflow: visible; transition: transform 0.6s var(--ease); }
.logo:hover .logo__mark { transform: rotate(-8deg) scale(1.06); }

.nav__links { display: flex; align-items: center; gap: 2px; }
.nav__link { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; font-size: 0.94rem; font-weight: 500; color: var(--ink-2); transition: color 0.2s, background 0.2s; }
.nav__link:hover, .nav__item.is-open > .nav__link { color: var(--ink); background: var(--bg-2); }
.nav__link.is-active { color: var(--ink); }
.nav__link svg { width: 14px; height: 14px; transition: transform 0.3s var(--ease); }
.nav__item { position: relative; }
.nav__item.is-open > .nav__link svg { transform: rotate(180deg); }

.mega {
  position: absolute; top: calc(100% + 12px); left: 50%; width: 600px; padding: 10px;
  display: grid; grid-template-columns: 1fr 200px; gap: 10px;
  background: var(--card); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-lg);
  transform: translate(-50%, 8px); opacity: 0; visibility: hidden; transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
}
.mega::before { content: ""; position: absolute; inset: -14px 0 auto; height: 14px; }
.nav__item.is-open .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega__list { display: grid; gap: 2px; }
.mega__card { display: flex; align-items: center; gap: 14px; padding: 12px; border-radius: 12px; transition: background 0.2s; }
.mega__card:hover { background: var(--bg); }
.mega__icon { width: 40px; height: 40px; flex: none; border-radius: 10px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.mega__icon svg { width: 20px; height: 20px; }
.mega__card strong { display: block; font-size: 0.96rem; }
.mega__card small { color: var(--muted); font-size: 0.82rem; }
.mega__card em { margin-left: auto; font-style: normal; font-family: var(--mono); font-size: 0.76rem; color: var(--muted); white-space: nowrap; }
.mega__aside { border-radius: 14px; padding: 16px; background: var(--bg); display: flex; flex-direction: column; justify-content: space-between; gap: 12px; }
.mega__aside h4 { font-size: 1rem; letter-spacing: -0.02em; }
.mega__aside p { font-size: 0.84rem; color: var(--muted); margin-top: 6px; }
.mega__aside a { font-size: 0.88rem; font-weight: 600; color: var(--accent); }

.nav__actions { display: flex; align-items: center; gap: 8px; }
.nav__login { font-size: 0.94rem; font-weight: 500; padding: 8px 12px; color: var(--ink-2); }
.nav__login:hover { color: var(--ink); }
.theme-toggle { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: var(--ink-2); border: 1px solid var(--line); transition: background 0.2s, color 0.2s; }
.theme-toggle:hover { color: var(--ink); background: var(--bg-2); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .i-moon { display: none; }
[data-theme="dark"] .theme-toggle .i-sun { display: none; }
[data-theme="dark"] .theme-toggle .i-moon { display: block; }
.nav__burger { display: none; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line); position: relative; }
.nav__burger span { position: absolute; left: 12px; right: 12px; height: 1.6px; background: var(--ink); border-radius: 2px; transition: transform 0.3s var(--ease), top 0.3s var(--ease); }
.nav__burger span:nth-child(1) { top: 16px; }
.nav__burger span:nth-child(2) { top: 24px; }
.nav__burger[aria-expanded="true"] span:nth-child(1) { top: 20px; transform: rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { top: 20px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 90; padding: calc(var(--nav-h) + 60px) 24px 32px; overflow-y: auto;
  background: var(--bg); display: flex; flex-direction: column;
  opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; transform: none; }
.mobile-menu > a { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 2px; border-bottom: 1px solid var(--line); font-size: 1.6rem; font-weight: 540; letter-spacing: -0.035em; color: var(--ink); }
.mobile-menu > a small { font-family: var(--mono); font-size: 0.78rem; color: var(--muted); font-weight: 400; letter-spacing: 0; }
.mobile-menu > a.is-active { color: var(--accent); }
.mobile-menu__cta { margin-top: 28px; display: grid; gap: 10px; }
html:has(body.menu-open), html:has(body.is-locked) { overflow: hidden; }

.scroll-progress { position: fixed; top: 0; left: 0; height: 2px; width: 100%; z-index: 1001; background: var(--accent); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- 5. Buttons & small parts ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 560; font-size: 0.97rem; letter-spacing: -0.01em; white-space: nowrap;
  transition: background 0.25s, color 0.25s, border-color 0.25s, box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}
.btn svg { width: 17px; height: 17px; transition: transform 0.3s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--sm { height: 38px; padding: 0 16px; font-size: 0.9rem; }
.btn--lg { height: 54px; padding: 0 28px; font-size: 1.02rem; }
.btn--block { width: 100%; }
.btn--primary { background: var(--inv-bg); color: var(--inv-ink); }
.btn--primary:hover { background: var(--accent); color: #fff; box-shadow: 0 10px 24px -10px color-mix(in srgb, var(--accent) 70%, transparent); }
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { background: var(--accent-2); }
[data-theme="dark"] .btn--accent { color: var(--accent-ink); }
.btn--ghost { background: var(--card); color: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--white { background: #fff; color: #0b0b0d; }
.btn--white:hover { background: var(--accent); color: #fff; }
.link { color: var(--accent); font-weight: 560; }
.link:hover { text-decoration: underline; text-underline-offset: 3px; }

.badge { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: 0.74rem; font-weight: 560; background: var(--bg-2); color: var(--muted); border: 1px solid var(--line); }
.badge--hot { background: var(--accent); color: #fff; border-color: transparent; }
.badge--green { background: var(--green-soft); color: var(--green); border-color: transparent; }

.check-list { display: grid; gap: 11px; }
.check-list li { display: flex; gap: 11px; align-items: flex-start; font-size: 0.95rem; color: var(--ink-2); }
.check-list svg { width: 19px; height: 19px; flex: none; margin-top: 2px; color: var(--accent); }
.check-list li.is-off { color: var(--faint); }
.check-list li.is-off svg { color: var(--faint); }

.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); display: inline-block; flex: none; box-shadow: 0 0 0 0 color-mix(in srgb, var(--green) 60%, transparent); animation: ping 2s infinite; }
@keyframes ping { 70%, 100% { box-shadow: 0 0 0 8px transparent; } }

.card, .glass { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }

/* hover glow that follows the cursor — kept very soft */
.spotlight { position: relative; isolation: isolate; --mx: 50%; --my: 50%; }
.spotlight::before { content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1; pointer-events: none; background: radial-gradient(360px circle at var(--mx) var(--my), color-mix(in srgb, var(--accent) 7%, transparent), transparent 60%); opacity: 0; transition: opacity 0.4s; }
.spotlight:hover::before { opacity: 1; }
.tilt { transition: transform 0.6s var(--ease); }

/* ---------- 6. Hero ---------- */
.hero { position: relative; padding: 56px 0 0; text-align: center; }
.hero__inner { display: flex; flex-direction: column; align-items: center; }
.hero__news { display: inline-flex; align-items: center; gap: 10px; padding: 5px 6px 5px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); font-size: 0.86rem; color: var(--ink-2); box-shadow: var(--shadow-sm); transition: border-color 0.2s; }
.hero__news:hover { border-color: var(--line-2); }
.hero__news b { font-weight: 560; color: var(--ink); }
.hero__news span { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-weight: 560; font-size: 0.8rem; }
.hero__news span svg { width: 13px; height: 13px; }
.hero__title { font-size: clamp(2.9rem, 7.2vw, 6.4rem); line-height: 0.98; letter-spacing: -0.055em; font-weight: 540; margin: 26px 0 22px; }
.hero__title .line { display: block; }
.hero__lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--muted); max-width: 600px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero__trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin-top: 22px; font-size: 0.88rem; color: var(--muted); }
.hero__trust span { display: inline-flex; align-items: center; gap: 7px; }
.hero__trust svg { width: 16px; height: 16px; color: var(--green); }

.rotator { position: relative; display: inline-block; }
.rotator__word { display: inline-block; padding: 0 0.04em 0.06em; }
.rotator__word.is-out { animation: wordOut 0.4s var(--ease) forwards; }
.rotator__word.is-in { animation: wordIn 0.6s var(--ease) forwards; }
@keyframes wordOut { to { opacity: 0; transform: translateY(-0.25em); filter: blur(6px); } }
@keyframes wordIn { from { opacity: 0; transform: translateY(0.3em); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }

.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 0.04em 0.12em; margin: 0 -0.04em -0.12em; }
.split .w > span { display: inline-block; transform: translateY(108%); transition: transform 1s var(--ease); transition-delay: calc(var(--i) * 45ms + 80ms); }
.split.is-visible .w > span { transform: none; }

.domain-search { margin-top: 32px; width: 100%; max-width: 620px; }
.domain-search__box { display: flex; align-items: center; gap: 8px; padding: 6px 6px 6px 18px; border-radius: 999px; background: var(--card); border: 1px solid var(--line-2); box-shadow: var(--shadow); transition: border-color 0.2s, box-shadow 0.2s; }
.domain-search__box:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 15%, transparent), var(--shadow); }
.domain-search__box > svg { width: 19px; height: 19px; color: var(--faint); flex: none; }
.domain-search__box input { flex: 1; min-width: 0; height: 44px; background: none; border: 0; outline: none; font-size: 1rem; color: var(--ink); }
.domain-search__box input::placeholder { color: var(--faint); }
.domain-search__tlds { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 14px; margin-top: 14px; font-family: var(--mono); font-size: 0.8rem; color: var(--faint); }
.domain-search__tlds b { color: var(--ink-2); font-weight: 500; }

/* the orbit window — a dark view of Earth set into the light page */
.orbit { padding: 56px 16px 0; }
.orbit__window {
  position: relative; max-width: 1360px; margin: 0 auto; height: clamp(380px, 52vw, 660px); border-radius: 28px; overflow: hidden;
  background: radial-gradient(120% 90% at 70% 0%, #0d1838 0%, #060a18 45%, var(--space) 100%);
  box-shadow: 0 50px 110px -50px rgba(10, 20, 60, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
  transform: scale(var(--os, 1)); transform-origin: 50% 0; touch-action: pan-y; cursor: grab; color: #fff;
}
.orbit__window.is-dragging { cursor: grabbing; }
.orbit__canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; opacity: 0; transition: opacity 1.4s var(--ease); }
.orbit__window.is-ready .orbit__canvas { opacity: 1; }
.orbit__labels { position: absolute; inset: 0; pointer-events: none; }
.orbit__label { position: absolute; left: 0; top: 0; margin: -12px 0 0 10px; display: inline-flex; align-items: center; gap: 7px; padding: 4px 10px 4px 8px; border-radius: 999px; font-size: 0.76rem; font-weight: 500; letter-spacing: 0; color: #fff; background: rgba(8, 12, 28, 0.62); border: 1px solid rgba(255, 255, 255, 0.12); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); white-space: nowrap; will-change: transform, opacity; opacity: 0; }
.orbit__label i { width: 6px; height: 6px; border-radius: 50%; background: #9db0ff; box-shadow: 0 0 8px #9db0ff; }
.orbit__ui { position: absolute; inset: 0; padding: 28px; display: flex; flex-direction: column; justify-content: space-between; pointer-events: none; }
.orbit__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; }
.orbit__title { text-align: left; }
.orbit__title .eyebrow { color: rgba(255, 255, 255, 0.6); }
.orbit__title p { margin-top: 8px; font-size: 1.05rem; color: rgba(255, 255, 255, 0.9); letter-spacing: -0.02em; }
.orbit__hint { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255, 255, 255, 0.5); display: inline-flex; align-items: center; gap: 8px; }
.orbit__stats { display: flex; flex-wrap: wrap; gap: 10px; }
.orbit__stat { text-align: left; padding: 12px 16px; border-radius: 14px; background: rgba(8, 12, 28, 0.55); border: 1px solid rgba(255, 255, 255, 0.1); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.orbit__stat small { display: block; font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255, 255, 255, 0.55); }
.orbit__stat b { display: block; font-size: 1.25rem; font-weight: 560; letter-spacing: -0.03em; color: #fff; margin-top: 2px; }

.orbit__window--terrain { background: radial-gradient(55% 60% at 50% -8%, rgba(86, 140, 255, 0.55), rgba(40, 80, 200, 0.18) 45%, transparent 70%), linear-gradient(180deg, #0a1534 0%, #050a1c 55%, #03060f 100%); }
.orbit__scale { position: absolute; right: 26px; top: 76px; bottom: 96px; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-end; pointer-events: none; font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.04em; color: rgba(255, 255, 255, 0.42); }
.orbit__scale span { display: inline-flex; align-items: center; gap: 8px; }
.orbit__scale span::after { content: ""; width: 10px; height: 1px; background: rgba(255, 255, 255, 0.35); }
@media (max-width: 640px) { .orbit__scale { display: none; } }

/* ---------- 7. Logo strip ---------- */
.marquee { position: relative; overflow: hidden; padding: 6px 0; -webkit-mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__label { text-align: center; font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); margin-bottom: 22px; }
.marquee__track { display: flex; width: max-content; gap: 56px; animation: marquee 45s linear infinite; }
.marquee__item { display: inline-flex; align-items: center; gap: 10px; font-size: 1.3rem; font-weight: 560; letter-spacing: -0.035em; color: var(--faint); white-space: nowrap; transform: skewX(var(--skew, 0deg)); transition: color 0.2s; }
.marquee__item:hover { color: var(--ink); }
.marquee__item svg { width: 20px; height: 20px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- 8. Statement (words light up on scroll) ---------- */
.statement { padding: 140px 0; }
.scrub { font-size: clamp(1.9rem, 4.2vw, 3.6rem); font-weight: 520; line-height: 1.14; letter-spacing: -0.045em; max-width: 1060px; margin: 0 auto; text-align: center; color: var(--ink); }
.scrub .sw { opacity: 0.16; transition: opacity 0.35s; }
.scrub .sw.is-lit { opacity: 1; }
.scrub em .sw { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--accent); }

/* ---------- 9. Product showcase ---------- */
.showcase__grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 72px; align-items: start; }
.showcase__sticky { position: sticky; top: calc(var(--nav-h) + 30px); min-height: calc(100vh - var(--nav-h) - 60px); display: flex; flex-direction: column; justify-content: center; gap: 26px; }
.showcase__nav { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--bg-2); border: 1px solid var(--line); width: max-content; }
.showcase__tab { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; color: var(--muted); font-weight: 520; font-size: 0.88rem; transition: color 0.25s, background 0.25s, box-shadow 0.25s; }
.showcase__tab span { font-family: var(--mono); font-size: 0.72rem; color: var(--faint); }
.showcase__tab:hover { color: var(--ink); }
.showcase__tab.is-active { color: var(--ink); background: var(--card); box-shadow: var(--shadow-sm); }
.showcase__progress { height: 2px; border-radius: 2px; background: var(--line); overflow: hidden; }
.showcase__progress span { display: block; height: 100%; background: var(--accent); transform-origin: 0 50%; transform: scaleX(0); }
.showcase__texts { display: grid; }
.showcase__text { grid-area: 1 / 1; opacity: 0; transform: translateY(24px); pointer-events: none; transition: opacity 0.5s var(--ease), transform 0.7s var(--ease); }
.showcase__text.is-active { opacity: 1; transform: none; pointer-events: auto; }
.showcase__text .num, .showcase__panel-text .num { font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.showcase__text h3, .showcase__panel-text h3 { font-size: clamp(2.3rem, 4vw, 3.5rem); letter-spacing: -0.05em; font-weight: 540; margin: 12px 0 16px; }
.showcase__text p, .showcase__panel-text p { color: var(--muted); font-size: 1.08rem; max-width: 460px; }
.showcase__text .check-list { margin: 24px 0 30px; }
.showcase__foot { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.showcase__panels { display: grid; gap: 12vh; padding: 8vh 0; }
.showcase__panel { min-height: 70vh; display: grid; place-items: center; }
.showcase__card { position: relative; width: 100%; aspect-ratio: 1 / 0.9; border-radius: 28px; overflow: hidden; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); transform: scale(0.94); opacity: 0.5; transition: transform 0.8s var(--ease), opacity 0.8s var(--ease), box-shadow 0.8s; }
.showcase__card::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 32px 32px; -webkit-mask: radial-gradient(70% 65% at 50% 50%, #000 20%, transparent 75%); mask: radial-gradient(70% 65% at 50% 50%, #000 20%, transparent 75%); opacity: 0.7; }
.showcase__panel.is-active .showcase__card { transform: none; opacity: 1; box-shadow: var(--shadow-lg); }
.showcase__panel-text { display: none; }
.price-from small { display: block; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); }
.price-from strong { font-size: 2rem; font-weight: 560; letter-spacing: -0.045em; }
.price-from span { color: var(--muted); font-size: 0.92rem; }

/* illustrations */
.ill { position: absolute; inset: 0; display: grid; place-items: center; perspective: 1200px; }
.ill__glow { position: absolute; width: 58%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--accent) 16%, transparent), transparent 65%); filter: blur(10px); }
.ill__floor { position: absolute; bottom: 15%; width: 50%; height: 34px; border-radius: 50%; background: radial-gradient(closest-side, rgba(10, 15, 40, 0.22), transparent); filter: blur(6px); }
.iso { position: relative; width: 56%; aspect-ratio: 1.25; transform: rotateX(56deg) rotateZ(-38deg); transform-style: preserve-3d; }
.win { position: absolute; inset: 0; border-radius: 14px; overflow: hidden; background: var(--card); border: 1px solid var(--line-2); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset, -20px 30px 40px -10px rgba(15, 20, 50, 0.18); transform: translateZ(var(--z)); animation: winFloat 7s ease-in-out infinite; animation-delay: var(--d, 0s); }
@keyframes winFloat { 50% { transform: translateZ(calc(var(--z) + 16px)); } }
.win--1 { --z: 120px; }
.win--2 { --z: 60px; --d: -1.4s; }
.win--3 { --z: 0px; --d: -2.8s; }
.win__bar { display: flex; gap: 6px; padding: 9px 11px; border-bottom: 1px solid var(--line); }
.win__bar i { width: 7px; height: 7px; border-radius: 50%; background: var(--line-2); }
.win__body { padding: 12px; display: grid; gap: 8px; }
.win__body span { height: 8px; border-radius: 4px; background: var(--bg-2); }
.win__body .blk { height: 46px; border-radius: 8px; background: linear-gradient(120deg, var(--accent), color-mix(in srgb, var(--accent) 55%, #7fd3ff)); }
.win__body .w80 { width: 80%; } .win__body .w60 { width: 60%; } .win__body .w40 { width: 40%; }
.win__body .cta-blk { width: 34%; height: 16px; border-radius: 8px; background: var(--ink); }
.ill-chip { position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 10px; padding: 9px 14px 9px 10px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); font-weight: 560; font-size: 0.86rem; color: var(--ink); white-space: nowrap; animation: bob 7s ease-in-out infinite; }
.ill-chip > svg { width: 30px; height: 30px; padding: 6px; border-radius: 9px; background: var(--accent-soft); color: var(--accent); }
.ill-chip small { display: block; font-family: var(--mono); font-size: 0.64rem; color: var(--faint); font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; }
.ill-chip--a { top: 11%; left: 7%; }
.ill-chip--b { top: 15%; right: 6%; animation-delay: -2s; }
.ill-chip--c { bottom: 11%; left: 10%; animation-delay: -4s; }
.ill-chip--d { bottom: 14%; right: 8%; animation-delay: -3s; }
@keyframes bob { 50% { transform: translateY(-8px); } }
.gauge { width: 30px; height: 30px; flex: none; border-radius: 50%; background: conic-gradient(var(--green) calc(var(--v) * 1%), var(--line) 0); -webkit-mask: radial-gradient(closest-side, transparent 64%, #000 66%); mask: radial-gradient(closest-side, transparent 64%, #000 66%); }
.iso--stack { width: 44%; aspect-ratio: 1; }
.layer { position: absolute; inset: 0; border-radius: 18px; background: color-mix(in srgb, var(--card) 80%, transparent); border: 1px solid var(--line-2); box-shadow: -18px 26px 40px -16px rgba(15, 20, 50, 0.22); transform: translateZ(var(--z)); display: grid; place-items: end start; padding: 12px 14px; animation: layerBob 6s ease-in-out infinite; animation-delay: var(--d, 0s); }
.layer b { font-family: var(--mono); font-size: 0.74rem; font-weight: 500; color: var(--muted); }
.layer--top { background: var(--accent); border-color: transparent; box-shadow: -18px 30px 50px -14px color-mix(in srgb, var(--accent) 55%, transparent); }
.layer--top b { color: rgba(255, 255, 255, 0.9); }
.layer--top::after { content: ""; position: absolute; inset: 30%; border-radius: 10px; border: 1.5px solid rgba(255, 255, 255, 0.8); }
@keyframes layerBob { 50% { transform: translateZ(calc(var(--z) + 12px)); } }
.ill .spark { display: none; }
.cube { position: relative; width: 200px; height: 320px; transform-style: preserve-3d; transform: rotateX(-12deg) rotateY(-32deg); animation: rackTurn 10s ease-in-out infinite alternate; }
@keyframes rackTurn { to { transform: rotateX(-9deg) rotateY(-50deg); } }
.cube__face { position: absolute; }
.cube__front { inset: 0; transform: translateZ(90px); border-radius: 8px; padding: 12px; display: grid; gap: 7px; align-content: start; background: linear-gradient(180deg, #1b1c22, #0e0f13); border: 1px solid #2a2b33; }
.cube__front .rack__unit { height: 36px; }
.cube__side { top: 0; left: 10px; width: 180px; height: 320px; transform: rotateY(90deg) translateZ(100px); background: repeating-linear-gradient(180deg, transparent 0 14px, rgba(255, 255, 255, 0.05) 14px 16px), linear-gradient(90deg, #17181d, #0b0c0f); border: 1px solid #23242b; }
.cube__top { top: 70px; left: 0; width: 200px; height: 180px; transform: rotateX(90deg) translateZ(160px); background: linear-gradient(135deg, #3a3c46, #1e1f25); }
.rack__unit { position: relative; display: flex; align-items: center; gap: 8px; padding: 0 12px; height: 44px; border-radius: 6px; background: linear-gradient(180deg, #24252c, #17181d); border: 1px solid #2c2d35; overflow: hidden; }
.rack__unit i { width: 6px; height: 6px; border-radius: 50%; background: #3ccf8a; box-shadow: 0 0 6px #3ccf8a; animation: blink 1.2s steps(2) infinite; animation-delay: calc(var(--i, 0) * 0.17s); }
.rack__unit i:nth-child(2) { background: #8fa0ff; box-shadow: 0 0 6px #8fa0ff; animation-duration: 0.7s; }
.rack__unit .label { font-family: var(--mono); font-size: 0.66rem; color: #8b8c96; white-space: nowrap; }
.rack__unit .vents { margin-left: auto; display: flex; gap: 3px; }
.rack__unit .vents b { width: 3px; height: 18px; border-radius: 2px; background: rgba(255, 255, 255, 0.07); }
@keyframes blink { 50% { opacity: 0.25; } }

/* ---------- 10. Feature bento ---------- */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.tile { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 28px; border-radius: var(--radius-lg); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-sm); overflow: hidden; }
.bento > .tile { grid-column: span 2; }
.bento > .tile--w3 { grid-column: span 3; }
.bento > .tile--w4 { grid-column: span 4; }
.tile h3 { font-size: 1.28rem; letter-spacing: -0.03em; font-weight: 580; }
.tile p { color: var(--muted); font-size: 0.95rem; }
.tile__icon { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); margin-bottom: 8px; }
.tile__icon svg { width: 20px; height: 20px; }
.tile__visual { margin-top: auto; padding-top: 20px; }
.speed-split { display: grid; grid-template-columns: auto 1fr; gap: 36px; align-items: end; }
.speed-split small { display: block; margin-top: 8px; font-size: 0.84rem; color: var(--muted); max-width: 170px; }
.big-stat { font-size: clamp(3rem, 6vw, 4.6rem); font-weight: 520; letter-spacing: -0.06em; line-height: 1; color: var(--ink); }
.speed-bars { display: grid; gap: 14px; }
.speed-bar__label { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 0.8rem; color: var(--muted); margin-bottom: 7px; }
.speed-bar__label b { color: var(--ink); font-weight: 500; }
.speed-bar__track { height: 8px; border-radius: 8px; background: var(--bg-2); overflow: hidden; }
.speed-bar__fill { height: 100%; width: 0; border-radius: inherit; background: var(--line-2); transition: width 1.6s var(--ease); }
.speed-bar--us .speed-bar__fill { background: var(--accent); }
.is-visible .speed-bar__fill { width: var(--w); }

.terminal { border-radius: 14px; overflow: hidden; background: #0d0e12; border: 1px solid #23242b; font-family: var(--mono); font-size: 0.82rem; color: #d8d9e0; text-align: left; }
.terminal__bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid #1f2027; }
.terminal__bar i { width: 9px; height: 9px; border-radius: 50%; background: #3a3b44; }
.terminal__bar span { margin-left: 8px; color: #6c6d78; font-size: 0.74rem; }
.terminal__body { padding: 16px; min-height: 220px; line-height: 1.75; white-space: pre-wrap; word-break: break-word; }
.t-prompt { color: #8fa0ff; } .t-ok { color: #3ccf8a; } .t-dim { color: #6c6d78; } .t-hl { color: #f2c46d; }
.terminal__cursor { display: inline-block; width: 7px; height: 1.05em; background: #8fa0ff; vertical-align: text-bottom; animation: caret 1s steps(2) infinite; }
@keyframes caret { 50% { opacity: 0; } }

.shield-viz { position: relative; height: 160px; display: grid; place-items: center; overflow: hidden; }
.shield-viz svg.shield { width: 64px; height: 64px; position: relative; z-index: 2; color: var(--accent); }
.shield-viz .ring { position: absolute; width: 80px; height: 80px; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--accent) 50%, transparent); animation: ringOut 3s var(--ease) infinite; }
.shield-viz .ring:nth-child(2) { animation-delay: 1s; } .shield-viz .ring:nth-child(3) { animation-delay: 2s; }
@keyframes ringOut { from { transform: scale(0.8); opacity: 1; } to { transform: scale(2.4); opacity: 0; } }
.shield-viz .attack { position: absolute; width: 5px; height: 5px; border-radius: 50%; background: var(--red); animation: attack 2.6s ease-in infinite; }
@keyframes attack { 0% { transform: translate(var(--ax), var(--ay)); opacity: 0; } 15% { opacity: 1; } 70% { transform: translate(calc(var(--ax) * 0.38), calc(var(--ay) * 0.38)); opacity: 1; } 76%, 100% { transform: translate(calc(var(--ax) * 0.38), calc(var(--ay) * 0.38)) scale(2.6); opacity: 0; } }

.chat { display: grid; gap: 8px; }
.chat__msg { max-width: 86%; padding: 10px 14px; border-radius: 16px; font-size: 0.88rem; opacity: 0; transform: translateY(8px); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); }
.chat__msg.is-shown { opacity: 1; transform: none; }
.chat__msg small { display: block; font-family: var(--mono); font-size: 0.68rem; opacity: 0.6; margin-bottom: 2px; }
.chat__msg--in { background: var(--bg-2); color: var(--ink); border-bottom-left-radius: 4px; }
.chat__msg--out { justify-self: end; background: var(--inv-bg); color: var(--inv-ink); border-bottom-right-radius: 4px; }
.typing { display: inline-flex; gap: 4px; padding: 12px 14px; border-radius: 16px; background: var(--bg-2); width: max-content; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--faint); animation: typing 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: 0.15s; } .typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes typing { 0%, 60%, 100% { transform: translateY(0); opacity: 0.4; } 30% { transform: translateY(-4px); opacity: 1; } }

.uptime { display: flex; gap: 3px; height: 30px; }
.uptime i { flex: 1; border-radius: 2px; background: var(--green); opacity: 0.85; transform: scaleY(0); transform-origin: bottom; transition: transform 0.5s var(--ease); }
.uptime i.is-warn { background: var(--amber); }
.is-visible .uptime i { transform: scaleY(1); }
.snapshots { display: flex; gap: 6px; align-items: flex-end; }
.snapshots span { flex: 1; border-radius: 4px 4px 2px 2px; background: color-mix(in srgb, var(--accent) 75%, transparent); height: var(--h); transform: scaleY(0); transform-origin: bottom; transition: transform 0.8s var(--ease); }
.snapshots span:last-child { background: var(--accent); }
.is-visible .snapshots span { transform: scaleY(1); }
.apps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.app { aspect-ratio: 1; border-radius: 12px; display: grid; place-items: center; align-content: center; gap: 4px; background: var(--bg); border: 1px solid var(--line); font-size: 0.68rem; font-weight: 560; color: var(--muted); transition: transform 0.3s var(--ease), border-color 0.2s; }
.app:hover { transform: translateY(-3px); border-color: var(--line-2); }
.app span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; font-size: 0.8rem; font-weight: 700; color: #fff; background: var(--c, var(--ink)); }

/* ---------- 11. Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat { padding: 36px 28px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-size: clamp(2.4rem, 4.4vw, 3.6rem); font-weight: 520; letter-spacing: -0.06em; line-height: 1.05; }
.stat span { color: var(--muted); font-size: 0.92rem; }

/* ---------- 12. Network map ---------- */
.map-wrap { position: relative; padding: 24px; border-radius: 28px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.map-inner canvas { display: block; width: 100%; }
.locations { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 28px; }
.locations--wide { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 16px; }
.location { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); cursor: default; transition: border-color 0.2s, transform 0.3s var(--ease); }
.location:hover, .location.is-active { border-color: var(--accent); transform: translateY(-2px); }
.location .flag { width: 34px; height: 34px; flex: none; display: grid; place-items: center; border-radius: 9px; background: var(--bg); border: 1px solid var(--line); font-family: var(--mono); font-size: 0.72rem; color: var(--ink-2); }
.location strong { display: block; font-size: 0.96rem; }
.location small { font-family: var(--mono); font-size: 0.72rem; color: var(--faint); }
.location .live-dot { margin-left: auto; }

/* ---------- 13. Pricing ---------- */
.toggle-wrap { display: flex; justify-content: center; align-items: center; gap: 14px; flex-wrap: wrap; margin: -28px 0 48px; }
.billing-toggle { position: relative; display: inline-flex; padding: 4px; border-radius: 999px; background: var(--bg-2); border: 1px solid var(--line); }
.billing-toggle button { position: relative; z-index: 2; padding: 8px 20px; border-radius: 999px; font-weight: 540; font-size: 0.92rem; color: var(--muted); transition: color 0.25s; }
.billing-toggle button.is-active { color: var(--ink); }
.billing-toggle__pill { position: absolute; z-index: 1; top: 4px; bottom: 4px; left: 4px; border-radius: 999px; background: var(--card); box-shadow: var(--shadow-sm); transition: transform 0.45s var(--ease), width 0.45s var(--ease); }
.save-note { display: inline-flex; align-items: center; gap: 6px; font-size: 0.86rem; font-weight: 560; color: var(--green); }
.save-note svg { width: 15px; height: 15px; }
.pricing { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; align-items: stretch; }
.pricing--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.plan { position: relative; display: flex; flex-direction: column; padding: 28px 24px; border-radius: var(--radius-lg); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.plan__name { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.plan__name h3 { font-size: 1.22rem; letter-spacing: -0.03em; font-weight: 580; }
.plan__desc { color: var(--muted); font-size: 0.9rem; margin-top: 8px; min-height: 3.2em; min-height: 2lh; }
.plan__price { margin: 22px 0 4px; display: flex; align-items: baseline; gap: 3px; color: var(--ink); }
.plan__price .cur { font-size: 1.3rem; font-weight: 500; align-self: flex-start; margin-top: 6px; }
.plan__price .amt { font-size: 3.1rem; font-weight: 520; letter-spacing: -0.06em; line-height: 1; display: inline-block; }
.plan__price .per { color: var(--muted); font-size: 0.94rem; margin-left: 2px; }
.plan__strike { font-size: 0.84rem; color: var(--faint); min-height: 1.4em; }
.plan__strike s { margin-right: 6px; }
.plan__strike b { color: var(--green); font-weight: 560; }
.plan .btn { margin: 22px 0 24px; }
.plan .check-list li { font-size: 0.9rem; }
.plan--featured, .summary, .inv-panel { --inv-bg: var(--panel-inv); --inv-ink: var(--panel-inv-ink); --inv-muted: var(--panel-inv-muted); }
.inv-panel { background: var(--panel-inv); color: var(--panel-inv-muted); }
[data-theme="dark"] :is(.plan--featured, .summary, .inv-panel) { border-color: var(--panel-inv-line); box-shadow: 0 0 0 1px var(--panel-inv-line), 0 30px 70px -30px rgba(80, 100, 255, 0.35); }
.plan--featured { background: var(--inv-bg); border-color: var(--inv-bg); color: var(--inv-muted); box-shadow: var(--shadow-lg); }
.plan--featured h3, .plan--featured .plan__price, .plan--featured strong { color: var(--inv-ink); }
.plan--featured .plan__desc, .plan--featured .plan__price .per, .plan--featured .plan__strike { color: var(--inv-muted); }
.plan--featured .check-list li { color: color-mix(in srgb, var(--inv-ink) 82%, transparent); }
.plan--featured .check-list svg { color: color-mix(in srgb, var(--accent) 60%, #ffffff); }
.plan--featured .btn--primary { background: var(--accent); color: var(--accent-ink); }
.plan--featured .btn--primary:hover { background: var(--accent-2); }
.plan--featured .badge:not(.badge--hot) { background: rgba(255, 255, 255, 0.1); color: var(--inv-ink); }
.plan__ribbon { position: absolute; top: -12px; left: 24px; }
.plan--featured .plan__ribbon { background: var(--accent); color: var(--accent-ink); border-color: transparent; box-shadow: 0 6px 16px -6px color-mix(in srgb, var(--accent) 70%, transparent); }
.amt.is-rolling { animation: roll 0.5s var(--ease); }
@keyframes roll { 45% { transform: translateY(-30%); opacity: 0; } 55% { transform: translateY(30%); opacity: 0; } }
.pricing-note { text-align: center; margin-top: 36px; color: var(--muted); font-size: 0.94rem; }
.pricing-note a, .faq__a a { color: var(--accent); font-weight: 560; }

.table-wrap { overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--card); }
.compare { width: 100%; border-collapse: collapse; min-width: 760px; font-size: 0.93rem; }
.compare th, .compare td { padding: 15px 20px; text-align: center; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.compare th:first-child, .compare td:first-child { text-align: left; color: var(--muted); }
.compare thead th { font-size: 1rem; font-weight: 580; color: var(--ink); background: var(--card); }
.compare thead th.is-hl { color: var(--accent); }
.compare td.is-hl { background: color-mix(in srgb, var(--accent) 5%, transparent); }
.compare tr.group td { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); background: var(--bg); text-align: left; }
.compare svg { width: 17px; height: 17px; margin: 0 auto; }
.compare .yes { color: var(--green); } .compare .no { color: var(--faint); }

/* ---------- 14. VPS configurator ---------- */
.configurator { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr); gap: 20px; }
.config-panel { padding: 32px; }
.config-row + .config-row { margin-top: 30px; }
.config-row__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.config-row__head label { font-weight: 580; color: var(--ink); }
.config-row__head output { font-family: var(--mono); font-size: 0.95rem; color: var(--accent); }
.range { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 6px; outline: none; cursor: pointer; background: linear-gradient(90deg, var(--accent) 0 var(--p, 0%), var(--line) var(--p, 0%)); }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 1px solid var(--line-2); box-shadow: 0 2px 8px rgba(15, 15, 30, 0.2); transition: transform 0.2s var(--ease); }
.range::-webkit-slider-thumb:hover { transform: scale(1.12); }
.range::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 1px solid var(--line-2); box-shadow: 0 2px 8px rgba(15, 15, 30, 0.2); }
.range-scale { display: flex; justify-content: space-between; margin-top: 8px; font-family: var(--mono); font-size: 0.72rem; color: var(--faint); }
.os-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.loc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.os-option input, .loc-option input { position: absolute; opacity: 0; pointer-events: none; }
.os-option span, .loc-option span { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 12px 8px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); font-size: 0.84rem; font-weight: 520; color: var(--ink-2); text-align: center; cursor: pointer; transition: border-color 0.2s, background 0.2s, box-shadow 0.2s; }
.os-option span b, .loc-option span b { font-family: var(--mono); font-size: 0.74rem; font-weight: 500; color: var(--faint); }
.os-option input:checked + span, .loc-option input:checked + span { border-color: var(--accent); background: var(--card); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 14%, transparent); color: var(--ink); }
.os-option input:focus-visible + span, .loc-option input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.addon { display: flex; align-items: center; gap: 14px; padding: 13px 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); cursor: pointer; }
.addon + .addon { margin-top: 8px; }
.addon input { width: 18px; height: 18px; accent-color: var(--accent); }
.addon strong { font-size: 0.94rem; }
.addon small { display: block; color: var(--muted); font-size: 0.8rem; }
.addon em { margin-left: auto; font-style: normal; font-family: var(--mono); font-size: 0.84rem; color: var(--ink-2); white-space: nowrap; }
.summary { position: sticky; top: calc(var(--nav-h) + 20px); align-self: start; padding: 28px; border-radius: var(--radius-lg); background: var(--inv-bg); color: var(--inv-muted); box-shadow: var(--shadow-lg); }
.summary h3 { font-size: 1.1rem; color: var(--inv-ink); margin-bottom: 18px; }
.summary__rows { display: grid; gap: 10px; font-size: 0.9rem; padding-bottom: 18px; border-bottom: 1px dashed color-mix(in srgb, var(--inv-ink) 20%, transparent); }
.summary__rows div { display: flex; justify-content: space-between; gap: 10px; }
.summary__rows b { font-family: var(--mono); font-weight: 500; font-size: 0.84rem; color: var(--inv-ink); text-align: right; }
.summary__total { margin: 18px 0; }
.summary__total small { font-size: 0.82rem; }
.summary__total strong { display: block; color: var(--inv-ink); font-size: 2.9rem; font-weight: 520; letter-spacing: -0.06em; line-height: 1.1; }
.summary__total strong b { font-weight: 520; }
.summary__total strong span { font-size: 1rem; color: var(--inv-muted); letter-spacing: 0; }
.summary .btn--primary { background: var(--accent); color: #fff; }
.summary__note { font-size: 0.8rem; margin-top: 12px; text-align: center; }

/* ---------- 15. Dedicated servers ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 28px; }
.filter-btn { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); font-weight: 520; font-size: 0.9rem; color: var(--muted); transition: all 0.2s; }
.filter-btn:hover { color: var(--ink); border-color: var(--line-2); }
.filter-btn.is-active { background: var(--inv-bg); color: var(--inv-ink); border-color: var(--inv-bg); }
.servers { display: grid; gap: 10px; }
.server-head, .server { display: grid; grid-template-columns: 2.2fr 1.1fr 1.4fr 1.1fr 1.1fr 118px; gap: 18px; align-items: center; }
.server-head { padding: 0 24px 4px; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); }
.server-head span:nth-last-child(2) { text-align: right; }
.server { padding: 20px 24px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); transition: border-color 0.2s, transform 0.3s var(--ease), box-shadow 0.3s; }
.server:hover { border-color: var(--line-2); transform: translateY(-2px); box-shadow: var(--shadow); }
.server.is-hidden { display: none; }
.server__cpu { display: flex; align-items: center; gap: 14px; }
.server__chip { width: 46px; height: 46px; flex: none; border-radius: 11px; display: grid; place-items: center; font-family: var(--mono); font-size: 0.62rem; font-weight: 600; }
.server__chip--intel { background: #e6f0ff; color: #1d5bd8; }
.server__chip--amd { background: #ffe9e6; color: #c9372c; }
[data-theme="dark"] .server__chip--intel { background: rgba(80, 140, 255, 0.14); color: #8db4ff; }
[data-theme="dark"] .server__chip--amd { background: rgba(255, 100, 80, 0.14); color: #ff9a8c; }
.server strong { display: block; font-size: 1rem; }
.server small { display: block; font-family: var(--mono); font-size: 0.74rem; color: var(--faint); }
.server__spec span { display: block; font-size: 0.94rem; color: var(--ink); }
.server__price { text-align: right; }
.server__price strong { font-size: 1.4rem; font-weight: 540; letter-spacing: -0.04em; }
.server > .btn { width: 118px; }
.rack { width: 100%; max-width: 400px; margin: 0 auto; padding: 14px; border-radius: 18px; display: grid; gap: 8px; background: linear-gradient(180deg, #1c1d23, #101115); border: 1px solid #2a2b33; box-shadow: var(--shadow-lg); }

/* ---------- 16. Features, steps, split ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.feature { display: flex; flex-direction: column; padding: 26px; border-radius: var(--radius-lg); background: var(--card); border: 1px solid var(--line); transition: transform 0.3s var(--ease), box-shadow 0.3s; }
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.feature h3 { font-size: 1.12rem; letter-spacing: -0.025em; font-weight: 580; margin: 14px 0 8px; }
.feature p { color: var(--muted); font-size: 0.93rem; }
.feature__link { margin-top: auto; padding-top: 18px; font-size: 0.9rem; font-weight: 560; color: var(--accent); }
.split-section { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; align-items: center; }
.step__num { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-family: var(--mono); font-size: 0.86rem; color: var(--ink); background: var(--card); border: 1px solid var(--line-2); }

/* launch trajectory */
.seq { position: relative; aspect-ratio: 1200 / 460; }
.seq > svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.seq__trail { fill: none; stroke: var(--line-2); stroke-width: 1.5; stroke-dasharray: 4 8; }
.seq__done { fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linecap: round; }
.seq__rocket { position: absolute; left: 0; top: 0; width: 34px; height: 34px; margin: -17px 0 0 -17px; z-index: 3; display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: #fff; box-shadow: 0 0 0 6px color-mix(in srgb, var(--accent) 18%, transparent), 0 8px 20px -6px color-mix(in srgb, var(--accent) 60%, transparent); will-change: transform; }
.seq__rocket svg { width: 17px; height: 17px; transform: rotate(-45deg); }
.seq__step { position: absolute; width: min(300px, 27%); padding: 22px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-sm); opacity: 0.45; transform: translateY(12px); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease), box-shadow 0.5s, border-color 0.5s; }
.seq__step.is-lit { opacity: 1; transform: none; box-shadow: var(--shadow); border-color: var(--line-2); }
.seq__step.is-lit .step__num { background: var(--accent); color: #fff; border-color: var(--accent); }
.seq__step .step__num { margin-bottom: 14px; transition: background 0.4s, color 0.4s; }
.seq__step h3 { font-size: 1.15rem; letter-spacing: -0.025em; font-weight: 580; margin-bottom: 6px; }
.seq__step p { color: var(--muted); font-size: 0.92rem; }
.seq__step--1 { left: 0; top: 34%; }
.seq__step--2 { left: 37%; top: 60%; }
.seq__step--3 { right: 0; top: 22%; }

/* ---------- 17. FAQ ---------- */
.faq-layout { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 64px; align-items: start; }
.faq-layout .section-head { margin: 0; position: sticky; top: calc(var(--anchor-offset) + 16px); }
.faq { max-width: 860px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 2px; text-align: left; font-size: 1.06rem; font-weight: 560; color: var(--ink); letter-spacing: -0.015em; }
.faq__icon { width: 28px; height: 28px; flex: none; border-radius: 50%; border: 1px solid var(--line-2); position: relative; transition: transform 0.4s var(--ease), background 0.3s, border-color 0.3s; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; top: 50%; left: 50%; width: 10px; height: 1.5px; margin: -0.75px 0 0 -5px; background: var(--ink); transition: transform 0.4s var(--ease), background 0.3s; }
.faq__icon::after { transform: rotate(90deg); }
.faq__item.is-open .faq__icon { transform: rotate(180deg); background: var(--inv-bg); border-color: var(--inv-bg); }
.faq__item.is-open .faq__icon::before, .faq__item.is-open .faq__icon::after { background: var(--inv-ink); }
.faq__item.is-open .faq__icon::after { transform: rotate(0); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.45s var(--ease); }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__a > div { overflow: hidden; }
.faq__a p { padding: 0 48px 24px 2px; color: var(--muted); }

/* ---------- 18. CTA ---------- */
.cta { position: relative; overflow: hidden; padding: 96px 48px 110px; border-radius: 32px; text-align: center; color: rgba(255, 255, 255, 0.72); background: radial-gradient(90% 70% at 50% 120%, #1b2d6b 0%, #091028 45%, var(--space) 80%); }
.cta::before { content: ""; position: absolute; left: 50%; bottom: -78%; width: 150%; aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(closest-side, #050913 98%, transparent 100%); box-shadow: 0 -2px 0 rgba(160, 190, 255, 0.55), 0 -20px 70px rgba(80, 130, 255, 0.45), 0 -70px 160px rgba(60, 100, 255, 0.25); }
.cta::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, 0.7) 1px, transparent 1px), radial-gradient(rgba(255, 255, 255, 0.4) 1px, transparent 1px); background-size: 140px 140px, 90px 90px; background-position: 0 0, 40px 60px; -webkit-mask: linear-gradient(180deg, #000, transparent 70%); mask: linear-gradient(180deg, #000, transparent 70%); opacity: 0.35; }
.cta > * { position: relative; z-index: 1; }
.cta .eyebrow { color: rgba(255, 255, 255, 0.55); }
.cta h2 { color: #fff; font-size: clamp(2.4rem, 5.6vw, 4.6rem); letter-spacing: -0.055em; font-weight: 520; margin: 20px 0 0; }
.cta h2 em { color: #9fb0ff; }
.cta p { font-size: 1.12rem; max-width: 540px; margin: 18px auto 34px; }
.cta__btns { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
.cta .btn--ghost { background: rgba(255, 255, 255, 0.06); color: #fff; border-color: rgba(255, 255, 255, 0.2); }
.cta .btn--ghost:hover { border-color: #fff; }
.cta__rocket { display: none; }

/* ---------- 19. Footer ---------- */
.footer { padding: 88px 0 28px; margin-top: 40px; border-top: 1px solid var(--line); background: var(--bg); overflow: hidden; }
.footer__grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(4, minmax(0, 1fr)); gap: 40px; }
.footer__brand p { color: var(--muted); margin: 16px 0 22px; max-width: 320px; font-size: 0.95rem; }
.footer h4 { font-family: var(--mono); font-size: 0.74rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); margin-bottom: 16px; }
.footer ul { display: grid; gap: 10px; }
.footer ul a { font-size: 0.94rem; color: var(--ink-2); transition: color 0.2s; }
.footer ul a:hover { color: var(--accent); }
.newsletter { display: flex; gap: 6px; padding: 5px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--card); max-width: 340px; }
.newsletter input { flex: 1; min-width: 0; background: none; border: 0; outline: none; padding: 0 14px; font-size: 0.92rem; color: var(--ink); }
.socials { display: flex; gap: 8px; margin-top: 20px; }
.socials a { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; border: 1px solid var(--line); color: var(--ink-2); transition: all 0.2s; }
.socials a:hover { background: var(--inv-bg); color: var(--inv-ink); border-color: var(--inv-bg); }
.socials svg { width: 17px; height: 17px; }
.footer__wordmark { margin: 72px 0 28px; text-align: center; font-weight: 600; font-size: clamp(3.4rem, 15vw, 14rem); letter-spacing: -0.07em; line-height: 0.82; white-space: nowrap; user-select: none; background: linear-gradient(90deg, var(--ink), var(--ink)) 0 0 / calc(var(--fill, 0%) * 2) 100% no-repeat, linear-gradient(var(--line), var(--line)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid var(--line); font-size: 0.86rem; color: var(--muted); }
.footer__bottom .status { display: inline-flex; align-items: center; gap: 8px; }
.footer__bottom a:hover { color: var(--accent); }
@media (min-width: 900px) {
  .footer__bottom { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); }
  .footer__bottom .footer__legal { justify-content: flex-end; }
}
.footer__pay { display: flex; gap: 6px; flex-wrap: wrap; }
.footer__pay span { padding: 3px 9px; border-radius: 6px; border: 1px solid var(--line); font-family: var(--mono); font-size: 0.7rem; color: var(--muted); }
.to-top { position: fixed; right: 20px; bottom: 20px; z-index: 80; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--card); border: 1px solid var(--line); color: var(--ink); box-shadow: var(--shadow); opacity: 0; transform: translateY(14px); transition: opacity 0.3s, transform 0.3s var(--ease), background 0.2s, color 0.2s; }
.to-top.is-shown { opacity: 1; transform: none; }
.to-top:hover { background: var(--inv-bg); color: var(--inv-ink); }
.to-top svg { width: 19px; height: 19px; }

/* ---------- 20. Inner page hero ---------- */
.page-hero { position: relative; padding: 72px 0 96px; overflow-x: clip; isolation: isolate; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask: radial-gradient(70% 80% at 50% 0%, #000 30%, transparent 75%); mask: radial-gradient(70% 80% at 50% 0%, #000 30%, transparent 75%); opacity: 0.8; }
.page-hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 56px; align-items: center; }
.page-hero h1 { font-size: clamp(2.6rem, 5.4vw, 4.6rem); letter-spacing: -0.055em; font-weight: 540; margin: 22px 0 20px; line-height: 1; }
.page-hero p.lead { color: var(--muted); font-size: 1.14rem; max-width: 540px; }
.page-hero .hero__trust { justify-content: flex-start; }
.page-hero--center { text-align: center; }
.page-hero--center p.lead { margin: 0 auto; }
.page-hero--center .hero__ctas, .page-hero--center .hero__trust { justify-content: center; }
.breadcrumbs { display: flex; gap: 8px; font-family: var(--mono); font-size: 0.78rem; color: var(--faint); }
.breadcrumbs a:hover { color: var(--ink); }
.page-hero--center .breadcrumbs { justify-content: center; }
.page-hero .eyebrow { margin-top: 20px; display: flex; }
.page-hero--center .eyebrow { justify-content: center; }

.hero-browser { border-radius: 18px; overflow: hidden; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.hero-browser__bar { display: flex; align-items: center; gap: 6px; padding: 11px 14px; border-bottom: 1px solid var(--line); background: var(--bg); }
.hero-browser__bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); }
.hero-browser__url { margin-left: 10px; flex: 1; display: flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 8px; background: var(--card); border: 1px solid var(--line); font-family: var(--mono); font-size: 0.76rem; color: var(--muted); }
.hero-browser__url svg { width: 12px; height: 12px; color: var(--green); }
.hero-browser__body { padding: 20px; display: grid; gap: 14px; }
.res-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.res { padding: 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); }
.res small { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); }
.res strong { display: block; font-size: 1.08rem; letter-spacing: -0.02em; }
.cpanel-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.cpanel-grid div { display: grid; justify-items: center; gap: 6px; padding: 14px 6px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); font-size: 0.74rem; color: var(--muted); text-align: center; }
.cpanel-grid svg { width: 20px; height: 20px; color: var(--accent); }

/* ---------- 21. Contact, legal, 404 ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 24px; align-items: start; }
.contact-cards { display: grid; gap: 10px; }
.contact-card { display: flex; gap: 16px; padding: 22px; border-radius: var(--radius-lg); background: var(--card); border: 1px solid var(--line); transition: border-color 0.2s, transform 0.3s var(--ease); }
.contact-card:hover { border-color: var(--line-2); transform: translateY(-2px); }
.contact-card h3 { font-size: 1.04rem; letter-spacing: -0.02em; margin-bottom: 4px; }
.contact-card p { color: var(--muted); font-size: 0.92rem; }
.contact-card .tile__icon { margin: 0; flex: none; }
.form { padding: 32px; }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.field label { font-size: 0.86rem; font-weight: 520; color: var(--ink-2); }
.field input, .field select, .field textarea { width: 100%; padding: 13px 14px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line); outline: none; font-size: 0.98rem; color: var(--ink); transition: border-color 0.2s, box-shadow 0.2s, background 0.2s; }
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b6b73' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); background: var(--card); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 12%, transparent); }
.field input:user-invalid, .field textarea:user-invalid { border-color: var(--red); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 14px; padding: 13px 15px; border-radius: 12px; font-size: 0.92rem; display: none; }
.form-status.is-ok { display: block; background: var(--green-soft); color: var(--green); }
.form-status.is-err { display: block; background: color-mix(in srgb, var(--red) 10%, transparent); color: var(--red); }
.btn.is-loading { pointer-events: none; opacity: 0.7; }

.legal { max-width: 820px; margin: 0 auto; }
.legal nav { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 36px; }
.legal section { padding: 32px; border-radius: var(--radius-lg); background: var(--card); border: 1px solid var(--line); margin-bottom: 14px; scroll-margin-top: calc(var(--nav-h) + 20px); }
.legal h2 { font-size: 1.6rem; margin-bottom: 12px; }
.legal h3 { font-size: 1.06rem; margin: 22px 0 8px; }
.legal p, .legal li { color: var(--ink-2); font-size: 0.97rem; }
.legal ul { list-style: disc; padding-left: 22px; display: grid; gap: 6px; margin-top: 8px; }

.lost { min-height: calc(100vh - var(--nav-h)); display: grid; place-items: center; text-align: center; padding: 60px 0; }
.lost__code { font-size: clamp(7rem, 24vw, 15rem); font-weight: 560; letter-spacing: -0.08em; line-height: 0.9; color: var(--ink); }
.lost__code em { font-family: var(--serif); font-weight: 400; color: var(--accent); }
.lost__astro { display: none; }

/* ---------- 22. Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: var(--d, 0s); }
.reveal--left { transform: translateX(-36px); }
.reveal--right { transform: translateX(36px); }
.reveal--zoom { transform: scale(0.96); }
.reveal:where(.is-visible) { opacity: 1; transform: none; }
.stagger > * { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.stagger:where(.is-visible) > * { opacity: 1; transform: none; }
.stagger.is-visible > *:nth-child(2) { transition-delay: 0.06s; }
.stagger.is-visible > *:nth-child(3) { transition-delay: 0.12s; }
.stagger.is-visible > *:nth-child(4) { transition-delay: 0.18s; }
.stagger.is-visible > *:nth-child(5) { transition-delay: 0.24s; }
.stagger.is-visible > *:nth-child(6) { transition-delay: 0.3s; }
.stagger.is-visible > *:nth-child(n+7) { transition-delay: 0.36s; }
.stagger.is-done > * { transition-delay: 0s !important; }
[data-parallax] { translate: 0 var(--py, 0); }

/* smooth scroll (Lenis) */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

/* ---------- 23. Responsive ---------- */
@media (max-width: 1100px) {
  .pricing { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pricing--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pricing--3 .plan__price .amt { font-size: 2.6rem; }
  .footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__grid > .footer__brand { grid-column: 1 / -1; }
  .server-head, .server { grid-template-columns: 2fr 1fr 1.3fr 1fr 118px; }
  .server > :nth-child(4), .server-head > :nth-child(4) { display: none; }
}
@media (max-width: 980px) {
  .nav__links, .nav__login { display: none; }
  .nav__actions .btn { display: none; }
  .nav__burger { display: block; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento > .tile, .bento > .tile--w3 { grid-column: span 1; }
  .bento > .tile--w4 { grid-column: span 2; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .faq-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .faq-layout .section-head { position: static; }
}
@media (max-width: 820px) {
  .page-hero__grid, .split-section, .contact-grid, .configurator, .showcase__grid { grid-template-columns: minmax(0, 1fr); }
  .summary { position: static; }
  .showcase__sticky { display: none; }
  .showcase__panels { gap: 64px; padding: 0; }
  .showcase__panel { min-height: 0; display: block; }
  .showcase__card { transform: none; opacity: 1; }
  .showcase__panel-text { display: block; margin-top: 24px; }
  .locations--wide { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .seq { aspect-ratio: auto; display: grid; gap: 12px; }
  .seq > svg, .seq__rocket { display: none; }
  .seq__step { position: static; width: auto; opacity: 1; transform: none; }
  .server-head { display: none; }
  .server { grid-template-columns: 1fr 1fr; }
  .server__cpu { grid-column: 1 / -1; }
  .server > :nth-child(4) { display: block; }
  .server__price { text-align: left; }
  .server > .btn { grid-column: 1 / -1; width: 100%; }
  .pricing--3 { grid-template-columns: minmax(0, 1fr); max-width: 460px; margin: 0 auto; }
  .orbit__stats .orbit__stat:nth-child(3) { display: none; }
  .contact-grid .form { order: -1; }
  .statement { padding: 96px 0; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .section-head { margin-bottom: 44px; }
  .announce { font-size: 0.78rem; padding: 8px 40px 8px 16px; text-align: left; }
  .hero { padding-top: 36px; }
  .hero__news { font-size: 0.8rem; padding: 6px 14px; gap: 8px; }
  .hero__news span { display: none; }
  .domain-search__box .btn span { display: none; }
  .domain-search__box .btn { padding: 0 16px; }
  .orbit { padding: 40px 10px 0; }
  .orbit__window { height: 460px; border-radius: 22px; }
  .orbit__ui { padding: 18px; }
  .orbit__hint { display: none; }
  .orbit__stat { padding: 9px 12px; }
  .orbit__stat b { font-size: 1.02rem; }
  .ill { transform: scale(0.72); }
  .ill-chip--a { top: 3%; left: 4%; }
  .ill-chip--b { top: 24%; right: 3%; }
  .ill-chip--c { bottom: 26%; left: 4%; }
  .ill-chip--d { bottom: 3%; right: 3%; }
  .pricing, .feature-grid, .bento { grid-template-columns: minmax(0, 1fr); }
  .bento > .tile, .bento > .tile--w3, .bento > .tile--w4 { grid-column: auto; }
  .speed-split { grid-template-columns: 1fr; gap: 20px; }
  .locations, .locations--wide { grid-template-columns: minmax(0, 1fr); }
  .map-wrap { padding: 10px; border-radius: 20px; }
  .os-grid { grid-template-columns: repeat(3, 1fr); }
  .loc-grid { grid-template-columns: repeat(2, 1fr); }
  .config-panel, .form, .summary, .legal section { padding: 22px; }
  .form__row { grid-template-columns: minmax(0, 1fr); }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .cpanel-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta { padding: 70px 22px 90px; border-radius: 24px; }
  /* button pairs stack at full width, instead of two ragged pills of different widths */
  .hero__ctas > .btn, .cta__btns > .btn { flex: 1 1 100%; justify-content: center; }
  .stat { padding: 26px 16px; }
}

/* ---------- 24. Shared UI kit: tabs, sub-nav, table of contents, code, callouts, prose, toasts ---------- */
:root { --anchor-offset: 96px; }
section[id], h2[id], h3[id], [role="tabpanel"] { scroll-margin-top: var(--anchor-offset); }


.toast-region { position: fixed; left: 50%; bottom: 28px; z-index: 400; display: grid; gap: 8px; justify-items: center; transform: translateX(-50%); pointer-events: none; }
.toast { padding: 11px 18px; border-radius: 999px; background: var(--inv-bg); color: var(--inv-ink); font-size: 0.9rem; font-weight: 520; box-shadow: var(--shadow-lg); opacity: 0; transform: translateY(10px); transition: opacity 0.3s var(--ease), transform 0.3s var(--ease); }
.toast.is-in { opacity: 1; transform: none; }

.tabs__list { display: inline-flex; gap: 4px; padding: 5px; max-width: 100%; border-radius: 999px; background: var(--bg-2); border: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.tabs__list::-webkit-scrollbar { display: none; }
.tab { flex: none; height: 38px; padding: 0 18px; border-radius: 999px; font-size: 0.92rem; font-weight: 540; color: var(--muted); white-space: nowrap; transition: background 0.25s, color 0.25s, box-shadow 0.25s; }
.tab:hover { color: var(--ink); }
.tab.is-active, .tab[aria-selected="true"] { background: var(--card); color: var(--ink); box-shadow: var(--shadow-sm); }
.tabs__panel:not([hidden]) { animation: tab-in 0.45s var(--ease); }
@keyframes tab-in { from { opacity: 0; transform: translateY(8px); } }

.subnav { position: sticky; top: var(--nav-h); z-index: 40; background: color-mix(in srgb, var(--bg) 88%, transparent); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.subnav .container { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.subnav .container::-webkit-scrollbar { display: none; }
.subnav a { flex: none; padding: 14px 12px; font-size: 0.9rem; color: var(--muted); border-bottom: 2px solid transparent; transition: color 0.2s, border-color 0.2s; }
.subnav a:hover { color: var(--ink); }
.subnav a.is-active { color: var(--ink); border-bottom-color: var(--accent); }

.toc { position: sticky; top: calc(var(--anchor-offset) + 8px); font-size: 0.9rem; }
.toc::before { content: "On this page"; display: block; margin-bottom: 12px; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); }
.toc ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 2px; border-left: 1px solid var(--line); }
.toc a { display: block; margin-left: -1px; padding: 6px 0 6px 16px; border-left: 2px solid transparent; color: var(--muted); line-height: 1.35; transition: color 0.2s, border-color 0.2s; }
.toc a:hover { color: var(--ink); }
.toc a.is-active { color: var(--ink); border-left-color: var(--accent); }

pre.code { position: relative; margin: 18px 0; padding: 18px 20px; border-radius: var(--radius); background: var(--space); color: #d8def5; border: 1px solid rgba(255, 255, 255, 0.06); font-family: var(--mono); font-size: 0.86rem; line-height: 1.65; overflow-x: auto; }
pre.code code { font: inherit; white-space: pre; background: none; border: 0; padding: 0; color: inherit; }
.code__copy { position: absolute; top: 10px; right: 10px; height: 28px; padding: 0 12px; border-radius: 8px; font-family: var(--font); font-size: 0.76rem; color: rgba(255, 255, 255, 0.75); background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.12); opacity: 0; transition: opacity 0.2s, background 0.2s; }
pre.code:hover .code__copy, .code__copy:focus-visible { opacity: 1; }
.code__copy:hover { background: rgba(255, 255, 255, 0.16); color: #fff; }
:not(pre) > code { padding: 2px 6px; border-radius: 6px; background: var(--bg-2); border: 1px solid var(--line); font-family: var(--mono); font-size: 0.86em; color: var(--ink); }
kbd, .kbd { display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 6px; border: 1px solid var(--line-2); border-bottom-width: 2px; background: var(--card); font-family: var(--mono); font-size: 0.74rem; color: var(--ink-2); }

.callout { display: flex; gap: 14px; margin: 20px 0; padding: 16px 18px; border-radius: var(--radius); background: var(--accent-soft); border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent); color: var(--ink-2); font-size: 0.95rem; }
.callout > svg { flex: none; width: 20px; height: 20px; margin-top: 2px; color: var(--accent); }
.callout--warn { background: color-mix(in srgb, var(--amber) 12%, var(--card)); border-color: color-mix(in srgb, var(--amber) 35%, transparent); }
.callout--warn > svg { color: var(--amber); }
.callout--ok { background: var(--green-soft); border-color: color-mix(in srgb, var(--green) 30%, transparent); }
.callout--ok > svg { color: var(--green); }

.prose { max-width: 720px; font-size: 1.04rem; line-height: 1.75; color: var(--ink-2); }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { margin-top: 2.2em; font-size: 1.7rem; line-height: 1.2; letter-spacing: -0.035em; }
.prose h3 { margin-top: 1.8em; font-size: 1.22rem; line-height: 1.3; letter-spacing: -0.02em; font-weight: 580; }
.prose a:not(.btn) { color: var(--accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: 0.4em; }
.prose li::marker { color: var(--faint); }
.prose table { width: 100%; border-collapse: collapse; font-size: 0.94rem; }
.prose th, .prose td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose th { font-weight: 580; color: var(--ink); background: var(--bg-2); }
.prose blockquote { margin-left: 0; padding-left: 18px; border-left: 2px solid var(--accent); color: var(--muted); }

/* ---------- 25. QA fixes: phone scrollers, breadcrumbs contrast, collapsible plan lists ---------- */
.breadcrumbs { color: var(--muted); }
@media (max-width: 640px) {
  /* tab strips become an even grid (2 per row, 3 when there are exactly three) instead of ragged centred rows;
     an odd last tab spans the row. :where() keeps these at the base weight so page layouts can still override them */
  .tabs__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; border-radius: 20px; overflow: visible; }
  .tabs__list:where(:has(> .tab:nth-child(3):last-child)) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tabs__list:where(:not(:has(> .tab:nth-child(3):last-child))) > .tab:where(:last-child:nth-child(odd)) { grid-column: 1 / -1; }
  .tabs__list > :where(.tab) { min-width: 0; padding: 0 10px; overflow: hidden; text-overflow: ellipsis; }
  .plan .check-list.is-collapsed li:nth-child(n+6) { display: none; }
}
.plan__more { display: none; }
@media (max-width: 640px) {
  .plan__more { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; font-size: 0.88rem; font-weight: 560; color: var(--accent); }
  .plan--featured .plan__more { color: var(--panel-inv-ink); text-decoration: underline; text-underline-offset: 3px; }
}
/* sideways scrollers (sub-nav, tab strips): main.js marks the ones that overflow, and only the edge that
   still hides items fades out */
.is-scroll-x:not(.is-end) { -webkit-mask: linear-gradient(90deg, #000 calc(100% - 56px), transparent); mask: linear-gradient(90deg, #000 calc(100% - 56px), transparent); }
.is-scroll-x.is-end:not(.is-start) { -webkit-mask: linear-gradient(90deg, transparent, #000 48px); mask: linear-gradient(90deg, transparent, #000 48px); }
.is-scroll-x:not(.is-start):not(.is-end) { -webkit-mask: linear-gradient(90deg, transparent, #000 48px, #000 calc(100% - 56px), transparent); mask: linear-gradient(90deg, transparent, #000 48px, #000 calc(100% - 56px), transparent); }
[data-theme="dark"] .cta { box-shadow: 0 0 0 1px var(--panel-inv-line), 0 40px 90px -40px rgba(80, 100, 255, 0.35); }

/* ---------- site chrome: header, menus, footer, widgets ---------- */
/* ==========================================================================
   Chrome: utility bar, promo bar, header + mega menus, mobile drawer, footer,
   help band, status pills, support launcher, search palette, 404 and sitemap.
   ========================================================================== */

/* ---------- skip link ---------- */
.skip-link:focus, .skip-link:focus-visible {
  position: fixed; top: 10px; left: 10px; z-index: 2000; width: auto; height: auto; margin: 0; clip: auto; white-space: normal;
  padding: 10px 16px; border-radius: 10px; background: var(--inv-bg); color: var(--inv-ink); font-size: 0.9rem; font-weight: 560; box-shadow: var(--shadow-lg);
}

/* ---------- promo bar ---------- */
.announce { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 4px 10px; line-height: 1.45; }
.announce__tag { display: inline-flex; align-items: center; height: 20px; padding: 0 8px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--inv-ink) 28%, transparent); font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--inv-muted); }
.announce__text { color: color-mix(in srgb, var(--inv-ink) 82%, transparent); }
.announce a { white-space: nowrap; }
/* dark theme: a quiet tinted bar instead of the inverted (near-white) strip */
[data-theme="dark"] .announce { background: color-mix(in srgb, var(--accent) 12%, var(--bg)); color: var(--ink); border-bottom: 1px solid var(--line); }
[data-theme="dark"] .announce__tag { border-color: var(--line-2); color: var(--muted); }
[data-theme="dark"] .announce__text { color: var(--ink-2); }
[data-theme="dark"] .announce__close { color: var(--muted); }
[data-theme="dark"] .announce__close:hover { color: var(--ink); }

/* ---------- utility bar ---------- */
.utilbar { position: relative; z-index: 59; border-bottom: 1px solid var(--line); background: var(--bg); font-size: 0.8rem; color: var(--muted); }
.utilbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 40px; }
.utilbar__left, .utilbar__right { display: flex; align-items: center; gap: 18px; min-width: 0; }
.utilbar__item { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.utilbar__item svg { width: 14px; height: 14px; color: var(--faint); }
.utilbar__right a { white-space: nowrap; transition: color 0.2s; }
.utilbar a:hover { color: var(--ink); }
/* static note, styled as plain text so it does not read as a currency selector */
.utilbar__note, .utilbar__chip { position: relative; padding-left: 18px; white-space: nowrap; color: var(--muted); }
.utilbar__note::before, .utilbar__chip::before { content: ""; position: absolute; left: 0; top: 50%; width: 1px; height: 14px; margin-top: -7px; background: var(--line-2); }

/* ---------- status pill (rendered from assets/data/status.json) ---------- */
.status-pill, .status-text { --st: var(--faint); }
.status-pill { display: inline-flex; align-items: center; gap: 8px; height: 26px; padding: 0 11px 0 10px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); font-size: 0.76rem; font-weight: 520; line-height: 1; color: var(--ink-2); white-space: nowrap; transition: border-color 0.2s, color 0.2s; }
.status-pill:hover { border-color: var(--line-2); color: var(--ink); }
.status-text { display: inline-flex; align-items: center; gap: 8px; }
.status-pill::before, .status-text::before { content: ""; width: 7px; height: 7px; flex: none; border-radius: 50%; background: var(--st); box-shadow: 0 0 0 3px color-mix(in srgb, var(--st) 20%, transparent); }
.status-pill[data-state="operational"], .status-text[data-state="operational"] { --st: var(--green); }
.status-pill[data-state="degraded"], .status-text[data-state="degraded"], .status-pill[data-state="partial"], .status-text[data-state="partial"] { --st: var(--amber); }
.status-pill[data-state="major"], .status-text[data-state="major"] { --st: var(--red); }
.status-pill[data-state="maintenance"], .status-text[data-state="maintenance"] { --st: var(--accent); }
.status-pill[data-state="operational"]::before, .status-text[data-state="operational"]::before { animation: st-ping 2.6s var(--ease) infinite; }
.status-pill[data-state="major"]::before, .status-text[data-state="major"]::before, .status-pill[data-state="partial"]::before { animation: st-ping 1.4s var(--ease) infinite; }
@keyframes st-ping { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--st) 55%, transparent); } 70%, 100% { box-shadow: 0 0 0 6px transparent; } }

/* ---------- header ---------- */
.nav__inner { position: relative; gap: 20px; }
.nav .logo { flex: 0 1 auto; min-width: 0; }
.nav .logo > span { min-width: 0; overflow: hidden; white-space: nowrap; }
.nav .nav__actions { flex: none; }
.nav .nav__links { gap: 0; }
.nav .nav__links .nav__item.has-mega { position: static; }
.nav .nav__links .nav__link { position: relative; padding: 8px 10px; font-size: 0.92rem; }
.nav .nav__links .nav__link.is-active { color: var(--ink); }
.nav .nav__links .nav__link.is-active::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--accent); }
.nav .nav__item.has-mega > .nav__link.is-active::after { margin-left: -9px; }
.nav__actions { gap: 8px; }
.nav__search { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 11px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--muted); transition: border-color 0.2s, color 0.2s, background 0.2s; }
.nav__search:hover { border-color: var(--line-2); color: var(--ink); }
.nav__search > svg { width: 16px; height: 16px; }
.nav__search kbd { display: none; height: 22px; padding: 0 6px; border-bottom-width: 1px; background: var(--bg); font-size: 0.66rem; color: var(--muted); letter-spacing: 0.02em; }
.nav .nav__actions .nav__cta { display: inline-flex; }
.nav__login { white-space: nowrap; }

@media (min-width: 1240px) {
  .nav .nav__links .nav__link { padding: 8px 13px; }
  .nav__search { padding: 0 6px 0 12px; }
  .nav__search kbd { display: inline-flex; }
}

/* ---------- mega menus ---------- */
/* the panel spans the header's content box, so its edges line up with the logo and the "Get started" button */
.nav .mega {
  top: calc(100% - 4px); left: 24px; right: 24px; width: auto; padding: 10px;
  grid-template-columns: minmax(0, 1fr) 272px; gap: 10px; align-items: stretch;
  border-radius: 22px; box-shadow: var(--shadow-lg), 0 0 0 1px color-mix(in srgb, var(--ink) 3%, transparent);
  transform: translateY(8px);
}
.nav .mega::before { inset: -22px 0 auto; height: 22px; }
.nav .mega { transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0s linear 0.25s; }
.nav .nav__item.is-open .mega { transform: none; transition-delay: 0s; }
/* top padding puts the column labels on the same line as the aside label (10 + 14 + 4 = 10 + 18) */
.mega__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 14px 4px 6px; }
.mega__group { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.nav__item.is-open .mega__group { animation: mega-in 0.36s var(--ease) both; }
.nav__item.is-open .mega__group + .mega__group { animation-delay: 0.04s; }
.nav__item.is-open .mega__aside { animation: mega-in 0.36s var(--ease) 0.08s both; }
@keyframes mega-in { from { transform: translateY(6px); } }
.mega__label { padding: 4px 10px 8px; font-family: var(--mono); font-size: 0.68rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); }
.mega__link { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 12px; align-items: start; padding: 10px; border-radius: 12px; transition: background 0.2s; }
.mega__link:hover, .mega__link:focus-visible { background: var(--bg); }
.mega__link:focus-visible { outline-offset: -2px; }
.nav .mega__icon { width: 36px; height: 36px; border-radius: 10px; background: var(--bg-2); border: 1px solid var(--line); color: var(--ink-2); transition: background 0.2s, color 0.2s, border-color 0.2s; }
.nav .mega__icon svg { width: 18px; height: 18px; }
.mega__link:hover .mega__icon, .mega__link:focus-visible .mega__icon, .mega__link[aria-current="page"] .mega__icon { background: var(--accent-soft); border-color: transparent; color: var(--accent); }
.mega__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; padding-top: 1px; }
.mega__title { display: flex; align-items: center; gap: 8px; min-width: 0; }
.mega__title strong { font-size: 0.92rem; font-weight: 560; letter-spacing: -0.01em; white-space: nowrap; }
.mega__text small { font-size: 0.8rem; line-height: 1.42; color: var(--muted); }
.mega__price { margin-left: auto; padding-left: 6px; font-family: var(--mono); font-size: 0.7rem; font-style: normal; color: var(--muted); white-space: nowrap; }
.mega__badge { flex: none; padding: 2px 6px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-family: var(--mono); font-size: 0.6rem; font-weight: 500; letter-spacing: 0.06em; line-height: 1.35; text-transform: uppercase; }
.mega__badge--free { background: var(--green-soft); color: var(--green); }
.mega__link[aria-current="page"] strong { color: var(--accent); }

.nav .mega__aside { justify-content: flex-start; gap: 12px; padding: 18px; border-radius: 16px; background: var(--bg); border: 1px solid var(--line); }
.nav .mega__aside p { margin: 0; }
.nav .mega__aside .mega__label { padding: 0; font-size: 0.68rem; line-height: 1.4; color: var(--faint); }
.nav .mega__aside .mega__aside-title { font-size: 1.06rem; font-weight: 560; line-height: 1.25; letter-spacing: -0.02em; color: var(--ink); text-wrap: balance; }
.nav .mega__aside .mega__note { font-size: 0.8rem; line-height: 1.5; color: var(--muted); }
.nav .mega__aside .mega__more { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 0.86rem; font-weight: 560; color: var(--accent); }
.mega__more svg { width: 15px; height: 15px; transition: transform 0.3s var(--ease); }
.mega__more:hover svg { transform: translateX(3px); }

.nav .mega .mega-dsearch { margin: 0; max-width: none; }
.mega .mega-dsearch .domain-search__box { gap: 6px; padding: 4px 4px 4px 12px; box-shadow: none; }
.mega .mega-dsearch .domain-search__box > svg { width: 16px; height: 16px; }
.mega .mega-dsearch input { height: 34px; font-size: 0.9rem; }
.mega .mega-dsearch .btn { height: 32px; padding: 0 12px; font-size: 0.82rem; }
.mega-tlds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.mega-tlds li { display: flex; flex-direction: column; gap: 2px; padding: 8px 10px; border-radius: 10px; background: var(--card); border: 1px solid var(--line); }
.mega-tlds b { font-family: var(--mono); font-size: 0.86rem; font-weight: 500; color: var(--ink); }
.mega-tlds span { font-family: var(--mono); font-size: 0.7rem; color: var(--muted); }
.mega-steps { margin: 0; padding: 0; list-style: none; counter-reset: mstep; display: grid; gap: 9px; }
.mega-steps li { counter-increment: mstep; display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; font-size: 0.82rem; line-height: 1.4; color: var(--ink-2); }
.mega-steps li::before { content: counter(mstep); width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: var(--card); border: 1px solid var(--line-2); font-family: var(--mono); font-size: 0.64rem; color: var(--ink); }
.mega-regions { display: flex; flex-wrap: wrap; gap: 5px; }
.mega-regions li { padding: 3px 7px; border-radius: 6px; background: var(--card); border: 1px solid var(--line); font-family: var(--mono); font-size: 0.66rem; color: var(--ink-2); }
.nav .mega__aside .mega-feature { display: flex; flex-direction: column; gap: 6px; padding: 12px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); font-size: inherit; font-weight: inherit; color: inherit; transition: border-color 0.2s, transform 0.3s var(--ease); }
.nav .mega__aside .mega-feature:hover { border-color: var(--line-2); transform: translateY(-2px); }
.mega-feature__art { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 4px; padding: 12px 10px; border-radius: 8px; background: radial-gradient(120% 120% at 80% 0%, #13214f 0%, var(--space) 70%); }
.mega-feature__art span { padding: 2px 6px; border-radius: 4px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.1); font-family: var(--mono); font-size: 0.64rem; color: #b9c4ff; }
.mega-feature strong { font-size: 0.92rem; line-height: 1.3; color: var(--ink); }
.mega-feature small { font-size: 0.78rem; line-height: 1.45; color: var(--muted); }
.nav .mega__aside .mega-sla { display: flex; align-items: baseline; gap: 2px; font-size: 3rem; font-weight: 540; line-height: 1; letter-spacing: -0.06em; color: var(--ink); }
.mega-sla small { font-family: var(--serif); font-size: 1.5rem; font-style: italic; color: var(--accent); }
.mega__foot { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 14px 4px; border-top: 1px solid var(--line); font-size: 0.8rem; color: var(--muted); }
.mega__foot a { display: inline-flex; align-items: center; gap: 6px; font-weight: 540; color: var(--ink); white-space: nowrap; transition: color 0.2s; }
.mega__foot a:hover { color: var(--accent); }
.mega__foot svg { width: 14px; height: 14px; }

/* ---------- mobile drawer ---------- */
.mobile-menu { top: var(--mm-top, calc(var(--nav-h) + 40px)); padding: 0; }
body.menu-open .announce { z-index: 95; }
body.menu-open .nav { background: var(--bg); -webkit-backdrop-filter: none; backdrop-filter: none; border-bottom-color: var(--line); }
/* While Lenis is stopped the root already blocks scrolling. A body with overflow hidden would then become
   its own scroll container and the sticky header would slide out of view (drawer opened after scrolling). */
html.lenis-stopped body { overflow: visible; }
.mnav { width: 100%; max-width: 640px; margin: 0 auto; padding: 14px 20px 40px; }
.mnav__search { width: 100%; display: flex; align-items: center; gap: 10px; height: 48px; margin-bottom: 6px; padding: 0 16px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--card); font-size: 0.95rem; color: var(--muted); text-align: left; }
.mnav__search svg { width: 18px; height: 18px; }
.mnav__group { border-bottom: 1px solid var(--line); }
.mnav__group > summary, .mnav__direct { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 2px; list-style: none; cursor: pointer; font-size: 1.36rem; font-weight: 540; letter-spacing: -0.03em; color: var(--ink); }
.mnav__group > summary::-webkit-details-marker { display: none; }
.mnav__group > summary svg { width: 18px; height: 18px; color: var(--muted); transition: transform 0.3s var(--ease); }
.mnav__group[open] > summary svg { transform: rotate(180deg); }
.mnav__group > summary { justify-content: flex-start; }
.mnav__group > summary svg { order: 2; margin-left: auto; }
.mnav__group.is-current > summary::after { content: ""; order: 1; width: 6px; height: 6px; flex: none; border-radius: 50%; background: var(--accent); }
.mnav__links { display: grid; gap: 1px; padding: 0 0 14px; }
.mnav__group[open] .mnav__links { animation: mega-in 0.35s var(--ease); }
.mnav__links a { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 10px 12px; border-radius: 10px; font-size: 1rem; color: var(--ink-2); transition: background 0.2s, color 0.2s; }
.mnav__links a:hover, .mnav__links a.is-active, .mnav__links a[aria-current="page"] { background: var(--bg-2); color: var(--ink); }
.mnav__links small { font-family: var(--mono); font-size: 0.72rem; color: var(--muted); white-space: nowrap; }
.mnav__direct { border-bottom: 1px solid var(--line); }
.mnav__direct small { font-family: var(--mono); font-size: 0.74rem; font-weight: 400; letter-spacing: 0; color: var(--muted); }
.mnav__direct[aria-current="page"] { color: var(--accent); }
.mnav__meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 22px; }
.mnav__theme { display: inline-flex; align-items: center; gap: 10px; font-size: 0.88rem; color: var(--muted); }
.mnav__help { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin-top: 14px; font-size: 0.84rem; color: var(--muted); }
.mnav__help > span { display: inline-flex; align-items: center; gap: 8px; }
.mnav__help svg { width: 15px; height: 15px; color: var(--faint); }
.mnav__help a { color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-2); }
.mnav .mobile-menu__cta { margin-top: 22px; }

/* ---------- footer ---------- */
/* bottom padding keeps the last row clear of the floating Help / back-to-top buttons */
.footer { padding: 0 0 92px; margin-top: 0; border-top: 1px solid var(--line); }
.helpband { padding: 64px 0; border-bottom: 1px solid var(--line); }
.helpband__panel { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 44px; align-items: center; padding: 40px; border-radius: 28px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.helpband__panel::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background-image: radial-gradient(var(--line-2) 1px, transparent 1px); background-size: 18px 18px; -webkit-mask: radial-gradient(70% 90% at 0% 100%, #000, transparent 70%); mask: radial-gradient(70% 90% at 0% 100%, #000, transparent 70%); opacity: 0.8; }
.helpband__intro h2 { margin: 0 0 12px; font-size: clamp(1.8rem, 3.2vw, 2.6rem); line-height: 1.05; letter-spacing: -0.045em; text-wrap: balance; }
.helpband__intro p { max-width: 440px; color: var(--muted); }
.helpband__tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.helpband__tile { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding: 18px; border-radius: 18px; background: var(--bg); border: 1px solid var(--line); transition: border-color 0.2s, background 0.2s, transform 0.3s var(--ease), box-shadow 0.3s; }
.helpband__tile:hover { border-color: var(--line-2); background: var(--card); transform: translateY(-2px); box-shadow: var(--shadow); }
.helpband__icon { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.helpband__icon svg { width: 19px; height: 19px; }
.helpband__text { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.helpband__text strong { font-size: 0.96rem; }
.helpband__text small { font-size: 0.83rem; line-height: 1.45; color: var(--muted); overflow-wrap: anywhere; text-wrap: pretty; }
.helpband__go { position: absolute; top: 22px; right: 18px; width: 16px; height: 16px; color: var(--faint); transition: transform 0.3s var(--ease), color 0.2s; }
.helpband__tile:hover .helpband__go { color: var(--ink); transform: translateX(3px); }

.footer__top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 48px; align-items: end; padding: 64px 0 48px; border-bottom: 1px solid var(--line); }
.footer .footer__top .footer__brand { grid-column: auto; }
.footer .footer__about { max-width: 470px; margin: 16px 0 0; font-size: 0.98rem; color: var(--muted); }
.footer .newsletter { display: block; max-width: 480px; padding: 0; border: 0; border-radius: 0; background: none; }
.newsletter__label { display: block; margin-bottom: 10px; font-size: 0.88rem; font-weight: 540; color: var(--ink); }
.newsletter__box { display: flex; gap: 6px; padding: 5px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--card); transition: border-color 0.2s, box-shadow 0.2s; }
.newsletter__box:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 12%, transparent); }
.newsletter__box input[type="email"] { flex: 1; min-width: 0; padding: 0 14px; border: 0; outline: none; background: none; font-size: 0.92rem; color: var(--ink); }
.newsletter__note { margin-top: 10px; font-size: 0.78rem; color: var(--muted); }
.newsletter__note a { color: var(--ink-2); text-decoration: underline; text-underline-offset: 2px; text-decoration-color: var(--line-2); }
.newsletter__note a:hover { color: var(--accent); }

.footer .footer__cols { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 28px; padding-top: 48px; }
.footer .footer__title { margin-bottom: 16px; font-family: var(--mono); font-size: 0.7rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); }
.footer .footer__col ul { gap: 9px; }
.footer .footer__col a { font-size: 0.89rem; color: var(--ink-2); }
.footer .footer__col a:hover { color: var(--accent); }
.footer .footer__col a[aria-current="page"] { color: var(--ink); font-weight: 560; }

.footer .footer__trust { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 32px; margin-top: 56px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.footer .footer__pay { display: flex; flex-wrap: wrap; gap: 6px; }
.footer__pay li { padding: 4px 9px; border-radius: 6px; border: 1px solid var(--line-2); background: var(--card); font-family: var(--mono); font-size: 0.68rem; font-weight: 500; letter-spacing: 0.05em; color: var(--ink-2); }
.footer .footer__facts { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 0.84rem; color: var(--muted); }
.footer__facts li, .footer__facts a { display: inline-flex; align-items: center; gap: 7px; }
.footer .footer__facts a { color: var(--muted); font-size: inherit; }
.footer .footer__facts a:hover { color: var(--accent); }
.footer__facts svg { width: 15px; height: 15px; color: var(--faint); }
.footer__tm { max-width: 900px; margin-top: 18px; font-size: 0.76rem; line-height: 1.55; color: var(--muted); }
.footer__copy { color: var(--muted); }
.footer__legal { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.footer__legal a { color: var(--muted); }

/* ---------- back to top + support launcher ---------- */
.to-top { right: 22px; bottom: 84px; width: 44px; height: 44px; transition: opacity 0.3s, transform 0.3s var(--ease), visibility 0s linear 0.3s, background 0.2s, color 0.2s; }
.to-top:not(.is-shown) { visibility: hidden; pointer-events: none; }
.to-top.is-shown { transition-delay: 0s; }
/* "Back to top" rides in the launcher row, so both floating buttons share one baseline and one bottom band */
.launcher { position: fixed; right: 20px; bottom: 20px; z-index: 85; display: flex; align-items: center; gap: 10px; }
.launcher > .to-top { position: static; flex: none; }
.launcher.is-open > .to-top { display: none; }
.launcher__btn { display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 18px 0 15px; border-radius: 999px; background: var(--inv-bg); color: var(--inv-ink); font-size: 0.92rem; font-weight: 560; box-shadow: var(--shadow-lg); transition: transform 0.3s var(--ease), background 0.2s, color 0.2s; }
.launcher__btn:hover { transform: translateY(-2px); background: var(--accent); color: #fff; }
.launcher__btn svg { width: 19px; height: 19px; }
.launcher__ic-close, .launcher.is-open .launcher__ic-open { display: none; }
.launcher.is-open .launcher__ic-close { display: block; }
.launcher__panel { position: absolute; right: 0; bottom: calc(100% + 12px); width: 368px; max-width: calc(100vw - 32px); max-height: calc(100vh - 100px); overflow-y: auto; overscroll-behavior: contain; padding: 8px; border-radius: 22px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-lg), 0 30px 80px -30px rgba(0, 0, 0, 0.35); transform-origin: 100% 100%; animation: launcher-in 0.35s var(--ease); }
.launcher__panel[hidden] { display: none; }
.launcher__panel:focus { outline: none; }
@keyframes launcher-in { from { opacity: 0; transform: translateY(10px) scale(0.97); } }
.launcher__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 14px 12px 12px 14px; }
.launcher__title { font-size: 1.14rem; font-weight: 580; letter-spacing: -0.02em; color: var(--ink); }
.launcher__sub { margin-top: 2px; font-size: 0.84rem; color: var(--muted); }
.launcher__close { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); color: var(--muted); transition: background 0.2s, color 0.2s; }
.launcher__close:hover { background: var(--bg-2); color: var(--ink); }
.launcher__close svg { width: 15px; height: 15px; }
.launcher__status { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 6px 8px; padding: 11px 12px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line); font-size: 0.85rem; color: var(--ink-2); transition: border-color 0.2s; }
.launcher__status:hover { border-color: var(--line-2); }
.launcher__status > svg { width: 14px; height: 14px; color: var(--faint); }
.launcher__search { display: flex; align-items: center; gap: 8px; height: 46px; margin: 0 6px 6px; padding: 0 6px 0 12px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--card); transition: border-color 0.2s, box-shadow 0.2s; }
.launcher__search:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 12%, transparent); }
.launcher__search > svg { width: 16px; height: 16px; color: var(--faint); }
.launcher__search input { flex: 1; min-width: 0; border: 0; outline: none; background: none; font-size: 0.92rem; color: var(--ink); -webkit-appearance: none; appearance: none; }
.launcher__search input::placeholder { color: var(--faint); }
.launcher__go { width: 32px; height: 32px; border-radius: 8px; display: grid; place-items: center; color: var(--muted); }
.launcher__go:hover { background: var(--bg-2); color: var(--ink); }
.launcher__go svg { width: 15px; height: 15px; }
.launcher__list { display: grid; gap: 2px; padding: 0 0 6px; }
.launcher__list a { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 12px; align-items: center; padding: 10px; border-radius: 12px; transition: background 0.2s; }
.launcher__list a:hover { background: var(--bg); }
.launcher__icon { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.launcher__icon svg { width: 17px; height: 17px; }
.launcher__list strong { display: block; font-size: 0.92rem; }
.launcher__list small { display: block; font-size: 0.78rem; color: var(--muted); }
.launcher__foot { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; padding: 12px 12px 6px; border-top: 1px solid var(--line); font-size: 0.8rem; color: var(--muted); }
.launcher__foot > span:last-child { display: inline-flex; flex-wrap: wrap; gap: 4px 12px; }
.launcher__foot a { color: var(--ink); font-weight: 540; }
.launcher__foot a:hover { color: var(--accent); }
body.menu-open .launcher, body.menu-open .to-top { visibility: hidden; }

/* ---------- search palette ---------- */
.palette { position: fixed; inset: 0; z-index: 500; display: flex; align-items: flex-start; justify-content: center; padding: 12vh 16px 16px; }
.palette[hidden] { display: none; }
.palette__backdrop { position: absolute; inset: 0; background: color-mix(in srgb, #07070b 48%, transparent); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); animation: pal-fade 0.25s ease; }
.palette__panel { position: relative; display: flex; flex-direction: column; width: min(660px, 100%); max-height: min(620px, 76vh); overflow: hidden; border-radius: 20px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-lg), 0 40px 100px -30px rgba(0, 0, 0, 0.45); animation: pal-in 0.32s var(--ease); }
@keyframes pal-fade { from { opacity: 0; } }
@keyframes pal-in { from { opacity: 0; transform: translateY(-8px) scale(0.985); } }
.palette__head { flex: none; display: flex; align-items: center; gap: 12px; height: 60px; padding: 0 12px 0 18px; border-bottom: 1px solid var(--line); }
.palette__head > svg { width: 19px; height: 19px; color: var(--muted); }
.palette__input { flex: 1; min-width: 0; height: 100%; border: 0; outline: none; background: none; font-size: 1.05rem; color: var(--ink); }
.palette__input::placeholder { color: var(--faint); }
.palette__esc { display: inline-flex; }
.palette__esc kbd { cursor: pointer; }
.palette__body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 6px 8px 10px; }
.palette__glabel { padding: 12px 10px 6px; font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); }
.palette__opt { display: grid; grid-template-columns: 34px minmax(0, 1fr) 16px; gap: 12px; align-items: center; padding: 9px 10px; border-radius: 12px; cursor: pointer; }
.palette__opt[aria-selected="true"] { background: color-mix(in srgb, var(--accent) 8%, var(--card)); }
.palette__opt-icon { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: var(--bg); border: 1px solid var(--line); color: var(--ink-2); }
.palette__opt[aria-selected="true"] .palette__opt-icon { background: var(--accent-soft); border-color: transparent; color: var(--accent); }
.palette__opt-icon svg { width: 16px; height: 16px; }
.palette__opt-text { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.palette__opt-title { overflow: hidden; font-size: 0.93rem; font-weight: 530; color: var(--ink); text-overflow: ellipsis; white-space: nowrap; }
.palette__opt-title span { font-weight: 400; color: var(--muted); }
.palette__opt-desc { overflow: hidden; font-size: 0.8rem; color: var(--muted); text-overflow: ellipsis; white-space: nowrap; }
.palette__opt-go { width: 16px; height: 16px; color: var(--accent); opacity: 0; transition: opacity 0.15s; }
.palette__opt[aria-selected="true"] .palette__opt-go { opacity: 1; }
.palette mark { background: none; color: var(--accent); font-weight: 600; }
.palette__empty { padding: 26px 12px 12px; text-align: center; font-size: 0.92rem; color: var(--muted); }
.palette__empty strong { color: var(--ink); }
.palette__foot { flex: none; display: flex; align-items: center; gap: 16px; padding: 10px 16px; border-top: 1px solid var(--line); background: var(--bg); font-size: 0.76rem; color: var(--muted); }
.palette__foot span { display: inline-flex; align-items: center; gap: 3px; }
.palette__foot kbd { min-width: 20px; height: 20px; padding: 0 5px; font-size: 0.66rem; }
.palette__foot a { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 520; color: var(--ink-2); }
.palette__foot a:hover { color: var(--accent); }
.palette__foot svg { width: 13px; height: 13px; }

/* ---------- 404 ---------- */
.nf { padding-bottom: 72px; }
.nf .page-hero__grid { grid-template-columns: 1.02fr 0.98fr; }
.nf h1 { max-width: 620px; font-size: clamp(2.5rem, 5vw, 4.2rem); }
.nf .lead { max-width: 520px; }
.nf-search { max-width: 540px; margin-top: 30px; }
.nf-search .domain-search__box > svg { width: 18px; height: 18px; }
.nf__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 20px; font-size: 0.86rem; color: var(--muted); }
.nf-suggest { margin-top: 26px; max-width: 540px; }
.nf-suggest__label { margin-bottom: 8px; font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); }
.nf-suggest ul { display: flex; flex-wrap: wrap; gap: 8px; }
.nf-suggest li { max-width: 100%; }
.nf-suggest a { display: inline-flex; align-items: center; gap: 8px; max-width: 100%; height: 36px; padding: 0 14px; border-radius: 999px; background: var(--card); border: 1px solid var(--line-2); font-size: 0.88rem; font-weight: 520; color: var(--ink); transition: border-color 0.2s, color 0.2s; }
.nf-suggest a > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nf-suggest svg { flex: none; }
.nf-suggest a:hover { border-color: var(--accent); color: var(--accent); }
.nf-suggest svg { width: 14px; height: 14px; }

.nf-window { position: relative; isolation: isolate; overflow: hidden; aspect-ratio: 1 / 0.9; border-radius: 28px; color: #fff; background: radial-gradient(90% 70% at 50% 112%, #1b2d6b 0%, #091028 46%, var(--space) 82%); box-shadow: 0 50px 110px -50px rgba(10, 20, 60, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.05) inset; }
[data-theme="dark"] .nf-window { box-shadow: 0 0 0 1px var(--panel-inv-line), 0 40px 90px -45px rgba(80, 100, 255, 0.35); }
.nf-window__stars { position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(255, 255, 255, 0.85) 1px, transparent 1.2px), radial-gradient(rgba(255, 255, 255, 0.45) 1px, transparent 1.2px); background-size: 120px 120px, 70px 70px; background-position: 0 0, 30px 50px; opacity: 0.55; -webkit-mask: linear-gradient(180deg, #000 35%, transparent 80%); mask: linear-gradient(180deg, #000 35%, transparent 80%); animation: nf-drift 80s linear infinite; }
@keyframes nf-drift { to { background-position: 240px 120px, 170px 120px; } }
.nf-window__planet { position: absolute; left: 50%; top: 74%; z-index: -1; width: 170%; aspect-ratio: 1; border-radius: 50%; transform: translateX(-50%); background: radial-gradient(closest-side, #050913 98%, transparent 100%); box-shadow: 0 -2px 0 rgba(160, 190, 255, 0.55), 0 -20px 70px rgba(80, 130, 255, 0.45), 0 -70px 160px rgba(60, 100, 255, 0.25); }
.nf-window__label { position: absolute; top: 22px; left: 24px; display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255, 255, 255, 0.55); }
.nf-window__label::before { content: ""; width: 18px; height: 1px; background: currentColor; }
.nf-window__code { position: absolute; inset: 0 0 16% 0; display: flex; align-items: center; justify-content: center; font-size: clamp(6rem, 12vw, 10.5rem); font-weight: 560; line-height: 1; letter-spacing: -0.08em; color: #fff; text-shadow: 0 12px 60px rgba(90, 130, 255, 0.35); }
.nf-window__code em { padding-right: 0.05em; font-family: var(--serif); font-weight: 400; color: #9fb0ff; }
.nf-window__ring { position: absolute; left: 50%; top: 42%; width: 74%; height: 20%; border: 1px solid rgba(160, 182, 255, 0.28); border-radius: 50%; transform: translate(-50%, -50%) rotate(-14deg); }
.nf-window__ring--2 { width: 92%; height: 30%; border-color: rgba(160, 182, 255, 0.12); transform: translate(-50%, -50%) rotate(-14deg); }
.nf-window__sat { position: absolute; top: 0; left: 0; width: 9px; height: 9px; border-radius: 50%; background: #dfe6ff; box-shadow: 0 0 12px 3px rgba(150, 175, 255, 0.7); offset-path: ellipse(50% 50% at 50% 50%); offset-rotate: 0deg; animation: nf-orbit 14s linear infinite; }
@keyframes nf-orbit { from { offset-distance: 0%; } to { offset-distance: 100%; } }
.nf-window__bar { position: absolute; left: 18px; right: 18px; bottom: 18px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 14px; border-radius: 14px; background: rgba(8, 12, 28, 0.62); border: 1px solid rgba(255, 255, 255, 0.1); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-family: var(--mono); font-size: 0.76rem; color: rgba(255, 255, 255, 0.65); }
.nf-window__req { display: flex; align-items: center; gap: 8px; min-width: 0; }
.nf-window__req b { overflow: hidden; font-weight: 500; color: #fff; text-overflow: ellipsis; white-space: nowrap; }
.nf-window__status { flex: none; padding: 2px 8px; border-radius: 6px; background: rgba(229, 72, 77, 0.16); border: 1px solid rgba(229, 72, 77, 0.32); color: #ffb3b5; white-space: nowrap; }

.nf-links-wrap .section-head { margin-bottom: 36px; }
.nf-links-wrap .section-head h2 { max-width: none; font-size: clamp(1.9rem, 3.4vw, 2.75rem); text-wrap: balance; }
.nf-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.nf-link { display: grid; grid-template-columns: 44px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 16px; row-gap: 14px; padding: 22px; border-radius: var(--radius-lg); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: border-color 0.2s, transform 0.3s var(--ease), box-shadow 0.3s; }
.nf-link:hover { border-color: var(--line-2); transform: translateY(-3px); box-shadow: var(--shadow); }
.nf-link__icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.nf-link__icon svg { width: 21px; height: 21px; }
.nf-link__body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.nf-link__body strong { font-size: 1.06rem; letter-spacing: -0.02em; }
.nf-link__body small { font-size: 0.88rem; color: var(--muted); }
.nf-link__foot { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; padding-top: 14px; border-top: 1px solid var(--line); font-family: var(--mono); font-size: 0.76rem; color: var(--muted); }
.nf-link__foot svg { width: 16px; height: 16px; color: var(--faint); transition: transform 0.3s var(--ease), color 0.2s; }
.nf-link:hover .nf-link__foot svg { color: var(--accent); transform: translateX(3px); }
.nf-note { margin-top: 28px; text-align: center; font-size: 0.92rem; color: var(--muted); }
.nf-note a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-2); }
.nf-note a:hover { color: var(--accent); }

/* ---------- sitemap ---------- */
.sm-hero { padding-bottom: 56px; }
.sm-hero h1 { margin-bottom: 16px; text-wrap: balance; }
.sm-hero__updated { margin-top: 14px; font-family: var(--mono); font-size: 0.76rem; color: var(--faint); }
.sm-filter { max-width: 580px; margin: 34px auto 0; }
.sm-filter .domain-search__box { padding-right: 8px; }
.sm-filter .domain-search__box > svg { width: 18px; height: 18px; }
.sm-filter input { -webkit-appearance: none; appearance: none; }
.sm-filter__count { flex: none; padding: 5px 11px; border-radius: 999px; background: var(--bg-2); border: 1px solid var(--line); font-family: var(--mono); font-size: 0.72rem; color: var(--muted); white-space: nowrap; }
.sm-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 18px; }
.sm-chips a { display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); font-size: 0.82rem; color: var(--ink-2); transition: border-color 0.2s, color 0.2s, opacity 0.2s; }
.sm-chips a:hover { border-color: var(--line-2); color: var(--ink); }
.sm-chips a span { font-family: var(--mono); font-size: 0.68rem; color: var(--faint); }
.sm-chips a.is-empty { opacity: 0.4; }
.sm-body { padding: 8px 0 96px; }
.sitemap-grid { columns: 3 300px; column-gap: 18px; }
.sitemap-group { break-inside: avoid; margin: 0 0 18px; padding: 22px 22px 16px; border-radius: var(--radius-lg); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-sm); scroll-margin-top: var(--anchor-offset); }
.sitemap-group[hidden], .sitemap-group li[hidden] { display: none; }
.sitemap-group h2 { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); font-size: 1.08rem; font-weight: 580; letter-spacing: -0.02em; line-height: 1.2; }
.sitemap-group__icon { width: 30px; height: 30px; flex: none; border-radius: 9px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.sitemap-group__icon svg { width: 15px; height: 15px; }
.sitemap-group__count { margin-left: auto; padding: 2px 8px; border-radius: 999px; background: var(--bg-2); font-family: var(--mono); font-size: 0.68rem; font-weight: 500; letter-spacing: 0; color: var(--muted); }
.sitemap-group ul { display: grid; gap: 1px; }
.sitemap-group a { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 -10px; padding: 7px 10px; border-radius: 9px; font-size: 0.93rem; color: var(--ink-2); transition: background 0.2s, color 0.2s; }
.sitemap-group a::after { content: "→"; flex: none; color: var(--accent); opacity: 0; transform: translateX(-4px); transition: opacity 0.2s, transform 0.25s var(--ease); }
.sitemap-group a:hover { background: var(--bg); color: var(--ink); }
.sitemap-group a:hover::after { opacity: 1; transform: none; }
.sitemap-group mark { padding: 0 1px; border-radius: 3px; background: var(--accent-soft); color: var(--accent); }
.sitemap-group a { justify-content: flex-start; }
.sitemap-link__main { flex: 1 1 auto; min-width: 0; }
.sitemap-link__meta { flex: none; font-family: var(--mono); font-size: 0.7rem; color: var(--faint); white-space: nowrap; transition: color 0.2s; }
.sitemap-group a:hover .sitemap-link__meta { color: var(--muted); }
/* the hover arrow takes no room at rest, so each meta label ends on the card's text edge, under the count */
.sitemap-group a::after { width: 0; margin-left: -10px; overflow: hidden; text-align: right; transition: opacity 0.2s, transform 0.25s var(--ease), width 0.25s var(--ease), margin 0.25s var(--ease); }
.sitemap-group a:hover::after, .sitemap-group a:focus-visible::after { width: 1em; margin-left: 0; opacity: 1; transform: none; }
/* balanced columns drawn by chrome-sitemap.js (the CSS columns above are the no-JS fallback) */
.sitemap-grid.sm-cols { columns: auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: start; }
.sm-col { display: grid; gap: 18px; align-content: start; min-width: 0; }
.sm-col[hidden] { display: none; }
.sm-col .sitemap-group { margin: 0; }
.sm-empty { max-width: 520px; margin: 24px auto 0; padding: 36px 28px; text-align: center; border-radius: var(--radius-lg); border: 1px dashed var(--line-2); color: var(--muted); }
.sm-empty strong { display: block; margin-bottom: 6px; font-size: 1.1rem; color: var(--ink); }
.sm-empty a { color: var(--accent); font-weight: 560; }
.sm-extra { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; margin-top: 36px; font-size: 0.88rem; color: var(--muted); }
.sm-extra a, .sm-extra button { display: inline-flex; align-items: center; gap: 7px; color: var(--ink-2); }
.sm-extra a:hover, .sm-extra button:hover { color: var(--accent); }
.sm-extra svg { width: 15px; height: 15px; }
.sm-extra kbd { margin-left: 2px; }
@media (hover: none), (max-width: 640px) { .sm-extra kbd { display: none; } }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .nav .nav__links, .nav .nav__login { display: none; }
  .nav .nav__burger { display: block; }
  .footer .footer__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 40px; }
  .sitemap-grid.sm-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sm-col--3 { grid-column: 1 / -1; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
}
@media (min-width: 641px) and (max-width: 1100px) {
  .sitemap-grid.sm-cols { display: block; columns: 2; column-gap: 18px; }
  .sitemap-grid.sm-cols > .sm-col:not([hidden]) { display: contents; }
  .sitemap-grid.sm-cols .sitemap-group { margin: 0 0 18px; }
}
@media (max-width: 980px) {
  .helpband__panel { grid-template-columns: 1fr; gap: 28px; }
  .nf .page-hero__grid { grid-template-columns: 1fr; gap: 44px; }
  .nf-window { max-width: 560px; aspect-ratio: 1 / 0.78; }
  .nf-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* the long promo text needs ~1060px; below that keep the bar on one line */
@media (max-width: 1100px) {
  .announce__more { display: none; }
}
/* the four footer facts stop fitting on one line: a 2 × 2 grid instead of a 3 + 1 wrap */
@media (max-width: 900px) {
  .footer .footer__facts { display: grid; grid-template-columns: repeat(2, max-content); gap: 10px 32px; }
}
@media (max-width: 820px) {
  .utilbar { display: none; }
  .footer__top { grid-template-columns: minmax(0, 1fr); gap: 32px; align-items: start; }
}
@media (max-width: 640px) {
  .announce { gap: 2px 8px; }
  .announce__tag, .announce__more { display: none; }
  .nav__inner { gap: 10px; }
  .nav .nav__actions { gap: 6px; }
  .nav .nav__actions > .theme-toggle { display: none; }
  .nav .nav__actions .nav__cta { height: 38px; padding: 0 14px; font-size: 0.86rem; }
  .nav__search { width: 38px; padding: 0; justify-content: center; }
  .nav .nav__burger { width: 40px; height: 40px; }
  .nav .nav__burger span { left: 11px; right: 11px; }
  .nav .nav__burger span:nth-child(1) { top: 15px; }
  .nav .nav__burger span:nth-child(2) { top: 23px; }
  .nav .nav__burger[aria-expanded="true"] span:nth-child(1), .nav .nav__burger[aria-expanded="true"] span:nth-child(2) { top: 19px; }
  .mnav { padding: 12px 16px 36px; }
  .mnav__group > summary, .mnav__direct { font-size: 1.24rem; padding: 15px 2px; }
  .helpband { padding: 44px 0; }
  .helpband__panel { padding: 24px 18px; border-radius: 22px; }
  .helpband__tiles { grid-template-columns: 1fr; gap: 8px; }
  .helpband__tile { flex-direction: row; align-items: center; gap: 14px; padding: 14px 44px 14px 14px; border-radius: 16px; }
  .helpband__icon { flex: none; }
  .helpband__go { top: 50%; right: 16px; margin-top: -8px; }
  .footer__top { padding: 48px 0 36px; }
  .footer .footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 20px; padding-top: 36px; }
  .footer .footer__trust { margin-top: 40px; flex-direction: column; align-items: flex-start; }
  .footer .footer__trust { align-items: stretch; }
  /* payment marks as an even 3 × 2 grid rather than a row with one straggler */
  .footer .footer__pay { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__pay li { text-align: center; }
  .footer .footer__facts { grid-template-columns: minmax(0, 1fr); }
  .footer__bottom .status-pill { order: -1; }
  .to-top { right: 15px; bottom: calc(68px + env(safe-area-inset-bottom, 0px)); width: 42px; height: 42px; }
  .launcher { right: 14px; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); flex-direction: column; }
  .launcher__btn { width: 44px; height: 44px; padding: 0; justify-content: center; }
  .launcher__btn svg { width: 18px; height: 18px; }
  /* with the footer padding this keeps the last row above the stacked Help / back-to-top buttons */
  .footer__bottom { padding-bottom: 28px; }
  .launcher__btn span { display: none; }
  .launcher__panel { width: calc(100vw - 28px); max-width: none; max-height: calc(100vh - 90px); }
  /* while someone types into the footer's newsletter box the floating buttons step aside so they never sit
     over its Subscribe button */
  body:has(.footer :is(input, textarea, select):focus) .launcher:not(.is-open) { opacity: 0; visibility: hidden; transition: opacity 0.2s, visibility 0s linear 0.2s; }
  .palette { padding: 10px; }
  .palette__panel { max-height: calc(100vh - 20px); max-height: calc(100dvh - 20px); }
  .palette__foot span:not(:first-child) { display: none; }
  .nf { padding-top: 40px; padding-bottom: 36px; }
  .nf .page-hero__grid { gap: 32px; }
  /* decorative: keep it short so the destination list starts near the fold */
  .nf-window { aspect-ratio: 16 / 10; border-radius: 22px; }
  .nf-window__code { font-size: 5.6rem; }
  .nf-links-wrap { padding-top: 44px; }
  .nf-links-wrap .section-head { margin-bottom: 22px; }
  .nf-window__bar { left: 12px; right: 12px; bottom: 12px; font-size: 0.7rem; }
  .nf-links { grid-template-columns: 1fr; gap: 10px; }
  .nf-link { grid-template-columns: 40px minmax(0, 1fr); column-gap: 14px; row-gap: 2px; align-items: center; padding: 14px 16px; border-radius: 18px; }
  .nf-link__icon { grid-row: 1 / 3; width: 40px; height: 40px; border-radius: 11px; }
  .nf-link__icon svg { width: 19px; height: 19px; }
  .nf-link__body { grid-column: 2; grid-row: 1; }
  .nf-link__body strong { font-size: 1rem; }
  .nf-link__body small { display: none; }
  .nf-link__foot { grid-column: 2; grid-row: 2; padding-top: 0; border-top: 0; font-size: 0.72rem; }
  .sitemap-group { padding: 20px 18px 14px; }
  .sitemap-grid.sm-cols, .sm-col, .sm-col--3 { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .sm-filter__count { padding: 4px 9px; font-size: 0.68rem; }
  .sm-filter input { font-size: 0.95rem; }
}
@media (max-width: 420px) {
  .nav__inner { gap: 6px; }
  .logo { font-size: 1.08rem; gap: 8px; }
  .logo__mark { width: 28px; height: 28px; }
  .nav__search { width: 36px; height: 36px; }
  .nav .nav__actions .nav__cta { height: 36px; padding: 0 12px; font-size: 0.82rem; }
  .nav .nav__burger { width: 38px; height: 38px; border-radius: 11px; }
  .nav .nav__burger span { left: 10px; right: 10px; }
  .nav .nav__burger span:nth-child(1) { top: 14px; }
  .nav .nav__burger span:nth-child(2) { top: 22px; }
  .nav .nav__burger[aria-expanded="true"] span:nth-child(1), .nav .nav__burger[aria-expanded="true"] span:nth-child(2) { top: 18px; }
}
/* very narrow phones: the drawer carries "Get started", so the header keeps logo, search and menu */
@media (max-width: 359.98px) {
  .nav .nav__actions .nav__cta { display: none; }
}

/* pages that already close with their own call-to-action skip the help band (and any page can opt out) */
body:has(main .cta) .helpband, body:has(main[data-no-helpband]) .helpband { display: none; }

/* keyword-led H1s in the two-column inner heroes: a touch smaller and line-balanced so they sit in 2–3 lines */
.page-hero__grid h1 { font-size: clamp(2.4rem, 4.4vw, 3.9rem); text-wrap: balance; }
.page-hero--center h1 { text-wrap: balance; }
