:root {
  --paper: #f5f5f7;
  --paper-2: #e8e8ed;
  --card: #ffffff;
  --ink: #1d1d1f;
  --ink-2: #424245;
  --ink-3: #6e6e73;
  --line: #d2d2d7;

  --accent: #0071e3;
  --accent-hover: #0077ed;
  --accent-soft: #e8f2fe;

  --good: #1b8448;
  --ok: #a86f00;
  --bad: #c8382f;
  --good-soft: #e1f2e7;
  --ok-soft: #faefd6;
  --bad-soft: #fbe3e1;

  /* instrument cluster (dark) */
  --asphalt: #111317;
  --asphalt-2: #1a1d23;
  --asphalt-line: #2b2f37;
  --dial: #eceae4;
  --dial-dim: #8b909a;
  --good-lit: #37c872;
  --ok-lit: #f2ad2e;
  --bad-lit: #f0584d;

  --radius: 14px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", SFMono-Regular, Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.5 var(--font);
  letter-spacing: -0.015em;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { margin: 0; line-height: 1.07; letter-spacing: -0.03em; font-weight: 700; }
p { margin: 0; }
button, input, select { font: inherit; color: inherit; }
a { color: var(--accent); }

.wrap { width: 100%; max-width: 1120px; margin-inline: auto; padding-inline: 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

/* ---------- header ---------- */
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 18px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 800; font-stretch: 108%; letter-spacing: -0.01em; }
.brand-mark { width: 30px; height: 30px; flex: none; }
.brand-mark rect { fill: var(--accent); }
.brand-mark path { fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; }
.verticals { display: flex; gap: 4px; padding: 4px; border-radius: 10px; background: var(--paper-2); }
.verticals a { padding: 7px 12px; border-radius: 7px; font-size: 14px; font-weight: 650; color: var(--ink-2); text-decoration: none; white-space: nowrap; }
.verticals a:hover { color: var(--ink); }
.verticals a[aria-current="page"] { background: var(--card); color: var(--ink); box-shadow: 0 1px 2px #14161b1f; }
.btn-nav { padding: 9px 18px; font-size: 14px; }
.disclaimer { margin-top: 16px; font-size: 13px; color: var(--ink-3); }

/* ---------- hero ---------- */
.hero { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; padding-block: 48px 64px; }
.hero h1 { font-size: clamp(2.5rem, 5.6vw, 4.3rem); font-weight: 850; }
.lede { margin-top: 20px; font-size: 1.18rem; color: var(--ink-2); max-width: 36ch; }

.url-form { margin-top: 32px; max-width: 560px; }
.url-field {
  display: flex; align-items: center; gap: 4px;
  background: var(--card);
  border: 1.5px solid var(--ink);
  border-radius: 12px;
  padding: 6px;
  box-shadow: 0 2px 0 var(--ink);
}
.url-field:focus-within { outline: 3px solid color-mix(in srgb, var(--accent) 35%, transparent); outline-offset: 2px; }
.url-prefix { font-family: var(--mono); font-size: 14px; color: var(--ink-3); padding-left: 10px; }
.url-field input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 12px 6px; font-size: 1.06rem; outline: none; }
.form-hint { margin-top: 12px; font-size: 14px; color: var(--ink-3); }
.form-error { margin-top: 12px; font-size: 15px; color: var(--bad); font-weight: 600; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; border-radius: 9px; cursor: pointer;
  padding: 14px 20px;
  font-weight: 750; font-stretch: 106%; letter-spacing: 0.005em;
  text-decoration: none; white-space: nowrap;
  transition: background-color 0.15s ease, transform 0.15s ease;
}
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: 0.6; cursor: progress; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-block { width: 100%; }
.btn-light { background: #fff; color: var(--accent); }
.btn-light:hover { background: var(--accent-soft); }
.link-btn { background: none; border: 0; padding: 0; color: var(--accent); font-weight: 700; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- instrument cluster + gauge ---------- */
.cluster {
  position: relative;
  background: radial-gradient(120% 90% at 50% 100%, var(--asphalt-2) 0%, var(--asphalt) 70%);
  color: var(--dial);
  border-radius: 22px;
  padding: 22px 24px 26px;
  box-shadow: 0 1px 0 #ffffff14 inset, 0 24px 48px -24px #14161b66;
}
.cluster-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 40px; }
.cluster-label { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dial-dim); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.grade-badge {
  display: inline-grid; place-items: center;
  min-width: 40px; height: 40px; padding-inline: 10px;
  border-radius: 10px;
  font-family: var(--mono); font-weight: 700; font-size: 20px;
  color: var(--asphalt);
  background: var(--dial);
}
.grade-badge[data-band="good"] { background: var(--good-lit); }
.grade-badge[data-band="ok"] { background: var(--ok-lit); }
.grade-badge[data-band="bad"] { background: var(--bad-lit); }
.grade-badge.partial { font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; background: var(--asphalt-line); color: var(--dial); }

.gauge svg { display: block; width: 100%; height: auto; overflow: visible; }
.gauge .zone { fill: none; stroke-width: 3; stroke-linecap: butt; opacity: 0.7; }
.gauge .zone.bad { stroke: var(--bad-lit); }
.gauge .zone.ok { stroke: var(--ok-lit); }
.gauge .zone.good { stroke: var(--good-lit); }
.gauge .track { fill: none; stroke: var(--asphalt-line); stroke-width: 14; stroke-linecap: round; }
.gauge .value { fill: none; stroke-width: 14; stroke-linecap: round; stroke: var(--dial-dim); transition: stroke-dashoffset 1.5s cubic-bezier(0.2, 0.8, 0.2, 1), stroke 0.4s ease; }
.gauge .value[data-band="good"] { stroke: var(--good-lit); }
.gauge .value[data-band="ok"] { stroke: var(--ok-lit); }
.gauge .value[data-band="bad"] { stroke: var(--bad-lit); }
.gauge .tick { stroke: #4b515c; stroke-width: 2; }
.gauge .tick.major { stroke: var(--dial-dim); }
.gauge .tick-label { fill: var(--dial-dim); font-family: var(--mono); font-size: 9px; text-anchor: middle; }
.gauge .needle { transition: transform 1.5s cubic-bezier(0.2, 0.8, 0.2, 1); }
.gauge .needle line { stroke: var(--dial); stroke-width: 3; stroke-linecap: round; }
.gauge .hub { fill: var(--dial); }
.gauge .hub-dot { fill: var(--asphalt); }
.readout { text-align: center; margin-top: 4px; }
.score-num { font-family: var(--mono); font-weight: 700; font-size: clamp(2.8rem, 6vw, 3.6rem); line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.score-of { font-family: var(--mono); color: var(--dial-dim); font-size: 1rem; margin-left: 2px; }

.mini-bars { list-style: none; margin: 18px 0 0; padding: 18px 0 0; border-top: 1px solid var(--asphalt-line); display: grid; gap: 9px; }
.mini-bars li { display: grid; grid-template-columns: 9.5rem 1fr; align-items: center; gap: 12px; font-size: 13px; color: var(--dial-dim); }
.mini-bars i { position: relative; height: 6px; border-radius: 99px; background: var(--asphalt-line); overflow: hidden; }
.mini-bars i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); border-radius: inherit; background: var(--dial-dim); }
.mini-bars i[data-band="good"]::after { background: var(--good-lit); }
.mini-bars i[data-band="ok"]::after { background: var(--ok-lit); }
.mini-bars i[data-band="bad"]::after { background: var(--bad-lit); }

/* ---------- what we check ---------- */
.what { padding-block: 8px 72px; }
.section-label { font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); font-stretch: normal; margin-bottom: 16px; }
.cat-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); border-top: 2px solid var(--ink); }
.cat-tiles li { padding: 20px 20px 4px 0; }
.cat-tiles li + li { padding-left: 20px; border-left: 1px solid var(--line); }
.tile-num { font-family: var(--mono); font-size: 12px; color: var(--accent); font-weight: 700; }
.cat-tiles h3 { font-size: 1.12rem; margin: 10px 0 8px; }
.cat-tiles p { font-size: 14px; color: var(--ink-2); }

