:root {
  color-scheme: light;
  --ink: #1b2638;
  --muted: #55647a;
  --line: #dce4ef;
  --paper: #fff;
  --surface: #f4f7fc;
  --blue: #233ec6;
  --night: #172457;
  --mint: #cbf0d4;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--surface); color: var(--ink); font: 16px/1.55 system-ui, sans-serif; }
a { color: var(--blue); text-underline-offset: .2em; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
.shell { width: min(1160px, calc(100% - 48px)); margin-inline: auto; }
.top { background: var(--paper); border-bottom: 1px solid var(--line); }
.nav, .foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-block: 16px; }
.nav nav, .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.nav a, .link, .foot a { text-decoration: none; color: var(--ink); }
.nav a:hover, .link:hover, .foot a:hover { text-decoration: underline; }
.brand { display: inline-flex; align-items: center; gap: 7px; font-weight: 800; letter-spacing: -.055em; font-size: 26px; }
.mark { display: inline-grid; place-content: center; border-radius: 9px; width: 34px; height: 34px; color: white; background: var(--blue); font-size: 19px; }
.subbrand { font-weight: 500; color: var(--muted); }
.link { background: transparent; padding: 0; border: 0; }
main { min-height: 72vh; padding-block: 28px 48px; }
.hero { display: grid; grid-template-columns: 1.35fr 1fr; align-items: center; gap: clamp(22px,5vw,72px); padding: clamp(24px,5vw,68px); border-radius: 28px; background: var(--night); color: white; }
.eyebrow { font-size: .78rem; font-weight: 750; text-transform: uppercase; letter-spacing: .12em; display: flex; align-items: center; gap: 8px; }
.eyebrow span { background: #6fd294; border-radius: 50%; width: 8px; height: 8px; }
h1, h2, p { margin-block: 0 14px; }
h1 { font-size: clamp(2rem,4.8vw,4.5rem); line-height: 1.02; letter-spacing: -.065em; overflow-wrap: anywhere; }
h2 { font-size: 1.35rem; letter-spacing: -.035em; line-height: 1.2; }
.hero h1, .page-head h1 { margin-top: 12px; }
.hero p { color: #e0e7ff; max-width: 48ch; }
.audit-form { display: flex; gap: 8px; margin-top: 24px; max-width: 650px; align-items: stretch; }
input, textarea { width: 100%; min-width: 0; background: white; color: var(--ink); border: 1px solid #adb9cc; padding: 11px 12px; border-radius: 8px; }
textarea { min-height: 100px; resize: vertical; }
label { display: grid; gap: 4px; margin-bottom: 15px; font-weight: 600; }
button, .button { display: inline-block; border-radius: 8px; border: 1px solid transparent; padding: 10px 15px; font-weight: 720; text-decoration: none; }
.primary { background: var(--blue); color: white; white-space: nowrap; }
.hero .primary { background: var(--mint); color: #123220; }
.secondary { color: var(--ink); background: var(--paper); border-color: #b5c2d4; }
.danger { color: #9b2530; }
:focus-visible { outline: 3px solid #6179ee; outline-offset: 3px; }
.board { min-width: 0; border: 1px solid #6573a5; border-radius: 17px; background: #223166; padding: 18px; }
.board-head, .board-row { display: flex; align-items: center; gap: 12px; }
.board-head { justify-content: space-between; padding-bottom: 12px; font-weight: 700; }
.board-row { border-top: 1px solid #52608d; padding: 12px 0; }
.board-row small, .report-row small { display: block; }
.board small { color: #d9e1ff; }
.lower, .page-head { padding-block: 34px 20px; }
.card, .metrics > div { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: clamp(16px,3vw,26px); min-width: 0; }
.auth { max-width: 480px; margin: 24px auto; }
.auth h1 { font-size: 2.4rem; margin-bottom: 20px; }
.auth p { margin-top: 14px; }
.workspace { display: grid; grid-template-columns: minmax(180px, 1fr) minmax(0,3fr); align-items: start; gap: 16px; }
.site, .report-row { padding: 10px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 12px; text-decoration: none; color: var(--ink); overflow-wrap: anywhere; }
.report-row small, .muted, .url { color: var(--muted); overflow-wrap: anywhere; }
.site:hover, .report-row:hover { color: var(--blue); }
.report-row b { flex-shrink: 0; }
.metrics, .utilities { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit,minmax(min(150px, 100%),1fr)); margin-bottom: 14px; }
.utilities { grid-template-columns: repeat(auto-fit,minmax(min(260px, 100%),1fr)); }
.metrics strong { display: block; color: var(--night); font-size: 2rem; line-height: 1.2; }
.metrics sub { font-size: .95rem; vertical-align: baseline; }
.checks { margin-bottom: 14px; }
details { border-top: 1px solid var(--line); }
summary { padding: 9px 0; cursor: pointer; }
summary b { float: right; padding-inline: 8px; border-radius: 20px; font-size: .82rem; }
details div { padding: 0 12px; overflow-wrap: anywhere; }
.pass { background: #d9f4e0; color: #14512d; }
.review { background: #fff0d3; color: #72470a; }
.alert { background: #ffebdf; color: #742e17; border-radius: 10px; padding: 12px 16px; }
.preview { background: var(--surface); padding: 10px; border-radius: 8px; overflow-wrap: anywhere; }
.preview strong { color: var(--blue); }
.foot { border-top: 1px solid var(--line); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
@media (max-width: 700px) { .hero, .workspace { grid-template-columns: 1fr; } .shell { width: calc(100% - 24px); } }
@media (max-width: 420px) { .audit-form { flex-direction: column; } .nav nav { gap: 9px; } }
@media print { .top, .foot, .actions, form, .page-head a { display: none; } body, .card { background: white; } .shell { width: 100%; } details { break-inside: avoid; } }

.audit-form:has(.captcha-widget) { flex-wrap: wrap; }
.audit-form:has(.captcha-widget) > input[name="url"] { flex: 1 1 210px; }
.captcha-widget { margin-block: 10px; max-width: 100%; }
.audit-form .captcha-widget { flex-basis: 100%; order: 1; }

.advertisement { margin-block: 24px; }
.advertisement iframe { display: block; width: 100%; height: 150px; border: 0; }
@media print { .advertisement { display: none; } }

.announcement {
  padding: 12px 18px;
  margin: 16px 0;
  border: 1px solid currentColor;
  border-radius: 8px;
  overflow-wrap: anywhere;
}
.announcement > :first-child { margin-top: 0; }
.announcement > :last-child { margin-bottom: 0; }
.announcement a { color: inherit; text-decoration: underline; }
.announcement-primary { background: #ebefff; color: #253787; }
.announcement-secondary { background: #f1f3f6; color: #354157; }
.announcement-success { background: #e7f6ee; color: #17603c; }
.announcement-danger { background: #fcebed; color: #8d2d3a; }
.announcement-warning { background: #fff4da; color: #734d16; }
.announcement-info { background: #e6f5fb; color: #20546b; }
.announcement-inverse { background: #202632; color: #f4f6fa; }
@media print { .announcement { display: none; } }
