/* ==========================================================================
   Tube-Hosting — Design System 2026
   Dark-first, single blue accent, Space Grotesk display + Inter body.
   Radius rule: buttons = pill, cards = 16px, inputs = 10px.
   ========================================================================== */

/* ---------- Fonts (self-hosted, GDPR-safe) ---------- */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("../fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("../fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/space-grotesk-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/space-grotesk-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokens ---------- */
:root {
  --font-display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;

  /* dark theme */
  --bg0: #101724;
  --bg1: #151d2d;
  --surface: #1a2334;
  --surface-hi: #202b40;
  --card-bg: rgba(255, 255, 255, 0.045);
  --card-bg-hover: rgba(255, 255, 255, 0.07);
  --line: rgba(255, 255, 255, 0.11);
  --line-soft: rgba(255, 255, 255, 0.07);
  --text-hi: #f4f7fb;
  --text: #c2cbd9;
  --text-soft: #8e99ab;
  --accent: #2563eb;
  --accent-hi: #5b9dff;
  --accent-soft: rgba(37, 99, 235, 0.12);
  --accent-line: rgba(37, 99, 235, 0.35);
  --cyan: #06b6d4;
  --green: #28c76f;
  --red: #ff5c5c;
  --amber: #ff9f43;
  --nav-bg: rgba(16, 23, 36, 0.82);
  --shadow-card: 0 24px 48px -24px rgba(0, 0, 0, 0.45);
  --glow: radial-gradient(closest-side, rgba(37, 99, 235, 0.16), transparent);
  --grid-line: rgba(255, 255, 255, 0.035);

  --r-card: 16px;
  --r-input: 10px;
  --container: 1180px;
  --nav-h: 68px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

:root[data-theme="light"] {
  --bg0: #f6f8fc;
  --bg1: #eef2f9;
  --surface: #ffffff;
  --surface-hi: #ffffff;
  --card-bg: #ffffff;
  --card-bg-hover: #ffffff;
  --line: #dfe6f0;
  --line-soft: #e8edf5;
  --text-hi: #0c1322;
  --text: #3c4a5c;
  --text-soft: #64708a;
  --accent: #2563eb;
  --accent-hi: #1d55d0;
  --accent-soft: rgba(37, 99, 235, 0.08);
  --accent-line: rgba(37, 99, 235, 0.3);
  --nav-bg: rgba(246, 248, 252, 0.82);
  --shadow-card: 0 20px 40px -24px rgba(23, 43, 99, 0.18);
  --glow: radial-gradient(closest-side, rgba(37, 99, 235, 0.08), transparent);
  --grid-line: rgba(12, 19, 34, 0.045);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg0);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* text stays selectable; images and graphics do not (no select, no drag-to-save).
   svg * is needed too: WebKit only honors it directly on the <text> elements */
img, svg, svg *, picture, video, canvas {
  -webkit-user-select: none;
  user-select: none;
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
}
svg ::selection, svg::selection { background: transparent; }
img { max-width: 100%; display: inline-block; vertical-align: middle; }
a { color: var(--accent-hi); text-decoration: none; }
a:hover { color: var(--text-hi); }
h1, h2, h3, h4 { color: var(--text-hi); font-family: var(--font-display); margin: 0 0 0.5em; line-height: 1.12; letter-spacing: -0.02em; }
p { margin: 0 0 1em; }
::selection { background: rgba(37, 99, 235, 0.4); color: #fff; }
:focus-visible { outline: 2px solid var(--accent-hi); outline-offset: 2px; border-radius: 4px; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.is-hidden { display: none !important; }

/* language visibility (legal pages hold DE + EN in the same DOM) */
.lang-de, .lang-en { display: none; }
html[data-lang="de"] .lang-de { display: block; }
html[data-lang="en"] .lang-en { display: block; }

/* icons */
.icon { width: 1.15em; height: 1.15em; stroke: currentColor; stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; flex: none; vertical-align: -0.18em; }

/* ---------- Buttons (pill) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.72rem 1.5rem; border-radius: 999px;
  font: 600 0.95rem/1 var(--font-body);
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform 0.18s var(--ease), background 0.18s var(--ease), border-color 0.18s var(--ease), color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.btn:active { transform: scale(0.97); }
.btn .icon { width: 1em; height: 1em; transition: transform 0.18s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 8px 24px -10px rgba(37, 99, 235, 0.55); }
.btn-primary:hover { background: #2f6ff2; color: #fff; transform: translateY(-1px); }
:root[data-theme="light"] .btn-primary:hover { background: #1d55d0; }
.btn-ghost { background: transparent; color: var(--text-hi); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--accent-line); color: var(--text-hi); background: var(--accent-soft); transform: translateY(-1px); }
.btn-lg { padding: 0.9rem 1.9rem; font-size: 1.02rem; }
.btn-sm { padding: 0.5rem 1.05rem; font-size: 0.85rem; }

html.nav-locked, html.nav-locked body { overflow: hidden; }

/* ---------- Navbar ---------- */
/* labels differ per language (Preise/Pricing, Anmelden/Login):
   reserve the wider variant so nothing shifts on language switch */
.navbar {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--nav-h);
  display: flex; align-items: center;
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease;
}
/* The blurred bar background lives on a pseudo element so the navbar itself
   never carries a backdrop-filter: that would make it the containing block of
   the fixed fullscreen menu (wrong geometry -> janky open animation). */
.navbar::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--nav-bg);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  backdrop-filter: blur(14px) saturate(160%);
  opacity: 0; transition: opacity 0.25s ease, background 0.25s ease;
}
.navbar.is-scrolled { border-bottom-color: var(--line-soft); }
.navbar.is-scrolled::before { opacity: 1; }
.navbar.is-open { border-bottom-color: var(--line-soft); }
.navbar.is-open::before {
  opacity: 1; background: var(--bg0);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.navbar__inner { display: flex; align-items: center; gap: 1rem; width: 100%; }
@media (min-width: 1024px) {
  .navbar__item > .navbar__link { justify-content: center; }
  .navbar__item[data-nav="pricing"] > .navbar__link { min-width: 98px; }
  .navbar__item[data-nav="support"] > .navbar__link { min-width: 104px; }
  .navbar__item[data-nav="about"] > .navbar__link { min-width: 114px; }
  .navbar__controls > .btn { min-width: 112px; }
}
.navbar button, .navbar a { -webkit-tap-highlight-color: transparent; }
.navbar__brand { display: flex; align-items: center; flex: none; }
.navbar__brand img { height: 30px; width: auto; }
:root[data-theme="light"] .navbar__brand img { filter: invert(1) hue-rotate(180deg) saturate(1.6); }
.navbar__menu { display: flex; align-items: center; gap: 0.25rem; margin-left: auto; }
.navbar__link {
  display: inline-flex; align-items: center; gap: 0.35rem;
  padding: 0.55rem 0.9rem; border-radius: 999px;
  color: var(--text); font-size: 0.94rem; font-weight: 500;
  background: none; border: 0; cursor: pointer; font-family: var(--font-body);
  transition: color 0.15s ease, background 0.15s ease;
}
.navbar__item.is-active > .navbar__link { color: var(--text-hi); background: var(--card-bg-hover); }
@media (hover: hover) { .navbar__link:hover { color: var(--text-hi); background: var(--card-bg-hover); } }
:root[data-theme="light"] .navbar__item.is-active > .navbar__link { background: var(--accent-soft); }
@media (hover: hover) { :root[data-theme="light"] .navbar__link:hover { background: var(--accent-soft); } }
.navbar__link .icon { width: 0.85em; height: 0.85em; opacity: 0.6; transition: transform 0.2s var(--ease); }
.navbar__item { position: relative; }
.navbar__item.is-dd-open > .navbar__link .icon { transform: rotate(180deg); }

.navbar__dd {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translate(-50%, 8px);
  min-width: 240px; padding: 0.5rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card);
  box-shadow: var(--shadow-card);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.18s var(--ease), transform 0.18s var(--ease), visibility 0.18s;
}
.navbar__item.is-dd-open .navbar__dd { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0); }
/* pop-out when an entry of the open dropdown is clicked */
@media (min-width: 1024px) {
  .navbar__item.is-dd-closing .navbar__dd {
    opacity: 1; visibility: visible; pointer-events: none;
    transform-origin: 50% 0;
    animation: dd-pop-out 0.3s var(--ease) forwards;
    transition: none;
  }
}
@keyframes dd-pop-out {
  0% { opacity: 1; transform: translate(-50%, 0) scale(1); }
  100% { opacity: 0; transform: translate(-50%, -12px) scale(0.92); }
}
@media (prefers-reduced-motion: reduce) {
  .navbar__item.is-dd-closing .navbar__dd { animation: none; opacity: 0; visibility: hidden; }
}
/* invisible bridge over the 10px gap so hover isn't lost on the way down */
.navbar__dd::before { content: ""; position: absolute; left: -12px; right: -12px; top: -14px; height: 14px; }
.navbar__dd-label { display: block; padding: 0.55rem 0.75rem 0.25rem; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-soft); }
.navbar__dd-link {
  display: flex; align-items: center; gap: 0.65rem;
  padding: 0.55rem 0.75rem; border-radius: 10px;
  color: var(--text); font-size: 0.92rem; font-weight: 500;
  transition: background 0.14s ease, color 0.14s ease;
}
.navbar__dd-link:hover { background: var(--accent-soft); color: var(--text-hi); }
.navbar__dd-link.is-active { background: var(--accent-soft); color: var(--text-hi); font-weight: 600; }
.navbar__dd-link .icon { width: 1em; height: 1em; color: var(--accent-hi); }
.navbar__dd hr { border: 0; border-top: 1px solid var(--line-soft); margin: 0.4rem 0.5rem; }

