/* Agent comparison pages (18/11/2026): /alternatives/tavily/, /alternatives/exa/, /best/headless-browser-api-for-ai-agents/.
   Written by agent-compare-build.mjs (content: agent-compare-content.mjs). Script: agent-compare.js.
   First screen: hero B (markup #dhb, /datacenter-proxies/hero-b/hero-b.css loaded by its URL and not changed), with this
   family's own scene in place of the map: a recorded API call replayed (search pages) or a recorded browser run (browser
   page). hero-b.js is NOT loaded: the scene and the tiles here have no canvas.
   Under the hero: the fresh stack look of the current best pages (white cards on #F6F7FB, violet #4B3FD6 for small
   accents, 20px radius, soft shadows). One teal element per viewport: the main button. Everything is scoped under html.qd-ac.
   Motion: every animated block has a complete still state (no script, reduced motion, before it enters the view), loops
   run only while the scene is on screen, and nothing changes size after the first paint (fixed rows, clamped lines). */

html.qd-ac{--a-ink:#0E1220;--a-body:#3A4256;--a-muted:#5A6377;--a-line:rgba(14,18,32,.09);--a-line2:rgba(14,18,32,.16);
  --a-violet:#4B3FD6;--a-violet-ink:#3B2FCF;--a-violet-wash:#F7F6FF;--a-card:#FFFFFF;--a-r:20px;--a-pick-soft:#EEF8F1;
  --a-shadow:0 1px 2px rgba(14,18,32,.04),0 14px 38px -22px rgba(14,18,32,.16);--a-ease:cubic-bezier(.16,1,.3,1);
  --a-mono:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}

