.rd-page {
  --rd-bg: #0c101b;
  --rd-panel: #131a2a;
  --rd-line: #303b54;
  --rd-text: #f3f5ff;
  --rd-muted: #b9c2d8;
  --rd-accent: #b9b5ff;
  margin: 0;
  background: var(--rd-bg);
  color: var(--rd-text);
  font-family: var(--rh-font, system-ui, sans-serif);
}
.rd-page main { background: var(--rd-bg); }
.rd-page main *, .rd-page main *::before, .rd-page main *::after { box-sizing: border-box; }
.rd-page main h1, .rd-page main h2, .rd-page main h3, .rd-page main p,
.rd-page main dl, .rd-page main dd { margin: 0; }
.rd-page main a { text-decoration: none; }
.rd-page main [hidden] { display: none !important; }
.rd-page main :is(section, article, header, div)[id] { scroll-margin-top: 112px; }

.rd-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #0c101b;
  border-bottom: 1px solid var(--rd-line);
}
.rd-hero-media, .rd-hero::after { position: absolute; inset: 0; z-index: -1; }
.rd-hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 54%; }
.rd-hero::after {
  content: "";
  background: linear-gradient(90deg, #0c101b 3%, #0c101bfa 28%, #0c101bd6 47%, #12142d39 77%),
    linear-gradient(0deg, #0c101be6, transparent 52%),
    radial-gradient(ellipse at 78% 22%, #6251e43d, transparent 66%);
}
.rd-hero-layout { position: relative; display: grid; align-items: center; min-height: 550px; padding-block: 72px; }
.rd-hero-copy { max-width: 640px; }
.rd-page main .rd-kicker {
  display: inline-flex; align-items: center; gap: 8px; color: #e0dcff;
  border: 1px solid #7a72b280; border-radius: 6px; background: #211d38;
  padding: 5px 9px; font-size: 12px; font-weight: 700; letter-spacing: .06em;
}
.rd-page main .rd-hero h1 {
  margin-block: 20px 17px;
  font: 800 clamp(44px, 5.7vw, 80px)/.98 var(--rh-display, RoyalSpace, system-ui);
  letter-spacing: -.074em;
  text-wrap: balance;
}
.rd-hero h1 span { display: block; color: #c0b9ff; }
.rd-hero-copy > p:not(.rd-kicker) { max-width: 47ch; color: #d0d6e7; font-size: clamp(14px, 1.4vw, 17px); line-height: 1.6; }
.rd-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; }
.rd-hero .rd-actions { margin-top: 25px; }
.rd-button {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  padding: 10px 14px; min-height: 44px;
  border: 1px solid transparent; border-radius: 7px;
  font: 750 13px/1.25 var(--rh-font, system-ui);
  cursor: pointer;
}
.rd-primary { background: #c5bdff; color: #171431; }
.rd-primary:hover { background: #e1ddff; }
.rd-secondary { background: #151c2ce8; color: #f0efff; border-color: #657094; }
.rd-secondary:hover { background: #262d4b; }
.rd-location {
  position: absolute; inset-inline-end: 0; bottom: 26px;
  display: flex; align-items: center; gap: 12px; padding: 10px 13px;
  border: 1px solid #7d89ae8a; border-radius: 8px; background: #101622ee;
  box-shadow: 0 8px 24px #080c1780; color: #dad6ff; font-size: 13px;
}
.rd-location strong, .rd-location small { display: block; }
.rd-location small { margin-top: 3px; color: var(--rd-muted); font-size: 11px; }

.rd-facts { background: #101725; border-bottom: 1px solid var(--rd-line); }
.rd-facts dl.rh-wrap { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); margin-inline: auto; }
.rd-facts dl > div {
  display: grid; grid-template-columns: auto minmax(0,1fr); gap: 2px 10px;
  align-content: center; padding: 17px 12px; border-inline-start: 1px solid var(--rd-line);
}
.rd-facts dl > div:last-child { border-inline-end: 1px solid var(--rd-line); }
.rd-facts svg { grid-row: span 2; align-self: center; color: #c5bdff; }
.rd-facts dt { font-weight: 750; }
.rd-facts dd { color: var(--rd-muted); font-size: 12px; }

.rd-catalog { padding-block: 65px 72px; }
.rd-page main h2 { font: 800 clamp(26px, 4.2vw, 47px)/1.08 var(--rh-display, RoyalSpace, system-ui); letter-spacing: -.05em; text-wrap: balance; }
.rd-page main .rd-section-head > p { margin-top: 8px; color: var(--rd-muted); line-height: 1.55; }
.rd-controls {
  display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 14px;
  margin-block: 24px 14px; padding: 12px;
  background: #111827; border: 1px solid var(--rd-line); border-radius: 10px;
}
.rd-filters, .rd-find { display: flex; flex-wrap: wrap; gap: 6px; }
.rd-filters button, .rd-find input, .rd-find select {
  min-height: 39px; padding: 7px 9px; border: 1px solid #46536e; border-radius: 6px;
  background: #192237; color: var(--rd-text); font: 700 12px/1.2 var(--rh-font, system-ui);
}
.rd-filters button { cursor: pointer; }
.rd-filters button:hover { border-color: #c5bdff; }
.rd-filters button[aria-pressed="true"] { background: #c5bdff; color: #14122c; border-color: #c5bdff; }
.rd-find { flex: 1 1 290px; justify-content: end; }
.rd-find label { display: grid; gap: 4px; min-width: 0; }
.rd-find label span { color: var(--rd-muted); font-size: 11px; }
.rd-find input, .rd-find select { width: 100%; min-width: 0; }
.rd-find input::placeholder { color: #aeb8d0; }
.rd-page main .rd-count { margin: 0 0 12px; color: var(--rd-muted); font-size: 13px; }
.rd-page main .rd-count strong { color: var(--rd-text); }
.rd-empty { padding: 18px; border: 1px solid var(--rd-line); border-radius: 10px; }
.rd-empty .rd-button { margin-top: 10px; }
.rd-empty a, .rd-inline-link { color: #d4cbff; text-decoration: underline !important; }

.rd-product-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 13px; }
.rd-product-grid article { display: flex; min-width: 0; }
.rd-product-grid .rh-server-card {
  --rd-family: #acd3ff;
  --rd-family-bg: #152640;
  display: flex; flex: 1; flex-direction: column; min-width: 0;
  overflow: hidden; border: 1px solid var(--rd-line); border-radius: 12px;
  background: var(--rd-panel);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.rd-product-grid .rh-server-card:hover, .rd-product-grid .rh-server-card:focus-within { border-color: var(--rd-family); box-shadow: 0 8px 22px #080c1788; }
.rd-product-grid .rh-server-card.amd { --rd-family: #ffc29a; --rd-family-bg: #332120; }
.rd-product-grid .rh-server-card.xeon { --rd-family: #bdb6ff; --rd-family-bg: #232242; }
.rh-server-heading {
  position: relative; isolation: isolate; display: grid; align-content: start; gap: 6px;
  min-height: 120px; padding: 13px 84px 13px 13px;
  background: linear-gradient(112deg,var(--rd-family-bg),#141b2a 80%);
  border-bottom: 1px solid var(--rd-line);
}
.rh-server-art {
  position: absolute; right: 11px; top: 14px; width: 62px; height: 62px;
  object-fit: cover; border: 1px solid var(--rd-family); border-radius: 9px;
}
.rh-server-family { color: var(--rd-family); font: 750 10px/1.2 var(--rh-font, system-ui); letter-spacing: .12em; }
.rd-page main .rh-server-title { font: 750 18px/1.18 var(--rh-display, RoyalSpace, system-ui); overflow-wrap: anywhere; }
.rh-server-stock { display: flex; gap: 5px; align-items: center; color: #a4edc6; font-size: 11px; }
.rh-server-stock i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.rh-server-stock.limited { color: #ffe2a0; }
.rh-server-stock.out { color: #ffb3bf; }
.rd-page main .rh-server-metrics, .rd-page main .rh-server-specs {
  display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 5px; margin-inline: 11px;
}
.rd-page main .rh-server-metrics { margin-block: 10px 5px; }
.rd-page main .rh-server-specs { margin-bottom: 11px; }
.rh-server-metrics > div, .rh-server-specs > div {
  min-width: 0; padding: 6px; border: 1px solid var(--rd-line); border-radius: 5px;
  background: #111725;
}
.rh-server-metrics > div { background: var(--rd-family-bg); }
.rh-server-metrics dt, .rh-server-specs dt { color: var(--rd-muted); font-size: 10px; }
.rh-server-metrics dd, .rh-server-specs dd { margin-top: 3px !important; color: var(--rd-text); font-size: 12px; font-weight: 700; overflow-wrap: anywhere; }
.rh-server-metrics dd { color: var(--rd-family); }
.rh-server-purchase {
  display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap;
  margin-top: auto; padding: 10px 11px;
  background: #101623; border-top: 1px solid var(--rd-line);
}
.rh-server-price { min-width: 0; }
.rh-server-price > small { display: block; color: var(--rd-muted); font-size: 10px; }
.rh-server-price > strong { color: var(--rd-text); font: 800 25px/1.25 var(--rh-display, RoyalSpace, system-ui); }
.rh-server-price > span { color: var(--rd-muted); font-size: 11px; margin-inline-start: 3px; }
.rh-server-order {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  min-height: 36px; padding: 7px 8px; border: 1px solid var(--rd-family); border-radius: 6px;
  color: #151824; background: var(--rd-family); font-size: 12px; font-weight: 800;
}
.rh-server-order:hover { background: #f0efff; }
.rh-server-order[aria-disabled] { border-color: #566079; background: #242c40; color: #d3d9e8; }

.rd-infra { border-block: 1px solid var(--rd-line); background: #101725; padding-block: 62px; }
.rd-infra-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; margin-top: 22px; }
.rd-infra-card { min-width: 0; padding: 14px; border: 1px solid var(--rd-line); background: var(--rd-panel); border-radius: 10px; }
.rd-infra-card header { display: flex; gap: 9px; align-items: center; color: #e6e2ff; }
.rd-infra-card header svg { flex: none; color: var(--rd-accent); }
.rd-infra-card h3 { font-size: 17px; }
.rd-page main .rd-infra-card p { margin: 7px 0 11px; color: var(--rd-muted); font-size: 13px; line-height: 1.45; }
.rd-infra-card img {
  display: block; width: 100%; aspect-ratio: 16 / 8;
  object-fit: contain; background: #0a0f19; border: 1px solid var(--rd-line); border-radius: 6px;
}
.rd-inline-link { display: inline-block; margin-top: 8px; font-size: 12px; }
.rd-faq { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.55fr); gap: 26px; padding-block: 62px 38px; }
.rd-faq details { border-top: 1px solid var(--rd-line); }
.rd-faq details:last-child { border-bottom: 1px solid var(--rd-line); }
.rd-faq summary { padding: 12px 0; cursor: pointer; color: #f0edff; font-weight: 700; }
.rd-page main .rd-faq p { padding-bottom: 12px; color: var(--rd-muted); line-height: 1.55; }
.rd-support {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px;
  margin-block: 12px 55px; padding: 21px; border: 1px solid #615a91; border-radius: 12px;
  background: linear-gradient(110deg,#211d3d,#141b2c);
}
.rd-page main .rd-support h2 { font-size: clamp(24px, 3.6vw, 36px); }
.rd-page main .rd-support p { margin-top: 7px; max-width: 52ch; color: var(--rd-muted); line-height: 1.5; }
.rd-page main :is(a,button,input,select,summary):focus-visible { outline: 2px solid #ddd6ff; outline-offset: 3px; }
@media (max-width: 1040px) {
  .rd-product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .rd-find { justify-content: start; }
}
@media (max-width: 760px) {
  .rd-hero-layout { min-height: 478px; padding-block: 48px 88px; }
  .rd-hero::after { background: linear-gradient(90deg,#0c101bfa,#0c101b9e), linear-gradient(0deg,#0c101bde,transparent 52%); }
  .rd-location { inset-inline-end: auto; inset-inline-start: 0; bottom: 14px; }
  .rd-facts dl.rh-wrap { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .rd-facts dl > div:nth-child(2) { border-inline-end: 1px solid var(--rd-line); }
  .rd-facts dl > div:nth-child(-n + 2) { border-bottom: 1px solid var(--rd-line); }
  .rd-catalog, .rd-infra, .rd-faq { padding-block: 38px; }
  .rd-infra-grid { grid-template-columns: 1fr; }
  .rd-infra-card img { max-height: 265px; }
  .rd-faq { grid-template-columns: 1fr; gap: 15px; }
}
@media (max-width: 590px) {
  .rd-product-grid { grid-template-columns: 1fr; }
  .rd-find label { flex: 1 1 115px; }
  .rd-hero-copy > p:not(.rd-kicker) { max-width: 42ch; }
}
@media (prefers-reduced-motion: reduce) {
  .rd-product-grid .rh-server-card { transition: none; }
}
