/* /isp-proxies/ hero B (draft 12/11/2026). Markup: in the page (first written by isp-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 #ihb (an id: this page's themes recolour headings, paragraphs, links and every svg inside <main> with
   selectors stronger than a class). The last block places the strip of four numbers that follows the hero: its
   selectors start at #ihb too, so no other page is touched.
   One teal element (the main button), no amber. */
#ihb{--ihb-soft:#C9D1E3;--ihb-dim:#96A1BA;--ihb-hair:rgba(255,255,255,.16);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}
#ihb *{box-sizing:border-box}
#ihb [hidden]{display:none!important}
#ihb p{margin:0;color:inherit;line-height:1.45}
#ihb b,#ihb strong{color:inherit}
#ihb .ihb-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}
#ihb .ihb-head{grid-area:2/1/3/2;min-width:0;padding-right:20px}
#ihb .ihb-buy{grid-area:3/1/4/2;min-width:0;padding-right:20px}
#ihb .ihb-scene{grid-area:1/2/5/3;min-width:0;margin:0;display:grid;align-content:center}
#ihb .ihb-tiles{grid-area:5/1/6/3}
#ihb .ihb-lead{grid-area:6/1/7/3}
#ihb .tool-byline{grid-area:7/1/8/3}

#ihb .ihb-crumbs{display:flex;gap:6px;margin:0 0 18px;font-size:14px;line-height:1.3;color:var(--ihb-dim)}
#ihb .ihb-crumbs a{position:relative;color:var(--ihb-dim);text-decoration:none}
#ihb .ihb-crumbs a::after{content:"";position:absolute;inset:-13px -10px}
#ihb .ihb-crumbs a:hover{color:#fff;text-decoration:underline}
#ihb .ihb-crumbs span{color:var(--ihb-dim)}
#ihb .ihb-crumbs em{font-style:normal;font-weight:500;color:#fff}
/* three lines in the web font and in the fallback: "ISP proxies", "from $2.50/IP", "in 61 countries" */
#ihb h1{margin:0;max-width:7.3em;font:700 clamp(40px,4.5vw,60px)/1.05 var(--font-head,'Sora',system-ui,sans-serif);letter-spacing:-.035em;color:#fff;text-wrap:balance}

#ihb .ihb-cta-row{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;gap:12px;margin:28px 0 0}
#ihb .ihb-btn{display:inline-flex;align-items:center;justify-content:center;gap:0;min-height:56px;padding:0 28px;border-radius:999px;font:600 17px/1 var(--font-body,'InterVar',sans-serif);white-space:nowrap;text-decoration:none;transition:transform .15s ease,filter .15s ease,border-color .15s ease}
#ihb .ihb-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 */
#ihb .ihb-btn.btn-cta,#ihb .ihb-btn.btn-cta:hover{background:#25E3C2;color:#05070F;border:0;box-shadow:none}
#ihb .ihb-btn.btn-cta:hover{filter:brightness(1.08)}
/* a width of its own, so the button beside it does not move sideways when the web font arrives */
#ihb .ihb-btn.btn-cta{min-width:204px}
#ihb .ihb-ghost{border:1px solid rgba(255,255,255,.34);color:#fff;background:transparent}
#ihb .ihb-ghost:hover{color:#fff;border-color:rgba(255,255,255,.7)}
#ihb .ihb-btn:focus-visible,#ihb .ihb-tabs button:focus-visible,#ihb .ihb-cp-btn:focus-visible,#ihb a:focus-visible{outline:2px solid #fff;outline-offset:3px}
#ihb .ihb-trust{margin:16px 0 0;font-size:15px;line-height:1.45;color:var(--ihb-soft)}
#ihb .ihb-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)}
#ihb .ihb-buy .qd-pay .qd-pay-terms{color:var(--qd-pay-muted)!important}
/* who wrote the page and when: the line of the old hero, as it was, under the lead as it was */
#ihb .tool-byline{margin:12px 0 0;font-size:14px;line-height:1.5;color:var(--ihb-dim)}
#ihb .tool-byline a{position:relative;color:var(--ihb-soft);text-decoration:underline;text-underline-offset:3px;text-decoration-color:rgba(255,255,255,.35)}
#ihb .tool-byline a::after{content:"";position:absolute;inset:-14px -6px}
#ihb .tool-byline a:hover{color:#fff;text-decoration-color:#fff}
#ihb .tool-byline time{white-space:nowrap}
#ihb .ihb-lead{margin:30px 0 0;max-width:820px;font-size:18px;line-height:1.6;color:var(--ihb-soft)}

