/* ============================================================
   MetaVirt — operations console design system
   Palette from the brand: steel gray + deep crimson. Higher
   text contrast for readability, lighter surfaces, calmer
   ornament (fewer squares, more whitespace). No gradients,
   no glass, no glow blobs — except the 3D rack, which is the
   one place the brand lets itself be a machine.
   ============================================================ */

:root {
  --bg:        #14171e;   /* ink — soft charcoal */
  --bg-soft:   #181c25;
  --panel:     #1e2330;   /* raised surface — steel */
  --panel-2:   #262d3d;
  --line:      rgba(186, 196, 218, 0.14);
  --line-strong: rgba(186, 196, 218, 0.30);
  --text:      #f1f3fa;   /* bone — bright for contrast */
  --muted:     #abb6ca;   /* readable secondary */
  --dim:       #828ea6;   /* tertiary */
  --accent:    #de545b;   /* brand crimson — on-dark text/labels */
  --accent-deep:#a5252e;  /* dark red — fills, buttons */
  --accent-bright:#f26a70;/* hover */
  --accent-ink:#ffffff;   /* text on red fills */
  --accent-dim: rgba(222, 84, 91, 0.14);
  --ok:        #5bd98a;
  --warn:      #f0b360;

  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body:    "IBM Plex Sans", system-ui, sans-serif;
  --font-mono:    "IBM Plex Mono", ui-monospace, "SF Mono", monospace;

  --radius: 4px;
  --gutter: clamp(20px, 4.5vw, 56px);
  --wrap:   1440px;
  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--accent-deep); color: #fff; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, figure { margin: 0; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------- layout helpers ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(56px, 7vw, 96px); }
.section--tight { padding-block: clamp(36px, 5vw, 60px); }
.section--soft { background: var(--bg-soft); }

.rule {
  height: 1px;
  border: 0;
  background: var(--line);
  margin: 0;
}

.grid-2 { display: grid; grid-template-columns: 1fr; gap: clamp(28px, 4vw, 56px); }
@media (min-width: 880px) { .grid-2 { grid-template-columns: 1fr 1fr; align-items: start; } }

.bg-grid {
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 44px 44px;
}

/* ---------- type ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  background: var(--accent);
  flex: none;
}

.display {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: var(--text);
}
.display--hero { font-size: clamp(2.4rem, 5.4vw, 4.2rem); }
.display--sec  { font-size: clamp(1.7rem, 3.2vw, 2.6rem); }

.lede {
  color: var(--muted);
  font-size: clamp(1.02rem, 1.4vw, 1.18rem);
  line-height: 1.75;
  max-width: 64ch;
}

.mono { font-family: var(--font-mono); }

.sec-head { margin-bottom: clamp(28px, 4vw, 48px); max-width: 820px; }
.sec-head .eyebrow { margin-bottom: 18px; }
.sec-head h2 { margin-top: 0; }
.sec-head .lede { margin-top: 22px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 15px 24px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; flex: none; transition: transform 0.18s ease; }
.btn:hover svg { transform: translateX(3px); }

.btn--primary { background: var(--accent-deep); color: #fff; }
.btn--primary:hover { transform: translateY(-1px); background: var(--accent); }

.btn--ghost { border-color: var(--line-strong); color: var(--text); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-1px); }

.btn--sm { padding: 11px 18px; font-size: 0.72rem; }

/* ---------- header / nav ---------- */
.site-head {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(20, 23, 30, 0.97);
  border-bottom: 1px solid var(--line);
}
.site-head__bar {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand img { height: 34px; width: auto; }

.nav-links {
  display: none;
  align-items: center;
  gap: 4px;
  height: 100%;
  margin-left: auto;
}
@media (min-width: 900px) { .nav-links { display: flex; } }
.nav-links > a,
.nav-links > .dropdown {
  display: inline-flex;
  align-items: center;
  height: 100%;
}
.nav-links .dropdown > a {
  display: inline-flex;
  align-items: center;
  height: 100%;
}

.nav-link {
  position: relative;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 10px 14px;
  border-radius: var(--radius);
  transition: color 0.16s ease;
}
.nav-link:hover { color: var(--text); }
.nav-link.is-active { color: var(--accent); }
.nav-link.is-active::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 2px;
  height: 1px;
  background: var(--accent);
}

