:root{--navy:#14213d;--gold:#c9a227;--cream:#fbf9f4;--ink:#1f2937;--muted:#5b6472;--line:#e5e0d5;--green:#15803d;--amber:#b45309;--red:#b91c1c;--card:#ffffff}
*{box-sizing:border-box}
body{margin:0;font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;background:var(--cream);color:var(--ink);line-height:1.6}
a{color:#1d4ed8}
header.site{background:var(--navy);color:#fff}
header.site .wrap{max-width:1080px;margin:0 auto;padding:16px 20px;display:flex;flex-wrap:wrap;gap:12px;align-items:center;justify-content:space-between}
.brand{color:#fff;text-decoration:none;font-weight:800;font-size:1.25rem;letter-spacing:.2px}
.brand span{color:var(--gold)}
nav.main a{color:#e5e7eb;text-decoration:none;margin-left:16px;font-size:.95rem}
nav.main a:hover,nav.main a[aria-current="page"]{color:var(--gold);text-decoration:underline}
main.wrap,.wrap{max-width:1080px;margin:0 auto;padding:0 20px}
.hero{background:var(--navy);color:#fff;padding:44px 0 54px}
.hero h1{font-size:2.2rem;line-height:1.2;margin:0 0 12px}
.hero p{max-width:720px;color:#dbe2ef;margin:0 0 18px}
.btn{display:inline-block;background:var(--gold);color:#14213d;text-decoration:none;font-weight:700;padding:11px 18px;border-radius:8px;border:0;cursor:pointer}
.btn.secondary{background:#fff;color:var(--navy);border:1px solid var(--line)}
.btn:hover{filter:brightness(.96)}
section{padding:28px 0}
h1{font-size:2rem;line-height:1.25}
h2{font-size:1.45rem;margin-top:28px}
h3{font-size:1.1rem}
.lead{font-size:1.08rem;color:#334155}
.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.card{background:var(--card);border:1px solid var(--line);border-radius:12px;padding:18px}
.card h3{margin:0 0 8px}
.card p{color:var(--muted);margin:0 0 12px}
.badge{display:inline-block;font-size:.78rem;font-weight:700;padding:3px 9px;border-radius:999px;background:#dcfce7;color:#166534}
.badge.soon{background:#fef3c7;color:#92400e}
.card a.tool-link{font-weight:700;text-decoration:none}
.ad-slot{border:1px dashed #cbd5e1;background:#f8fafc;color:#64748b;text-align:center;padding:18px;border-radius:8px;margin:20px 0;font-size:.9rem}
.notice{background:#eff6ff;border:1px solid #bfdbfe;border-radius:10px;padding:14px 16px}
.warnbox{background:#fffbeb;border:1px solid #fde68a;border-radius:10px;padding:14px 16px}
.errorbox{background:#fef2f2;border:1px solid #fecaca;border-radius:10px;padding:14px 16px;display:none}
label{display:block;font-weight:600;margin:14px 0 6px}
input[type=url],input[type=text],input[type=number],textarea{width:100%;padding:11px 12px;border:1px solid #cbd5e1;border-radius:8px;font:inherit}
input[type=number]{max-width:220px}
textarea{min-height:180px;font-family:ui-monospace,Menlo,monospace;font-size:.9rem}
button.audit-btn{background:var(--navy);color:#fff;border:0;border-radius:8px;padding:12px 20px;font-weight:700;cursor:pointer;font-size:1rem}
button.audit-btn:hover{background:#1e3a5f}
.score{font-size:2.4rem;font-weight:800}
.score-bar{height:14px;background:#e5e7eb;border-radius:999px;overflow:hidden;margin:8px 0 18px}
.score-bar>div{height:100%;background:var(--gold)}
table.checks{width:100%;border-collapse:collapse;background:#fff}
table.checks th,table.checks td{border-bottom:1px solid var(--line);padding:10px 8px;text-align:left;vertical-align:top}
.pill{display:inline-block;padding:2px 9px;border-radius:999px;font-size:.8rem;font-weight:700}
.pill.pass{background:#dcfce7;color:#166534}
.pill.warn{background:#fef3c7;color:#92400e}
.pill.fail{background:#fee2e2;color:#991b1b}
.pill.info{background:#e0e7ff;color:#3730a3}
footer.site{background:var(--navy);color:#cbd5e1;margin-top:32px}
footer.site .wrap{padding:28px 20px}
footer.site a{color:#e5e7eb}
.small{font-size:.9rem;color:var(--muted)}
details{margin:10px 0;background:#fff;border:1px solid var(--line);border-radius:8px;padding:12px 14px}
summary{font-weight:700;cursor:pointer}
.progress{color:var(--muted);font-size:.95rem}
@media(max-width:820px){.grid{grid-template-columns:1fr 1fr}.hero h1{font-size:1.8rem}nav.main a{margin-left:10px}}
@media(max-width:560px){.grid{grid-template-columns:1fr}.hero{padding:32px 0}h1{font-size:1.7rem}}