/* the map */
#ihb .ihb-view{position:relative;aspect-ratio:16/10}
#ihb .ihb-view canvas{position:absolute;inset:0;width:100%;height:100%;display:block;opacity:0;transition:opacity .45s ease}
#ihb .ihb-scene.is-live .ihb-view canvas{opacity:1}
#ihb .ihb-view canvas.ihb-hl{pointer-events:none}
#ihb .ihb-flags{position:absolute;inset:0;overflow:hidden;pointer-events:none;visibility:hidden}
#ihb .ihb-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 */
#ihb .ihb-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)}
#ihb .ihb-lb b{font-weight:inherit}
#ihb .ihb-lb .ihb-fl{width:var(--ihb-fw,14px);height:calc(var(--ihb-fw,14px)*2/3);border-radius:2.5px;box-shadow:0 0 0 1px rgba(255,255,255,.14)}
#ihb .ihb-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}
#ihb .ihb-lb-sel .ihb-fl{width:18px;height:12px}

/* under the map: how many, which one, which view */
#ihb .ihb-pick{position:relative;z-index:1;display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:10px 16px;margin:2px 0 0}
#ihb .ihb-count{display:flex;align-items:baseline;gap:10px;min-width:148px;margin:0}
#ihb .ihb-count b{font:700 46px/1 var(--font-head,'Sora',sans-serif);letter-spacing:-.045em;color:#fff;font-variant-numeric:tabular-nums}
#ihb .ihb-count span{font:500 16px/1.2 var(--font-body,'InterVar',sans-serif);color:var(--ihb-soft)}
#ihb .ihb-tabs{flex-basis:100%;display:flex;justify-content:center;gap:6px}
#ihb .ihb-tabs button{height:44px;margin:0;padding:0 16px;border-radius:999px;border:1px solid var(--ihb-hair);background:none;font:500 14px/1 var(--font-body,'InterVar',sans-serif);color:var(--ihb-soft);white-space:nowrap;cursor:pointer;transition:background .15s,color .15s,border-color .15s}
#ihb .ihb-tabs button:hover{border-color:rgba(255,255,255,.4);color:#fff}
#ihb .ihb-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) */
#ihb .ihb-links{flex-basis:100%;margin:0;font-size:14px;line-height:1.3;text-align:center}
#ihb .ihb-links a{display:flex;align-items:center;justify-content:center;min-height:44px;color:var(--ihb-soft);text-decoration:underline;text-underline-offset:4px;text-decoration-color:rgba(255,255,255,.35)}
#ihb .ihb-links a:hover{color:#fff;text-decoration-color:#fff}
#ihb.ihb-2d .ihb-tabs{visibility:hidden}