.dropdown { position: relative; }
.dropdown__menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 232px;
  padding: 8px;
  background: var(--panel);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s;
}
.dropdown:hover .dropdown__menu,
.dropdown:focus-within .dropdown__menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown__menu a {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.73rem;
  letter-spacing: 0.04em;
  color: var(--muted);
  padding: 10px 12px;
  border-radius: 2px;
  transition: background 0.14s ease, color 0.14s ease;
}
.dropdown__menu a:hover { background: var(--accent-dim); color: var(--accent); }

.nav-cta { display: none; }
@media (min-width: 900px) { .nav-cta { display: inline-flex; } }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  color: var(--text);
  cursor: pointer;
}
@media (min-width: 900px) { .nav-toggle { display: none; } }
.nav-toggle svg { width: 20px; height: 20px; }

/* On mobile, keep the logo left and pin the hamburger to the far-right edge. */
@media (max-width: 899px) {
  .site-head__bar .nav-toggle { margin-left: auto; }
}

.mobile-menu {
  display: none;
  background: var(--bg);
  border-top: 1px solid var(--line);
  padding: 18px var(--gutter) 30px;
}
.mobile-menu.is-open { display: block; }
.mobile-menu a, .mobile-menu span.grp {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  padding: 11px 4px;
  border-bottom: 1px solid var(--line);
}
.mobile-menu span.grp {
  color: var(--dim);
  text-transform: uppercase;
  padding-top: 20px;
  border: 0;
  font-size: 0.66rem;
  letter-spacing: 0.18em;
}
.mobile-menu a[href*=".html"] { color: var(--muted); font-size: 0.74rem; padding-left: 14px; }
.mobile-menu a:hover { color: var(--accent); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + clamp(44px, 8vh, 92px)) 0 clamp(52px, 9vh, 96px);
  overflow: hidden;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(44px, 5vw, 64px);
  align-items: center;
  width: 100%;
}
@media (min-width: 960px) { .hero__inner { grid-template-columns: 1.02fr 0.98fr; } }

.hero h1 { margin: 22px 0 24px; }
.hero .lede { margin-bottom: 36px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 48px; }

