/* ai.withmagic.ai/agent-search: a builder's test report. White paper, near-black ink, Inter only.
   Two data colors: blue = mine (the site's own blue), amber = Cloudflare. Nothing else is colored. */
@font-face{font-family:"Inter";src:url(/fonts/inter-latin.woff2) format("woff2");font-weight:100 900;font-display:swap}
:root{
  --paper:#FFFFFF;--ink:#171717;--mute:#57534E;--line:#E7E5E4;--soft:#F5F5F4;
  --ours:#1F4A8C;--cf:#B45309;--track:#EEEDEB;--focus:#1F4A8C;
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--paper);color:var(--ink);font:400 18px/1.6 "Inter",system-ui,-apple-system,"Segoe UI",sans-serif}
a{color:var(--ours);text-underline-offset:3px;text-decoration-thickness:1px}
a:hover{text-decoration-thickness:2px}
:focus-visible{outline:3px solid var(--focus);outline-offset:2px}
.skip{position:absolute;left:-9999px;top:0}
.skip:focus{left:16px;top:8px;background:var(--paper);padding:8px 12px;z-index:2}

header.site,main,footer.site{max-width:720px;margin:0 auto;padding:0 16px}
header.site{padding-top:16px;padding-bottom:8px;border-bottom:1px solid var(--line)}
.home{display:inline-flex;flex-wrap:wrap;align-items:baseline;gap:0 10px;min-height:44px;padding:10px 0;color:var(--ink);text-decoration:none;font-weight:600}
.home span{color:var(--mute);font-weight:400}

h1{font-size:30px;line-height:1.2;letter-spacing:-.02em;font-weight:750;margin:32px 0 16px;text-wrap:balance}
h2{font-size:24px;line-height:1.25;letter-spacing:-.01em;font-weight:700;margin:56px 0 12px}
p{margin:0 0 16px}
.byline{color:var(--mute)}
.dek{font-size:19px}
.byline a{color:var(--ink)}
code{font-family:ui-monospace,"Cascadia Mono",Consolas,monospace;font-size:.9em;background:var(--soft);padding:1px 5px;border-radius:4px;overflow-wrap:anywhere}

/* Charts: inline SVG, text sized in viewBox units; the SVG grows to 480px at most. */
figure.chart{margin:24px 0 8px}
figure.chart svg{display:block;width:100%;max-width:480px;height:auto;overflow:visible}
svg text{font-family:"Inter",system-ui,sans-serif;fill:var(--ink)}
svg .g{font-size:17px;font-weight:650}
svg .l{font-size:17px;fill:var(--mute)}
svg .v{font-size:17px;font-weight:700}
svg .s{font-size:17px;fill:var(--mute)}
svg .track{fill:var(--track)}
svg .ours{fill:var(--ours)}
svg .cf{fill:var(--cf)}
figcaption{color:var(--mute);font-size:16px;line-height:1.55;margin-top:16px;max-width:65ch}

/* Table: stacks into labelled cards under 560px so nothing scrolls sideways. */
.table-wrap{margin:8px 0 8px}
table{width:100%;border-collapse:collapse;font-size:17px;line-height:1.45}
th,td{text-align:left;vertical-align:top;padding:12px 8px;border-bottom:1px solid var(--line)}
thead th{font-size:16px;color:var(--mute);font-weight:600;border-bottom:2px solid var(--ink)}
table.cmp thead th:nth-child(2){color:var(--ours)}
table.cmp thead th:nth-child(3){color:var(--cf)}
tbody th{font-weight:500;width:38%}
td strong{font-weight:700}
svg text,.answer{font-feature-settings:"tnum" 1}
.note{color:var(--mute);font-size:16px;margin-top:12px}
@media (max-width:559px){
  table.cmp thead{position:absolute;left:-9999px}
  table.cmp,table.cmp tbody,table.cmp tr,table.cmp th,table.cmp td{display:block;width:100%}
  table.cmp tr{padding:14px 0;border-bottom:1px solid var(--line)}
  table.cmp tbody th{width:100%;padding:0 0 6px;border:0;font-weight:650}
  table.cmp td{border:0;padding:4px 0}
  table.cmp td::before{display:inline;margin-right:8px;font-size:16px}
  table.cmp td:nth-of-type(1)::before{content:"Mine";color:var(--ours);font-weight:600}
  table.cmp td:nth-of-type(2)::before{content:"Cloudflare";color:var(--cf);font-weight:600}
}

