/* Speero A/B Testing Tools — hub / directory embed styles
   Ported from the hub prototype. Every selector is scoped under
   #speero-testing-tools so Webflow's own classes (.container, .card, .wrap,
   .hero, .grid) cannot leak into the embed, and the embed cannot restyle the
   host page. Loaded by the Webflow Code Embed on /ab-testing-tools. */

@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,900;1,900&display=swap');

#speero-testing-tools {
  --blue:#001641;
  --red:#FF0049;
  --yellow:#FFB800;
  --egg:#480F43;
  --ink:#001641;
  --ink-60:rgba(0,22,65,.62);
  --ink-40:rgba(0,22,65,.42);
  --hairline:rgba(0,22,65,.14);
  --hairline-soft:rgba(0,22,65,.08);
  --card:#FAFAF7;

  font-family:'Poppins',Arial,sans-serif;
  font-weight:300;
  color:var(--ink);
  line-height:1.6;
  font-size:15px;
}
#speero-testing-tools *{box-sizing:border-box;margin:0;padding:0}
#speero-testing-tools a{color:var(--ink)}
#speero-testing-tools a.redlink{color:var(--red);text-decoration:none;border-bottom:1px solid rgba(255,0,73,.35)}
#speero-testing-tools a.redlink:hover{border-bottom-color:var(--red)}
#speero-testing-tools h1,#speero-testing-tools h2,#speero-testing-tools h3{font-weight:900;line-height:1.15;letter-spacing:-0.01em}
#speero-testing-tools .wrap{max-width:1120px;margin:0 auto;padding:0 24px}
#speero-testing-tools .eyebrow{font-weight:900;font-style:italic;text-transform:uppercase;font-size:11px;letter-spacing:.14em;color:var(--red)}
#speero-testing-tools .mono-label{font-size:10.5px;text-transform:uppercase;letter-spacing:.12em;color:var(--ink-60);font-weight:300}
#speero-testing-tools :focus-visible{outline:2px solid var(--red);outline-offset:2px}

/* hero */
#speero-testing-tools .hero{padding:44px 0 30px;border-bottom:1px solid var(--hairline)}
#speero-testing-tools .hero h1{font-size:clamp(30px,4.6vw,46px);max-width:820px;margin:12px 0 14px}
#speero-testing-tools .hero p.sub{max-width:660px;color:var(--ink-60);font-size:15.5px}
#speero-testing-tools .metastrip{display:flex;flex-wrap:wrap;gap:0;margin-top:28px;border:1px solid var(--hairline);background:var(--card)}
#speero-testing-tools .metastrip>div{padding:12px 20px;border-right:1px solid var(--hairline-soft);flex:1;min-width:150px}
#speero-testing-tools .metastrip>div:last-child{border-right:none}
#speero-testing-tools .metastrip b{display:block;font-weight:900;font-size:19px}
#speero-testing-tools .metastrip b.red{color:var(--red)}
#speero-testing-tools .metastrip>div>span{font-size:11px;text-transform:uppercase;letter-spacing:.1em;color:var(--ink-60)}

/* sections */
#speero-testing-tools section{padding:44px 0}
#speero-testing-tools .sec-head{display:flex;align-items:baseline;gap:16px;margin-bottom:6px}
#speero-testing-tools .sec-head h2{font-size:22px}
#speero-testing-tools .sec-sub{color:var(--ink-60);font-size:13.5px;max-width:720px;margin-bottom:20px}

/* map */
#speero-testing-tools .mapframe{background:var(--card);border:1px solid var(--hairline);padding:18px 18px 10px;position:relative}
#speero-testing-tools .mapframe svg{width:100%;height:auto;display:block}
#speero-testing-tools .map-caption{font-size:11.5px;line-height:1.55;color:var(--ink-60);padding:10px 4px 8px;border-top:1px solid var(--hairline-soft);margin-top:10px;max-width:860px}
#speero-testing-tools .map-caption b{font-weight:900;color:var(--ink)}
#speero-testing-tools .map-caption p+p{margin-top:8px}

/* filters */
#speero-testing-tools .controls{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:16px;align-items:center}
#speero-testing-tools .search{flex:1;min-width:220px;position:relative}
#speero-testing-tools .search input{width:100%;padding:10px 14px;border:1px solid var(--hairline);background:var(--card);font-family:inherit;font-size:13.5px;font-weight:300;color:var(--ink)}
#speero-testing-tools .search input::placeholder{color:var(--ink-40)}
#speero-testing-tools .fgroup{position:relative}
#speero-testing-tools .fbtn{padding:9px 14px;border:1px solid var(--hairline);background:var(--card);font-family:inherit;font-size:12.5px;font-weight:300;color:var(--ink);cursor:pointer;display:flex;align-items:center;gap:7px}
#speero-testing-tools .fbtn .cnt{background:var(--red);color:#fff;font-weight:900;font-size:10px;min-width:16px;height:16px;border-radius:8px;display:inline-flex;align-items:center;justify-content:center;padding:0 4px}
#speero-testing-tools .fbtn:hover{border-color:var(--ink-40)}
#speero-testing-tools .fpanel{position:absolute;top:calc(100% + 6px);left:0;z-index:40;background:#fff;border:1px solid var(--hairline);box-shadow:0 8px 24px rgba(0,22,65,.10);min-width:250px;max-height:300px;overflow:auto;padding:8px;display:none}
#speero-testing-tools .fpanel.open{display:block}
#speero-testing-tools .fpanel label{display:flex;gap:9px;align-items:flex-start;padding:6px 8px;font-size:12.5px;cursor:pointer}
#speero-testing-tools .fpanel label:hover{background:var(--bg,#F3F3EF)}
#speero-testing-tools .fpanel input{margin-top:3px;accent-color:var(--red)}
#speero-testing-tools .clearbtn{font-size:12px;color:var(--ink-60);background:none;border:none;cursor:pointer;font-family:inherit;text-decoration:underline}
#speero-testing-tools .resultline{font-size:12px;color:var(--ink-60);margin:2px 0 14px}
#speero-testing-tools .resultline b{font-weight:900;color:var(--ink)}