.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
  gap: 6px 24px;
}
@media (min-width: 720px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { padding: 20px 6px 4px; }
.stat b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.6vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
.stat b em { font-style: normal; color: var(--accent); }
.stat span {
  display: block;
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ============================================================
   Isometric server rack (signature) — realistic build
   ============================================================ */
.rack-scene {
  position: relative;
  min-height: 500px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  perspective: 1600px;
}
.rack {
  position: relative;
  width: 252px;
  height: 452px;
  transform-style: preserve-3d;
  transform: rotateX(-16deg) rotateY(-8deg);
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}
.rack:active { cursor: grabbing; }
.rack__face { position: absolute; inset: 0; backface-visibility: hidden; }

/* front door */
.rack__front {
  transform: translateZ(60px);
  transform-style: preserve-3d;
  background: linear-gradient(180deg, #20263a, #1a2030);
  border: 1px solid rgba(186, 196, 218, 0.28);
  border-radius: 3px;
  padding: 9px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.rack__label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  color: var(--dim);
  height: 24px;
  padding: 0 2px;
}
.rack__label i { font-style: normal; color: var(--accent); }
.rack__leds { display: flex; gap: 5px; }
.rack__led {
  width: 5px; height: 5px;
  background: var(--accent);
  border-radius: 1px;
  animation: led 2.4s ease-in-out infinite;
}
.rack__led:nth-child(2) { animation-delay: 0.5s; }
.rack__led:nth-child(3) { animation-delay: 1.1s; }
.rack__led--idle { animation: none; opacity: 0.4; }
@keyframes led { 0%, 100% { opacity: 0.95; } 50% { opacity: 0.22; } }

/* a rack unit */
.rack__unit {
  position: relative;
  border: 1px solid rgba(186, 196, 218, 0.18);
  border-radius: 2px;
  background: linear-gradient(180deg, #262d3f, #1f2536);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  overflow: visible;
  flex: none;
}
.rack__unit--switch { height: 48px; }
.rack__unit--server { height: 60px; }
.rack__unit--storage { height: 80px; }

/* staggered depth — servers mounted at different depths */
.rack__unit--d1 { transform: translateZ(12px); }
.rack__unit--d2 { transform: translateZ(24px); }
.rack__unit--d3 { transform: translateZ(38px); }

/* rack ears / rails */
.rack__ear {
  position: absolute;
  top: 5px; bottom: 5px;
  width: 9px;
  background: #22283c;
  border: 1px solid rgba(186, 196, 218, 0.24);
  border-radius: 2px;
}
.rack__ear--l { left: -11px; }
.rack__ear--r { right: -11px; }
.rack__ear::after {
  content: "";
  position: absolute;
  inset: 3px 2px;
  background: repeating-linear-gradient(180deg, rgba(186, 196, 218, 0.16) 0 3px, transparent 3px 8px);
}

/* unit meta row */
.rack__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.52rem;
  letter-spacing: 0.12em;
  color: var(--dim);
  padding: 5px 7px 3px;
}
.rack__meta b { font-weight: 500; color: var(--muted); }
.rack__unit-leds { display: flex; align-items: center; gap: 4px; }
.rack__unit-leds span { width: 4px; height: 4px; border-radius: 1px; background: #3a4358; }
.rack__unit-leds span.on { background: var(--accent); animation: led 3s ease-in-out infinite; }
.rack__unit-leds span.on:nth-child(2) { animation-delay: 0.7s; }
.rack__unit-leds span.on:nth-child(3) { animation-delay: 1.4s; }
.rack__unit-leds span.pw { background: var(--ok); animation: none; }

/* drive bays (2.5" cells) */
.rack__drives {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 3px;
  padding: 3px 7px 6px;
}
.rack__drives i {
  height: 12px;
  background: #161b29;
  border: 1px solid rgba(186, 196, 218, 0.12);
  border-radius: 1px;
}
.rack__drives i.on { background: #2b3449; border-color: rgba(186, 196, 218, 0.2); }

/* network switch ports */
.rack__ports {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 3px;
  padding: 4px 7px 6px;
}
.rack__ports i {
  height: 9px;
  background: #12161f;
  border: 1px solid rgba(186, 196, 218, 0.14);
  border-radius: 1px;
}
.rack__ports i.hot { background: var(--accent-deep); opacity: 0.9; }

/* blanking / vent plate */
.rack__vent {
  height: 11px;
  flex: none;
  border: 1px solid rgba(186, 196, 218, 0.12);
  border-radius: 2px;
  background: repeating-linear-gradient(90deg, #1b2130 0 3px, #161b29 3px 8px);
}

/* PDU */
.rack__pdu {
  height: 36px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 9px;
  background: #191f2d;
  border: 1px solid rgba(186, 196, 218, 0.2);
  border-radius: 2px;
}
.rack__btn {
  width: 13px; height: 13px;
  border-radius: 2px;
  background: #12161f;
  border: 1px solid rgba(186, 196, 218, 0.24);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
}
.rack__btn.on { background: var(--accent-deep); box-shadow: none; }

/* enclosure top / sides — fan grille and rails */
.rack__top {
  transform: rotateX(90deg) translateZ(226px);
  background:
    repeating-linear-gradient(90deg, #1c2233 0 4px, #151a29 4px 9px);
  border: 1px solid rgba(186, 196, 218, 0.26);
  border-radius: 3px;
}
.rack__left {
  transform: rotateY(-90deg) translateZ(126px);
  background: linear-gradient(90deg, #151a29, #1a2030);
  border: 1px solid rgba(186, 196, 218, 0.22);
}
.rack__left::after, .rack__right::after {
  content: "";
  position: absolute;
  inset: 30px 8px;
  background: repeating-linear-gradient(180deg, rgba(186, 196, 218, 0.12) 0 3px, transparent 3px 10px);
}
.rack__right {
  transform: rotateY(90deg) translateZ(126px);
  background: linear-gradient(90deg, #1c2233, #151a29);
  border: 1px solid rgba(186, 196, 218, 0.22);
}

.rack__shadow {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 430px;
  height: 430px;
  transform: translate(-50%, -36%);
  background: radial-gradient(closest-side, rgba(0, 0, 0, 0.55), transparent 70%);
  z-index: -1;
}
.rack-tag {
  margin-top: 40px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dim);
}

@media (prefers-reduced-motion: reduce) {
  .rack__led, .rack__unit-leds span.on { animation: none; opacity: 0.5; }
  .rack { transition: none; }
}

/* ---------- console-window frame (dashboard screenshots) ---------- */
.console {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--panel);
  overflow: hidden;
}
.console__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
}
.console__dots { display: flex; gap: 5px; }
.console__dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); }
.console__dots i:first-child { background: var(--warn); }
.console__dots i:last-child { background: var(--accent); }
.console__url {
  margin-left: 8px;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.06em;
  color: var(--dim);
}
.console img { width: 100%; display: block; }

/* map console (contact page) */
.map-console {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--panel);
  overflow: hidden;
}
.map-frame {
  position: relative;
  width: 100%;
  height: 320px;
  background: var(--bg-soft);
}
.map-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  filter: grayscale(0.15) contrast(1.02);
}
.console figcaption {
  padding: 13px 16px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- product directory rows ---------- */
.prod-list { border-top: 1px solid var(--line); }
.prod-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px 28px;
  padding: clamp(22px, 3vw, 32px) 4px;
  border-bottom: 1px solid var(--line);
}
@media (min-width: 860px) { .prod-row { grid-template-columns: 160px 210px 1fr 130px; align-items: baseline; } }
.prod-row h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; letter-spacing: -0.01em; }
.prod-row h3 a { color: var(--text); transition: color 0.15s ease; }
.prod-row:hover h3 a { color: var(--accent); }
.prod-row__tag { font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.prod-row p { color: var(--muted); font-size: 0.98rem; line-height: 1.6; }
.prod-row__link {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-self: start;
  transition: color 0.15s ease;
}
.prod-row:hover .prod-row__link { color: var(--accent); }
.prod-row__link svg { width: 14px; height: 14px; }

/* ---------- solutions editorial rows ---------- */
.sol { border-top: 1px solid var(--line); padding-block: clamp(44px, 6vw, 68px); }
.sol:first-of-type { border-top: 0; padding-top: 0; }
@media (min-width: 900px) {
  .sol { display: grid; grid-template-columns: 220px 1fr; gap: 48px; }
}
.sol__label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
  padding-top: 8px;
}
.sol__label i {
  font-style: normal;
  display: block;
  color: var(--accent);
  margin-bottom: 8px;
  font-size: 0.9rem;
  letter-spacing: 0.2em;
}
.sol h3 { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.5rem, 2.6vw, 2.2rem); letter-spacing: -0.015em; margin-bottom: 18px; }
.sol h3 + p, .sol .sol__body > p { color: var(--muted); line-height: 1.7; max-width: 60ch; }

