/* ScoutedLead portal. The tokens, type and buttons of scoutedlead.com
   (45sq-lead-gen-static-sites, templates/scoutedlead/site.css.j2): white canvas, navy
   type, one indigo accent, soft cards. */
@font-face { font-family: "Outfit"; src: url("outfit.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
:root {
  --bg: #ffffff; --bg-2: #f6f9fc; --card: #ffffff;
  --ink: #0a2540; --ink-2: #425466; --ink-3: #5b6b82;
  --line: #e6ebf1; --accent: #4f46e5; --accent-soft: #eef0ff;
  --ok: #0b7a53; --warn: #8a5300; --warn-soft: #fff4dc; --bad: #b42318; --bad-soft: #fdecea;
  --input: #8795a8;
  --shadow: 0 1px 2px rgba(10, 37, 64, .06), 0 12px 32px -12px rgba(10, 37, 64, .18);
  --display: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}
* { box-sizing: border-box }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink-2); font: 400 16px/1.6 var(--body); -webkit-font-smoothing: antialiased; min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; outline: none; }
.wrap { max-width: 1080px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
h1, h2, h3 { font-family: var(--display); color: var(--ink); text-wrap: balance; margin: 0; }
h1 { font-size: clamp(1.8rem, 4vw, 2.4rem); line-height: 1.1; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 8px; }
h2 { font-size: 1.3rem; line-height: 1.2; font-weight: 700; margin: 28px 0 12px; }
h3 { font-size: 1.05rem; font-weight: 600; }
h1:focus { outline: none; }
p { margin: 0 0 1em; }
a { color: var(--accent); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 8px; }
.muted { color: var(--ink-3); }
.lede { font-size: 1.05rem; max-width: 46rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); }
.site-header .bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; font: 700 1.2rem/1 var(--display); color: var(--ink); text-decoration: none; }
.stamp { width: 28px; height: 28px; border-radius: 8px; background: var(--accent); color: #fff; display: grid; place-items: center; font: 700 0.72rem var(--body); }
.nav { flex: 1; }
.nav-inline { display: flex; flex-wrap: wrap; gap: 4px 14px; list-style: none; margin: 0; padding: 0; font-weight: 500; font-size: 0.92rem; }
.nav-inline a, .nav-menu a { color: var(--ink); text-decoration: none; display: inline-block; padding: 8px 2px; }
.nav-inline a[aria-current="page"], .nav-menu a[aria-current="page"] { color: var(--accent); font-weight: 600; }
.nav-menu { display: none; position: relative; }
.nav-menu summary { cursor: pointer; font-weight: 600; color: var(--ink); list-style: none; padding: 10px 6px; }
.nav-menu summary::-webkit-details-marker { display: none; }
.nav-menu ul { position: absolute; left: 0; top: 100%; background: var(--card); box-shadow: var(--shadow); border-radius: 12px; list-style: none; margin: 6px 0 0; padding: 10px; min-width: 220px; z-index: 5; }
.nav-menu li a { display: block; padding: 10px; }
.who { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; color: var(--ink-3); }
@media (max-width: 1400px) { .who .email { display: none } }
@media (max-width: 1000px) { .nav-inline { display: none } .nav-menu { display: block } }

/* Buttons and forms */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 999px; min-height: 44px; padding: 10px 20px; font: 600 0.98rem var(--body); text-decoration: none; border: 0; background: var(--accent); color: #fff; cursor: pointer; }
.btn:hover { background: #4338ca; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.btn-ghost { background: transparent; color: var(--accent); border: 1px solid var(--line); }
.btn-ghost:hover { background: var(--accent-soft); }
.btn-small { min-height: 36px; padding: 6px 14px; font-size: 0.9rem; }
.btn-danger { background: transparent; color: var(--bad); border: 1px solid #f1c3be; }
.btn-danger:hover { background: var(--bad-soft); }
.btn-provider { background: #fff; color: var(--ink); border: 1px solid var(--input); width: 100%; max-width: 340px; }
.btn-provider:hover { background: var(--bg-2); }
.row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
form.stack { display: grid; gap: 14px; max-width: 560px; }
label { font-weight: 600; color: var(--ink); display: grid; gap: 6px; font-size: 0.95rem; }
.hint { font-weight: 400; color: var(--ink-3); font-size: 0.85rem; }
input, select, textarea { font: inherit; font-weight: 400; color: var(--ink); background: #fff; border: 1px solid var(--input); border-radius: 10px; padding: 10px 12px; min-height: 44px; width: 100%; }
textarea { min-height: 88px; resize: vertical; }
fieldset { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; margin: 0; }
legend { font-weight: 600; color: var(--ink); padding: 0 6px; }
.checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 4px 12px; }
.checks label { display: flex; align-items: center; gap: 8px; font-weight: 400; min-height: 36px; }
.checks input { width: 20px; min-height: 20px; height: 20px; margin: 0; }

/* Cards, stats, tables */
.page { padding-block: 32px 64px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 16px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; box-shadow: 0 1px 2px rgba(10, 37, 64, .04); }
.card h3 { margin-bottom: 6px; }
.stat { font: 700 1.9rem/1.1 var(--display); color: var(--ink); }
.stat small { font: 500 0.95rem var(--body); color: var(--ink-3); }
.meter { height: 10px; background: var(--bg-2); border-radius: 999px; overflow: hidden; margin-top: 10px; border: 1px solid var(--line); }
.meter span { display: block; height: 100%; background: var(--accent); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
table { border-collapse: collapse; width: 100%; font-size: 0.93rem; }
caption { text-align: left; padding: 10px 12px; color: var(--ink-3); font-size: 0.85rem; }
th, td { text-align: left; padding: 10px 12px; border-top: 1px solid var(--line); vertical-align: top; }
thead th { border-top: 0; background: var(--bg-2); color: var(--ink); font-weight: 600; white-space: nowrap; }
td.num, th.num { text-align: right; }
.tag { display: inline-block; background: var(--accent-soft); color: var(--ink); border-radius: 999px; padding: 2px 10px; font-size: 0.8rem; font-weight: 600; white-space: nowrap; }
.tag.ok { background: #e6f4ee; color: var(--ok); }
.tag.warn { background: var(--warn-soft); color: var(--warn); }
.tag.bad { background: var(--bad-soft); color: var(--bad); }
.notice { border-radius: 12px; padding: 14px 16px; margin: 16px 0; background: var(--accent-soft); color: var(--ink); }
.notice.warn { background: var(--warn-soft); }
.notice.bad { background: var(--bad-soft); }
.secret { font: 0.9rem/1.5 var(--mono); background: var(--bg-2); border: 1px dashed var(--input); border-radius: 10px; padding: 12px; overflow-wrap: anywhere; color: var(--ink); }
code { font: 0.88em/1.5 var(--mono); color: var(--ink); background: var(--bg-2); border: 1px solid var(--line); border-radius: 6px; padding: 0.1em 0.35em; overflow-wrap: anywhere; }
dl.facts { display: grid; grid-template-columns: minmax(7rem, 11rem) minmax(0, 1fr); gap: 8px 14px; margin: 0; }
dl.facts dt { font-weight: 600; color: var(--ink); }
dl.facts dd { margin: 0; overflow-wrap: anywhere; }
@media (max-width: 560px) { dl.facts { grid-template-columns: 1fr; } dl.facts dd { margin-bottom: 8px; } }
.shot { display: block; max-width: 100%; height: auto; border: 1px solid var(--line); border-radius: 10px; margin-top: 8px; }
.signin { max-width: 460px; margin: 24px auto; display: grid; gap: 14px; text-align: left; }

.toast { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; font-size: 0.95rem; max-width: calc(100% - 32px); opacity: 0; pointer-events: none; transition: opacity .2s; }
.toast.show { opacity: 1; }
.site-footer { border-top: 1px solid var(--line); padding-block: 18px; font-size: 0.88rem; color: var(--ink-3); }
.site-footer p { margin: 0; }
@media (prefers-reduced-motion: reduce) { .toast { transition: none; } }