/* ---------- panels ---------- */
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.panel-title { font-size: 1.2rem; margin-bottom: 18px; }

/* ---------- loading ---------- */
.loading { padding-block: 0 72px; scroll-margin-top: 24px; }
.loading-card { max-width: 560px; }
.loading-host { font-family: var(--mono); font-size: 1.1rem; font-weight: 700; margin-bottom: 18px; word-break: break-all; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.steps li { display: flex; align-items: center; gap: 12px; color: var(--ink-3); transition: color 0.2s ease; }
.steps li::before { content: ""; flex: none; width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--line); }
.steps li.active { color: var(--ink); font-weight: 600; }
.steps li.active::before { border-color: var(--accent); background: var(--accent-soft); animation: pulse 1s ease-in-out infinite; }
.steps li.done { color: var(--ink-2); }
.steps li.done::before { border-color: var(--good); background: var(--good); }
@keyframes pulse { 50% { transform: scale(1.35); } }

/* ---------- results ---------- */
.results { padding-block: 0 72px; scroll-margin-top: 16px; }
.result-head { display: grid; grid-template-columns: minmax(0, 390px) 1fr; gap: 40px; align-items: center; }
.verdict { font-size: clamp(1.7rem, 3.2vw, 2.45rem); font-weight: 800; max-width: 22ch; }
.site-line { margin-top: 14px; font-family: var(--mono); font-size: 14px; color: var(--ink-2); word-break: break-word; }
.counts { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.note { margin-top: 16px; padding: 12px 14px; border-radius: 10px; background: var(--ok-soft); color: #6b4700; font-size: 14px; max-width: 60ch; }

.chip { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 4px 9px; border-radius: 99px; white-space: nowrap; }
.chip.fail { background: var(--bad-soft); color: var(--bad); }
.chip.warn { background: var(--ok-soft); color: var(--ok); }
.chip.pass { background: var(--good-soft); color: var(--good); }
.chip.unknown { background: var(--paper-2); color: var(--ink-3); }
.chip.accent { background: var(--accent-soft); color: var(--accent); }

.result-body { display: grid; grid-template-columns: 1fr 1.25fr; gap: 20px; margin-top: 36px; }
.cat-bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.cat-bars li { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; align-items: baseline; }
.cat-bars .cat-name { font-weight: 650; }
.cat-bars .cat-score { font-family: var(--mono); font-weight: 700; font-variant-numeric: tabular-nums; }
.cat-bars .bar { grid-column: 1 / -1; height: 8px; border-radius: 99px; background: var(--paper-2); overflow: hidden; }
.cat-bars .bar span { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--ink-3); transition: width 1.2s cubic-bezier(0.2, 0.8, 0.2, 1); }
.cat-bars .bar span[data-band="good"] { background: var(--good); }
.cat-bars .bar span[data-band="ok"] { background: var(--ok-lit); }
.cat-bars .bar span[data-band="bad"] { background: var(--bad); }
.cat-bars .cat-blurb { grid-column: 1 / -1; font-size: 13px; color: var(--ink-3); }

.top-fixes { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: fix; }
.top-fixes li { counter-increment: fix; display: grid; grid-template-columns: 34px 1fr; gap: 4px 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.top-fixes li:last-child { border-bottom: 0; padding-bottom: 0; }
.top-fixes li::before { content: counter(fix, decimal-leading-zero); grid-row: span 3; font-family: var(--mono); font-weight: 700; color: var(--accent); padding-top: 2px; }
.fix-label { font-weight: 700; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.fix-found { font-size: 14px; color: var(--ink-2); }
.fix-how { font-size: 14px; color: var(--ink); }

/* ---------- instant estimate ---------- */
.estimate { margin-top: 20px; padding: 32px 36px; }
.estimate .eyebrow { margin-bottom: 8px; }
.estimate-title { font-size: clamp(1.45rem, 2.6vw, 1.95rem); font-weight: 800; }
.estimate-intro { margin-top: 10px; max-width: 62ch; color: var(--ink-2); }
.estimate-intro a { font-weight: 600; text-underline-offset: 3px; white-space: nowrap; }
.estimate-rebuild { margin-top: 20px; padding: 14px 18px; border-radius: 14px; background: var(--accent-soft); color: #0b4f96; font-size: 15px; max-width: 72ch; }

.estimate-list { list-style: none; margin: 24px 0 0; padding: 0; border-top: 1px solid var(--paper-2); }
.estimate-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 40px; align-items: start; padding: 20px 0; border-bottom: 1px solid var(--paper-2); }
.estimate-item-text { min-width: 0; }
.estimate-name { font-weight: 650; font-size: 1.06rem; }
.estimate-what { margin-top: 4px; max-width: 64ch; font-size: 14.5px; color: var(--ink-2); }
.estimate-fixes { margin-top: 6px; font-size: 13px; color: var(--ink-3); overflow-wrap: anywhere; }
.estimate-price { display: grid; justify-items: end; gap: 2px; padding-top: 1px; text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.estimate-once { font-size: 1.06rem; font-weight: 600; }
.estimate-monthly { font-size: 13.5px; font-weight: 500; color: var(--ink-3); }

.estimate-optional { margin-top: 28px; }
.estimate-optional-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; }
.estimate-optional-head h4 { margin: 0; font-size: 15px; font-weight: 600; letter-spacing: -0.01em; color: var(--ink-3); }
.estimate-optional-head p { font-size: 13px; color: var(--ink-3); }
.estimate-optional .estimate-list { margin-top: 10px; }
.estimate-optional .estimate-item:last-child { border-bottom: 0; }

.estimate-total { margin-top: 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 24px; padding: 22px 26px; border-radius: 18px; background: var(--paper); }
.estimate-total-label { font-weight: 600; color: var(--ink-2); }
.estimate-total-amount { display: grid; justify-items: end; gap: 2px; text-align: right; font-variant-numeric: tabular-nums; }
.estimate-total-once { font-size: clamp(1.6rem, 3.2vw, 2.15rem); font-weight: 700; line-height: 1.1; letter-spacing: -0.03em; }
.estimate-total-monthly { font-size: 15px; font-weight: 500; color: var(--ink-2); }

.estimate-review { margin-top: 16px; max-width: 72ch; font-size: 13.5px; color: var(--ink-3); }
.estimate-cta { margin-top: 24px; display: grid; justify-items: start; gap: 10px; }
.estimate-fineprint { font-size: 12.5px; color: var(--ink-3); }
.estimate-thanks { font-weight: 600; }

.estimate.is-clear { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; padding-block: 26px; }
.estimate-clear-icon { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--good-soft); color: var(--good); }
.estimate-clear-icon svg { width: 16px; height: 16px; }
.estimate.is-clear .estimate-title { font-size: 1.35rem; }
.estimate.is-clear .estimate-intro { margin-top: 6px; }

@media (max-width: 560px) {
  .estimate-item { grid-template-columns: 1fr; gap: 10px; padding: 18px 0; }
  .estimate-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; text-align: left; white-space: normal; }
  .estimate-once, .estimate-monthly { white-space: nowrap; }
  .estimate-total { flex-direction: column; align-items: flex-start; padding: 18px 20px; }
  .estimate-total-amount { justify-items: start; text-align: left; }
  .estimate-cta .btn { width: 100%; }
  .estimate.is-clear { gap: 12px; }
  .estimate-clear-icon { width: 30px; height: 30px; }
}

/* ---------- unlock ---------- */
#unlock { scroll-margin-top: 16px; }
.unlock {
  margin-top: 20px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
  background: var(--ink); color: var(--paper);
  border-radius: 18px; padding: 36px;
}
.unlock .eyebrow { color: #9fb0ff; }
.unlock h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; }
.unlock-list { margin: 22px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.unlock-list li { position: relative; padding-left: 28px; color: #d6d5cf; }
.unlock-list li::before { content: ""; position: absolute; left: 0; top: 0.35em; width: 16px; height: 16px; border-radius: 50%; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; }
.unlock-list b { color: #fff; }

.lead-form { display: grid; gap: 14px; align-content: start; }
.field { display: grid; gap: 6px; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field label { font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #b9b8b1; }
.optional { color: #7f7e79; text-transform: none; letter-spacing: 0; font-weight: 500; }
.field input, .field select {
  width: 100%; min-width: 0;
  background: #1f2229; color: #fff;
  border: 1px solid #373b45; border-radius: 9px;
  padding: 12px 12px; font-size: 16px;
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23b9b8b1' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 12px; padding-right: 34px; }
.field input:focus, .field select:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.field input[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: var(--bad-lit); }
.lead-form .btn { margin-top: 4px; padding-block: 15px; }
.lead-form .form-error { color: #ff8b82; margin-top: 0; }
.fineprint { font-size: 12.5px; color: #8f8e88; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- full report ---------- */
#full { display: grid; gap: 20px; margin-top: 20px; }

.cat-group + .cat-group { margin-top: 28px; }
.cat-group-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-bottom: 10px; border-bottom: 2px solid var(--ink); }
.cat-group-head h4 { margin: 0; font-size: 1.05rem; font-stretch: 110%; }
.cat-group-head span { font-family: var(--mono); font-weight: 700; }
.check-list { list-style: none; margin: 0; padding: 0; }
.check { display: grid; grid-template-columns: 26px 1fr; gap: 2px 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.check-icon { grid-row: span 3; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; margin-top: 1px; }
.check-icon svg { width: 12px; height: 12px; }
.check-icon.pass { background: var(--good-soft); color: var(--good); }
.check-icon.warn { background: var(--ok-soft); color: var(--ok); }
.check-icon.fail { background: var(--bad-soft); color: var(--bad); }
.check-icon.unknown { background: var(--paper-2); color: var(--ink-3); }
.check-label { font-weight: 650; }
.check-found { font-size: 14px; color: var(--ink-2); word-break: break-word; }
.check-fix { margin-top: 6px; font-size: 14px; padding: 8px 12px; border-left: 3px solid var(--accent); background: var(--accent-soft); border-radius: 0 8px 8px 0; }
.check-fix b { font-weight: 700; }
.detected { margin-top: 20px; font-size: 14px; color: var(--ink-2); }
.detected b { font-weight: 700; color: var(--ink); }

/* AI plan */
.plan { border: 1.5px solid var(--ink); }
.plan-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.plan-head h3 { font-size: 1.35rem; }
.plan-summary { font-size: 1.15rem; line-height: 1.5; max-width: 70ch; }
.quick-win { margin-top: 20px; display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; padding: 14px 16px; border-radius: 10px; background: var(--good-soft); }
.quick-win strong { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--good); padding-top: 2px; white-space: nowrap; }
.plan-section { margin-top: 30px; }
.plan-section > h4 { margin: 0 0 14px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); }
.priorities { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; counter-reset: pri; }
.priorities li { counter-increment: pri; display: grid; grid-template-columns: 40px 1fr; gap: 6px 14px; padding: 16px; border: 1px solid var(--line); border-radius: 12px; }
.priorities li::before { content: counter(pri); grid-row: span 4; width: 32px; height: 32px; border-radius: 8px; display: grid; place-items: center; background: var(--ink); color: var(--paper); font-family: var(--mono); font-weight: 700; }
.pri-title { font-weight: 750; font-size: 1.05rem; }
.pri-meta { display: flex; flex-wrap: wrap; gap: 6px; }
.pri-why { font-size: 14.5px; color: var(--ink-2); }
.pri-how { font-size: 14.5px; }
.pri-how b { font-weight: 700; }

.rewrite { display: grid; grid-template-columns: 1fr 1.4fr; gap: 16px; align-items: start; }
.rewrite-before { padding: 18px; border-radius: 12px; background: var(--paper); border: 1px dashed var(--line); }
.rewrite-before p:last-child { margin-top: 8px; font-size: 1.05rem; color: var(--ink-2); text-decoration: line-through; text-decoration-color: #c8382f88; }
.rewrite-label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); }
.rewrite-after { padding: 24px; border-radius: 12px; background: var(--asphalt); color: var(--dial); }
.rewrite-after .rewrite-label { color: var(--dial-dim); }
.rewrite-after h5 { margin: 10px 0 8px; font-size: clamp(1.35rem, 2.6vw, 1.8rem); line-height: 1.1; font-stretch: 112%; font-weight: 800; color: #fff; }
.rewrite-after p { color: #c9c8c2; }
.fake-btn { display: inline-block; margin-top: 16px; background: var(--accent); color: #fff; font-weight: 750; padding: 10px 16px; border-radius: 8px; font-size: 14px; }

.automations { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.automation { padding: 16px; border-radius: 12px; background: var(--accent-soft); }
.automation strong { display: block; margin-bottom: 6px; }
.automation p { font-size: 14.5px; color: var(--ink-2); }

.plan-wait { display: grid; gap: 12px; }
.plan-wait p { color: var(--ink-2); }
.skeleton { height: 14px; border-radius: 6px; background: linear-gradient(90deg, var(--paper-2) 0%, var(--paper) 50%, var(--paper-2) 100%); background-size: 200% 100%; animation: shimmer 1.4s linear infinite; }
.skeleton.short { width: 55%; }
.skeleton.mid { width: 80%; }
@keyframes shimmer { to { background-position: -200% 0; } }

.cta-band { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 32px 36px; border-radius: 18px; background: var(--accent); color: #fff; }
.cta-band h3 { font-size: clamp(1.5rem, 2.8vw, 2rem); font-weight: 800; }
.cta-band p { margin-top: 8px; color: #dfe5ff; max-width: 52ch; }
.cta-thanks { font-weight: 700; max-width: 30ch; }

.again { margin-top: 28px; text-align: center; }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--line); padding-block: 28px 40px; display: grid; gap: 6px; font-size: 13px; color: var(--ink-3); }

/* ---------- company site ---------- */
.brand-mark path { stroke-linejoin: round; }
.site-top { gap: 24px; }
.site-nav { display: flex; gap: 24px; margin-left: auto; }
.site-nav a { color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: 15px; }
.site-nav a:hover { color: var(--ink); }
.btn-small { padding: 10px 14px; font-size: 14px; }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-ghost:hover { background: var(--paper-2); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-chips { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; max-width: 560px; }
.hero-chips li { padding: 6px 12px; border-radius: 99px; background: var(--card); border: 1px solid var(--line); font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.hero-chips a { color: var(--accent); text-decoration: none; }
.site .hero h1 { font-size: clamp(2.3rem, 4.8vw, 3.8rem); }

.feed { margin: 0; }
.live-dot { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--good-lit); }
.live-dot::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--good-lit); box-shadow: 0 0 0 4px #37c87226; }
.feed-list { list-style: none; margin: 14px 0 0; padding: 0; }
.feed-list li { display: grid; grid-template-columns: 5.2rem 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid var(--asphalt-line); opacity: 0; transform: translateY(6px); animation: feed-in 0.5s ease forwards; }
.feed-list li:nth-child(2) { animation-delay: 0.35s; }
.feed-list li:nth-child(3) { animation-delay: 0.7s; }
.feed-list li:nth-child(4) { animation-delay: 1.05s; }
.feed-list li:nth-child(5) { animation-delay: 1.4s; }
@keyframes feed-in { to { opacity: 1; transform: none; } }
.feed-list time { font-family: var(--mono); font-size: 12px; color: var(--dial-dim); padding-top: 2px; }
.feed-list strong { display: block; color: #fff; font-weight: 650; font-size: 15px; }
.feed-list span { font-size: 13.5px; color: var(--dial-dim); }
.feed figcaption { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--asphalt-line); font-family: var(--mono); font-size: 11.5px; color: var(--dial-dim); }

.section { padding-block: 56px; scroll-margin-top: 12px; }
.section-title { font-size: clamp(1.8rem, 3.6vw, 2.7rem); font-weight: 800; max-width: 24ch; margin-bottom: 32px; }

.section-title + .section-lede { margin: -16px 0 28px; max-width: 62ch; font-size: 1.08rem; color: var(--ink-2); }
.also { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.also-label { font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 7px 13px; border-radius: 99px; background: var(--card); border: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--ink-2); }
.tools-band .tools-other { margin-top: 14px; font-size: 14px; }
.tools-band .tools-other a { color: #fff; font-weight: 700; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service { display: flex; flex-direction: column; overflow: hidden; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.card-photo { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; background: var(--paper-2); }
.service .card-body { padding: 22px 26px 26px; }
.service-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; margin-bottom: 18px; }
.service-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.service h3 { font-size: 1.35rem; margin-bottom: 10px; }
.service p { color: var(--ink-2); }
.ticks { list-style: none; margin: 18px 0 0; padding: 16px 0 0; border-top: 1px solid var(--line); display: grid; gap: 8px; }
.ticks li { position: relative; padding-left: 24px; font-size: 15px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.36em; width: 15px; height: 15px; border-radius: 50%; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; }

.industry-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.industry { display: flex; flex-direction: column; overflow: hidden; border-radius: 18px; background: var(--asphalt); color: var(--dial); }
.industry .card-photo { aspect-ratio: 16 / 10; }
.industry .card-body { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 22px 28px 28px; }
.industry .eyebrow { color: #9fb0ff; margin-bottom: 4px; }
.industry h3 { font-size: 1.45rem; color: #fff; }
.industry p { color: #c9c8c2; }
.industry p:not(.eyebrow) { flex: 1; }
.industry a { margin-top: 8px; color: #fff; font-weight: 700; text-decoration: none; }
.industry a:hover { text-decoration: underline; text-underline-offset: 3px; }
.industry-other { background: var(--card); color: var(--ink); border: 1px solid var(--line); }
@media (min-width: 561px) and (max-width: 920px) {
  .service, .industry { flex-direction: row; }
  .service .card-photo, .industry .card-photo { width: 42%; aspect-ratio: auto; min-height: 100%; }
}
.industry-other .eyebrow { color: var(--accent); }
.industry-other h3 { color: var(--ink); }
.industry-other p { color: var(--ink-2); }
.industry-other a { color: var(--accent); }

.steps-row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 2px solid var(--ink); }
.steps-row li { padding: 20px 20px 4px 0; }
.steps-row li + li { padding-left: 20px; border-left: 1px solid var(--line); }
.steps-row h3 { font-size: 1.15rem; margin: 10px 0 8px; }
.steps-row p { font-size: 15px; color: var(--ink-2); }

.tools-band { display: grid; grid-template-columns: 1fr 1.25fr; gap: 32px; align-items: center; padding: 36px; border-radius: 18px; background: var(--accent); color: #fff; }
.tools-band .eyebrow { color: #dfe5ff; }
.tools-band h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 800; }
.tools-band p { color: #dfe5ff; margin-top: 10px; }
.tool-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.tool-card { display: flex; flex-direction: column; gap: 6px; padding: 20px; border-radius: 14px; background: #fff; color: var(--ink); text-decoration: none; transition: transform 0.15s ease, box-shadow 0.15s ease; }
.tool-card:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -14px #0b1a6b80; }
.tool-card strong { font-size: 1.1rem; font-stretch: 108%; }
.tool-card span { font-size: 14px; color: var(--ink-2); }
.tool-card .tool-kicker { font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.tool-card .tool-go { margin-top: auto; padding-top: 10px; color: var(--accent); font-weight: 700; }

.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.why-grid > div { padding-top: 16px; border-top: 2px solid var(--accent); }
.why-grid h3 { font-size: 1.1rem; margin-bottom: 8px; }
.why-grid p { font-size: 15px; color: var(--ink-2); }

.contact { margin-top: 0; }
.contact-lede { margin-top: 14px; color: #d6d5cf; }
.contact-direct { margin-top: 18px; color: #b9b8b1; }
.contact-direct a { color: #fff; }
.field textarea { width: 100%; min-height: 120px; resize: vertical; background: #1f2229; color: #fff; border: 1px solid #373b45; border-radius: 9px; padding: 12px; font-size: 16px; }
.field textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.field textarea[aria-invalid="true"] { border-color: var(--bad-lit); }
.form-success { align-self: center; padding: 22px; border-radius: 12px; background: #16261c; color: #c6f0d3; }
.form-success p { margin-top: 6px; color: #9fd8b1; }

.site-foot { grid-template-columns: 1fr auto; align-items: start; gap: 14px 24px; }
.foot-brand { display: grid; gap: 4px; }
.foot-brand strong { color: var(--ink); font-size: 15px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.foot-links a { color: var(--ink-2); }
.foot-copy { grid-column: 1 / -1; }

/* ---------- responsive ---------- */
@media (max-width: 920px) {
  .hero { grid-template-columns: 1fr; gap: 40px; padding-block: 28px 48px; }
  .hero-visual { max-width: 460px; }
  .cat-tiles { grid-template-columns: repeat(2, 1fr); border-top: 0; gap: 0 20px; }
  .cat-tiles li, .cat-tiles li + li { padding: 16px 0; border-left: 0; border-top: 2px solid var(--ink); }
  .result-head { grid-template-columns: 1fr; gap: 28px; }
  .result-head .cluster { max-width: 460px; }
  .result-body, .unlock { grid-template-columns: 1fr; }
  .unlock { gap: 28px; padding: 28px 24px; }
  .rewrite { grid-template-columns: 1fr; }
  .site-nav { display: none; }
  .site-top .btn-small { margin-left: auto; }
  .service-grid, .industry-grid, .tools-band { grid-template-columns: 1fr; }
  .steps-row, .why-grid { grid-template-columns: 1fr 1fr; }
  .steps-row { border-top: 0; gap: 0 20px; }
  .steps-row li, .steps-row li + li { padding: 16px 0; border-left: 0; border-top: 2px solid var(--ink); }
}

@media (max-width: 560px) {
  body { font-size: 15.5px; }
  .top { flex-wrap: wrap; row-gap: 12px; }
  .verticals a { padding: 6px 10px; font-size: 13px; }
  .url-field { flex-wrap: wrap; padding: 8px; }
  .url-prefix { display: none; }
  .url-field input { flex-basis: 100%; padding: 10px 8px; }
  .url-field .btn { width: 100%; }
  .cat-tiles { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .panel { padding: 20px 18px; }
  .mini-bars li { grid-template-columns: 7.5rem 1fr; }
  .priorities li { grid-template-columns: 1fr; }
  .priorities li::before { grid-row: auto; }
  .cta-band { padding: 26px 22px; }
  .cta-band .btn { width: 100%; }
  .steps-row, .why-grid, .tool-cards { grid-template-columns: 1fr; }
  .tools-band { padding: 26px 20px; }
  .hero-actions .btn { width: 100%; }
  .feed-list li { grid-template-columns: 4.6rem 1fr; }
  .section { padding-block: 40px; }
  .site-foot { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- homepage-matching refinements ---------- */
.eyebrow, .section-label { font-family: var(--font); text-transform: none; letter-spacing: -0.01em; font-size: 15px; font-weight: 600; }
.section-label { color: var(--ink-3); }
.brand-mark rect { fill: var(--ink); }
.btn { border-radius: 980px; font-weight: 500; letter-spacing: -0.01em; }
.url-field { border: 1px solid var(--line); border-radius: 980px; padding: 6px 6px 6px 10px; box-shadow: 0 12px 30px -18px rgba(0, 0, 0, 0.25); }
.url-field:focus-within { outline: 3px solid color-mix(in srgb, var(--accent) 55%, transparent); outline-offset: 2px; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.18); }
.hero h1, .verdict, .unlock h3, .cta-band h3, .panel-title { font-stretch: normal; }
.panel, .unlock, .cta-band, .cluster { border-radius: 24px; }
.panel { border-color: transparent; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04); }
.verticals { border-radius: 980px; }
.verticals a { border-radius: 980px; }
.field input, .field select { border-radius: 12px; }

/* Routes out of the grader. Without these the page is a dead end: someone who
   grades their site has nowhere to go but back. */
.top-links { display: flex; gap: 20px; margin-left: auto; margin-right: 18px; font-size: 15px; }
.top-links a { color: var(--ink-2); text-decoration: none; }
.top-links a:hover { color: var(--ink); }
.top-links a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 14px; }
.foot-links a { color: var(--ink-2); text-decoration: none; }
.foot-links a:hover { color: var(--ink); text-decoration: underline; }
@media (max-width: 720px) {
  .top-links { display: none; }
  .btn-nav { margin-left: auto; }
}
