/* ============================================================
   homepage.css — Servers.com homepage (body content only)

   Scope: everything inside <main class="hp"> … the site header and
   footer keep their own styles. All classes are hp-* (BEM), all
   tokens are --hp-*. Nothing here touches global elements except
   the two @font-face rules.

   Breakpoints (desktop-first, same ladder as the product pages):
     ≤ 1150px  site header is 60px instead of 76px
     ≤  991px  tablet: columns stack, tabs become accordions
     ≤  767px  phone
     ≤  479px  small phone

   Fluid values use clamp() and scale between 375px and 1440px
   viewports (the two design widths), e.g. 40px → 66px.
   ============================================================ */


/* ------------------------------------------------------------
   0. Fonts — JetBrains Mono (medium) is self-hosted. Open Sans is
      already loaded by the site. Add to <head> for faster paint:
      <link rel="preload" href="/global/generated/assets/fonts/jetbrains-mono-500.woff2" as="font" type="font/woff2" crossorigin>
   ------------------------------------------------------------ */
.hp-container * {
    font-family: "Open Sans", Arial;
    font-style: normal;
}
   
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/global/generated/assets/fonts/jetbrains-mono-500.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
                 U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
                 U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Metric-matched fallback so the swap from the system mono font
   causes no layout shift (JetBrains Mono advance width = 0.6em). */
@font-face {
  font-family: "JetBrains Mono Fallback";
  src: local("Menlo"), local("Consolas"), local("Liberation Mono"), local("Courier New");
  size-adjust: 99.7%;
  ascent-override: 102%;
  descent-override: 30%;
}


/* ------------------------------------------------------------
   1. Tokens (on the page wrapper and on every section, so a section
      still renders correctly if it is placed without the wrapper)
   ------------------------------------------------------------ */
