/*
  IPDeploy site stylesheet.

  Light, cool ground; logo ink and logo orange; one typeface (Archivo,
  variable width) whose wide cut carries the headlines. Dark heroes put
  the GPU product up front; the RTX PRO 6000 plate is the bold element.
  No all-caps labels, no glows, no decorative art.

  cfg-* class names are kept from the old stylesheet so the Alpine
  configurator markup works unchanged.

  Sections:
    1. Tokens + base
    2. Shell, header, footer
    3. Type, buttons, links
    4. Section layouts
    5. Dark heroes, GPU plate, spec strip
    6. Spec lists, product rows, contact rows
    7. GPU cards, reasons, included list, CTA band
    8. Configurator (cfg-*)
    9. Tables
   10. Page heroes + datacenter
   11. Motion + responsive
*/

/* 1. Tokens + base */

:root {
  color-scheme: dark;

  /* Dark everywhere. "ink" is the primary text color, "sheet" the raised
     surface, "on-signal" the dark text used on orange. */
  --ground: #0e1116;
  --sheet: #151a21;
  --ink: #eef1f3;
  --ink-2: #b9c1c8;
  --steel: #8b959e;
  --rule: #262d36;
  --rule-strong: #3b4450;
  --signal: #f75c1e;
  --signal-hi: #ff7a45;
  --signal-ink: #ff8f63;
  --signal-wash: rgba(247, 92, 30, 0.14);
  --on-signal: #10131a;
  --night: #0e1116;
  --night-2: #151a21;
  --night-text: #b9c1c8;
  --night-rule: #262d36;

  --sans: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  --wide: 116%;
  --shell: 1240px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
}

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

* {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-width: 320px;
  overflow-x: clip;
  color: var(--ink-2);
  background: var(--ground);
  font-family: var(--sans);
  font-size: 1.0625rem;
  font-stretch: 100%;
  line-height: 1.6;
  font-feature-settings: 'kern' 1;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

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

::selection {
  color: var(--on-signal);
  background: #ffb08f;
}

code {
  font-family: var(--mono);
  font-size: 0.9em;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: var(--gutter);
  z-index: 10;
  padding: 0.6rem 0.9rem;
  color: var(--sheet);
  background: var(--ink);
  border-radius: 4px;
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  top: 0.75rem;
}

/* 2. Shell, header, footer */

.shell {
  width: 100%;
  max-width: calc(var(--shell) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.site-header .shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
  min-height: 76px;
  padding-block: 0.75rem;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
}

/* The original logo (rack mark + Space Grotesk wordmark), at the height
   the old site used. */
.brand-logo {
  width: auto;
  height: 34px;
}

.nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem 1.6rem;
  font-size: 0.9375rem;
  font-weight: 500;
}

.nav a {
  padding-block: 0.3rem;
  color: var(--ink-2);
  text-decoration: none;
  text-underline-offset: 6px;
}

.nav a:hover {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--rule-strong);
}

.nav a[aria-current='page'] {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--signal);
  text-decoration-thickness: 2px;
}

.nav {
  margin-left: auto;
}

.header-cta {
  min-height: 40px;
  padding: 0.5rem 0.95rem;
  font-size: 0.9375rem;
}

/* Header over a dark hero (home and GPU pages). */
.site-header.on-dark {
  background: var(--night);
}

.site-header.on-dark .nav a {
  color: var(--night-text);
}

.site-header.on-dark .nav a:hover,
.site-header.on-dark .nav a[aria-current='page'] {
  color: #ffffff;
}

.site-header.on-dark :focus-visible {
  outline-color: var(--signal-hi);
}

/* AIDeploy menu in the header. js/nav.js toggles .open; without the
   script, hover and focus open it. */
.nav-group {
  position: relative;
}

.nav-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0;
  color: var(--night-text);
  background: none;
  border: 0;
  font: inherit;
  cursor: pointer;
}

.nav-trigger::after {
  content: "";
  width: 0.4em;
  height: 0.4em;
  margin-top: -0.2em;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform 160ms ease;
}

.nav-trigger:hover,
.nav-group.open .nav-trigger {
  color: #ffffff;
}

.nav-group.open .nav-trigger::after {
  margin-top: 0.2em;
  transform: rotate(225deg);
}

.nav-trigger.is-current {
  color: #ffffff;
  text-decoration: underline;
  text-decoration-color: var(--signal);
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

.nav-menu {
  display: none;
  position: absolute;
  top: calc(100% + 0.6rem);
  left: -1rem;
  z-index: 20;
  width: 19rem;
  padding: 0.4rem;
  background: var(--sheet);
  border: 1px solid var(--rule-strong);
  border-radius: 10px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

/* The Infrastructure menu sits near the right edge, so it opens leftward. */
.nav-group-end .nav-menu {
  right: -1rem;
  left: auto;
}

/* Bridges the gap under the trigger so the pointer can reach the menu. */
.nav-menu::before {
  content: "";
  position: absolute;
  inset: -0.7rem 0 auto;
  height: 0.7rem;
}

.nav-group.open .nav-menu,
.nav-group:not(.js-ready):hover .nav-menu,
.nav-group:not(.js-ready):focus-within .nav-menu {
  display: block;
}

.site-header .nav-menu a {
  display: block;
  padding: 0.7rem 0.8rem;
  border-radius: 6px;
  text-decoration: none;
}

.site-header .nav-menu a:hover,
.site-header .nav-menu a[aria-current='page'] {
  background: #1d232c;
  text-decoration: none;
}

.nav-menu strong {
  display: block;
  color: var(--ink);
  font-weight: 600;
}

.nav-menu a[aria-current='page'] strong {
  color: var(--signal-ink);
}

.nav-menu span {
  display: block;
  margin-top: 0.15rem;
  color: var(--steel);
  font-size: 0.875rem;
  font-weight: 400;
}

.site-footer {
  border-top: 1px solid var(--rule);
  color: var(--steel);
  font-size: 0.9375rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(4, minmax(0, 1fr));
  gap: 2.5rem;
  padding-block: 4rem 3rem;
}

.footer-brand p {
  max-width: 30ch;
  margin-top: 1.1rem;
}

.footer-col h2 {
  margin-bottom: 0.9rem;
  color: var(--ink);
  font-size: 0.9375rem;
  font-stretch: 100%;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.4;
}

.footer-col ul {
  list-style: none;
}

.footer-col li + li {
  margin-top: 0.45rem;
}

.footer-col a {
  color: var(--ink-2);
  text-decoration: none;
  overflow-wrap: anywhere;
}

.footer-col a:hover {
  color: var(--signal-ink);
  text-decoration: underline;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
  padding-block: 1.5rem 2.5rem;
  border-top: 1px solid var(--rule);
  font-size: 0.875rem;
}

.external-mark {
  display: inline-block;
  width: 0.7em;
  height: 0.7em;
  margin-left: 0.3em;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 9L9 3M4 3h5v5' fill='none' stroke='black' stroke-width='1.6'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 9L9 3M4 3h5v5' fill='none' stroke='black' stroke-width='1.6'/%3E%3C/svg%3E") center / contain no-repeat;
  vertical-align: 0.05em;
}

/* 3. Type, buttons, links */

h1,
h2,
h3 {
  color: var(--ink);
  font-stretch: var(--wide);
  font-weight: 640;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.6rem, 5.6vw, 4.6rem);
  letter-spacing: -0.028em;
  line-height: 1.0;
}

h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.6rem);
  letter-spacing: -0.022em;
  line-height: 1.08;
}

