/* Public website pages (landing, state pages, topics, teachers, legal). */
.topnav { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.topnav a:not(.btn) { color: var(--text); text-decoration: none; font-weight: 600; }
.topnav .btn { min-height: 40px; padding: 6px 14px; }
@media (max-width: 560px) { .topnav a:not(.btn) { display: none; } }
main.wrap { padding-top: 22px; }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 680px; }
.hero-block { padding: 18px 0 8px; }
.hero-block h1 { font-size: clamp(1.8rem, 5vw, 2.6rem); }
.state-go { display: flex; gap: 10px; max-width: 520px; margin: 14px 0; }
.state-go select { flex: 1; }
.features { margin: 20px 0; }
.state-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 6px 14px; margin-bottom: 20px; }
.state-list a { padding: 6px 0; }
.crumbs { margin-bottom: 8px; color: var(--muted); }
.crumbs a { color: var(--muted); }
.facts th { width: 38%; color: var(--muted); font-weight: 600; }
.table-wrap { overflow-x: auto; }
.cols { columns: 2 260px; }
.sq { border-bottom: 1px solid var(--border); padding: 12px 0; }
.sq:last-of-type { border-bottom: 0; }
.sq-stem { margin-bottom: 6px; }
.sq-choices { margin: 0 0 6px; }
.sq details summary { cursor: pointer; color: var(--brand); font-weight: 600; }
.legal h1 { margin-top: 0; } .legal h2 { margin-top: 1.4em; }
.code { font-family: ui-monospace, Consolas, monospace; font-size: 1.3rem; letter-spacing: .1em; }
.qr { margin-top: 14px; max-width: 220px; }
.qr svg { width: 100%; height: auto; background: #fff; border-radius: 8px; }
.error { color: var(--bad); font-weight: 600; }
@media print {
  .site-head, .site-foot, form, #copy, .btn { display: none !important; }
  .card { border: 0; box-shadow: none; }
  body { background: #fff; color: #000; }
}
