:root{
  --bg:#faf9f6; --surface:#ffffff; --surface2:#f5f4f0;
  --ink:#1c1917; --muted:#6f6a63; --line:#e7e3dc;
  --brand:#65a30d; --brand2:#eab308;
  --radius:14px; --radius-sm:10px;
  color-scheme:light;
}
*{box-sizing:border-box}
body{
  margin:0; background:var(--bg); color:var(--ink);
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Inter,Roboto,"Helvetica Neue",Arial,sans-serif;
  line-height:1.55; -webkit-font-smoothing:antialiased;
}
a{color:var(--brand)}
.topbar{
  display:flex; align-items:baseline; gap:14px;
  max-width:860px; margin:0 auto; padding:20px 20px 0;
}
.brand{font-weight:800; font-size:1.15rem; color:var(--ink); text-decoration:none}
.tool-name{color:var(--muted); font-size:.95rem}
.wrap{max-width:860px; margin:0 auto; padding:10px 20px 48px}
h1{font-size:1.9rem; line-height:1.2; margin:14px 0 8px}
h2{font-size:1.15rem; margin:0 0 10px}
.lede{color:var(--muted); margin:0 0 22px; max-width:64ch}
.card{
  background:var(--surface); border:1px solid var(--line); border-radius:var(--radius);
  padding:22px; margin-bottom:18px;
  box-shadow:0 1px 2px rgba(28,25,23,.04),0 12px 32px -12px rgba(28,25,23,.12);
}
.field{margin-bottom:16px}
.field label{display:block; font-weight:600; margin-bottom:6px}
.field input[type="text"], .field select, .modal-card input[type="email"]{
  width:100%; padding:11px 12px; border:1px solid var(--line); border-radius:var(--radius-sm);
  font:inherit; background:var(--surface); color:var(--ink);
}
.field input[type="text"]{margin-bottom:8px}
.checks .check{display:flex; gap:10px; align-items:flex-start; font-weight:400; margin-bottom:10px; cursor:pointer}
.checks .check input{margin-top:4px; width:17px; height:17px; accent-color:var(--brand)}
.btn{
  display:inline-block; border:0; cursor:pointer; font:inherit; font-weight:600;
  padding:12px 22px; border-radius:var(--radius-sm); text-decoration:none;
}
.btn-primary{background:linear-gradient(135deg,var(--brand),var(--brand2)); color:#fff}
.btn-primary:hover{filter:brightness(1.05)}
.btn-ghost{background:transparent; color:var(--muted); padding:8px 10px}
.runs-note{color:var(--muted); font-size:.9rem; margin:12px 0 0; min-height:1.2em}
.hidden{display:none !important}
.verdict{border-radius:var(--radius-sm); padding:16px 18px; margin-bottom:14px; border:1px solid var(--line)}
.verdict h3{margin:0 0 4px; font-size:1.25rem}
.verdict-required{background:#fdf1f0; border-color:#f3c6c2}
.verdict-required h3{color:#b42318}
.verdict-ok{background:#f2f9e9; border-color:#cfe6b8}
.verdict-ok h3{color:#3f7a06}
.verdict-conditional{background:#fdf6e0; border-color:#efdda0}
.verdict-conditional h3{color:#8a6d00}
.verdict-uncovered{background:var(--surface2)}
.verdict-uncovered h3{color:var(--muted)}
.setup-line{color:var(--muted); margin:0 0 10px; font-size:.95rem}
.conditions{margin:8px 0 0; padding-left:20px}
.conditions li{margin-bottom:6px}
.summary-block h4, .source-block h4{margin:14px 0 4px; font-size:.95rem; text-transform:uppercase; letter-spacing:.04em; color:var(--muted)}
.summary-block p{margin:0}
.disclaimer{margin-top:14px; font-weight:600}
.example .example-setup{margin-top:0}
.example-note, .fineprint, .footer-note{color:var(--muted); font-size:.92rem}
.steps{padding-left:20px; margin:0 0 10px}
.steps li{margin-bottom:6px}
.modal{
  position:fixed; inset:0; background:rgba(28,25,23,.55);
  display:flex; align-items:center; justify-content:center; padding:18px; z-index:50;
}
.modal-card{
  background:var(--surface); border-radius:var(--radius); padding:24px; max-width:440px; width:100%;
  box-shadow:0 24px 60px -12px rgba(28,25,23,.35);
}
.modal-card form{display:flex; flex-direction:column; gap:10px; margin-top:12px}
.modal-status{color:var(--muted); min-height:1.2em; font-size:.92rem}
@media (max-width:560px){
  h1{font-size:1.5rem}
  .card{padding:16px}
}