h3 {
  font-size: 1.1875rem;
  font-stretch: 108%;
  font-weight: 620;
  letter-spacing: -0.008em;
  line-height: 1.3;
}

p {
  max-width: 64ch;
  text-wrap: pretty;
}

.lead {
  max-width: 54ch;
  margin-top: 1.6rem;
  color: var(--ink-2);
  font-size: clamp(1.125rem, 1.5vw, 1.25rem);
  line-height: 1.55;
}

.muted {
  color: var(--steel);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2.2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.7rem 1.25rem;
  color: var(--ink);
  border: 1px solid transparent;
  border-radius: 4px;
  font-family: var(--sans);
  font-size: 0.9875rem;
  font-weight: 600;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease;
}

.button.primary {
  color: var(--on-signal);
  background: var(--signal);
  border-color: var(--signal);
}

.button.primary:hover {
  background: var(--signal-hi);
  border-color: var(--signal-hi);
}

.button.secondary {
  background: transparent;
  border-color: var(--rule-strong);
}

.button.secondary:hover {
  border-color: var(--ink);
}

.text-link {
  display: inline-block;
  color: var(--ink);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--signal);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.text-link:hover {
  color: var(--signal-ink);
}

/* 4. Section layouts */

.section {
  padding-block: clamp(4rem, 8vw, 6rem);
  border-top: 1px solid var(--rule);
}

/* Heading left, content right. */
.split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 2.5rem clamp(2.5rem, 6vw, 5.5rem);
  align-items: start;
}

.split-head p {
  margin-top: 1.25rem;
}

.split-head .text-link {
  margin-top: 1.5rem;
}