/* the country picker */
#ihb .ihb-cp{position:relative}
#ihb .ihb-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;color:#fff;font:600 15px/1 var(--font-body,'InterVar',sans-serif);cursor:pointer;transition:border-color .15s,background .15s}
#ihb .ihb-cp-btn:hover,#ihb .ihb-cp-btn[aria-expanded=true]{border-color:rgba(255,255,255,.5);background:#0E1320}
#ihb:not(.is-ready) .ihb-cp-btn .ihb-fl{visibility:hidden}
#ihb .ihb-cp-name{flex:1;min-width:0;text-align:left;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#ihb svg.ihb-cp-chev{width:12px;height:12px;flex:none;fill:none;stroke:currentColor;stroke-width:1.6;color:var(--ihb-dim);transition:transform .18s ease}
#ihb .ihb-cp-btn[aria-expanded=true] .ihb-cp-chev{transform:rotate(180deg)}
#ihb .ihb-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:ihb-pop .16s ease-out}
@keyframes ihb-pop{from{opacity:0;transform:translateX(-50%) translateY(6px)}to{opacity:1;transform:translateX(-50%)}}
@keyframes ihb-pop-m{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
#ihb .ihb-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(--ihb-dim)}
#ihb .ihb-cp-search:focus-within{color:#fff;box-shadow:inset 0 -1px 0 rgba(255,255,255,.5)}
#ihb .ihb-cp-search svg{width:16px;height:16px;flex:none;fill:none;stroke:currentColor;stroke-width:1.6}
#ihb .ihb-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}
#ihb .ihb-cp-search input::placeholder{color:var(--ihb-dim);opacity:1}
#ihb .ihb-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}
#ihb .ihb-cp-list li{margin:0}
#ihb .ihb-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(--ihb-soft);cursor:pointer}
#ihb .ihb-cp-list li span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#ihb .ihb-cp-list li small{font:500 12px/1 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;color:var(--ihb-dim)}
#ihb .ihb-cp-list li[role=option]:hover,#ihb .ihb-cp-list li.is-act{background:rgba(255,255,255,.08);color:#fff}
#ihb .ihb-cp-list li[aria-selected=true]{color:#fff;font-weight:600}
#ihb .ihb-cp-list li[aria-selected=true] small{color:#fff}
#ihb .ihb-cp-sep{flex:none;height:1px;margin:6px 8px;background:rgba(255,255,255,.1)}
#ihb .ihb-cp-none{margin:0;padding:16px 16px 18px;font-size:14px;color:var(--ihb-dim)}

/* what you buy, drawn in dots: the static IP and the three ways of the page */
#ihb .ihb-tiles{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:18px 0 0}
#ihb .ihb-tile{display:flex;flex-direction:column;min-width:0;padding:12px 16px 16px;border:1px solid var(--ihb-hair);border-radius:16px;background:#06080F}
#ihb .ihb-art{min-width:0}
#ihb .ihb-tile canvas{display:block;width:100%;height:86px}
#ihb .ihb-tx{display:flex;flex-direction:column;align-items:flex-start;flex:1;min-width:0}
#ihb .ihb-tt{margin:8px 0 0;font:600 17px/1.2 var(--font-head,'Sora',sans-serif);letter-spacing:-.01em;color:#fff}
#ihb .ihb-tile p.ihb-t{margin:5px 0 10px;font-size:14.5px;line-height:1.42;color:var(--ihb-dim)}
/* the chips sit on one line across the four tiles, whatever the length of the text above them */
#ihb .ihb-tile p.ihb-path{display:inline-flex;align-items:center;min-height:30px;margin:auto 0 0;padding:0 10px;border:1px solid var(--ihb-hair);border-radius:999px;font-size:14px;line-height:1;color:var(--ihb-soft);white-space:nowrap}
/* 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 */
#ihb.ihb-off .ihb-scene,#ihb.ihb-off .ihb-art{display:none}

/* the strip of four numbers that follows the hero keeps its markup; it used to overlap the foot of the old hero card */
#ihb + .facts-wrap{margin-top:0;padding-top:40px}

@media (max-width:959px){
  #ihb .ihb-in{display:flex;flex-direction:column;padding:22px 20px 30px}
  #ihb .ihb-head{order:1;padding-right:0}
  #ihb .ihb-buy{order:2;padding-right:0}
  #ihb .ihb-scene{order:3;display:block;margin:10px -14px 0}
  #ihb .ihb-tiles{order:4}
  #ihb .ihb-lead{order:5;margin-top:22px;font-size:17px}
  #ihb .tool-byline{order:6}
  #ihb .ihb-crumbs{margin-bottom:12px}
  #ihb h1{font-size:clamp(34px,10.4vw,46px);line-height:1.06}
  #ihb .ihb-cta-row{margin-top:20px;gap:10px;flex-wrap:nowrap}
  #ihb .ihb-btn,#ihb .ihb-btn.btn-cta{flex:0 1 auto;min-width:200px;min-height:52px;padding:0 22px;font-size:16px}
  #ihb .ihb-trust{margin-top:14px;font-size:14px}
  #ihb .ihb-view{aspect-ratio:347/214}
  #ihb .ihb-lb{height:14px;gap:4px;font-size:11px}
  #ihb .ihb-lb-sel{height:22px;font-size:12.5px}
  #ihb .ihb-pick{gap:8px 10px;padding:0 14px}
  #ihb .ihb-count{flex-basis:100%;min-width:0;justify-content:center}
  #ihb .ihb-count b{font-size:36px}
  #ihb .ihb-count span{font-size:14px}
  #ihb .ihb-cp{flex:1 1 100%;min-width:0}
  #ihb .ihb-cp-btn{width:100%;min-width:0;max-width:none;height:46px}
  #ihb .ihb-cp-pop{left:0;right:0;width:auto;transform:none;bottom:calc(100% + 8px);animation-name:ihb-pop-m}
  #ihb .ihb-cp-list{max-height:228px}
  #ihb .ihb-tiles{grid-template-columns:1fr 1fr;gap:10px;margin-top:16px}
  #ihb .ihb-tile{padding:10px 12px 14px}
  #ihb .ihb-tile canvas{height:78px}
  #ihb .ihb-tt{font-size:16px}
  #ihb .ihb-tile p.ihb-t{font-size:14px}
  #ihb + .facts-wrap{padding-top:28px}
}
/* 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 in fixed parts (never a wrap or a width that depends on the font); under 440 px they stack */
  #ihb .ihb-btn{flex:1 1 0;min-width:0;padding:0 12px;font-size:15px}
  #ihb .ihb-btn.btn-cta{flex:0 0 42%;min-width:0}
  #ihb .ihb-tiles{grid-template-columns:1fr}
  #ihb .ihb-tile{display:grid;grid-template-columns:116px minmax(0,1fr);column-gap:14px;align-items:center;padding:12px 14px 12px 12px}
  #ihb .ihb-tile canvas{height:84px}
  #ihb .ihb-tx{display:block}
  #ihb .ihb-tt{margin-top:0}
  #ihb .ihb-tile p.ihb-t{margin-bottom:0}
  #ihb .ihb-tile p.ihb-path{margin-top:10px;padding:6px 10px;border-radius:14px;line-height:1.25;white-space:normal}
}
@media (max-width:439px){
  #ihb .ihb-cta-row{flex-direction:column;align-items:stretch}
  #ihb .ihb-btn,#ihb .ihb-btn.btn-cta{flex:none;font-size:16px}
}
@media (max-width:359px){
  /* too narrow for the drawing beside the text: the drawing goes back on top */
  #ihb .ihb-tile{display:block;padding:10px 14px 14px}
  #ihb .ihb-tile canvas{height:78px}
  #ihb .ihb-tt{margin-top:8px}
}
/* Room kept from the first paint where the web font and the fallback font break a line at a different word (each was
   a load shift of the first screen; measured in both fonts every 4 px from 320 to 1400 px):
   - 960 to 1139 px: the two buttons do not fit one row in the left column in every font: one under the other;
   - the line under the buttons: two lines up to 455 px and from 960 to 1023 px;
   - the four tiles side by side: the longest text is six lines up to 1063 px, five up to 1143 px, four above. */
@media (min-width:960px) and (max-width:1139px){
  #ihb .ihb-cta-row{flex-direction:column;align-items:flex-start}
}
@media (min-width:960px) and (max-width:1023px){
  #ihb .ihb-trust{min-height:2.9em}
}
@media (max-width:455px){
  #ihb .ihb-trust{min-height:2.9em}
}
@media (min-width:960px){
  #ihb .ihb-tile p.ihb-t{min-height:5.68em}
}
@media (min-width:960px) and (max-width:1143px){
  #ihb .ihb-tile p.ihb-t{min-height:7.1em}
}
@media (min-width:960px) and (max-width:1063px){
  #ihb .ihb-tile p.ihb-t{min-height:8.52em}
}

@media (prefers-reduced-motion:reduce){
  #ihb .ihb-view canvas,#ihb .ihb-btn,#ihb .ihb-cp-chev{transition:none}
  #ihb .ihb-cp-pop{animation:none}
}
