/* Dial & Listen: plain, high-contrast, large text. WCAG 2.2 AA target.
   No web fonts, no images needed, no JavaScript. */
:root {
  --text: #1a1a1a;
  --bg: #ffffff;
  --muted-bg: #f2f4f7;
  --brand: #0b3d6e;        /* 10.9:1 on white */
  --brand-text: #ffffff;
  --link: #0b4f9c;         /* 7.4:1 on white */
  --link-visited: #5a2a82; /* 9.2:1 on white */
  --focus: #ffbf47;
  --border: #5c6670;       /* 5.9:1 on white: visible boundaries */
  --todo-bg: #fff3b0;
}
@media (prefers-color-scheme: dark) {
  :root {
    --text: #f2f2f2;
    --bg: #121417;
    --muted-bg: #1e2228;
    --brand: #0b3d6e;
    --link: #8cc4ff;
    --link-visited: #d4b3ff;
    --border: #9aa4ae;
    --todo-bg: #5c4b00;
  }
}
*, *::before, *::after { box-sizing: border-box; }
html { font-size: 112.5%; -webkit-text-size-adjust: 100%; } /* 18px base, scales with user setting */
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}
.wrap { max-width: 44rem; margin: 0 auto; padding: 0 1rem; }

/* Skip link: visible when focused */
.skip-link {
  position: absolute; left: 0.5rem; top: -10rem;
  background: var(--focus); color: #000; padding: 0.75rem 1rem;
  font-weight: 700; z-index: 10; text-decoration: underline;
}
.skip-link:focus { top: 0.5rem; }

/* Strong, consistent focus indicator (WCAG 2.4.7 / 2.4.11) */
a:focus-visible, button:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  box-shadow: 0 0 0 6px #000;
}
main:focus, main:focus-visible { outline: none; box-shadow: none; } /* skip-link target: move focus quietly */

a { color: var(--link); text-underline-offset: 0.15em; }
a:visited { color: var(--link-visited); }
a:hover { text-decoration-thickness: 3px; }

.site-header { background: var(--brand); color: var(--brand-text); padding: 0.75rem 0 0.25rem; }
.site-header a, .site-header a:visited { color: var(--brand-text); }
.header-inner { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.25rem 1rem; }
.site-name { font-size: 1.5rem; font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 0.6rem; }
.site-logo { width: 2.75rem; height: auto; flex: none; } /* decorative: the link text names the site */
.site-name:hover { text-decoration: underline; }
.header-phone { margin: 0; font-size: 1.1rem; }
.header-phone a { font-weight: 700; white-space: nowrap; }
.nav-list, .footer-links { list-style: none; margin: 0.5rem 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; }
.nav-list { gap: 0 1.1rem; }
.nav-list a { display: inline-flex; align-items: center; min-height: 44px; padding: 0.25rem 0; line-height: 1.3; } /* 44px target size */
.nav-list a[aria-current="page"] { font-weight: 700; text-decoration-thickness: 3px; }

main { padding-top: 1.5rem; padding-bottom: 2.5rem; }
h1 { font-size: 2rem; line-height: 1.25; margin: 0.5rem 0 1rem; }
h2 { font-size: 1.45rem; line-height: 1.3; margin: 2rem 0 0.5rem; }
h3 { font-size: 1.2rem; margin: 1.5rem 0 0.5rem; }
p, li { max-width: 40rem; }
li { margin-bottom: 0.35rem; }

.lead { font-size: 1.2rem; }
.call-box {
  background: var(--muted-bg); border-left: 6px solid var(--brand);
  padding: 1rem 1.25rem; margin: 1.25rem 0; font-size: 1.2rem;
}
.big-number { font-size: clamp(1.5rem, 8vw, 2rem); font-weight: 700; white-space: nowrap; }
.button-links { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 0.75rem; }
.button-links a {
  display: inline-block; padding: 0.7rem 1.1rem; min-height: 44px;
  border: 2px solid var(--link); border-radius: 0.3rem; font-weight: 700; text-decoration: none;
}
.button-links a:hover { text-decoration: underline; }

table { border-collapse: collapse; width: 100%; margin: 1rem 0 1.5rem; }
caption { text-align: left; font-weight: 700; padding-bottom: 0.4rem; }
th, td { border: 1px solid var(--border); padding: 0.55rem 0.7rem; text-align: left; vertical-align: top; overflow-wrap: break-word; }
thead th { background: var(--muted-bg); }
.plan-detail { display: block; font-weight: 400; margin-top: 0.2rem; }
.key { font-weight: 700; font-size: 1.25rem; white-space: nowrap; }
/* Narrow phones (and 400% zoom): keep tables inside the screen, no sideways scrolling */
@media (max-width: 30rem) {
  .wrap { padding: 0 0.6rem; }
  h1 { font-size: 1.65rem; }
  th, td { padding: 0.4rem 0.35rem; }
  table { font-size: 0.92rem; }
}

mark.todo { background: var(--todo-bg); color: var(--text); outline: 2px dashed var(--border); }

.site-footer { background: var(--muted-bg); border-top: 1px solid var(--border); padding: 1rem 0 1.5rem; font-size: 0.95rem; }

@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }
@media print {
  .skip-link, .site-header nav, .site-footer nav { display: none; }
  a[href^="http"]::after { content: " (" attr(href) ")"; }
}