body { background-color: #000000; }      /* homepage is black edge to edge */

.hp,
.hp-section {
  /* colour */
  --hp-bg: #000000;
  --hp-text: #ffffff;
  --hp-text-muted: #a6a6a6;      /* inactive tab labels */
  --hp-text-dim: #444444;        /* third-level tab labels */
  --hp-text-legend: #a4adad;     /* graph legend */
  --hp-text-axis: #cccccc;       /* graph day labels */
  --hp-red: #ef3340;             /* active labels, tags, values */
  --hp-red-line: #de303d;        /* diagram frame */
  --hp-gold: #c8a757;            /* graph, diagram */
  --hp-border: #3f4646;          /* card borders, rules */
  --hp-line: #8c9090;            /* diagram connectors */
  --hp-grid: #595959;            /* graph grid lines */
  --hp-btn-bg: #ffffff;
  --hp-btn-bg-hover: #e6e6e6;
  --hp-btn-text: #000000;

  /* type */
  --hp-font: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --hp-mono: "JetBrains Mono", "JetBrains Mono Fallback", ui-monospace, Menlo, Consolas, monospace;
  --hp-h1:    clamp(1.875rem, 1.215rem + 2.817vw, 3.75rem);   /* 30px → 60px */
  --hp-h1-lh: clamp(2.25rem, 1.59rem + 2.817vw, 4.125rem);    /* 36px → 66px */
  --hp-h2:    clamp(1.75rem, 1.486rem + 1.127vw, 2.5rem);     /* 28px → 40px */
  --hp-h2-lh: clamp(2.188rem, 1.857rem + 1.408vw, 3.125rem);  /* 35px → 50px */
  --hp-h3:    clamp(1.5rem, 1.412rem + 0.3756vw, 1.75rem);    /* 24px → 28px */
  --hp-h3-lh: clamp(2rem, 1.868rem + 0.5634vw, 2.375rem);     /* 32px → 38px */
  --hp-label: clamp(1rem, 0.956rem + 0.1878vw, 1.125rem);     /* 16px → 18px (mono tab labels) */

  /* layout */
  --hp-container: 1224px;
  --hp-gutter: clamp(1rem, 0.8239rem + 0.7512vw, 1.5rem);                /* 16px → 24px */
  --hp-section-pad: clamp(2.5rem, 1.928rem + 2.441vw, 4.125rem);         /* 40px → 66px: ×2 = 80px → 132px between sections */
  --hp-header-h: 76px;                                                   /* fixed site header */
  --hp-space-xs: clamp(0.5rem, 0.412rem + 0.3756vw, 0.75rem);            /* 8px → 12px */
  --hp-space-s:  clamp(0.75rem, 0.662rem + 0.3756vw, 1rem);              /* 12px → 16px */
  --hp-space-m:  clamp(1.25rem, 1.162rem + 0.3756vw, 1.5rem);            /* 20px → 24px */
  --hp-space-l:  clamp(2rem, 1.648rem + 1.502vw, 3rem);                  /* 32px → 48px */
  --hp-space-xl: clamp(2.5rem, 1.972rem + 2.254vw, 4rem);                /* 40px → 64px */
  --hp-card-pad: clamp(1.5rem, 1.324rem + 0.7512vw, 2rem);               /* 24px → 32px */
  --hp-radius: 8px;
  --hp-btn-h: 50px;

  box-sizing: border-box;
  background: var(--hp-bg);
  color: var(--hp-text);
  font-family: var(--hp-font);
  font-size: 16px;
  line-height: 1.625;
  -webkit-font-smoothing: antialiased;
}
.hp *,
.hp-section *,
.hp *::before,
.hp-section *::before,
.hp *::after,
.hp-section *::after { box-sizing: inherit; }

@media (max-width: 1150px) {
  .hp,
  .hp-section { --hp-header-h: 60px; }
}


/* ------------------------------------------------------------
   2. Primitives
   ------------------------------------------------------------ */

/* Sections: equal padding so the gap between any two sections is
   2 × --hp-section-pad (80px on phones, 132px on desktop). */
.hp-section {
  position: relative;
  padding: var(--hp-section-pad) 0;
}
/* Below-the-fold sections skip rendering work until they're near
   the viewport; the intrinsic size keeps the scrollbar stable. */
.hp-section--lazy {
  content-visibility: auto;
  contain-intrinsic-size: auto 800px;
}

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

/* Headings */
.hp-h1 {
  margin: 0;
  font-size: var(--hp-h1);
  font-weight: 600;
  line-height: var(--hp-h1-lh);
  letter-spacing: -0.01em;
}
.hp-h2 {
  margin: 0;
  font-size: var(--hp-h2);
  font-weight: 700;
  line-height: var(--hp-h2-lh);
}
.hp-h3 {
  margin: 0;
  font-size: var(--hp-h3);
  font-weight: 700;
  line-height: var(--hp-h3-lh);
}
.hp-h4 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
}

/* Section header: centred title + lead */
.hp-head {
  max-width: 1100px;
  margin: 0 auto var(--hp-space-xl);
  text-align: center;
}
.hp-head--left {
  margin-left: 0;
  text-align: left;
}
.hp-head .hp-h2 + .hp-lead { margin-top: var(--hp-space-s); }

.hp-lead {
  margin: 0;
  font-size: 18px;
  line-height: 28px;
}
.hp-body {
  margin: 0;
  font-size: 16px;
  line-height: 26px;
}
.hp-body + .hp-body { margin-top: 16px; }

/* Mono labels (tabs, tags, table values, diagram) */
.hp-mono {
  font-family: var(--hp-mono);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.hp-tag {
  display: block;
  margin: 0;
  font-family: var(--hp-mono);
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--hp-gold);
}

/* Buttons — same look and behaviour as the product-page buttons */
.hp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: var(--hp-btn-h);
  padding: 0 24px;
  border: 0;
  border-radius: var(--hp-radius);
  background: var(--hp-btn-bg);
  color: var(--hp-btn-text);
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 150ms ease;
}
.hp-btn svg {
  flex: none;
  width: 12px;
  height: 12px;
}
.hp-btn:hover { background: var(--hp-btn-bg-hover); }
.hp-btn:focus-visible {
  outline: 2px solid var(--hp-text);
  outline-offset: 3px;
}
.hp-actions {
  display: flex;
  justify-content: center;
  margin-top: var(--hp-space-l);
}

/* Text links with an arrow ("View more →", "Read more →") */
.hp-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: inherit;
  font-size: 16px;
  font-weight: 700;
  line-height: 26px;
  text-decoration: none;
}
.hp-link svg {
  flex: none;
  width: 12px;
  height: 12px;
  transition: transform 150ms ease;
}
.hp-link:hover svg { transform: translateX(3px); }
.hp-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.hp-link:focus-visible {
  outline: 2px solid var(--hp-text);
  outline-offset: 3px;
  border-radius: 2px;
}

