@font-face { font-family: "Geist"; src: url("../fonts/geist.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("../fonts/geist-mono.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
/* XeniaGroup — CarlHost-matched dark theme. */
:root {
  --bg: #0A0A0A;
  --bg-soft: #0F0F0F;
  --card: #121212;
  --card-hover: #161616;
  --border: #222222;
  --border-strong: #2E2E2E;
  --fg: #F5F5F5;
  --fg-2: #D4D4D4;
  --muted: #9A9A9A;
  --accent: #22D3B6;
  --accent-hover: #4BE0C8;
  --accent-ink: #0B1220;
  --accent-rgb: 34, 211, 182;
  --logo-bar: #22D3B6; --logo-mid: #E8F1FF; --logo-dot: #0B1220; --logo-mid-dot: #0B1220; --logo-dash: #156964;
  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --radius: 14px;
  --wrap: 1200px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--font); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -0.03em; text-wrap: balance; }
p { margin: 0; }
.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; }

.wrap {
  max-width: var(--wrap); margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.accent { color: var(--accent); }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; color: var(--accent); font-weight: 600; font-size: 15px; text-decoration: none; }
.link-arrow svg { width: 16px; height: 16px; transition: transform .15s ease; }
.link-arrow:hover svg { transform: translateX(3px); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 46px; padding: 0 22px; border-radius: 10px; border: 1px solid transparent;
  background: var(--accent); color: var(--accent-ink);
  font: 600 15px/1 var(--font); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background .15s ease, border-color .15s ease;
}
.btn:hover { background: var(--accent-hover); }
.btn svg { width: 16px; height: 16px; }
.btn-dark { background: var(--card); color: var(--fg); border-color: var(--border-strong); }
.btn-dark:hover { background: var(--card-hover); border-color: var(--border-hover); }
.btn-block { width: 100%; }

/* Header */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 40; background: var(--bg); }
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 30; background: rgba(11, 17, 32, .97); border-bottom: 1px solid transparent; }
.site-header.scrolled { border-bottom-color: var(--border); }
.site-header .wrap { display: flex; align-items: center; gap: 40px; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--fg); flex: none; }
.brand svg { width: 30px; height: 26px; }
.brand-name { font-weight: 700; font-size: 19px; letter-spacing: -0.03em; }
.brand-name b { font-weight: inherit; color: var(--accent); }
.nav { display: flex; align-items: center; justify-content: space-between; flex: 1; gap: 24px; }
.nav-links { display: flex; gap: 28px; }
.nav-links a { color: var(--fg-2); text-decoration: none; font-weight: 500; font-size: 14.5px; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--fg); }
.nav-right { display: flex; align-items: center; gap: 22px; }
.nav-right .text-link { color: var(--fg-2); text-decoration: none; font-weight: 500; font-size: 14.5px; }
.nav-right .text-link:hover { color: var(--fg); }
.nav-right .btn { min-height: 40px; padding: 0 18px; font-size: 14.5px; }
.menu-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--border-strong); color: var(--fg); border-radius: 10px; width: 44px; height: 44px; align-items: center; justify-content: center; cursor: pointer; }
.menu-toggle svg { width: 20px; height: 20px; }

/* Hero */
.hero { position: relative; overflow: hidden; }
.dots::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(var(--dot) 1px, transparent 1px); background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 90%); mask-image: linear-gradient(to bottom, #000 0%, transparent 90%);
}
.hero .wrap { position: relative; padding-block: 120px 96px; }
.hero-copy { max-width: 760px; display: grid; gap: 24px; }
.hero h1 { font-size: clamp(42px, 7.2vw, 80px); line-height: 1.02; letter-spacing: -0.045em; }
.hero p.lead { color: var(--fg-2); font-size: clamp(17px, 2vw, 19px); line-height: 1.65; max-width: 600px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 12px; }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 88px; border-top: 1px solid var(--border); }
.fact { padding: 24px 24px 0 0; min-width: 0; }
.fact + .fact { padding-left: 24px; border-left: 1px solid var(--border); }
.fact b { display: block; font-size: 22px; font-weight: 700; letter-spacing: -0.02em; }
.fact span { color: var(--muted); font-size: 14px; }

/* Sections */
section { scroll-margin-top: 88px; }
.section { padding-block: 112px; }
.section.tight { padding-top: 0; }
.head { display: grid; gap: 14px; margin-bottom: 56px; }
.head.center { text-align: center; justify-items: center; }
.head h2 { font-size: clamp(32px, 4.6vw, 48px); line-height: 1.08; }
.head p { color: var(--muted); font-size: 17px; max-width: 620px; }

/* Service cards */
.services { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.svc {
  display: flex; flex-direction: column; gap: 14px; min-width: 0; padding: 30px 28px 24px;
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); text-decoration: none; color: var(--fg);
  transition: border-color .15s ease, background .15s ease;
}
.svc:hover { border-color: var(--border-strong); background: var(--card-hover); }
.icon-tile { width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--border-strong); background: var(--bg-soft); display: flex; align-items: center; justify-content: center; color: var(--fg-2); margin-bottom: 14px; }
.icon-tile svg { width: 20px; height: 20px; }
.svc h3 { font-size: 18px; letter-spacing: -0.02em; }
.svc p { color: var(--muted); font-size: 14.5px; line-height: 1.6; }
.svc-foot { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--muted); }
.svc-foot b { color: var(--fg); font-size: 15px; }
.svc-foot svg { width: 16px; height: 16px; color: var(--fg-2); transition: transform .15s ease; }
.svc:hover .svc-foot svg { transform: translateX(3px); }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; max-width: 1080px; margin: 0 auto; }
.plans.four { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; max-width: none; }
.plan { position: relative; display: flex; flex-direction: column; min-width: 0; padding: 36px 36px 32px; background: var(--card); border: 1px solid var(--border); border-radius: 18px; }
.plans.four .plan { padding: 28px 24px 24px; }
.plan.featured { border-color: var(--accent); }
.plan-label { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--accent); color: var(--accent-ink); font-size: 12px; font-weight: 700; padding: 5px 12px; border-radius: 999px; white-space: nowrap; }
.plan h3 { font-size: 20px; letter-spacing: -0.02em; }
.plan-price { display: flex; align-items: baseline; gap: 6px; margin-top: 18px; padding-bottom: 28px; border-bottom: 1px solid var(--border); }
.plan-price b { font-size: 46px; font-weight: 700; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.plans.four .plan-price b { font-size: 38px; }
.plan-price span { color: var(--muted); font-size: 15px; }
.plan-price .quote { font-size: 30px; font-weight: 700; color: var(--fg); letter-spacing: -0.03em; }
.plan ul { list-style: none; margin: 28px 0 32px; padding: 0; display: grid; gap: 14px; }
.plan li { display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--fg-2); }
.plans.four .plan li { font-size: 14px; gap: 10px; }
.plan li svg { width: 18px; height: 18px; color: var(--muted); flex: none; }
.plan.featured li { color: var(--fg); }
.plan .btn { margin-top: auto; }
.below-plans { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 32px; margin-top: 40px; color: var(--muted); font-size: 15px; }

/* Split feature block */
.split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 80px; align-items: center; }
.cards-2x2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.mini { min-width: 0; padding: 30px 28px; background: var(--card); border: 1px solid var(--border); border-radius: 16px; display: grid; gap: 10px; align-content: start; }
.mini .icon-tile { margin-bottom: 22px; }
.mini h3 { font-size: 16px; letter-spacing: -0.01em; }
.mini p { color: var(--muted); font-size: 14px; line-height: 1.6; }
.split-copy { display: grid; gap: 22px; }
.split-copy h2 { font-size: clamp(32px, 4.2vw, 46px); line-height: 1.08; }
.split-copy > p { color: var(--muted); font-size: 18px; line-height: 1.65; }
.checks { display: grid; gap: 14px; }
.check { display: flex; gap: 16px; padding: 22px 24px; background: var(--card); border: 1px solid var(--border); border-radius: 14px; }
.check svg { width: 22px; height: 22px; color: var(--accent); flex: none; margin-top: 2px; }
.check h3 { font-size: 16px; letter-spacing: -0.01em; margin-bottom: 4px; }
.check p { color: var(--muted); font-size: 14.5px; }

/* Generic grids */
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.list-rows { border-top: 1px solid var(--border); }
.list-rows div { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--border); }
.list-rows dt { font-weight: 600; }
.list-rows dd { margin: 0; color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.tags li { padding: 10px 16px; border: 1px solid var(--border-strong); border-radius: 10px; background: var(--card); font-size: 15px; font-weight: 500; }
.step-num { font-family: var(--mono); font-size: 13px; color: var(--accent); }

/* Flow (Anti-DDoS) */
.flow { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr); align-items: stretch; gap: 16px; }
.flow .mini { text-align: left; }
.flow .mini.on { border-color: var(--accent); }
.flow-arrow { display: flex; align-items: center; color: var(--muted); }
.flow-arrow svg { width: 22px; height: 22px; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; border-top: 1px solid var(--border); }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; font-weight: 600; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 10px; height: 10px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg) translateY(-3px); flex: none; transition: transform .15s ease; }
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.faq details p { color: var(--muted); padding: 0 0 24px; max-width: 680px; }
.faq a { color: var(--accent); }

/* CTA */
.cta { position: relative; overflow: hidden; border: 1px solid var(--border); border-radius: 28px; background: var(--bg-soft); }
.cta::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px); background-size: 20px 20px; pointer-events: none; }
.cta-mark { position: absolute; left: -40px; top: 50%; transform: translateY(-50%); width: 380px; height: 380px; color: #161616; pointer-events: none; }
.cta-inner { position: relative; display: grid; justify-items: center; text-align: center; gap: 18px; padding: 96px 24px; }
.cta h2 { font-size: clamp(34px, 5.4vw, 56px); line-height: 1.05; letter-spacing: -0.045em; max-width: 680px; }
.cta p { color: var(--fg-2); font-size: 18px; max-width: 560px; }
.cta .hero-actions { justify-content: center; margin-top: 10px; }

/* Footer */
.site-footer { padding-block: 72px 36px; border-top: 1px solid var(--border); margin-top: 112px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.footer-about p { color: var(--muted); margin-top: 18px; font-size: 15px; max-width: 320px; }
.footer-grid h4 { margin: 0 0 18px; font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--fg); }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.footer-grid ul a { color: var(--fg-2); text-decoration: none; font-size: 15px; font-weight: 500; }
.footer-grid ul a:hover { color: var(--fg); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: 64px; padding-top: 28px; border-top: 1px solid var(--border); color: var(--muted); font-size: 13.5px; }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer-bottom a { color: var(--fg-2); text-decoration: none; }
.footer-bottom a:hover { color: var(--fg); }

/* Page hero (product + legal) */
.page-hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--border); }
.page-hero .wrap { position: relative; padding-block: 96px 80px; }
.page-hero .hero-copy { max-width: 720px; }
.page-hero h1 { font-size: clamp(38px, 6vw, 64px); line-height: 1.04; letter-spacing: -0.045em; }
.crumbs { display: flex; gap: 10px; font-size: 14px; color: var(--muted); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--fg); }
.page-hero .facts { margin-top: 64px; }

/* Legal */
.legal { padding-block: 64px 0; }
.legal article { max-width: 720px; }
.legal h2 { font-size: 22px; margin: 44px 0 12px; letter-spacing: -0.02em; }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { color: var(--fg-2); }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 20px; display: grid; gap: 8px; }
.legal a { color: var(--accent); }
.legal code { font-family: var(--mono); font-size: 14px; color: var(--fg); }
.legal blockquote { margin: 16px 0; padding: 16px 20px; border: 1px solid var(--border); border-left: 3px solid var(--accent); border-radius: 12px; background: var(--card); }
.legal blockquote p { margin: 0; color: var(--fg); line-height: 1.7; }
.table-wrap { overflow-x: auto; margin: 20px 0; border: 1px solid var(--border); border-radius: 12px; }
.legal table { width: 100%; border-collapse: collapse; font-size: 15px; }
.legal th, .legal td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--border); white-space: nowrap; }
.legal th { background: var(--card); font-weight: 600; }
.legal td { color: var(--fg-2); font-variant-numeric: tabular-nums; }
.legal tr:last-child td { border-bottom: 0; }

