@font-face { font-family: "Figtree"; src: url("/fonts/figtree-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("/fonts/figtree-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("/fonts/figtree-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("/fonts/figtree-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Plex Mono"; src: url("/fonts/plex-mono-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Plex Mono"; src: url("/fonts/plex-mono-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Plex Mono"; src: url("/fonts/plex-mono-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
:root {
  /* StoreOnCall brand tokens (see /brand) */
  --night: #0B1430;
  --pulse: #12B76A;
  --brand-50: #EEF2FF;
  --brand-light: #8EA4FF;
  --ink: #111827;
  --muted: #5b6474;
  --line: #e6e8ee;
  --bg: #ffffff;
  --soft: #f6f7fb;
  --brand: #2f54eb;
  --brand-ink: #1d39c4;
  --good: #1f7a3d;
  --warn: #c2410c;
  --bad: #c92a2a;
  --unknown: #7a8394;
  --radius: 2px;
  --label: Figtree, system-ui, sans-serif;
  --mono: "Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --line-strong: #cfd4e0;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.55 Figtree, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }
.top { border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { font-weight: 700; font-size: 19px; color: var(--ink); letter-spacing: -0.01em; display: inline-flex; align-items: center; }
.logo img { display: block; height: 32px; width: auto; }
.logo span { color: var(--brand); }
.top nav a { margin-left: 22px; color: var(--muted); font-size: 15px; }
.hero { padding: 64px 0 40px; text-align: center; }
.hero h1 { font-size: clamp(30px, 5vw, 46px); line-height: 1.12; letter-spacing: -0.01em; margin: 0 auto 16px; max-width: 820px; }
.hero p.lead { color: var(--muted); font-size: 19px; max-width: 680px; margin: 0 auto 28px; }
.scan-form { max-width: 720px; margin: 0 auto; background: var(--bg); border: 1px solid var(--line); border-radius: 2px; padding: 18px; box-shadow: none; text-align: left; }
.scan-form .row { display: flex; gap: 10px; flex-wrap: wrap; }
.scan-form input, .scan-form select { font: inherit; border: 1px solid var(--line); border-radius: 2px; padding: 12px 14px; background: #fff; color: var(--ink); }
.scan-form input:focus, .scan-form select:focus { outline: 2px solid var(--brand); outline-offset: 1px; }
.scan-form .url { flex: 1 1 340px; font-size: 17px; }
.scan-form .opt { margin-top: 10px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; color: var(--muted); font-size: 14px; }
.scan-form .opt input { width: 170px; padding: 9px 12px; }
.scan-form .opt select { padding: 9px 10px; }
.btn { font: inherit; font-weight: 600; border: 0; border-radius: 2px; padding: 12px 20px; background: var(--brand); color: #fff; cursor: pointer; }
.btn:hover { background: var(--brand-ink); }
.btn.ghost { background: #fff; color: var(--brand); border: 1px solid var(--line); }
.btn.small { padding: 8px 14px; font-size: 14px; }
.btn:disabled { opacity: 0.6; cursor: default; }
.fine { color: var(--muted); font-size: 13.5px; margin-top: 10px; }
.error { color: var(--bad); font-size: 14.5px; margin-top: 10px; min-height: 1em; }
.section { padding: 48px 0; border-top: 1px solid var(--line); }
.section h2 { font-size: 26px; letter-spacing: -0.01em; margin: 0 0 8px; }
.section p.sub { color: var(--muted); margin: 0 0 24px; }
.grid3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.card { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; background: #fff; }
.card h3 { margin: 0 0 6px; font-size: 17px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.soft { background: var(--soft); }
.checklist { columns: 2 260px; padding-left: 18px; color: var(--muted); }
.checklist li { margin-bottom: 6px; break-inside: avoid; }
footer { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--muted); font-size: 13.5px; }
footer form { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
footer input { font: inherit; border: 1px solid var(--line); border-radius: 2px; padding: 8px 10px; min-width: 240px; }

/* Report */
.report-head { padding: 36px 0 12px; }
.report-head .host { color: var(--muted); font-size: 15px; }
.progress { max-width: 620px; margin: 24px auto 40px; }
.progress h1 { font-size: 26px; margin: 0 0 6px; }
.steps { list-style: none; padding: 0; margin: 20px 0 0; }
.steps li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.steps li .dot { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line); flex: none; }
.steps li.running { color: var(--ink); font-weight: 600; }
.steps li.running .dot { border-color: var(--brand); border-top-color: transparent; animation: spin 0.8s linear infinite; }
.steps li.done { color: var(--ink); }
.steps li.done .dot { background: var(--good); border-color: var(--good); }
.steps li.skipped .dot { background: var(--line); }
@keyframes spin { to { transform: rotate(360deg); } }
.summary { display: grid; grid-template-columns: 200px 1fr; gap: 28px; align-items: center; padding: 8px 0 28px; }
@media (max-width: 680px) { .summary { grid-template-columns: 1fr; justify-items: center; text-align: center; } }
.ring { width: 180px; height: 180px; }
.ring .track { stroke: var(--line); }
.ring .bar { stroke: var(--brand); stroke-linecap: round; transition: stroke-dashoffset 1s ease; }
.ring.good .bar { stroke: var(--good); }
.ring.mid .bar { stroke: var(--warn); }
.ring.low .bar { stroke: var(--bad); }
.ring text { font-weight: 700; font-size: 44px; fill: var(--ink); }
.ring text.of { font-size: 14px; font-weight: 500; fill: var(--muted); }
.headline { font-size: 23px; font-weight: 600; line-height: 1.3; margin: 0 0 14px; letter-spacing: -0.01em; }
.parts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.part { border: 1px solid var(--line); border-radius: 2px; padding: 10px 12px; }
.part .name { font-size: 13px; color: var(--muted); }
.part .val { font-size: 20px; font-weight: 700; }
.meter { height: 6px; background: var(--line); border-radius: 2px; overflow: hidden; margin-top: 6px; }
.meter i { display: block; height: 100%; background: var(--good); }
.meter i.mid { background: var(--warn); }
.meter i.low { background: var(--bad); }
.w0 { width: 0%; } .w10 { width: 10%; } .w20 { width: 20%; } .w30 { width: 30%; } .w40 { width: 40%; } .w50 { width: 50%; }
.w60 { width: 60%; } .w70 { width: 70%; } .w80 { width: 80%; } .w90 { width: 90%; } .w100 { width: 100%; }
.finding { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; margin-bottom: 12px; background: #fff; }
.finding.fail { border-left: 4px solid var(--bad); }
.finding.warn { border-left: 4px solid var(--warn); }
.finding.pass { border-left: 4px solid var(--good); }
.finding.unknown { border-left: 4px solid var(--unknown); }
.finding h3 { margin: 0 0 4px; font-size: 17px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.finding p { margin: 6px 0; }
.finding .why { color: var(--muted); font-size: 15px; }
.chip { font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 2px; border: 1px solid var(--line); color: var(--muted); }
.chip.fail { color: var(--bad); border-color: #f3c4c4; background: #fff5f5; }
.chip.warn { color: var(--warn); border-color: #f6d3bd; background: #fff7f0; }
.chip.pass { color: var(--good); border-color: #c3e6cb; background: #f3fbf5; }
.chip.conf { color: var(--brand); border-color: #d6e0ff; background: #f4f6ff; }
.money { background: #fff7f0; border: 1px solid #f6d3bd; border-radius: 2px; padding: 8px 10px; font-size: 14.5px; }
details { margin-top: 8px; }
details summary { cursor: pointer; color: var(--brand); font-size: 14.5px; }
.fix { background: var(--soft); border-radius: 2px; padding: 10px 12px; font-size: 14.5px; }
.evidence { font-size: 13.5px; color: var(--muted); word-break: break-word; }
.evidence img { max-width: 220px; border: 1px solid var(--line); border-radius: 2px; display: block; margin-top: 6px; }
.evidence video { max-width: 260px; border-radius: 2px; display: block; margin-top: 6px; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.bridge { border: 1px dashed #b9c6ff; background: #f7f9ff; }
.cta { border: 1px solid #d6e0ff; background: #f4f6ff; border-radius: 2px; padding: 22px; }
.cta h2 { margin-top: 0; }
.inline-form { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.inline-form input { font: inherit; border: 1px solid var(--line); border-radius: 2px; padding: 10px 12px; min-width: 260px; flex: 1; }
code.tag { display: block; background: var(--soft); padding: 10px; border-radius: 2px; font-size: 13px; word-break: break-all; margin: 8px 0; }
.hidden { display: none !important; }
.area-title { font-size: 19px; margin: 26px 0 10px; }
.muted { color: var(--muted); }
@media print {
  .top nav, .no-print, .actions, footer form { display: none !important; }
  .finding { break-inside: avoid; }
  details { display: block; }
  details > * { display: block; }
}

/* Night header and footer shared by the report, status and help pages */
.site-top { background: #fff; border-bottom: 1px solid var(--line); }
.site-top .logo img { display: block; }
.site-top nav a { color: #3b4456; font-weight: 500; }
.site-top nav a:hover { color: var(--brand); text-decoration: none; }
.night-foot { background: var(--night); color: #9aa6c6; border-top: 0; margin-top: 48px; }
.night-foot p { color: #9aa6c6; }
.night-foot a { color: var(--brand-light); }


/* ================= Ops console layer: type, numbers, tags ================= */
h1, h2, h3, h4 { font-weight: 600; letter-spacing: -0.005em; }
code, pre, kbd, samp, .mono { font-family: var(--mono); }
.num, .n, .amt, time { font-variant-numeric: tabular-nums; }
.eyebrow, .kicker { font-family: var(--label); font-size: 11.5px; font-weight: 500; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); }
.btn { border-radius: 2px; font-weight: 600; letter-spacing: 0; }
.chip { font-family: var(--label); font-weight: 500; text-transform: uppercase; letter-spacing: 0.04em; font-size: 11px; }
::selection { background: #c9d4ff; }

/* Report page, console style */
.report-head .host { font-family: var(--label); font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.04em; }
.ring .bar { stroke-linecap: butt; }
.ring text { font-family: var(--label); font-weight: 500; letter-spacing: -0.03em; }
.ring text.of { font-family: var(--label); font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em; }
.parts { gap: 1px !important; background: var(--line); border: 1px solid var(--line-strong); }
.parts > * { border: 0 !important; border-radius: 0 !important; background: #fff; }
.parts b, .parts strong { font-family: var(--label); font-weight: 500; }
.part .name { font-family: var(--label); font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em; }
.part .val { font-family: var(--label); font-weight: 500; }

/* Final pass: animated logo in white headers, friendlier corners */
.site-top .wrap { height: 72px; }
.site-top .logo img { width: 180px; height: auto; }
.btn, input, select, textarea { border-radius: 6px; }
.card, .panel, .price, .step, .shot img, .shot-img { border-radius: 8px; }
@media (max-width: 560px) { .site-top .logo img { width: 150px; } }
.btn:hover { text-decoration: none; }