/* Bordered card */
.hp-card {
  border: 1px solid var(--hp-border);
  border-radius: var(--hp-radius);
}

/* Visually hidden (SEO heading for the tabs section) */
.hp-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Reusable disclosure group ("switch"): one item open at a time.
   Desktop presentation differs per block (tabs in 02, accordion
   with image in 06); the JS only toggles .is-open + aria-expanded. */
.hp-switch__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.hp-switch__trigger:focus-visible {
  outline: 2px solid var(--hp-text);
  outline-offset: 4px;
  border-radius: 2px;
}
/* Collapsible panel: animated with grid rows, no height measuring */
.hp-switch__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 300ms ease;
}
.hp-switch__panel > div {
  min-height: 0;
  overflow: hidden;
}
.is-open > .hp-switch__panel { grid-template-rows: 1fr; }
.hp-switch__panel[hidden] { display: none; }

/* Chevron for accordion triggers */
.hp-chevron {
  flex: none;
  width: 14px;
  height: 14px;
  transition: transform 300ms ease;
}
.is-open .hp-chevron { transform: rotate(180deg); }


/* ------------------------------------------------------------
   3. Hero  (01)
   ------------------------------------------------------------ */
.hp-hero {
  overflow: hidden;
  /*padding-top: calc(var(--hp-header-h) + var(--hp-section-pad));*/
  padding-top: --hp-section-pad;

  min-height: min(73.9vw, 1064px);        /* follows the image ratio up to the 1440px design */
}
.hp-hero__content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.hp-hero__lead {
  max-width: 640px;
  margin: var(--hp-space-m) auto 0;
}
.hp-hero__actions { margin-top: var(--hp-space-l); }
@media (min-width:767px){.hp-hero__actions {display:inline-flex;}}

/* Background image (desktop/tablet); in-flow image (phone).
   Capped at 1440px wide: the image's own edges are black, so wider
   screens get a seamless black margin instead of a cropped server. */
.hp-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  justify-content: center;
  margin: 0;
}
.hp-hero__img {
  display: block;
  width: 100%;
  max-width: 1440px;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
}


/* ------------------------------------------------------------
   4. Tabs  (02) — "Where are you moving from?"
   ------------------------------------------------------------ */
.hp-tabs {
  display: grid;
  grid-template-columns: minmax(0, 300px) minmax(0, 700px);
  grid-template-rows: auto auto auto 1fr;          /* 3 trigger rows + slack row */
  column-gap: clamp(3rem, 0.5rem + 8vw, 7.25rem);   /* 48px → 116px */
}
.hp-tabs__item { display: contents; }      /* trigger → column 1, panel → column 2 */

.hp-tabs__trigger {
  grid-column: 1;
  align-self: start;
  padding: 16px 0;
  font-family: var(--hp-mono);
  font-size: var(--hp-label);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--hp-text-muted);
  transition: color 200ms ease;
}
.hp-tabs__item:first-child > .hp-tabs__trigger { padding-top: 0; }
.hp-tabs__trigger:hover { color: var(--hp-text); }
.is-open > .hp-tabs__trigger { color: var(--hp-gold); }
/* the design dims each label further down the list 
.hp-tabs__item:nth-child(n+3):not(.is-open) > .hp-tabs__trigger { color: var(--hp-text-dim); }
.hp-tabs__item:nth-child(n+3):not(.is-open) > .hp-tabs__trigger:hover { color: var(--hp-text); }*/

.hp-tabs__panel {
  grid-column: 2;
  grid-row: 1 / -1;                        /* all panels share the right column */
}
.hp-tabs__panel .hp-h3 + .hp-body { margin-top: var(--hp-space-s); }

.hp-tabs__feature { margin-top: var(--hp-space-m); }
.hp-tabs__feature .hp-h4 { margin-bottom: 4px; }

/* Desktop: no collapse animation, just show/hide */
@media (min-width: 992px) {
  .hp-tabs__panel { display: none; }
  .hp-tabs__item.is-open > .hp-tabs__panel { display: block; }
}


