/* Site-specific rules added during the move off GoDaddy. Add your own CSS here. */

/* Text blocks that keep line breaks typed into the content (was inline white-space:pre-line) */
.pre-line { white-space: pre-line; }

/* Mobile menu: toggled by assets/js/site.js */
#menu-toggle .icon-close { display: none; }
#menu-toggle[aria-expanded="true"] .icon-open { display: none; }
#menu-toggle[aria-expanded="true"] .icon-close { display: inline; }
#mobile-nav[hidden] { display: none; }

/* FAQ accordions (How It Works page) use native <details>/<summary>, no JS needed */
details > summary { list-style: none; cursor: pointer; }
details > summary::-webkit-details-marker { display: none; }
details > summary svg { transition: transform .2s; }
details[open] > summary svg { transform: rotate(180deg); }

/* Privacy policy text */
.policy { color: hsl(var(--foreground)); line-height: 1.75; }
.policy h2 { font-size: 1.5rem; font-weight: 700; color: hsl(var(--primary)); margin: 2.5rem 0 1rem; }
.policy p { margin: 0 0 1rem; color: hsl(var(--muted-foreground)); }
.policy ul { list-style: disc; padding-left: 1.5rem; margin: 0 0 1rem; color: hsl(var(--muted-foreground)); }
.policy li { margin-bottom: .5rem; }
.policy strong { color: hsl(var(--foreground)); }
.policy a { color: hsl(var(--accent)); text-decoration: underline; }

/* Home stats row: center the three stats on all screen sizes */
.stats-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 2rem 4rem; }
.stats-row > div { flex: 0 0 auto; min-width: 10rem; }
.stats-row > div > div:first-child { white-space: nowrap; }
@media (min-width: 768px) { .stats-row { gap: 2rem 6rem; } }

/* Light blue for small text on the navy background (6.3:1 on --primary, passes WCAG AA) */
:root { --accent-on-dark: 213 94% 78%; }

/* Keep "K-12" together on one line */
.nowrap { white-space: nowrap; }

/* Logo: tightly cropped artwork in a rounded white badge on the navy header/footer */
.site-logo { display: block; width: auto; height: 52px; max-width: 100%; background: #fff; border-radius: 10px; padding: 6px 12px; box-sizing: content-box; object-fit: contain; }
@media (min-width: 768px) { .site-logo { height: 60px; } }
.site-logo--footer { height: 40px; padding: 5px 10px; border-radius: 8px; }
@media (min-width: 768px) { .site-logo--footer { height: 40px; } }

/* Quote form checkbox / radio groups */
.choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; }
@media (min-width: 640px) { .choice-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.choice { display: flex; align-items: center; gap: .5rem; padding: .6rem .75rem; border: 1px solid hsl(var(--border)); border-radius: .375rem; background: hsl(var(--background)); color: hsl(var(--foreground)); font-size: .875rem; cursor: pointer; line-height: 1.3; }
.choice:hover { border-color: hsl(var(--accent)); }
.choice input { width: 1rem; height: 1rem; flex: 0 0 auto; accent-color: hsl(var(--accent)); margin: 0; }
.choice:has(input:checked) { border-color: hsl(var(--accent)); background: hsl(var(--accent) / .06); }
.choice:has(input:focus-visible) { outline: 2px solid hsl(var(--accent)); outline-offset: 2px; }
fieldset fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
