/* /residential-proxies/ hero B (11/11/2026). Markup: in the page (first written by residential-hero-b.mjs). Script: hero-b.js.
   Everything is scoped under #rhb (an id: the site's light theme recolours headings and
   paragraphs inside <main> with selectors stronger than a class). One teal element (the main button), amber only on "Recommended". */
#rhb{--rhb-soft:#C9D1E3;--rhb-dim:#96A1BA;--rhb-hair:rgba(255,255,255,.16);position:relative;margin:0;padding:0;max-width:none;background:#000;color:#fff;overflow:hidden;font-family:var(--font-body,'Inter',system-ui,sans-serif);text-align:left}
#rhb *{box-sizing:border-box}
#rhb [hidden]{display:none!important}
#rhb .rhb-in{max-width:1288px;margin:0 auto;padding:16px 24px 34px;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}
#rhb .rhb-head{grid-area:2/1/3/2;min-width:0;padding-right:20px}
#rhb .rhb-buy{grid-area:3/1/4/2;min-width:0;padding-right:20px}
#rhb .rhb-scene{grid-area:1/2/5/3;min-width:0;margin:0;display:grid;align-content:center}
#rhb .rhb-tiles{grid-area:5/1/6/3}
#rhb .rhb-lead{grid-area:6/1/7/3}
#rhb .rv-stats{grid-area:7/1/8/3;margin-top:34px;padding-top:28px}

#rhb .rhb-crumbs{display:flex;gap:6px;margin:0 0 14px;font-size:14px;line-height:1.3;color:var(--rhb-dim)}
#rhb .rhb-crumbs a{position:relative;color:var(--rhb-dim);text-decoration:none}
#rhb .rhb-crumbs a::after{content:"";position:absolute;inset:-13px -10px}
#rhb .rhb-crumbs a:hover{color:#fff;text-decoration:underline}
#rhb .rhb-crumbs [aria-current]{color:#fff;font-weight:500}
#rhb .rhb-eyebrow{margin:0 0 12px;font:600 15px/1.35 var(--font-body,'Inter',sans-serif);letter-spacing:0;color:var(--rhb-soft)}
#rhb h1{margin:0;max-width:100%;font:700 clamp(36px,4vw,54px)/1.05 var(--font-head,'Sora',system-ui,sans-serif);letter-spacing:-.035em;color:#fff;text-wrap:balance}

/* two lines, the same weight: Premium (recommended) and Basic */
#rhb .rhb-duo{display:grid;grid-template-columns:auto auto;justify-content:start;margin:22px 0 0}
#rhb .rhb-duo p{display:grid;gap:6px;margin:0}
#rhb .rhb-duo p + p{margin-left:34px;padding-left:34px;border-left:1px solid var(--rhb-hair)}
#rhb .rhb-n{display:flex;align-items:center;gap:10px;min-height:26px;font:600 16px/1.2 var(--font-body,'Inter',sans-serif);color:var(--rhb-soft)}
#rhb .rhb-n em{font:600 12px/1 var(--font-body,'Inter',sans-serif);font-style:normal;color:#1F1400;background:#FFB020;padding:5px 8px;border-radius:999px}
#rhb .rhb-v{font:700 clamp(32px,3.3vw,46px)/1 var(--font-head,'Sora',sans-serif);letter-spacing:-.035em;color:#fff;white-space:nowrap;font-variant-numeric:tabular-nums;height:1em}
#rhb .rhb-v small{font:600 .44em/1 var(--font-head,'Sora',sans-serif);letter-spacing:-.01em;color:var(--rhb-soft)}

