/* Free SEO audit: form states and the on-screen report */
#audit .audit[hidden], .audit-report[hidden] { display: none; }
.audit-form__status { display: block; margin-top: 13px; font-size: 14px; color: var(--ap-slate); text-align: center; }
.audit-form__status:empty { display: none; }
.audit-form__status.is-error { color: #A4261C; font-weight: 600; }
.audit-form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.audit-mock button[disabled] { opacity: .75; cursor: progress; }

.audit-report { --ap-cyan-text: #0B7599; background: #fff; color: var(--ap-ink); border-radius: 16px; padding: clamp(22px, 4vw, 44px); box-shadow: 0 24px 60px rgba(0,0,0,.25); }
.audit-report h3 { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.35rem, 3vw, 1.9rem); line-height: 1.15; letter-spacing: -.01em; color: var(--ap-navy); margin: 0 0 6px; overflow-wrap: anywhere; }
.audit-report h3:focus { outline: none; }
.audit-report__head { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 26px; }
.audit-report__score { flex: none; display: flex; align-items: baseline; color: var(--ap-navy); font-family: var(--font-display); font-weight: 700; }
.audit-report__num { font-size: clamp(3.4rem, 8vw, 4.6rem); line-height: 1; letter-spacing: -.03em; }
.audit-report__of { font-size: 1.2rem; margin-left: 3px; color: var(--ap-slate); }
.audit-report__intro { flex: 1 1 260px; min-width: 0; }
.audit-report__kicker { margin: 0 0 4px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ap-cyan-text); }
.audit-report__sent { margin: 0; font-size: .95rem; color: var(--ap-slate); }

.audit-report__cats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 24px; }
@media (min-width: 720px) { .audit-report__cats { grid-template-columns: repeat(4, 1fr); } }
.audit-cat { background: var(--ap-frost); border-radius: var(--r-card); padding: 14px 16px; }
.audit-cat__label { margin: 0 0 6px; font-size: .85rem; line-height: 1.3; color: var(--ap-slate); }
.audit-cat__val { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 1.45rem; line-height: 1.1; color: var(--ap-navy); }
.audit-cat__val--none { font-size: 1rem; font-weight: 600; }

.audit-report__note { margin: 16px 0 0; font-size: .95rem; line-height: 1.5; color: var(--ap-slate); }
.audit-report__h { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; color: var(--ap-navy); margin: 30px 0 12px; }

.audit-fixes { margin: 0; padding: 0; list-style: none; counter-reset: fix; }
.audit-fixes li { counter-increment: fix; position: relative; padding: 13px 0 13px 40px; border-top: 1px solid rgba(14,42,55,.1); }
.audit-fixes li::before { content: counter(fix); position: absolute; left: 0; top: 13px; width: 27px; height: 27px; border-radius: 50%; background: var(--ap-navy); color: #fff; font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.audit-fixes strong { display: block; color: var(--ap-navy); margin-bottom: 2px; }
.audit-fixes span { display: block; font-size: .95rem; line-height: 1.5; color: var(--ap-ink); }

.audit-group { border-top: 1px solid rgba(14,42,55,.1); }
.audit-group summary { cursor: pointer; padding: 13px 0; font-weight: 600; color: var(--ap-navy); }
.audit-checks { list-style: none; margin: 0; padding: 0 0 12px; }
.audit-checks li { display: flex; gap: 11px; padding: 8px 0; }
.audit-checks p { margin: 0; }
.audit-checks__name { font-size: .95rem; font-weight: 600; color: var(--ap-ink); }
.audit-checks__state { font-weight: 500; color: var(--ap-slate); }
.audit-checks__detail { font-size: .9rem; line-height: 1.45; color: var(--ap-slate); overflow-wrap: anywhere; }
.audit-flag { flex: none; width: 22px; height: 22px; margin-top: 1px; border-radius: 50%; color: #fff; font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.audit-flag--pass { background: #1B7A4B; }
.audit-flag--warn { background: #8F6200; }
.audit-flag--fail { background: #A4261C; }

.audit-report__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 26px; }
.audit-report__fine { margin: 18px 0 0; font-size: .82rem; line-height: 1.5; color: var(--ap-slate); }

/* Branded report */
.audit-report { --pad: clamp(22px, 4vw, 44px); padding: 0 var(--pad) var(--pad); overflow: hidden; }
.audit-report__band { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 34px; margin: 0 calc(-1 * var(--pad)) 28px; padding: clamp(20px, 3vw, 30px) var(--pad); background: var(--ap-navy-900, #0E2A37); }
.audit-report__logo { display: block; flex: none; width: 104px; height: auto; }
.audit-report__bandtext { flex: 1 1 240px; min-width: 0; }
.audit-report .audit-report__kicker { color: var(--ap-cyan); margin: 0 0 3px; }
.audit-report .audit-report__band h3 { color: #fff; margin: 0; }
.audit-report__date { margin: 3px 0 0; font-size: .88rem; color: #C9D6DD; }
.audit-report__head { gap: 18px 30px; }
.audit-ring { position: relative; flex: none; width: 136px; height: 136px; }
.audit-ring svg { display: block; width: 100%; height: 100%; transform: rotate(-90deg); }
.audit-ring circle { fill: none; stroke-width: 10; }
.audit-ring__bg { stroke: var(--ap-ash); }
.audit-ring__val { stroke: var(--ap-cyan); stroke-linecap: round; }
.audit-ring__label { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.audit-ring__num { font-family: var(--font-display); font-weight: 700; font-size: 2.7rem; line-height: 1; letter-spacing: -.02em; color: var(--ap-navy); }
.audit-ring__of { margin-top: 2px; font-size: .74rem; color: var(--ap-slate); }
.audit-report__gradelabel { margin: 0; font-size: .92rem; color: var(--ap-slate); }
.audit-report__grade { margin: 0 0 6px; font-family: var(--font-display); font-weight: 700; font-size: 3rem; line-height: 1.05; color: var(--ap-navy); }
.audit-logos { display: flex; align-items: center; gap: 7px; }
.audit-logos img { display: block; width: 22px; height: 22px; object-fit: contain; }
.audit-cat .audit-logos { margin-bottom: 11px; min-height: 22px; }
.audit-cat__note { margin: 6px 0 0; font-size: .78rem; line-height: 1.35; color: var(--ap-slate); }
.audit-group summary { display: flex; align-items: center; gap: 10px; list-style: none; }
.audit-group summary::-webkit-details-marker { display: none; }
.audit-group summary::after { content: "+"; flex: none; width: 18px; font-size: 1.2rem; line-height: 1; text-align: center; color: var(--ap-slate); }
.audit-group[open] summary::after { content: "\2212"; }
.audit-logos--small { gap: 4px; }
.audit-logos--small img { width: 17px; height: 17px; }
.audit-group__name { flex: 1 1 auto; min-width: 0; }
.audit-group__score { flex: none; font-weight: 700; color: var(--ap-navy); }
.audit-report__cta { margin-top: 26px; padding: 22px 24px; border-radius: var(--r-card); background: var(--ap-frost); }
.audit-report__cta-h { margin: 0 0 12px; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: var(--ap-navy); }
.audit-report__actions { margin-top: 0; }
.audit-report__phone { font-weight: 600; color: var(--ap-cyan-text); text-decoration: underline; text-underline-offset: 2px; }