/* ------------------------------------------------------------
   5. Graph  (03) — "Put your steady workload on bare metal"
   ------------------------------------------------------------ */
.hp-graph__head { max-width: 1040px; }
.hp-graph__actions { margin-top: var(--hp-space-l); }

.hp-graph__chart {
  position: relative;
  margin-top: 8px;                         /* the SVG reserves 95 units above the grid */
}
/* subtle full-bleed band behind the chart (design flourish) */
.hp-graph__chart::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 10%;
  bottom: -10%;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  background: linear-gradient(90deg, #101010 0%, #040404 9%, #000000 16%, #000000 94%, #020202 100%);
  pointer-events: none;
}
.hp-graph__svg {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1224 / 372;                /* reserves space: no layout shift */
}
.hp-graph__svg text {
  font-family: var(--hp-font);
  fill: var(--hp-text-axis);
}
.hp-graph__day {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-anchor: middle;
}
.hp-graph__baseline-label {
  font-size: 14px;
  font-weight: 600;
  fill: var(--hp-text);
}
.hp-graph__grid { stroke: var(--hp-grid); stroke-width: 1; }
.hp-graph__peak-fill { fill: url(#hp-hatch); }
.hp-graph__peak-line {
  fill: none;
  stroke: var(--hp-gold);
  stroke-width: 2;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}
.hp-graph__base { stroke: var(--hp-gold); stroke-width: 2; }
.hp-graph__pulse { will-change: transform; }

.hp-graph__legend {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin: clamp(1rem, 0.5rem + 2vw, 2.75rem) 0 0;   /* 16px → 44px */
  padding: 0;
  list-style: none;
  font-size: 14px;
  line-height: 20px;
  color: var(--hp-text-legend);
}
.hp-graph__legend li {
  display: flex;
  align-items: center;
  gap: 10px;
}
.hp-graph__legend svg {
  flex: none;
  width: 16px;
  height: 16px;
}


/* ------------------------------------------------------------
   6. Cards  (04) — "How Servers.com runs your baseline"
   ------------------------------------------------------------ */
.hp-cards__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.hp-cards__card {
  display: grid;
  grid-template-rows: auto 1fr auto;       /* title, body, tag */
  padding: 24px;
}
/* Shared row tracks: titles, bodies and tags line up across a row */
@supports (grid-template-rows: subgrid) {
  .hp-cards__grid { grid-auto-rows: auto; }
  .hp-cards__card {
    grid-template-rows: subgrid;
    grid-row: span 3;
  }
}
.hp-cards__card .hp-h4 { margin-bottom: 12px; }
.hp-cards__tag { margin-top: 40px; }


/* ------------------------------------------------------------
   7. Network  (05) — routing table + diagram
   ------------------------------------------------------------ */
.hp-network__block + .hp-network__block { margin-top: calc(2 * var(--hp-section-pad)); }

/* Round-trip table */
.hp-table {
  width: 100%;
  max-width: 1010px;
  margin: 0 auto;
  border-collapse: collapse;
  font-size: 16px;
  line-height: 24px;
}
.hp-table th,
.hp-table td {
  padding: 19px 0;
  border-bottom: 1px solid var(--hp-border);
  text-align: left;
  vertical-align: top;
}
.hp-table th {
  padding-top: 0;
  padding-bottom: 20px;
  font-size: 18px;
  font-weight: 700;
  line-height: 26px;
  text-transform: uppercase;
}
.hp-table th:last-child,
.hp-table td:last-child {
  width: 28%;
  padding-left: 24px;
}
.hp-table__value {
  font-family: var(--hp-mono);
  font-weight: 500;
  text-transform: uppercase;
  color: var(--hp-gold);
}
.hp-table__notes {
  max-width: 760px;
  margin: 32px auto 0;
  text-align: center;
}
.hp-table__notes p { margin: 0; font-size: 12px;line-height: 24px;}
.hp-network__actions { margin-top: 32px; }

/* Diagram (AVIF image, desktop and phone variants via <picture>) */
.hp-diagram {
  max-width: 990px;
  margin: 0 auto;
}
.hp-diagram__img {
  display: block;
  width: 100%;
  height: auto;
}



/* ------------------------------------------------------------
   8. Industries  (06) — accordion + image
   ------------------------------------------------------------ */
.hp-industries .hp-head { max-width: 780px; }
.hp-industries__layout {
  position: relative;                      /* containing block for the desktop image */
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: 80px;
  align-items: center;
}
.hp-industries__list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-bottom: 1px solid var(--hp-border);
}
.hp-industries__item { border-top: 1px solid var(--hp-border); }
.hp-industries__item:first-child { border-top: 0; }

.hp-industries__trigger {
  padding: 23px 0;
  font-family: var(--hp-mono);
  font-size: 16px;
  font-weight: 500;
  line-height: 18px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 200ms ease;
}
.hp-industries__trigger .hp-chevron { margin-right: 8px; }
.is-open > .hp-industries__trigger { color: var(--hp-red); }
.hp-industries__trigger[aria-expanded="true"] { color: var(--hp-gold); }

.hp-industries__content { padding: 8px 0 56px; }   /* inside the overflow wrapper */
.hp-industries__content .hp-link { margin-top: var(--hp-space-m); }

.hp-industries__media {
  margin: 0;
  display: flex;
  justify-content: center;
}
.hp-industries__img {
  display: block;
  width: 100%;
  max-width: 600px;
  height: auto;
  aspect-ratio: 600 / 619;
}
/* desktop: the open item's image sits in the right column */
@media (min-width: 992px) {
  .hp-industries__list .hp-industries__media {
    position: absolute;
    top: 50%;
    right: 0;
    /*width: calc(50% - 40px);*/
    width: 50%;
    transform: translateY(-50%);
  }
  .hp-industries__item:not(.is-open) .hp-industries__media { display: none; }
}


/* ------------------------------------------------------------
   9. Customers  (07)
   ------------------------------------------------------------ */
.hp-customers__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.hp-customers__card {
  display: flex;
  gap:20px;
  flex-direction: column;
  padding: 32px;
}
.hp-customers__logo {
  display: block;
  height: 30px;
  width: auto;
  max-width: 190px;
  margin-bottom: 22px;
  object-fit: contain;
  object-position: left center;
}
.hp-customers__tag {
  font-size: 12px;
  margin-bottom:-4px;
  line-height: 16px;
  text-transform: none;                    /* keeps "iGAMING" as written */
}
.hp-customers__name {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.3;
}
.hp-customers__card .hp-link { margin-top: auto; }


/* ------------------------------------------------------------
   10. When public cloud is the better answer  (08)
   ------------------------------------------------------------ */
.hp-when__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 1px minmax(0, 1fr);
  column-gap: 48px;
}
.hp-when__rule {
  width: 1px;
  background: var(--hp-border);
}
.hp-when__text .hp-lead + .hp-lead { margin-top: 16px; }


