/* /datacenter-proxies/ hero B (draft 13/11/2026). Markup: in the page (first written by datacenter-hero-b.mjs). Script: hero-b.js.
   The look of the residential first screen (residential-proxies/hero-b/hero-b.css) with its own selectors. Everything
   is scoped under #dhb (an id: this page's themes, dc.css and infrastructure-hubs.css, recolour headings, paragraphs,
   links and buttons inside <main> with selectors stronger than a class). Four elements keep the class they had in the
   old hero because other scripts look for them (.lead, .tool-byline, .trust, .btn-cta / .btn-outline): their old
   rules are overridden here. infrastructure-hubs.css and proxy-country-preserve.css switch every transition and
   animation inside <main> off with !important: the few this hero needs are set with !important too.
   One teal element (the main button), no amber. */
#dhb{--dhb-soft:#C9D1E3;--dhb-dim:#96A1BA;--dhb-hair:rgba(255,255,255,.16);--dhb-ice:#9CC4FF;position:relative;margin:0;padding:0;width:auto;max-width:none;background:#000;color:#fff;overflow:hidden;font-family:var(--font-body,'InterVar',system-ui,sans-serif);text-align:left}
#dhb *{box-sizing:border-box}
#dhb [hidden]{display:none!important}
#dhb p{margin:0;color:inherit;line-height:1.45}
#dhb b,#dhb strong{color:inherit}
#dhb .dhb-in{max-width:1288px;margin:0 auto;padding:16px 24px 38px;display:grid;grid-template-columns:minmax(0,47%) minmax(0,53%);grid-template-rows:minmax(0,1fr) auto auto minmax(0,1fr) auto auto auto}
#dhb .dhb-head{grid-area:2/1/3/2;min-width:0;padding-right:20px}
#dhb .dhb-buy{grid-area:3/1/4/2;min-width:0;padding-right:20px}
#dhb .dhb-scene{grid-area:1/2/5/3;min-width:0;margin:0;display:grid;align-content:center}
#dhb .dhb-tiles{grid-area:5/1/6/3}
#dhb .lead{grid-area:6/1/7/3}
#dhb .tool-byline{grid-area:7/1/8/3}

#dhb .dhb-crumbs{display:flex;gap:6px;margin:0 0 16px;padding:0;font-size:14px;line-height:1.3;color:var(--dhb-dim)}
#dhb .dhb-crumbs a{position:relative;color:var(--dhb-dim);text-decoration:none}
#dhb .dhb-crumbs a::after{content:"";position:absolute;inset:-13px -10px}
#dhb .dhb-crumbs a:hover{color:#fff;text-decoration:underline}
#dhb .dhb-crumbs span{color:var(--dhb-dim)}
#dhb .dhb-crumbs em{font-style:normal;font-weight:500;color:#fff}
/* the label of the old illustration card, with its icon */
#dhb .dhb-eyebrow{display:flex;align-items:center;gap:9px;margin:0 0 14px;font:600 14px/1.35 var(--font-body,'InterVar',sans-serif);letter-spacing:.09em;text-transform:uppercase;color:var(--dhb-soft)}
#dhb .dhb-eyebrow svg{display:block;flex:none;width:16px;height:16px;fill:none;stroke:var(--dhb-ice);stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;color:var(--dhb-ice)}
/* Two lines from 960 px up, "Datacenter proxies" / "from $0.50/GB", in the web font and in the fallback alike: the
   column is 9.67 to 9.93 em wide, "Datacenter proxies" is 9.25 em in Sora and one more word never fits. The room of
   the lines is kept from the first paint (see the note on line breaks before the media queries). */
#dhb h1{margin:0;padding:0;max-width:100%;min-height:2.1em;font:700 clamp(40px,4.4vw,58px)/1.05 var(--font-head,'Sora',system-ui,sans-serif);letter-spacing:-.035em;color:#fff;opacity:1;transform:none}

/* the line of the old illustration card: what the exits are, how fast, which sessions */
#dhb .dhb-spec{margin:22px 0 0;font:600 clamp(18px,1.6vw,22px)/1.3 var(--font-head,'Sora',sans-serif);letter-spacing:-.015em;color:var(--dhb-ice)}