.navbar__controls { display: flex; align-items: center; gap: 0.5rem; margin-left: 0.5rem; }
.lang-switch { position: relative; display: flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.lang-switch::before { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 50%; background: var(--accent); transition: transform 0.28s var(--ease); }
.lang-switch.is-de::before { transform: translateX(100%); }
.lang-switch__btn {
  position: relative; flex: 1 1 0; text-align: center;
  padding: 0.35rem 0.7rem; background: none; border: 0; cursor: pointer;
  font: 700 0.75rem/1 var(--font-body); letter-spacing: 0.04em; color: var(--text-soft);
  transition: color 0.2s ease;
}
.lang-switch__btn.is-active { color: #fff; }
.lang-switch__btn:not(.is-active):hover { color: var(--text-hi); }
.theme-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 999px;
  background: none; border: 1px solid var(--line); color: var(--text); cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}
.theme-toggle:hover { border-color: var(--accent-line); color: var(--text-hi); transform: rotate(15deg); }
.theme-toggle--bar, .lang-switch--bar { display: none; }
.theme-toggle .icon { width: 16px; height: 16px; }
:root:not([data-theme="light"]) .theme-icon-moon { display: none; }
:root[data-theme="light"] .theme-icon-sun { display: none; }

.navbar__burger {
  display: none; width: 40px; height: 40px; margin-left: auto;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  background: none; border: 0; cursor: pointer;
}
.navbar__burger span { width: 20px; height: 2px; background: var(--text-hi); border-radius: 2px; transition: transform 0.32s var(--ease), opacity 0.2s; }
.navbar.is-open .navbar__burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar.is-open .navbar__burger span:nth-child(2) { opacity: 0; transform: scaleX(0.3); }
.navbar.is-open .navbar__burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1023px) {
  .navbar__burger { display: flex; }
  .navbar__menu {
    position: fixed; top: var(--nav-h); left: 0; right: 0; bottom: 0;
    flex-direction: column; align-items: stretch; gap: 0.25rem;
    margin: 0; padding: 1rem 24px 2.5rem;
    background: var(--bg0);
    overflow-y: auto;
    /* stays mounted: fade/slide instead of display toggling (no first-open flash) */
    opacity: 0; visibility: hidden; pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 0.22s ease, transform 0.28s var(--ease), visibility 0s linear 0.28s;
  }
  .navbar.is-open .navbar__menu {
    opacity: 1; visibility: visible; pointer-events: auto; transform: none;
    transition: opacity 0.22s ease, transform 0.28s var(--ease);
  }
  /* staggered entrance of the menu entries */
  .navbar__menu > * { opacity: 0; transform: translateY(18px); transition: opacity 0.26s ease, transform 0.34s var(--ease); }
  .navbar.is-open .navbar__menu > * { opacity: 1; transform: none; }
  .navbar.is-open .navbar__menu > *:nth-child(1) { transition-delay: 0.06s; }
  .navbar.is-open .navbar__menu > *:nth-child(2) { transition-delay: 0.1s; }
  .navbar.is-open .navbar__menu > *:nth-child(3) { transition-delay: 0.14s; }
  .navbar.is-open .navbar__menu > *:nth-child(4) { transition-delay: 0.18s; }
  .navbar.is-open .navbar__menu > *:nth-child(5) { transition-delay: 0.22s; }
  .navbar.is-open .navbar__menu > *:nth-child(6) { transition-delay: 0.26s; }
  @media (prefers-reduced-motion: reduce) {
    .navbar__menu, .navbar__menu > * { transition: none; transform: none; }
  }
  .navbar__link { width: 100%; justify-content: space-between; padding: 0.85rem 0.75rem; font-size: 1.05rem; }
  .navbar__inner { gap: 0.4rem; }
  .navbar__brand img { height: 24px; }
  .lang-switch--bar { display: flex; margin-left: auto; }
  .lang-switch--bar .lang-switch__btn { padding: 0.32rem 0.5rem; }
  .theme-toggle--bar { display: inline-flex; width: 32px; height: 32px; flex: none; }
  .navbar__burger { margin-left: 0; width: 36px; flex: none; }
  .navbar__controls .lang-switch, .navbar__controls .theme-toggle { display: none; }
  .navbar__menu { top: calc(var(--nav-h) - 1px); border-top: 1px solid var(--line-soft); overscroll-behavior: contain; }
  .navbar__dd {
    position: static; min-width: 0; box-shadow: none;
    border: 0; border-left: 1px solid var(--line); border-radius: 0;
    background: none; padding: 0 0 0 0.75rem; margin-left: 0.75rem;
    display: block; visibility: visible; pointer-events: auto;
    overflow: hidden; max-height: 0; opacity: 0; transform: translateY(-6px);
    transition: max-height 0.34s var(--ease), opacity 0.24s ease, transform 0.3s var(--ease), padding-bottom 0.3s var(--ease), margin-top 0.3s var(--ease);
  }
  .navbar__item.is-dd-open .navbar__dd { max-height: 520px; opacity: 1; transform: none; padding-bottom: 0.5rem; margin-top: 0.3rem; }
  /* only the concrete entry carries the selection pill; the group link shows
     its active state via accent color instead */
  .navbar__item.is-active > .navbar__link { background: none; color: var(--accent-hi); }
  :root[data-theme="light"] .navbar__item.is-active > .navbar__link { background: none; color: var(--accent-hi); }
  @media (prefers-reduced-motion: reduce) { .navbar__dd { transition: none; } }
  .navbar__controls { margin: 0.75rem 0 0; justify-content: space-between; }
  .navbar__controls .btn { flex: 1; }
}

.section.stats-section { padding: 4.5rem 0; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: calc(var(--nav-h) + 4.5rem) 0 4.5rem;
  overflow: hidden;
  isolation: isolate;
}
.hero--tall { min-height: min(92dvh, 900px); display: flex; align-items: center; }
.hero--compact { padding: calc(var(--nav-h) + 3rem) 0 2.5rem; }
.hero__bg {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse 85% 65% at 50% -12%, rgba(37, 99, 235, 0.1), transparent 70%);
}
.hero__glow {
  position: absolute; z-index: -1; pointer-events: none;
  width: 720px; height: 560px; border-radius: 50%;
  background: var(--glow); filter: blur(20px);
}
.hero__glow--1 { top: -220px; left: -140px; }
.hero__glow--2 { top: -180px; right: -220px; opacity: 0.7; }

