/* Shared look for the text pages (contact, privacy, terms) and the pages the email links open */
:root {
  --bg: #eef2f1; --surface: #ffffff; --ink: #13211d; --muted: #5a6b66; --line: #d5dedb;
  --accent: #c2410c; --accent-soft: rgba(194, 65, 12, .12); --on-accent: #ffffff;
  --font-display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --font-body: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --bg: #0e1513; --surface: #151f1c; --ink: #e4ece9; --muted: #92a39e; --line: #29372f; --accent: #ff8a50; --accent-soft: rgba(255, 138, 80, .16); --on-accent: #1a0c04; color-scheme: dark; }
}
:root[data-theme="dark"] { --bg: #0e1513; --surface: #151f1c; --ink: #e4ece9; --muted: #92a39e; --line: #29372f; --accent: #ff8a50; --accent-soft: rgba(255, 138, 80, .16); --on-accent: #1a0c04; color-scheme: dark; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 var(--font-body); padding: 0 max(16px, env(safe-area-inset-left, 0px)); }
.page { max-width: 720px; margin: 0 auto; padding: 28px 0 48px; }
.brand { font-family: var(--font-display); font-stretch: 125%; font-weight: 800; font-size: 26px; line-height: 1; margin: 0 0 28px; }
.brand a { color: inherit; text-decoration: none; }
.brand span { color: var(--accent); }
h1 { font-family: var(--font-display); font-stretch: 110%; font-size: clamp(26px, 5vw, 34px); line-height: 1.15; margin: 0 0 12px; text-wrap: balance; }
h2 { font-size: 18px; margin: 28px 0 6px; }
p, li { max-width: 68ch; }
a { color: var(--accent); }
.muted { color: var(--muted); }
.form { display: grid; gap: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 18px; margin-top: 20px; }
.field { display: grid; gap: 4px; }
.label { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
input, select, textarea { font: inherit; color: inherit; width: 100%; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); }
textarea { min-height: 150px; resize: vertical; }
.go { justify-self: start; height: 40px; padding: 0 18px; border: 0; border-radius: 8px; background: var(--accent); color: var(--on-accent); font: inherit; font-weight: 600; cursor: pointer; }
.go:disabled { opacity: .6; }
.formmsg { margin: 0; font-size: 14px; }
.formmsg.bad { color: var(--accent); }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.foot { margin-top: 40px; color: var(--muted); font-size: 13px; display: flex; gap: 14px; flex-wrap: wrap; }
.foot a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
/* Finger-sized targets on touch screens */
@media (pointer: coarse) { .go, input, select { min-height: 44px; } .foot a { padding: 10px 0; } }

/* Search pages: state, topic, provider and city course lists (built by scripts/build-seo.mjs) */
.page.wide { max-width: 860px; }
.crumbs { font-size: 13px; color: var(--muted); margin: -12px 0 14px; }
.crumbs a { color: inherit; }
.lede { font-size: 17px; margin: 0 0 16px; }
.lede b { color: var(--accent); }
.ctas { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 8px; }
.ctas .go { display: inline-flex; align-items: center; text-decoration: none; }
.ghost { display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border: 1px solid var(--accent); border-radius: 8px; color: var(--accent); font-weight: 600; text-decoration: none; }
.ghost:hover { background: var(--accent-soft); }
.month { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 26px 0 0; padding-bottom: 6px; border-bottom: 1px solid var(--line); }
.courses { list-style: none; margin: 0; padding: 0; }
.course { display: grid; gap: 2px; padding: 12px 0; border-bottom: 1px solid var(--line); max-width: none; }
.when { font-size: 13px; font-weight: 600; color: var(--accent); }
.ctitle { color: var(--ink); font-weight: 600; text-decoration: none; line-height: 1.35; }
.ctitle:hover { color: var(--accent); text-decoration: underline; }
.cmeta { font-size: 14px; color: var(--muted); display: flex; flex-wrap: wrap; align-items: center; gap: 2px 6px; }
.mk { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--mb); color: var(--mf); box-shadow: inset 0 0 0 1.5px var(--mr, transparent); font: 800 6.5px/1 var(--font-display); }
.tg { background: var(--line); color: var(--ink); border-radius: 999px; padding: 0 8px; font-size: 12px; }
.fine { font-size: 13px; color: var(--muted); margin-top: 20px; }
.links { list-style: none; padding: 0; margin: 8px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 4px 16px; }
.links li { max-width: none; }
.links .n { font-size: 12px; color: var(--muted); }
@media (pointer: coarse) { .links a, .crumbs a { display: inline-block; padding: 6px 0; } .ghost { min-height: 44px; } }