#dhb .dhb-cta-row{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;gap:12px;margin:24px 0 0;padding:0}
#dhb .dhb-btn{display:inline-flex;align-items:center;justify-content:center;gap:0;width:auto;min-width:0;min-height:56px;margin:0;padding:0 28px;border-radius:999px;font:600 17px/1 var(--font-body,'InterVar',sans-serif);letter-spacing:0;white-space:nowrap;text-decoration:none;box-shadow:none;transition:transform .15s ease,filter .15s ease,border-color .15s ease!important}
#dhb .dhb-btn:hover{transform:translateY(-1px)}
/* the one teal element: dark text on #25E3C2 (12.3:1), as CONVERSION_DESIGN asks; the light theme would make it dark green */
#dhb .dhb-btn.btn-cta,#dhb .dhb-btn.btn-cta:hover{background:#25E3C2;color:#05070F;border:0;box-shadow:none}
#dhb .dhb-btn.btn-cta:hover{filter:brightness(1.08)}
#dhb .dhb-btn.dhb-ghost,#dhb .dhb-btn.dhb-ghost:hover{border:1px solid rgba(255,255,255,.34);color:#fff;background:transparent;box-shadow:none}
#dhb .dhb-btn.dhb-ghost:hover{border-color:rgba(255,255,255,.7)}
#dhb .dhb-btn:focus-visible,#dhb .dhb-tabs button:focus-visible,#dhb .dhb-cp-btn:focus-visible,#dhb a:focus-visible{outline:2px solid #fff;outline-offset:3px}
/* the line under the buttons (.trust keeps its old class and attributes: fix-dcv6-cite-20261024.mjs looks for them) */
#dhb .trust{display:block;margin:14px 0 0;padding:0;border:0;border-radius:0;background:none;max-width:none;min-height:2.9em;font-size:15px;line-height:1.45;font-weight:400;letter-spacing:0;color:var(--dhb-dim);opacity:1;transform:none;text-align:left}
#dhb .dhb-buy .qd-pay{--qd-pay-ink:rgba(255,255,255,.9);--qd-pay-muted:rgba(255,255,255,.72);--qd-pay-line:rgba(255,255,255,.22);margin-top:16px;color:var(--qd-pay-ink)}
#dhb .dhb-buy .qd-pay .qd-pay-terms{color:var(--qd-pay-muted)!important}
/* under the tiles: the lead of the page and its byline (.lead and .tool-byline keep their old class) */
#dhb .lead{margin:30px 0 0;padding:0;max-width:74ch;font-size:18px;line-height:1.6;font-weight:400;letter-spacing:0;color:var(--dhb-soft);opacity:1;transform:none;text-align:left}
#dhb .tool-byline{margin:12px 0 0;padding:0;max-width:74ch;font-size:14.5px;line-height:1.5;color:var(--dhb-dim)}
#dhb .tool-byline a{position:relative;color:var(--dhb-soft);text-decoration:underline;text-underline-offset:3px;text-decoration-color:rgba(255,255,255,.4)}
#dhb .tool-byline a::after{content:"";position:absolute;inset:-14px -6px}
#dhb .tool-byline a:hover{color:#fff;text-decoration-color:#fff}
#dhb .tool-byline time{white-space:nowrap}

/* the map */
#dhb .dhb-view{position:relative;aspect-ratio:16/10}
#dhb .dhb-view canvas{position:absolute;inset:0;width:100%;height:100%;display:block;opacity:0;transition:opacity .45s ease!important}
#dhb .dhb-scene.is-live .dhb-view canvas{opacity:1}
#dhb .dhb-view canvas.dhb-hl{pointer-events:none}
#dhb .dhb-flags{position:absolute;inset:0;overflow:hidden;pointer-events:none;visibility:hidden}
#dhb .dhb-fl{display:inline-block;flex:none;width:21px;height:14px;border-radius:3px;background-color:#1A2030;background-repeat:no-repeat;box-shadow:0 0 0 1px rgba(255,255,255,.16)}
/* a flag and a name next to a country; the chosen one is the same thing, brighter */
#dhb .dhb-lb{position:absolute;left:0;top:0;display:inline-flex;align-items:center;gap:5px;height:16px;opacity:0;white-space:nowrap;will-change:transform,opacity;font:500 11.5px/1 var(--font-body,'InterVar',sans-serif);color:#fff;text-shadow:0 1px 2px #000,0 0 6px rgba(0,0,0,.9)}
#dhb .dhb-lb b{font-weight:inherit}
#dhb .dhb-lb .dhb-fl{width:var(--dhb-fw,14px);height:calc(var(--dhb-fw,14px)*2/3);border-radius:2.5px;box-shadow:0 0 0 1px rgba(255,255,255,.14)}
#dhb .dhb-lb-sel{gap:7px;height:22px;padding:0 9px 0 7px;border-radius:999px;background:rgba(0,0,0,.72);box-shadow:0 0 0 1px rgba(255,255,255,.5);font:600 13.5px/1 var(--font-body,'InterVar',sans-serif);text-shadow:none}
#dhb .dhb-lb-sel .dhb-fl{width:18px;height:12px}