ul.plain{padding:0;margin:0 0 16px;list-style:none}
ul.plain li{padding-left:20px;position:relative;margin:0 0 14px}
ul.plain li::before{content:"";position:absolute;left:2px;top:.72em;width:7px;height:7px;background:var(--ink);border-radius:50%}

/* Forms */
form label{display:block;font-weight:600;margin:0 0 8px}
form .row{display:flex;gap:8px;flex-wrap:wrap}
input[type=search],input[type=email]{flex:1 1 220px;min-width:0;min-height:48px;padding:10px 14px;font:inherit;font-size:18px;color:var(--ink);background:var(--paper);border:1.5px solid #A8A29E;border-radius:10px}
input:focus-visible{outline:3px solid var(--focus);outline-offset:1px;border-color:var(--focus)}
button{min-height:48px;padding:10px 22px;font:inherit;font-weight:650;color:#fff;background:var(--ink);border:0;border-radius:10px;cursor:pointer}
button:hover{background:#333}
button[disabled]{opacity:.6;cursor:progress}
.status{color:var(--mute);font-size:16px;min-height:1.5em;margin:12px 0 8px}
.status.err{color:#9F1239}
.answer{margin:0 0 16px;padding:16px;background:var(--soft);border:1px solid var(--line);border-radius:10px;font:16px/1.55 ui-monospace,"Cascadia Mono",Consolas,monospace;white-space:pre-wrap;overflow-wrap:anywhere;max-height:420px;overflow:auto}
.hp{position:absolute;left:-9999px}
details.head summary{padding:10px 0;cursor:pointer;color:var(--ours);font-size:16px}
details.head pre{margin-top:8px}

footer.site{margin-top:72px;padding-top:24px;padding-bottom:48px;border-top:1px solid var(--line);color:var(--mute);font-size:16px}
footer.site a{display:inline-block;padding:10px 0}

@media (min-width:768px){
  h1{font-size:42px;margin-top:48px}
  h2{font-size:26px}
  figure.chart{margin:32px 0 8px}
}
@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}

.tradeoff{font-size:20px;font-weight:600;line-height:1.45;margin-top:24px}
details.qtable{margin:8px 0 16px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
details.qtable>summary{min-height:48px;padding:12px 0;cursor:pointer;font-weight:650;color:var(--ours)}
.qwrap{margin:0}
table.q{font-size:16px}
@media (max-width:767px){
  table.q thead{position:absolute;left:-9999px}
  table.q,table.q tbody,table.q tr,table.q td{display:block;width:100%}
  table.q tr{padding:12px 0;border-bottom:1px solid var(--line)}
  table.q td{border:0;padding:2px 0}
  table.q td:nth-child(1){display:inline;width:auto;font-weight:650;color:var(--mute)}
  table.q td:nth-child(1)::before{content:"#"}
  table.q td:nth-child(2){display:inline;font-weight:650;margin-left:6px}
  table.q td:nth-child(3){margin-top:6px}
  table.q td:nth-child(3)::before{content:"Right section: ";color:var(--mute)}
  table.q td:nth-child(4)::before{content:"Mine: ";color:var(--ours);font-weight:600}
  table.q td:nth-child(5)::before{content:"Cloudflare: ";color:var(--cf);font-weight:600}
}
table.q th,table.q td{padding:8px 6px}
table.q td:first-child{color:var(--mute)}
.ok,.no{display:inline-block;font-weight:650;font-size:16px;margin-left:4px}
.ok{color:#166534}.no{color:#9F1239}

/* v3: the live-answer picture, the how-it-works diagram, the questions section */
figure.shot{margin:24px 0 24px}
figure.shot img{display:block;width:100%;max-width:480px;height:auto;border-radius:10px;border:1px solid var(--line)}
figure.diagram{margin-bottom:24px}
svg .bx{fill:var(--soft);stroke:#D6D3D1;stroke-width:1}
svg .ar{fill:none;stroke:var(--mute);stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
h3{font-size:19px;line-height:1.35;font-weight:650;margin:28px 0 6px}
.tradeoff{border-left:4px solid var(--ours);background:var(--soft);padding:14px 18px;border-radius:0 10px 10px 0}
ul.keynums li{margin-bottom:12px}
figure.shot.wide img{max-width:100%}