/* ---------- panels & cards ---------- */
.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(24px, 3vw, 36px);
}
.panel--accent { border-left: 3px solid var(--accent); }
.panel h4 { font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; margin-bottom: 16px; }
.panel .kicker {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: 14px;
}

.feature-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 680px) { .feature-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) {
  .feature-grid { grid-template-columns: 1fr 1fr 1fr; grid-auto-rows: minmax(0, 1fr); }
  .feature-grid .feature--lead { grid-column: span 2; }
}
.feature {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(24px, 2.6vw, 32px);
  transition: border-color 0.18s ease, transform 0.18s ease;
}
.feature:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.feature__num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin-bottom: 18px;
}
.feature h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.22rem; margin-bottom: 10px; }
.feature p { color: var(--muted); font-size: 0.97rem; line-height: 1.66; }

/* compact feature cards (no wasted vertical space) */
.feature-grid--tight { gap: 14px; }
@media (min-width: 980px) { .feature-grid--tight { grid-template-columns: 1fr 1fr 1fr; } }
.feature--compact { padding: 24px 26px; }
.feature--compact .feature__num { margin-bottom: 12px; font-size: 0.64rem; }
.feature--compact h3 { font-size: 1.12rem; margin-bottom: 6px; }
.feature--compact p { font-size: 0.94rem; line-height: 1.55; color: var(--muted); }