.section-head {
  max-width: 46rem;
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

.section-head p {
  margin-top: 1.1rem;
}

/* 5. Dark heroes, GPU plate, spec strip */

.dark {
  color: var(--night-text);
  background: var(--night);
}

.dark h1,
.dark h2 {
  color: #ffffff;
}

.dark .lead {
  color: var(--night-text);
}

.dark .button.secondary {
  color: #ffffff;
  border-color: #4a545f;
}

.dark .button.secondary:hover {
  border-color: #ffffff;
}

.dark :focus-visible {
  outline-color: var(--signal-hi);
}

.hero .shell {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: 3rem clamp(2.5rem, 5vw, 5rem);
  align-items: center;
  padding-block: clamp(3.5rem, 7vw, 6rem) clamp(4rem, 8vw, 6.5rem);
}

.hero h1 {
  max-width: 11ch;
  font-size: clamp(2.8rem, 6vw, 5.2rem);
}

/* RTX PRO 6000 plate: one slot per GPU in the server, then the figures. */
.plate {
  padding: 1.6rem 1.6rem 1.5rem;
  background: var(--night-2);
  border: 1px solid var(--night-rule);
  border-radius: 10px;
}

.plate-name {
  color: #ffffff;
  font-size: 1.375rem;
  font-stretch: 112%;
  font-weight: 640;
  line-height: 1.2;
}

.plate-sub {
  margin-top: 0.2rem;
  color: #8d9aa1;
  font-size: 0.9375rem;
}

.slots {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 1.4rem;
  list-style: none;
}

.slot {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 150px;
  padding: 0.55rem 0.65rem 0.6rem;
  overflow: hidden;
  border-radius: 6px;
  background: #262c35;
}

.slot::before {
  position: absolute;
  inset: 0;
  content: '';
  background: var(--signal);
  transform-origin: bottom;
  animation: fill 1.2s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.slot:nth-child(2)::before { animation-delay: 0.08s; }
.slot:nth-child(3)::before { animation-delay: 0.16s; }
.slot:nth-child(4)::before { animation-delay: 0.24s; }

.slot span {
  position: relative;
  color: var(--on-signal);
  font-size: 0.8125rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.slot strong {
  position: relative;
  color: var(--on-signal);
  font-size: 1.125rem;
  font-stretch: 110%;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}

.plate-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.25rem 1rem;
  margin-top: 1.1rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--night-rule);
}

.plate-total strong {
  color: #ffffff;
  font-size: 2.1rem;
  font-stretch: 116%;
  font-weight: 640;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.plate-total span,
.figure span {
  color: #8d9aa1;
  font-size: 0.9375rem;
}

.plate-figures {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.1rem;
}

.figure strong {
  display: block;
  color: #ffffff;
  font-size: 1.5rem;
  font-stretch: 112%;
  font-weight: 620;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.plate .text-link {
  margin-top: 1.25rem;
  color: #ffffff;
}

.plate .text-link:hover {
  color: var(--signal-hi);
}

/* GPU product page hero: product name at full width, NVIDIA figures below. */
.product-hero .shell {
  padding-block: clamp(3.5rem, 7vw, 6rem) clamp(3rem, 6vw, 4.5rem);
}

.product-hero-top {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 2rem clamp(2rem, 4vw, 4rem);
  align-items: center;
}

.product-hero-top .gpu-shot {
  width: calc(100% + var(--gutter));
  max-width: none;
  margin-right: calc(-1 * var(--gutter));
}

.product-hero h1 {
  font-size: clamp(2.8rem, 6.2vw, 5.6rem);
  letter-spacing: -0.035em;
  line-height: 0.95;
}

.product-hero .lead {
  max-width: 50ch;
}

.spec-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(3rem, 6vw, 4.5rem);
  border-top: 1px solid var(--night-rule);
}

.spec-strip div {
  padding: 1.25rem 1.5rem 0 0;
}

.spec-strip div + div {
  padding-left: 1.5rem;
  border-left: 1px solid var(--night-rule);
}

.spec-strip strong {
  display: block;
  color: #ffffff;
  font-size: clamp(1.75rem, 3.2vw, 2.6rem);
  font-stretch: 116%;
  font-weight: 640;
  letter-spacing: -0.02em;
  line-height: 1.05;
  font-variant-numeric: tabular-nums;
}

.spec-strip span {
  display: block;
  margin-top: 0.45rem;
  color: #8d9aa1;
  font-size: 0.9375rem;
}

.spec-foot {
  margin-top: 1.5rem;
  color: #8d9aa1;
  font-size: 0.8125rem;
}

/* 6. Spec lists, product rows, contact rows */

.spec {
  display: grid;
  grid-template-columns: minmax(9rem, max-content) 1fr;
  border-top: 1px solid var(--ink);
}

.spec dt,
.spec dd {
  padding-block: 0.85rem;
  border-bottom: 1px solid var(--rule);
}

.spec dt {
  color: var(--steel);
}

.spec dd {
  padding-left: 2rem;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.spec-note {
  margin-top: 1.25rem;
  color: var(--steel);
  font-size: 0.9375rem;
}

.checklist {
  list-style: none;
  border-top: 1px solid var(--ink);
}

.checklist li {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: 0.4rem 2rem;
  padding-block: 1.15rem;
  border-bottom: 1px solid var(--rule);
}

.checklist h3 {
  font-size: 1.0625rem;
  font-stretch: 104%;
}

.checklist p {
  font-size: 1rem;
}

.product-rows {
  border-top: 1px solid var(--ink);
}

.product-row {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 5fr) minmax(0, 2fr) minmax(0, 2.4fr);
  gap: 0.6rem 2rem;
  align-items: baseline;
  padding-block: 1.6rem;
  border-bottom: 1px solid var(--rule);
}

.product-row h3 {
  font-size: 1.375rem;
}

.product-row p {
  font-size: 1rem;
}

.product-price {
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.product-row .text-link {
  justify-self: end;
}

.contact-rows {
  border-top: 1px solid var(--ink);
}

.contact-row {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 4fr) minmax(0, 5fr);
  gap: 0.35rem 2rem;
  align-items: baseline;
  padding-block: 1.4rem;
  border-bottom: 1px solid var(--rule);
}

.contact-row h3 {
  font-size: 1.125rem;
}

.contact-row a {
  color: var(--ink);
  font-size: 1.125rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  text-decoration: underline;
  text-decoration-color: var(--signal);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.contact-row a:hover {
  color: var(--signal-ink);
}

.contact-row p {
  color: var(--steel);
  font-size: 0.9375rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(2rem, 5vw, 4rem);
  border-top: 1px solid var(--ink);
}

.feature {
  padding-block: 1.5rem 1.7rem;
  border-bottom: 1px solid var(--rule);
}

.feature p {
  margin-top: 0.5rem;
  font-size: 1rem;
}

/* 7. GPU cards, reasons, included list, CTA band */

.gpu-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

/* NVIDIA's product render sits on pure black; lighten drops the black into
   whatever dark ink is behind it, and the mask fades the floor reflection. */
.gpu-shot {
  width: 100%;
  height: auto;
  mix-blend-mode: lighten;
  -webkit-mask-image: linear-gradient(to bottom, #000 68%, transparent 98%);
  mask-image: linear-gradient(to bottom, #000 68%, transparent 98%);
}

.gpu-card {
  display: flex;
  flex-direction: column;
  padding: 1.6rem 1.6rem 1.5rem;
  background: var(--sheet);
  border: 1px solid var(--rule);
  border-radius: 10px;
}

.gpu-card h3 {
  font-size: 1.6rem;
  font-stretch: 112%;
}

.gpu-sub {
  margin-top: 0.25rem;
  color: var(--steel);
  font-size: 0.9375rem;
}

.gpu-body {
  margin-top: 1.25rem;
  font-size: 1rem;
}

.gpu-foot {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  margin-top: auto;
  padding-top: 1.75rem;
}

.gpu-price {
  color: var(--ink);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.gpu-card.featured {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 1rem 2rem;
  align-items: center;
  overflow: hidden;
  color: var(--night-text);
  background: var(--sheet);
  border-color: var(--rule);
}

.gpu-card-text {
  display: flex;
  flex-direction: column;
  align-self: stretch;
  padding-block: 0.5rem;
}

.gpu-card.featured h3 {
  color: #ffffff;
  font-size: 2.1rem;
}

.gpu-card.featured .gpu-sub {
  color: #8d9aa1;
}

.gpu-card.featured .gpu-price,
.gpu-card.featured .text-link {
  color: #ffffff;
}

.gpu-card.featured .text-link:hover {
  color: var(--signal-hi);
}

.gpu-card.featured :focus-visible {
  outline-color: var(--signal-hi);
}

.why {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2.5rem clamp(1.5rem, 3vw, 2.5rem);
}

.why > div {
  padding-top: 1.1rem;
  border-top: 2px solid var(--ink);
}

.why h3 {
  font-size: 1.1875rem;
}

.why p {
  margin-top: 0.5rem;
  font-size: 1rem;
}

.why.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.included {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(2rem, 5vw, 4rem);
  list-style: none;
  border-top: 1px solid var(--ink);
}

.included li {
  padding-block: 0.95rem;
  color: var(--ink);
  border-bottom: 1px solid var(--rule);
}

.dark .included {
  border-top-color: #ffffff;
}

.dark .included li {
  color: #ffffff;
  border-bottom-color: var(--night-rule);
}

.dark.section {
  border-top: 0;
}

.dark + .section {
  border-top: 0;
}

.cta-band {
  color: var(--on-signal);
  background: var(--signal);
}

.cta-band h2 {
  color: var(--on-signal);
}

.cta-band .shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem 3rem;
  padding-block: clamp(3.5rem, 7vw, 5rem);
}

.cta-band h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.cta-band p {
  margin-top: 0.75rem;
}

.cta-band .actions {
  margin-top: 0;
}

.cta-band .button.primary {
  color: #ffffff;
  background: var(--on-signal);
  border-color: var(--on-signal);
}

.cta-band .button.primary:hover {
  background: #2a3138;
  border-color: #2a3138;
}

.cta-band .button.secondary {
  color: var(--on-signal);
  border-color: var(--on-signal);
}

.cta-band .button.secondary:hover {
  background: rgba(16, 19, 26, 0.08);
}

.cta-band :focus-visible {
  outline-color: var(--on-signal);
}

.cta-band + .site-footer {
  border-top: 0;
}

/* 8. Configurator. Class names preserved for the Alpine markup. */

.cfg-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 3rem clamp(2.5rem, 5vw, 4.5rem);
  align-items: start;
}

.cfg-block {
  margin-bottom: 1.9rem;
}

.cfg-block > label,
.cfg-block > .cfg-label {
  display: block;
  margin-bottom: 0.6rem;
  color: var(--ink);
  font-size: 0.9375rem;
  font-weight: 600;
}

.cfg-segmented {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.cfg-segmented button {
  flex: 1 1 auto;
  min-width: 72px;
  min-height: 44px;
  padding: 0.6rem 0.75rem;
  color: var(--ink-2);
  background: var(--sheet);
  border: 1px solid var(--rule-strong);
  border-radius: 4px;
  font-family: var(--sans);
  font-size: 0.9375rem;
  cursor: pointer;
  transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease;
}

.cfg-segmented button:hover {
  border-color: var(--ink);
}

.cfg-segmented button.active {
  color: var(--sheet);
  background: var(--ink);
  border-color: var(--ink);
}

.cfg-hint {
  margin-top: 0.5rem;
  color: var(--steel);
  font-size: 0.875rem;
  line-height: 1.5;
}

.cfg-input {
  width: 100%;
  min-height: 46px;
  padding: 0.65rem 0.8rem;
  color: var(--ink);
  background: var(--sheet);
  border: 1px solid var(--rule-strong);
  border-radius: 4px;
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.5;
}

[x-cloak] {
  display: none !important;
}

.cfg-input-follow {
  margin-top: 0.5rem;
}

.cfg-input:focus {
  border-color: var(--ink);
  outline: 2px solid var(--signal);
  outline-offset: 1px;
}

.cfg-input option {
  color: var(--ink);
  background: var(--sheet);
}

.cfg-input::placeholder {
  color: #7a858b;
}

.cfg-summary {
  position: sticky;
  top: 1.5rem;
  padding: 1.6rem 1.6rem 1.4rem;
  background: var(--sheet);
  border: 1px solid var(--rule);
  border-radius: 8px;
  box-shadow: 0 30px 60px -40px rgba(16, 19, 26, 0.28);
}

.cfg-summary h3 {
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--ink);
  font-size: 1.125rem;
}

#cfg-summary-list {
  margin-bottom: 1.25rem;
  list-style: none;
}

#cfg-summary-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.6rem;
  border-bottom: 1px solid var(--rule);
  font-size: 0.9375rem;
  line-height: 1.45;
}

#cfg-summary-list .lbl {
  flex: 0 0 38%;
  color: var(--steel);
}

#cfg-summary-list .val {
  flex: 1;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.cfg-price {
  margin-bottom: 1.2rem;
}

.cfg-price-amt {
  color: var(--ink);
  font-size: 2.6rem;
  font-stretch: 112%;
  font-weight: 620;
  letter-spacing: -0.02em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.cfg-price-unit {
  margin-left: 0.2rem;
  color: var(--steel);
  font-size: 1rem;
}

.cfg-price-total {
  margin-top: 0.45rem;
  color: var(--steel);
  font-size: 0.875rem;
}

.cfg-price.is-quote .cfg-price-amt {
  font-size: 1.6rem;
}

#cfg-mailto {
  width: 100%;
}

.cfg-disclaimer {
  margin-top: 0.85rem;
  color: var(--steel);
  font-size: 0.8125rem;
  line-height: 1.5;
}

/* Bare metal: the server beside the headline, then option tiles that
   each carry their price. */
.server-shot {
  width: 100%;
  height: auto;
}

.opt-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.opt {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 0.15rem;
  min-height: 62px;
  padding: 0.6rem 0.85rem;
  color: var(--ink);
  background: var(--sheet);
  border: 1px solid var(--rule-strong);
  border-radius: 4px;
  font-family: var(--sans);
  font-size: 0.9375rem;
  line-height: 1.3;
  text-align: left;
  cursor: pointer;
  transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease;
}

.opt:hover {
  border-color: var(--ink);
}

.opt-price {
  color: var(--steel);
  font-size: 0.8125rem;
  font-variant-numeric: tabular-nums;
}

.opt.active {
  color: var(--sheet);
  background: var(--ink);
  border-color: var(--ink);
}

.opt.active .opt-price {
  color: #4a535c;
}

.opt-grid.os .opt {
  min-height: 52px;
}

.terms-grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 4fr) minmax(0, 3fr);
  gap: 2.5rem clamp(2rem, 4vw, 3.5rem);
}

