/* Free scan page. */
.demo-banner { background: var(--warn); color: var(--text); font-size: 15px; }
.demo-banner .wrap { display: flex; gap: 4px 12px; align-items: baseline; padding-top: 10px; padding-bottom: 10px; flex-wrap: wrap; }
.demo-banner b { font-family: var(--f-head); letter-spacing: 0.12em; }

.scan-top { padding: clamp(40px, 6vw, 72px) 0 clamp(56px, 8vw, 96px); }
.scan-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 380px); gap: 40px clamp(32px, 6vw, 72px); align-items: start; }
.scan-top h1 { font-size: clamp(40px, 6vw, 72px); margin: 10px 0 24px; overflow-wrap: anywhere; }
.scan-top h1 .d { display: block; margin-top: 8px; color: var(--gold); text-transform: none; font-family: var(--f-mono); font-weight: 500; font-size: .5em; letter-spacing: 0; }
.pbar { height: 4px; background: var(--ink-3); margin-bottom: 8px; }
.pbar i { display: block; height: 100%; width: 0; background: var(--gold); transition: width .3s; }
.runlist li { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; padding: 9px 0; border-bottom: 1px solid var(--ink-3); font-size: 16px; color: var(--bone-2); }
.runlist li.grp { border: 0; padding: 24px 0 6px; font-family: var(--f-head); font-weight: 600; font-size: 14px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--bone-3); }
.runlist .s { flex-shrink: 0; font-size: 14px; font-weight: 600; min-width: 5.5em; text-align: right; }
.runlist .s.run { color: var(--bone-3); font-weight: 400; }
.runlist .s.pass { color: var(--ok); }
.runlist .s.fail { color: var(--bad); }
.runlist .s.gap { color: var(--warn); }
.runlist .s.decl { color: var(--bone-3); font-weight: 400; }
.scan-top .scan-form label { color: var(--bone-2); }

.result { --cut: 16px; background: var(--ink-2); padding: 32px 28px; display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; position: sticky; top: 88px; }
.result .big { padding: 4px 0 6px; }
.result .lbl { font-size: 16px; color: var(--bone-3); }
.result h2 { font-size: clamp(34px, 4vw, 46px); }
.result h2 .t { font-family: var(--f-stencil); font-weight: 400; letter-spacing: 0.05em; color: var(--tier); }
.result p { color: var(--bone-2); font-size: 17px; }
.result .btn { width: 100%; margin-top: 6px; }
.result .sub { font-size: 14px; color: var(--bone-3); }
.hexspin svg path { transition: fill .4s; }

.after { padding: clamp(56px, 8vw, 96px) 0; }
.after .grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 48px clamp(32px, 6vw, 72px); align-items: start; }
.after h2 { font-size: clamp(32px, 4vw, 48px); }
.after .lede { margin: 12px 0 24px; color: var(--text-2); font-size: 18px; }
.fixes { border-top: 1px solid var(--paper-line); }
.fixes li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--paper-line); }
.fixes b { display: block; font-size: 17px; font-weight: 600; }
.fixes .why { display: block; font-size: 15px; color: var(--text-2); margin-top: 2px; }
.fixes .eff { flex-shrink: 0; font-size: 14px; color: var(--text-3); white-space: nowrap; }
.ks { margin-top: 28px; font-size: 16px; color: var(--text-2); }
.ks b { font-family: var(--f-head); font-size: 22px; color: var(--text); }
.yours { display: flex; flex-direction: column; gap: 14px; }
.yours .stagebox { --cut: 16px; background: var(--ink); padding: 32px 20px; display: flex; justify-content: center; }
.yours p:last-child { font-size: 16px; color: var(--text-2); }
@media (max-width: 900px) {
  .scan-grid, .after .grid { grid-template-columns: minmax(0, 1fr); }
  .result { position: static; order: -1; }
}

/* Server-rendered additions: error state and the embedded customer report. */
.scan-error { color: var(--bone-2); font-size: 17px; max-width: 40em; }
.rep-wrap { background: var(--paper-2); padding-top: clamp(44px, 6vw, 72px); }
.rep-intro h2 { font-size: clamp(32px, 4vw, 48px); }
.rep-intro .lede { margin-top: 10px; color: var(--text-2); font-size: 18px; }
.rep-intro a { color: inherit; }
.steps { align-self: stretch; text-align: left; border-top: 1px solid var(--ink-line); padding-top: 12px; display: flex; flex-direction: column; gap: 4px; }
.steps:empty { display: none; }
.steps li { font-size: 14px; color: var(--bone-3); display: flex; justify-content: space-between; gap: 12px; }
.steps li::after { font-family: var(--f-mono); font-size: 12px; }
.steps .step-running::after { content: '…'; }
.steps .step-done { color: var(--bone-2); }
.steps .step-done::after { content: 'done'; color: var(--ok); }
.steps .step-error::after { content: 'failed'; color: var(--bad); }
/* The report's hero shares class names with the landing page hero; undo the landing page's spacing. */
.rep .hero .wrap { padding-top: 0; padding-bottom: 0; align-items: start; gap: 32px clamp(32px, 6vw, 64px); }
.rep .fixes li { justify-content: initial; }
.rep-intro { padding-bottom: clamp(28px, 4vw, 44px); }
