/* /mobile-proxies/ hero B (draft 12/11/2026). Markup: in the page (first written by mobile-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 #mhb (an id: this page's themes recolour headings, paragraphs, links and every svg inside <main> with
   selectors stronger than a class; the buttons row also carries two hooks of /mobile-proxies/hub.js, .mn-actions and
   .mn-text-link, whose rules in mobile-network.css and hub-fresh.css are overridden here). The last block places the
   explorer card that follows the hero: its selectors start at #mhb too, so no other page is touched.
   One teal element (the main button), no amber. */
#mhb{--mhb-soft:#C9D1E3;--mhb-dim:#96A1BA;--mhb-hair:rgba(255,255,255,.16);--mhb-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}
#mhb *{box-sizing:border-box}
#mhb [hidden]{display:none!important}
#mhb p{margin:0;color:inherit;line-height:1.45}
#mhb .mhb-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}
#mhb .mhb-head{grid-area:2/1/3/2;min-width:0;padding-right:20px}
#mhb .mhb-buy{grid-area:3/1/4/2;min-width:0;padding-right:20px}
#mhb .mhb-scene{grid-area:1/2/5/3;min-width:0;margin:0;display:grid;align-content:center}
#mhb .mhb-tiles{grid-area:5/1/6/3}
#mhb .mhb-lead{grid-area:6/1/7/3}

#mhb .mhb-crumbs{display:flex;gap:6px;margin:0 0 16px;font-size:14px;line-height:1.3;color:var(--mhb-dim)}
#mhb .mhb-crumbs a{position:relative;color:var(--mhb-dim);text-decoration:none}
#mhb .mhb-crumbs a::after{content:"";position:absolute;inset:-13px -10px}
#mhb .mhb-crumbs a:hover{color:#fff;text-decoration:underline}
#mhb .mhb-crumbs [aria-current]{color:#fff;font-weight:500}
#mhb .mhb-eyebrow{display:flex;align-items:center;gap:10px;margin:0 0 14px;font:600 14px/1.35 var(--font-body,'InterVar',sans-serif);letter-spacing:.09em;color:var(--mhb-soft)}
/* four bars of signal, drawn: the icon of the old kicker */
#mhb .mhb-sig{display:inline-flex;align-items:flex-end;gap:3px;height:13px;flex:none}
#mhb .mhb-sig i{display:block;width:3px;border-radius:1px;background:var(--mhb-ice)}
#mhb .mhb-sig i:nth-child(1){height:4px}
#mhb .mhb-sig i:nth-child(2){height:7px}
#mhb .mhb-sig i:nth-child(3){height:10px}
#mhb .mhb-sig i:nth-child(4){height:13px}
#mhb h1{margin:0;max-width:100%;font:700 clamp(40px,4.5vw,60px)/1.05 var(--font-head,'Sora',system-ui,sans-serif);letter-spacing:-.035em;color:#fff}
#mhb h1 span{color:var(--mhb-ice)}

/* the price: the "from" figure, and what it is the price of */
#mhb .mhb-price{display:flex;align-items:center;margin:24px 0 0}
#mhb .mhb-v{flex:none;height:1em;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}
#mhb .mhb-v small{font:600 .44em/1 var(--font-head,'Sora',sans-serif);letter-spacing:-.01em;color:var(--mhb-soft)}
#mhb .mhb-terms{margin-left:26px;padding-left:26px;border-left:1px solid var(--mhb-hair);font-size:15px;line-height:1.5;color:var(--mhb-soft);white-space:nowrap}

#mhb .mhb-cta-row{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;gap:12px;margin:24px 0 0}
#mhb .mhb-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}
#mhb .mhb-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 */
#mhb .mhb-btn.btn-cta,#mhb .mhb-btn.btn-cta:hover{background:#25E3C2;color:#05070F;border:0;box-shadow:none}
#mhb .mhb-btn.btn-cta:hover{filter:brightness(1.08)}
#mhb .mhb-ghost{border:1px solid rgba(255,255,255,.34);color:#fff;background:transparent}
#mhb .mhb-ghost:hover{color:#fff;border-color:rgba(255,255,255,.7)}
#mhb .mhb-btn:focus-visible,#mhb .mhb-tabs button:focus-visible,#mhb .mhb-cp-btn:focus-visible,#mhb a:focus-visible{outline:2px solid #fff;outline-offset:3px}
#mhb .mhb-trust{margin:14px 0 0;font-size:15px;line-height:1.45;color:var(--mhb-dim)}
#mhb .mhb-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)}
#mhb .mhb-buy .qd-pay .qd-pay-terms{color:var(--qd-pay-muted)!important}
#mhb .mhb-lead{margin:30px 0 0;max-width:74ch;font-size:18px;line-height:1.6;color:var(--mhb-soft)}

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

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

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

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

/* the explorer card that follows the hero keeps its markup; without the old copy above it, it sits on the first row */
#mhb + .mn-hero{padding-top:44px}
#mhb + .mn-hero .mn-hero-grid{row-gap:0}
#mhb + .mn-hero .mn-mobile-atlas{grid-row:1;margin-top:0}