.terms-grid h3 {
  margin-bottom: 1rem;
  font-size: 1.125rem;
}

.terms-grid .included {
  grid-template-columns: minmax(0, 1fr);
}

/* GPU request form: the summary panel reads as a draft email. */
.request-to {
  margin-bottom: 0.9rem;
  color: var(--steel);
  font-size: 0.875rem;
}

.request-to strong {
  color: var(--ink);
  font-weight: 600;
}

/* 9. Tables */

.table-scroll {
  position: relative;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  border-top: 1px solid var(--ink);
  font-variant-numeric: tabular-nums;
}

.price-table th {
  padding: 0.8rem 0.9rem 0.8rem 0;
  color: var(--steel);
  border-bottom: 1px solid var(--rule-strong);
  font-size: 0.875rem;
  font-weight: 500;
  text-align: left;
  vertical-align: bottom;
  white-space: nowrap;
}

.price-table td {
  padding: 1rem 0.9rem 1rem 0;
  color: var(--ink-2);
  border-bottom: 1px solid var(--rule);
  font-size: 0.9375rem;
  line-height: 1.45;
  vertical-align: top;
}

.price-table td:first-child {
  color: var(--ink);
  font-weight: 600;
}

.price-table td strong {
  font-weight: inherit;
}

.price-table td small {
  color: var(--steel);
  font-size: 0.8125rem;
  font-weight: 400;
}