/* under the map: how many, which one, which view */
#dhb .dhb-pick{position:relative;z-index:1;display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:10px 16px;margin:2px 0 0}
#dhb .dhb-count{display:flex;align-items:baseline;gap:10px;margin:0}
#dhb .dhb-count b{font:700 46px/1 var(--font-head,'Sora',sans-serif);letter-spacing:-.045em;color:#fff;font-variant-numeric:tabular-nums}
#dhb .dhb-count span{font:500 16px/1.2 var(--font-body,'InterVar',sans-serif);color:var(--dhb-soft)}
#dhb .dhb-tabs{flex-basis:100%;display:flex;justify-content:center;gap:6px}
#dhb .dhb-tabs button{height:44px;margin:0;padding:0 16px;border-radius:999px;border:1px solid var(--dhb-hair);background:none;box-shadow:none;font:500 14px/1 var(--font-body,'InterVar',sans-serif);color:var(--dhb-soft);white-space:nowrap;cursor:pointer;transition:background .15s,color .15s,border-color .15s!important}
#dhb .dhb-tabs button:hover{border-color:rgba(255,255,255,.4);color:#fff}
#dhb .dhb-tabs button[aria-pressed=true]{background:#fff;color:#05070F;border-color:#fff;font-weight:600}
/* one link, to the page of the chosen country. Its box is the whole row and never moves: only the words inside change
   when the map lights another country (a centred box that changes width is a small layout shift every few seconds) */
#dhb .dhb-links{flex-basis:100%;margin:0;font-size:14px;line-height:1.3;text-align:center}
#dhb .dhb-links a{display:flex;align-items:center;justify-content:center;min-height:44px;color:var(--dhb-soft);text-decoration:underline;text-underline-offset:4px;text-decoration-color:rgba(255,255,255,.35)}
#dhb .dhb-links a:hover{color:#fff;text-decoration-color:#fff}
/* the request view needs 3D and its words: without either, the two view buttons keep their room and are not shown */
#dhb.dhb-2d .dhb-tabs,#dhb.dhb-map .dhb-tabs{visibility:hidden}