/* solution highlight cards (readable, even sizing, no underline glitch) */
.sol-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 640px) { .sol-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .sol-grid { grid-template-columns: 1fr 1fr 1fr; } }
.sol-card {
  display: block;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
  transition: border-color 0.18s ease, transform 0.18s ease;
  text-decoration: none;
}
.sol-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.sol-card h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; color: var(--text); margin-bottom: 6px; }
.sol-card p { color: var(--muted); font-size: 0.9rem; line-height: 1.5; }

.ticks { display: grid; gap: 12px; }
.ticks li {
  display: flex;
  gap: 12px;
  align-items: baseline;
  color: var(--muted);
  font-size: 0.97rem;
  line-height: 1.6;
}
.ticks li::before {
  content: "";
  flex: none;
  width: 6px; height: 6px;
  transform: translateY(-2px);
  background: var(--accent);
  border-radius: 1px;
}
.ticks--warn li::before { background: var(--warn); }

/* OS support rows: name locks to a left column, status pins right */
.ticks .os-row > span:first-of-type { flex: 1; min-width: 0; }

/* File-system grid: 1 col mobile, 2 cols tablet, 4 cols desktop */
.fs-grid { grid-template-columns: 1fr !important; }
@media (min-width: 680px) { .fs-grid { grid-template-columns: 1fr 1fr !important; } }
@media (min-width: 1000px) { .fs-grid { grid-template-columns: repeat(4, 1fr) !important; } }

/* ARM & other architectures panel — full width, rows wrap on mobile */
.arm-panel { grid-column: 1 / -1 !important; }
.arm-panel .grid-2 { grid-template-columns: 1fr !important; }
@media (min-width: 680px) { .arm-panel .grid-2 { grid-template-columns: 1fr 1fr !important; } }
.arm-panel .os-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line-soft);
}
.arm-panel .os-row > span:first-child { flex: 1; min-width: 0; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.05em;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 7px 11px;
  background: var(--bg-soft);
}
.chip--accent { color: var(--accent); border-color: var(--accent-dim); background: var(--accent-dim); }

.kpi { padding: 26px 4px; border-top: 1px solid var(--line); }
.kpi b {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.02em;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
.kpi b em { font-style: normal; color: var(--accent); }
.kpi span {
  display: block;
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.kpi-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 40px; }
@media (min-width: 900px) { .kpi-grid { grid-template-columns: repeat(4, 1fr); } }

.tco { display: grid; gap: 26px; }
.tco__row .tco__top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; gap: 12px; flex-wrap: wrap; }
.tco__row .tco__top span {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.tco__row .tco__top b {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  font-variant-numeric: tabular-nums;
  color: var(--text);
}
.tco__row .tco__top b.dim { color: var(--dim); text-decoration: line-through; }
.tco__track { height: 10px; background: var(--panel-2); border: 1px solid var(--line); border-radius: 2px; overflow: hidden; }
.tco__fill { height: 100%; }
.tco__fill--full { width: 100%; background: #3a4668; }
.tco__fill--mv { width: 33%; background: var(--accent-deep); }

/* ---------- tables ---------- */
.table-wrap { overflow-x: auto; }
table.hcl { width: 100%; border-collapse: collapse; font-size: 0.94rem; }
table.hcl th {
  text-align: left;
  font-family: var(--font-mono);
  font-size: 0.67rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dim);
  padding: 12px 14px;
  border-bottom: 1px solid var(--line-strong);
}
table.hcl td {
  padding: 14px 14px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  vertical-align: top;
}
table.hcl td:first-child { color: var(--text); font-weight: 500; white-space: nowrap; }
.status { display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.08em; white-space: nowrap; }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; }
.status--ok::before { background: var(--ok); }
.status--warn::before { background: var(--warn); }
.status--ok { color: var(--ok); }
.status--warn { color: var(--warn); }