.price-table td .price {
  color: var(--ink);
  font-weight: 600;
  white-space: nowrap;
}

.price-table .button {
  min-height: 38px;
  padding: 0.45rem 0.8rem;
  font-size: 0.875rem;
  white-space: nowrap;
}

.price-table td:last-child,
.price-table th:last-child {
  padding-right: 0;
}

/* Single-line plan rows (VPS): center the order button on the row. */
.plans-table td {
  vertical-align: middle;
}

.table-note {
  margin-top: 1.1rem;
  color: var(--steel);
  font-size: 0.9375rem;
}

/* 10. Page heroes + datacenter */

.page-hero .shell {
  padding-block: clamp(3.5rem, 7vw, 5.5rem) clamp(3.5rem, 7vw, 5rem);
}

.page-hero h1 {
  max-width: 16ch;
}

/* Datacenter photos: a wide band under the hero, then paired photos
   beside the power and cooling text. */
.photo-band {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
}

.photo-band img {
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  border-radius: 10px;
}

.photo-band figcaption,
.photo-pair figcaption {
  margin-top: 0.55rem;
  color: var(--steel);
  font-size: 0.875rem;
}

.facility-row {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: 1.5rem clamp(2.5rem, 5vw, 4.5rem);
  align-items: start;
  padding-top: 1.25rem;
  border-top: 2px solid var(--ink);
}

.facility-row + .facility-row {
  margin-top: clamp(3rem, 6vw, 4.5rem);
}

.facility-row h3 {
  font-size: 1.6rem;
  font-stretch: 112%;
}

.facility-row p {
  margin-top: 0.75rem;
}

.photo-pair {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px;
}

.photo-pair img {
  width: 100%;
  height: clamp(220px, 26vw, 360px);
  object-fit: cover;
  border-radius: 8px;
}

/* Keep the generator enclosure's louvered end in frame when cover crops. */
.photo-pair img[src$='generator.jpg'] {
  object-position: left center;
}

.facility-facts {
  margin-top: clamp(3.5rem, 7vw, 5rem);
}

.dc-map svg {
  width: 100%;
  max-width: 1040px;
  height: auto;
  overflow: visible;
}

.dc-map-outline {
  fill: var(--sheet);
  stroke: var(--rule-strong);
  stroke-width: 1;
  stroke-linejoin: round;
}

.dc-map .route {
  stroke: var(--rule-strong);
  stroke-width: 1.25;
}

.dc-map .city {
  fill: var(--sheet);
  stroke: var(--ink);
  stroke-width: 1.5;
}

.dc-map .home {
  fill: var(--signal);
  stroke: var(--sheet);
  stroke-width: 3;
}

.dc-map text {
  fill: var(--ink-2);
  font-family: var(--sans);
  font-size: 15px;
  font-variant-numeric: tabular-nums;
}

.dc-map text .ms {
  fill: var(--steel);
}

.dc-map text.home-label {
  fill: var(--ink);
  font-size: 16px;
  font-weight: 600;
}

.latency-table {
  display: none;
  margin-top: 2rem;
}

/* VPS comparison callout: orange card beside the page hero. */
.hero-with-aside {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: 2.5rem clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}

.deal {
  padding: 1.6rem 1.6rem 1.4rem;
  color: var(--on-signal);
  background: var(--signal);
  border-radius: 10px;
}

.deal-title {
  font-size: clamp(1.375rem, 2.2vw, 1.75rem);
  font-stretch: 112%;
  font-weight: 650;
  letter-spacing: -0.015em;
  line-height: 1.15;
  text-wrap: balance;
}

.deal-compare {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1.4rem;
}

.deal-compare div {
  padding-top: 0.7rem;
  border-top: 1px solid rgba(16, 19, 26, 0.35);
}

.deal-compare dt {
  font-size: 0.875rem;
}