.hero__title {
  font-size: clamp(2.4rem, 5.2vw, 3.9rem);
  font-weight: 600; letter-spacing: -0.03em; line-height: 1.06;
  margin-bottom: 1.1rem;
}
.hero__title .grad {
  background: linear-gradient(92deg, var(--accent-hi), var(--cyan));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__sub { font-size: 1.12rem; color: var(--text); max-width: 620px; margin: 0 0 1.9rem; }
.hero__cta { display: flex; gap: 0.85rem; flex-wrap: wrap; }
.hero--center { text-align: center; }
.hero--center .hero__sub { margin-inline: auto; }
.hero--center .hero__cta { justify-content: center; }

.hero__badges { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-top: 1.9rem; }
.hero--center .hero__badges { justify-content: center; }
.badge-pill {
  display: inline-flex; align-items: center; gap: 0.45rem;
  padding: 0.42rem 0.9rem; border-radius: 999px;
  border: 1px solid var(--line); background: var(--card-bg);
  color: var(--text); font-size: 0.85rem; font-weight: 500;
}
.badge-pill .icon { width: 0.95em; height: 0.95em; color: var(--accent-hi); }

/* Home hero split */
.hero__split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 3.5rem; align-items: center; }
.hero__split > div:first-child { padding-right: 1.25rem; }
/* the rotating word must fit the narrow column without touching the screenshot */
.hero__split .hero__title { font-size: clamp(2.2rem, 4.1vw, 3.25rem); }
@media (max-width: 900px) {
  .hero__split { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero__split > div:first-child { padding-right: 0; }
  .hero--tall { min-height: 0; padding-bottom: 0.5rem; }
  .hero--tall .hero__split { gap: 1rem; }
  .hg-globe3d canvas { width: 88%; }
  /* the globe canvas has inner whitespace around the sphere: pull it in */
  .hero__shot .hg-globe3d { margin: -6% 0 -13%; }
  .section.stats-section { padding: 2.4rem 0; }
  /* keep tinted layers fully inside the page so pinch-zoom shows no hard edge */
  .hero__glow { width: 72vw; height: 56vw; }
  .hero__glow--1 { top: -18vw; left: 6vw; }
  .hero__glow--2 { top: -10vw; right: 6vw; }
  .hero__bg { background: radial-gradient(ellipse 62% 60% at 50% -12%, rgba(37, 99, 235, 0.1), transparent 66%); }
  .hero__shot::before { inset: -6% 2%; }
  .hg::before { inset: -6% 2%; }
}

/* rotating word */
.rotator { display: inline-grid; text-align: left; vertical-align: top; }
.rotator > span {
  grid-area: 1 / 1; white-space: nowrap;
  opacity: 0; transform: translateY(0.55em);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
  background: linear-gradient(92deg, var(--accent-hi), var(--cyan));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.rotator > span.is-visible { opacity: 1; transform: none; }

/* Browser-frame screenshot */
.frame {
  border-radius: var(--r-card);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.frame__bar { display: flex; align-items: center; gap: 6px; padding: 11px 14px; border-bottom: 1px solid var(--line-soft); }
.frame__bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.frame__bar i:first-child { background: rgba(255, 92, 92, 0.7); }
.frame__bar i:nth-child(2) { background: rgba(255, 159, 67, 0.7); }
.frame__bar i:nth-child(3) { background: rgba(40, 199, 111, 0.7); }
.frame img { display: block; width: 100%; height: auto; }
.hero__shot { position: relative; }
.hero__shot::before {
  content: ""; position: absolute; inset: -12% -8%; z-index: -1;
  background: var(--glow); filter: blur(28px);
}
/* Let the hero screenshot break out of the grid to the right so the UI stays readable */
@media (min-width: 901px) {
  .hero__shot .frame { width: 142%; max-width: none; }
}

/* ---------- Hero terminal ---------- */
.term {
  border-radius: var(--r-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #0d1421;
  box-shadow: var(--shadow-card);
  overflow: hidden;
  text-align: left;
}
/* light theme: bright terminal instead of a dark block */
:root[data-theme="light"] .term {
  background: #f8fafd;
  border-color: #dbe3ee;
  box-shadow: 0 24px 48px -26px rgba(23, 43, 99, 0.25);
}
:root[data-theme="light"] .term__bar { background: rgba(12, 19, 34, 0.03); border-bottom-color: #e6ebf3; }
:root[data-theme="light"] .term__bar i { background: rgba(12, 19, 34, 0.12); }
:root[data-theme="light"] .term__bar i:first-child { background: rgba(255, 92, 92, 0.8); }
:root[data-theme="light"] .term__bar i:nth-child(2) { background: rgba(255, 159, 67, 0.8); }
:root[data-theme="light"] .term__bar i:nth-child(3) { background: rgba(40, 199, 111, 0.8); }
:root[data-theme="light"] .term__title { color: rgba(12, 19, 34, 0.45); }
:root[data-theme="light"] .term__body { color: #33405a; }
:root[data-theme="light"] .term__check { color: #1a9e58; }
:root[data-theme="light"] .term__live { color: #157a45; }
:root[data-theme="light"] .term__ps { color: #2563eb; }
:root[data-theme="light"] .term__ps--root { color: #157a45; }
:root[data-theme="light"] .term__cursor { background: #33405a; }
.term__bar {
  display: flex; align-items: center; gap: 6px;
  padding: 11px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.03);
}
.term__bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, 0.12); }
.term__bar i:first-child { background: rgba(255, 92, 92, 0.75); }
.term__bar i:nth-child(2) { background: rgba(255, 159, 67, 0.75); }
.term__bar i:nth-child(3) { background: rgba(40, 199, 111, 0.75); }
.term__title {
  margin-left: 8px;
  font: 500 0.72rem/1 ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  color: rgba(255, 255, 255, 0.4); letter-spacing: 0.03em;
}
.term__body {
  padding: 1.4rem 1.5rem 1.5rem;
  font: 500 0.92rem/1.9 ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  color: #d3dbe7;
  min-height: 330px;
}
.term__line { display: flex; align-items: baseline; gap: 0.6rem; opacity: 0; transform: translateY(4px); transition: opacity 0.3s var(--ease), transform 0.3s var(--ease); }
.term__line.is-on { opacity: 1; transform: none; }
.term__chevron { color: var(--accent-hi); font-weight: 700; }
.term__check { color: var(--green); font-weight: 700; }
.term__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); flex: none; align-self: center; animation: pulse-dot 2s infinite; }
.term__live { color: #8ee6b0; }
.term__cmd { margin-top: 1.1rem; }
.term__ps { color: #7fa7e8; font-weight: 700; }
.term__ps--root { color: #8ee6b0; }
.term__cursor {
  display: inline-block; width: 8px; height: 1.05em;
  background: #d3dbe7; align-self: center;
  animation: term-blink 1.05s steps(1) infinite;
}
@keyframes term-blink { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .term__line { opacity: 1; transform: none; }
  .term__cursor { animation: none; }
}
/* presence in the split hero (mirrors the screenshot breakout, slightly smaller) */
@media (min-width: 901px) {
  .hero__shot .term { width: 116%; max-width: none; }
  .hero__shot .netmap { width: 112%; max-width: none; margin-left: -6%; }
}
@media (max-width: 500px) {
  .term__body { font-size: 0.78rem; min-height: 300px; padding: 1.1rem 1.05rem 1.2rem; }
}

/* theme-dependent screenshots */
img.shot-dark, :root[data-theme="light"] img.shot-light { display: block !important; }
img.shot-light, :root[data-theme="light"] img.shot-dark { display: none !important; }

/* ---------- Sections ---------- */
.section { padding: 6rem 0; position: relative; }
.section--alt { background: var(--bg1); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.section__head { max-width: 640px; margin: 0 auto 3.25rem; text-align: center; }
.section__head--left { margin-inline: 0; text-align: left; }
.section__title { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 600; letter-spacing: -0.025em; margin-bottom: 0.6rem; }
.section__sub { font-size: 1.05rem; color: var(--text-soft); margin: 0; }

/* ---------- Stats band ---------- */
.stats-band { display: grid; grid-template-columns: repeat(4, 1fr); }
.stats-band__item { padding: 0.5rem 2rem; text-align: center; border-left: 1px solid var(--line); }
.stats-band__item:first-child { border-left: 0; }
.stats-band__value {
  font-family: var(--font-display); font-size: clamp(2rem, 4vw, 2.9rem);
  font-weight: 600; letter-spacing: -0.02em; color: var(--text-hi); line-height: 1.1;
}
.stats-band__value .suffix { color: var(--accent-hi); }
.stats-band__label { font-size: 0.9rem; color: var(--text-soft); margin-top: 0.3rem; }
@media (max-width: 800px) {
  .stats-band { grid-template-columns: repeat(2, 1fr); row-gap: 2rem; }
  .stats-band__item:nth-child(3) { border-left: 0; }
}

/* ---------- Bento / feature grids ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; }
.bento > * { grid-column: span 2; }
.bento .span-3 { grid-column: span 3; }
.bento .span-4 { grid-column: span 4; }
.bento .span-6 { grid-column: span 6; }
@media (max-width: 900px) { .bento > *, .bento .span-3, .bento .span-4 { grid-column: span 6; } }

.tile {
  position: relative;
  display: block;
  padding: 1.75rem;
  border-radius: var(--r-card);
  border: 1px solid var(--line);
  background: var(--card-bg);
  color: inherit;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
  overflow: hidden;
}
a.tile:hover, .bento .tile:hover { border-color: var(--accent-line); background: var(--card-bg-hover); transform: translateY(-4px); box-shadow: var(--shadow-card); color: inherit; }
a.tile:hover .tile__icon, .bento .tile:hover .tile__icon { transform: scale(1.14) rotate(-6deg); transition-duration: 0.35s; transition-timing-function: cubic-bezier(0.34, 1.56, 0.64, 1); }
:root[data-theme="light"] .tile { box-shadow: 0 1px 2px rgba(23, 43, 99, 0.05); }
.tile--accent {
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(37, 99, 235, 0.16), transparent 55%),
    var(--card-bg);
}
.tile--media { padding: 0; display: flex; flex-direction: column; }
.tile--media .tile__body { padding: 1.75rem; }
.tile__icon {
  transition: transform 0.25s var(--ease);
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 12px;
  background: var(--accent-soft); border: 1px solid var(--accent-line);
  color: var(--accent-hi); margin-bottom: 1.1rem;
}
.tile__icon .icon { width: 19px; height: 19px; }
.tile__title { font-size: 1.08rem; font-weight: 600; font-family: var(--font-body); letter-spacing: -0.01em; margin-bottom: 0.4rem; }
.tile__text { font-size: 0.94rem; color: var(--text-soft); margin: 0; line-height: 1.6; }
.tile__hit { font-family: var(--font-display); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-hi); margin-bottom: 0.35rem; }

/* icon-row list (alternative to card walls) */
.featrows { display: grid; grid-template-columns: 1fr 1fr; gap: 0 3rem; }
.featrow { display: flex; gap: 1.1rem; padding: 1.6rem 0; border-top: 1px solid var(--line-soft); }
.featrow .tile__icon {
  transition: transform 0.25s var(--ease); margin: 0; flex: none; }
.featrow h3 { font-size: 1.05rem; font-family: var(--font-body); font-weight: 600; margin-bottom: 0.35rem; }
.featrow p { font-size: 0.94rem; color: var(--text-soft); margin: 0; }
@media (max-width: 800px) { .featrows { grid-template-columns: 1fr; } }

/* ---------- Split editorial section ---------- */
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4rem; align-items: center; }
.split--rev > :first-child { order: 2; }
@media (max-width: 900px) {
  .split { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
  .split--rev > :first-child { order: 0; }
}
.split__kicker { font-size: 0.85rem; font-weight: 700; color: var(--accent-hi); letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 0.8rem; }
.split__title { font-size: clamp(1.6rem, 3vw, 2.3rem); letter-spacing: -0.02em; }
.split__text { color: var(--text-soft); font-size: 1.02rem; }
.split ul.checks { list-style: none; margin: 1.4rem 0 0; padding: 0; display: grid; gap: 0.7rem; }
.split ul.checks li { display: flex; align-items: flex-start; gap: 0.6rem; color: var(--text); }
.split ul.checks .icon { color: var(--green); margin-top: 0.22em; }
.chips { display: flex; flex-wrap: wrap; gap: 0.55rem; margin-top: 1.4rem; }
.chip {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.4rem 0.8rem; border-radius: 999px;
  background: var(--card-bg); border: 1px solid var(--line);
  font-size: 0.83rem; font-weight: 500; color: var(--text);
}
.chip .icon { width: 0.9em; height: 0.9em; color: var(--accent-hi); }

/* stat tiles used inside splits */
.stat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.stat-grid--1col { grid-template-columns: 1fr; }
.stat-tile { padding: 1.5rem 1.6rem; border-radius: var(--r-card); border: 1px solid var(--line); background: var(--card-bg); transition: border-color 0.2s var(--ease), background 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease); }
.stat-tile__value { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1.7rem; letter-spacing: -0.02em; color: var(--text-hi); }
.stat-tile__label { font-size: 0.88rem; color: var(--text-soft); }
@media (max-width: 560px) { .stat-grid { grid-template-columns: 1fr; } }

/* ---------- Pricing ---------- */
.included-strip {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem;
  justify-content: center; margin-bottom: 2.6rem;
  max-width: 760px; margin-inline: auto;
}
.included-strip__title {
  flex-basis: 100%; text-align: center;
  font-weight: 600; color: var(--text-hi); font-size: 1rem;
  margin-bottom: 0.5rem;
}

.pricing-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.1rem; }
.pricing-grid--home { grid-template-columns: repeat(3, 1fr); max-width: 1020px; margin: 0 auto; }
@media (max-width: 900px) { .pricing-grid--home { grid-template-columns: 1fr; max-width: 420px; } }

.plan {
  position: relative; display: flex; flex-direction: column;
  padding: 1.7rem 1.6rem 1.5rem;
  border-radius: var(--r-card); border: 1px solid var(--line);
  background: var(--card-bg);
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease);
}
.plan:hover { border-color: var(--accent-line); transform: translateY(-4px); box-shadow: var(--shadow-card); background: var(--card-bg-hover); }
.plan--popular { border-color: var(--accent-line); background: radial-gradient(130% 120% at 50% 0%, rgba(37, 99, 235, 0.14), transparent 60%), var(--card-bg); }
.plan__flag {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  padding: 0.28rem 0.85rem; border-radius: 999px;
  background: var(--accent); color: #fff; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
  white-space: nowrap;
}
.plan__name { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; color: var(--text-hi); letter-spacing: 0.01em; }
.plan__id { font-size: 0.78rem; color: var(--text-soft); }
.plan__price { display: flex; align-items: baseline; gap: 0.3rem; margin: 0.55rem 0 1.1rem; }
.plan__amount { font-family: var(--font-display); font-size: 2.3rem; font-weight: 600; letter-spacing: -0.02em; color: var(--text-hi); line-height: 1; }
.plan__cur { color: var(--accent-hi); font-weight: 600; font-size: 1.1rem; }
.plan__period { color: var(--text-soft); font-size: 0.88rem; }
.plan__features { list-style: none; margin: 0 0 1.3rem; padding: 0.95rem 0 0; border-top: 1px solid var(--line-soft); display: grid; gap: 0.55rem; }
.plan__features li { display: flex; align-items: flex-start; gap: 0.55rem; font-size: 0.92rem; color: var(--text); }
.plan__features .icon { width: 15px; height: 15px; color: var(--accent-hi); margin-top: 0.25em; }
.plan__features li.sub { color: var(--text-soft); font-size: 0.84rem; padding-left: 1.75rem; margin-top: -0.3rem; }
.plan__footer { margin-top: auto; display: flex; flex-direction: column; gap: 0.5rem; }
.plan__type { text-align: center; font-size: 0.78rem; color: var(--text-soft); }
.plan .btn { width: 100%; }
.plan__vendor { position: absolute; top: 1.5rem; right: 1.4rem; height: 22px; opacity: 0.9; }
.plan__vendor img { height: 100%; width: auto; }
:root:not([data-theme="light"]) .plan__vendor img { filter: brightness(0) invert(1); opacity: 0.8; }
.plan.is-highlight { border-color: var(--accent-hi); box-shadow: 0 0 0 3px var(--accent-soft), var(--shadow-card); }

/* config controls on dedicated cards */
.cfg { border-top: 1px solid var(--line-soft); padding: 0.85rem 0; }
.cfg__row { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; font-size: 0.88rem; }
.cfg__label { display: inline-flex; align-items: center; gap: 0.45rem; color: var(--text-soft); }
.cfg__label .icon { width: 14px; height: 14px; }
.cfg__value { color: var(--text-hi); font-weight: 600; }
.cfg select {
  width: 100%; margin-top: 0.5rem; padding: 0.5rem 0.75rem;
  border-radius: var(--r-input); border: 1px solid var(--line);
  background: var(--surface); color: var(--text-hi); font: 500 0.88rem var(--font-body);
  cursor: pointer; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23828da0' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 0.75rem center;
}
.cfg input[type="range"] {
  width: 100%; margin-top: 0.65rem; appearance: none; height: 5px; border-radius: 999px;
  background: linear-gradient(to right, var(--accent) var(--fill, 0%), var(--line) var(--fill, 0%));
  outline-offset: 4px;
}
.cfg input[type="range"]::-webkit-slider-thumb {
  appearance: none; width: 17px; height: 17px; border-radius: 50%;
  background: #fff; border: 2px solid var(--accent);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35); cursor: grab;
}
.cfg input[type="range"]::-moz-range-thumb {
  width: 15px; height: 15px; border-radius: 50%;
  background: #fff; border: 2px solid var(--accent); cursor: grab;
}

/* pricing switchers */
.seg { display: flex; justify-content: center; gap: 0.4rem; flex-wrap: wrap; margin-bottom: 1.4rem; }
.seg__btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.55rem 1.15rem; border-radius: 999px;
  border: 1px solid var(--line); background: none; cursor: pointer;
  color: var(--text); font: 600 0.9rem var(--font-body);
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.seg__btn img { height: 14px; width: auto; }
:root:not([data-theme="light"]) .seg__btn img { filter: brightness(0) invert(1); }
.seg__btn:hover { color: var(--text-hi); border-color: var(--accent-line); }
.seg__btn.is-active { background: var(--accent); border-color: var(--accent); color: #fff; }
.seg__btn.is-active img { filter: brightness(0) invert(1); }
.seg--sub .seg__btn { padding: 0.4rem 0.95rem; font-size: 0.83rem; }
.seg--right { justify-content: flex-end; margin: 0 0 1rem; }
@media (max-width: 700px) { .seg--right { justify-content: center; } }

.fade-swap { transition: opacity 0.2s ease; }
.fade-swap.is-fading { opacity: 0; }

/* show more */
.more-wrap { margin-top: 2rem; text-align: center; }
.more-btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: none; border: 1px solid var(--line); border-radius: 999px;
  color: var(--text-hi); padding: 0.65rem 1.4rem; cursor: pointer; font: 600 0.92rem var(--font-body);
  transition: border-color 0.15s ease, background 0.15s ease;
}
.more-btn:hover { border-color: var(--accent-line); background: var(--accent-soft); }
.more-btn .icon { transition: transform 0.25s var(--ease); }
.more-btn.is-expanded .icon { transform: rotate(180deg); }

/* upsell strip */
.upsell {
  display: flex; align-items: center; gap: 1.25rem;
  margin-top: 1.6rem; padding: 1.35rem 1.6rem;
  border-radius: var(--r-card); border: 1px solid var(--line);
  background: linear-gradient(100deg, var(--accent-soft), transparent 60%), var(--card-bg);
}
.upsell__icon { color: var(--accent-hi); flex: none; }
.upsell__icon .icon { width: 26px; height: 26px; }
.upsell__title { display: block; font-weight: 700; color: var(--text-hi); }
.upsell__text { display: block; font-size: 0.92rem; color: var(--text-soft); }
.upsell .btn { margin-left: auto; flex: none; }
@media (max-width: 760px) { .upsell { flex-direction: column; align-items: flex-start; } .upsell .btn { margin-left: 0; } }

/* compare table */
.compare-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--card-bg); }
.compare { width: 100%; border-collapse: collapse; min-width: 780px; }
.compare th, .compare td { padding: 0.85rem 1.1rem; text-align: left; font-size: 0.92rem; }
.compare thead th {
  font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--text-soft); border-bottom: 1px solid var(--line);
  white-space: nowrap; user-select: none;
}
.compare th.sortable { cursor: pointer; }
.compare th.sortable:hover { color: var(--text-hi); }
.compare th .sort-ind { display: inline-block; width: 0.9em; opacity: 0.7; }
.compare tbody tr { border-top: 1px solid var(--line-soft); transition: background 0.12s ease; }
.compare tbody tr:first-child { border-top: 0; }
.compare tbody tr:hover { background: var(--card-bg-hover); }
:root[data-theme="light"] .compare tbody tr:hover { background: var(--accent-soft); }
.compare .cell-server { display: flex; align-items: center; gap: 0.6rem; font-weight: 600; color: var(--text-hi); white-space: nowrap; }
.compare .cell-server img { height: 13px; width: auto; }
:root:not([data-theme="light"]) .compare .cell-server img { filter: brightness(0) invert(1); opacity: 0.8; }
.compare .cell-price { font-family: var(--font-display); font-weight: 600; color: var(--text-hi); white-space: nowrap; }
.compare .btn { padding: 0.4rem 1rem; font-size: 0.83rem; }

.dedi-view-grid .compare-view { display: none; }
.dedi-view-table .grid-view { display: none; }

/* livestock */
.notice {
  display: flex; align-items: center; justify-content: center; gap: 0.55rem;
  color: var(--text-soft); font-size: 0.9rem; margin-bottom: 1.6rem;
}
.notice .icon { width: 14px; height: 14px; color: var(--accent-hi); }
.stock-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.4rem 1rem; border-radius: 999px;
  background: rgba(40, 199, 111, 0.1); border: 1px solid rgba(40, 199, 111, 0.35);
  color: var(--green); font-size: 0.88rem; font-weight: 600;
}
.stock-badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green); animation: pulse-dot 2s infinite; }
@keyframes pulse-dot { 0%, 100% { box-shadow: 0 0 0 0 rgba(40, 199, 111, 0.5); } 50% { box-shadow: 0 0 0 5px rgba(40, 199, 111, 0); } }
.livestock-topbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.9rem 1.4rem; margin-bottom: 1.6rem; }
.notice--inline { margin-bottom: 0; }
.filters { display: flex; flex-wrap: wrap; gap: 0.9rem; justify-content: center; margin-bottom: 2rem; }
.filter { display: flex; flex-direction: column; gap: 0.3rem; min-width: 150px; }
.filter label { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: var(--text-soft); }
.filter select {
  padding: 0.5rem 2rem 0.5rem 0.75rem; border-radius: var(--r-input);
  border: 1px solid var(--line); background: var(--surface); color: var(--text-hi);
  font: 500 0.88rem var(--font-body); cursor: pointer; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23828da0' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 0.7rem center;
}
.plan__head { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; margin-top: 0.2rem; }
.plan__name--nowrap { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.avail-pill {
  display: inline-flex; align-items: center; gap: 0.4rem; flex: none; margin-top: 0.15rem;
  padding: 0.28rem 0.75rem; border-radius: 999px;
  background: rgba(40, 199, 111, 0.12); border: 1px solid rgba(40, 199, 111, 0.4);
  color: var(--green); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
}
.avail-pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--green); animation: pulse-dot 2s infinite; }
.plan__vendor-inline { height: 13px; width: auto; margin-right: 0.5rem; vertical-align: -1px; }
:root:not([data-theme="light"]) .plan__vendor-inline { filter: brightness(0) invert(1); opacity: 0.85; }
.copy-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 999px; flex: none;
  border: 1px solid var(--line); background: none; color: var(--text); cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.copy-btn:hover { border-color: var(--accent-line); color: var(--text-hi); }