#rhb .rhb-cta-row{display:flex;flex-wrap:wrap;gap:12px;margin:22px 0 0}
#rhb .rhb-btn{display:inline-flex;align-items:center;justify-content:center;min-height:56px;padding:0 28px;border-radius:999px;font:600 17px/1 var(--font-body,'Inter',sans-serif);white-space:nowrap;text-decoration:none;transition:transform .15s ease,filter .15s ease,border-color .15s ease}
#rhb .rhb-btn:hover{transform:translateY(-1px)}
#rhb .rhb-ghost{border:1px solid rgba(255,255,255,.34);color:#fff;background:transparent}
#rhb .rhb-ghost:hover{border-color:rgba(255,255,255,.7)}
#rhb .rhb-btn:focus-visible,#rhb .rhb-tabs button:focus-visible,#rhb .rhb-chips button:focus-visible,#rhb .rhb-cp-btn:focus-visible,#rhb a:focus-visible{outline:2px solid #fff;outline-offset:3px}
#rhb .rhb-trust{margin:14px 0 0;font-size:15px;line-height:1.45;color:var(--rhb-dim)}
#rhb .rhb-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)}
#rhb .rhb-buy .qd-pay .qd-pay-terms{color:var(--qd-pay-muted)!important}
#rhb .rhb-lead{margin:30px 0 0;max-width:74ch;font-size:18px;line-height:1.6;color:var(--rhb-soft)}

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

/* under the map: how many, which one, which view */
#rhb .rhb-pick{position:relative;z-index:1;display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:10px 16px;margin:2px 0 0}
#rhb .rhb-count{display:flex;align-items:baseline;gap:10px;margin:0}
#rhb .rhb-count b{font:700 46px/1 var(--font-head,'Sora',sans-serif);letter-spacing:-.045em;color:#fff;font-variant-numeric:tabular-nums}
#rhb .rhb-count span{font:500 16px/1.2 var(--font-body,'Inter',sans-serif);color:var(--rhb-soft)}
#rhb .rhb-tabs{display:flex;justify-content:center;gap:6px}
#rhb .rhb-tabs button{height:40px;padding:0 14px;border-radius:999px;border:1px solid var(--rhb-hair);background:none;font:500 14px/1 var(--font-body,'Inter',sans-serif);color:var(--rhb-soft);white-space:nowrap;cursor:pointer;transition:background .15s,color .15s,border-color .15s}
#rhb .rhb-tabs button:hover{border-color:rgba(255,255,255,.4);color:#fff}
#rhb .rhb-tabs button[aria-pressed=true]{background:#fff;color:#05070F;border-color:#fff;font-weight:600}
/* two columns that meet in the middle: the country in the second link changes, the first link never moves */
#rhb .rhb-links{flex-basis:100%;display:grid;grid-template-columns:1fr 1fr;justify-items:start;column-gap:22px;margin:0;font-size:14px;line-height:1.3}
#rhb .rhb-links a:first-child{justify-self:end}
#rhb .rhb-links a{color:var(--rhb-soft);text-decoration:underline;text-underline-offset:4px;text-decoration-color:rgba(255,255,255,.35)}
#rhb .rhb-links a:hover{color:#fff;text-decoration-color:#fff}
#rhb.rhb-2d .rhb-tabs{visibility:hidden}