.deal-compare dd {
  margin-top: 0.15rem;
  font-size: 1.25rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.deal-compare .ours {
  border-top: 3px solid var(--on-signal);
}

.deal-compare .ours dt {
  font-weight: 600;
}

.deal-compare .ours dd {
  font-size: 1.625rem;
  font-stretch: 112%;
  font-weight: 700;
  line-height: 1.1;
}

.deal-note {
  margin-top: 1.1rem;
  font-size: 0.8125rem;
  line-height: 1.5;
}

/* 7b. Homepage art: hero rack, burn-in chart, private network. One
   orchestrated load sequence for the rack; the chart draws once when it
   scrolls into view; LEDs and network traffic idle quietly. Final states
   are the defaults, so reduced motion shows the finished picture. */

.home-hero .shell:first-child {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: 2rem clamp(2rem, 4vw, 4rem);
  align-items: center;
  padding-block: clamp(3rem, 6vw, 5rem) 0;
}

.home-hero .shell + .shell {
  display: block;
  padding-block: 0;
}

.home-hero h1 {
  max-width: none;
  font-size: clamp(2.5rem, 5.2vw, 4.8rem);
  letter-spacing: -0.035em;
  line-height: 0.98;
}

/* Two sentences, each starting its own line. */
.home-hero h1 span,
.home-hero .lead span {
  display: block;
}

/* Headline word swap (js/headline.js). Without the script the word stays
   inline; with it, the word gets its own masked line and rolls in letter
   by letter. The padding and negative margin give ascenders and
   descenders room inside the mask without moving the line. */
.home-hero h1 .swap-line {
  display: inline;
}

.home-hero h1.is-swapping .swap-line {
  position: relative;
  display: block;
  overflow: hidden;
  padding-block: 0.04em 0.09em;
  margin-block: -0.04em -0.09em;
}

.home-hero h1 .swap,
.home-hero h1 .swap-word,
.home-hero h1 .swap-char,
.home-hero h1 .swap-probe {
  display: inline-block;
}

.home-hero h1 .swap {
  position: relative;
  white-space: nowrap;
}

.home-hero h1 .swap-char {
  white-space: pre;
}

.home-hero h1 .swap-word.is-out {
  position: absolute;
  top: 0;
  left: 0;
}

.swap-word.is-out .swap-char {
  animation: swap-out 380ms cubic-bezier(0.5, 0, 0.75, 0) both;
}

.swap-word.is-in .swap-char {
  animation: swap-in 620ms cubic-bezier(0.2, 0.7, 0.15, 1) both;
}

.home-hero h1 .swap-probe {
  position: absolute;
  top: 0;
  left: 0;
  white-space: nowrap;
  visibility: hidden;
}

@keyframes swap-in {
  from {
    opacity: 0;
    transform: translateY(110%);
  }
}

@keyframes swap-out {
  to {
    opacity: 0;
    transform: translateY(-110%);
  }
}

/* Under the hero: four short statements, each behind a thin rule. */
.value-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem clamp(1.25rem, 2.5vw, 2rem);
  margin-block: clamp(2.5rem, 5vw, 4rem) clamp(3.5rem, 7vw, 5.5rem);
}

.value-strip > div {
  padding-left: 1.25rem;
  border-left: 1px solid var(--rule-strong);
}

.value-strip p {
  max-width: 30ch;
  color: var(--steel);
  font-size: 0.9375rem;
  line-height: 1.5;
}

.value-strip .value-line {
  margin-bottom: 0.6rem;
  color: var(--ink);
  font-size: clamp(1.15rem, 1.6vw, 1.35rem);
  font-stretch: var(--wide);
  font-weight: 600;
  letter-spacing: -0.012em;
  line-height: 1.2;
  text-wrap: balance;
}

.value-line span {
  display: block;
}

/* Keeps a hyphenated phrase on one line. */
.value-line .nowrap {
  display: inline;
  white-space: nowrap;
}

.hero-art svg {
  width: 100%;
  height: auto;
  overflow: visible;
}

.rack-frame,
.rack-rail {
  fill: none;
  stroke: var(--rule-strong);
  stroke-width: 1.5;
  stroke-dasharray: 1;
  animation: draw 1.1s cubic-bezier(0.3, 0.6, 0.2, 1) both;
}

.rack-rail {
  stroke: var(--rule);
  stroke-width: 1;
}

.rack-ticks {
  stroke: var(--rule-strong);
  stroke-width: 1;
}

.unit {
  animation: unit-in 0.5s ease-out both;
}

.unit > rect:first-child {
  fill: var(--sheet);
  stroke: var(--rule-strong);
  stroke-width: 1;
}

.unit .ear {
  fill: var(--rule-strong);
}

.unit .port {
  fill: #232a33;
  stroke: var(--rule-strong);
  stroke-width: 0.75;
}

.unit .drive {
  fill: #1b2129;
  stroke: var(--rule-strong);
  stroke-width: 0.75;
}

.unit-gpu .drive {
  stroke: rgba(247, 92, 30, 0.45);
}

.unit .vent {
  stroke: var(--rule);
  stroke-width: 1;
}

.led {
  fill: var(--ink);
  opacity: 0.85;
  animation: blink 3s ease-in-out infinite;
}

.slot-empty {
  fill: #0b0e12;
  stroke: var(--rule);
  stroke-width: 1;
  stroke-dasharray: 4 4;
}

.sled {
  transform: translateX(150px);
  animation: slide-out 0.9s cubic-bezier(0.2, 0.7, 0.15, 1) 1.25s both;
}

.sled-body {
  fill: #1b2129;
  stroke: var(--signal);
  stroke-width: 1.5;
}

.sled-handle {
  fill: var(--signal);
}

.bay-fill {
  fill: var(--signal);
  stroke: var(--signal);
  stroke-width: 1;
}

.bay {
  animation: bay-on 0.45s ease-out both;
}

.bay text {
  fill: var(--on-signal);
  font-family: var(--sans);
  font-size: 9.5px;
  font-weight: 650;
}

.callout {
  animation: fade-in 0.5s ease-out 2.8s both;
}

.callout-line {
  fill: none;
  stroke: var(--signal);
  stroke-width: 1;
}

.callout-title {
  fill: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 620;
  font-stretch: 108%;
}

.callout-sub {
  fill: var(--steel);
  font-family: var(--sans);
  font-size: 13px;
}

@keyframes unit-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

@keyframes slide-out {
  from { transform: translateX(0); }
  to { transform: translateX(150px); }
}