.copy-btn .icon-check { display: none; color: var(--green); }
.copy-btn.is-copied .icon-copy { display: none; }
.copy-btn.is-copied .icon-check { display: block; }
.copy-btn.is-copied { border-color: rgba(40, 199, 111, 0.5); }
.plan__footer--row { flex-direction: row; }
.plan__footer--row .btn { flex: 1; width: auto; }

.empty { text-align: center; padding: 3rem 1rem; }
/* only the standalone state icon — not icons inside the CTA button */
.empty > .icon { width: 44px; height: 44px; color: var(--text-soft); margin-bottom: 1rem; }
.empty h3 { font-size: 1.25rem; }
.empty p { color: var(--text-soft); max-width: 420px; margin: 0 auto 1.5rem; }
.loading-row { text-align: center; color: var(--text-soft); padding: 3rem 0; }

/* skeleton loaders */
.skel-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.1rem; }
.skel {
  height: 300px; border-radius: var(--r-card); border: 1px solid var(--line-soft);
  background: linear-gradient(100deg, var(--card-bg) 40%, var(--card-bg-hover) 50%, var(--card-bg) 60%);
  background-size: 200% 100%;
  animation: skel-slide 1.4s infinite linear;
}
@keyframes skel-slide { to { background-position: -200% 0; } }

/* ---------- FAQ ---------- */
.faq-list { max-width: 780px; margin: 0 auto; display: grid; gap: 0.75rem; }
.faq-item { border: 1px solid var(--line); border-radius: var(--r-card); background: var(--card-bg); overflow: hidden; transition: border-color 0.2s ease; }
.faq-item.is-open { border-color: var(--accent-line); }
.faq-q {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  width: 100%; padding: 1.15rem 1.4rem; background: none; border: 0; cursor: pointer;
  text-align: left; color: var(--text-hi); font: 600 1rem/1.4 var(--font-body);
}
.faq-q .icon { color: var(--text-soft); transition: transform 0.25s var(--ease); }
.faq-item.is-open .faq-q .icon { transform: rotate(180deg); color: var(--accent-hi); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.3s var(--ease); }
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p, .faq-a ul { margin: 0; padding: 0 1.4rem 1.2rem; color: var(--text-soft); font-size: 0.95rem; }
.faq-a ul { padding-left: 2.6rem; padding-top: 0.5rem; }
.faq-a li { margin-bottom: 0.3rem; }
.faq-search { position: relative; max-width: 480px; margin: 2rem auto 0; }
.faq-search .icon { position: absolute; left: 1.05rem; top: 50%; transform: translateY(-50%); color: var(--text-soft); width: 17px; height: 17px; }
.faq-search input {
  width: 100%; padding: 0.85rem 1.2rem 0.85rem 2.7rem;
  border-radius: 999px; border: 1px solid var(--line);
  background: var(--surface); color: var(--text-hi); font: 500 0.95rem var(--font-body);
}
.faq-search input::placeholder { color: var(--text-soft); }
.faq-search input:focus { outline: none; border-color: var(--accent-line); box-shadow: 0 0 0 3px var(--accent-soft); }
.faq-noresults { text-align: center; color: var(--text-soft); padding: 2rem 0 0; }
.faq-noresults .icon { width: 32px; height: 32px; display: block; margin: 0 auto 0.6rem; }

/* ---------- Support band ---------- */
.support-band { padding: 0 0 6rem; }
.section + .support-band { padding-top: 0; }
/* after an alt section the background switches: keep a real gap below the border */
.section--alt + .support-band { padding-top: 6rem; }
.support-band__inner {
  display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap;
  padding: 1.8rem 2.2rem;
  border-radius: var(--r-card); border: 1px solid var(--line);
  background:
    radial-gradient(90% 160% at 8% 0%, rgba(37, 99, 235, 0.16), transparent 55%),
    var(--surface);
}
.support-band__avatars { display: flex; }
.support-band__avatar {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--surface-hi); border: 1px solid var(--accent-line); color: var(--accent-hi);
  margin-left: -10px;
}
.support-band__avatar:first-child { margin-left: 0; }
.support-band__avatar .icon { width: 18px; height: 18px; }
.support-band__title { display: block; font-weight: 700; color: var(--text-hi); font-size: 1.08rem; font-family: var(--font-display); }
.support-band__sub { display: block; color: var(--text-soft); font-size: 0.92rem; }
.support-band__actions { display: flex; gap: 0.7rem; margin-left: auto; flex-wrap: wrap; }
@media (max-width: 760px) { .support-band__actions { margin-left: 0; width: 100%; } .support-band__actions .btn { flex: 1; } }