.doc-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 15px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--bg-soft);
  transition: border-color 0.15s ease;
}
.doc-row:hover { border-color: var(--accent-dim); }
.doc-row b { font-size: 0.92rem; font-weight: 500; color: var(--text); }
.doc-row span { font-family: var(--font-mono); font-size: 0.63rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); white-space: nowrap; }

/* ---------- tabs ---------- */
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
  margin-bottom: clamp(30px, 4vw, 46px);
}
.tab {
  font-family: var(--font-mono);
  font-size: 0.73rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 11px 17px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: none;
  cursor: pointer;
  transition: all 0.16s ease;
}
.tab:hover { color: var(--text); border-color: var(--line-strong); }
.tab.is-active { color: #fff; background: var(--accent-deep); border-color: var(--accent-deep); }
.tab-pane { display: none; }
.tab-pane.is-active { display: block; }

/* ---------- forms ---------- */
.field label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.67rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.field input, .field select, .field textarea {
  width: 100%;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.97rem;
  padding: 13px 15px;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--panel);
}
.field ::placeholder { color: var(--dim); }
/* certification badges */
.cert-strip { display: flex; gap: 10px; flex-wrap: wrap; }
.cert-note {
  margin: 12px 0 0;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  color: var(--dim);
  line-height: 1.5;
  max-width: 46ch;
}
.cert-grid { display: grid; grid-template-columns: 1fr; gap: 14px 28px; }
@media (min-width: 680px) { .cert-grid { grid-template-columns: 1fr 1fr; } }
.cert-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 20px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.cert-item b {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  color: var(--text);
}
.cert-item span {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

/* quick-link rows (contact page) */
.quicklinks {
  display: grid;
  border-top: 1px solid var(--line);
}
.quicklink {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: clamp(20px, 2.6vw, 30px) 6px;
  border-bottom: 1px solid var(--line);
  transition: background 0.16s ease;
}
.quicklink:hover { background: var(--accent-dim); }
.quicklink__icon {
  flex: none;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-dim);
  border-radius: var(--radius);
  color: var(--accent);
}
.quicklink__icon svg { width: 26px; height: 26px; }
.quicklink__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.quicklink__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.18rem;
  color: var(--text);
}
.quicklink__desc {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}
.quicklink__arrow {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: var(--dim);
  transition: color 0.16s ease, transform 0.16s ease;
}
.quicklink__arrow svg { width: 18px; height: 18px; }
.quicklink:hover .quicklink__arrow { color: var(--accent); transform: translateX(3px); }

.contact-status {
  margin: 14px 0 0;
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--muted);
}
.contact-status--ok { color: var(--ok); }
.contact-status--err { color: var(--accent); }

.form-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 720px) { .form-grid { grid-template-columns: 1fr 1fr; } }
.form-grid .span-2 { grid-column: 1 / -1; }

/* ---------- quote ---------- */
.quote { position: relative; padding: 10px 0 6px; }
.quote::before {
  content: "\201C";
  position: absolute;
  top: -20px;
  left: -6px;
  font-family: var(--font-display);
  font-size: 4.5rem;
  line-height: 1;
  color: var(--line-strong);
}
.quote blockquote {
  font-family: var(--font-body);
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  line-height: 1.55;
  color: var(--text);
  font-weight: 300;
  letter-spacing: -0.005em;
  max-width: 46ch;
}
.quote figcaption { margin-top: 22px; }
.quote figcaption b { display: block; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text); }
.quote figcaption span { display: block; margin-top: 4px; font-family: var(--font-mono); font-size: 0.67rem; letter-spacing: 0.08em; color: var(--accent); }

.steps { display: grid; gap: 0; }
.step {
  display: flex;
  gap: 18px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}
.step b {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--accent);
  width: 30px;
  flex: none;
  font-variant-numeric: tabular-nums;
}
.step div p { color: var(--muted); font-size: 0.97rem; }
.step div b.nm { color: var(--text); font-weight: 600; display: block; margin-bottom: 3px; font-family: var(--font-body); }

.rv { opacity: 0; transform: translateY(10px); transition: opacity 0.55s ease, transform 0.55s ease; }
.rv.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; } }