@keyframes bay-on {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes blink {
  0%, 100% { opacity: 0.85; }
  45% { opacity: 0.25; }
  55% { opacity: 1; }
}

/* Text beside art, art in a raised panel. */
.feature-split {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: 2rem clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}

.feature-split.flip {
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
}

.feature-split.flip .feature-copy {
  order: 2;
}

.feature-copy h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.feature-copy p {
  margin-top: 1rem;
  font-size: 1.125rem;
  text-wrap: pretty;
}

.feature-copy .text-link {
  display: inline-block;
  margin-top: 1.25rem;
}

.art-panel {
  padding: clamp(1.25rem, 3vw, 2rem);
  background: var(--sheet);
  border: 1px solid var(--rule);
  border-radius: 10px;
}

.art-panel svg {
  width: 100%;
  height: auto;
  overflow: visible;
}

.art-panel figcaption {
  margin-top: 0.75rem;
  color: var(--steel);
  font-size: 0.875rem;
}

.burnin-art .grid-line {
  fill: none;
  stroke: var(--rule);
  stroke-width: 1;
}

.burnin-art .limit-line {
  stroke: var(--signal);
  stroke-width: 1.25;
  stroke-dasharray: 4 4;
}

.burnin-art .trace {
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.5;
  stroke-linejoin: round;
  stroke-linecap: round;
  stroke-dasharray: 1;
}

.burnin-art .trace:nth-of-type(2) { stroke-opacity: 0.75; }
.burnin-art .trace:nth-of-type(3) { stroke-opacity: 0.55; }
.burnin-art .trace:nth-of-type(4) { stroke-opacity: 0.4; }

.burnin-art text {
  fill: var(--steel);
  font-family: var(--sans);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

.burnin-art text.limit-label {
  fill: var(--signal-ink);
  font-weight: 600;
}

/* reveal.js adds .reveal-ready to <html>; the chart waits until visible. */
.reveal-ready [data-reveal] .trace {
  animation: draw 2.2s cubic-bezier(0.25, 0.6, 0.3, 1) both paused;
}

.reveal-ready [data-reveal].is-visible .trace {
  animation-play-state: running;
}

.network-art .col-label {
  fill: var(--steel);
  font-family: var(--sans);
  font-size: 13px;
}

.network-art .node {
  fill: #1b2129;
  stroke: var(--rule-strong);
  stroke-width: 1;
}

.network-art .n-gpu {
  stroke: rgba(247, 92, 30, 0.7);
}

.network-art .node-led {
  fill: var(--ink);
  opacity: 0.8;
}

.network-art .drop {
  stroke: var(--rule-strong);
  stroke-width: 1.25;
}

.network-art .tap {
  fill: var(--signal);
}

.network-art .bus {
  stroke: var(--signal);
  stroke-width: 2;
  opacity: 0.35;
}

.network-art .bus-traffic {
  stroke: var(--signal);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 18 46;
  animation: traffic 3.6s linear infinite;
}

.network-art .bus-label {
  fill: var(--ink);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
}

@keyframes traffic {
  to { stroke-dashoffset: -128; }
}

/* Cluster diagram: shares the network art's nodes, taps, and labels. */
.cluster-art .switch {
  fill: #1b2129;
  stroke: var(--rule-strong);
  stroke-width: 1;
}

.cluster-art .port {
  fill: var(--steel);
  opacity: 0.45;
}

.cluster-art .link {
  fill: none;
  stroke: var(--rule-strong);
  stroke-width: 1.25;
}

.cluster-art .nvlink {
  fill: rgba(247, 92, 30, 0.08);
  stroke: rgba(247, 92, 30, 0.45);
  stroke-width: 1;
}

.cluster-art .gpu {
  fill: var(--signal);
}

/* Agent sandboxes diagram: agents wired to their own VMs, backups below. */
.sandbox-art .host {
  fill: none;
  stroke: var(--rule-strong);
  stroke-width: 1;
  stroke-dasharray: 4 4;
}

.sandbox-art .agent-label {
  fill: var(--ink);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
}

.sandbox-art .vm {
  fill: #1b2129;
  stroke: var(--rule-strong);
  stroke-width: 1;
}

.sandbox-art .vm.live {
  stroke: rgba(247, 92, 30, 0.7);
}

.sandbox-art .vm-name {
  fill: var(--steel);
  font-family: var(--sans);
  font-size: 11px;
}

.sandbox-art .vm-line,
.sandbox-art .vcpu,
.sandbox-art .snap {
  fill: #2a323c;
}

.sandbox-art .vcpu.on,
.sandbox-art .snap.latest {
  fill: var(--signal);
}

.sandbox-art .vm-cursor {
  fill: var(--signal);
  animation: blink 1.8s ease-in-out infinite;
}

/* Dedicated inference diagram: app, managed endpoint, dedicated GPUs. */
.inference-art .frame {
  fill: none;
  stroke: var(--rule-strong);
  stroke-width: 1;
  stroke-dasharray: 4 4;
}

.inference-art .endpoint {
  stroke: rgba(247, 92, 30, 0.7);
}

.inference-art .node-label {
  fill: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
}

.inference-art .node-sub {
  fill: var(--steel);
  font-family: var(--sans);
  font-size: 12px;
}

/* "Coming soon" beside the AIdeploy wordmark. */
.line-label:has(.soon-tag) {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.soon-tag {
  padding: 0.2rem 0.65rem;
  color: var(--ink);
  border: 1px solid var(--signal);
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.35;
  white-space: nowrap;
}

/* HGX render: transparent background, so no blend mode needed. */
.hgx-shot {
  width: 100%;
  height: auto;
}

/* GPU quote form: one row of squares per server, eight wide for HGX. */
.gpu-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 5px;
  margin-top: 1.1rem;
  margin-bottom: 0.5rem;
}

/* HGX: one square per eight-GPU server, up to 256 servers. */
.gpu-grid.servers {
  grid-template-columns: repeat(32, minmax(0, 1fr));
  gap: 3px;
}

.gpu-grid.servers span {
  height: 7px;
  border-radius: 1.5px;
}

.gpu-grid span {
  height: 14px;
  background: #232a33;
  border-radius: 3px;
  transition: background-color 180ms ease;
}

.gpu-grid span.on {
  background: var(--signal);
}

.gpu-grid-note {
  margin-bottom: 1.25rem;
  color: var(--steel);
  font-size: 0.875rem;
}

/* AIdeploy wordmark over the AI page headlines. */
.line-label {
  margin-bottom: 1.25rem;
}

.line-label img {
  display: block;
  width: auto;
  height: 28px;
}

/* Homepage: GPU servers and clusters side by side, photo on top. */
.line-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.line-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--sheet);
  border: 1px solid var(--rule);
  border-radius: 10px;
}

.line-card-media {
  display: flex;
  align-items: center;
  justify-content: center;
  height: clamp(210px, 24vw, 300px);
  padding: 1.75rem 1.75rem 0;
}

.line-card-media img {
  max-height: 100%;
}

.line-card-media .hgx-card {
  width: auto;
  height: 100%;
}

