/* Public website pages (landing, state pages, topics, skills, teachers, about, legal). Mobile first; tap targets >= 44 px. */
.site-head .wrap { flex-wrap: wrap; row-gap: 4px; }
.head-cta { order: 2; margin-left: auto; min-height: 44px; padding: 6px 16px; }
.topnav { order: 3; width: 100%; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 0 -4px; padding: 0 4px 4px; }
.topnav::-webkit-scrollbar { display: none; }
.topnav a { flex: none; display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 999px; color: var(--text); text-decoration: none; font-weight: 600; background: var(--surface-2); }
.topnav a:hover { background: var(--brand-soft); }
@media (min-width: 820px) {
  .topnav { order: 2; width: auto; margin: 0 0 0 auto; padding: 0; overflow: visible; }
  .topnav a { background: none; padding: 0 10px; }
  .head-cta { order: 3; margin-left: 8px; }
}
main.wrap { padding-top: 22px; }
main:focus { outline: none; }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 680px; }
.ico { width: 28px; height: 28px; color: var(--brand); flex: none; }

/* Home hero: text + product preview */
.hero { display: grid; gap: 28px; align-items: center; padding: 8px 0 24px; }
.hero h1 { font-size: clamp(1.9rem, 6vw, 2.8rem); letter-spacing: -.01em; }
.eyebrow { display: inline-block; margin: 0 0 10px; padding: 4px 12px; border-radius: 999px; background: var(--brand-soft); color: var(--brand-text, var(--brand)); font-weight: 700; font-size: .9rem; }
.compare { font-weight: 600; margin-bottom: 4px; }
.state-go { display: flex; gap: 10px; max-width: 520px; margin: 14px 0 6px; flex-wrap: wrap; }
.state-go select { flex: 1 1 220px; }
.state-go .btn { flex: 1 1 auto; }
.trust { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 8px; color: var(--muted); }
.trust li { display: flex; gap: 8px; align-items: flex-start; }
.trust .ico { width: 20px; height: 20px; margin-top: 1px; }
.hero-visual { display: flex; justify-content: center; }
.phone { margin: 0; width: min(320px, 100%); border-radius: 36px; padding: 12px; background: #14211f; box-shadow: 0 18px 50px rgba(11, 122, 110, .25), 0 2px 8px rgba(0,0,0,.2); }
.phone-screen { background: var(--bg); border-radius: 26px; padding: 16px 14px 18px; font-size: .92rem; }
.phone-top { display: flex; justify-content: space-between; color: var(--muted); font-weight: 600; font-size: .8rem; margin-bottom: 10px; }
.phone-q { font-weight: 700; line-height: 1.35; margin-bottom: 10px; }
.phone-c { display: flex; align-items: center; gap: 10px; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 9px 10px; margin: 0 0 7px; line-height: 1.3; }
.phone-c b { flex: none; width: 24px; height: 24px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--surface-2); font-size: .8rem; }
.phone-c.ok { border-color: var(--good); background: var(--good-soft); }
.phone-c.ok b { background: var(--good); color: #fff; }
.phone-c .ico { width: 18px; height: 18px; margin-left: auto; color: var(--good); }
.phone-why { margin-top: 10px; padding: 10px 12px; border-radius: 12px; background: var(--brand-soft); font-size: .85rem; line-height: 1.4; }
@media (min-width: 900px) {
  .hero { grid-template-columns: 1.25fr 1fr; padding-top: 24px; }
}

/* Audience cards, features, tiles, chips */
.audiences { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin: 8px 0 28px; }
.aud { display: flex; flex-direction: column; }
.aud h2 { font-size: 1.15rem; margin-top: 8px; }
.aud p { flex: 1; color: var(--muted); }
.features { margin: 8px 0 24px; }
.features .card h3 { margin-top: 8px; }
.features .card p { color: var(--muted); margin: 0; }
.grid.tight { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
.tile { display: flex; flex-direction: column; gap: 4px; text-decoration: none; color: var(--text); min-height: 44px; }
.tile:hover { border-color: var(--brand); }
.tile b { color: var(--brand-text, var(--brand)); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; }
.chips a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); color: var(--text); text-decoration: none; }
.chips a:hover { border-color: var(--brand); color: var(--brand-text, var(--brand)); }
.card .chips { margin-bottom: 4px; }
section > h2 { margin-top: 8px; }

/* Lists of links: every link is a full-height tap target */
.links { list-style: none; padding: 0; margin: 0 0 12px; }
.links li { margin: 0; }
.links a { display: flex; align-items: center; min-height: 44px; }
.cols { columns: 2 260px; }
.cols.links li { break-inside: avoid; }

.crumbs { margin-bottom: 8px; color: var(--muted); }
.crumbs a { color: var(--muted); display: inline-flex; align-items: center; min-height: 44px; }
.facts th { width: 38%; color: var(--muted); font-weight: 600; }
.facts td a { display: inline-flex; align-items: center; min-height: 44px; }
.table-wrap { overflow-x: auto; }
.table-wrap td a { display: inline-flex; align-items: center; min-height: 44px; }
.answer { border-left: 4px solid var(--brand); }
.answer .steps { padding-left: 1.3em; margin: 0; }
.answer .steps li { margin: 0 0 8px; }

.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, .faq summary { cursor: pointer; color: var(--brand-text, var(--brand)); font-weight: 600; min-height: 44px; display: flex; align-items: center; }
.faq summary { color: var(--text); padding: 4px 0; border-bottom: 1px solid var(--border); }
.faq details[open] summary { border-bottom: 0; }
.faq details p { margin: 4px 0 12px; }
.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; }

.foot-links { display: flex; flex-wrap: wrap; gap: 0 18px; margin-bottom: 12px; }
.foot-links a { display: inline-flex; align-items: center; min-height: 44px; }
.site-foot p a { display: inline-block; padding: 12px 0; }
@media print {
  .site-head, .site-foot, form, #copy, .btn, .skip { display: none !important; }
  .card { border: 0; box-shadow: none; }
  body { background: #fff; color: #000; }
}
.tap { display: inline-flex; align-items: center; min-height: 44px; }
.pill.crit { background: transparent; color: var(--bad); border: 1.5px solid var(--bad); font-weight: 700; }
.gloss dl { margin: 0; } .gloss dt { font-weight: 700; margin-top: 12px; } .gloss dd { margin: 2px 0 0; }