/* ------------------------------------------------------------
   11. Closing CTA  (09)
   ------------------------------------------------------------ */
.hp-cta {
  background-image: url("/global/generated/assets/images/v3/hp-cta-bg.svg");
  background-repeat: no-repeat;
  background-position: right center;
  background-size: auto 100%;
}
.hp-cta__content { max-width: 740px; }
.hp-cta__content .hp-lead { margin-top: var(--hp-space-m); }
.hp-cta__actions { margin-top: var(--hp-space-l);display:flex; }


/* ============================================================
   12. Breakpoints
   ============================================================ */

/* ---- ≤ 1199px ---- */
@media (max-width: 1199px) {
  .hp-tabs { grid-template-columns: minmax(0, 260px) minmax(0, 1fr); }
  .hp-industries__layout { column-gap: 48px; }
  .hp-cards__grid { gap: 20px; }
}

/* ---- ≤ 991px: tablet ---- */
@media (max-width: 991px) {
  /* hero: image flows below the copy; its black top tucks under the text */
  .hp-hero {
    min-height: 0;
    padding-bottom: 0;
  }
  .hp-hero__media {
    position: static;
    display: block;
    margin-top: calc(24px - 28vw);
  }
  .hp-hero__img {
    max-width: none;
    height: auto;
  }

  /* tabs → accordion */
  .hp-tabs { display: block; }
  .hp-tabs__item {
    display: block;
    border-bottom: 1px solid var(--hp-border);
  }
  .hp-tabs__trigger {
    padding: 20px 0;
    color: var(--hp-text-muted);
  }
  .hp-tabs__item:first-child > .hp-tabs__trigger { padding-top: 20px; }
  .hp-tabs__item:nth-child(n+3):not(.is-open) > .hp-tabs__trigger { color: var(--hp-text-muted); }
  .hp-tabs__item:first-child { border-top: 1px solid var(--hp-border); }
  .is-open > .hp-tabs__trigger {
    border-bottom: 1px solid var(--hp-border);
  }
  .hp-tabs__panel { grid-row: auto; }
  .hp-tabs__content { padding: 24px 0 32px; }
  .hp-tabs__panel .hp-h4 { font-size: 18px; }
  .hp-tabs__feature .hp-body {
    font-size: 14px;
    line-height: 24px;
  }

  /* cards: 2 up */
  .hp-cards__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  /* industries: stack, image inside the open item */
  .hp-industries__layout {
    display: block;
  }
  .hp-industries__content { padding: 8px 0 0; }
  .hp-industries__media { padding: 24px 0 0; }
  .hp-industries__img { max-width: 340px; }

  /* customers: 2 up (third card spans) */
  .hp-customers__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  /* when: stack */
  .hp-when__layout {
    grid-template-columns: minmax(0, 1fr);
    row-gap: var(--hp-space-m);
  }
  .hp-when__rule { display: none; }
}