/* the country picker */
#dhb .dhb-cp{position:relative}
#dhb .dhb-cp-btn{display:inline-flex;align-items:center;gap:10px;height:44px;min-width:214px;max-width:270px;margin:0;padding:0 14px 0 13px;border-radius:999px;border:1px solid rgba(255,255,255,.24);background:#090C15;box-shadow:none;color:#fff;font:600 15px/1 var(--font-body,'InterVar',sans-serif);cursor:pointer;transition:border-color .15s,background .15s!important}
#dhb .dhb-cp-btn:hover,#dhb .dhb-cp-btn[aria-expanded=true]{border-color:rgba(255,255,255,.5);background:#0E1320}
#dhb:not(.is-ready) .dhb-cp-btn .dhb-fl{visibility:hidden}
#dhb .dhb-cp-name{flex:1;min-width:0;text-align:left;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#dhb svg.dhb-cp-chev{width:12px;height:12px;flex:none;fill:none;stroke:currentColor;stroke-width:1.6;color:var(--dhb-dim);transition:transform .18s ease!important}
#dhb .dhb-cp-btn[aria-expanded=true] .dhb-cp-chev{transform:rotate(180deg)}
#dhb .dhb-cp-pop{position:absolute;z-index:6;left:50%;bottom:calc(100% + 10px);width:326px;transform:translateX(-50%);border-radius:16px;border:1px solid rgba(255,255,255,.16);background:#0B0F1A;box-shadow:0 26px 60px -14px rgba(0,0,0,.9);overflow:hidden;text-align:left;animation:dhb-pop .16s ease-out!important}
@keyframes dhb-pop{from{opacity:0;transform:translateX(-50%) translateY(6px)}to{opacity:1;transform:translateX(-50%)}}
@keyframes dhb-pop-m{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
#dhb .dhb-cp-search{display:flex;align-items:center;gap:10px;height:50px;margin:0;padding:0 15px;border-bottom:1px solid rgba(255,255,255,.1);color:var(--dhb-dim)}
#dhb .dhb-cp-search:focus-within{color:#fff;box-shadow:inset 0 -1px 0 rgba(255,255,255,.5)}
#dhb .dhb-cp-search svg{width:16px;height:16px;flex:none;fill:none;stroke:currentColor;stroke-width:1.6}
#dhb .dhb-cp-search input{flex:1;min-width:0;width:auto;height:100%;margin:0;padding:0;border:0;border-radius:0;background:none;box-shadow:none;outline:0;font:500 16px/1 var(--font-body,'InterVar',sans-serif);color:#fff}
#dhb .dhb-cp-search input::placeholder{color:var(--dhb-dim);opacity:1}
#dhb .dhb-cp-list{position:relative;display:flex;flex-direction:column;list-style:none;margin:0;padding:6px;max-height:280px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:rgba(255,255,255,.22) transparent}
#dhb .dhb-cp-list li{margin:0}
#dhb .dhb-cp-list li[role=option]{display:flex;flex:none;align-items:center;gap:11px;height:44px;padding:0 10px;border-radius:9px;font:500 15px/1 var(--font-body,'InterVar',sans-serif);color:var(--dhb-soft);cursor:pointer}
#dhb .dhb-cp-list li span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#dhb .dhb-cp-list li small{font:500 12px/1 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;color:var(--dhb-dim)}
#dhb .dhb-cp-list li[role=option]:hover,#dhb .dhb-cp-list li.is-act{background:rgba(255,255,255,.08);color:#fff}
#dhb .dhb-cp-list li[aria-selected=true]{color:#fff;font-weight:600}
#dhb .dhb-cp-list li[aria-selected=true] small{color:#fff}
#dhb .dhb-cp-sep{flex:none;height:1px;margin:6px 8px;background:rgba(255,255,255,.1)}
#dhb .dhb-cp-none{margin:0;padding:16px 16px 18px;font-size:14px;color:var(--dhb-dim)}

/* what the product does, drawn in dots */
#dhb .dhb-tiles{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:18px 0 0}
#dhb .dhb-tile{min-width:0;padding:12px 16px 16px;border:1px solid var(--dhb-hair);border-radius:16px;background:#06080F}
#dhb .dhb-art{min-width:0}
#dhb .dhb-tile canvas{display:block;width:100%;height:86px}
#dhb .dhb-ab{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:2px 0 0;font-size:14px;line-height:1.3;color:var(--dhb-dim);text-align:center;text-transform:capitalize}
#dhb .dhb-tx{min-width:0}
#dhb .dhb-tt{margin:8px 0 0;font:600 17px/1.2 var(--font-head,'Sora',sans-serif);letter-spacing:-.01em;color:#fff}
#dhb .dhb-tile p.dhb-t{margin:5px 0 0;font-size:14.5px;line-height:1.42;color:var(--dhb-dim)}
/* the data did not load: the map with its picker and the drawings fold; the copy, the buttons and the words of the tiles stay */
#dhb.dhb-off .dhb-scene,#dhb.dhb-off .dhb-art{display:none}

/* Line breaks that do not depend on the font. The web fonts land after the first paint; a text that takes one line
   more in them than in the fallback pushes the buttons and the map down (0.04 of load shift on a phone before this).
   So the h1, the line under it and the line under the buttons get a width, in em, at which both fonts break into the
   same number of lines, and the room of those lines is kept as min-height. Measured (Sora / fallback, em): h1
   "proxies from" 6.16 / 5.64, "Datacenter proxies" 9.25 / 8.37; line under the title "cloud server IPs · 1 Gbps+ ·"
   12.89 / 12.78, with "rotating" 17.16 / 16.64; line under the buttons, its three parts 16.96, 14.04, 14.32 in Inter,
   the first two together 31.28 / 29.44, all three 45.88 / 42.93.
   - up to 959 px the h1 is three lines (7.2 em: "Datacenter" / "proxies from" / "$0.50/GB");
   - up to 559 px the line under the title is two lines (14.6 em) and the line under the buttons three, one part each (18 em);
   - 560 to 959 px the line under the buttons is two lines (34 em);
   - 960 to 1139 px the column is too narrow for two parts on a line: three lines again; from 1140 px two lines;
   - 960 to 1023 px the count has its own row (with a long country name in the picker the two would not fit one row);
   - 960 to 1099 px a title or a text of the narrow tiles takes one line more in the web font: the row keeps the
     height it has in the web font (252 px up to 1009 px wide, 232 px up to 1099): a tall window shows the lead under it. */
@media (min-width:960px) and (max-width:1139px){
  #dhb .trust{max-width:18em;min-height:4.35em}
}
@media (min-width:960px) and (max-width:1009px){
  #dhb .dhb-tile{min-height:252px}
}
@media (min-width:1010px) and (max-width:1099px){
  #dhb .dhb-tile{min-height:232px}
}
@media (min-width:960px) and (max-width:1023px){
  #dhb .dhb-count{flex-basis:100%;justify-content:center}
}
@media (max-width:959px){
  #dhb .dhb-in{display:flex;flex-direction:column;padding:22px 20px 30px}
  #dhb .dhb-head{order:1;padding-right:0}
  #dhb .dhb-buy{order:2;padding-right:0}
  #dhb .dhb-scene{order:3;display:block;margin:6px -14px 0}
  #dhb .dhb-tiles{order:4}
  #dhb .lead{order:5;margin-top:22px;font-size:17px}
  #dhb .tool-byline{order:6}
  #dhb .dhb-crumbs{margin-bottom:10px}
  #dhb .dhb-eyebrow{margin-bottom:10px}
  #dhb h1{max-width:7.2em;min-height:3.18em;font-size:clamp(34px,10.4vw,46px);line-height:1.06}
  #dhb .dhb-spec{margin-top:14px;font-size:18px}
  #dhb .dhb-cta-row{margin-top:16px;gap:10px;flex-wrap:nowrap}
  #dhb .dhb-btn{flex:0 1 auto;min-width:160px;min-height:52px;padding:0 22px;font-size:16px}
  #dhb .trust{margin-top:12px;max-width:34em;min-height:2.9em;font-size:14px}
  #dhb .dhb-view{aspect-ratio:347/214}
  #dhb .dhb-lb{height:14px;gap:4px;font-size:11px}
  #dhb .dhb-lb-sel{height:22px;font-size:12.5px}
  #dhb .dhb-pick{gap:8px 10px;padding:0 14px}
  #dhb .dhb-count{flex-basis:100%;justify-content:center}
  #dhb .dhb-count b{font-size:36px}
  #dhb .dhb-count span{font-size:14px}
  #dhb .dhb-cp{flex:1 1 100%;min-width:0}
  #dhb .dhb-cp-btn{width:100%;min-width:0;max-width:none;height:46px}
  #dhb .dhb-cp-pop{left:0;right:0;width:auto;transform:none;bottom:calc(100% + 8px);animation-name:dhb-pop-m!important}
  #dhb .dhb-cp-list{max-height:228px}
  #dhb .dhb-tiles{grid-template-columns:1fr 1fr;gap:10px;margin-top:16px}
  #dhb .dhb-tile{padding:10px 12px 14px}
  #dhb .dhb-tile canvas{height:78px}
  #dhb .dhb-tt{font-size:16px}
  #dhb .dhb-tile p.dhb-t{font-size:14px}
}
/* phones: one tile per row, the drawing on the left, so the text keeps a readable line */
@media (max-width:559px){
  /* the two buttons share one row (never a wrap that depends on the font); under 360 px they stack */
  #dhb .dhb-btn{flex:1 1 auto;min-width:0;padding:0 12px;font-size:16px}
  #dhb .dhb-spec{max-width:14.6em;min-height:2.6em}
  #dhb .trust{max-width:18em;min-height:4.35em}
  #dhb .dhb-tiles{grid-template-columns:1fr}
  #dhb .dhb-tile{display:grid;grid-template-columns:116px minmax(0,1fr);column-gap:14px;align-items:center;padding:12px 14px 12px 12px}
  #dhb .dhb-tile canvas{height:84px}
  #dhb .dhb-ab{gap:0}
  #dhb .dhb-tt{margin-top:0}
}
@media (max-width:359px){
  #dhb .dhb-cta-row{flex-direction:column;align-items:stretch}
  #dhb .dhb-btn{flex:none}
  /* too narrow for the drawing beside the text: the drawing goes back on top */
  #dhb .dhb-tile{display:block;padding:10px 14px 14px}
  #dhb .dhb-tile canvas{height:78px}
  #dhb .dhb-ab{gap:12px}
  #dhb .dhb-tt{margin-top:8px}
}
@media (prefers-reduced-motion:reduce){
  #dhb .dhb-view canvas,#dhb .dhb-btn,#dhb svg.dhb-cp-chev,#dhb .dhb-tabs button,#dhb .dhb-cp-btn{transition:none!important}
  #dhb .dhb-cp-pop{animation:none!important}
}