/* ---------- footer ---------- */
.site-foot { border-top: 1px solid var(--line); padding-top: clamp(52px, 6vw, 76px); }
.foot-grid { display: grid; grid-template-columns: 1fr; gap: 36px; }
@media (min-width: 720px) { .foot-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.foot-brand img { height: 30px; width: auto; margin-bottom: 18px; }
.foot-brand p { color: var(--dim); font-size: 0.9rem; line-height: 1.65; max-width: 34ch; }
.foot-col h5 {
  font-family: var(--font-mono);
  font-size: 0.67rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dim);
  margin: 0 0 18px;
}
.foot-col ul { display: grid; gap: 10px; }
.foot-col a { color: var(--muted); font-size: 0.92rem; transition: color 0.14s ease; }
.foot-col a:hover { color: var(--accent); }
.foot-social { display: flex; gap: 10px; margin-top: 20px; }
.foot-social a {
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  transition: all 0.16s ease;
}
.foot-social a:hover { color: var(--accent); border-color: var(--accent); }
.foot-social svg { width: 16px; height: 16px; }
.foot-base {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0 32px;
  margin-top: 44px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  color: var(--dim);
}
.foot-base .live { display: inline-flex; align-items: center; gap: 8px; }
.foot-base .live i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: led 2.4s ease-in-out infinite; }

/* ---------- page headers ---------- */
.page-head {
  padding: calc(var(--header-h) + clamp(48px, 7vw, 88px)) 0 clamp(30px, 4vw, 52px);
  border-bottom: 1px solid var(--line);
}
.page-head .eyebrow { margin-bottom: 20px; }
.page-head h1 { margin-bottom: 18px; }
.page-head .lede { max-width: 66ch; }

/* ============================================================
   WHY METAVIRT / ABOUT — spec-sheet rows
   ============================================================ */
.spec { border-top: 1px solid var(--line); }
.spec--panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  padding: 6px clamp(18px, 2.4vw, 30px);
  margin: 24px 0 26px;
  overflow: hidden;
}
.spec--panel .spec__row { border-bottom-color: var(--line); }
.spec__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px 40px;
  padding: clamp(20px, 2.6vw, 30px) 4px;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
@media (min-width: 760px) { .spec__row { grid-template-columns: 250px 1fr; } }
.spec__key {
  display: flex;
  align-items: baseline;
  gap: 14px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--text);
}
.spec__idx {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--accent);
}
.spec__val {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.66;
  max-width: 72ch;
}
.spec__tags {
  display: block;
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dim);
}
.spec__num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  letter-spacing: -0.02em;
  color: var(--text);
  font-variant-numeric: tabular-nums;
  margin-right: 6px;
}
.spec__num em { font-style: normal; color: var(--accent); }
.spec__num--inline { font-size: 1.05rem; }
.spec__cta .spec__val {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  align-items: center;
  justify-content: space-between;
}

/* ============================================================
   CAPABILITY CHIPS — Backup & DR (solutions)
   ============================================================ */
.cap-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 28px;
}
@media (min-width: 560px) { .cap-grid { grid-template-columns: repeat(4, 1fr); } }
.cap {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.cap b {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--text);
}
.cap span {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dim);
}

/* ============================================================
   LOCAL BAND — Bangladesh
   ============================================================ */
.local-band {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--line);
}
@media (min-width: 700px) { .local-band { grid-template-columns: 1fr 1fr; } }
.local-band__row {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: clamp(22px, 2.6vw, 30px);
  border-bottom: 1px solid var(--line);
}
@media (min-width: 700px) { .local-band__row { border-right: 1px solid var(--line); } }
.local-band__row:nth-child(odd) { border-right: 1px solid var(--line); }
.local-band__row:nth-child(odd):last-child { border-right: 0; }
.local-band__icon {
  flex: none;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-dim);
  border-radius: var(--radius);
  color: var(--accent);
}
.local-band__icon svg { width: 24px; height: 24px; }
.local-band__row h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  margin: 0 0 6px;
}
.local-band__row p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.62;
  margin: 0;
  max-width: 52ch;
}