/* custom config CTA */
.ccc {
  display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap;
  margin-top: 2.2rem; padding: 1.6rem 2rem;
  border-radius: var(--r-card); border: 1px dashed var(--accent-line);
  background: var(--accent-soft);
}
.ccc__icon { color: var(--accent-hi); flex: none; transition: transform 0.25s var(--ease); }
.ccc__icon .icon { width: 26px; height: 26px; }
.ccc__title { margin: 0 0 0.2rem; font-size: 1.08rem; font-family: var(--font-body); font-weight: 700; }
.ccc__text { margin: 0; color: var(--text-soft); font-size: 0.93rem; max-width: 560px; }
.ccc .btn { margin-left: auto; flex: none; }
.ccc { transition: border-color 0.2s var(--ease), background 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease); }
@media (max-width: 820px) { .ccc .btn { margin-left: 0; } }

/* ---------- CTA section ---------- */
.cta-panel {
  position: relative; overflow: hidden; text-align: center;
  padding: 4.5rem 2rem;
  border-radius: calc(var(--r-card) + 8px);
  border: 1px solid var(--line);
  background:
    radial-gradient(80% 130% at 50% 0%, rgba(37, 99, 235, 0.2), transparent 60%),
    var(--surface);
}
.cta-panel .section__title { margin-bottom: 0.5rem; }
.cta-panel .section__sub { max-width: 560px; margin: 0 auto; }
.cta-panel__actions { display: flex; justify-content: center; gap: 0.85rem; flex-wrap: wrap; margin-top: 2rem; }

/* ---------- Brand wall ---------- */
.brandwall { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 2.8rem 3.5rem; }
.brandwall img { height: 36px; width: auto; opacity: 0.6; transition: opacity 0.2s ease; }
.brandwall img:hover { opacity: 1; }
/* uniform monochrome logos: white on dark, black on light (PNG sources are white-on-transparent) */
:root:not([data-theme="light"]) .brandwall img { filter: brightness(0) invert(1); }
:root[data-theme="light"] .brandwall img { filter: brightness(0); }
.brandwall-label { text-align: center; color: var(--text-soft); font-size: 0.88rem; margin-bottom: 2rem; }