/* ---- ≤ 767px: phone ---- */
@media (max-width: 767px) {
  /* section headers are left-aligned on phones */
  .hp-head {
    margin-left: 0;
    text-align: left;
  }

  /* hero: phone crop sits directly below the button */
  .hp-hero__content { text-align: left; }
  .hp-hero__lead { margin-left: 0; }
  .hp-hero__media { margin-top: var(--hp-space-m); }
  .hp-hero__actions .hp-btn { width: 100%; }

  /* graph */
  .hp-graph__legend {
    gap: 6px 16px;
    font-size: 11px;
    line-height: 16px;
  }
  .hp-graph__legend svg { width: 12px; height: 12px; }
  .hp-graph__svg { aspect-ratio: 1224 / 440; }

  /* cards */
  .hp-cards__grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .hp-cards__card { padding: 24px 24px 32px; }
  .hp-cards__tag { margin-top: 32px; }

  /* table */
  .hp-table { font-size: 14px; line-height: 24px; }
  .hp-table th { font-size: 14px; line-height: 20px; padding-bottom: 12px; }
  .hp-table th:last-child,
  .hp-table td:last-child { width: 40%; padding-left: 16px; }
  .hp-table td { padding: 14px 0; }
  .hp-table__value { font-size: 16px; }
  .hp-table__notes { text-align: left; line-height: 20px; }
  .hp-table__notes p + p { margin-top: 8px; }
  .hp-network__actions .hp-btn,
  .hp-cards .hp-actions .hp-btn,
  .hp-graph__actions .hp-btn,
  .hp-cta__actions .hp-btn { width: 100%; }

  /* industries */
  .hp-industries__trigger { padding: 23px 0; }

  /* customers: 1 up */
  .hp-customers__grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .hp-customers__card { padding: 32px 32px 32px; }

  /* when */
  .hp-when__text .hp-lead { font-size: 16px; line-height: 26px; }

  /* cta: pattern becomes a fading top band, text sits over it */
  .hp-cta {
    padding-top: 150px;
    background-image:
      linear-gradient(180deg, rgba(0, 0, 0, 0) 60px, rgba(0, 0, 0, 0.55) 150px, #000000 240px),
      url("/global/generated/assets/images/v3/hp-cta-bg.svg");
    background-position: top center, top center;
    background-size: 100% 100%, 100% auto;
  }
  .hp-cta__content { padding: 0 16px; }
}

/* ---- ≤ 479px: small phone ---- */
@media (max-width: 479px) {
  .hp-btn { width: 100%; }
}

/* ---- reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
  .hp-btn,
  .hp-link svg,
  .hp-switch__panel,
  .hp-chevron,
  .hp-tabs__trigger,
  .hp-industries__trigger { transition: none; }
}
.srv_navbar-section, .srv_navbar-mobile {background-color:#000!important}
body, #hp-globe {background-color:#000!important}