/* Responsive */
@media (max-width: 1080px) {
  .menu-toggle { display: inline-flex; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--border);
    padding: 8px max(20px, env(safe-area-inset-right, 0px)) 24px max(20px, env(safe-area-inset-left, 0px)); }
  .nav.open { display: flex; }
  .nav-links { flex-direction: column; gap: 0; }
  .nav-links a { padding: 16px 0; font-size: 17px; border-bottom: 1px solid var(--border); }
  .nav-right { justify-content: space-between; padding-top: 20px; }
  .nav-right .btn { min-height: 46px; flex: 1; }
  .services, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plans.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-about { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .plans { grid-template-columns: minmax(0, 1fr); max-width: 480px; }
  .grid-3 { grid-template-columns: minmax(0, 1fr); }
  .flow { grid-template-columns: minmax(0, 1fr); }
  .flow-arrow { justify-content: center; transform: rotate(90deg); }
}
@media (max-width: 640px) {
  .site-header .wrap { height: 64px; }
  .hero .wrap { padding-block: 72px 64px; }
  .page-hero .wrap { padding-block: 64px 56px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 56px; }
  .fact { padding: 20px 16px 20px 0; }
  .fact + .fact { padding-left: 0; border-left: 0; }
  .fact:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--border); }
  .fact:nth-child(n+3) { border-top: 1px solid var(--border); }
  .section { padding-block: 80px; }
  .head { margin-bottom: 40px; }
  .services, .grid-4, .plans.four, .cards-2x2 { grid-template-columns: minmax(0, 1fr); }
  .plans { max-width: none; }
  .plan { padding: 30px 24px 24px; }
  .list-rows div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .cta { border-radius: 20px; }
  .cta-inner { padding: 64px 20px; }
  .cta-mark { width: 240px; height: 240px; left: -60px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer { margin-top: 80px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
  html { scroll-behavior: auto; }
}
.cta-mark svg { width: 100%; height: 100%; }
.cta-mark rect { fill: currentColor; }
.cta-mark circle { fill: var(--bg-soft); }
.page-hero .lead { color: var(--fg-2); font-size: clamp(17px, 2vw, 19px); line-height: 1.65; max-width: 620px; }
.page-hero .hero-copy { gap: 20px; }

/* Hero rack */
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 460px); gap: 64px; align-items: center; }
.rack-wrap { margin: 0; display: grid; gap: 14px; justify-items: center; }
.rack-wrap figcaption { color: var(--muted); font-size: 13px; text-align: center; }
.rack { width: 100%; height: auto; display: block; }
.rk-frame { fill: #0E0E0E; stroke: var(--border-strong); stroke-width: 1; }
.rk-rail { fill: #111; stroke: var(--border); }
.rk-hole { fill: #050505; }
.rk-body { fill: #141414; stroke: #262626; stroke-width: 1; transition: fill .15s ease, stroke .15s ease; }
.rk-unit { cursor: pointer; }
.rk-unit:hover .rk-body, .rk-unit:focus-visible .rk-body { fill: #1A1A1A; stroke: #3A3A3A; }
.rk-unit:focus-visible { outline: none; }
.rk-unit:focus-visible .rk-body { stroke: var(--accent); stroke-width: 1.5; }
.rk-feat .rk-body { stroke: var(--accent); }
.rk-led-ok { fill: #3DDC97; }
.rk-led-act { fill: var(--accent); animation: rk-blink 1.6s steps(2, jump-none) infinite; }
@keyframes rk-blink { 0% { opacity: 1; } 100% { opacity: .2; } }
.rk-name { font: 600 14px var(--font); fill: var(--fg); letter-spacing: -.01em; }
.rk-spec { font: 500 11.5px var(--mono); fill: var(--muted); }
.rk-vent { stroke: #252525; stroke-width: 2; stroke-linecap: round; }
.rk-price { font: 600 14px var(--mono); fill: var(--fg-2); }
.rk-feat .rk-price { fill: var(--accent); }
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 56px; }
  .rack-wrap { max-width: 460px; width: 100%; justify-self: start; }
}
@media (prefers-reduced-motion: reduce) { .rk-led-act { animation: none; } }

/* ===== tube-inspired refresh ===== */
:root {
  --bg: #0B1120; --bg-soft: #0E1527; --card: #121A2C; --card-hover: #172137;
  --border: #1E2940; --border-strong: #2A3854; --fg: #F1F5F9; --fg-2: #CBD5E1; --muted: #8C98AE;
  --border-hover: #3A4A6A; --hdr: rgba(11, 17, 32, .82); --hdr-solid: rgba(11, 17, 32, .97); --hdr-soft: rgba(11, 17, 32, .7);
  --s-raise: #131C30; --s-deep: #0F1729; --s-panel: #111A2E; --s-inset: #0C1322; --s-side: #0E1628; --s-chip: #161F35; --glow: #18233D; --mark: #131B2E;
  --il-a: #141C2E; --il-b: #1A2438; --il-c: #24314A; --il-d: #0D1424; --il-e: #070B16; --il-f: #22304A; --il-g: #34445F;
  --tint-1: rgba(255, 255, 255, .025); --tint-2: rgba(255, 255, 255, .05); --tint-3: rgba(255, 255, 255, .08); --dot: rgba(255, 255, 255, .07);
  --shadow: rgba(0, 0, 0, .7); --chip-bg: rgba(15, 23, 41, .72); color-scheme: dark;
}
.site-header { background: var(--hdr-solid); }
.hero { background: radial-gradient(900px 500px at 15% -10%, rgba(37, 56, 102, .35), transparent 70%); }
.hero .wrap { padding-block: 104px 96px; }
.hero h1 { font-size: clamp(42px, 6.6vw, 72px); }
.eyebrow.accent { color: var(--accent); }

/* Stats band */
.stats-band { border-block: 1px solid var(--border); background: var(--bg-soft); }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding-block: 56px; }
.stat { display: grid; justify-items: center; text-align: center; gap: 6px; padding: 8px 16px; min-width: 0; }
.stat + .stat { border-left: 1px solid var(--border-strong); }
.stat b { font-size: clamp(34px, 4.4vw, 48px); font-weight: 700; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; white-space: nowrap; }
.stat b .accent { font-size: .62em; letter-spacing: -0.02em; }
.stat > span { color: var(--muted); font-size: 14.5px; }

/* Why grid */
.band { background: linear-gradient(180deg, var(--bg-soft), var(--bg) 70%); }
.why { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.wcard { grid-column: span 2; min-width: 0; padding: 28px; border: 1px solid var(--border-strong); border-radius: 16px; background: var(--card); display: grid; gap: 8px; align-content: start; }
.wcard.wide { grid-column: span 3; }
.wcard.full { grid-column: 1 / -1; }
.glowcard { background: linear-gradient(135deg, var(--glow) 0%, var(--card) 55%); }
.wcard .icon-tile { margin-bottom: 14px; background: rgba(var(--accent-rgb), .08); border-color: rgba(var(--accent-rgb), .28); color: var(--accent); }
.wcard h3 { font-size: 18px; letter-spacing: -0.02em; }
.wcard p { color: var(--muted); font-size: 15px; line-height: 1.65; max-width: 760px; }

/* Product rows */
.prows { display: grid; gap: 120px; }
.prow { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; }
.prow.flip .prow-ill { order: 2; }
.prow-ill { display: flex; justify-content: center; position: relative; }
.prow-ill::before { content: ""; position: absolute; width: 70%; height: 70%; top: 15%; left: 15%; background: radial-gradient(closest-side, rgba(37, 56, 102, .45), transparent); pointer-events: none; }
.ill { position: relative; width: 100%; max-width: 440px; height: auto; }
.prow-copy { display: grid; gap: 18px; min-width: 0; }
.prow-copy h3 { font-size: clamp(30px, 3.8vw, 40px); line-height: 1.1; letter-spacing: -0.035em; }
.prow-copy > p { color: var(--muted); font-size: 17px; line-height: 1.7; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 4px 0 0; padding: 0; }
.chips li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--border-strong); background: var(--card); font-size: 14px; font-weight: 500; color: var(--fg-2); }
.chips svg { width: 15px; height: 15px; color: var(--accent); }
.prow .hero-actions { margin-top: 8px; }

/* Illustration parts */
.il-shadow { fill: var(--il-e); }
.il-cab { fill: var(--il-a); stroke: var(--il-c); stroke-width: 1.5; }
.il-unit { fill: var(--il-b); stroke: var(--il-c); }
.il-slot { fill: var(--il-d); }
.il-led-ok { fill: #3DDC97; }
.il-led-acc { fill: var(--accent); }
.il-pad { fill: var(--il-d); stroke: #2A3854; stroke-width: 1.5; }
.il-pad-line { stroke: var(--fg-2); stroke-width: 4; stroke-linecap: round; fill: none; }
.il-pad-btn { fill: #3DDC97; }
.il-tunnel { stroke: var(--il-b); stroke-width: 24; stroke-linecap: butt; fill: none; }
.il-tunnel-core { stroke: var(--accent); stroke-width: 2; stroke-dasharray: 6 8; fill: none; }
.il-lockbox { fill: var(--il-a); stroke: var(--accent); stroke-width: 1.5; }
.il-lock { fill: none; stroke: var(--fg-2); stroke-width: 3; stroke-linecap: round; }
.il-label { font: 600 13px var(--mono); fill: var(--muted); }
.il-edge { stroke: var(--border-strong); stroke-width: 2; }
.il-edge-acc { stroke: var(--accent); stroke-width: 2.5; stroke-dasharray: 6 6; }
.il-node { fill: var(--il-a); stroke: #2A3854; stroke-width: 1.5; }
.il-node-label { font: 600 13px var(--font); fill: var(--fg); }

/* Rack recolor for navy */
.rk-frame { fill: #0E1527; stroke: var(--border-strong); }
.rk-rail { fill: var(--s-panel); stroke: var(--border); }
.rk-hole { fill: var(--il-e); }
.rk-body { fill: var(--il-a); stroke: var(--il-c); }
.rk-unit:hover .rk-body, .rk-unit:focus-visible .rk-body { fill: var(--il-b); stroke: var(--il-g); }
.rk-vent { stroke: var(--il-f); }
.rk-spec { fill: #8C98AE; }
.plan { background: var(--card); }
.cta-mark { color: var(--mark); }

@media (max-width: 1080px) {
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; }
  .stat:nth-child(3) { border-left: 0; }
  .why { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wcard, .wcard.wide { grid-column: span 1; }
  .prow { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .prow.flip .prow-ill { order: 0; }
  .prows { gap: 88px; }
  .ill { max-width: 380px; }
}
@media (max-width: 640px) {
  .stats { padding-block: 40px; }
  .stat { padding: 4px 8px; }
  .why { grid-template-columns: minmax(0, 1fr); }
  .wcard { padding: 24px; }
  .prows { gap: 72px; }
  .prow .hero-actions .btn { flex: 1 1 100%; }
}
.footer-about .footer-tag { color: var(--fg); font-size: 22px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.2; margin-top: 20px; }

/* CTA v2 */
.cta { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 56px; align-items: center; padding: 64px; border-radius: 24px;
  border: 1px solid var(--border-strong); background: linear-gradient(135deg, var(--glow) 0%, var(--bg-soft) 55%); }
.cta::before { background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px); background-size: 20px 20px;
  -webkit-mask-image: radial-gradient(ellipse at 85% 50%, #000 0%, transparent 65%); mask-image: radial-gradient(ellipse at 85% 50%, #000 0%, transparent 65%); }
.cta::after { content: ""; position: absolute; top: 0; left: 8%; right: 8%; height: 1px; background: linear-gradient(90deg, transparent, var(--accent), transparent); opacity: .7; }
.cta-copy { position: relative; display: grid; gap: 18px; }
.cta-copy h2 { font-size: clamp(32px, 4.4vw, 48px); line-height: 1.06; letter-spacing: -0.04em; max-width: 520px; }
.cta-copy p { color: var(--fg-2); font-size: 17px; line-height: 1.65; max-width: 500px; }
.cta-copy p a { color: var(--fg); font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--border-strong); }
.cta-copy p a:hover { border-color: var(--accent); }
.cta-copy .hero-actions { justify-content: flex-start; margin-top: 6px; }
.cta-list { position: relative; display: grid; border: 1px solid var(--border-strong); border-radius: 16px; background: var(--hdr-soft); overflow: hidden; }
.cta-list a { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: 14px; padding: 16px 20px; text-decoration: none; color: var(--fg); transition: background .15s ease; }
.cta-list a + a { border-top: 1px solid var(--border); }
.cta-list a:hover { background: var(--card-hover); }
.cta-list .icon-tile { margin: 0; width: 38px; height: 38px; background: rgba(var(--accent-rgb), .08); border-color: rgba(var(--accent-rgb), .28); color: var(--accent); }
.cta-list .icon-tile svg { width: 18px; height: 18px; }
.cl-name { font-weight: 600; font-size: 16px; }
.cl-meta { color: var(--muted); font-size: 14px; font-variant-numeric: tabular-nums; }
.cta-list a > svg { width: 16px; height: 16px; color: var(--muted); transition: transform .15s ease, color .15s ease; }
.cta-list a:hover > svg { transform: translateX(3px); color: var(--accent); }
@media (max-width: 1080px) { .cta { grid-template-columns: minmax(0, 1fr); padding: 48px 40px; gap: 40px; } }
@media (max-width: 640px) {
  .cta { padding: 32px 20px; border-radius: 20px; }
  .cta-copy .hero-actions .btn { flex: 1 1 100%; }
  .cta-list a { padding: 14px 16px; gap: 12px; }
}


/* Page transitions (supported browsers) */
@view-transition { navigation: auto; }
.site-header { view-transition-name: site-header; }
.site-footer { view-transition-name: site-footer; }
::view-transition-old(root) { animation: vt-out .2s ease both; }
::view-transition-new(root) { animation: vt-in .38s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-6px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(12px); } }

/* Scroll reveal (added by script only for content below the fold) */
.rv { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1); }
.rv.in { opacity: 1; transform: none; }

/* Hero entrance */




@keyframes rise { from { opacity: 0; transform: translateY(14px); } }

/* Device polish */
html { -webkit-tap-highlight-color: transparent; text-rendering: optimizeLegibility; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--accent); color: var(--accent-ink); padding: 10px 16px; border-radius: 8px; font-weight: 600; text-decoration: none; }
.skip:focus { top: calc(12px + env(safe-area-inset-top, 0px)); }
@media (hover: none) { .svc:hover, .plan:hover, .pcard:hover { transform: none; } }
@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
  .hero-copy > *, .page-hero .hero-copy > *, .rack-wrap { animation: none; }
}

/* ===== Motion layer ===== */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .06em; margin-bottom: -.06em; }
.wi { display: inline-block; will-change: transform; }
.anim .rv { opacity: 1; transform: none; }

/* Pointer spotlight on cards */
.wcard, .svc, .plan { position: relative; }
.wcard::after, .svc::after, .plan::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .25s ease;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(var(--accent-rgb), .09), transparent 60%);
}
.wcard:hover::after, .svc:hover::after, .plan:hover::after { opacity: 1; }
.plan-label { z-index: 1; }

/* Story (pinned) */
.story { position: relative; border-bottom: 1px solid var(--border); background: radial-gradient(800px 500px at 80% 50%, rgba(37, 56, 102, .35), transparent 70%); }
.story-inner { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 64px; align-items: center; padding-block: 112px; }
.story-copy { display: grid; gap: 32px; }
.story-copy h2 { font-size: clamp(32px, 4.4vw, 52px); line-height: 1.05; letter-spacing: -0.04em; }
.story-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.story-steps li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; padding: 16px 18px; border-radius: 14px; border: 1px solid transparent; transition: background .3s ease, border-color .3s ease, opacity .3s ease; opacity: .45; }
.story-steps li.on { opacity: 1; background: var(--card); border-color: var(--border-strong); }
.story-steps li.done { opacity: .7; }
.ss-n { font-family: var(--mono); font-size: 13px; color: var(--muted); padding-top: 3px; }
.story-steps li.on .ss-n { color: var(--accent); }
.story-steps h3 { font-size: 18px; letter-spacing: -0.02em; }
.story-steps p { color: var(--muted); font-size: 14.5px; margin-top: 4px; }
.story-bar { height: 2px; background: var(--border); border-radius: 2px; overflow: hidden; }
.story-bar i { display: block; height: 100%; background: var(--accent); transform: scaleX(0); transform-origin: 0 50%; }
.story-stage { position: relative; }
.story-svg { width: 100%; height: auto; display: block; overflow: visible; }
.st-card { fill: var(--card); stroke: var(--border-strong); stroke-width: 1.5; }
.st-feat { stroke: var(--accent); }
.st-badge { fill: var(--accent); }
.st-badge-t { font: 700 12px var(--font); fill: var(--accent-ink); }
.st-h { font: 700 20px var(--font); fill: var(--fg); letter-spacing: -0.02em; }
.st-sm { font-size: 16px; }
.st-m { font: 500 13px var(--font); fill: var(--muted); }
.st-p { font: 700 30px var(--font); fill: var(--fg); letter-spacing: -0.03em; }
.st-acc { fill: var(--accent); }
.st-btn { fill: var(--accent); }
.st-line { stroke: var(--border-strong); }
.st-pay { fill: var(--accent); }
.st-pay-t { font: 700 15px var(--font); fill: var(--accent-ink); }
.st-check { fill: none; stroke: var(--bg); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.st-unit { fill: var(--il-a); stroke: #2A3854; stroke-width: 1.5; }
.st-slot { fill: var(--il-d); }
.st-led { fill: #3DDC97; }
.st-led-act { fill: var(--accent); }
.st-track { fill: var(--border); }
.st-fill { fill: var(--accent); }
.st-shield { fill: rgba(var(--accent-rgb), .04); stroke: var(--accent); stroke-width: 2; }
.pk-good { fill: #3DDC97; }
.pk-bad { fill: #FF4D6D; }
/* without JS: final state only */
.st-run { opacity: 1; } .st-boot { opacity: 0; }
html:not(.anim) .s1, html:not(.anim) .s2 { display: none; }
.anim .st-boot { opacity: 1; }
@media (max-width: 860px) {
  .story-inner { grid-template-columns: minmax(0, 1fr); gap: 24px; padding-block: 88px 32px; align-content: start; }
  .story-stage { order: -1; max-width: 460px; width: 100%; margin: 0 auto; }
  .story-copy { gap: 18px; }
  .story-copy h2 { font-size: 30px; }
  .story-steps li { display: none; padding: 14px 16px; }
  .story-steps li.on { display: grid; }
  html:not(.anim) .story-steps li { display: grid; opacity: 1; }
}

.anim .story-steps li { cursor: pointer; }
.anim .story-steps li:hover { opacity: .85; }
@media (max-width: 860px) { .story-inner { padding-block: 72px; } }

/* ===== v5: mobile-first polish + motion ===== */

/* HTML rack (readable at any width) */
.rack { position: relative; width: 100%; height: auto; display: block; padding: 12px 34px 14px; border: 1px solid var(--border-strong); border-radius: 14px; background: #0E1527; box-shadow: 0 40px 90px -50px rgba(0, 0, 0, .9); }
.rack::before, .rack::after { content: ""; position: absolute; top: 12px; bottom: 12px; width: 16px; border-radius: 3px; border: 1px solid var(--border);
  background: var(--s-panel) radial-gradient(circle, var(--il-e) 2px, transparent 2.5px) center 6px / 16px 14px repeat-y; }
.rack::before { left: 9px; } .rack::after { right: 9px; }
.rack-head { display: flex; justify-content: space-between; align-items: center; padding: 2px 4px 10px; font: 500 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.rack-head i { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #3DDC97; margin-right: 7px; box-shadow: 0 0 0 0 rgba(61, 220, 151, .5); animation: ping 2.4s ease-out infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(61, 220, 151, .5); } 70%, 100% { box-shadow: 0 0 0 7px rgba(61, 220, 151, 0); } }
.rack-body { display: grid; gap: 7px; }
.ru { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: 14px; min-height: 48px; padding: 8px 14px; border-radius: 7px;
  background: var(--il-a); border: 1px solid var(--il-c); color: var(--fg); text-decoration: none; transition: background .15s ease, border-color .15s ease; }
.ru:hover { background: var(--il-b); border-color: var(--il-g); }
.ru:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.ru-feat { border-color: var(--accent); }
.ru-leds { display: grid; gap: 5px; }
.ru-leds i { display: block; width: 6px; height: 6px; border-radius: 50%; background: #3DDC97; box-shadow: 0 0 6px rgba(61, 220, 151, .55); }
.ru-leds i + i { background: var(--accent); box-shadow: 0 0 6px rgba(var(--accent-rgb), .5); animation: rk-blink 1.6s steps(2, jump-none) infinite; }
.ru-id { min-width: 0; }
.ru-id b { display: block; font-size: 14px; font-weight: 600; letter-spacing: -.01em; }
.ru-id small { display: block; font: 500 11.5px var(--mono); color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ru-vent { width: 64px; height: 18px; border-radius: 2px; background: repeating-linear-gradient(90deg, var(--il-f) 0 2px, transparent 2px 7px); }
.ru-price { font: 600 14px var(--mono); color: var(--fg-2); white-space: nowrap; font-variant-numeric: tabular-nums; }
.ru-price small { font-size: 11px; color: var(--muted); margin-left: 2px; }
.ru-feat .ru-price { color: var(--accent); }

/* Header: mobile client button + animated burger */
.head-cta { display: none; min-height: 40px; padding: 0 16px; font-size: 14px; margin-left: auto; }
.menu-toggle { position: relative; flex-direction: column; gap: 6px; }
.menu-toggle span { display: block; width: 18px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .25s ease; }
.menu-open .menu-toggle span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-open .menu-toggle span:last-child { transform: translateY(-4px) rotate(-45deg); }
.nav-sla { display: none; }

@media (max-width: 1080px) {
  .head-cta { display: inline-flex; }
  .menu-toggle { margin-left: 8px; }
  .nav {
    position: fixed; display: flex !important; top: calc(64px + env(safe-area-inset-top, 0px)); left: 0; right: 0; bottom: 0; z-index: 29;
    flex-direction: column; justify-content: space-between; align-items: stretch; gap: 24px; overflow-y: auto; overscroll-behavior: contain;
    padding: 12px max(20px, env(safe-area-inset-right, 0px)) calc(28px + env(safe-area-inset-bottom, 0px)) max(20px, env(safe-area-inset-left, 0px));
    background: var(--bg); border: 0;
    visibility: hidden; opacity: 0; transition: opacity .25s ease, visibility 0s linear .25s;
  }
  .nav.open { visibility: visible; opacity: 1; transition: opacity .25s ease; }
  .nav-links { flex-direction: column; gap: 0; }
  .nav-links a, .nav-sla { display: flex; align-items: center; min-height: 60px; padding: 0; font-size: 28px; font-weight: 600; letter-spacing: -.03em; color: var(--fg); border-bottom: 1px solid var(--border);
    opacity: 0; transform: translateY(14px); transition: opacity .35s ease, transform .45s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(var(--i, 0) * 45ms + 60ms); }
  .nav.open .nav-links a, .nav.open .nav-sla { opacity: 1; transform: none; }
  .nav-links a[aria-current="page"] { color: var(--accent); }
  .nav-right { padding-top: 0; gap: 12px; opacity: 0; transform: translateY(14px); transition: opacity .35s ease .3s, transform .45s ease .3s; }
  .nav.open .nav-right { opacity: 1; transform: none; }
  .nav-right .text-link { display: inline-flex; align-items: center; min-height: 46px; padding: 0 18px; border: 1px solid var(--border-strong); border-radius: 10px; }
  .menu-open, .menu-open body { overflow: hidden; }
}
@media (max-width: 640px) { .nav { top: calc(64px + env(safe-area-inset-top, 0px)); } .head-cta { padding: 0 14px; } }

/* Mobile carousels */
.snap-dots { display: none; }
@media (max-width: 760px) {
  .snap {
    display: flex !important; gap: 12px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch;
    margin-left: calc(-1 * max(20px, env(safe-area-inset-left, 0px))); margin-right: calc(-1 * max(20px, env(safe-area-inset-right, 0px)));
    padding: 18px max(20px, env(safe-area-inset-right, 0px)) 6px max(20px, env(safe-area-inset-left, 0px));
    scroll-padding-left: max(20px, env(safe-area-inset-left, 0px)); max-width: none !important; position: relative;
  }
  .snap::-webkit-scrollbar { display: none; }
  .snap > * { flex: 0 0 84%; scroll-snap-align: start; min-width: 0; }
  .services.snap > *, .grid-4.snap > * { flex-basis: 78%; }
  .snap-dots { display: flex; justify-content: center; gap: 2px; margin-top: 14px; }
  .snap-dots button { width: 28px; height: 28px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
  .snap-dots button::before { content: ""; width: 6px; height: 6px; border-radius: 3px; background: var(--border-strong); transition: width .25s ease, background .25s ease; }
  .snap-dots button.on::before { width: 18px; background: var(--accent); }
}

/* Mobile order bar */
.mbar { display: none; }
@media (max-width: 760px) {
  .mbar {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom, 0px)); z-index: 25;
    padding: 10px 10px 10px 16px; border-radius: 14px; border: 1px solid var(--border-strong); background: rgba(18, 26, 44, .97);
    box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .7);
    transform: translateY(calc(100% + 30px)); visibility: hidden; transition: transform .35s cubic-bezier(.2, .7, .2, 1), visibility 0s linear .35s;
  }
  .mbar.show { transform: none; visibility: visible; transition: transform .35s cubic-bezier(.2, .7, .2, 1); }
  .mbar-txt { display: grid; line-height: 1.2; min-width: 0; }
  .mbar-txt small { color: var(--muted); font-size: 12px; }
  .mbar-txt b { font-size: 18px; letter-spacing: -.02em; white-space: nowrap; }
  .mbar-txt b span { font-size: 13px; color: var(--muted); font-weight: 500; }
  .mbar .btn { min-height: 44px; padding: 0 18px; flex: none; }
}

/* Looping illustration details (run only while on screen) */
.ill [class^="il-"], .ill [class*=" il-"], .flow .flow-arrow svg, .rack .ru-leds i, .rack-head i { animation-play-state: paused; }
.inview .ill [class^="il-"], .inview .ill [class*=" il-"], .inview .flow-arrow svg, .rack.inview .ru-leds i, .rack.inview .rack-head i { animation-play-state: running; }
.ill .il-led-acc { animation: led 2.4s steps(2, jump-none) infinite; }
.ill .il-led-acc:nth-of-type(3n) { animation-duration: 1.7s; }
.ill .il-led-acc:nth-of-type(4n+1) { animation-delay: .6s; }
@keyframes led { 0% { opacity: 1; } 100% { opacity: .25; } }
.ill .il-tunnel-core { animation: flow 0.9s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -14; } }
.ill .il-edge-acc { stroke-dasharray: 6 6; animation: flow2 0.8s linear infinite; }
@keyframes flow2 { to { stroke-dashoffset: -12; } }
.ill .il-pad-btn { animation: pulse 1.8s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes pulse { 50% { transform: scale(1.35); opacity: .6; } }
.il-pkt { fill: var(--accent); }
.flow-arrow svg { animation: nudge 1.4s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateX(5px); } }

/* Touch feedback */
@media (hover: none) {
  .btn, .svc, .plan, .cta-list a, .wcard, .story-steps li { -webkit-tap-highlight-color: transparent; }
  .btn:active, .ru:active, .cta-list a:active { transform: scale(.97); }
  .svc:active, .plan:active, .wcard:active { transform: scale(.985); }
}
.btn, .ru, .snap-dots button, .menu-toggle { touch-action: manipulation; }

/* Tap targets */
.link-arrow { min-height: 44px; }
@media (max-width: 760px) {
  .footer-grid ul { gap: 4px; }
  .footer-grid ul a { display: inline-flex; align-items: center; min-height: 36px; }
  .footer-bottom nav a { display: inline-flex; align-items: center; min-height: 36px; }
}

/* Phone layout tuning */
@media (max-width: 640px) {
  .rack { padding: 10px 24px 12px; border-radius: 12px; }
  .rack::before { left: 5px; width: 12px; } .rack::after { right: 5px; width: 12px; }
  .ru { gap: 10px; padding: 7px 10px; min-height: 46px; }
  .ru-vent { display: none; }
  .ru-id b { font-size: 13.5px; }
  .ru-price { font-size: 13.5px; }
  .rack-wrap figcaption { display: none; }
  .hero .wrap { padding-block: 56px 56px; }
  .hero-grid { gap: 40px; }
  .ill { max-width: 300px; }
  .prows { gap: 64px; }
  .prow { gap: 24px; }
  .prow-copy h3 { font-size: 28px; }
  .prow-copy > p { font-size: 16px; }
  .section { padding-block: 64px; }
  .head h2 { font-size: 30px; }
  .head p { font-size: 16px; }
  .wcard { padding: 22px; }
  .plan { padding: 26px 20px 20px; }
  .plan-price b { font-size: 40px; }
  .stats { padding-block: 32px; row-gap: 24px; }
  .stat b { font-size: 32px; }
  .story-stage { max-width: 380px; }
  .cta { padding: 28px 18px; }
  .cta-copy h2 { font-size: 30px; }
  .site-footer { margin-top: 64px; padding-block: 48px calc(28px + env(safe-area-inset-bottom, 0px)); }
}
html:not(.anim) .pk { display: none; }
.story-steps li { -webkit-tap-highlight-color: transparent; }
@media (prefers-reduced-motion: reduce) {
  .rack-head i, .ru-leds i + i, .ill *, .flow-arrow svg { animation: none !important; }
  .nav-links a, .nav-right, .nav, .mbar { transition: none !important; }
}

/* ===== Promotion ===== */
.promo {
  position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px;
  margin: 0 auto 40px; max-width: 1080px; padding: 20px 22px; border-radius: 16px;
  border: 1px solid rgba(var(--accent-rgb), .45); background: linear-gradient(100deg, rgba(var(--accent-rgb), .12), rgba(var(--accent-rgb), .02) 60%), var(--card);
  overflow: hidden;
}
.promo[hidden], .promo-chip[hidden] { display: none !important; }
.promo::after { content: ""; position: absolute; top: 0; bottom: 0; width: 40%; left: -40%; background: linear-gradient(100deg, transparent, var(--tint-2), transparent); animation: sheen 4.5s ease-in-out infinite; pointer-events: none; }
@keyframes sheen { 0%, 60% { left: -40%; } 100% { left: 110%; } }
.promo-l { display: flex; align-items: center; gap: 16px; min-width: 0; }
.promo-pct { flex: none; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 14px; background: var(--accent); color: var(--accent-ink); font-size: 22px; font-weight: 800; letter-spacing: -.04em; transform: rotate(-4deg); }
.promo-txt { display: grid; gap: 2px; min-width: 0; }
.promo-txt b { font-size: 18px; letter-spacing: -.02em; }
.promo-txt > span { color: var(--fg-2); font-size: 15px; }
.promo-code { color: var(--muted); font-size: 14px; } .promo-code b { color: var(--fg); font-family: var(--mono); font-size: 14px; }
.promo-cd { display: flex; gap: 8px; }
.promo-cd > div { display: grid; justify-items: center; min-width: 58px; padding: 8px 6px 6px; border-radius: 10px; background: var(--bg); border: 1px solid var(--border-strong); }
.promo-cd b { font: 600 24px/1.1 var(--mono); font-variant-numeric: tabular-nums; color: var(--fg); }
.promo-cd small { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.promo-cd b.tick { animation: tick .35s cubic-bezier(.2, .7, .2, 1); }
@keyframes tick { from { transform: translateY(-40%); opacity: 0; } }

.promo-chip { display: inline-flex; align-items: center; gap: 10px; justify-self: start; width: fit-content; max-width: 100%; padding: 5px 14px 5px 5px; border-radius: 999px;
  border: 1px solid rgba(var(--accent-rgb), .45); background: rgba(var(--accent-rgb), .08); color: var(--fg-2); font-size: 14px; font-weight: 500; text-decoration: none; }
.promo-chip:hover { border-color: var(--accent); color: var(--fg); }
.promo-chip-pct { padding: 3px 9px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-weight: 800; font-size: 13px; }
.promo-chip b { color: var(--fg); font-variant-numeric: tabular-nums; }

.plan .promo-tag { position: absolute; top: 18px; right: 18px; padding: 4px 9px; border-radius: 8px; background: rgba(var(--accent-rgb), .14); border: 1px solid rgba(var(--accent-rgb), .5); color: var(--accent); font-size: 13px; font-weight: 800; z-index: 1; }
.plan-price { flex-wrap: wrap; }
.plan-price .was { flex-basis: 100%; color: var(--muted); font-size: 16px; text-decoration-color: var(--accent); text-decoration-thickness: 2px; margin-bottom: -2px; font-variant-numeric: tabular-nums; }
.promo-on .plan-price { padding-bottom: 8px; border-bottom: 0; }
.promo-note { margin: 0 0 4px; padding-bottom: 22px; border-bottom: 1px solid var(--border); color: var(--accent); font-size: 13px; font-weight: 600; }
.was-sm { color: var(--muted); font-weight: 500; margin-right: 6px; text-decoration-color: var(--accent); }
.pr-sale { color: var(--accent); }
.ru .pr-sale { color: var(--accent); }
.mbar-txt .was-sm { font-size: 13px; }

@media (max-width: 760px) {
  .promo { padding: 16px; gap: 14px; margin-bottom: 24px; }
  .promo-pct { width: 52px; height: 52px; font-size: 19px; }
  .promo-txt b { font-size: 16px; } .promo-txt > span { font-size: 14px; }
  .promo-cd { width: 100%; }
  .promo-cd > div { flex: 1; min-width: 0; }
  .promo-cd b { font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) { .promo::after, .promo-cd b.tick { animation: none; } }
.fact b .pr { font-size: inherit; font-weight: inherit; color: inherit; }
.fact b .pr-sale { color: var(--accent); }
.plan.soldout { opacity: .55; }
.btn.is-off { pointer-events: none; background: var(--card); color: var(--muted); border-color: var(--border-strong); }
.ru.soldout { opacity: .45; }
.ru.soldout .ru-leds i { background: var(--il-g); box-shadow: none; animation: none; }
.promo-pct { display: flex; align-items: center; justify-content: center; }
.plan.soldout { opacity: 1; }
.plan.soldout > :not(.plan-label):not(.promo-tag) { opacity: .5; }

/* ============ Cookie banner ============ */
.cc { position: fixed; z-index: 60; left: 24px; bottom: 24px; width: min(460px, calc(100vw - 48px)); max-height: calc(100vh - 48px); overflow-y: auto;
  padding: 24px; background: var(--card); border: 1px solid var(--border-strong); border-radius: 18px; box-shadow: 0 24px 60px rgba(0, 0, 0, .55);
  opacity: 0; visibility: hidden; transform: translateY(16px); transition: opacity .25s ease, transform .3s cubic-bezier(.2, .7, .2, 1), visibility 0s linear .3s; }
.cc.in { opacity: 1; visibility: visible; transform: none; transition: opacity .25s ease, transform .3s cubic-bezier(.2, .7, .2, 1); }
.cc h2 { margin: 0 0 8px; font-size: 18px; letter-spacing: -0.01em; }
.cc p { margin: 0; color: var(--fg-2); font-size: 14.5px; line-height: 1.6; padding-right: 20px; }
.cc p a { color: var(--accent); }
.cc-x { position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; display: grid; place-items: center; background: none; border: 0; border-radius: 8px; color: var(--muted); cursor: pointer; }
.cc-x:hover { color: var(--fg); background: var(--bg-soft); }
.cc-x svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.cc-panel { display: grid; gap: 8px; margin-top: 16px; }
.cc-panel[hidden] { display: none; }
.cc-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 14px; border: 1px solid var(--border); border-radius: 12px; background: var(--bg-soft); cursor: pointer; }
.cc-row b { display: block; font-size: 14.5px; }
.cc-row small { display: block; color: var(--muted); font-size: 13px; line-height: 1.5; margin-top: 2px; }
.cc-row input { appearance: none; -webkit-appearance: none; flex: none; position: relative; width: 40px; height: 24px; margin: 0; border-radius: 999px; background: var(--border-strong); cursor: pointer; transition: background .2s; }
.cc-row input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--fg); transition: transform .2s; }
.cc-row input:checked { background: var(--accent); }
.cc-row input:checked::after { transform: translateX(16px); background: var(--accent-ink); }
.cc-row input:disabled { opacity: .55; cursor: not-allowed; }
.cc-row input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.cc-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.cc-actions .btn { flex: 1 1 auto; min-height: 42px; padding: 0 16px; font-size: 14px; }
.cc-actions [hidden] { display: none; }
.cc-open .mbar { visibility: hidden; }
@media (max-width: 640px) {
  .cc { left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); width: auto; padding: 20px; }
  .cc-actions .btn { flex: 1 1 calc(50% - 4px); }
  .cc-actions [data-cc="settings"], .cc-actions [data-cc="save"] { order: 2; flex-basis: 100%; }
}
@media (prefers-reduced-motion: reduce) { .cc, .cc.in { transition: none; } }

/* ============ Payment methods ============ */
.pay-methods { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--border); }
.pay-methods .pay-label { color: var(--muted); font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; margin-right: 6px; }
.pay-logos { display: flex; flex-wrap: wrap; gap: 8px; }
.pay-logos img { display: block; width: 48px; height: 30px; border-radius: 5px; box-shadow: 0 0 0 1px var(--tint-2); }
.pay-card .pay-logos { margin-top: 10px; }
.pay-chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border: 1px solid var(--border-strong); border-radius: 10px; background: var(--card); color: var(--fg-2); font-size: 13.5px; font-weight: 500; }
.pay-chip svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; color: var(--fg-2); flex: none; }
.pay-methods + .footer-bottom { margin-top: 28px; }
.footer-bottom button.linkish { background: none; border: 0; padding: 0; font: inherit; color: var(--fg-2); cursor: pointer; }
.footer-bottom button.linkish:hover { color: var(--fg); }
.pay-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 1180px) { .pay-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pay-card { padding: 26px 24px; background: var(--card); border: 1px solid var(--border); border-radius: 16px; display: grid; gap: 8px; align-content: start; }
.pay-card h3 { margin: 6px 0 0; font-size: 18px; }
.pay-card p { margin: 0; color: var(--muted); font-size: 14.5px; }
@media (max-width: 880px) { .pay-grid { grid-template-columns: minmax(0, 1fr); } }

/* ============ Free game server trial ============ */
.trial { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 48px; align-items: center; padding: 56px; border-radius: 24px;
  border: 1px solid var(--border-strong); background: radial-gradient(120% 140% at 0% 0%, rgba(var(--accent-rgb), .16), transparent 55%), var(--bg-soft); }
.trial::after { content: ""; position: absolute; top: 0; left: 8%; right: 8%; height: 1px; background: linear-gradient(90deg, transparent, var(--accent), transparent); opacity: .8; }
.trial-copy { display: grid; gap: 16px; }
.trial-eyebrow { display: inline-flex; align-items: center; gap: 8px; justify-self: start; padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(var(--accent-rgb), .45); background: rgba(var(--accent-rgb), .1); color: var(--accent); font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.trial-eyebrow svg { width: 18px; height: 18px; }
.trial h2 { font-size: clamp(30px, 4.2vw, 46px); line-height: 1.06; letter-spacing: -0.04em; max-width: 560px; }
.trial-copy p { color: var(--fg-2); font-size: 17px; line-height: 1.65; max-width: 520px; }
.trial-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; counter-reset: ts; }
.trial-steps li { counter-increment: ts; position: relative; display: grid; gap: 4px; padding: 18px 20px 18px 64px; border: 1px solid var(--border); border-radius: 14px; background: var(--card); }
.trial-steps li::before { content: counter(ts); position: absolute; left: 18px; top: 18px; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); font-weight: 700; font-size: 14px; }
.trial-steps b { font-size: 16px; }
.trial-steps li > span { color: var(--muted); font-size: 14.5px; line-height: 1.55; }
.trial-link { width: fit-content; justify-self: start; align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; color: var(--fg-2); font-size: 14.5px; font-weight: 500; text-decoration: none; border-bottom: 1px dashed var(--border-strong); padding-bottom: 2px; }
.trial-link:hover { color: var(--accent); border-color: var(--accent); }
.trial-link svg { width: 16px; height: 16px; }
[data-trial][hidden] { display: none !important; }
@media (max-width: 960px) { .trial { grid-template-columns: minmax(0, 1fr); padding: 36px 24px; gap: 32px; } }

/* ============ Phone fixes ============ */
/* Elements that slide in from the side must never widen the page: on phones that zooms the whole site out. */
main, .site-footer { overflow-x: hidden; }
@supports (overflow: clip) { main, .site-footer { overflow-x: clip; } }
@media (max-width: 640px) {
  .prow-ill .ill { max-width: 100%; height: auto; }
  .prow-ill { max-width: 100%; }
}
@media (max-width: 640px) { .site-header .wrap { gap: 12px; } }
@media (max-width: 350px) {
  .head-cta { display: none; }
  .menu-toggle { margin-left: auto; }
}

/* Websites page */
.wk-grid .wk { text-decoration: none; color: inherit; transition: border-color .15s ease, transform .15s ease; }
.wk-grid .wk:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.wk-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; color: var(--accent); font-weight: 600; font-size: 14px; }
.wk-link svg { width: 15px; height: 15px; transition: transform .15s ease; }
.wk:hover .wk-link svg { transform: translateX(3px); }
.steps .step-n { font-family: var(--mono); font-size: 13px; color: var(--accent); font-weight: 600; margin-bottom: 18px; }

/* Contact / quote form */
.quote-box { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 56px; align-items: start; padding: 48px; border: 1px solid var(--border); border-radius: 28px; background: var(--bg-soft); }
.quote-copy { display: grid; gap: 16px; align-content: start; }
.quote-copy h2 { font-size: clamp(30px, 4vw, 44px); line-height: 1.08; letter-spacing: -0.04em; }
.quote-copy > p { color: var(--fg-2); font-size: 17px; }
.quote-copy a { color: var(--accent); }
.quote-points { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 10px; }
.quote-points li { display: flex; gap: 10px; align-items: center; color: var(--fg-2); }
.quote-points li::before { content: ""; width: 18px; height: 18px; flex: none; border-radius: 50%; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A0A0A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/12px no-repeat; }
.quote-alt { color: var(--muted) !important; font-size: 15px !important; }
.contact-side { display: grid; gap: 18px; margin-top: 8px; }
.contact-item { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: start; }
.contact-item .icon-tile { margin: 0; }
.contact-item h3 { font-size: 16px; margin-bottom: 2px; }
.contact-item p { color: var(--muted); font-size: 15px; }
.contact-item a { color: var(--accent); }
.cf { display: grid; gap: 16px; min-width: 0; }
.cf-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.cf-grid[hidden] { display: none; }
.cf-field { display: grid; gap: 7px; min-width: 0; align-content: start; }
.cf-wide { grid-column: 1 / -1; }
.cf label { font-size: 14px; font-weight: 600; color: var(--fg-2); }
.cf-opt { color: var(--muted); font-weight: 400; font-size: 13px; }
.cf input:not([type=checkbox]), .cf select, .cf textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--border-strong);
  background: var(--card); color: var(--fg); font: 400 16px/1.4 var(--font); transition: border-color .15s ease, box-shadow .15s ease;
}
.cf textarea { resize: vertical; min-height: 140px; }
.cf select { appearance: none; -webkit-appearance: none; padding-right: 40px; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 52%, calc(100% - 15px) 52%; background-size: 5px 5px; background-repeat: no-repeat; }
.cf input:focus, .cf select:focus, .cf textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(var(--accent-rgb), .18); }
.cf [aria-invalid="true"] { border-color: #FF5D5D !important; }
.cf ::placeholder { color: #6b6b6b; }
.cf-check { display: flex; gap: 12px; align-items: flex-start; font-weight: 400 !important; color: var(--fg-2) !important; font-size: 14px !important; line-height: 1.5; cursor: pointer; }
.cf-check input { width: 20px; height: 20px; margin: 1px 0 0; flex: none; accent-color: var(--accent); }
.cf-check a { color: var(--accent); }
.cf-err { color: #FF7070; font-size: 13px; font-weight: 500; }
.cf-err:empty { display: none; }
.cf-hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; opacity: 0; }
.cf-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.cf-actions .btn[disabled] { opacity: .6; cursor: progress; }
.cf-status { color: var(--muted); font-size: 15px; }
.cf-status.err { color: #FF7070; }
.cf-status a { color: inherit; }
.cf-done { display: grid; gap: 12px; align-content: start; padding: 8px 0; }
.cf-done .icon-tile { color: #3DD68C; border-color: rgba(61, 214, 140, .35); background: rgba(61, 214, 140, .08); }
.cf-done h3 { font-size: 24px; letter-spacing: -0.03em; }
.cf-done p { color: var(--fg-2); }
@media (max-width: 900px) {
  .quote-box { grid-template-columns: minmax(0, 1fr); gap: 32px; padding: 28px 20px; border-radius: 20px; }
}
@media (max-width: 560px) {
  .cf-grid { grid-template-columns: minmax(0, 1fr); }
  .cf-actions .btn { width: 100%; }
}

/* Website maintenance plans */
.plans.two { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 820px; }
.plan-alt { margin: 14px 0 0; color: var(--muted); font-size: 14px; }
.plan-alt b { color: var(--fg); }
.plans.two .plan-price { padding-bottom: 0; border-bottom: 0; }
.plans.two .plan-alt { padding-bottom: 24px; border-bottom: 1px solid var(--border); }
@media (max-width: 760px) { .plans.two { grid-template-columns: minmax(0, 1fr); max-width: 480px; } }

/* Language switch */
.lang-link { display: inline-flex; align-items: center; gap: 6px; }
.lang-ico { width: 16px; height: 16px; flex: none; }
.lang-long { display: none; }
.lang-foot { display: inline-flex; align-items: center; gap: 6px; }
.lang-foot .lang-ico { width: 14px; height: 14px; }
@media (max-width: 1080px) { .lang-long { display: inline; } .lang-short { display: none; } }

/* Trustpilot reviews invitation */
.tp-box { display: flex; align-items: center; justify-content: space-between; gap: 32px 48px; padding: 44px 48px; border: 1px solid var(--border); border-radius: 24px; background: var(--card); }
.tp-copy { display: grid; gap: 12px; max-width: 620px; }
.tp-stars { display: flex; gap: 4px; }
.tp-stars svg { width: 26px; height: 26px; fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linejoin: round; }
.tp-kicker { color: var(--muted); font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.tp-copy h2 { font-size: clamp(26px, 3.4vw, 36px); line-height: 1.1; letter-spacing: -0.03em; }
.tp-copy p { color: var(--fg-2); font-size: 16.5px; line-height: 1.6; }
.tp-actions { display: flex; flex-wrap: wrap; gap: 12px; flex: none; }
@media (max-width: 900px) { .tp-box { flex-direction: column; align-items: flex-start; padding: 32px 24px; border-radius: 20px; } .tp-actions { width: 100%; } .tp-actions .btn { flex: 1 1 220px; } }

/* Company details in the footer */
.footer-legal { line-height: 1.7; }
.footer-bottom { align-items: center; }
.footer-bottom nav { align-items: center; }
.footer-bottom nav a, .footer-bottom nav button.linkish { display: inline-flex; align-items: center; line-height: 1.4; }

/* ============ Partners ============ */
.partners-strip { padding-block: 44px; border-bottom: 1px solid var(--border); }
.partners-strip h2 { text-align: center; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 22px; }
.partners-strip h2 a { color: inherit; text-decoration: none; }
.partners-strip h2 a:hover { color: var(--fg); }
.ps-logos { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 28px 44px; }
.ps-logos a { display: block; border-radius: 16px; transition: transform .2s ease, filter .2s ease; filter: saturate(.85); }
.ps-logos a:hover, .ps-logos a:focus-visible { transform: translateY(-3px) scale(1.06); filter: none; }
.ps-logos img { display: block; width: 64px; height: 64px; object-fit: contain; }
.pt-split { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; align-items: start; }
.pt-who li { font-size: 16px; }
.pt-steps { display: grid; gap: 12px; }
.pt-steps .mini { padding: 20px 22px; }
.pt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.pt-card { display: block; overflow: hidden; border-radius: 18px; border: 1px solid var(--border); background: var(--card); color: var(--fg); text-decoration: none; transition: border-color .2s, transform .2s; }
.pt-card:hover { border-color: var(--accent); transform: translateY(-3px); }
.pt-banner { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--bg-soft); }
.pt-banner img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.pt-card:hover .pt-banner img { transform: scale(1.04); }
.pt-body { display: flex; align-items: center; gap: 14px; padding: 16px 18px; }
.pt-body > span { flex: 1; min-width: 0; }
.pt-body b { display: block; font-size: 17px; }
.pt-body small { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; }
.pt-body svg { width: 18px; height: 18px; color: var(--muted); flex: none; }
.pt-card:hover .pt-body svg { color: var(--accent); }
.pt-logo { width: 48px; height: 48px; border-radius: 12px; object-fit: contain; }
.pt-page { padding-top: 48px; }
.pt-back { display: inline-block; margin-bottom: 20px; color: var(--muted); text-decoration: none; font-size: 14px; }
.pt-back:hover { color: var(--accent); }
.pt-hero { border-radius: 24px; overflow: hidden; border: 1px solid var(--border); background: var(--bg-soft); aspect-ratio: 16 / 9; }
.pt-hero img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pt-id { display: flex; align-items: flex-start; gap: 22px; margin: -64px 0 0 32px; position: relative; }
.pt-logo-lg { width: 128px; height: 128px; border-radius: 28px; background: var(--bg); padding: 6px; border: 1px solid var(--border-strong); box-shadow: 0 20px 50px rgba(0, 0, 0, .45); object-fit: contain; }
.pt-id-txt { padding-top: 76px; min-width: 0; }
.pt-kind { display: inline-block; font-size: 12.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.pt-id h1 { font-size: clamp(32px, 5vw, 52px); line-height: 1.05; margin-top: 4px; }
.pt-since { color: var(--muted); font-size: 14px; margin-top: 6px; }
.pt-content { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; margin-top: 40px; align-items: start; }
.pt-about h2 { font-size: 22px; margin-bottom: 12px; }
.pt-about p { color: var(--fg-2); font-size: 17px; line-height: 1.7; }
.pt-about .hero-actions { margin-top: 22px; }
.pt-about .btn svg { width: 18px; height: 18px; }
.pt-ip { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px; margin-top: 22px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--border); background: var(--bg-soft); }
.pt-ip span { color: var(--muted); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.pt-ip code { font-size: 17px; font-weight: 600; flex: 1; }
.pt-ip .btn { padding: 8px 14px; }
.pt-ip .btn svg { width: 16px; height: 16px; }
.pt-cta { padding: 24px; border-radius: 18px; border: 1px solid var(--border); background: var(--card); display: grid; gap: 10px; }
.pt-cta p { color: var(--muted); font-size: 14px; }
.pt-cta .btn { justify-self: start; margin-top: 6px; }
@media (max-width: 900px) {
  .pt-split, .pt-content { grid-template-columns: 1fr; }
  .pt-id { margin: -44px 0 0 16px; gap: 14px; }
  .pt-id-txt { padding-top: 52px; }
  .pt-logo-lg { width: 88px; height: 88px; border-radius: 20px; }
  .pt-hero { border-radius: 16px; }
}
.pt-status { display: inline-flex; align-items: center; gap: 6px; margin-left: 10px; padding: 3px 10px; border-radius: 999px; background: rgba(88, 101, 242, .14); color: #A5ADFF; font-size: 12px; font-weight: 600; vertical-align: 1px; }
.pt-status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #8B93FF; box-shadow: 0 0 0 3px rgba(139, 147, 255, .2); }
.pt-about .pt-tagline { font-size: clamp(22px, 3vw, 30px); font-weight: 700; letter-spacing: -.02em; color: var(--fg); margin-bottom: 18px; }
.pt-about .pt-tagline + h2 { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 8px; }
.btn.pt-discord { background: #5865F2; border-color: #5865F2; color: #fff; }
.btn.pt-discord:hover { background: #4752C4; border-color: #4752C4; }
.pt-feat-t { font-size: 22px; margin: 40px 0 16px; }
.pt-feats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.pt-feat { padding: 20px; border-radius: 16px; border: 1px solid var(--border); background: var(--card); transition: border-color .2s, transform .2s; }
.pt-feat:hover { border-color: var(--accent); transform: translateY(-2px); }
.pt-emoji { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--bg-soft); border: 1px solid var(--border); font-size: 22px; margin-bottom: 12px; }
.pt-feat h3 { font-size: 16px; margin-bottom: 6px; }
.pt-feat p { color: var(--muted); font-size: 14px; line-height: 1.6; }
.pt-goal { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 24px; padding: 18px 20px; border-radius: 16px; border: 1px solid rgba(88, 101, 242, .35); background: linear-gradient(120deg, rgba(88, 101, 242, .14), rgba(var(--accent-rgb), .08)); }
.pt-goal > span { font-size: 26px; }
.pt-goal p { flex: 1; min-width: 200px; color: var(--fg); font-weight: 500; font-size: 15px; }
@media (max-width: 640px) { .pt-feats { grid-template-columns: 1fr; } .pt-status { margin: 6px 0 0; } }

/* ============ VPS locations ============ */
.loc-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; max-width: 760px; margin: 0 auto 28px; }
.loc-tabs button { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 16px; border: 1px solid var(--border); background: var(--card); color: var(--fg); font: inherit; text-align: left; cursor: pointer; transition: border-color .2s, box-shadow .2s; }
.loc-tabs button:hover { border-color: var(--border-strong); }
.loc-tabs button[aria-selected="true"] { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(var(--accent-rgb), .15); }
.loc-tabs img { border-radius: 4px; flex: none; }
.loc-tabs b { display: block; font-size: 15.5px; }
.loc-tabs small { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; }
.plans[hidden] { display: none !important; }
@media (max-width: 560px) { .loc-tabs { grid-template-columns: 1fr; } }

/* Bots page */
.bot-grid { gap: 16px; }
.bot-card { position: relative; display: flex; flex-direction: column; }
.bot-card .bot-emoji { font-size: 28px; line-height: 1; margin-bottom: 14px; }
.bot-card p { flex: 1; }
.bot-card .bot-price { margin-top: 12px; color: var(--accent); font-size: 18px; font-weight: 700; }
.extra-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.extra-box h3 { font-size: 18px; margin: 0 0 4px; }
.extra-box .table-wrap { margin: 12px 0 0; }
.price-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.price-table td { padding: 12px 16px; border-top: 1px solid var(--border); }
.price-table tr:first-child td { border-top: 0; }
.price-table .price-cell { text-align: right; white-space: nowrap; font-weight: 600; color: var(--fg); }
.combo-items { min-height: 48px; color: var(--fg-2); margin: 14px 0 20px; }
@media (max-width: 860px) { .extra-grid { grid-template-columns: minmax(0, 1fr); } }

/* Dedicated servers */
.ded-ranges { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.ded-range { min-width: 0; padding: 26px 24px; background: var(--card); border: 1px solid var(--border); border-radius: 16px; display: grid; gap: 12px; align-content: start; }
.ded-range .icon-tile { margin-bottom: 6px; }
.ded-range h3 { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.ded-range p { color: var(--muted); font-size: 14px; line-height: 1.6; }
.ded-span { display: grid; gap: 6px; }
.ded-span span { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 9px 12px; border: 1px solid var(--border); border-radius: 10px; min-width: 0; }
.ded-span small { font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); flex: none; }
.ded-span b { font-size: 15px; letter-spacing: -0.01em; color: var(--fg); text-align: right; }
.ded-span span:last-of-type { border-color: color-mix(in srgb, var(--accent) 45%, transparent); }
.ded-span span:last-of-type b { color: var(--accent); }
.ded-span i { display: none; }
.ded-table table { width: 100%; border-collapse: collapse; font-size: 15px; }
.ded-table th, .ded-table td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--border); white-space: nowrap; }
.ded-table th { background: var(--card); font-weight: 600; font-size: 13px; color: var(--muted); }
.ded-table td { color: var(--fg-2); font-variant-numeric: tabular-nums; }
.ded-table td b { color: var(--fg); }
.ded-table tr:last-child td { border-bottom: 0; }
.ded-mem { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: 12px; font-weight: 600; border: 1px solid var(--border); }
.ded-mem.ddr5 { color: var(--accent); border-color: currentColor; }
@media (max-width: 1080px) { .ded-ranges { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .ded-ranges { grid-template-columns: 1fr; }
  .ded-table thead { display: none; }
  .ded-table tr { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 12px; padding: 14px 16px; border-bottom: 1px solid var(--border); }
  .ded-table tr:last-child { border-bottom: 0; }
  .ded-table td { padding: 0; border: 0; white-space: normal; font-size: 14px; }
  .ded-table td:first-child { grid-column: 1 / -1; font-size: 15px; }
  .ded-table td[data-label]::before { content: attr(data-label); display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
}
.ded-table tr.ded-group td { background: var(--card); color: var(--accent); font-weight: 700; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; padding: 10px 18px; }
.ded-mem.ddr45 { color: var(--fg); }
@media (max-width: 640px) { .ded-table tr.ded-group { display: block; padding: 10px 16px; background: var(--card); } .ded-table tr.ded-group td { padding: 0; } }

/* Announcement popup (site.js) */
.rp-back { position: fixed; inset: 0; z-index: 70; display: grid; place-items: center; padding: 16px; background: rgba(5, 8, 16, .62); backdrop-filter: blur(4px); opacity: 0; transition: opacity .2s ease; }
.rp-back.in { opacity: 1; }
.rp { position: relative; width: min(460px, 100%); max-height: calc(100vh - 32px); overflow-y: auto; padding: 32px 30px 26px; border-radius: 20px; background: var(--card); border: 1px solid var(--border);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .5); transform: translateY(12px) scale(.98); transition: transform .25s ease; }
.rp::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; border-radius: 20px 20px 0 0; background: linear-gradient(90deg, var(--accent), #7CF0DC); }
.rp-back.in .rp { transform: none; }
.rp-x { position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--border); background: transparent; color: var(--muted); cursor: pointer; }
.rp-x:hover { color: var(--fg); }
.rp-x svg { width: 16px; height: 16px; }
.rp-tag { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--accent); background: rgba(var(--accent-rgb), .12); border: 1px solid rgba(var(--accent-rgb), .4); }
.rp h2 { margin: 14px 0 8px; font-size: 26px; letter-spacing: -0.02em; line-height: 1.15; }
.rp > p { color: var(--muted); font-size: 15px; line-height: 1.6; }
.rp ul { list-style: none; padding: 0; margin: 18px 0 22px; display: grid; gap: 10px; }
.rp li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--fg-2, var(--fg)); }
.rp li svg { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--accent); }
.rp-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.rp-actions .btn { flex: 1 1 auto; justify-content: center; }
.rp .rp-note { margin-top: 14px; font-size: 13px; color: var(--muted); }
@media (prefers-reduced-motion: reduce) { .rp-back, .rp { transition: none; } }
@media (max-width: 480px) { .rp { padding: 28px 20px 22px; } .rp h2 { font-size: 22px; } }

/* Reseller API guide (private) */
.api-hero { padding-bottom: 24px; }
.api-badge { display: inline-block; width: max-content; justify-self: start; margin-bottom: 18px; padding: 5px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--accent); background: rgba(var(--accent-rgb), .12); border: 1px solid rgba(var(--accent-rgb), .4); }
.api-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 48px; align-items: start; }
.api-toc { position: sticky; top: 96px; font-size: 14px; }
.api-toc b { display: block; margin-bottom: 10px; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.api-toc ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; border-left: 1px solid var(--border); }
.api-toc a { display: block; padding: 6px 0 6px 14px; margin-left: -1px; border-left: 2px solid transparent; color: var(--fg-2, var(--fg)); text-decoration: none; }
.api-toc a:hover { color: var(--accent); border-left-color: var(--accent); }
.api-doc { min-width: 0; max-width: 820px; }
.api-doc h2 { font-size: 24px; letter-spacing: -0.02em; margin: 48px 0 14px; scroll-margin-top: 90px; }
.api-doc h2:first-child { margin-top: 0; }
.api-doc p { color: var(--fg-2, var(--fg)); line-height: 1.7; margin: 10px 0; }
.api-doc code { font-family: var(--mono); font-size: .92em; }
.api-doc p code, .api-doc li code, .api-table code { padding: 1px 6px; border-radius: 6px; background: var(--card); border: 1px solid var(--border); }
.api-steps { padding-left: 20px; display: grid; gap: 10px; line-height: 1.7; color: var(--fg-2, var(--fg)); }
.api-code { margin: 12px 0; padding: 14px 16px; border-radius: 12px; background: #0a0e18; border: 1px solid var(--border); overflow-x: auto; font-size: 13px; line-height: 1.6; }
.api-code code { color: #d6e2f5; white-space: pre; }
.api-code.json code { color: #b7f0c8; }
.api-note { padding: 12px 16px; border-radius: 12px; border: 1px solid rgba(var(--accent-rgb), .35); background: rgba(var(--accent-rgb), .07); font-size: 14px; }
.api-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.api-table th, .api-table td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--border); vertical-align: top; }
.api-table th { background: var(--card); font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.api-table tr:last-child td { border-bottom: 0; }
.api-ep { padding: 18px 20px; margin: 12px 0; border: 1px solid var(--border); border-radius: 14px; background: var(--card); scroll-margin-top: 90px; }
.api-ep-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.api-ep-head > code { font-size: 14px; font-weight: 600; color: var(--fg); overflow-wrap: anywhere; }
.api-ep p { margin: 8px 0 0; font-size: 14px; }
.api-ep details { margin-top: 10px; }
.api-ep summary { cursor: pointer; font-size: 13px; color: var(--accent); font-weight: 600; }
.api-m { flex: none; min-width: 58px; text-align: center; padding: 3px 8px; border-radius: 7px; font: 700 12px/1.4 var(--mono); letter-spacing: .03em; }
.api-m.get { color: #5ec8ff; background: rgba(94, 200, 255, .12); }
.api-m.post { color: #4ade80; background: rgba(74, 222, 128, .12); }
.api-m.patch { color: #fbbf24; background: rgba(251, 191, 36, .12); }
.api-m.delete { color: #f87171; background: rgba(248, 113, 113, .12); }
@media (max-width: 900px) { .api-layout { grid-template-columns: 1fr; gap: 24px; } .api-toc { position: static; } .api-toc ol { grid-template-columns: 1fr 1fr; border-left: 0; } .api-toc a { padding-left: 0; border-left: 0; } }

/* Dedicated servers: live stock list */
.ded-stock-msg { padding: 26px 24px; background: var(--card); border: 1px dashed var(--border-strong); border-radius: 16px; color: var(--muted); margin: 0; }
.ded-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.ded-card { min-width: 0; display: grid; gap: 18px; align-content: space-between; padding: 24px; background: var(--card); border: 1px solid var(--border); border-radius: 16px; transition: border-color .2s; }
.ded-card:hover { border-color: var(--border-strong); }
.ded-card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.ded-card h3 { font-size: 19px; letter-spacing: -0.01em; margin: 0; }
.ded-loc { display: flex; align-items: center; gap: 6px; margin: 4px 0 0; color: var(--muted); font-size: 13px; }
.ded-avail { flex: none; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; color: #4ADE80; background: rgba(74, 222, 128, .1); white-space: nowrap; }
.ded-avail.low { color: var(--accent); background: rgba(var(--accent-rgb), .12); }
.ded-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; margin: 0; padding: 16px; border: 1px solid var(--border); border-radius: 12px; }
.ded-specs div { min-width: 0; }
.ded-specs dt { font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.ded-specs dd { margin: 2px 0 0; font-size: 14px; font-weight: 500; overflow-wrap: anywhere; }
.ded-card-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
.ded-price b { font-size: 26px; letter-spacing: -0.02em; }
.ded-price span { color: var(--muted); font-size: 14px; margin-left: 2px; }
.ded-price small { display: block; color: var(--muted); font-size: 12px; }
.ded-stock-note { color: var(--muted); font-size: 13px; margin-top: 16px; }

/* ===================================================================
   v6 — header with dropdown menus, pill buttons, support band, footer
   =================================================================== */
.btn { border-radius: 999px; }
.btn-pill { border-radius: 999px; }
.btn:not(.btn-dark) { box-shadow: 0 6px 22px -8px rgba(var(--accent-rgb), .55); }
.btn:not(.btn-dark):hover { box-shadow: 0 8px 28px -8px rgba(var(--accent-rgb), .7); }
.live-dot { position: relative; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #3DDC97; flex: none; }
.live-dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid #3DDC97; opacity: 0; animation: live-ping 2s ease-out infinite; }
@keyframes live-ping { 0% { transform: scale(.5); opacity: .7; } 100% { transform: scale(1.6); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .live-dot::after { animation: none; } }

/* Header */
.site-header { backdrop-filter: saturate(140%) blur(12px); -webkit-backdrop-filter: saturate(140%) blur(12px); background: var(--hdr); }
.site-header .wrap { gap: 28px; }
.nav-menu { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-item { position: relative; }
.nav-trigger, .nav-plain { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px; border-radius: 999px; border: 0; background: none;
  color: var(--fg-2); font: 500 14.5px var(--font); text-decoration: none; cursor: pointer; transition: background .15s ease, color .15s ease; }
.nav-trigger .chev { width: 14px; height: 14px; opacity: .6; transition: transform .2s ease; }
.nav-trigger:hover, .nav-plain:hover, .nav-item.open > .nav-trigger, .nav-item.is-active > .nav-trigger { color: var(--fg); background: var(--tint-2); }
.nav-item.open > .nav-trigger .chev { transform: rotate(180deg); }
.nav-plain .live-dot { width: 7px; height: 7px; }
.nav-drop { position: absolute; top: calc(100% + 10px); left: -8px; z-index: 40; min-width: 520px; transform: translateY(6px); opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .18s ease, transform .22s cubic-bezier(.2, .7, .2, 1), visibility 0s linear .22s; }
.nav-drop.wide { min-width: 820px; }
.nav-drop::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; }
.nav-item.open > .nav-drop { opacity: 1; visibility: visible; pointer-events: auto; transform: none; transition-delay: 0s; }
.dd-inner { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 8px; padding: 14px; border: 1px solid var(--border-strong); border-radius: 18px;
  background: linear-gradient(180deg, var(--s-raise), var(--s-deep)); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .7), 0 0 0 1px var(--tint-1) inset; }
.dd-col { display: grid; align-content: start; gap: 2px; min-width: 0; }
.dd-col + .dd-col { padding-left: 8px; border-left: 1px solid var(--border); }
.dd-label { padding: 8px 12px 6px; color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.dd-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.dd-col a { display: flex; align-items: flex-start; gap: 12px; padding: 10px 12px; border-radius: 12px; color: var(--fg); text-decoration: none; transition: background .15s ease; }
.dd-col a:hover, .dd-col a:focus-visible, .dd-col a[aria-current="page"] { background: var(--tint-2); }
.dd-ico { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 10px; color: var(--accent); background: rgba(var(--accent-rgb), .1); border: 1px solid rgba(var(--accent-rgb), .22); }
.dd-ico svg { width: 18px; height: 18px; }
.dd-txt { display: grid; gap: 2px; min-width: 0; }
.dd-txt b { font-size: 14.5px; font-weight: 600; letter-spacing: -.01em; }
.dd-txt small { color: var(--muted); font-size: 12.5px; line-height: 1.4; }
.lang-seg { display: inline-flex; padding: 3px; gap: 2px; border: 1px solid var(--border-strong); border-radius: 999px; background: var(--tint-1); }
.lang-seg a, .lang-seg span { display: inline-grid; place-items: center; min-width: 34px; height: 26px; padding: 0 8px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-decoration: none; color: var(--muted); }
.lang-seg a:hover { color: var(--fg); }
.lang-seg span[aria-current] { color: var(--accent-ink); background: var(--accent); }
.nav-right { gap: 16px; }

@media (min-width: 1081px) and (max-width: 1240px) {
  .nav-plain { display: none; }
  .nav-right .text-link { display: none; }
}
@media (max-width: 1080px) {
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--bg); }
  .nav-menu { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-item { border-bottom: 1px solid var(--border); opacity: 0; transform: translateY(14px); transition: opacity .35s ease, transform .45s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(var(--i, 0) * 45ms + 60ms); }
  .nav.open .nav-item { opacity: 1; transform: none; }
  .nav-trigger, .nav-plain { width: 100%; justify-content: space-between; height: auto; min-height: 64px; padding: 0; border-radius: 0; font-size: 26px; font-weight: 600; letter-spacing: -.03em; color: var(--fg); background: none !important; }
  .nav-plain { justify-content: flex-start; gap: 12px; }
  .nav-trigger .chev { width: 22px; height: 22px; }
  .nav-drop, .nav-drop.wide { position: static; min-width: 0; transform: none !important; opacity: 1; visibility: visible; pointer-events: auto; display: none; }
  .nav-item.open > .nav-drop { display: block; }
  .dd-inner { grid-auto-flow: row; padding: 0 0 16px; border: 0; background: none; box-shadow: none; }
  .dd-col + .dd-col { padding-left: 0; border-left: 0; }
  .dd-label { padding-inline: 0; }
  .dd-col a { padding: 10px 0; }
  .nav-right { flex-wrap: wrap; }
  .nav-right .btn { flex: 1 1 100%; }
}

/* Support band (above the footer of every page) */
.site-footer { border-top: 0; }
.support-band { display: flex; align-items: center; gap: 24px; margin-bottom: 72px; padding: 28px 32px; border: 1px solid var(--border-strong); border-radius: 22px;
  background: radial-gradient(600px 200px at 0% 0%, rgba(var(--accent-rgb), .12), transparent 70%), linear-gradient(180deg, var(--s-raise), var(--s-deep)); }
.sb-icons { display: flex; flex: none; }
.sb-icons span { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; color: var(--accent); background: var(--s-chip); border: 1px solid var(--border-strong); }
.sb-icons span + span { margin-left: -10px; }
.sb-icons svg { width: 18px; height: 18px; }
.sb-copy { display: grid; gap: 4px; flex: 1; min-width: 0; }
.sb-copy b { font-size: 18px; letter-spacing: -.02em; }
.sb-copy span { color: var(--muted); font-size: 14.5px; }
.sb-actions { display: flex; gap: 10px; flex: none; }
@media (max-width: 860px) {
  .support-band { flex-direction: column; align-items: flex-start; padding: 24px; margin-bottom: 56px; }
  .sb-actions { width: 100%; flex-wrap: wrap; } .sb-actions .btn { flex: 1 1 200px; }
}
.footer-grid { grid-template-columns: 1.5fr repeat(4, minmax(0, 1fr)); }
.footer-grid h4 { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--fg); }
.footer-status { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; padding: 8px 14px; border: 1px solid var(--border-strong); border-radius: 999px; color: var(--fg-2); font-size: 13.5px; text-decoration: none; }
.footer-status:hover { color: var(--fg); border-color: var(--border-hover); }
@media (max-width: 1080px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-about { grid-column: 1 / -1; } }

/* Hero globe (home) */
.globe-wrap { position: relative; margin: 0; width: 100%; max-width: 560px; aspect-ratio: 1; justify-self: end; }
.globe { width: 100%; height: 100%; display: block; }
.globe-chip { position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border: 1px solid var(--tint-3); border-radius: 14px;
  background: var(--chip-bg); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .8);
  animation: chip-float 6s ease-in-out infinite; }
.globe-chip span { display: grid; gap: 1px; }
.globe-chip b { font-size: 13.5px; letter-spacing: -.01em; white-space: nowrap; }
.globe-chip small { color: var(--muted); font-size: 12px; white-space: nowrap; }
.globe-chip svg { width: 20px; height: 20px; color: var(--accent); flex: none; }
.gc-fra { top: 16%; left: -2%; }
.gc-nl { top: 46%; right: -4%; animation-delay: -2s; }
.gc-ddos { bottom: 10%; left: 8%; animation-delay: -4s; }
@keyframes chip-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .globe-chip { animation: none; } }
@media (max-width: 1080px) { .globe-wrap { justify-self: center; max-width: 480px; } }
@media (max-width: 640px) { .gc-fra { left: 0; top: 6%; } .gc-nl { right: 0; } .gc-ddos { left: 4%; bottom: 4%; } .globe-chip { padding: 8px 11px; } }
.hero::after { content: ""; position: absolute; inset: auto -10% -30% 40%; height: 70%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(var(--accent-rgb), .09), transparent 70%); }

/* Client area showcase (home) */
.eyebrow { display: inline-block; margin-bottom: 12px; font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.pm { margin: 48px auto 0; max-width: 980px; border: 1px solid var(--border-strong); border-radius: 18px; overflow: hidden; background: var(--s-inset);
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .9), 0 0 0 1px var(--tint-1) inset, 0 -30px 120px -60px rgba(var(--accent-rgb), .35); }
.pm-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: var(--s-panel); border-bottom: 1px solid var(--border); }
.pm-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--border-strong); }
.pm-bar i:nth-child(1) { background: #FF5F57; } .pm-bar i:nth-child(2) { background: #FEBC2E; } .pm-bar i:nth-child(3) { background: #28C840; }
.pm-bar span { margin-left: 12px; padding: 4px 12px; border-radius: 999px; background: var(--s-inset); color: var(--muted); font: 500 12px var(--mono); }
.pm-body { display: grid; grid-template-columns: 190px minmax(0, 1fr); min-height: 380px; font-size: 12.5px; }
.pm-side { display: flex; flex-direction: column; gap: 14px; padding: 18px 14px; border-right: 1px solid var(--border); background: var(--s-side); }
.pm-logo { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; }
.pm-logo svg { width: 20px; height: 20px; }
.pm-side ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.pm-side li { display: flex; align-items: center; gap: 9px; padding: 8px 10px; border-radius: 9px; color: var(--muted); }
.pm-side li svg { width: 15px; height: 15px; }
.pm-side li.on { color: var(--accent); background: rgba(var(--accent-rgb), .1); }
.pm-credit { margin-top: auto; display: grid; gap: 2px; padding: 12px; border: 1px solid rgba(var(--accent-rgb), .3); border-radius: 12px; background: rgba(var(--accent-rgb), .06); }
.pm-credit span { color: var(--muted); font-size: 11px; } .pm-credit b { font-size: 17px; }
.pm-main { display: grid; align-content: start; gap: 14px; padding: 18px; min-width: 0; }
.pm-top { display: flex; justify-content: space-between; align-items: center; color: var(--muted); } .pm-top b { color: var(--fg); font-size: 14px; }
.pm-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.pm-stat { display: grid; gap: 6px; padding: 12px; border: 1px solid var(--border); border-radius: 12px; background: var(--s-panel); }
.pm-stat span { color: var(--muted); font-size: 11.5px; } .pm-stat b { font-size: 18px; letter-spacing: -.02em; }
.pm-tables { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.pm-card { border: 1px solid var(--border); border-radius: 12px; background: var(--s-panel); overflow: hidden; }
.pm-card-h { padding: 10px 12px; font-weight: 600; border-bottom: 1px solid var(--border); }
.pm-card table { width: 100%; border-collapse: collapse; font-size: 11.5px; }
.pm-card th { text-align: left; padding: 8px 10px 4px; color: var(--muted); font-weight: 500; font-size: 10.5px; text-transform: uppercase; letter-spacing: .05em; }
.pm-card td { padding: 7px 10px; border-top: 1px solid var(--tint-1); white-space: nowrap; }
.pm-card .mono { font-family: var(--mono); color: var(--fg-2); }
.pm-pill { display: inline-flex; align-items: center; gap: 5px; padding: 2px 8px; border-radius: 999px; font-size: 10.5px; font-weight: 600; color: #3DDC97; background: rgba(61, 220, 151, .1); }
.pm-pill::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.pm-pill.warn { color: #FBBF24; background: rgba(251, 191, 36, .1); }
.sc-feats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; max-width: 980px; margin: 48px auto 0; }
.sc-feat { display: flex; gap: 16px; padding: 24px 0; border-top: 1px solid var(--border); }
.sc-feat h3 { font-size: 16.5px; margin-bottom: 4px; } .sc-feat p { color: var(--muted); font-size: 14.5px; line-height: 1.6; }
.sc-feat .icon-tile { flex: none; }
@media (max-width: 860px) {
  .pm-body { grid-template-columns: minmax(0, 1fr); } .pm-side { display: none; }
  .pm-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pm-tables { grid-template-columns: minmax(0, 1fr); }
  .pm-card td:nth-child(2), .pm-card th:nth-child(2) { display: none; }
  .sc-feats { grid-template-columns: minmax(0, 1fr); }
}

/* Feature pills in the product heroes */
.hero-chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 26px 0 0; padding: 0; }
.hero-chips li { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 8px; border: 1px solid var(--border-strong); border-radius: 999px;
  background: var(--tint-1); color: var(--fg-2); font-size: 13.5px; font-weight: 500; }
.hc-ico { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; color: var(--accent); background: rgba(var(--accent-rgb), .1); }
.hc-ico svg { width: 14px; height: 14px; }
@media (max-width: 640px) { .hero-chips li { font-size: 12.5px; padding: 6px 12px 6px 6px; } }

/* Dedicated stock: live counter, filters, cards (v6) */
.ded-head { display: grid; gap: 22px; margin-bottom: 22px; }
.ded-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 20px; }
.ded-live { display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px; border: 1px solid rgba(61, 220, 151, .35); border-radius: 999px; background: rgba(61, 220, 151, .08); color: #3DDC97; font-weight: 600; font-size: 14px; }
.ded-refresh { color: var(--muted); font-size: 13.5px; }
.ded-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.ded-filter { display: grid; gap: 6px; min-width: 170px; }
.ded-filter span { color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.ded-filter select { appearance: none; -webkit-appearance: none; height: 42px; padding: 0 38px 0 14px; border: 1px solid var(--border-strong); border-radius: 12px; color: var(--fg); font: 500 14px var(--font);
  background: var(--card) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238C98AE' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 16px; cursor: pointer; }
.ded-filter select:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.ded-card { background: linear-gradient(180deg, var(--s-raise), var(--card)); }
.ded-card:hover { border-color: rgba(var(--accent-rgb), .45); transform: translateY(-2px); }
.ded-card { transition: border-color .2s ease, transform .2s ease; }
.ded-avail { display: inline-flex; align-items: center; gap: 6px; text-transform: uppercase; letter-spacing: .05em; font-size: 11px; border: 1px solid rgba(74, 222, 128, .3); }
.ded-avail i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.ded-avail.low { border-color: rgba(var(--accent-rgb), .35); }
.ded-none { grid-column: 1 / -1; display: grid; justify-items: center; gap: 14px; padding: 36px; border: 1px dashed var(--border-strong); border-radius: 16px; color: var(--muted); }
@media (max-width: 640px) { .ded-filter { min-width: 0; flex: 1 1 140px; } }
.ded-card-top { flex-direction: column-reverse; align-items: flex-start; gap: 12px; }


/* ===================================================================
   Light theme (toggle in the header; remembered in the browser)
   =================================================================== */
:root[data-theme="light"] {
  --bg: #F5F7FB; --bg-soft: #EEF2F8; --card: #FFFFFF; --card-hover: #F8FAFD;
  --border: #E3E8F0; --border-strong: #D3DBE7; --border-hover: #B9C4D6; --fg: #0B1220; --fg-2: #334155; --muted: #64748B;
  --accent: #0B7F6C; --accent-hover: #0A9580; --accent-ink: #FFFFFF; --accent-rgb: 11, 127, 108;
  --logo-bar: #0B7F6C; --logo-mid: #0B1220; --logo-dot: #FFFFFF; --logo-mid-dot: #22D3B6; --logo-dash: rgba(255, 255, 255, .55);
  --hdr: rgba(245, 247, 251, .85); --hdr-solid: rgba(245, 247, 251, .97); --hdr-soft: rgba(255, 255, 255, .8);
  --s-raise: #FFFFFF; --s-deep: #F8FAFD; --s-panel: #F4F6FA; --s-inset: #EEF2F7; --s-side: #F8FAFD; --s-chip: #FFFFFF; --glow: #E3F6F2; --mark: #E9EEF6;
  --il-a: #FFFFFF; --il-b: #F2F5FA; --il-c: #D3DBE7; --il-d: #E6EBF2; --il-e: #D5DDE8; --il-f: #CBD5E1; --il-g: #B6C2D4;
  --tint-1: rgba(15, 23, 42, .025); --tint-2: rgba(15, 23, 42, .05); --tint-3: rgba(15, 23, 42, .08); --dot: rgba(15, 23, 42, .09);
  --shadow: rgba(15, 23, 42, .18); --chip-bg: rgba(255, 255, 255, .86); color-scheme: light;
}
:root[data-theme="light"] .hero { background: radial-gradient(900px 500px at 15% -10%, rgba(var(--accent-rgb), .10), transparent 70%); }
:root[data-theme="light"] .dd-inner, :root[data-theme="light"] .globe-chip, :root[data-theme="light"] .pm { box-shadow: 0 24px 60px -24px rgba(15, 23, 42, .25); }
:root[data-theme="light"] .btn:not(.btn-dark) { box-shadow: 0 6px 20px -8px rgba(var(--accent-rgb), .5); }
:root[data-theme="light"] .pay-logos img { box-shadow: 0 0 0 1px var(--border); }
:root[data-theme="light"] .brand-name, :root[data-theme="light"] h1, :root[data-theme="light"] h2 { color: var(--fg); }
:root[data-theme="light"] .live-dot, :root[data-theme="light"] .ded-live { color: #059669; }
:root[data-theme="light"] .ded-live { border-color: rgba(5, 150, 105, .3); background: rgba(5, 150, 105, .07); }
:root[data-theme="light"] .ded-avail { color: #047857; background: rgba(5, 150, 105, .08); }
:root[data-theme="light"] .ded-avail.low { color: var(--accent); background: rgba(var(--accent-rgb), .08); }
:root[data-theme="light"] .pm-pill { color: #047857; background: rgba(5, 150, 105, .1); }
:root[data-theme="light"] .pm-pill.warn { color: #B45309; background: rgba(245, 158, 11, .14); }
:root[data-theme="light"] .lang-seg span[aria-current] { color: #fff; }
html { transition: background-color .25s ease; }
body { background: var(--bg); color: var(--fg); }

/* Theme toggle */
.theme-btn { display: inline-grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--border-strong); border-radius: 50%; background: var(--tint-1); color: var(--fg-2); cursor: pointer; transition: color .15s ease, border-color .15s ease, transform .3s ease; }
.theme-btn:hover { color: var(--fg); border-color: var(--border-hover); }
.theme-btn:active { transform: rotate(-30deg) scale(.94); }
.theme-btn svg { width: 18px; height: 18px; }
.theme-btn .t-sun { display: none; }
:root[data-theme="light"] .theme-btn .t-sun { display: block; }
:root[data-theme="light"] .theme-btn .t-moon { display: none; }

.globe { cursor: grab; touch-action: pan-y; }
.globe.dragging { cursor: grabbing; }

/* Tech marquee (home) */
.tech-strip { position: relative; overflow: hidden; padding: 22px 0; border-bottom: 1px solid var(--border);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.ts-track { display: flex; width: max-content; animation: ts-move 38s linear infinite; }
.tech-strip:hover .ts-track { animation-play-state: paused; }
.ts-track ul { display: flex; gap: 14px; margin: 0; padding: 0 7px; list-style: none; }
.ts-track li { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border: 1px solid var(--border); border-radius: 999px; background: var(--tint-1); color: var(--fg-2); font-weight: 600; font-size: 14px; white-space: nowrap; }
.ts-track svg { width: 18px; height: 18px; color: var(--accent); }
@keyframes ts-move { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ts-track { animation: none; } }

/* Home hero: taller, scroll cue */
.hero .wrap { min-height: min(820px, calc(100svh - 72px)); display: grid; align-items: center; }

/* Dedicated configurator */
.cfg { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; text-align: left; }
.cfg-steps { display: grid; gap: 16px; }
.cfg-step { padding: 22px; border: 1px solid var(--border); border-radius: 18px; background: linear-gradient(180deg, var(--s-raise), var(--card)); }
.cfg-step-h { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.cfg-step-h .icon-tile { width: 36px; height: 36px; }
.cfg-step-h h3 { font-size: 17px; }
.cfg-n { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-size: 12.5px; font-weight: 700; }
.cfg-tabs, .cfg-row { display: flex; flex-wrap: wrap; gap: 8px; }
.cfg-tabs { margin-bottom: 12px; }
.cfg-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px; }
.cfg-pill { display: grid; gap: 2px; justify-items: start; padding: 10px 14px; border: 1px solid var(--border-strong); border-radius: 12px; background: var(--tint-1); color: var(--fg); font: inherit; text-align: left; cursor: pointer; transition: border-color .15s ease, background .15s ease, transform .15s ease; }
.cfg-tabs .cfg-pill, .cfg-row .cfg-pill { border-radius: 999px; padding: 8px 16px; }
.cfg-pill b { font-size: 14px; font-weight: 600; }
.cfg-pill small { color: var(--muted); font-size: 12px; }
.cfg-pill:hover { border-color: var(--border-hover); }
.cfg-pill:active { transform: scale(.98); }
.cfg-pill.on { border-color: var(--accent); background: rgba(var(--accent-rgb), .1); box-shadow: 0 0 0 1px var(--accent) inset; }
.cfg-sub { display: grid; gap: 8px; }
.cfg-sub + .cfg-sub { margin-top: 14px; }
.cfg-lab { color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.cfg-hint { margin-top: 10px; color: var(--muted); font-size: 13px; }
.cfg-sum { position: sticky; top: 96px; display: grid; gap: 16px; padding: 24px; border: 1px solid var(--border-strong); border-radius: 18px;
  background: radial-gradient(400px 160px at 100% 0%, rgba(var(--accent-rgb), .12), transparent 70%), var(--s-raise); box-shadow: 0 30px 60px -30px var(--shadow); }
.cfg-sum h3 { font-size: 18px; }
.cfg-sum dl { display: grid; gap: 10px; margin: 0; }
.cfg-sum dl div { display: grid; gap: 2px; padding-bottom: 10px; border-bottom: 1px solid var(--border); }
.cfg-sum dt { color: var(--muted); font-size: 11.5px; text-transform: uppercase; letter-spacing: .07em; font-weight: 700; }
.cfg-sum dd { margin: 0; font-weight: 600; font-size: 14.5px; }
.cfg-price { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.cfg-price span { color: var(--muted); font-size: 13px; width: 100%; }
.cfg-price b { font-size: 30px; letter-spacing: -.03em; }
.cfg-price small { color: var(--muted); }
.cfg-price .cfg-onreq { font-size: 20px; color: var(--accent); }
.cfg-note { color: var(--muted); font-size: 12.5px; line-height: 1.5; }
@media (max-width: 960px) { .cfg { grid-template-columns: minmax(0, 1fr); } .cfg-sum { position: static; } }

/* ===================================================================
   v8 — 3D rack hero, live latency, scroll motion
   =================================================================== */
.r3 { position: relative; margin: 0; width: 100%; max-width: 520px; justify-self: end; aspect-ratio: 1 / 1.02; display: grid; place-items: center; }
.r3-stage { --w: 330px; --d: 250px; --uh: 27px; position: relative; width: var(--w); perspective: 1700px; perspective-origin: 50% 30%; }
.r3-scene { position: relative; display: grid; gap: 5px; transform-style: preserve-3d; --rx: -14deg; --ry: -32deg; --sp: 0;
  transform: rotateX(var(--rx)) rotateY(var(--ry)); will-change: transform; }
.r3-u { position: relative; height: calc(var(--h) * var(--uh)); transform-style: preserve-3d; --pop: 0px;
  transform: translate3d(0, calc(var(--k) * var(--sp) * 16px), var(--pop)); transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.r3-u:not(.r3-cap):hover { --pop: 34px; }
.r3-f { position: absolute; box-sizing: border-box; }
.r3-fr { inset: 0; transform: translateZ(calc(var(--d) / 2)); display: flex; align-items: center; gap: 10px; padding: 0 12px 0 16px; border-radius: 4px;
  background: linear-gradient(180deg, #1C2740, #121B2E); border: 1px solid #2B3A57; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06); }
.r3-tp { left: 0; top: 0; width: 100%; height: var(--d); transform-origin: 50% 0; transform: translateZ(calc(var(--d) / 2)) rotateX(-90deg);
  background: linear-gradient(90deg, #172036, #1D2944); border: 1px solid #26344F; }
.r3-sd { top: 0; left: 100%; width: var(--d); height: 100%; transform-origin: 0 50%; transform: translateZ(calc(var(--d) / 2)) rotateY(90deg);
  background: linear-gradient(90deg, #0F1729, #0A101E); border: 1px solid #1E2940; }
.r3-post { position: absolute; top: -8px; bottom: -8px; width: 12px; transform: translateZ(calc(var(--d) / 2 + 3px)); border-radius: 3px;
  background: repeating-linear-gradient(180deg, #2A3854 0 2px, #1A2438 2px 9px); box-shadow: 0 0 0 1px #2E3E5D; }
.r3-pl { left: -16px; } .r3-pr { right: -16px; }
.r3-floor { position: absolute; left: 50%; bottom: -70px; width: 140%; height: 120px; transform: translateX(-50%); pointer-events: none;
  background: radial-gradient(closest-side, rgba(var(--accent-rgb), .22), transparent 75%); filter: blur(6px); }
.r3-cap .r3-fr { background: linear-gradient(180deg, #151E33, #0F1729); }
.r3-lbl { font: 600 9.5px/1 var(--mono); letter-spacing: .08em; color: #8FA0BE; white-space: nowrap; }
.r3-bays { display: flex; gap: 3px; flex: none; }
.r3-bays b { width: 15px; height: calc(var(--h) * var(--uh) - 12px); border-radius: 2px; background: linear-gradient(180deg, #0B1220, #141E33); box-shadow: inset 0 0 0 1px #2B3A57; position: relative; }
.r3-bays b::after { content: ""; position: absolute; left: 4px; right: 4px; bottom: 3px; height: 2px; border-radius: 1px; background: rgba(var(--accent-rgb), .55); }
.r3-vent { flex: 1; align-self: stretch; margin: 6px 0; border-radius: 2px; background: repeating-linear-gradient(90deg, #0A101D 0 2px, transparent 2px 5px); opacity: .9; }
.r3-leds { display: flex; gap: 5px; margin-left: auto; flex: none; }
.r3-leds i, .r3-ports i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px rgba(var(--accent-rgb), .9);
  animation: r3-blink var(--t, 1s) steps(2, jump-none) infinite; animation-delay: var(--dl, 0s); }
.r3-leds i:first-child { animation: none; background: #3DDC97; box-shadow: 0 0 8px rgba(61, 220, 151, .9); }
.r3-ports { display: grid; grid-template-columns: repeat(8, 9px); gap: 3px; flex: 1; justify-content: center; }
.r3-ports i { width: 9px; height: 7px; border-radius: 1px; background: #0B1220; box-shadow: inset 0 0 0 1px #33456A; position: relative; animation: r3-port 2.2s steps(2, jump-none) infinite; animation-delay: var(--dl); }
.r3-shield { width: 16px; height: 16px; color: var(--accent); flex: none; display: grid; }
.r3-shield svg { width: 100%; height: 100%; }
.r3-meter { flex: 1; height: 6px; border-radius: 3px; background: #0B1220; box-shadow: inset 0 0 0 1px #2B3A57; overflow: hidden; }
.r3-meter i { display: block; height: 100%; width: 40%; border-radius: inherit; background: linear-gradient(90deg, rgba(var(--accent-rgb), .2), var(--accent)); animation: r3-meter 3.2s ease-in-out infinite; }
@keyframes r3-blink { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
@keyframes r3-port { 0%, 100% { background: #0B1220; } 50% { background: rgba(var(--accent-rgb), .75); } }
@keyframes r3-meter { 0%, 100% { width: 25%; } 50% { width: 78%; } }
.r3 .globe-chip { z-index: 2; }
.r3c-1 { top: 10%; left: -4%; } .r3c-2 { top: 44%; right: -6%; animation-delay: -2s; } .r3c-3 { bottom: 9%; left: 0; animation-delay: -4s; }
:root[data-theme="light"] .r3-fr { background: linear-gradient(180deg, #1C2740, #121B2E); }
:root[data-theme="light"] .r3-floor { background: radial-gradient(closest-side, rgba(11, 18, 32, .22), transparent 75%); }
@media (prefers-reduced-motion: reduce) { .r3-leds i, .r3-ports i, .r3-meter i { animation: none; } .r3-u { transition: none; } }
@media (max-width: 1080px) { .r3 { justify-self: center; max-width: 460px; } }
@media (max-width: 640px) { .r3-stage { --w: 250px; --d: 190px; --uh: 21px; } .r3-lbl { font-size: 8px; } .r3-bays b { width: 11px; } .r3c-1 { left: 0; top: 4%; } .r3c-2 { right: 0; } }

/* Live latency */
.network { position: relative; overflow: hidden; }
.net-grid { display: grid; grid-template-columns: minmax(0, 460px) minmax(0, 1fr); gap: 72px; align-items: center; }
.net-globe { justify-self: start; max-width: 460px; }
.net-copy { display: grid; gap: 18px; }
.net-copy .eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--accent); margin: 0; }
.net-copy h2 { font-size: clamp(30px, 4vw, 46px); line-height: 1.08; }
.net-copy .lead { color: var(--fg-2); margin: 0; max-width: 560px; }
.ping-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; margin-top: 6px; }
.ping-card { display: grid; gap: 12px; padding: 18px 20px; border: 1px solid var(--border); border-radius: 18px; background: linear-gradient(180deg, var(--s-raise), var(--s-deep)); position: relative; overflow: hidden; }
.ping-card header { display: flex; gap: 12px; align-items: center; }
.ping-card header img { border-radius: 3px; flex: none; }
.ping-card h3 { font-size: 16px; letter-spacing: -.01em; }
.ping-card header p { margin: 0; color: var(--muted); font-size: 12.5px; line-height: 1.4; }
.ping-val { display: flex; align-items: baseline; gap: 6px; min-height: 52px; }
.ping-val b { font: 700 46px/1 var(--font); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.ping-val span { color: var(--muted); font-weight: 600; }
.ping-bar { height: 6px; border-radius: 3px; background: var(--tint-2); overflow: hidden; }
.ping-bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--accent), #7CF0DC); transition: width .9s cubic-bezier(.2, .8, .2, 1); }
.ping-q { margin: 0; font-size: 13px; color: var(--fg-2); min-height: 1.4em; }
.ping-q b { color: var(--accent); }
.ping-card.busy .ping-val b { opacity: .45; }
.ping-card.busy::after { content: ""; position: absolute; inset: 0 auto 0 -40%; width: 40%; background: linear-gradient(90deg, transparent, var(--tint-2), transparent); animation: ping-scan 1.1s linear infinite; }
.ping-card.off .ping-val span { font-size: 15px; }
@keyframes ping-scan { to { left: 110%; } }
.net-foot { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.net-foot small { color: var(--muted); font-size: 12.5px; max-width: 420px; }
.net-foot .btn svg { width: 16px; height: 16px; }
.net-foot .btn.spin svg { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 1080px) { .net-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; } .net-globe { justify-self: center; max-width: 380px; order: 2; } }

/* Scroll progress + section rule */
.scroll-bar { position: fixed; inset: 0 0 auto; height: 2px; z-index: 60; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, var(--accent), #7CF0DC); pointer-events: none; }
.anim .head h2 { position: relative; }
.tilt { transform-style: preserve-3d; transition: transform .35s cubic-bezier(.2, .8, .2, 1); }
.btn-sm { padding: 9px 16px; font-size: 14px; gap: 8px; }
.r3-cap:first-of-type .r3-fr, .r3-cap .r3-fr { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), inset 0 -2px 0 rgba(var(--accent-rgb), .55), 0 0 22px -6px rgba(var(--accent-rgb), .45); }
.r3-fr { border-color: #31426A; }

/* Build your server (VPS / game pages) */
.fd-box { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 0; margin-top: 8px; border: 1px solid var(--border); border-radius: 22px; overflow: hidden;
  background: linear-gradient(180deg, var(--s-raise), var(--s-deep)); box-shadow: 0 40px 80px -50px var(--shadow); }
.fd-controls { display: grid; gap: 26px; padding: 30px 32px; align-content: start; }
.fd-ctl { display: grid; gap: 12px; }
.fd-lbl { display: flex; justify-content: space-between; align-items: baseline; font-weight: 600; font-size: 14px; color: var(--fg-2); }
.fd-lbl output { font: 700 20px/1 var(--font); color: var(--fg); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.fd-seg { display: inline-flex; gap: 4px; padding: 4px; border: 1px solid var(--border); border-radius: 12px; background: var(--s-inset); justify-self: start; }
.fd-seg button { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border: 0; border-radius: 9px; background: none; color: var(--muted); font: 600 14px var(--font); cursor: pointer; }
.fd-seg button[aria-checked="true"] { background: var(--accent); color: var(--accent-ink); }
.fd-seg img { border-radius: 2px; }
.finder input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 4px; cursor: pointer;
  background: linear-gradient(90deg, var(--accent) var(--fill, 0%), var(--tint-2) var(--fill, 0%)); }
.finder input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: var(--fg); border: 5px solid var(--accent); box-shadow: 0 0 0 6px rgba(var(--accent-rgb), .15), 0 4px 12px rgba(0, 0, 0, .4); }
.finder input[type=range]::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: var(--fg); border: 5px solid var(--accent); box-shadow: 0 0 0 6px rgba(var(--accent-rgb), .15); }
.finder select { width: 100%; padding: 12px 14px; border: 1px solid var(--border-strong); border-radius: 12px; background: var(--s-inset); color: var(--fg); font: 500 15px var(--font); }
.fd-need { margin: 0; color: var(--muted); font-size: 14px; } .fd-need b { color: var(--accent); }
.fd-res { display: grid; gap: 16px; align-content: start; padding: 30px 32px; border-left: 1px solid var(--border);
  background: radial-gradient(420px 220px at 100% 0%, rgba(var(--accent-rgb), .14), transparent 70%); }
.fd-best { justify-self: start; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); background: rgba(var(--accent-rgb), .12); border: 1px solid rgba(var(--accent-rgb), .35); }
.fd-name { display: flex; align-items: center; gap: 10px; } .fd-name img { border-radius: 3px; }
.fd-name h3 { font-size: 28px; letter-spacing: -.03em; }
.fd-specs { display: grid; gap: 10px; }
.fd-spec { display: grid; gap: 6px; font-size: 14px; color: var(--fg-2); }
.fd-spec i { height: 5px; border-radius: 3px; background: var(--tint-2); overflow: hidden; }
.fd-spec b { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--accent), #7CF0DC); transition: width .6s cubic-bezier(.2, .8, .2, 1); }
.fd-price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.fd-price b { font: 800 44px/1 var(--font); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.fd-price span { color: var(--muted); font-weight: 600; } .fd-price s { color: var(--muted); }
.fd-res .btn { justify-self: start; }
.fd-more, .fd-none { margin: 0; font-size: 14px; color: var(--muted); } .fd-more a, .fd-none a { color: var(--accent); font-weight: 600; text-decoration: none; }
.fd-res.empty .fd-price, .fd-res.empty .fd-name { opacity: .4; }
.fd-compare { margin-top: 18px; border: 1px solid var(--border); border-radius: 16px; background: var(--s-raise); }
.fd-compare summary { padding: 16px 20px; cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; }
.fd-compare summary::after { content: "+"; color: var(--accent); font-size: 20px; line-height: 1; }
.fd-compare[open] summary::after { content: "−"; }
.fd-compare .table-scroll { overflow-x: auto; }
.fd-compare table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 640px; }
.fd-compare th, .fd-compare td { padding: 11px 16px; text-align: left; border-top: 1px solid var(--border); white-space: nowrap; font-variant-numeric: tabular-nums; }
.fd-compare thead th { color: var(--muted); font-weight: 600; font-size: 12.5px; text-transform: uppercase; letter-spacing: .05em; }
.fd-compare tbody tr { cursor: pointer; transition: background .2s; } .fd-compare tbody tr:hover { background: var(--tint-1); }
.fd-compare tbody tr.on { background: rgba(var(--accent-rgb), .1); box-shadow: inset 3px 0 0 var(--accent); }
.fd-compare td img { vertical-align: -2px; border-radius: 2px; } .fd-compare td s { color: var(--muted); font-size: 12px; }
.plan.fd-pick { border-color: rgba(var(--accent-rgb), .6); box-shadow: 0 0 0 1px rgba(var(--accent-rgb), .5), 0 20px 50px -30px rgba(var(--accent-rgb), .6); }
.plan.fd-flash { animation: fd-flash 1.5s ease; }
@keyframes fd-flash { 0%, 100% { box-shadow: none; } 30% { box-shadow: 0 0 0 4px rgba(var(--accent-rgb), .45); } }
@media (max-width: 860px) { .fd-box { grid-template-columns: minmax(0, 1fr); } .fd-res { border-left: 0; border-top: 1px solid var(--border); } .fd-controls, .fd-res { padding: 24px 20px; } }

/* Game server plans: 10 plans, 5 per row */
.plans.five { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; max-width: none; row-gap: 26px; }
.plans.five .plan { padding: 26px 18px 20px; }
.plans.five .plan-price b { font-size: 34px; }
.plans.five .plan ul { margin: 22px 0 24px; gap: 11px; }
.plans.five .plan li { font-size: 13.5px; gap: 9px; align-items: flex-start; line-height: 1.35; }
.plans.five .plan li svg { width: 16px; height: 16px; margin-top: 1px; }
.plan li.off { opacity: .45; }
@media (max-width: 1240px) { .plans.five { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 860px) { .plans.five { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: none; } }

/* ---------- Home: scroll story with the 3D rack (js/rackstory.js + js/rack3d.js) ---------- */
.rs-gl, .rs-layer { display: none; }
html.rs-on .rs { height: 100vh; height: 100svh; overflow: clip; }
html.rs-on .rs-pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: grid; align-items: center; }
html.rs-on .rs .wrap { padding-block: 72px 40px; }
html.rs-on .rs-pin > .wrap { width: 100%; }
html.rs-on .rs .hero-grid { grid-template-columns: 1fr; justify-items: start; }
html.rs-on .rs .hero-copy { max-width: 560px; }
html.rs-on .rs .hero-copy { position: relative; z-index: 2; will-change: opacity, transform; }
html.rs-on .rs .r3 { display: none; }
html.rs-on .rs-gl { display: block; position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1.2s ease; }
html.rs-on .rs.rs-ready .rs-gl { opacity: 1; }
html.rs-on .rs-pin::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, var(--bg) 0%, rgba(0,0,0,0) 46%), linear-gradient(0deg, var(--bg) 0%, rgba(0,0,0,0) 22%); opacity: .9; }
html.rs-on .rs-layer { display: block; position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.rs-steps { position: relative; height: 100%; }
.rs-step { position: absolute; top: 50%; left: max(20px, calc((100vw - var(--wrap)) / 2 + 20px)); width: min(440px, 42vw); margin-top: -90px; opacity: 0; visibility: hidden; will-change: opacity, transform; }
.rs-step .rs-n { display: inline-block; font-family: var(--mono); font-size: 13px; letter-spacing: .12em; color: var(--accent); margin-bottom: 14px; padding: 4px 10px; border: 1px solid rgba(var(--accent-rgb), .35); border-radius: 999px; background: rgba(var(--accent-rgb), .08); }
.rs-step h2 { font-size: clamp(34px, 4.6vw, 56px); line-height: 1.04; letter-spacing: -0.04em; }
.rs-step p { margin-top: 16px; color: var(--fg-2); font-size: clamp(16px, 1.6vw, 19px); line-height: 1.6; }
.rs-final { position: absolute; left: 0; right: 0; margin-inline: auto; bottom: 7vh; width: min(720px, calc(100vw - 40px)); text-align: center; opacity: 0; visibility: hidden; }
.rs-final h2 { font-size: clamp(36px, 5.4vw, 64px); line-height: 1.02; letter-spacing: -0.045em; }
.rs-final p { margin-top: 14px; color: var(--fg-2); font-size: 18px; }
.rs-final .hero-actions { justify-content: center; margin-top: 26px; }
.rs-label { position: absolute; left: 0; top: 0; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; white-space: nowrap;
  background: var(--chip-bg, rgba(15, 23, 41, .72)); border: 1px solid var(--border); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); opacity: 0; will-change: transform, opacity; }
.rs-rail { position: absolute; right: max(18px, env(safe-area-inset-right, 0px)); top: 50%; transform: translateY(-50%); display: grid; gap: 12px; }
.rs-rail i { width: 6px; height: 22px; border-radius: 4px; background: var(--border-strong); transition: background .3s, height .3s; }
.rs-rail i.done { background: rgba(var(--accent-rgb), .45); }
.rs-rail i.on { background: var(--accent); height: 34px; }
.rs-hint { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); display: grid; justify-items: center; gap: 10px; color: var(--muted); font-size: 13px; }
.rs-hint b { width: 1px; height: 38px; background: linear-gradient(var(--accent), transparent); animation: rs-hint 1.8s ease-in-out infinite; transform-origin: top; }
@keyframes rs-hint { 0% { transform: scaleY(0); opacity: 1; } 70% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }
html.rs-on .rs .rs-final, html.rs-on .rs .rs-final * { pointer-events: inherit; }
@media (max-width: 860px) {
  html.rs-on .rs .wrap { padding-block: 84px 0; align-self: start; }
  html.rs-on .rs-pin::before { background: linear-gradient(180deg, var(--bg) 0%, rgba(0,0,0,0) 38%), linear-gradient(0deg, var(--bg) 0%, rgba(0,0,0,0) 45%); }
  .rs-step { top: auto; bottom: 10vh; margin-top: 0; left: 20px; right: 20px; width: auto; }
  .rs-step h2 { font-size: 32px; }
  .rs-step p { font-size: 16px; }
  .rs-final { bottom: 8vh; }
  .rs-rail { display: none; }
}
/* No WebGL, reduced motion, data saver: the steps become a list under the hero */
.rs.rs-static .rs-layer { display: block; }
.rs.rs-static .rs-final, .rs.rs-static .rs-label, .rs.rs-static .rs-rail, .rs.rs-static .rs-hint { display: none; }
.rs.rs-static .rs-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; padding-bottom: 72px; }
.rs.rs-static .rs-step { position: static; opacity: 1; visibility: visible; width: auto; margin: 0; padding: 22px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--card); }
.rs.rs-static .rs-step h2 { font-size: 22px; }
.rs.rs-static .rs-step p { font-size: 15px; margin-top: 8px; }

/* ============ Home v9 (below the 3D hero) ============ */
.h9-head { display: grid; gap: 14px; max-width: 760px; margin-bottom: 48px; }
.h9-head h2, .h9-ddos h2, .h9-sp h2, .h9-faqside h2 { font-size: clamp(30px, 4.2vw, 46px); line-height: 1.06; letter-spacing: -.035em; }
.h9-head p, .h9-copy > p, .h9-sp > p, .h9-faqside p { color: var(--muted); font-size: 17px; max-width: 620px; }
.h9-head .eyebrow, .h9-copy .eyebrow, .h9-sp .eyebrow { color: var(--accent); margin: 0; }
.h9-card { position: relative; border: 1px solid var(--border); border-radius: 22px; background: linear-gradient(180deg, var(--card), var(--bg-soft)); overflow: hidden; }
.h9-tag { display: inline-block; font: 600 12px/1 var(--mono); letter-spacing: .04em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.h9-card h3 { font-size: 24px; line-height: 1.15; letter-spacing: -.025em; margin-bottom: 10px; }
.h9-card .h9-copy > p { font-size: 15.5px; }
.h9-li { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 10px; color: var(--fg-2); font-size: 15px; }
.h9-li li { display: flex; gap: 10px; align-items: flex-start; }
.h9-li svg { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--accent); }
.h9-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 20px; margin-top: auto; border-top: 1px solid var(--border); }
.h9-from { color: var(--muted); font-size: 14px; }
.h9-from b { color: var(--fg); font-size: 20px; letter-spacing: -.02em; }

/* bento */
.h9-bento { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.h9-bento .h9-card { display: flex; flex-direction: column; gap: 24px; padding: 32px; }
.h9-vps { grid-column: 1 / -1; display: grid !important; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: stretch; gap: 40px !important; }
.h9-vps .h9-copy { display: flex; flex-direction: column; }
.h9-vps .h9-foot { margin-top: 28px; }

/* terminal / console mockups (always dark) */
.h9-term, .h9-con { border-radius: 14px; background: #070b13; border: 1px solid #1c2638; box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .7), 0 0 0 1px rgba(var(--accent-rgb), .04); color: #c9d4e5; overflow: hidden; }
.h9-term pre, .h9-con pre { margin: 0; padding: 18px 20px; font: 13px/1.75 var(--mono); white-space: pre; overflow: hidden; }
.h9-term-bar { display: flex; align-items: center; gap: 7px; padding: 12px 14px; border-bottom: 1px solid #1c2638; background: #0b111c; }
.h9-term-bar i { width: 11px; height: 11px; border-radius: 50%; background: #263247; }
.h9-term-bar span { margin-left: 10px; font: 12px var(--mono); color: #6b7a93; }
.c-a { color: var(--accent); } .c-b { color: #7aa2f7; } .c-m { color: #5c6b84; }
.h9-caret { display: inline-block; width: 8px; height: 15px; vertical-align: -2px; background: var(--accent); animation: h9blink 1.1s steps(2) infinite; }
@keyframes h9blink { 50% { opacity: 0; } }
.h9-con-head { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid #1c2638; background: #0b111c; font-size: 14px; }
.h9-con-head b { color: #e6edf7; }
.h9-dot { width: 8px; height: 8px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 4px rgba(52, 211, 153, .15); }
.h9-con-pl { margin-left: auto; color: #6b7a93; font-size: 13px; } .h9-con-pl b { color: #e6edf7; }
.h9-con-bars { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 14px 18px 0; }
.h9-con-bars div { display: grid; gap: 6px; font: 11px var(--mono); color: #6b7a93; }
.h9-con-bars i { display: block; height: 4px; border-radius: 4px; background: #1c2638; position: relative; overflow: hidden; }
.h9-con-bars i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); background: var(--accent); border-radius: 4px; }
.h9-con pre { font-size: 12.5px; padding-top: 12px; }

/* dedicated configuration */
.h9-cfg { border: 1px solid var(--border); border-radius: 14px; background: var(--bg); padding: 6px 18px 14px; }
.h9-cfg ol { list-style: none; margin: 0; padding: 0; counter-reset: c; }
.h9-cfg li { counter-increment: c; display: flex; align-items: center; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--border); font-size: 14.5px; }
.h9-cfg li::before { content: counter(c); display: grid; place-items: center; width: 22px; height: 22px; border-radius: 7px; background: rgba(var(--accent-rgb), .12); color: var(--accent); font: 600 12px var(--mono); }
.h9-cfg li span { color: var(--muted); width: 64px; }
.h9-cfg li b { margin-left: auto; font-weight: 600; }
.h9-cfg small { display: block; margin-top: 12px; color: var(--muted); font-size: 12px; }

.h9-mores { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.h9-more { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; padding: 20px 24px; border: 1px solid var(--border); border-radius: 16px; text-decoration: none; transition: border-color .15s ease, background .15s ease; }
.h9-more:hover { border-color: var(--border-hover); background: var(--card); }
.h9-more span { color: var(--muted); font-size: 14.5px; }
.h9-more svg { width: 18px; height: 18px; color: var(--accent); }

/* DDoS */
.h9-split { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 64px; align-items: center; }
.h9-ddos .h9-copy { display: grid; gap: 18px; justify-items: start; }
.h9-ddos .h9-li { margin: 0; }
.h9-chart { position: relative; margin: 0; padding: 28px 24px 18px; border: 1px solid var(--border); border-radius: 22px; background: linear-gradient(180deg, var(--card), var(--bg-soft)); }
.h9-chart svg { display: block; width: 100%; height: 260px; overflow: visible; }
.h9-grid line { stroke: var(--border); stroke-width: 1; stroke-dasharray: 3 5; vector-effect: non-scaling-stroke; }
.h9-spike { fill: none; stroke: #f87171; stroke-width: 2; vector-effect: non-scaling-stroke; }
.h9-spike-a { fill: url(#h9g); }
.h9-clean { fill: none; stroke: var(--accent); stroke-width: 2.5; vector-effect: non-scaling-stroke; filter: drop-shadow(0 0 6px rgba(var(--accent-rgb), .6)); }
.h9-badge { position: absolute; transform: translateX(-50%); padding: 6px 10px; border-radius: 999px; font: 600 12px var(--mono); color: #fecaca; background: rgba(248, 113, 113, .12); border: 1px solid rgba(248, 113, 113, .35); white-space: nowrap; }
.h9-chart figcaption { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 16px; font-size: 13px; color: var(--muted); }
.h9-chart figcaption span { display: inline-flex; align-items: center; gap: 8px; }
.h9-chart figcaption i { width: 14px; height: 3px; border-radius: 3px; }
.k-in { background: #f87171; } .k-out { background: var(--accent); }
.h9-chart figcaption em { margin-left: auto; font-style: normal; font-size: 12px; opacity: .7; }
:root[data-theme="light"] .h9-badge { color: #b91c1c; }

/* support + payments */
.h9-two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.h9-sp, .h9-pay { padding: 40px; }
.h9-sp { display: grid; gap: 16px; align-content: start; background: radial-gradient(600px 300px at 0% 0%, rgba(var(--accent-rgb), .12), transparent 70%), linear-gradient(180deg, var(--card), var(--bg-soft)); }
.h9-spstats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 12px; padding-block: 20px; border-block: 1px solid var(--border); }
.h9-spstats b { display: block; font-size: 40px; letter-spacing: -.04em; line-height: 1.05; }
.h9-spstats span { color: var(--muted); font-size: 14px; }
.h9-spcta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 8px; }
.h9-spcta span { color: var(--muted); font-size: 14px; } .h9-spcta span a { color: var(--fg); }
.h9-pay h3 { font-size: 24px; margin-bottom: 8px; } .h9-pay > p { color: var(--muted); font-size: 15px; }
.h9-pay ul { list-style: none; margin: 24px 0 0; padding: 0; }
.h9-pay li { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 0; border-top: 1px solid var(--border); }
.h9-pay li b { display: block; font-size: 15.5px; } .h9-pay li span { color: var(--muted); font-size: 13.5px; }
.h9-logos { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.h9-logos img { width: 40px; height: 26px; border-radius: 5px; }

/* FAQ */
.h9-faqgrid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; align-items: start; }
.h9-faqside { position: sticky; top: 110px; display: grid; gap: 16px; justify-items: start; }
.h9-faqgrid .faq { max-width: none; margin: 0; }

/* rhythm: sections separated by a hairline instead of big empty gaps */
.h9-products, .h9-ddos, .h9-help, .h9-faq { padding-block: 104px; border-top: 1px solid var(--border); }
.h9-faq + .section.tight { padding-top: 0; }
body:has(.h9-products) .site-footer { margin-top: 0; }
body:has(.h9-products) .support-band { display: none; }
.h9-faq + .section.tight { padding-bottom: 96px; }

@media (max-width: 900px) {
  .h9-vps, .h9-split, .h9-two, .h9-faqgrid { grid-template-columns: 1fr !important; gap: 28px !important; }
  .h9-bento, .h9-mores { grid-template-columns: 1fr; }
  .h9-faqside { position: static; }
  .h9-products, .h9-ddos, .h9-help, .h9-faq { padding-block: 72px; }
}
@media (max-width: 520px) {
  .h9-bento .h9-card, .h9-sp, .h9-pay { padding: 22px; }
  .h9-term pre, .h9-con pre { font-size: 11px; padding: 14px; }
  .h9-pay li { flex-direction: column; align-items: flex-start; }
  .h9-logos { justify-content: flex-start; }
  .h9-chart svg { height: 200px; }
  .h9-more { grid-template-columns: 1fr auto; } .h9-more span { grid-column: 1; grid-row: 2; }
}
@media (prefers-reduced-motion: reduce) { .h9-caret { animation: none; } }

/* ============ Page hero with a 3D render ============ */
.page-hero.has-visual .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .82fr); column-gap: 48px; align-items: center; }
.page-hero.has-visual .facts { grid-column: 1 / -1; }
.ph-visual { position: relative; margin: 0; justify-self: end; width: 100%; max-width: 520px; }
.ph-visual img { display: block; width: 100%; height: auto; }
.ph-visual.free::before { content: ""; position: absolute; inset: 8% 6% 4%; z-index: -1; background: radial-gradient(closest-side, rgba(var(--accent-rgb), .22), transparent 75%); filter: blur(20px); }
.ph-visual.free img { max-height: 460px; object-fit: contain; filter: drop-shadow(0 40px 50px rgba(0, 0, 0, .55)); }
.ph-visual.card { border: 1px solid var(--border); border-radius: 22px; overflow: hidden; background: radial-gradient(120% 90% at 70% 20%, #172238, #070b13 70%); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .7); aspect-ratio: 4 / 3; }
.ph-visual.card img { height: 100%; object-fit: cover; }
.ph-visual.card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05); background: linear-gradient(180deg, transparent 60%, rgba(7, 11, 19, .55)); pointer-events: none; }
.page-hero.has-visual .ph-visual { animation: phIn .9s cubic-bezier(.2, .7, .2, 1) both .1s; }
@keyframes phIn { from { opacity: 0; transform: translateY(18px) scale(.98); } to { opacity: 1; transform: none; } }
@media (max-width: 900px) {
  .page-hero.has-visual .wrap { grid-template-columns: 1fr; }
  .ph-visual { justify-self: center; max-width: 420px; margin-top: 36px; }
  .ph-visual.free img { max-height: 300px; }
}
@media (prefers-reduced-motion: reduce) { .page-hero.has-visual .ph-visual { animation: none; } }

/* hero film controls */
.rs-hint { display: none; }
.rs-ctl { position: absolute; left: 50%; bottom: 24px; z-index: 3; transform: translateX(-50%); display: flex; align-items: center; gap: 14px; }
html:not(.rs-on) .rs-ctl, .rs-static .rs-ctl { display: none; }
.rs-bar { position: relative; width: 120px; height: 2px; border-radius: 2px; background: var(--border-strong); overflow: hidden; }
.rs-bar i { position: absolute; inset: 0; background: var(--accent); transform-origin: left; transform: scaleX(0); }
.rs-btn { min-height: 32px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--border-strong); background: color-mix(in srgb, var(--bg) 70%, transparent); color: var(--fg-2); font: 600 13px/1 var(--font); cursor: pointer; backdrop-filter: blur(8px); }
.rs-btn:hover { color: var(--fg); border-color: var(--border-hover); }
.rs-btn[hidden] { display: none; }

/* Partner strip: same size, quiet until hover, name under the logo */
.ps-logos { gap: 36px !important; }
.ps-logos a { display: grid; justify-items: center; gap: 10px; text-decoration: none; }
.ps-logos img { width: 56px; height: 56px; border-radius: 14px; object-fit: cover; filter: grayscale(1) brightness(1.15) opacity(.7); transition: filter .25s ease, transform .25s ease; box-shadow: 0 0 0 1px var(--border); }
.ps-logos a:hover img, .ps-logos a:focus-visible img { filter: none; transform: translateY(-2px); }
.ps-logos a::after { content: attr(title); font-size: 12.5px; font-weight: 500; color: var(--muted); transition: color .2s; }
.ps-logos a:hover::after { color: var(--fg); }
.ps-logos a, .ps-logos a:hover { transform: none; filter: none; }

/* ============ v11: premium motion ============ */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.h9-card::after, .h9-more::after, .h9-chart::after, .ping-card::after, .pay-card::after, .fact::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s ease;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(var(--accent-rgb), .08), transparent 60%);
}
.h9-card:hover::after, .h9-more:hover::after, .h9-chart:hover::after, .ping-card:hover::after, .pay-card:hover::after, .fact:hover::after { opacity: 1; }
.h9-more, .ping-card, .pay-card, .fact { position: relative; }

/* film captions: words rise one after the other */
.rw { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.rw > span { display: inline-block; transform: translateY(105%); transition: transform .8s cubic-bezier(.16, .84, .24, 1); transition-delay: calc(var(--i) * 35ms); }
.is-on .rw > span { transform: none; }
.rs-step p .rw > span { transition-duration: .6s; transition-delay: calc(180ms + var(--i) * 14ms); }

/* film look: vignette and a little grain over the 3D */
html.rs-on .rs-pin::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(120% 90% at 60% 45%, transparent 55%, rgba(0, 0, 0, .45) 100%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: normal; }
:root[data-theme="light"] html.rs-on .rs-pin::after, :root[data-theme="light"].rs-on .rs-pin::after { background: none; }
@media (prefers-reduced-motion: reduce) { .rw > span { transform: none; transition: none; } }