.line-card-text {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.25rem 1.6rem 1.5rem;
}

.line-card h3 {
  font-size: 2.1rem;
  font-stretch: 112%;
}

.also-line {
  margin-top: 1.25rem;
  color: var(--steel);
  font-size: 0.9375rem;
}

/* GPU page: pointer to clusters, photo beside it. */
.scale-out {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: 1.5rem clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.scale-out .hgx-shot {
  justify-self: start;
  max-width: 380px;
}

.scale-out h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
}

.scale-out p {
  max-width: 44ch;
  margin-block: 0.9rem 1.1rem;
  font-size: 1.125rem;
}

/* Clusters page. */
.hgx-hero {
  width: 100%;
  max-width: 560px;
  height: auto;
  justify-self: end;
}

.value-strip.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.fabric-points {
  margin-top: 1.75rem;
}

.fabric-points > div {
  padding-block: 0.9rem;
  border-top: 1px solid var(--rule-strong);
}

.fabric-points h3 {
  font-size: 1.125rem;
}

.feature-copy .fabric-points p {
  margin-top: 0.3rem;
  font-size: 1rem;
}

/* 11. Motion + responsive */

@keyframes draw {
  from { stroke-dashoffset: 1; }
  to { stroke-dashoffset: 0; }
}

@keyframes fill {
  from { transform: scaleY(0); }
  to { transform: scaleY(1); }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

@media (max-width: 1020px) {
  .server-shot {
    max-width: 560px;
  }

  .terms-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .home-hero h1 {
    font-size: clamp(2.5rem, 8vw, 4.8rem);
  }

  .hero .shell,
  .home-hero .shell:first-child,
  .feature-split,
  .feature-split.flip,
  .hero-with-aside,
  .facility-row,
  .split,
  .cfg-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero .plate,
  .deal {
    max-width: 560px;
  }

  .hero-art {
    max-width: 520px;
  }

  .feature-split.flip .feature-copy {
    order: 0;
  }

  .cfg-summary {
    position: static;
  }

  .product-hero-top,
  .scale-out {
    grid-template-columns: minmax(0, 1fr);
  }

  .scale-out .hgx-shot {
    max-width: 320px;
  }

  .hgx-hero {
    max-width: 420px;
    justify-self: start;
  }

  .product-hero-top .gpu-shot {
    width: 100%;
    max-width: 640px;
    margin-right: 0;
  }

  .why,
  .why.three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .spec-strip,
  .value-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .spec-strip div:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }

  .spec-strip div:nth-child(n + 3) {
    margin-top: 1.25rem;
    border-top: 1px solid var(--night-rule);
  }

  .product-row {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .product-row p {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .product-price {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }

  .product-row .text-link {
    grid-column: 1 / -1;
    grid-row: 3;
    justify-self: start;
  }

  .footer-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

/* Below about 900px the logo, nav, and quote button no longer fit on one
   row: keep the logo and button on top and give the nav its own row. */
@media (max-width: 900px) {
  .nav {
    order: 3;
    width: 100%;
    margin-left: 0;
  }

  .header-cta {
    margin-left: auto;
  }
}

@media (max-width: 700px) {
  .opt-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .terms-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  body {
    font-size: 1rem;
  }

  .line-cards,
  .value-strip.three {
    grid-template-columns: minmax(0, 1fr);
  }

  .site-header .shell {
    min-height: 64px;
  }

  .brand-logo {
    height: 30px;
  }

  .nav {
    justify-content: space-between;
    gap: 0.35rem 0.5rem;
    font-size: 0.875rem;
  }

  /* On phones both menus open full width under the row of links. */
  .nav {
    position: relative;
  }

  .nav-group {
    position: static;
  }

  .nav-menu,
  .nav-group-end .nav-menu {
    right: 0;
    left: 0;
    width: auto;
  }

  .header-cta {
    min-height: 36px;
    padding: 0.4rem 0.75rem;
    font-size: 0.875rem;
  }

  .deal-compare {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .deal-compare .ours {
    grid-column: 1 / -1;
  }

  .photo-pair img {
    height: 200px;
  }

  /* Art scales down on phones; scale its labels back up to stay legible. */
  .burnin-art text {
    font-size: 19px;
  }

  .network-art .col-label,
  .network-art .bus-label {
    font-size: 20px;
  }

  .sandbox-art .col-label {
    font-size: 18px;
  }

  .sandbox-art .agent-label {
    font-size: 19px;
  }

  .sandbox-art .vm-name {
    font-size: 15px;
  }

  .inference-art .col-label {
    font-size: 18px;
  }

  .inference-art .node-label {
    font-size: 20px;
  }

  .inference-art .node-sub {
    font-size: 16px;
  }

  .slot {
    height: 112px;
    padding: 0.45rem 0.5rem 0.5rem;
  }

  .slot span {
    font-size: 0.75rem;
  }

  .slot strong {
    font-size: 0.9375rem;
    white-space: nowrap;
  }

  .spec-strip div {
    padding-right: 0.75rem;
  }

  .spec-strip div + div {
    padding-left: 1rem;
  }

  .spec-strip strong {
    font-size: 1.5rem;
    white-space: nowrap;
  }

  .value-strip {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
  }

  .gpu-cards,
  .why,
  .why.three,
  .included {
    grid-template-columns: minmax(0, 1fr);
  }

  .gpu-card.featured {
    grid-template-columns: minmax(0, 1fr);
  }

  .gpu-card.featured .gpu-shot {
    order: -1;
  }

  .actions {
    flex-direction: column;
    align-items: stretch;
  }

  .feature-grid,
  .checklist li,
  .contact-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .spec {
    grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  }

  .spec dd {
    padding-left: 1rem;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
  }

  .dc-map text.city-label {
    display: none;
  }

  .latency-table {
    display: block;
  }

  /* Scroll wide tables sideways instead of crushing the columns. */
  .price-table td {
    white-space: nowrap;
  }
}

/* Small phones: keep the five header links on one row. */
@media (max-width: 380px) {
  .nav {
    gap: 0.35rem 0.4rem;
    font-size: 0.8125rem;
  }

  .nav-trigger {
    gap: 0.3rem;
  }
}