.two-col-desc { display: grid; grid-template-columns: 1fr; gap: clamp(24px, 3vw, 44px); align-items: start; }
@media (min-width: 900px) { .two-col-desc { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .feature, .prod-row__link svg { transition: none; }
}

/* ============================================================
   LIGHT THEME (browser / OS preference)
   Placed last so it overrides the dark base rules above.
   ============================================================ */
@media (prefers-color-scheme: light) {
  :root {
    --bg:          #f5f6f9;
    --bg-soft:     #eceef3;
    --panel:       #ffffff;
    --panel-2:     #e4e8ef;
    --line:        rgba(40, 50, 70, 0.12);
    --line-strong: rgba(40, 50, 70, 0.28);
    --text:        #1c2430;
    --muted:       #46536a;
    --dim:         #6b7890;
    --accent:      #b02c35;
    --accent-deep: #a5252e;
    --accent-bright: #d94a52;
    --accent-ink:  #ffffff;
    --accent-dim:  rgba(176, 44, 53, 0.12);
    --ok:          #1c8c4d;
    --warn:        #b26a1c;
  }

  /* header — light, clearly visible */
  .site-head {
    background: rgba(245, 246, 249, 0.97);
    border-bottom-color: var(--line);
  }
  .nav-link { color: var(--muted); }
  .nav-link:hover { color: var(--text); }
  .nav-link.is-active { color: var(--accent); }
  .nav-toggle { color: var(--text); }
  .btn--ghost { color: var(--text); }
  .btn--ghost:hover { color: var(--accent); }
  .mobile-menu { background: var(--bg); }
  .mobile-menu a { color: var(--text); border-bottom-color: var(--line); }

  /* rack — full light recolor including borders & text */
  .rack__face.rack__front {
    background: linear-gradient(180deg, #e9ecf2, #dfe3eb);
    border-color: rgba(40, 50, 70, 0.28);
  }
  .rack__unit {
    background: linear-gradient(180deg, #ffffff, #f2f4f8);
    border-color: rgba(40, 50, 70, 0.16);
  }
  .rack__unit .rack__meta b { color: #39455a; }
  .rack__unit .rack__meta { color: #6b7890; }
  .rack__ear {
    background: #dfe3ea;
    border-color: rgba(40, 50, 70, 0.22);
  }
  .rack__ear::after {
    background: repeating-linear-gradient(180deg, rgba(40, 50, 70, 0.14) 0 3px, transparent 3px 8px);
  }
  .rack__top {
    background: repeating-linear-gradient(90deg, #e2e6ee 0 4px, #d7dbe4 4px 9px);
    border-color: rgba(40, 50, 70, 0.26);
  }
  .rack__left {
    background: linear-gradient(90deg, #d7dbe4, #dfe3eb);
    border-color: rgba(40, 50, 70, 0.22);
  }
  .rack__right {
    background: linear-gradient(90deg, #e4e8ef, #d7dbe4);
    border-color: rgba(40, 50, 70, 0.22);
  }
  .rack__left::after, .rack__right::after {
    background: repeating-linear-gradient(180deg, rgba(40, 50, 70, 0.12) 0 3px, transparent 3px 10px);
  }
  .rack__drives i { background: #d3d9e3; border-color: rgba(40, 50, 70, 0.12); }
  .rack__drives i.on { background: #c3cad6; border-color: rgba(40, 50, 70, 0.18); }
  .rack__ports i { background: #cfd5e0; border-color: rgba(40, 50, 70, 0.12); }
  .rack__ports i.hot { background: var(--accent-deep); }
  .rack__vent {
    background: repeating-linear-gradient(90deg, #dde2ea 0 3px, #d2d7e1 3px 8px);
    border-color: rgba(40, 50, 70, 0.14);
  }
  .rack__pdu {
    background: #dde2ea;
    border-color: rgba(40, 50, 70, 0.2);
  }
  .rack__btn { background: #c3c9d4; border-color: rgba(40, 50, 70, 0.24); }
  .rack__btn.on { background: var(--accent-deep); }
  .rack__shadow { background: radial-gradient(closest-side, rgba(40, 50, 70, 0.35), transparent 70%); }
}
