/* Online Presence Checker: Opus Web Design colours (as Report Studio) and Poppins. */
:root {
  --navy: #0E3B6B; --blue: #1878D0; --link: #1466B3; --orange: #F5923E; --ink: #20344A; --muted: #5B7189;
  --line: #DCE7F2; --field: #F3F6FA; --track: #E3ECF5; --radius: 20px;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--field); color: var(--ink); font: 15px/1.6 Poppins, Arial, sans-serif; }
a { color: var(--link); } a:hover { color: var(--navy); }
button, input, textarea { font: inherit; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
[hidden] { display: none !important; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.stack { display: flex; flex-direction: column; gap: 24px; }

/* Site header */
.site-head { padding: 16px 24px; }
.site-head .head-bar { max-width: 1120px; margin: 0 auto; background: #fff; border-radius: 999px; box-shadow: 0 2px 14px rgba(14, 59, 107, .08); padding: 10px 14px 10px 18px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 38px; height: 38px; border-radius: 50%; }
.brand .name { font-size: 19px; font-weight: 500; color: var(--link); }
.brand .tool { font-size: 13px; font-weight: 500; color: var(--muted); border-left: 1px solid var(--line); padding-left: 10px; }

/* Buttons and cards */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px; border-radius: 999px; border: none; font-weight: 600; font-size: 14px; cursor: pointer; text-decoration: none; }
.btn-blue { background: var(--blue); color: #fff; } .btn-blue:hover { color: #fff; background: #1466B3; }
.btn-orange { background: var(--orange); color: var(--ink); } .btn-orange:hover { color: var(--ink); background: #F08A2E; }
.btn-line { background: #fff; color: var(--link); border: 1px solid #C9DCEF; }
.btn-ghost { background: transparent; color: #fff; border: 2px solid #fff; }
.btn[disabled] { opacity: .6; cursor: default; }
.card { background: #fff; border-radius: var(--radius); padding: 28px 32px; }
.card h2 { margin: 0 0 8px; font-size: 20px; color: var(--navy); }
.lead { margin: 0 0 16px; color: var(--muted); font-size: 14px; }
.muted { color: var(--muted); }
@media (max-width: 600px) { .card { padding: 22px 18px; } .wrap { padding: 0 14px; } }

/* Search page */
.hero { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 40px 32px; box-shadow: 0 10px 30px rgba(14, 59, 107, .25); }
.hero .eyebrow { margin: 0 0 6px; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--orange); }
.hero h1 { margin: 0 0 10px; font-size: 36px; line-height: 1.2; }
.hero p { margin: 0 0 22px; color: #DCE7F2; max-width: 640px; }
.search { position: relative; max-width: 640px; }
.search label { display: block; font-weight: 600; margin-bottom: 6px; }
.search-row { display: flex; gap: 10px; flex-wrap: wrap; }
.search input { flex: 1 1 240px; min-width: 0; box-sizing: border-box; min-height: 52px; padding: 0 16px; border-radius: 14px; border: 2px solid transparent; font-size: 16px; color: var(--ink); }
.search input:focus { border-color: var(--orange); outline: none; }
.suggestions { position: absolute; z-index: 5; left: 0; right: 0; top: calc(100% + 6px); margin: 0; padding: 6px; list-style: none; background: #fff; border-radius: 14px; box-shadow: 0 10px 30px rgba(14, 59, 107, .25); color: var(--ink); max-height: min(55vh, 360px); overflow-y: auto; }
.suggestions li { padding: 10px 12px; border-radius: 10px; cursor: pointer; }
.suggestions li[aria-selected="true"], .suggestions li:hover { background: var(--field); }
.suggestions .detail { display: block; font-size: 13px; color: var(--muted); }
.alt { margin-top: 14px; font-size: 14px; }
.alt button { background: none; border: none; color: #fff; text-decoration: underline; cursor: pointer; padding: 10px 0; min-height: 44px; }
.error, .hero p.error { margin: 10px 0 0; padding: 10px 14px; border-radius: 10px; background: #FBE9E7; color: #9E2A1C; font-size: 14px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.steps li { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 12px; background: var(--field); }
.steps .dot { width: 22px; height: 22px; border-radius: 50%; flex: none; border: 3px solid var(--track); border-top-color: var(--blue); animation: spin 1s linear infinite; }
.steps li.done .dot { animation: none; border: none; background: #1E7B4C; }
.steps li.skipped .dot, .steps li.timeout .dot, .steps li.error .dot { animation: none; border: none; background: #8A9BB0; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .steps .dot { animation: none; } * { transition: none !important; } }
.what { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.what div { background: var(--field); border-radius: 14px; padding: 14px 16px; font-size: 14px; }
.what strong { display: block; color: var(--navy); }

/* Report header */
.report-hero { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 32px; display: flex; flex-wrap: wrap; gap: 28px; align-items: center; justify-content: space-between; box-shadow: 0 10px 30px rgba(14, 59, 107, .25); }
.report-hero .eyebrow { margin: 0 0 6px; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--orange); }
.report-hero h1 { margin: 0 0 10px; font-size: 34px; line-height: 1.2; }
.report-hero .meta { margin: 0; display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 14px; color: #DCE7F2; }
.report-hero a { color: #fff; font-weight: 600; }
.score-box { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.disc { width: 148px; height: 148px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; flex: none; box-shadow: 0 4px 18px rgba(14, 59, 107, .18); }
.ring { border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.ring > span { border-radius: 50%; background: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--navy); font-weight: 700; line-height: 1; }
.ring.big { width: 128px; height: 128px; } .ring.big > span { width: 102px; height: 102px; font-size: 38px; }
.ring.big small { font-size: 12px; font-weight: 400; color: var(--muted); margin-top: 4px; }
.ring.small { width: 60px; height: 60px; } .ring.small > span { width: 46px; height: 46px; font-size: 17px; }
.band { margin: 0; font-size: 20px; font-weight: 700; }
.partial { flex: 1 1 100%; background: #fff; color: var(--ink); border-radius: 12px; padding: 14px 18px; font-size: 14px; }
.partial p { margin: 0; }

/* Priorities, tiles, areas, findings */
.priorities { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.priorities li { display: flex; gap: 14px; align-items: flex-start; background: var(--field); border-radius: 14px; padding: 14px 16px; }
.priorities .n { flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--orange); color: var(--ink); font-weight: 700; display: flex; align-items: center; justify-content: center; }
.priorities p { margin: 0; overflow-wrap: anywhere; }
.priorities a { flex: none; align-self: center; font-weight: 600; font-size: 14px; padding: 10px 4px; }
.tiles { display: flex; flex-wrap: wrap; gap: 12px; }
.tile { flex: 1 1 240px; background: #fff; border-radius: 16px; padding: 16px 18px; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; gap: 8px; }
.tile .row { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font-weight: 600; }
.tile .row b { font-size: 20px; color: var(--navy); }
.bar { display: block; height: 8px; border-radius: 99px; background: var(--track); overflow: hidden; }
.bar span { display: block; height: 8px; border-radius: 99px; }
.areas-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 16px; }
.areas-head h2 { margin: 0; font-size: 20px; color: var(--navy); }
.areas { display: grid; gap: 12px; }
.area { background: #fff; border-radius: var(--radius); overflow: hidden; scroll-margin-top: 16px; }
.area h3 { margin: 0; }
.area-toggle { width: 100%; min-height: 88px; display: flex; align-items: center; gap: 16px; padding: 14px 24px; border: none; background: #fff; cursor: pointer; text-align: left; font-size: 19px; font-weight: 600; color: var(--navy); }
.area-toggle .label { flex: 1 1 auto; min-width: 0; }
.chev { flex: none; color: var(--link); transition: transform .2s; }
[aria-expanded="true"] > .chev, [aria-expanded="true"] .chev { transform: rotate(180deg); }
.area-body { padding: 0 24px 24px; }
.area-body[hidden] { display: none; }
.area-intro { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 24px; margin-bottom: 14px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.area-intro p { margin: 0; }
.findings { display: grid; gap: 12px; }
.finding { border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; scroll-margin-top: 16px; }
.finding .top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-bottom: 6px; }
.finding h4 { margin: 0; font-size: 16px; }
.finding p { margin: 0 0 4px; overflow-wrap: anywhere; }
.finding .why { font-size: 14px; color: var(--muted); }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; }
.chip.fail { background: #FBE9E7; color: #9E2A1C; } .chip.improve { background: #FFF1DC; color: #7A4300; }
.chip.unknown { background: #EEF1F5; color: #44546A; } .chip.info { background: #E7F1FB; color: var(--navy); } .chip.pass { background: #E3F3E8; color: #1B6136; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 20px; margin-top: 10px; font-size: 14px; }
.actions a, .actions button { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; }
.actions .learn { font-weight: 600; }
.linkish { background: none; border: none; padding: 0; color: var(--link); cursor: pointer; font-size: 14px; }
.linkish span { text-decoration: underline; }
.actions .wrong { margin-left: auto; font-size: 13px; color: var(--muted); }
.evidence { margin: 8px 0 0; background: var(--field); border-radius: 10px; padding: 12px 14px; font-size: 13px; display: grid; grid-template-columns: minmax(110px, max-content) minmax(0, 1fr); gap: 4px 14px; }
.evidence dt { color: var(--muted); } .evidence dd { margin: 0; overflow-wrap: anywhere; font: 12px/1.5 ui-monospace, Consolas, monospace; }
.passes { list-style: none; margin: 10px 0 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; }
.passes li { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; padding: 8px 12px; border-radius: 10px; background: var(--field); font-size: 14px; }
.passes .t { font-weight: 600; } .passes .f { color: var(--muted); flex: 1 1 260px; min-width: 0; overflow-wrap: anywhere; }
.ads { display: flex; flex-wrap: wrap; gap: 8px; }
.ads span { display: inline-flex; gap: 8px; padding: 8px 14px; border-radius: 12px; font-size: 14px; background: var(--field); color: var(--muted); }
.ads span.on { background: #E7F1FB; color: var(--navy); }
.ads-note { margin: 14px 0 0; font-size: 14px; }

/* Share panel */
.share { background: #fff; border-radius: var(--radius); box-shadow: 0 8px 30px rgba(14, 59, 107, .14); padding: 24px 28px; display: flex; flex-wrap: wrap; gap: 24px 40px; }
.share[hidden] { display: none; }
.share .col { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.share .col.form { flex-basis: 380px; background: var(--field); border-radius: 16px; padding: 20px 22px; }
.share h2 { margin: 0; font-size: 20px; color: var(--navy); } .share h3 { margin: 0; font-size: 17px; color: var(--navy); }
.linkbox { flex: 1 1 220px; min-width: 0; padding: 10px 12px; border: 1px solid #C9DCEF; border-radius: 10px; background: var(--field); font-size: 13px; overflow-wrap: anywhere; }
.field { display: flex; flex-direction: column; gap: 4px; }
.field label { font-size: 13px; font-weight: 600; }
.field input, .field textarea { min-height: 44px; padding: 10px 12px; border: 1px solid #C9DCEF; border-radius: 10px; width: 100%; font-size: 15px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; }
.consent input { width: 20px; height: 20px; margin-top: 2px; flex: none; }
.close { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; }

/* Footer */
.site-foot { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 28px 32px; display: flex; flex-direction: column; gap: 14px; font-size: 14px; }
.site-foot h2 { margin: 6px 0 0; font-size: 17px; }
.site-foot p { margin: 0; }
.site-foot a { color: #fff; }
.legal { display: flex; flex-wrap: wrap; align-items: center; gap: 0 18px; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, .25); font-size: 13px; }
.legal a { display: inline-flex; align-items: center; min-height: 44px; }
.company { font-size: 12px; color: #DCE7F2; }
.legal-page { max-width: 760px; line-height: 1.7; }
.legal-page h1 { margin: 0 0 4px; font-size: 28px; color: var(--navy); }
.legal-page h2 { margin: 24px 0 6px; font-size: 18px; color: var(--navy); }
.legal-page p, .legal-page li { font-size: 15px; }
.legal-page .eyebrow { margin: 0 0 4px; font-size: 13px; font-weight: 600; color: var(--blue); text-transform: uppercase; letter-spacing: .04em; }
.draft-note { margin: 0 0 16px; padding: 10px 14px; border-radius: 10px; background: #FFF1DC; color: #7A4300; font-size: 14px; }
.legal a[aria-current="page"] { font-weight: 600; text-decoration: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.recheck-note { margin: 0; padding: 10px 14px; border-radius: 10px; background: rgba(255, 255, 255, .12); }
@media (max-width: 600px) { .site-head { padding: 12px 14px; } .site-head .head-bar { flex-wrap: nowrap; padding: 8px 8px 8px 12px; } .brand .tool { display: none; } .brand .name { font-size: 17px; white-space: nowrap; } .site-head .head-bar .btn { padding-left: 16px; padding-right: 16px; white-space: nowrap; } }
@media (max-width: 600px) { .hide-sm { display: none; } }
.legal .linkish { color: #fff; font-size: 13px; min-height: 44px; text-decoration: underline; }
.cookie-banner { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; padding: 12px; }
.cookie-banner .inner { max-width: 880px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; background: #fff; color: var(--ink); border-radius: 18px; padding: 16px 20px; box-shadow: 0 6px 30px rgba(14, 59, 107, .25); border: 1px solid var(--line); }
.cookie-banner p { margin: 0; flex: 1 1 380px; font-size: 14px; line-height: 1.6; }
.cookie-banner .choices { display: flex; flex-wrap: wrap; gap: 10px; }
.human-check:empty { display: none; }
.human-check { margin: 4px 0; }
.site-foot .newsletter { font-weight: 600; }
/* Business search: the suggestions sit directly under the box, over the button, so they stay visible above a phone keyboard. */
.combo { position: relative; flex: 1 1 240px; min-width: 0; display: flex; }
.combo input { flex: 1 1 auto; width: 100%; }
#by-name, #by-site { scroll-margin-top: 12px; }

/* Check buttons: a tip says what's needed while the button isn't ready (hover, keyboard focus or a tap). */
.go-wrap { position: relative; display: flex; flex: 0 0 auto; }
.go-wrap .btn { min-height: 52px; }
.btn[aria-disabled="true"] { opacity: .6; cursor: not-allowed; }
.tip { position: absolute; z-index: 6; right: 0; bottom: calc(100% + 10px); width: max-content; max-width: min(280px, 80vw); padding: 10px 12px; border-radius: 10px; background: #fff; color: var(--ink); font-size: 13px; line-height: 1.45; font-weight: 500; box-shadow: 0 10px 30px rgba(14, 59, 107, .3); opacity: 0; visibility: hidden; transform: translateY(4px); transition: opacity .15s, transform .15s, visibility .15s; pointer-events: none; }
.tip::after { content: ""; position: absolute; right: 28px; top: 100%; border: 7px solid transparent; border-top-color: #fff; }
.go-wrap:hover .btn[aria-disabled="true"] + .tip, .btn[aria-disabled="true"]:focus-visible + .tip, .go-wrap.show-tip .btn[aria-disabled="true"] + .tip { opacity: 1; visibility: visible; transform: none; }
/* On a phone the button sits under the box, so the tip opens below the button and never covers what they're typing. */
@media (max-width: 520px) {
  .go-wrap, .go-wrap .btn { flex: 1 1 100%; width: 100%; }
  .tip { left: 0; right: 0; top: calc(100% + 10px); bottom: auto; max-width: none; width: auto; transform: translateY(-4px); }
  .tip::after { right: 50%; margin-right: -7px; top: auto; bottom: 100%; border-top-color: transparent; border-bottom-color: #fff; }
}

/* Overall progress bar at the top of the progress card; it stays in view while the list scrolls. */
.overall { position: sticky; top: 0; z-index: 2; background: #fff; padding: 10px 0 12px; margin: 4px 0 6px; }
.bar { height: 12px; border-radius: 999px; background: var(--track); overflow: hidden; }
.bar span { display: block; height: 100%; width: 0; border-radius: 999px; background: linear-gradient(90deg, var(--blue), var(--orange)); transition: width .3s ease-out; }
.bar.failed span { background: #8A9BB0; }
.bar-text { display: flex; align-items: baseline; gap: 10px; margin: 6px 0 0; font-size: 14px; color: var(--muted); }
.bar-text strong { color: var(--navy); font-size: 16px; min-width: 3ch; }

/* Help articles (/articles) */
.article-page h3 { margin: 24px 0 6px; font-size: 18px; color: var(--navy); }
.article-page code { background: var(--field); padding: 1px 5px; border-radius: 4px; font-size: 14px; }
.article-cta { margin-top: 16px; }
.article-cta .form { display: flex; flex-direction: column; gap: 12px; background: var(--field); border-radius: 16px; padding: 20px 22px; max-width: 520px; }
.article-cta .form h3 { margin: 0; }
.article-sources { margin-top: 32px; border-top: 1px solid #DCE7F2; padding-top: 8px; }
.article-sources h2 { font-size: 15px; }
.article-sources li { font-size: 13px; line-height: 1.6; }
.article-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.article-list li { display: flex; flex-direction: column; gap: 2px; }
.article-list a { font-weight: 600; }
.article-list span { font-size: 14px; color: #4A5A6A; }

/* 0.4.0: what's changed, how you compare, what AI assistants said, staff note */
.change-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin-top: 10px; }
.change-cols > div { background: var(--field); border-radius: 14px; padding: 14px 16px; }
.change-cols h3 { margin: 0 0 6px; font-size: 15px; color: var(--navy); }
.change-cols .fixed h3 { color: #1E7B4C; }
.change-cols .slipped h3 { color: #B83227; }
.change-cols ul { margin: 0; padding-left: 18px; font-size: 14px; }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; }
.table-scroll:focus-visible { outline: 3px solid var(--orange); }
table.compare { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 720px; }
table.compare th, table.compare td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
table.compare thead th { background: var(--navy); color: #fff; font-weight: 600; font-size: 13px; }
table.compare tbody th { font-weight: 600; color: var(--ink); position: sticky; left: 0; background: #fff; min-width: 140px; }
table.compare td { white-space: nowrap; }
table.compare tr:last-child th, table.compare tr:last-child td { border-bottom: 0; }
table.compare tr.you th, table.compare tr.you td { background: #EAF3FC; }
.you-pill { display: inline-block; font-size: 11px; font-weight: 700; color: #fff; background: var(--blue); border-radius: 999px; padding: 1px 8px; vertical-align: 1px; }
.ai-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; }
.ai-col { background: var(--field); border-radius: 14px; padding: 14px 16px; }
.ai-col h3 { margin: 0 0 6px; font-size: 16px; color: var(--navy); }
.ai-col ol { margin: 0; padding-left: 22px; font-size: 14px; }
.ai-col li { margin: 0 0 8px; overflow-wrap: anywhere; }
.ai-col li.you strong { color: var(--navy); }
.ai-col .src { font-size: 13px; display: inline-block; padding: 4px 0; }
.staff-note { margin: 10px 0 0; font-size: 13px; color: #DCE7F2; }
.staff-note a { color: #fff; }