/* cards */
#speero-testing-tools .grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(330px,1fr));gap:18px}
#speero-testing-tools .card{background:var(--card);border:1px solid var(--hairline);padding:20px;display:flex;flex-direction:column;gap:10px;cursor:pointer;transition:border-color .15s, transform .15s;position:relative}
#speero-testing-tools .card:hover{border-color:var(--ink);transform:translateY(-2px)}
#speero-testing-tools .card .name{font-weight:900;font-size:17px;line-height:1.2;padding-right:60px}
#speero-testing-tools .card .tagline{font-size:12.5px;color:var(--ink-60);min-height:2.6em}
#speero-testing-tools .chips{display:flex;flex-wrap:wrap;gap:6px}
#speero-testing-tools .chip{font-size:10px;text-transform:uppercase;letter-spacing:.08em;padding:3px 8px;border:1px solid var(--hairline);color:var(--ink-60);background:transparent}
#speero-testing-tools .chip.mcp{border-color:var(--ink);color:var(--ink)}
#speero-testing-tools .chip.acq{border-color:var(--yellow);color:#8a6400}
#speero-testing-tools .card .foot{display:flex;justify-content:space-between;align-items:center;margin-top:auto;padding-top:10px;border-top:1px solid var(--hairline-soft)}
#speero-testing-tools .card .foot .view{font-size:12px;font-weight:900;color:var(--ink)}
#speero-testing-tools .cmpadd{position:absolute;top:16px;right:16px;font-size:10.5px;border:1px solid var(--hairline);background:transparent;padding:4px 8px;cursor:pointer;font-family:inherit;color:var(--ink-60);text-transform:uppercase;letter-spacing:.06em}
#speero-testing-tools .cmpadd:hover{border-color:var(--red);color:var(--red)}
#speero-testing-tools .cmpadd.on{background:var(--red);border-color:var(--red);color:#fff;font-weight:900}

/* compare tray */
#speero-testing-tools .tray{position:fixed;bottom:0;left:0;right:0;background:var(--blue);color:#fff;z-index:60;transform:translateY(110%);transition:transform .2s}
#speero-testing-tools .tray.show{transform:translateY(0)}
#speero-testing-tools .tray-in{display:flex;align-items:center;gap:14px;padding:14px 24px;max-width:1120px;margin:0 auto;flex-wrap:wrap}
#speero-testing-tools .tray .tsel{display:flex;gap:8px;flex-wrap:wrap;flex:1}
#speero-testing-tools .tray .tpill{border:1px solid rgba(255,255,255,.35);padding:5px 11px;font-size:12px;display:flex;gap:8px;align-items:center}
#speero-testing-tools .tray .tpill button{background:none;border:none;color:var(--yellow);cursor:pointer;font-size:13px;font-family:inherit;line-height:1}
#speero-testing-tools .tray .go{background:var(--red);color:#fff;border:none;font-family:inherit;font-weight:900;font-size:13px;padding:10px 18px;cursor:pointer}
#speero-testing-tools .tray .go:disabled{opacity:.4;cursor:default}
#speero-testing-tools .tray .mono-label{color:rgba(255,255,255,.6)}

/* compare matrix */
#speero-testing-tools .breadcrumb{padding:20px 0 0;font-size:12px;color:var(--ink-60)}
#speero-testing-tools .breadcrumb a{color:var(--ink-60);text-decoration:none;cursor:pointer}
#speero-testing-tools .breadcrumb a:hover{color:var(--ink)}
#speero-testing-tools .cmp-table-wrap{overflow-x:auto;border:1px solid var(--hairline);background:var(--card)}
#speero-testing-tools table.cmp{border-collapse:collapse;width:100%;min-width:720px;font-size:12.5px}
#speero-testing-tools table.cmp th,#speero-testing-tools table.cmp td{border-bottom:1px solid var(--hairline-soft);border-right:1px solid var(--hairline-soft);padding:11px 14px;text-align:left;vertical-align:top}
#speero-testing-tools table.cmp th{font-weight:900;font-size:13px}
#speero-testing-tools table.cmp td:first-child,#speero-testing-tools table.cmp th:first-child{position:sticky;left:0;background:var(--card);font-size:10.5px;text-transform:uppercase;letter-spacing:.1em;color:var(--ink-60);min-width:150px;z-index:2}
#speero-testing-tools table.cmp .yes{color:var(--red);font-weight:900}
#speero-testing-tools table.cmp .dim{color:var(--ink-40)}