@media (max-width:959px){
  #mhb .mhb-in{display:flex;flex-direction:column;padding:22px 20px 30px}
  #mhb .mhb-head{order:1;padding-right:0}
  #mhb .mhb-buy{order:2;padding-right:0}
  #mhb .mhb-scene{order:3;display:block;margin:6px -14px 0}
  #mhb .mhb-tiles{order:4}
  #mhb .mhb-lead{order:5;margin-top:22px;font-size:17px}
  #mhb .mhb-crumbs{margin-bottom:10px}
  #mhb .mhb-eyebrow{margin-bottom:10px}
  #mhb h1{font-size:clamp(34px,10.4vw,46px);line-height:1.06}
  #mhb .mhb-price{flex-direction:column;align-items:flex-start;margin-top:16px}
  #mhb .mhb-v{font-size:clamp(30px,9vw,36px)}
  #mhb .mhb-v small{font-size:15px}
  #mhb .mhb-terms{margin:10px 0 0;padding:0;border:0;font-size:14px;line-height:1.5}
  #mhb .mhb-cta-row{margin-top:16px;gap:10px;flex-wrap:nowrap}
  #mhb .mhb-btn{flex:0 1 auto;min-width:200px;min-height:52px;padding:0 22px;font-size:16px}
  #mhb .mhb-trust{margin-top:12px;font-size:14px}
  #mhb .mhb-view{aspect-ratio:347/214}
  #mhb .mhb-lb{height:14px;gap:4px;font-size:11px}
  #mhb .mhb-lb-sel{height:22px;font-size:12.5px}
  #mhb .mhb-pick{gap:8px 10px;padding:0 14px}
  #mhb .mhb-count{flex-basis:100%;justify-content:center}
  #mhb .mhb-count b{font-size:36px}
  #mhb .mhb-count span{font-size:14px}
  #mhb .mhb-cp{flex:1 1 100%;min-width:0}
  #mhb .mhb-cp-btn{width:100%;min-width:0;max-width:none;height:46px}
  #mhb .mhb-cp-pop{left:0;right:0;width:auto;transform:none;bottom:calc(100% + 8px);animation-name:mhb-pop-m}
  #mhb .mhb-cp-list{max-height:228px}
  #mhb .mhb-tiles{grid-template-columns:1fr 1fr;gap:10px;margin-top:16px}
  #mhb .mhb-tile{padding:10px 12px 14px}
  #mhb .mhb-tile canvas{height:78px}
  #mhb .mhb-tt{font-size:16px}
  #mhb .mhb-tile p.mhb-t{font-size:14px}
  #mhb + .mn-hero{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 (never a wrap that depends on the font); under 360 px they stack */
  #mhb .mhb-btn{flex:1 1 auto;min-width:0;padding:0 12px;font-size:15px}
  #mhb .mhb-tiles{grid-template-columns:1fr}
  #mhb .mhb-tile{display:grid;grid-template-columns:116px minmax(0,1fr);column-gap:14px;align-items:center;padding:12px 14px 12px 12px}
  #mhb .mhb-tile canvas{height:84px}
  #mhb .mhb-ab{gap:0}
  #mhb .mhb-tt{margin-top:0}
  #mhb .mhb-tile p.mhb-path{padding:6px 10px;border-radius:14px;line-height:1.25;white-space:normal}
}
@media (max-width:359px){
  #mhb .mhb-cta-row{flex-direction:column;align-items:stretch}
  #mhb .mhb-btn{flex:none;font-size:16px}
  /* too narrow for the drawing beside the text: the drawing goes back on top */
  #mhb .mhb-tile{display:block;padding:10px 14px 14px}
  #mhb .mhb-tile canvas{height:78px}
  #mhb .mhb-ab{gap:12px}
  #mhb .mhb-tt{margin-top:8px}
}
/* Room kept from the first paint where the web font changes a line break (each was a load shift of 0.005 to 0.018):
   - 960 to 1219 px: the count and the picker do not fit one row in the right column: the count has its own row;
   - 960 to 1099 px: the two lines beside the price sit closer to it, so they never wrap (they are nowrap);
   - 960 to 1279 px and up to 579 px: the note under the buttons is on two lines, or on one line in one font and two
     in the other: two lines of room. */
@media (min-width:960px) and (max-width:1219px){
  #mhb .mhb-count{flex-basis:100%;justify-content:center}
}
@media (min-width:960px) and (max-width:1099px){
  #mhb .mhb-terms{margin-left:18px;padding-left:18px}
}
@media (min-width:960px) and (max-width:1279px){
  #mhb .mhb-trust{min-height:2.9em}
}
@media (max-width:579px){
  #mhb .mhb-trust{min-height:2.9em}
}
@media (prefers-reduced-motion:reduce){
  #mhb .mhb-view canvas,#mhb .mhb-btn,#mhb .mhb-cp-chev{transition:none}
  #mhb .mhb-cp-pop{animation:none}
}