/* ---------- Payment cards ---------- */
.pay-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.1rem; max-width: 720px; margin: 0 auto; }
@media (max-width: 760px) { .pay-grid { grid-template-columns: 1fr; max-width: 380px; } }
.pay-card--label { gap: 0.8rem; font: 700 1.15rem var(--font-display); color: var(--text-hi); letter-spacing: -0.01em; }
.pay-card--label .icon { width: 26px; height: 26px; color: var(--accent-hi); }
.pay-card {
  display: flex; align-items: center; justify-content: center; gap: 1.4rem;
  min-height: 120px; padding: 1.5rem;
  border-radius: var(--r-card); border: 1px solid var(--line); background: var(--card-bg);
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.pay-card:hover { border-color: var(--accent-line); background: var(--card-bg-hover); transform: translateY(-4px); box-shadow: var(--shadow-card); }
.pay-card img { height: 34px; width: auto; }
:root:not([data-theme="light"]) .pay-card img.inv { filter: brightness(0) invert(1); }

/* ---------- Legal pages ---------- */
.legal-layout { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 4rem; align-items: start; }
@media (max-width: 900px) { .legal-layout { grid-template-columns: 1fr; gap: 2rem; } }
.legal-cards { display: grid; gap: 0.85rem; position: sticky; top: calc(var(--nav-h) + 1.5rem); }
.legal-card {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 1.2rem 1.35rem; border-radius: var(--r-card);
  border: 1px solid var(--line); background: var(--card-bg); color: inherit;
  transition: border-color 0.2s ease, background 0.2s ease;
}
a.legal-card:hover { border-color: var(--accent-line); background: var(--accent-soft); color: inherit; }
.legal-card .icon { color: var(--accent-hi); margin-top: 0.2rem; }
.legal-card__label { display: block; font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: var(--text-soft); margin-bottom: 0.15rem; }
.legal-card__value { color: var(--text-hi); font-weight: 600; font-size: 0.95rem; line-height: 1.5; }
.legal-text h2 { font-size: 1.35rem; margin: 2.2rem 0 0.6rem; font-family: var(--font-body); font-weight: 700; letter-spacing: -0.01em; }
.legal-text h3 { font-size: 1.08rem; margin: 1.6rem 0 0.4rem; font-family: var(--font-body); font-weight: 700; }
.legal-text h4 { font-size: 0.98rem; margin: 1.2rem 0 0.3rem; font-family: var(--font-body); font-weight: 600; }
.legal-text h2:first-child { margin-top: 0; }
.legal-text p, .legal-text li { color: var(--text-soft); font-size: 0.96rem; }
.legal-text .legal-source { font-size: 0.82rem; margin-top: 2rem; }
.legal-narrow { max-width: 820px; margin: 0 auto; }

/* ---------- Network map ---------- */
.map-section { position: relative; }
.map-wrap {
  position: relative; height: 520px;
  border-block: 1px solid var(--line);
  background: var(--bg1);
  overflow: hidden;
}
.map-wrap .dc-map { position: absolute; inset: 0; opacity: 0; transition: opacity 0.6s ease; }
.map-section.is-map-loaded .dc-map { opacity: 1; }

/* self-drawn network map (no Mapbox), fused into the hero:
   full-bleed, faded at the top (text stays readable) and below Frankfurt */
.hero--maphero { padding-bottom: 0; }
.hero--maphero .hero__sub { margin-bottom: 0.5rem; }
.maphero__head { position: relative; z-index: 2; }
.maphero__map { position: relative; margin-top: -7rem; margin-bottom: -8rem; display: flex; justify-content: center; overflow: hidden; }
.maphero__map .netmap { width: 100%; flex: none; }
.netmap--page::before { display: none; }
/* fade via mask: the map itself turns transparent, so the hero background
   shows through and the crop edges never appear as hard lines */
.maphero__map .netmap {
  -webkit-mask-image: linear-gradient(to bottom, transparent 3%, rgba(0, 0, 0, 0.55) 16%, #000 30%, #000 56%, transparent 86%);
  mask-image: linear-gradient(to bottom, transparent 3%, rgba(0, 0, 0, 0.55) 16%, #000 30%, #000 56%, transparent 86%);
}
.netmap--page .netmap__label { font-size: 23px; }
.netmap--page .netmap__sublabel { font-size: 15px; }
.netmap--page .netmap__chip { left: max(3%, 16px); top: 31%; }
.netmap__borders path { fill: none; stroke: #46536b; stroke-opacity: 0.55; stroke-width: 1.1; stroke-linejoin: round; stroke-linecap: round; }
:root[data-theme="light"] .netmap__borders path { stroke: #9db4d8; stroke-opacity: 0.9; }
.netmap__cities circle { fill: var(--text-soft); opacity: 0.55; }
.netmap__cities text { font-size: 11.5px; font-weight: 600; fill: var(--text-soft); filter: drop-shadow(0 0 3px var(--bg1)) drop-shadow(0 0 4px var(--bg1)); }
@media (max-width: 900px) {
  .maphero__map { margin-top: -4.5rem; margin-bottom: -9rem; }
  /* tighter fade window on phones: Hamburg fades out at the top, München at the bottom */
  .maphero__map .netmap {
    -webkit-mask-image: linear-gradient(to bottom, transparent 12%, rgba(0, 0, 0, 0.6) 19%, #000 27%, #000 56%, transparent 74%);
    mask-image: linear-gradient(to bottom, transparent 12%, rgba(0, 0, 0, 0.6) 19%, #000 27%, #000 56%, transparent 74%);
  }
  /* strong zoom, nudged so both the Amsterdam and Frankfurt labels fit with margin */
  .maphero__map .netmap { width: 275%; max-width: none; transform: translateX(3vw); }
  .netmap--page .netmap__chip {
    /* the map is wider than the screen, centered and shifted: anchor to the viewport */
    left: calc(50% - 49vw); top: 21%;
    font-size: 0.6rem; padding: 0.18rem 0.5rem; gap: 0.3rem;
    box-shadow: 0 4px 14px rgba(5, 10, 20, 0.2);
  }
  .netmap--page .netmap__chip-dot { width: 5px; height: 5px; }
}

/* theme switch cross-fade (View Transitions API): plain fade, no slide */
::view-transition-old(root), ::view-transition-new(root) {
  animation-duration: 0.25s;
  mix-blend-mode: normal;
}
.map-consent {
  position: absolute; inset: 0; z-index: 5;
  display: flex; align-items: center; justify-content: center;
  background:
    radial-gradient(70% 100% at 50% 0%, rgba(37, 99, 235, 0.08), transparent),
    var(--bg1);
}
.map-consent__inner { text-align: center; max-width: 460px; padding: 2rem; }
.map-consent__icon { color: var(--accent-hi); margin-bottom: 1rem; }
.map-consent__icon .icon { width: 36px; height: 36px; }
.map-consent__text { color: var(--text-soft); font-size: 0.92rem; margin-bottom: 1.4rem; }
.map-consent__actions { display: flex; gap: 0.7rem; justify-content: center; flex-wrap: wrap; }
.map-legend { display: flex; justify-content: center; gap: 2rem; flex-wrap: wrap; padding: 1.2rem 24px 0; font-size: 0.88rem; color: var(--text-soft); }
.map-legend__item { display: inline-flex; align-items: center; gap: 0.5rem; }
.map-legend__glyph { width: 10px; height: 10px; border-radius: 50%; }
.map-legend__glyph--dc { background: #2286ff; box-shadow: 0 0 8px rgba(34, 134, 255, 0.7); }
.map-legend__glyph--pop { background: transparent; border: 2px solid #7367f0; }
.transit-note {
  display: flex; align-items: center; justify-content: center; gap: 0.6rem; flex-wrap: wrap;
  padding: 1.1rem 24px 0; font-size: 0.9rem; color: var(--text-soft); text-align: center;
}
.transit-note .icon { color: var(--accent-hi); flex: none; }
.transit-note a { font-weight: 600; }

/* mapbox marker styling */
.dc-marker { display: flex; align-items: center; gap: 8px; cursor: pointer; position: relative; }
.dc-marker--flip .dc-marker__pill { position: absolute; right: calc(100% + 8px); top: 50%; transform: translateY(-50%); }
.dc-marker__glyph--dc { display: flex; width: 26px; height: 26px; color: var(--marker-color, #2286ff); filter: drop-shadow(0 0 6px rgba(34, 134, 255, 0.6)); }
.dc-marker__glyph--dc svg { width: 100%; height: 100%; }
.dc-marker__glyph--pop { position: relative; width: 18px; height: 18px; }
.dc-marker__ring { position: absolute; inset: 0; border: 2px solid var(--marker-color, #7367f0); border-radius: 50%; }
.dc-marker__ring-inner { position: absolute; inset: 5px; background: var(--marker-color, #7367f0); border-radius: 50%; }
.dc-marker__pill {
  display: flex; align-items: center; gap: 5px;
  padding: 4px 10px; border-radius: 999px;
  background: rgba(7, 11, 18, 0.85); border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff; font: 600 12px/1.3 var(--font-body); white-space: nowrap;
  backdrop-filter: blur(6px);
}
.dc-marker__pill-caret { width: 12px; height: 12px; transition: transform 0.2s ease; }
.dc-marker__pill.is-open .dc-marker__pill-caret { transform: rotate(180deg); }
.dc-popup-wrapper .mapboxgl-popup-content {
  background: #0d1421; color: #d7deea; border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px; padding: 14px 16px; box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5);
  font-family: var(--font-body);
}
.dc-popup-wrapper .mapboxgl-popup-tip { border-top-color: #0d1421; border-bottom-color: #0d1421; }
.dc-popup-wrapper .mapboxgl-popup-close-button { color: #828da0; font-size: 16px; padding: 2px 7px; }
.dc-popup__badge { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 6px; }
.dc-popup__badge--dc { background: rgba(34, 134, 255, 0.18); color: #5b9dff; }
.dc-popup__badge--pop { background: rgba(115, 103, 240, 0.18); color: #a89cff; }
.dc-popup__title { display: block; font-size: 14px; color: #fff; }
.dc-popup__sub { display: block; font-size: 11.5px; color: #828da0; margin-bottom: 8px; }
.dc-popup__group { margin-top: 8px; }
.dc-popup__group-title { display: block; font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #828da0; margin-bottom: 4px; }
.dc-popup__row { display: flex; gap: 8px; font-size: 12px; padding: 1.5px 0; }
.dc-popup__bw { color: #5b9dff; font-weight: 600; min-width: 46px; }

.pop-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; max-width: 900px; margin: 2.5rem auto 0; }
@media (max-width: 760px) { .pop-grid { grid-template-columns: 1fr; } }
.pop-card { padding: 1.5rem 1.6rem; border-radius: var(--r-card); border: 1px solid var(--line); background: var(--card-bg); transition: border-color 0.2s var(--ease), background 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease); }
.pop-card__name { display: block; font-weight: 700; color: var(--text-hi); font-family: var(--font-display); }
.pop-card__sub { display: block; font-size: 0.85rem; color: var(--text-soft); margin-bottom: 0.9rem; }
.pop-card__group-title { display: block; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent-hi); margin: 0.8rem 0 0.35rem; }
.pop-card__item { display: inline-block; padding: 0.2rem 0.6rem; margin: 0 0.3rem 0.3rem 0; border-radius: 6px; background: var(--accent-soft); border: 1px solid var(--line-soft); font-size: 0.8rem; color: var(--text); }
.pop-card__tag { display: inline-block; padding: 0.18rem 0.6rem; margin-bottom: 0.6rem; border-radius: 999px; background: var(--accent-soft); border: 1px solid var(--line-soft); font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--accent-hi); }
.pop-card__note { display: flex; align-items: flex-start; gap: 0.45rem; margin: 0.2rem 0 0; font-size: 0.85rem; line-height: 1.5; color: var(--text-soft); }
.pop-card__note svg { width: 15px; height: 15px; flex: none; margin-top: 3px; color: var(--accent-hi); }
@media (min-width: 761px) { .pop-card--wide { grid-column: 1 / -1; } }

/* ---------- DDoS pipeline visual ---------- */
.ddos-visual { max-width: 1060px; margin: 0 auto; }
.ddos-visual svg { width: 100%; height: auto; display: block; }
.ddos-legend { display: flex; justify-content: center; gap: 1.8rem; flex-wrap: wrap; margin-top: 1.4rem; font-size: 0.88rem; color: var(--text-soft); }
.ddos-legend span { display: inline-flex; align-items: center; gap: 0.5rem; }
.ddos-legend i { width: 10px; height: 10px; border-radius: 50%; }
.ddos-legend .dot-attack { background: #ff5c5c; }
.ddos-legend .dot-sneaky { background: #ff9f43; }
.ddos-legend .dot-clean { background: #5b9dff; }
.pletx-mark { display: flex; align-items: center; justify-content: center; gap: 0.8rem; margin-top: 1.6rem; }
.pletx-mark__label { color: var(--text-soft); font-size: 0.88rem; }
.pletx-mark img { height: 30px; width: auto; }

@keyframes ddos-packet-a {
  0% { offset-distance: 0%; opacity: 0; }
  8% { opacity: 1; }
  62% { opacity: 1; transform: scale(1); }
  70% { offset-distance: 34%; opacity: 0; transform: scale(2.2); }
  100% { offset-distance: 34%; opacity: 0; }
}
@keyframes ddos-packet-s {
  0% { offset-distance: 0%; opacity: 0; }
  8% { opacity: 1; }
  60% { opacity: 1; transform: scale(1); }
  68% { offset-distance: 63%; opacity: 0; transform: scale(2.2); }
  100% { offset-distance: 63%; opacity: 0; }
}
@keyframes ddos-packet-u {
  0% { offset-distance: 0%; opacity: 0; }
  8% { opacity: 1; }
  92% { opacity: 1; }
  100% { offset-distance: 100%; opacity: 0; }
}
@keyframes ddos-membrane { 0%, 100% { opacity: 0.35; } 50% { opacity: 0.75; } }
.ddos-membrane { animation: ddos-membrane 3.4s ease-in-out infinite; }
:root[data-theme="light"] .ddos-chip-text--blue { fill: #1a56c9; }
:root[data-theme="light"] .ddos-chip-text--purple { fill: #6231c8; }
@keyframes ddos-led { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }
.ddos-led { animation: ddos-led 1.6s infinite; }
.ddos-led--2 { animation-delay: 0.5s; }
.ddos-led--3 { animation-delay: 0.9s; }

/* ---------- VPS virtualization visual ---------- */
.virt-visual { border-radius: var(--r-card); border: 1px solid var(--line); background: var(--surface); padding: 1.6rem; }
.virt-visual__host {
  border: 1px dashed var(--accent-line); border-radius: 12px; padding: 1rem;
}
.virt-visual__host-label { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-hi); margin-bottom: 0.9rem; }
.virt-visual__host-label small { color: var(--text-soft); letter-spacing: 0.02em; text-transform: none; font-weight: 500; }
.virt-visual__vms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.7rem; }
.virt-vm { border: 1px solid var(--line); border-radius: 10px; padding: 0.85rem 0.9rem; background: var(--card-bg); }
.virt-vm--you { border-color: var(--accent-line); background: var(--accent-soft); }
.virt-vm__name { display: block; font-size: 0.8rem; font-weight: 700; color: var(--text-hi); }
.virt-vm__sub { display: block; font-size: 0.7rem; color: var(--text-soft); }
.virt-vm__bars { display: grid; gap: 4px; margin-top: 0.6rem; }
.virt-vm__bars i { height: 4px; border-radius: 2px; background: var(--line); }
.virt-vm--you .virt-vm__bars i { background: var(--accent); opacity: 0.8; }
.virt-visual__hv {
  margin-top: 0.7rem; text-align: center; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text-soft); border-top: 1px solid var(--line-soft); padding-top: 0.7rem;
}
@media (max-width: 500px) { .virt-visual__vms { grid-template-columns: 1fr; } }

/* ---------- App page ---------- */
.phone-wrap { position: relative; display: flex; justify-content: center; }
.phone-wrap::before { content: ""; position: absolute; inset: 6% -4%; z-index: 0; background: var(--glow); filter: blur(26px); }
.phone-wrap img { position: relative; z-index: 1; max-height: 560px; width: auto; }
.store-badges { display: flex; gap: 0.8rem; flex-wrap: wrap; margin-top: 1.7rem; }
.store-badge {
  display: inline-flex; align-items: center; gap: 0.7rem;
  padding: 0.6rem 1.2rem; border-radius: 12px;
  border: 1px solid var(--line); background: var(--surface); color: var(--text-hi);
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.store-badge:hover { border-color: var(--accent-line); transform: translateY(-2px); color: var(--text-hi); }
.store-badge svg { width: 22px; height: 22px; fill: currentColor; }
.store-badge small { display: block; font-size: 0.62rem; letter-spacing: 0.05em; color: var(--text-soft); text-transform: uppercase; }
.store-badge b { font-size: 0.95rem; }

.shots { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; margin-top: 1.1rem; }
@media (max-width: 800px) { .shots { grid-template-columns: 1fr; } }
.shot-card { display: flex; flex-direction: column; border-radius: var(--r-card); border: 1px solid var(--line); background: var(--card-bg); overflow: hidden; transition: border-color 0.2s var(--ease), background 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease); }
.shot-card:hover { border-color: var(--accent-line); box-shadow: var(--shadow-card); }
.shot-card__media { border-bottom: 1px solid var(--line-soft); background: var(--surface); }
.shot-card__media img { display: block; width: 100%; height: auto; }
.shot-card__body { padding: 1.5rem 1.6rem; }
.shot-featured { transition: border-color 0.2s var(--ease), background 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease); display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); border-radius: var(--r-card); border: 1px solid var(--line); background: var(--card-bg); overflow: hidden; }
.shot-featured__body { padding: 2.2rem; display: flex; flex-direction: column; justify-content: center; }
.shot-featured__media { background: var(--surface); border-left: 1px solid var(--line-soft); }
.shot-featured__media img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: left top; }
@media (max-width: 800px) { .shot-featured { grid-template-columns: 1fr; } .shot-featured__media { border-left: 0; border-top: 1px solid var(--line-soft); } }

.wi-shot { position: relative; max-width: 940px; margin: 0 auto; isolation: isolate; }
.wi-shot::before { content: ""; position: absolute; inset: 8% -6% -4%; z-index: -1; background: var(--glow); filter: blur(30px); }

/* ---------- Blog ---------- */
.post-meta { display: flex; align-items: center; gap: 0.8rem; font-size: 0.83rem; color: var(--text-soft); flex-wrap: wrap; }
.post-meta--center { justify-content: center; margin-bottom: 1rem; }
.post-chip {
  padding: 0.2rem 0.7rem; border-radius: 999px;
  background: var(--accent-soft); border: 1px solid var(--accent-line);
  color: var(--accent-hi); font-size: 0.74rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
}
.post-cover {
  display: flex; align-items: center; justify-content: center;
  height: 150px; border-radius: 12px;
  border: 1px solid var(--line-soft);
}
.post-cover .icon { width: 40px; height: 40px; opacity: 0.9; }
.post-cover--large { height: 100%; min-height: 260px; border-radius: 0; border: 0; }
.post-cover--large .icon { width: 56px; height: 56px; }
.post-cover--banner { height: 200px; margin-bottom: 2.2rem; }
.post-cover--produkt   { background: radial-gradient(120% 160% at 20% 0%, rgba(37, 99, 235, 0.28), rgba(37, 99, 235, 0.06)); color: var(--accent-hi); }
.post-cover--netzwerk  { background: radial-gradient(120% 160% at 20% 0%, rgba(6, 182, 212, 0.26), rgba(6, 182, 212, 0.05)); color: #3fc4dc; }
.post-cover--technik   { background: radial-gradient(120% 160% at 20% 0%, rgba(115, 103, 240, 0.26), rgba(115, 103, 240, 0.06)); color: #a89cff; }
.post-cover--changelog { background: radial-gradient(120% 160% at 20% 0%, rgba(40, 199, 111, 0.24), rgba(40, 199, 111, 0.05)); color: var(--green); }

.post-featured {
  display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  border-radius: var(--r-card); border: 1px solid var(--line); background: var(--card-bg);
  overflow: hidden; color: inherit; margin-bottom: 1.1rem;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.post-featured:hover { border-color: var(--accent-line); background: var(--card-bg-hover); transform: translateY(-4px); box-shadow: var(--shadow-card); color: inherit; }
.post-featured__body { padding: 2.2rem; display: flex; flex-direction: column; gap: 0.8rem; align-items: flex-start; }
.post-featured__title { font-size: clamp(1.4rem, 2.6vw, 1.9rem); letter-spacing: -0.02em; margin: 0; }
@media (max-width: 800px) { .post-featured { grid-template-columns: 1fr; } .post-cover--large { min-height: 170px; } }

.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
@media (max-width: 1000px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .blog-grid { grid-template-columns: 1fr; } }
.post-card {
  display: flex; flex-direction: column;
  border-radius: var(--r-card); border: 1px solid var(--line); background: var(--card-bg);
  overflow: hidden; color: inherit;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.post-card:hover { border-color: var(--accent-line); background: var(--card-bg-hover); transform: translateY(-4px); box-shadow: var(--shadow-card); color: inherit; }
.post-card__body { padding: 1.4rem 1.5rem 1.5rem; display: flex; flex-direction: column; gap: 0.65rem; align-items: flex-start; flex: 1; }
.post-card .post-cover { border-radius: 0; border: 0; border-bottom: 1px solid var(--line-soft); }
.post-card__title { font-size: 1.12rem; font-family: var(--font-body); font-weight: 700; letter-spacing: -0.01em; margin: 0; line-height: 1.35; }
.post-card__excerpt { font-size: 0.92rem; color: var(--text-soft); margin: 0; flex: 1; }
.post-card__more { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.88rem; font-weight: 600; color: var(--accent-hi); }
.post-card__more .icon { width: 0.9em; height: 0.9em; transition: transform 0.18s var(--ease); }
.post-card:hover .post-card__more .icon, .post-featured:hover .post-card__more .icon { transform: translateX(3px); }

.article { max-width: 720px; margin: 0 auto; }
.article-title { font-size: clamp(1.8rem, 3.6vw, 2.6rem); max-width: 820px; margin-inline: auto; }
.article-author { color: var(--text-soft); font-size: 0.9rem; margin-top: 0.6rem; }
.article h2 { font-size: 1.35rem; font-family: var(--font-body); font-weight: 700; letter-spacing: -0.01em; margin: 2rem 0 0.6rem; }
.article p, .article li { color: var(--text); font-size: 1.02rem; line-height: 1.75; }
.article ul { padding-left: 1.4rem; }
.article li { margin-bottom: 0.4rem; }
.article-back { margin-top: 2.8rem; padding-top: 1.8rem; border-top: 1px solid var(--line-soft); }

/* ---------- Footer ---------- */
.footer { background: var(--bg1); border-top: 1px solid var(--line-soft); padding: 4.5rem 0 2.5rem; margin-top: 0; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 3rem; }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }
.footer__logo img { height: 30px; width: auto; }
:root[data-theme="light"] .footer__logo img { filter: invert(1) hue-rotate(180deg) saturate(1.6); }
.footer__social { display: flex; gap: 0.6rem; margin: 1.3rem 0; }
.footer__social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 999px;
  border: 1px solid var(--line); color: var(--text);
  transition: border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}
.footer__social a:hover { border-color: var(--accent-line); color: var(--text-hi); transform: translateY(-2px); }
.footer__social svg { width: 17px; height: 17px; }
.footer__moto { color: var(--text-soft); font-size: 0.88rem; }
.footer__moto .heart { color: var(--red); }
.footer__ripe { height: 64px; width: auto; margin-top: 0.8rem; opacity: 0.9; }
.footer__head { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-hi); margin-bottom: 1rem; font-family: var(--font-body); }
.footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.45rem; }
.footer__links a { color: var(--text-soft); font-size: 0.92rem; transition: color 0.15s ease; }
.footer__links a:hover { color: var(--text-hi); }
.footer__bottom { margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line-soft); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; color: var(--text-soft); font-size: 0.85rem; }

/* ---------- Back to top ---------- */
.backtotop {
  position: fixed; right: 22px; bottom: calc(22px + env(safe-area-inset-bottom, 0px)); z-index: 90;
  width: 44px; height: 44px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--nav-bg);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  color: var(--text-hi); cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s, border-color 0.15s ease;
}
.backtotop.is-visible { opacity: 1; visibility: visible; transform: none; }
.backtotop:hover { border-color: var(--accent-line); }
/* mobile: no backdrop-filter — WebKit mispositions fixed elements that have one */
@media (max-width: 900px) {
  .backtotop { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--bg1); }
}

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 200; transform: translate(-50%, 16px);
  padding: 0.7rem 1.3rem; border-radius: 999px;
  background: var(--surface-hi); border: 1px solid var(--accent-line);
  color: var(--text-hi); font-size: 0.9rem; font-weight: 600;
  opacity: 0; visibility: hidden; transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  box-shadow: var(--shadow-card);
}
.toast.is-visible { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

/* ---------- Reveal on scroll ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
  .reveal.is-in { opacity: 1; transform: none; }
  .reveal-d1 { transition-delay: 0.08s; }
  .reveal-d2 { transition-delay: 0.16s; }
  .reveal-d3 { transition-delay: 0.24s; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001s !important; animation-iteration-count: 1 !important; transition-duration: 0.001s !important; }
}

/* ---------- Error page ---------- */
.error-hero { min-height: 100dvh; display: flex; align-items: center; text-align: center; position: relative; overflow: hidden; }
.error-code {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(7rem, 24vw, 15rem); line-height: 1; letter-spacing: -0.05em;
  background: linear-gradient(180deg, var(--text-hi) 20%, transparent 110%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  opacity: 0.9;
}

/* ---------- Utilities ---------- */
.mt-1 { margin-top: 0.5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; } .mt-6 { margin-top: 3rem; }
.center { text-align: center; }
.actions-center { display: flex; justify-content: center; gap: 0.85rem; flex-wrap: wrap; }

/* ---- Hero network map (dot-matrix Europe) ---- */
.netmap { position: relative; user-select: none; }
.netmap::before { content: ""; position: absolute; inset: -6% -6% 10% -6%; background: radial-gradient(56% 50% at 60% 42%, rgba(34, 134, 255, 0.1), transparent 72%); pointer-events: none; }
:root[data-theme="light"] .netmap::before { background: radial-gradient(56% 50% at 60% 42%, rgba(34, 134, 255, 0.07), rgba(115, 103, 240, 0.04) 55%, transparent 74%); }
.netmap svg { width: 100%; height: auto; display: block; position: relative; }
.netmap__land { display: none; }
:root[data-theme="light"] .netmap__land { display: block; }
.netmap__land path { fill: #e2ecfb; stroke: #c3d5f0; stroke-width: 1.2; stroke-linejoin: round; }
.netmap__dots circle { fill: #8fa8cf; opacity: 0.2; }
.netmap__dots circle.is-hot { fill: #5b9dff; opacity: 0.55; }
:root[data-theme="light"] .netmap__dots circle { fill: #587cb8; opacity: 0.2; r: 2.3; }
:root[data-theme="light"] .netmap__dots circle.is-hot { fill: #2286FF; opacity: 0.55; }
.netmap__arcs path { fill: none; stroke: #7367F0; stroke-opacity: 0.2; stroke-width: 1.4; stroke-dasharray: 4 6; animation: netmap-dash 1.5s linear infinite; }
:root[data-theme="light"] .netmap__arcs path { stroke: #6d5ce0; stroke-opacity: 0.35; stroke-width: 1.6; }
.netmap__links path { fill: none; stroke: #2286FF; stroke-opacity: 0.55; stroke-width: 2; }
:root[data-theme="light"] .netmap__links path { stroke: #1a56c9; stroke-opacity: 0.65; }
.netmap__pulse { filter: drop-shadow(0 0 5px rgba(34, 134, 255, 0.8)); }
:root[data-theme="light"] .netmap__pulse { filter: drop-shadow(0 0 3px rgba(26, 86, 201, 0.55)); }
.netmap__ring { fill: none; stroke-width: 1.4; transform-box: fill-box; transform-origin: center; animation: netmap-ring 3s ease-out infinite; }
.netmap__ring--late { animation-delay: 1.5s; }
.netmap__label { font-family: var(--font-display); font-weight: 700; font-size: 27px; fill: var(--text-hi); filter: drop-shadow(0 0 3px var(--bg0)) drop-shadow(0 0 4px var(--bg0)) drop-shadow(0 0 8px var(--bg0)); }
.netmap__sublabel { font-size: 17px; font-weight: 600; fill: var(--text); filter: drop-shadow(0 0 3px var(--bg0)) drop-shadow(0 0 4px var(--bg0)) drop-shadow(0 0 8px var(--bg0)); }
.netmap__chip { position: absolute; left: 0; top: 3%; display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.42rem 0.85rem; border-radius: 999px; background: var(--card-bg); border: 1px solid var(--line); font-size: 0.8rem; font-weight: 600; color: var(--text); box-shadow: 0 10px 30px rgba(5, 10, 20, 0.25); white-space: nowrap; }
:root[data-theme="light"] .netmap__chip { box-shadow: 0 10px 30px rgba(12, 19, 34, 0.1); }
.netmap__chip--right { left: auto; right: 2%; bottom: auto; top: 4%; }
.netmap__chip-dot { width: 8px; height: 8px; border-radius: 50%; background: #28C76F; box-shadow: 0 0 8px rgba(40, 199, 111, 0.8); animation: netmap-blink 2.2s ease-in-out infinite; }
@keyframes netmap-ring { 0% { transform: scale(0.55); opacity: 0.9; } 100% { transform: scale(2.7); opacity: 0; } }
@keyframes netmap-dash { to { stroke-dashoffset: -11; } }
@keyframes netmap-blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
@media (prefers-reduced-motion: reduce) {
  .netmap__traffic { display: none; }
  .netmap__ring, .netmap__arcs path, .netmap__chip-dot { animation: none; }
}

.netmap__caption { margin: 0.7rem auto 0; max-width: 46ch; text-align: center; font-size: 0.85rem; line-height: 1.5; color: var(--text-soft); }

.netmap__caption { margin: 0.7rem auto 0; max-width: 46ch; text-align: center; font-size: 0.85rem; line-height: 1.5; color: var(--text-soft); }

/* ---- Hero server rack ---- */
.rack { position: relative; display: flex; justify-content: center; user-select: none; }
.rack::before { content: ""; position: absolute; inset: -8% -10%; background: radial-gradient(52% 46% at 50% 46%, rgba(34, 134, 255, 0.14), transparent 72%); pointer-events: none; }
:root[data-theme="light"] .rack::before { background: radial-gradient(52% 46% at 50% 46%, rgba(34, 134, 255, 0.1), rgba(115, 103, 240, 0.05) 55%, transparent 74%); }
.rack svg { position: relative; width: min(100%, 420px); height: auto; filter: drop-shadow(0 26px 48px rgba(4, 8, 16, 0.5)); }
:root[data-theme="light"] .rack svg { filter: drop-shadow(0 26px 48px rgba(12, 19, 34, 0.24)); }
.rack-shadow { fill: rgba(0, 0, 0, 0.35); }
:root[data-theme="light"] .rack-shadow { fill: rgba(12, 19, 34, 0.16); }
.rack-vent line { stroke: #0c0e12; stroke-width: 2.4; }

.rack-led { filter: drop-shadow(0 0 2.5px currentColor); }
.rack-led--act { animation: rack-blink 1s steps(2, end) infinite; }
.rack-led--drive { animation: rack-flicker 3.5s linear infinite; }
@keyframes rack-blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }
@keyframes rack-flicker { 0%, 100% { opacity: 1; } 6% { opacity: 0.1; } 9% { opacity: 1; } 13% { opacity: 0.15; } 16% { opacity: 1; } 58% { opacity: 1; } 61% { opacity: 0.1; } 64% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .rack-led--act, .rack-led--drive { animation: none; } }
@media (min-width: 901px) { .hero__shot .rack svg { width: min(92%, 440px); } }

/* ---- Hero graphic gallery (temporary) ---- */
.hg { position: relative; display: flex; justify-content: center; user-select: none; min-width: 0; max-width: 100%; }
.hg svg { max-width: 100%; }
.hg::before { content: ""; position: absolute; inset: -8% -10%; background: radial-gradient(52% 46% at 50% 48%, rgba(34, 134, 255, 0.12), transparent 72%); pointer-events: none; }
:root[data-theme="light"] .hg::before { background: radial-gradient(52% 46% at 50% 48%, rgba(34, 134, 255, 0.09), rgba(115, 103, 240, 0.05) 55%, transparent 74%); }
.hg svg { position: relative; height: auto; }
.hg-shadow { fill: rgba(0, 0, 0, 0.3); }
:root[data-theme="light"] .hg-shadow { fill: rgba(12, 19, 34, 0.14); }
.hg-mote { filter: drop-shadow(0 0 4px currentColor); }
.hg-text { font-size: 15px; fill: var(--text-soft); font-weight: 600; }
.hg-text-strong { font-size: 19px; fill: var(--text-hi); font-weight: 700; font-family: var(--font-display); }
.hg-num { font-size: 12px; fill: #fff; font-weight: 700; }
.hg-text-big { font-size: 64px; fill: var(--text-hi); font-weight: 800; font-family: var(--font-display); }
.hg-mono { font-family: ui-monospace, "JetBrains Mono", "Fira Code", monospace; font-size: 15px; }
:root[data-theme="light"] .hg-check { stroke: #14418f; }
:root[data-theme="light"] .hg-glint { stroke: #14418f; stroke-opacity: 0.45; }
:root[data-theme="light"] .hg-lamp { fill: rgba(12, 19, 34, 0.16); }
:root[data-theme="light"] .hg [stroke="var(--line)"] { stroke: #9db0cf; }
:root[data-theme="light"] .hg [stroke="var(--text-soft)"] { stroke: #51617f; }
:root[data-theme="light"] .hg [fill="var(--text-soft)"] { fill: #6f87b3; }
:root[data-theme="light"] .hg-die { fill: #2a3240; }
:root[data-theme="light"] .hg-core { fill: #39424f; }
.hg-blink { animation: hg-blink 2.4s ease-in-out infinite; }
.hg-ring { animation: hg-ring 2.8s ease-out infinite; }
.hg-spin { animation: hg-spin 7s linear infinite; }
.hg-spin-slow { animation: hg-spin 26s linear infinite; }
.hg-spin-rev { animation: hg-spin 18s linear infinite reverse; }
.hg-sweep { animation: hg-spin 5.5s linear infinite; }
.hg-orbit { animation: hg-spin 14s linear infinite; }
.hg-globe { animation: hg-globe 9s ease-in-out infinite; }
.hg-float { animation: hg-float 5s ease-in-out infinite; }
.hg-dashflow { animation: hg-dash 3.2s linear infinite; }
.hg-dashflow-slow { animation: hg-dash 6s linear infinite; }
.hg-bar { animation: hg-bar 3.4s ease-in-out infinite; }
.hg-eq { animation: hg-eq 2s ease-in-out infinite alternate; }
@keyframes hg-blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.2; } }
@keyframes hg-ring { 0% { transform: scale(1); opacity: 0.8; } 100% { transform: scale(1.9); opacity: 0; } }
@keyframes hg-spin { to { transform: rotate(360deg); } }
@keyframes hg-globe { 0%, 100% { transform: rotateY(0); } 50% { transform: rotateY(24deg); } }
@keyframes hg-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@keyframes hg-dash { to { stroke-dashoffset: -360; } }
@keyframes hg-bar { 0%, 100% { transform: scaleX(1); } 50% { transform: scaleX(0.72); } }
@keyframes hg-eq { from { transform: scaleY(0.55); } to { transform: scaleY(1); } }
@media (prefers-reduced-motion: reduce) {
  .hg-blink, .hg-ring, .hg-spin, .hg-spin-slow, .hg-spin-rev, .hg-sweep, .hg-orbit, .hg-globe, .hg-float, .hg-dashflow, .hg-dashflow-slow, .hg-bar, .hg-eq { animation: none; }
  .hg-mote { display: none; }
}

.hg-globe3d canvas { width: min(100%, 520px); aspect-ratio: 1 / 1; display: block; }


/* ---- Blog article rich content (HTML from the panel editor) ---- */
.article h3 { font-size: 1.12rem; font-family: var(--font-body); font-weight: 600; margin: 1.5rem 0 0.5rem; }
.article p + p { margin-top: 0.8rem; }
.article ol { padding-left: 1.4rem; }
.article ol li { color: var(--text); font-size: 1.02rem; line-height: 1.75; }
.article blockquote { border-left: 3px solid var(--accent-line); padding: 0.2rem 0 0.2rem 1rem; margin: 1.2rem 0; color: var(--text-soft); }
.article hr { border: 0; border-top: 1px solid var(--line-soft); margin: 1.8rem 0; }
.article code { background: var(--accent-soft); border: 1px solid var(--line-soft); border-radius: 5px; padding: 0.1em 0.35em; font-size: 0.88em; }
.article pre { background: var(--card-bg); border: 1px solid var(--line); border-radius: 10px; padding: 0.9rem 1rem; overflow-x: auto; margin: 1rem 0; }
.article pre code { background: none; border: 0; padding: 0; }
.article img { max-width: 100%; height: auto; border-radius: 12px; margin: 1.2rem 0; }
.article mark { color: #1b2434; border-radius: 3px; padding: 0.05em 0.2em; }
.article a { color: var(--accent-hi); text-decoration: underline; }
.article u { text-underline-offset: 2px; }
.article .table-wrap, .article table { max-width: 100%; }
.article table { border-collapse: collapse; width: 100%; margin: 1.2rem 0; display: block; overflow-x: auto; }
.article table tbody { display: table; width: 100%; }
.article th, .article td { border: 1px solid var(--line); padding: 0.55rem 0.7rem; text-align: left; vertical-align: top; font-size: 0.95rem; line-height: 1.55; color: var(--text); }
.article th { background: var(--accent-soft); font-weight: 700; color: var(--text-hi); }

/* compare table: "Most Popular" flag (VPS view) */
.compare .cell-flag { margin-left: 0.55rem; padding: 0.14rem 0.55rem; border-radius: 999px; background: var(--accent-soft); border: 1px solid var(--accent-line); color: var(--accent-hi); font-size: 0.7rem; font-weight: 700; white-space: nowrap; }

/* unified card hover: reduced motion turns the moves off */
@media (prefers-reduced-motion: reduce) {
  a.tile:hover, .bento .tile:hover, .plan:hover, .pay-card:hover, a.legal-card:hover,
  .shot-card:hover, .post-card:hover, .post-featured:hover { transform: none; }
  a.tile:hover .tile__icon, .bento .tile:hover .tile__icon { transform: none; }
}

/* hero badges: not selectable; BGP badge scrolls to the BYO section */
.hero__badges { user-select: none; -webkit-user-select: none; }
.badge-pill--link { cursor: pointer; font-family: inherit; transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s var(--ease); }
.badge-pill--link:hover { border-color: var(--accent-line); background: var(--card-bg-hover); transform: translateY(-2px); }
#byo { scroll-margin-top: calc(var(--nav-h) + 16px); }

/* card hover lifts, re-stated after the reveal rules so they win while hovering */
a.tile:hover, .bento .tile:hover, .plan:hover, .pay-card:hover, .pop-card:hover, .stat-tile:hover,
.shot-card:hover, .shot-featured:hover, .post-card:hover, .post-featured:hover {
  border-color: var(--accent-line); background: var(--card-bg-hover);
  box-shadow: var(--shadow-card);
}
/* lift for all cards except the app-page screenshot cards */
a.tile:hover, .bento .tile:hover, .plan:hover, .pay-card:hover, .pop-card:hover, .stat-tile:hover,
.post-card:hover, .post-featured:hover { transform: translateY(-4px); }
/* custom-config card keeps its dashed accent look, same lift */
.ccc:hover { border-color: var(--accent-hi); transform: translateY(-4px); box-shadow: var(--shadow-card); }
.ccc:hover .ccc__icon { transform: scale(1.14) rotate(-6deg); transition-duration: 0.35s; transition-timing-function: cubic-bezier(0.34, 1.56, 0.64, 1); }
.faq-item:hover { border-color: var(--accent-line); }
.shot-card:hover .tile__icon, .shot-featured:hover .tile__icon { transform: scale(1.14) rotate(-6deg); transition-duration: 0.35s; transition-timing-function: cubic-bezier(0.34, 1.56, 0.64, 1); }
@media (prefers-reduced-motion: reduce) {
  a.tile:hover, .bento .tile:hover, .plan:hover, .pay-card:hover, .pop-card:hover, .stat-tile:hover, .ccc:hover,
  .shot-card:hover, .shot-featured:hover, .post-card:hover, .post-featured:hover { transform: none; }
  .shot-card:hover .tile__icon, .shot-featured:hover .tile__icon { transform: none; }
}

/* centered heroes without CTA: tighter gap to the first section */
.hero--snug { padding-bottom: 2rem; }
.hero--snug .hero__sub { margin-bottom: 0; }

/* mobile: keep decorative glows inside the page (viewport must not widen) */
@media (max-width: 900px) {
  .hg::before, .hero__shot::before, .rack::before { inset: -6% 2%; }
}
@media (max-width: 900px) {
  .btn { max-width: 100%; white-space: normal; }
}
