:root {
  --paper: #f2efe7;
  --paper-deep: #e8e3d8;
  --ink: #151613;
  --muted: #66685f;
  --line: #cbc6b9;
  --lime: #c7f529;
  --good: #2f6b4f;
  --warn: #9a5d09;
  --bad: #9c3028;
  --max: 1440px;
  --pad: clamp(20px, 4vw, 60px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
button, input { font: inherit; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
.sr-only { width: 1px; height: 1px; position: absolute; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; clip-path: inset(50%); }
::selection { background: var(--lime); color: var(--ink); }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }

.skip-link { position: fixed; top: 8px; left: 8px; z-index: 100; transform: translateY(-150%); padding: 10px 14px; background: var(--ink); color: var(--paper); }
.skip-link:focus { transform: translateY(0); }
.audit-header { min-height: 68px; display: flex; align-items: center; padding: 0 var(--pad); border-bottom: 1px solid var(--line); font-size: 13px; }
.audit-brand img { width: 142px; }

.audit-intro { min-height: calc(100svh - 68px); display: grid; grid-template-columns: minmax(0, 1fr); align-content: center; padding: clamp(70px, 10vh, 130px) max(var(--pad), calc((100vw - var(--max)) / 2 + var(--pad))); border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.audit-intro::after { content: "100"; position: absolute; right: -2vw; bottom: -11vw; color: transparent; -webkit-text-stroke: 1px color-mix(in srgb, var(--ink) 13%, transparent); font-size: clamp(280px, 40vw, 620px); font-weight: 750; line-height: .72; letter-spacing: -.12em; pointer-events: none; }
.intro-copy, .audit-form, .scope-line { position: relative; z-index: 1; }
.kicker, .rail-label { margin: 0 0 18px; font: 650 11px/1.2 "SFMono-Regular", Consolas, monospace; text-transform: uppercase; letter-spacing: .09em; color: var(--muted); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { letter-spacing: -.045em; }
h1 { max-width: 12ch; margin-bottom: 24px; font-size: clamp(54px, 7.3vw, 112px); line-height: .88; font-weight: 620; }
.intro-lede { max-width: 610px; margin-bottom: 0; color: #43453f; font-size: clamp(18px, 1.65vw, 25px); line-height: 1.38; letter-spacing: -.018em; }
.audit-form { width: min(900px, 100%); margin-top: clamp(44px, 7vw, 74px); }
.audit-form label { display: block; margin-bottom: 10px; font-size: 13px; font-weight: 700; }
.url-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; min-height: 72px; background: #fff; border: 1px solid var(--ink); box-shadow: 8px 8px 0 var(--ink); }
.url-row > span { display: flex; align-items: center; padding-left: 22px; color: var(--muted); font-size: 17px; }
.url-row input { min-width: 0; border: 0; outline: 0; padding: 0 12px 0 4px; background: transparent; color: var(--ink); font-size: 17px; }
.url-row input::placeholder { color: #9c9d96; }
.url-row button { min-width: 190px; border: 0; background: var(--lime); color: var(--ink); font-size: 14px; font-weight: 750; cursor: pointer; transition: background 160ms ease, transform 160ms ease; }
.url-row button:hover { background: #b8e522; }
.url-row button:hover span { display: inline-block; transform: translate(2px, -2px); }
.audit-form > p { margin: 15px 0 0; color: var(--muted); font-size: 12px; }
.audit-form .field-error { color: var(--bad); font-weight: 650; }
.scope-line { display: flex; flex-wrap: wrap; gap: 10px 28px; width: min(980px, 100%); margin-top: 46px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.scope-line span::before { content: "✓"; margin-right: 7px; color: var(--good); font-weight: 800; }

.scan-view { min-height: calc(100svh - 68px); padding: 14px; background: #f3f1ec; }
.scan-shell { min-height: calc(100svh - 96px); display: grid; grid-template-columns: minmax(310px, 360px) minmax(0, 1fr); overflow: hidden; border: 1px solid #dedbd2; border-radius: 22px; background: #faf9f6; box-shadow: 0 18px 60px rgb(31 31 24 / .08); }
.scan-panel { position: relative; z-index: 3; display: flex; flex-direction: column; padding: clamp(30px, 4vw, 54px) 34px 26px; background: #fff; box-shadow: 18px 0 40px rgb(27 27 22 / .05); }
.scan-panel h2 { margin: 14px 0 8px; font-size: clamp(40px, 4vw, 58px); font-weight: 620; line-height: .95; letter-spacing: -.055em; }
.scan-panel .kicker { display: flex; align-items: center; gap: 8px; }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--good); box-shadow: 0 0 0 5px rgb(47 107 79 / .12); animation: pulse 1.8s ease-in-out infinite; }
.scan-domain { margin: 0; overflow: hidden; color: var(--muted); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.scan-steps { margin: 46px 0 30px; padding: 0; list-style: none; }
.scan-steps li { min-height: 44px; display: grid; grid-template-columns: 25px minmax(0, 1fr); gap: 13px; align-items: start; position: relative; color: #aaa9a3; font-size: 13px; line-height: 1.35; transition: color 260ms ease, transform 260ms ease; }
.scan-steps li::before { content: ""; width: 20px; height: 20px; display: grid; place-items: center; border: 2px solid #d4d7d9; border-radius: 50%; background: #fff; color: #fff; font-size: 10px; line-height: 1; }
.scan-steps li:not(:last-child)::after { content: ""; width: 1px; height: 22px; position: absolute; top: 22px; left: 10px; background: #dfe1e2; }
.scan-steps li.is-active { color: var(--ink); transform: translateX(3px); }
.scan-steps li.is-active::before { border-color: var(--ink); border-right-color: transparent; animation: spin .75s linear infinite; }
.scan-steps li.is-done { color: #4e514c; }
.scan-steps li.is-done::before { content: "✓"; border-color: var(--ink); background: var(--ink); }
.scan-steps li.is-done::after { background: var(--ink); }
.scan-steps li i { display: none; }
.scan-progress { margin-top: auto; }
.scan-progress > div { height: 3px; overflow: hidden; background: #ecece8; }
.scan-progress > div i { display: block; width: 8%; height: 100%; background: var(--ink); transition: width 650ms cubic-bezier(.16,1,.3,1); }
.scan-progress p { margin: 11px 0 0; color: var(--muted); font-size: 10px; }
.scan-canvas { min-width: 0; min-height: 700px; position: relative; overflow: hidden; isolation: isolate; background: #f8f7f3; }
.scan-canvas::before { content: ""; position: absolute; inset: 0; z-index: -2; opacity: .45; background-image: linear-gradient(#e7e5df 1px, transparent 1px), linear-gradient(90deg, #e7e5df 1px, transparent 1px); background-size: 58px 58px; mask-image: linear-gradient(to bottom right, black, transparent 74%); }
.scan-copy-card { width: min(560px, 54%); position: absolute; z-index: 2; top: 9%; left: 7%; padding: 28px 30px 32px; border: 1px solid #e2dfd6; background: rgb(255 255 255 / .9); box-shadow: 0 18px 60px rgb(31 31 24 / .08); backdrop-filter: blur(12px); }
.scan-eyebrow { margin: 0 0 24px; color: var(--muted); font: 650 9px/1 "SFMono-Regular", Consolas, monospace; letter-spacing: .11em; text-transform: uppercase; }
.scan-copy-card strong, .scan-copy-card h3, .scan-copy-card > p:last-child { display: block; opacity: 0; transform: translateY(8px); transition: opacity 500ms ease, transform 600ms cubic-bezier(.16,1,.3,1); }
.scan-copy-card strong { font-size: 12px; }
.scan-copy-card h3 { max-width: 14ch; margin: 18px 0; font-size: clamp(28px, 3.3vw, 52px); font-weight: 600; line-height: .98; letter-spacing: -.05em; }
.scan-copy-card > p:last-child { max-width: 52ch; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
.scan-copy-card.has-content strong, .scan-copy-card.has-content h3, .scan-copy-card.has-content > p:last-child { opacity: 1; transform: none; }
.skeleton-line:empty { min-height: 12px; overflow: hidden; position: relative; opacity: 1; transform: none; background: #e6e5e0; }
.skeleton-line:empty::after, .photo-slot span::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 20%, rgb(255 255 255 / .85) 48%, transparent 75%); transform: translateX(-100%); animation: shimmer 1.4s ease-in-out infinite; }
.skeleton-name:empty { width: 34%; }
.skeleton-headline:empty { width: 82%; min-height: 96px; margin-block: 20px; }
.skeleton-summary:empty { width: 66%; min-height: 34px; }
.scan-google-card { width: min(420px, 42%); min-height: 82px; display: grid; grid-template-columns: 38px 1fr; gap: 14px; align-items: center; position: absolute; z-index: 4; right: 5%; top: 7%; padding: 17px 20px; border: 1px solid #e2dfd6; background: rgb(255 255 255 / .94); opacity: 0; transform: translateY(-12px); transition: opacity 450ms ease, transform 550ms cubic-bezier(.16,1,.3,1); }
.scan-google-card.has-content { opacity: 1; transform: none; }
.google-g { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: conic-gradient(from -40deg, #4285f4 0 25%, #34a853 0 43%, #fbbc05 0 67%, #ea4335 0 82%, #4285f4 0); color: #fff; font-size: 16px; font-weight: 800; }
.scan-google-card small { display: block; color: var(--muted); font-size: 9px; }
.scan-google-card strong { display: block; margin-top: 3px; overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.scan-google-card p { margin: 3px 0 0; color: var(--muted); font-size: 9px; }
.scan-google-card.is-found { border-color: rgb(47 107 79 / .42); }
.scan-gallery { position: absolute; inset: 0; }
.photo-slot { position: absolute; overflow: hidden; margin: 0; border: 8px solid #fff; background: #e8e6df; box-shadow: 0 16px 45px rgb(38 37 31 / .14); opacity: .35; transform: translateY(22px) rotate(var(--r)); transition: opacity 650ms ease, transform 800ms cubic-bezier(.16,1,.3,1); }
.photo-slot span { display: block; width: 100%; height: 100%; position: relative; }
.photo-slot img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.82) contrast(.96); }
.photo-slot.is-visible { opacity: 1; transform: translateY(0) rotate(var(--r)); }
.photo-slot.is-broken { opacity: .12; }
.slot-a { --r: -4deg; width: 31%; height: 42%; right: 17%; top: 21%; }
.slot-b { --r: 3.5deg; width: 30%; height: 35%; right: -4%; top: 34%; }
.slot-c { --r: -1.5deg; width: 34%; height: 43%; right: 18%; bottom: -9%; }
.slot-d { --r: 4deg; width: 24%; height: 31%; left: 17%; bottom: 2%; }
.slot-e { --r: -3deg; width: 22%; height: 27%; right: 4%; bottom: -5%; }
.scan-beam { width: 100%; height: 2px; position: absolute; z-index: 6; left: 0; top: 15%; background: var(--good); box-shadow: 0 0 26px 9px rgb(47 107 79 / .13); animation: scan-beam 3.8s cubic-bezier(.45,0,.55,1) infinite alternate; }

.report { animation: report-in 500ms cubic-bezier(.16,1,.3,1) both; }
.report-masthead { display: grid; grid-template-columns: 220px minmax(0, 1fr) auto; gap: clamp(32px, 5vw, 80px); align-items: center; max-width: var(--max); margin: 0 auto; padding: clamp(50px, 7vw, 90px) var(--pad); border-bottom: 1px solid var(--line); }
.score-wrap { width: 190px; height: 190px; position: relative; display: grid; place-items: center; }
.score-ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.score-track, .score-value { fill: none; stroke-width: 8; }
.score-track { stroke: var(--paper-deep); }
.score-value { stroke: var(--lime); stroke-linecap: square; stroke-dasharray: 477.5; stroke-dashoffset: 477.5; transition: stroke-dashoffset 1100ms cubic-bezier(.16,1,.3,1); }
.score-number { position: relative; display: flex; align-items: baseline; letter-spacing: -.06em; }
.score-number strong { font-size: 70px; font-weight: 650; line-height: 1; }
.score-number span { color: var(--muted); font-size: 14px; letter-spacing: 0; }
.report-verdict .kicker span { margin-left: 7px; color: var(--ink); }
.report-verdict h2 { max-width: 16ch; margin-bottom: 16px; font-size: clamp(38px, 5vw, 68px); font-weight: 600; line-height: .98; }
.report-verdict > p:not(.kicker) { max-width: 660px; margin-bottom: 24px; color: var(--muted); font-size: 17px; line-height: 1.55; }
.report-meta { display: flex; flex-wrap: wrap; gap: 9px 24px; font: 11px/1.4 "SFMono-Regular", Consolas, monospace; color: var(--muted); }
.report-meta span + span::before { content: "/"; margin-right: 24px; color: var(--line); }
.report-actions { align-self: start; display: grid; gap: 12px; }
.text-button { padding: 0 0 4px; border: 0; border-bottom: 1px solid currentColor; background: none; font-size: 12px; cursor: pointer; }

.report-body { display: grid; grid-template-columns: minmax(270px, .34fr) minmax(0, 1fr); max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.category-rail { padding: 60px clamp(30px, 4vw, 56px) 60px 0; border-right: 1px solid var(--line); }
.category-row { padding: 17px 0; border-bottom: 1px solid var(--line); }
.category-line { display: flex; justify-content: space-between; gap: 18px; margin-bottom: 9px; font-size: 13px; }
.category-line span:last-child { font-variant-numeric: tabular-nums; font-weight: 750; }
.category-bar { height: 4px; background: var(--paper-deep); overflow: hidden; }
.category-bar i { display: block; height: 100%; background: var(--ink); transform-origin: left; animation: bar-in 900ms cubic-bezier(.16,1,.3,1) both; }
.confidence-note { margin-top: 34px; color: var(--muted); font-size: 12px; line-height: 1.55; }
.report-main { min-width: 0; padding-left: clamp(30px, 5vw, 76px); }
.report-main > section { padding: 60px 0 76px; border-bottom: 1px solid var(--line); }
.section-heading { display: flex; justify-content: space-between; gap: 40px; align-items: end; margin-bottom: 34px; }
.section-heading .kicker { margin-bottom: 9px; }
.section-heading h3 { margin: 0; font-size: clamp(32px, 3vw, 46px); font-weight: 600; }
.section-heading > p { max-width: 270px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.fix-list, .pass-list { border-top: 1px solid var(--ink); }
.fix, .pass-row { border-bottom: 1px solid var(--line); }
.fix summary, .pass-row summary { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 25px 0; list-style: none; cursor: pointer; }
.fix summary::-webkit-details-marker, .pass-row summary::-webkit-details-marker, .evidence-group summary::-webkit-details-marker { display: none; }
.row-icon { width: 22px; height: 22px; display: inline-grid; place-items: center; border-radius: 50%; font-size: 12px; font-weight: 800; }
.alert-icon { background: #ffd7d2; color: #7b201b; }
.check-icon { background: var(--good); color: #fff; }
.fix-title strong, .pass-title strong { display: block; font-size: 17px; letter-spacing: -.018em; }
.pass-title span { display: block; margin-top: 6px; color: var(--muted); font-size: 11px; line-height: 1.45; }
.fix-controls { display: flex; align-items: center; justify-content: flex-end; gap: 12px; }
.fix-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { display: inline-block; padding: 5px 8px; border-radius: 999px; color: #24251f; font: 700 8px/1 "SFMono-Regular", Consolas, monospace; letter-spacing: .055em; text-transform: uppercase; }
.impact-high { background: #ffd7d2; color: #7b201b; }
.impact-medium { background: #ffe9ad; color: #715000; }
.impact-low { background: #dcebd6; color: #285b39; }
.category-technical { background: #d9e7ff; color: #244c82; }
.category-services { background: #e7ddff; color: #594092; }
.category-schema { background: #ffe0bf; color: #7b4816; }
.category-trust { background: #ffdced; color: #7a3155; }
.category-conversion { background: #d5efdf; color: #286044; }
.category-accessibility { background: #cef0ee; color: #185b59; }
.category-performance { background: #e4e5df; color: #4c4e47; }
.category-general { background: #e4e5df; color: #4c4e47; }
.fix-toggle { font-size: 20px; transition: transform 180ms ease; }
.fix[open] .fix-toggle, .pass-row[open] .fix-toggle { transform: rotate(45deg); }
.fix-body, .pass-body { padding: 0 44px 30px 46px; }
.fix-body p, .pass-body p { max-width: 720px; margin: 0; padding-top: 17px; border-top: 1px solid var(--line); color: #3f413b; font-size: 14px; line-height: 1.65; }
.evidence-group { border-top: 1px solid var(--line); }
.evidence-group:last-child { border-bottom: 1px solid var(--line); }
.evidence-group > summary { display: flex; justify-content: space-between; gap: 24px; padding: 22px 0; cursor: pointer; font-size: 15px; font-weight: 700; }
.evidence-group > summary span { color: var(--muted); font-size: 12px; font-weight: 500; }
.check-list { padding-bottom: 20px; }
.check { display: grid; grid-template-columns: 72px 1fr auto; gap: 18px; padding: 13px 0; border-top: 1px dotted var(--line); font-size: 12px; }
.check-status { font: 650 9px/1.5 "SFMono-Regular", Consolas, monospace; text-transform: uppercase; letter-spacing: .07em; }
.check-status.pass { color: var(--good); }
.check-status.warn { color: var(--warn); }
.check-status.fail { color: var(--bad); }
.check-status.unknown { color: var(--muted); }
.check span:nth-child(2) { color: #444640; }
.check span:last-child { color: var(--muted); font-variant-numeric: tabular-nums; }
.report-main > .report-bottom-cta { margin-inline: calc(clamp(30px, 5vw, 78px) * -1); padding: clamp(76px, 10vw, 140px) clamp(30px, 5vw, 78px); border-bottom: 0; background: var(--ink); color: #fff; }
.report-bottom-cta h3 { max-width: 10ch; margin: 0; font-size: clamp(46px, 6vw, 82px); font-weight: 600; line-height: .96; letter-spacing: -.05em; }
.report-bottom-cta p { max-width: 580px; margin: 24px 0 34px; color: #bfc0b8; font-size: 16px; line-height: 1.55; }
.report-bottom-cta a { min-height: 58px; display: inline-flex; align-items: center; justify-content: space-between; gap: 24px; padding: 0 22px; border-radius: 999px; background: var(--lime); color: var(--ink); font-size: 12px; font-weight: 800; transition: transform 160ms ease, background 160ms ease; }
.report-bottom-cta a:hover { background: #b9e823; transform: translateY(-2px); }

.method { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(60px, 9vw, 140px); padding: clamp(80px, 10vw, 150px) max(var(--pad), calc((100vw - var(--max)) / 2 + var(--pad))); background: var(--ink); color: var(--paper); }
.method .kicker { color: #9b9d94; }
.method h2 { max-width: 11ch; font-size: clamp(44px, 5vw, 72px); font-weight: 560; line-height: .98; }
.method-list { border-top: 1px solid #3f403b; }
.method-list > div { display: grid; grid-template-columns: 46px minmax(130px, .55fr) 1fr; gap: 26px; padding: 24px 0; border-bottom: 1px solid #3f403b; align-items: start; }
.method-list span { color: var(--lime); font: 12px/1.5 "SFMono-Regular", Consolas, monospace; }
.method-list h3 { margin: 0; font-size: 17px; letter-spacing: -.02em; }
.method-list p { margin: 0; color: #b9bbb2; font-size: 13px; line-height: 1.5; }
.method-note { grid-column: 2; max-width: 690px; margin: 16px 0 0; color: #8e9088; font-size: 11px; line-height: 1.55; }

@keyframes inspect { to { transform: rotate(360deg); } }
@keyframes report-in { from { opacity: 0; transform: translateY(16px); } }
@keyframes bar-in { from { transform: scaleX(0); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 50% { box-shadow: 0 0 0 9px rgb(47 107 79 / 0); } }
@keyframes shimmer { to { transform: translateX(100%); } }
@keyframes scan-beam { from { top: 13%; } to { top: 88%; } }

@media (max-width: 900px) {
  .scan-shell { grid-template-columns: 290px minmax(0, 1fr); }
  .scan-panel { padding-inline: 24px; }
  .scan-copy-card { width: 68%; left: 6%; }
  .scan-google-card { width: 48%; }
  .report-masthead { grid-template-columns: 170px 1fr; }
  .score-wrap { width: 160px; height: 160px; }
  .report-actions { grid-column: 2; display: flex; }
  .report-body { grid-template-columns: 1fr; }
  .category-rail { padding-right: 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .category-rail > div { display: grid; grid-template-columns: 1fr 1fr; gap: 0 30px; }
  .report-main { padding-left: 0; }
  .method { grid-template-columns: 1fr; }
  .method h2 { max-width: 15ch; }
  .method-note { grid-column: 1; }
}

@media (max-width: 640px) {
  .scan-view { padding: 0; }
  .scan-shell { min-height: calc(100svh - 68px); grid-template-columns: 1fr; border: 0; border-radius: 0; }
  .scan-panel { min-height: 54svh; padding: 28px 24px 20px; box-shadow: none; }
  .scan-panel h2 { font-size: 42px; }
  .scan-steps { margin: 28px 0 18px; }
  .scan-steps li { min-height: 34px; font-size: 11px; }
  .scan-steps li:not(:last-child)::after { height: 12px; }
  .scan-canvas { min-height: 46svh; border-top: 1px solid var(--line); }
  .scan-copy-card { width: 68%; top: 8%; left: 5%; padding: 18px; }
  .scan-copy-card h3 { margin: 11px 0; font-size: 24px; }
  .scan-copy-card > p:last-child { display: none; }
  .scan-google-card { width: 62%; min-height: 68px; top: auto; right: 4%; bottom: 5%; padding: 12px; }
  .scan-google-card p { display: none; }
  .photo-slot { border-width: 5px; }
  .slot-a { width: 42%; height: 56%; right: 2%; top: 9%; }
  .slot-b { width: 36%; height: 42%; right: 24%; top: 42%; }
  .slot-c { width: 38%; height: 48%; right: -8%; bottom: -8%; }
  .slot-d, .slot-e { display: none; }
  .audit-header { grid-template-columns: 1fr auto; }
  .audit-header p { display: none; }
  .audit-intro { min-height: calc(100svh - 68px); padding-top: 64px; padding-bottom: 64px; }
  h1 { font-size: clamp(50px, 16vw, 72px); }
  .url-row { grid-template-columns: auto minmax(0, 1fr); box-shadow: 5px 5px 0 var(--ink); }
  .url-row > span { padding-left: 14px; font-size: 14px; }
  .url-row input { font-size: 14px; }
  .url-row button { grid-column: 1 / -1; min-height: 56px; }
  .scope-line { gap: 9px 18px; }
  .report-masthead { grid-template-columns: 1fr; text-align: center; }
  .score-wrap { margin: 0 auto; }
  .report-verdict h2 { margin-inline: auto; }
  .report-meta, .report-actions { grid-column: 1; justify-content: center; }
  .report-actions { display: flex; }
  .category-rail > div { grid-template-columns: 1fr; }
  .section-heading { align-items: start; flex-direction: column; gap: 13px; }
  .fix summary { grid-template-columns: 36px 1fr 20px; gap: 12px; }
  .fix-body { padding-left: 48px; padding-right: 0; }
  .pass-list { grid-template-columns: 1fr; }
  .check { grid-template-columns: 60px 1fr; }
  .check span:last-child { grid-column: 2; }
  .method-list > div { grid-template-columns: 34px 1fr; gap: 12px; }
  .method-list p { grid-column: 2; }
}

@media print {
  .audit-header, .audit-intro, .scan-view, .report-actions, .method { display: none !important; }
  body { background: white; }
  .report { display: block !important; }
  .report-masthead, .report-body { max-width: none; padding-inline: 24px; }
  .fix:not([open]) .fix-body { display: grid; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* Competitor audit layout */
body { background: #fff; }
.audit-header { background: #fff; }
.audit-header p { font-weight: 700; }
.audit-intro { background: #fff; }
.audit-intro::after { content: "VS"; right: -1vw; bottom: -7vw; font-size: clamp(250px, 34vw, 520px); letter-spacing: -.08em; }
.intro-copy { max-width: 1040px; }
.intro-copy h1 { max-width: 12ch; font-size: clamp(50px, 6.25vw, 96px); }
.audit-form { width: min(1100px, 100%); }
.compare-fields { display: grid; grid-template-columns: minmax(0, 1fr) 54px minmax(0, 1fr); align-items: end; }
.site-field label { display: flex; gap: 10px; margin-bottom: 10px; }
.site-field label span { color: var(--muted); font: 600 10px/1.3 "SFMono-Regular", Consolas, monospace; }
.site-field > div { display: grid; grid-template-columns: auto minmax(0, 1fr); min-height: 68px; background: #fff; border: 1px solid var(--ink); }
.site-field > div > span { display: flex; align-items: center; padding-left: 20px; color: var(--muted); font-size: 15px; }
.site-field input { min-width: 0; border: 0; outline: 0; padding: 0 16px 0 4px; background: transparent; color: var(--ink); font-size: 16px; }
.site-field input::placeholder { color: #999b93; }
.site-field:focus-within > div { box-shadow: 0 0 0 3px var(--lime); }
.compare-mark { align-self: center; padding-top: 22px; text-align: center; color: var(--muted); font: 650 11px/1 "SFMono-Regular", Consolas, monospace; text-transform: uppercase; }
.compare-button { min-height: 58px; margin-top: 18px; padding: 0 24px; border: 1px solid var(--ink); background: var(--lime); color: var(--ink); font-size: 14px; font-weight: 750; cursor: pointer; box-shadow: 6px 6px 0 var(--ink); transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease; }
.compare-button:hover { background: #b9e823; transform: translate(2px, 2px); box-shadow: 4px 4px 0 var(--ink); }
.scan-domain { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.scan-domain i { color: #aaa99f; font-style: normal; }

.report { background: #fff; }
.report-body { grid-template-columns: 370px minmax(0, 1fr); max-width: none; margin: 0; padding: 0; align-items: start; }
.score-rail { position: sticky; top: 0; height: 100svh; display: flex; flex-direction: column; overflow: auto; margin: 14px; padding: clamp(30px, 4vh, 52px) 34px 26px; border-radius: 18px; background: #f7efd8; }
.rail-top { text-align: center; }
.score-rail .score-wrap { width: 188px; height: 188px; margin: 2vh auto 18px; }
.score-rail .score-track { stroke: #e6dcc1; }
.score-rail .score-value { stroke: #df8a2d; }
.rail-grade { margin: 0; }
.rail-grade strong { display: block; font-size: 22px; letter-spacing: -.03em; }
.rail-grade span { display: block; margin-top: 5px; color: var(--muted); font-size: 12px; }
.competitor-score { display: flex; justify-content: space-between; gap: 18px; align-items: center; margin-top: 24px; padding: 14px 0; border-top: 1px solid #ddd2b5; border-bottom: 1px solid #ddd2b5; text-align: left; }
.competitor-score > span { max-width: 180px; overflow: hidden; text-overflow: ellipsis; color: var(--muted); font-size: 11px; white-space: nowrap; }
.competitor-score strong { flex: none; font-size: 12px; }
.competitor-score b { font-size: 18px; }
.rail-categories { margin-top: auto; padding-top: 34px; }
.score-rail .category-row { padding: 12px 0; border-color: #ddd2b5; }
.score-rail .category-line { margin-bottom: 7px; font-size: 11px; }
.category-line i { display: inline-block; min-width: 23px; margin-left: 5px; font: 700 9px/1 "SFMono-Regular", Consolas, monospace; }
.category-line i.positive { color: var(--good); }
.category-line i.negative { color: var(--bad); }
.score-rail .category-bar { height: 3px; background: #e5dcc5; }
.rail-actions { display: flex; justify-content: space-between; gap: 20px; margin-top: 24px; }
.rail-actions .text-button { font-size: 10px; }
.rail-cta { margin-top: 24px; padding-top: 22px; border-top: 1px solid #ddd2b5; }
.rail-cta p { margin: 0 0 12px; font-size: 15px; font-weight: 700; letter-spacing: -.02em; }
.rail-cta a { min-height: 48px; display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 0 16px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 11px; font-weight: 700; transition: transform 160ms ease, background 160ms ease; }
.rail-cta a:hover { background: #30312d; transform: translateY(-1px); }
.report-main { min-width: 0; max-width: 1120px; padding: 0 clamp(30px, 5vw, 78px); background: #fff; }
.report-main > section { padding: clamp(60px, 8vw, 110px) 0; }
.comparison { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; }
.comparison-heading { max-width: 850px; }
.comparison-heading h2 { max-width: 15ch; margin-bottom: 22px; font-size: clamp(46px, 5vw, 78px); font-weight: 600; line-height: .97; }
.comparison-heading > p:not(.kicker) { max-width: 690px; color: var(--muted); font-size: 16px; line-height: 1.55; }
.comparison-scoreline { display: grid; grid-template-columns: 1fr 1fr auto; gap: 16px; margin: 44px 0 34px; }
.comparison-scoreline > div { padding: 22px; border: 1px solid var(--line); }
.comparison-scoreline span { display: block; max-width: 220px; overflow: hidden; color: var(--muted); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.comparison-scoreline strong { display: block; margin-top: 8px; font-size: 38px; line-height: 1; letter-spacing: -.05em; }
.comparison-scoreline > p { display: grid; place-items: center; margin: 0; padding: 0 20px; background: var(--lime); font: 700 11px/1.2 "SFMono-Regular", Consolas, monospace; text-transform: uppercase; text-align: center; }
.comparison-list { border-top: 1px solid var(--ink); }
.comparison-row { display: grid; grid-template-columns: minmax(170px, .8fr) minmax(180px, 1.2fr) 92px; gap: 24px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.comparison-row > div:first-child { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.comparison-row strong { font-size: 12px; }
.comparison-row .delta { color: var(--muted); font-size: 10px; white-space: nowrap; }
.comparison-row.behind .delta { color: var(--bad); }
.comparison-row.ahead .delta { color: var(--good); }
.comparison .confidence-note { max-width: 700px; margin-top: 24px; }
.report-meta { margin-top: 24px; }
.report-open .audit-header { display: none; }

@media (max-width: 980px) {
  .compare-fields { grid-template-columns: 1fr; gap: 14px; }
  .compare-mark { display: none; }
  .report-body { grid-template-columns: 1fr; }
  .score-rail { position: relative; top: auto; height: auto; margin: 12px; overflow: visible; }
  .rail-categories > div { display: grid; grid-template-columns: 1fr 1fr; gap: 0 26px; }
  .report-main { max-width: none; }
  .comparison { min-height: auto; }
}

@media (max-width: 640px) {
  .intro-copy h1 { font-size: clamp(46px, 14vw, 68px); }
  .audit-form { margin-top: 38px; }
  .site-field > div { min-height: 58px; }
  .compare-button { width: calc(100% - 5px); }
  .score-rail { padding: 30px 22px; }
  .rail-categories > div { grid-template-columns: 1fr; }
  .comparison-heading h2 { font-size: 42px; }
  .comparison-scoreline { grid-template-columns: 1fr 1fr; }
  .comparison-scoreline > p { grid-column: 1 / -1; min-height: 42px; }
  .comparison-row { grid-template-columns: 1fr 86px; gap: 12px; }
  .comparison-row > div:first-child { display: block; }
  .comparison-row .delta { display: block; margin-top: 4px; }
  .duel-values { grid-column: 2; }
}

@media print {
  .score-rail { position: static; height: auto; margin: 0; border-radius: 0; }
}

.unlock-view { min-height: calc(100svh - 68px); display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(280px, .55fr); gap: clamp(50px, 10vw, 150px); align-items: center; padding: clamp(60px, 8vw, 120px) max(var(--pad), calc((100vw - 1240px) / 2 + var(--pad))); position: relative; overflow: hidden; background: #fff; }
.unlock-progress { position: absolute; inset: 0 0 auto; height: 4px; background: #ecece8; }
.unlock-progress i { display: block; width: 50%; height: 100%; background: var(--lime); transition: width 420ms cubic-bezier(.16,1,.3,1); }
.unlock-panel { max-width: 650px; }
.unlock-panel h2 { max-width: 10ch; margin-bottom: 20px; font-size: clamp(50px, 6vw, 84px); font-weight: 600; line-height: .94; }
.unlock-panel > p:not(.kicker) { max-width: 530px; color: var(--muted); font-size: 17px; line-height: 1.55; }
.unlock-panel form { margin-top: 42px; }
.unlock-step label { display: block; margin-bottom: 9px; font-size: 12px; font-weight: 750; }
.unlock-step input, .unlock-step select { width: 100%; min-height: 58px; padding: 0 16px; border: 1px solid var(--ink); border-radius: 0; background: #fff; color: var(--ink); }
.unlock-step select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 18px) 25px, calc(100% - 12px) 25px; background-size: 6px 6px; background-repeat: no-repeat; }
.unlock-step > button[type="submit"] { min-height: 56px; margin-top: 14px; padding: 0 22px; border: 1px solid var(--ink); background: var(--lime); font-size: 13px; font-weight: 750; cursor: pointer; }
.unlock-step > p { margin-top: 12px; color: var(--muted); font-size: 11px; }
.unlock-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.back-button { margin-left: 16px; padding: 0; border: 0; border-bottom: 1px solid currentColor; background: none; font-size: 11px; cursor: pointer; }
.unlock-error { min-height: 20px; margin: 14px 0 0; color: var(--bad); font-size: 12px; font-weight: 650; }
.unlock-preview { width: min(360px, 100%); aspect-ratio: 1 / 1.16; display: flex; flex-direction: column; justify-content: center; padding: 48px; border-radius: 18px; background: #f7efd8; transform: rotate(2deg); }
.unlock-preview > span { font-size: 100px; font-weight: 650; line-height: .9; letter-spacing: -.08em; }
.unlock-preview p { margin: 10px 0 40px; color: var(--muted); }
.unlock-preview div { height: 8px; margin-top: 15px; background: #ddd2b5; position: relative; overflow: hidden; }
.unlock-preview div::after { content: ""; display: block; width: 68%; height: 100%; background: var(--ink); filter: blur(5px); }
.unlock-preview div:nth-of-type(2)::after { width: 34%; }
.unlock-preview div:nth-of-type(3)::after { width: 82%; }

.local-market h2 { max-width: 13ch; margin: 0; font-size: clamp(44px, 5vw, 72px); font-weight: 600; line-height: .98; }
.market-map { height: 440px; position: relative; overflow: hidden; border: 1px solid var(--line); background-color: #eae8e0; background-image: linear-gradient(#dedcd4 1px, transparent 1px), linear-gradient(90deg, #dedcd4 1px, transparent 1px); background-size: 44px 44px; }
.tile-layer, .pin-layer { position: absolute; inset: 0; }
.map-tile { position: absolute; max-width: none; filter: grayscale(1) contrast(.8) brightness(1.12); opacity: .72; }
.map-pin { position: absolute; z-index: 2; width: 30px; height: 30px; display: grid; place-items: center; border: 2px solid #fff; border-radius: 50% 50% 50% 0; background: var(--ink); color: #fff; box-shadow: 0 2px 7px rgb(0 0 0 / .2); transform: translate(-50%, -100%) rotate(-45deg); cursor: pointer; }
.map-pin span { transform: rotate(45deg); font: 700 9px/1 "SFMono-Regular", Consolas, monospace; }
.map-pin.selected { width: 38px; height: 38px; background: var(--lime); color: var(--ink); border-color: var(--ink); }
.map-credit { position: absolute; right: 5px; bottom: 4px; z-index: 4; padding: 3px 5px; background: rgb(255 255 255 / .86); color: #555; font-size: 9px; }
.competitor-list { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.competitor-item { min-width: 0; display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 17px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.competitor-item > span { color: var(--muted); font: 10px/1 "SFMono-Regular", Consolas, monospace; }
.competitor-item strong { display: block; overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.competitor-item small { display: block; margin-top: 3px; color: var(--muted); font-size: 10px; }
.competitor-item em { color: var(--muted); font: normal 9px/1.2 "SFMono-Regular", Consolas, monospace; text-align: right; }
.competitor-item.selected { background: color-mix(in srgb, var(--lime) 24%, white); }
.competitor-item.selected em { color: var(--ink); font-weight: 750; }
.map-note { margin: 12px 0 0; color: var(--muted); font-size: 10px; }

.comparison { min-height: auto; }
.comparison-list { border-top: 1px solid var(--ink); }
.comparison-row { grid-template-columns: 32px minmax(0, 1fr) auto; gap: 16px; }
.comparison-row > div:first-of-type { display: block; }
.comparison-mark { width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: #f0f0ed; font-size: 11px; }
.comparison-row.behind .comparison-mark { background: #fae3e0; color: var(--bad); }
.comparison-row.ahead .comparison-mark { background: #dfeee5; color: var(--good); }
.comparison-row .delta { display: block; margin-top: 4px; }
.comparison-evidence { color: var(--muted); font: 10px/1 "SFMono-Regular", Consolas, monospace; white-space: nowrap; }

@media (max-width: 900px) {
  .unlock-view { grid-template-columns: 1fr; }
  .unlock-preview { display: none; }
  .competitor-list { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .unlock-view { padding-top: 70px; }
  .unlock-panel h2 { font-size: 48px; }
  .unlock-grid { grid-template-columns: 1fr; }
  .market-map { height: 360px; }
  .competitor-item { grid-template-columns: 28px minmax(0, 1fr); }
  .competitor-item em { grid-column: 2; text-align: left; }
  .comparison-row { grid-template-columns: 26px 1fr; }
  .comparison-evidence { grid-column: 2; }
}

/* Single-site scoring flow */
.audit-intro { text-align: center; }
.audit-intro::after { display: none; }
.intro-copy { max-width: 980px; margin-inline: auto; }
.intro-copy h1 { max-width: 15ch; margin-inline: auto; font-size: clamp(52px, 6.4vw, 92px); }
.intro-lede { max-width: 720px; margin-inline: auto; }
.single-audit-form { width: min(1180px, 100%); margin: clamp(48px, 7vw, 76px) auto 0; text-align: left; }
.score-input-row { min-height: 116px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; padding: 14px 16px 14px 30px; border-radius: 36px; background: #f0f0f0; }
.score-input-row > span { color: var(--muted); font-size: 20px; }
.score-input-row input { min-width: 0; height: 100%; padding: 0 12px 0 5px; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: clamp(19px, 2vw, 26px); }
.score-input-row input::placeholder { color: #92958c; }
.score-input-row:focus-within { box-shadow: 0 0 0 3px var(--lime); }
.score-input-row button { min-height: 70px; padding: 0 28px; border: 0; border-radius: 999px; background: var(--ink); color: #fff; font-size: 13px; font-weight: 750; cursor: pointer; transition: background 160ms ease, transform 160ms ease; }
.score-input-row button:hover { background: #30312d; transform: translateY(-1px); }
.single-audit-form > p { margin-left: 22px; }
.scope-line { justify-content: center; margin-inline: auto; text-align: left; }
.score-overview { min-height: 86svh; display: flex; flex-direction: column; justify-content: center; }
.score-overview .confidence-note { max-width: 700px; margin-top: 32px; }
.gbp-result { border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); }
.gbp-result > div:first-child { min-height: 96px; display: flex; gap: 16px; align-items: center; }
.gbp-result > div:first-child strong { display: block; font-size: 17px; }
.gbp-result > div:first-child p { margin: 5px 0 0; color: var(--muted); font-size: 12px; }
.gbp-result dl { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; border-top: 1px solid var(--line); }
.gbp-result dl div { min-height: 102px; padding: 22px 0; }
.gbp-result dl div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.gbp-result dt { color: var(--muted); font: 650 9px/1 "SFMono-Regular", Consolas, monospace; letter-spacing: .08em; text-transform: uppercase; }
.gbp-result dd { margin: 12px 0 0; font-size: 24px; font-weight: 650; letter-spacing: -.04em; }
.gbp-result > a { display: inline-block; margin: 20px 0; border-bottom: 1px solid currentColor; font-size: 12px; }
.gbp-note { max-width: 780px; margin: 20px 0 0; color: var(--muted); font-size: 11px; line-height: 1.55; }

@media (max-width: 640px) {
  .audit-intro { text-align: left; }
  .intro-copy h1, .intro-lede { margin-inline: 0; }
  .score-input-row { min-height: 0; grid-template-columns: auto minmax(0, 1fr); padding: 20px; border-radius: 24px; }
  .score-input-row > span { font-size: 14px; }
  .score-input-row input { min-height: 54px; padding-right: 0; font-size: 16px; }
  .score-input-row button { grid-column: 1 / -1; min-height: 58px; margin-top: 10px; }
  .single-audit-form > p { margin-left: 0; }
  .scope-line { justify-content: flex-start; }
  .score-overview { min-height: auto; }
  .gbp-result dl { grid-template-columns: 1fr; }
  .gbp-result dl div { min-height: auto; padding: 16px 0; }
  .gbp-result dl div + div { padding-left: 0; border-top: 1px solid var(--line); border-left: 0; }
  .fix summary, .pass-row summary { grid-template-columns: 26px minmax(0, 1fr) auto; gap: 10px; }
  .fix-controls { max-width: 122px; gap: 7px; }
  .fix-tags { justify-content: flex-end; }
  .tag { padding: 4px 6px; font-size: 7px; }
  .fix-body, .pass-body { padding-right: 0; padding-left: 36px; }
  .report-bottom-cta a { width: 100%; }
}