/* ---------- hero B: what this family changes */
#dhb.ac-hero .dhb-crumbs{flex-wrap:wrap;row-gap:2px}
#dhb.ac-hero .dhb-crumbs em{min-width:0;overflow-wrap:anywhere}
#dhb.ac-hero h1{font-size:clamp(38px,4vw,54px);min-height:2.1em}
#dhb.ac-hero .dhb-spec{max-width:30em}
#dhb.ac-hero .trust{min-height:2.9em}
@media (max-width:959px){#dhb.ac-hero h1{max-width:none;min-height:2.12em;font-size:clamp(30px,8.2vw,44px)}}
@media (max-width:559px){
  #dhb.ac-hero h1{min-height:calc(var(--ac-h1-lines,3) * 1.06em)}
  #dhb .ac-bar .ac-when{display:none}
  #dhb.ac-hero .dhb-cta-row{flex-direction:column;align-items:stretch}
  #dhb.ac-hero .dhb-btn{flex:none;width:100%}
  #dhb.ac-hero .dhb-spec{max-width:none;min-height:3.9em}
  #dhb.ac-hero .trust{max-width:none;min-height:4.35em}
}

/* the scene: one recorded call, replayed */
#dhb .ac-scene{display:grid;align-content:center;gap:14px;padding:6px 0 0 18px}
#dhb .ac-term{position:relative;border:1px solid var(--dhb-hair);border-radius:18px;background:#06080F;overflow:hidden;font:500 13.5px/1.45 var(--a-mono,ui-monospace,monospace);color:#C9D1E3;box-shadow:0 30px 70px -40px rgba(76,110,255,.45)}
#dhb .ac-bar{display:flex;align-items:center;gap:10px;height:42px;padding:0 16px;border-bottom:1px solid rgba(255,255,255,.08);color:#96A1BA;font-size:12.5px}
#dhb .ac-bar i{display:block;width:9px;height:9px;border-radius:50%;background:rgba(255,255,255,.16)}
#dhb .ac-bar i+i{margin-left:-4px}
#dhb .ac-bar b{margin-left:6px;font-weight:600;color:#fff;white-space:nowrap}
#dhb .ac-bar .ac-when{margin-left:auto;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#dhb .ac-body{padding:14px 16px 16px;display:grid;gap:10px}
#dhb .ac-line{height:20px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#dhb .ac-k{color:#9CC4FF}
#dhb .ac-s{color:#E8ECF6}
#dhb .ac-caret{display:inline-block;width:7px;height:15px;margin-left:2px;vertical-align:-2px;background:#9CC4FF;opacity:0}
#dhb .ac-term.is-typing .ac-caret{animation:ac-blink .8s steps(2) infinite!important}
@keyframes ac-blink{0%{opacity:1}50%{opacity:0}}
#dhb .ac-rows{list-style:none;margin:2px 0 0;padding:0;display:grid;gap:8px}
#dhb .ac-rows li{display:grid;grid-template-columns:26px minmax(0,1fr);gap:8px;height:44px;padding:5px 10px;border-radius:10px;background:rgba(255,255,255,.04);transition:opacity .35s ease,transform .35s ease!important}
#dhb .ac-rows li>span:first-child{color:#96A1BA}
#dhb .ac-rows li em,#dhb .ac-rows li b{display:block;font-style:normal;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#dhb .ac-rows li em{font-size:12px;color:#96A1BA}
#dhb .ac-rows li b{font-family:var(--font-body,'InterVar',system-ui,sans-serif);font-weight:500;font-size:14px;color:#fff}
#dhb .ac-meta{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
#dhb .ac-meta div{height:54px;padding:7px 10px;border-radius:10px;border:1px solid rgba(255,255,255,.08)}
#dhb .ac-meta span{display:block;font-size:11.5px;color:#96A1BA;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#dhb .ac-meta b{display:block;font:600 17px/1.3 var(--font-head,'Sora',sans-serif);color:#fff;font-variant-numeric:tabular-nums;white-space:nowrap}
#dhb .ac-aio{height:62px;padding:8px 10px;border-radius:10px;background:rgba(156,196,255,.07);overflow:hidden}
#dhb .ac-aio span{display:block;font-size:11.5px;color:#9CC4FF}
#dhb .ac-aio p{margin:2px 0 0;font:400 13.5px/1.4 var(--font-body,'InterVar',system-ui,sans-serif);color:#E8ECF6;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
#dhb .ac-aio.is-none p{color:#96A1BA}
/* the parts that appear one after the other while a call is replayed */
#dhb .ac-term.is-run .ac-step{opacity:0;transform:translateY(4px)}
#dhb .ac-term.is-run .ac-step.is-in{opacity:1;transform:none}
#dhb .ac-step{transition:opacity .35s ease,transform .35s ease!important}
/* the browser run: a page drawn in boxes, a pointer, the steps */
#dhb .ac-page{position:relative;height:150px;margin:0;border-radius:12px;background:#0B0F1A;border:1px solid rgba(255,255,255,.08);overflow:hidden}
#dhb .ac-url{display:flex;align-items:center;gap:8px;height:30px;padding:0 10px;border-bottom:1px solid rgba(255,255,255,.08);font-size:12px;color:#C9D1E3;white-space:nowrap;overflow:hidden}
#dhb .ac-url span{overflow:hidden;text-overflow:ellipsis}
#dhb .ac-quotes{display:grid;gap:7px;padding:10px 12px}
#dhb .ac-quotes i{display:block;height:16px;border-radius:5px;background:rgba(255,255,255,.07);transition:opacity .3s ease,background-color .3s ease!important}
#dhb .ac-quotes i:nth-child(2){width:86%}#dhb .ac-quotes i:nth-child(3){width:72%}
#dhb .ac-page.is-blank .ac-quotes i{opacity:.25}
#dhb .ac-page.is-hit .ac-quotes i{background:rgba(156,196,255,.18)}
#dhb .ac-next{position:absolute;right:12px;bottom:10px;height:26px;padding:0 12px;border-radius:999px;border:1px solid rgba(255,255,255,.28);font:500 12px/24px var(--font-body,'InterVar',sans-serif);color:#fff;transition:background-color .2s ease!important}
#dhb .ac-page.is-click .ac-next{background:rgba(255,255,255,.18)}
#dhb .ac-ptr{position:absolute;left:30%;top:60%;width:14px;height:14px;border-radius:50%;background:#9CC4FF;box-shadow:0 0 0 6px rgba(156,196,255,.18);transform:translate(0,0);transition:transform .9s var(--a-ease)!important}
#dhb .ac-page.is-aim .ac-ptr,#dhb .ac-page.is-click .ac-ptr{transform:translate(var(--ac-px,180px),var(--ac-py,38px))}
#dhb .ac-log{list-style:none;margin:0;padding:0;display:grid;gap:5px}
#dhb .ac-log li{height:20px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#C9D1E3}
#dhb .ac-log li b{font-weight:600;color:#9CC4FF}
#dhb .ac-log li em{font-style:normal;color:#96A1BA}
/* the recorded calls to pick from */
#dhb .ac-tabs{display:flex;flex-wrap:wrap;justify-content:center;gap:6px}
#dhb .ac-tabs button{height:44px;margin:0;padding:0 14px;border-radius:999px;border:1px solid var(--dhb-hair);background:none;font:500 13.5px/1 var(--font-body,'InterVar',sans-serif);color:#C9D1E3;white-space:nowrap;cursor:pointer;transition:background .15s,color .15s,border-color .15s!important}
#dhb .ac-tabs button:hover{border-color:rgba(255,255,255,.4);color:#fff}
#dhb .ac-tabs button[aria-pressed=true]{background:#fff;color:#05070F;border-color:#fff;font-weight:600}
#dhb .ac-tabs button:focus-visible{outline:2px solid #fff;outline-offset:3px}
#dhb .ac-cap{margin:0;text-align:center;font-size:13.5px;line-height:1.45;color:#96A1BA}
/* the tiles: the comparison at a glance, two lines each (us, them) */
#dhb.ac-hero .dhb-tile{padding:16px 18px 18px}
#dhb.ac-hero .dhb-tt{margin:0;font-size:13px;line-height:1.3;font-family:var(--font-body,'InterVar',sans-serif);font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:#96A1BA}
#dhb.ac-hero .ac-us{margin:8px 0 0;font:600 16px/1.32 var(--font-head,'Sora',sans-serif);letter-spacing:-.01em;color:#fff}
#dhb.ac-hero .dhb-tile p.ac-them{margin:8px 0 0;padding-top:8px;border-top:1px solid rgba(255,255,255,.1);font-size:14px;line-height:1.42;color:#96A1BA}
#dhb.ac-hero .ac-them b{font-weight:600;color:#C9D1E3}
@media (min-width:960px) and (max-width:1099px){#dhb.ac-hero .dhb-tile{min-height:178px}}
@media (max-width:959px){
  #dhb .ac-scene{padding:0 14px}
  #dhb .ac-meta{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:559px){
  #dhb.ac-hero .dhb-tile{display:block;padding:14px 16px 16px}
  #dhb .ac-term{font-size:12.5px}
  #dhb .ac-tabs button{padding:0 12px;font-size:13px}
}
@media (prefers-reduced-motion:reduce){
  #dhb .ac-step,#dhb .ac-rows li,#dhb .ac-ptr,#dhb .ac-quotes i,#dhb .ac-next{transition:none!important}
  #dhb .ac-term.is-typing .ac-caret{animation:none!important}
}

/* ---------- sections */
html.qd-ac main .ac-sec{padding-top:56px;padding-bottom:56px;max-width:1240px}
html.qd-ac main .ac-sec[id]{scroll-margin-top:84px}
html.qd-ac main .ac-sec h2{margin:0 0 14px;max-width:30ch;font:600 clamp(26px,2.7vw,36px)/1.15 var(--font-head,'Sora',system-ui,sans-serif);letter-spacing:-.025em;color:var(--a-ink)}
html.qd-ac main .ac-sec h3{margin:0 0 8px;font:600 19px/1.3 var(--font-head,'Sora',system-ui,sans-serif);letter-spacing:-.015em;color:var(--a-ink)}
html.qd-ac main .ac-kicker{margin:0 0 10px;font:600 13px/1.3 var(--font-body,'InterVar',system-ui,sans-serif);letter-spacing:.09em;text-transform:uppercase;color:var(--a-violet)}
html.qd-ac main .ac-prose{max-width:72ch}
html.qd-ac main .ac-prose p{margin:0;font-size:17px;line-height:1.7;color:var(--a-body)}
html.qd-ac main .ac-prose p+p{margin-top:14px}
html.qd-ac main .ac-prose strong{color:var(--a-ink);font-weight:600}
html.qd-ac main :is(.ac-prose,.ac-note,.ac-card) a{color:var(--a-violet-ink);text-decoration:underline;text-underline-offset:3px;text-decoration-color:rgba(75,63,214,.35)}
html.qd-ac main :is(.ac-prose,.ac-note,.ac-card) a:hover{text-decoration-color:currentColor}
html.qd-ac main .ac-prose ul.ac-list,html.qd-ac main .ac-prose ol.ac-list{margin:14px 0 0;padding:0 0 0 22px}
html.qd-ac main .ac-list li{font-size:17px;line-height:1.7;color:var(--a-body)}
html.qd-ac main .ac-list li+li{margin-top:10px}
html.qd-ac main .ac-list strong{color:var(--a-ink);font-weight:600}
html.qd-ac main :is(.ac-prose,.ac-table,.ac-card) code{font:500 .88em/1.4 var(--a-mono);padding:1px 6px;border-radius:6px;background:#F1F3F8;color:var(--a-ink);white-space:nowrap}
html.qd-ac main .ac-note{margin:16px 0 0;max-width:92ch;font-size:15px;line-height:1.6;color:var(--a-muted)}
html.qd-ac main .ac-card{background:var(--a-card);border:1px solid var(--a-line);border-radius:var(--a-r);box-shadow:var(--a-shadow)}
html.qd-ac main .ac-toc-sec{padding-top:28px;padding-bottom:8px}
html.qd-ac main .ac-toc{display:flex;flex-wrap:wrap;gap:8px;margin:0;padding:0;list-style:none}
html.qd-ac main .ac-toc a{display:inline-flex;align-items:center;min-height:44px;padding:0 14px;border-radius:999px;border:1px solid var(--a-line2);background:var(--a-card);font:500 15px/1.2 var(--font-body,'InterVar',system-ui,sans-serif);color:var(--a-body);text-decoration:none;transition:border-color .2s ease,color .2s ease,background-color .2s ease}
html.qd-ac main .ac-toc a:hover{border-color:var(--a-violet);color:var(--a-violet-ink);background:var(--a-violet-wash)}
html.qd-ac main :is(.ac-toc a,.ac-rel-card,.ac-chip):focus-visible{outline:2px solid var(--a-violet);outline-offset:3px}

/* the verdict: two cards, ours and when the other is the better buy */
html.qd-ac main .ac-two{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px;margin-top:22px}
html.qd-ac main .ac-two.ac-one{grid-template-columns:minmax(0,1fr);max-width:760px}
html.qd-ac main .ac-two .ac-card{padding:24px 26px}
html.qd-ac main .ac-two .ac-card h3{margin-bottom:10px}
html.qd-ac main .ac-two .ac-card p{margin:0;font-size:16.5px;line-height:1.65;color:var(--a-body)}
html.qd-ac main .ac-two .ac-card ul{margin:10px 0 0;padding:0 0 0 20px}
html.qd-ac main .ac-two .ac-card li{list-style:disc;font-size:16px;line-height:1.6;color:var(--a-body)}
html.qd-ac main .ac-list li{list-style:disc}html.qd-ac main ol.ac-list li{list-style:decimal}
html.qd-ac main .ac-two .ac-card li+li{margin-top:8px}
html.qd-ac main .ac-two .ac-card.is-us{border-color:rgba(31,122,69,.28);box-shadow:inset 0 3px 0 #1F7A45,var(--a-shadow)}

/* tables */
html.qd-ac main .ac-scroll{margin:20px 0 0;overflow-x:auto;-webkit-overflow-scrolling:touch;border-radius:var(--a-r);border:1px solid var(--a-line);background:var(--a-card);box-shadow:var(--a-shadow)}
html.qd-ac main table.ac-table{width:100%;min-width:640px;margin:0;border-collapse:separate;border-spacing:0;background:transparent;font-size:15.5px;line-height:1.5;color:var(--a-body)}
html.qd-ac main table.ac-table.is-narrow{min-width:520px}
html.qd-ac main table.ac-table caption{caption-side:top;padding:16px 20px 4px;text-align:left;font-size:14.5px;line-height:1.45;color:var(--a-muted)}
html.qd-ac main table.ac-table :is(th,td){padding:13px 18px;border:0;border-top:1px solid var(--a-line);text-align:left;vertical-align:top;font-size:15.5px;background:transparent}
html.qd-ac main table.ac-table thead th{border-top:0;background:#F7F8FB;font-weight:600;color:var(--a-ink);white-space:nowrap}
html.qd-ac main table.ac-table tbody th{font-weight:600;color:var(--a-ink)}
html.qd-ac main table.ac-table .ac-num{font-variant-numeric:tabular-nums;white-space:nowrap}
html.qd-ac main table.ac-table .ac-us{background:var(--a-pick-soft);color:var(--a-ink)}
html.qd-ac main table.ac-table thead th.ac-us{background:#DCF1E3;color:#14532D}
@keyframes ac-wash{0%{box-shadow:inset 0 0 0 999px rgba(52,211,153,0)}35%{box-shadow:inset 0 0 0 999px rgba(52,211,153,.22)}100%{box-shadow:inset 0 0 0 999px rgba(52,211,153,0)}}
html.qd-ac main .ac-scroll.is-on tbody .ac-us{animation:ac-wash 1.1s ease-out both;animation-delay:calc(var(--i,0) * .1s)}

/* the measured run as bars: time per search, drawn from the table next to it */
html.qd-ac main .ac-runs>*{min-width:0}
html.qd-ac main .ac-runs{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(0,1fr);gap:24px;align-items:start;margin-top:22px}
html.qd-ac main .ac-bars{padding:22px 24px 18px}
html.qd-ac main .ac-bars h3{font-size:16px;margin:0 0 14px}
html.qd-ac main .ac-bar-row{display:grid;grid-template-columns:minmax(0,1fr) 64px;gap:12px;align-items:center;min-height:44px}
html.qd-ac main .ac-bar-row span{display:block;font-size:14.5px;line-height:1.35;color:var(--a-body);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html.qd-ac main .ac-bar-row i{display:block;height:8px;margin-top:6px;border-radius:999px;background:#E9ECF4;overflow:hidden}
html.qd-ac main .ac-bar-row i::after{content:"";display:block;height:100%;width:calc(var(--w) * 1%);border-radius:inherit;background:var(--a-violet);transform-origin:left;transition:transform 1s var(--a-ease)}
html.qd-ac main .ac-bars.is-wait .ac-bar-row i::after{transform:scaleX(0)}
html.qd-ac main .ac-bar-row b{font:600 15px/1 var(--font-body,'InterVar',system-ui,sans-serif);font-variant-numeric:tabular-nums;color:var(--a-ink);text-align:right}
html.qd-ac main .ac-bars p{margin:12px 0 0;font-size:14px;line-height:1.5;color:var(--a-muted)}

/* code */
html.qd-ac main .ac-code{margin:18px 0 0;border-radius:16px;background:#0B0F1A;overflow-x:auto}
html.qd-ac main .ac-code pre{margin:0;padding:18px 20px;font:500 13.5px/1.6 var(--a-mono);color:#E8ECF6;white-space:pre}
html.qd-ac main .ac-code code{font:inherit;background:none;padding:0;color:inherit;white-space:inherit}

/* related and closing band */
html.qd-ac main .ac-rel{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:14px;margin-top:20px}
html.qd-ac main .ac-rel-card{display:block;padding:18px 20px 20px;border-radius:16px;border:1px solid var(--a-line);background:var(--a-card);box-shadow:var(--a-shadow);text-decoration:none;transition:transform .25s var(--a-ease),border-color .25s ease}
html.qd-ac main .ac-rel-card:hover{transform:translateY(-2px);border-color:var(--a-violet)}
html.qd-ac main .ac-rel-card h3{margin:0 0 6px;font-size:16.5px;color:var(--a-ink)}
html.qd-ac main .ac-rel-card p{margin:0;font-size:15px;line-height:1.5;color:var(--a-muted)}
html.qd-ac main .final-band .ac-final-row{display:flex;flex-wrap:wrap;justify-content:center;gap:12px}
html.qd-ac main .final-band .btn-outline{color:#F3F5FB;border-color:rgba(255,255,255,.34);background:transparent}
html.qd-ac main .final-band .btn-outline:hover{border-color:rgba(255,255,255,.7)}
html.qd-ac main .faq.faq-grid{scroll-margin-top:84px}

@media (max-width:1100px){html.qd-ac main .ac-runs{grid-template-columns:1fr}html.qd-ac main .ac-bars{max-width:640px}}
@media (max-width:860px){
  html.qd-ac main .ac-two,html.qd-ac main .ac-runs{grid-template-columns:1fr}
}
@media (max-width:640px){
  html.qd-ac main .ac-sec{padding-top:40px;padding-bottom:40px}
  html.qd-ac main .ac-prose p,html.qd-ac main .ac-list li{font-size:16.5px}
  html.qd-ac main .ac-two .ac-card{padding:20px}
  html.qd-ac main table.ac-table :is(th,td){padding:12px 14px;font-size:15px}
}
@media (prefers-reduced-motion:reduce){
  html.qd-ac main .ac-scroll.is-on tbody .ac-us{animation:none}
  html.qd-ac main .ac-bar-row i::after{transition:none}
  html.qd-ac main .ac-bars.is-wait .ac-bar-row i::after{transform:none}
  html.qd-ac main .ac-rel-card,html.qd-ac main .ac-toc a{transition:none}
}