/* the country picker */
#rhb .rhb-cp{position:relative}
#rhb .rhb-cp-btn{display:inline-flex;align-items:center;gap:10px;height:44px;min-width:214px;max-width:270px;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,'Inter',sans-serif);cursor:pointer;transition:border-color .15s,background .15s}
#rhb .rhb-cp-btn:hover,#rhb .rhb-cp-btn[aria-expanded=true]{border-color:rgba(255,255,255,.5);background:#0E1320}
#rhb:not(.is-ready) .rhb-cp-btn .rhb-fl{visibility:hidden}
#rhb .rhb-cp-name{flex:1;min-width:0;text-align:left;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#rhb .rhb-cp-chev{width:12px;height:12px;flex:none;color:var(--rhb-dim);transition:transform .18s ease}
#rhb .rhb-cp-btn[aria-expanded=true] .rhb-cp-chev{transform:rotate(180deg)}
#rhb .rhb-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:rhb-pop .16s ease-out}
@keyframes rhb-pop{from{opacity:0;transform:translateX(-50%) translateY(6px)}to{opacity:1;transform:translateX(-50%)}}
@keyframes rhb-pop-m{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
#rhb .rhb-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(--rhb-dim)}
#rhb .rhb-cp-search:focus-within{color:#fff;box-shadow:inset 0 -1px 0 rgba(255,255,255,.5)}
#rhb .rhb-cp-search svg{width:16px;height:16px;flex:none}
#rhb .rhb-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,'Inter',sans-serif);color:#fff}
#rhb .rhb-cp-search input::placeholder{color:var(--rhb-dim);opacity:1}
#rhb .rhb-cp-list{position:relative;display:flex;flex-direction:column;list-style:none;margin:0;padding:6px;max-height:276px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:rgba(255,255,255,.22) transparent}
#rhb .rhb-cp-list li{margin:0}
#rhb .rhb-cp-list li[role=option]{display:flex;flex:none;align-items:center;gap:11px;height:40px;padding:0 10px;border-radius:9px;font:500 15px/1 var(--font-body,'Inter',sans-serif);color:var(--rhb-soft);cursor:pointer}
#rhb .rhb-cp-list li span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#rhb .rhb-cp-list li small{font:500 12px/1 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;color:var(--rhb-dim)}
#rhb .rhb-cp-list li[role=option]:hover,#rhb .rhb-cp-list li.is-act{background:rgba(255,255,255,.08);color:#fff}
#rhb .rhb-cp-list li[aria-selected=true]{color:#fff;font-weight:600}
#rhb .rhb-cp-list li[aria-selected=true] small{color:#fff}
#rhb .rhb-cp-sep{flex:none;height:1px;margin:6px 8px;background:rgba(255,255,255,.1)}
#rhb .rhb-cp-none{margin:0;padding:16px 16px 18px;font-size:14px;color:var(--rhb-dim)}

/* what the product does, drawn in dots */
#rhb .rhb-tiles{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:18px 0 0}
#rhb .rhb-tile{min-width:0;padding:12px 16px 16px;border:1px solid var(--rhb-hair);border-radius:16px;background:#06080F}
#rhb .rhb-tile canvas{display:block;width:100%;height:86px}
#rhb .rhb-ab{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:2px 0 0;font-size:14px;line-height:1.3;color:var(--rhb-dim)}
#rhb .rhb-tt{display:flex;align-items:center;gap:8px;margin:8px 0 0;font:600 17px/1.2 var(--font-head,'Sora',sans-serif);letter-spacing:-.01em;color:#fff}
#rhb .rhb-tile p.rhb-t{margin:5px 0 0;font-size:14.5px;line-height:1.42;color:var(--rhb-dim)}
#rhb .rhb-tags{display:flex;flex-wrap:wrap;gap:6px;margin:10px 0 0;padding:0;list-style:none}
#rhb .rhb-tags li{display:inline-flex;align-items:center;min-height:30px;margin:0;padding:0 10px;border:1px solid var(--rhb-hair);border-radius:999px;font-size:14px;line-height:1;color:var(--rhb-soft)}
#rhb .rhb-tt em{font:600 12px/1 var(--font-body,'Inter',sans-serif);font-style:normal;color:var(--rhb-soft);border:1px solid var(--rhb-hair);padding:4px 7px;border-radius:999px}
#rhb .rhb-chips{display:flex;flex-wrap:wrap;gap:6px;margin:10px 0 0}
#rhb .rhb-chips button{position:relative;height:30px;padding:0 10px;border-radius:999px;border:1px solid var(--rhb-hair);background:none;font:500 14px/1 var(--font-body,'Inter',sans-serif);color:var(--rhb-soft);white-space:nowrap;cursor:pointer;transition:background .15s,color .15s,border-color .15s}
#rhb .rhb-chips button::after{content:"";position:absolute;inset:-7px -3px}
#rhb .rhb-chips button[aria-pressed=true]{background:#fff;color:#05070F;border-color:#fff;font-weight:600}
#rhb.rhb-off .rhb-scene,#rhb.rhb-off .rhb-tiles{display:none}

@media (max-width:959px){
  #rhb .rhb-in{display:flex;flex-direction:column;padding:22px 20px 28px}
  #rhb .rhb-head{order:1;padding-right:0}
  #rhb .rhb-buy{order:2;padding-right:0}
  #rhb .rhb-scene{order:3;display:block;margin:16px -14px 0}
  #rhb .rhb-tiles{order:4}
  #rhb .rhb-lead{order:5;margin-top:22px;font-size:17px}
  #rhb .rv-stats{order:6;margin-top:24px;padding-top:22px}
  #rhb .rhb-crumbs{margin-bottom:10px}
  #rhb .rhb-eyebrow{margin-bottom:8px;font-size:14px}
  #rhb h1{font-size:clamp(30px,8.4vw,40px);line-height:1.06;max-width:none}
  #rhb .rhb-duo{margin-top:14px}
  #rhb .rhb-duo p + p{margin-left:10px;padding-left:10px}
  #rhb .rhb-n em{padding:5px 6px}
  #rhb .rhb-n{font-size:14px;gap:6px}
  #rhb .rhb-v{font-size:clamp(21px,6.7vw,27px)}
  #rhb .rhb-v small{font-size:14px}
  #rhb .rhb-cta-row{margin-top:16px;gap:10px}
  #rhb .rhb-btn{flex:1 1 auto;min-height:52px;padding:0 18px;font-size:16px}
  #rhb .rhb-trust{margin-top:12px;font-size:14px;text-wrap:balance}
  #rhb .rhb-view{aspect-ratio:347/214}
  #rhb .rhb-lb{height:14px;gap:4px;font-size:11px}
  #rhb .rhb-lb-sel{height:22px;font-size:12.5px}
  #rhb .rhb-pick{gap:8px 10px;padding:0 14px}
  #rhb .rhb-count{flex-basis:100%;justify-content:center}
  #rhb .rhb-count b{font-size:36px}
  #rhb .rhb-count span{font-size:14px}
  #rhb .rhb-cp{flex:1 1 100%;min-width:0}
  #rhb .rhb-cp-btn{width:100%;min-width:0;max-width:none;height:46px}
  #rhb .rhb-cp-pop{left:0;right:0;width:auto;transform:none;bottom:calc(100% + 8px);animation-name:rhb-pop-m}
  #rhb .rhb-cp-list{max-height:220px}
  #rhb .rhb-cp-list li[role=option]{height:44px}
  #rhb .rhb-tabs{flex-basis:100%}
  #rhb .rhb-tabs button{height:44px;padding:0 16px}
  #rhb .rhb-links{column-gap:20px}
  #rhb .rhb-links a{display:inline-flex;align-items:center;min-height:44px}
  #rhb .rhb-tiles{grid-template-columns:1fr 1fr;gap:10px;margin-top:16px}
  #rhb .rhb-tile{padding:10px 12px 14px}
  #rhb .rhb-tile canvas{height:78px}
  #rhb .rhb-tt{font-size:15px;flex-wrap:wrap}
  #rhb .rhb-tile p.rhb-t{font-size:14px}
  #rhb .rhb-ab{grid-template-columns:1fr;gap:2px}
  #rhb .rhb-tags li{padding:6px 10px;border-radius:14px;line-height:1.25}
  #rhb .rhb-chips button{height:32px}
}
@media (prefers-reduced-motion:reduce){
  #rhb .rhb-view canvas,#rhb .rhb-btn,#rhb .rhb-cp-chev{transition:none}
  #rhb .rhb-cp-pop{animation:none}
}
/* the trust line takes two lines once the web font is in: the room is there from the first paint */
@media (max-width:389px){
  #rhb .rhb-trust{min-height:2.9em}
}
@media (max-width:359px){
  #rhb .rhb-duo{align-items:end}
  #rhb .rhb-n{flex-wrap:wrap;row-gap:4px}
  #rhb .rhb-chips button{padding:0 6px}
}
/* 960 to 1099 px: the left column is narrow enough that the web font changes where two lines break (the line above
   the title went from one line to two, the country picker dropped under the count). Both have their room from the
   first paint: it was a 0.03 to 0.10 load shift at those widths. */
@media (min-width:960px) and (max-width:1099px){
  #rhb .rhb-eyebrow{min-height:2.7em}
  #rhb .rhb-count{flex-basis:100%;justify-content:center}
}
