/* Layout: one 68rem column; hero splits text | phone at wide widths, stacks on phones.
   Big, high-contrast type throughout, because the main readers are older adults and their families. */
:root {
  --paper: #F3F6F8;
  --surface: #FFFFFF;
  --ink: #13202D;
  --muted: #475766;
  --line: #CBD5DE;
  --call: #11804A;
  --call-deep: #0B5C35;
  --call-soft: #E1F2E8;
  --helper: #2E3EA6;
  --helper-soft: #E5E8FA;
  --note: #FFF2D9;
  --note-ink: #6A4300;
  --on-strong: #FFFFFF;
  --display: "Bricolage Grotesque", "Trebuchet MS", system-ui, sans-serif;
  --body: "Atkinson Hyperlegible", Verdana, "Segoe UI", system-ui, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0F1720; --surface: #17222E; --ink: #EAF0F5; --muted: #A6B4C2; --line: #2B3A4A;
    --call: #2BAE69; --call-deep: #1D8A50; --call-soft: #15301F; --helper: #8F9CFF; --helper-soft: #1F2747;
    --note: #3A2D12; --note-ink: #FFD99A; --on-strong: #FFFFFF; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #0F1720; --surface: #17222E; --ink: #EAF0F5; --muted: #A6B4C2; --line: #2B3A4A;
  --call: #2BAE69; --call-deep: #1D8A50; --call-soft: #15301F; --helper: #8F9CFF; --helper-soft: #1F2747;
  --note: #3A2D12; --note-ink: #FFD99A; --on-strong: #FFFFFF; color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--body); font-size: 1.1875rem; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--call-deep); text-underline-offset: 3px; }
:root[data-theme="dark"] a { color: var(--call); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) a { color: var(--call); } }
:focus-visible { outline: 4px solid #F2A93B; outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--display); line-height: 1.1; margin: 0; text-wrap: balance; letter-spacing: -0.01em; }
p { margin: 0; }

.wrap { max-width: 68rem; margin: 0 auto; padding-inline: 1.25rem; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--paper); padding: .6rem 1rem; z-index: 10; }
.skip:focus { left: 1rem; }

/* header */
.top { border-bottom: 1px solid var(--line); background: var(--paper); }
.top .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1.5rem; padding-block: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--ink); font-family: var(--display); font-weight: 800; font-size: 1.35rem; }
:root[data-theme="dark"] .brand, .brand { color: var(--ink); }
.brand-dot { width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--call); color: var(--on-strong); display: grid; place-items: center; flex: none; }
.brand-dot svg { width: 1.3rem; height: 1.3rem; }
.nav { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; font-size: 1.05rem; }
.nav a { color: var(--ink); text-decoration: none; padding: .35rem 0; }
.nav a:hover { text-decoration: underline; }

/* hero */
.hero .wrap { display: grid; gap: 2.5rem; align-items: center; padding-block: 3rem 3.5rem; }
@media (min-width: 52rem) { .hero .wrap { grid-template-columns: 1.15fr .85fr; padding-block: 4.5rem 5rem; } }
.hero-copy { display: grid; gap: 1.25rem; min-width: 0; }
.kicker { font-weight: 700; color: var(--call-deep); font-size: 1.05rem; letter-spacing: .02em; }
:root[data-theme="dark"] .kicker { color: var(--call); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .kicker { color: var(--call); } }
.hero h1 { font-size: clamp(2.6rem, 7vw, 4.4rem); font-weight: 800; }
.hero h1 em { font-style: normal; color: var(--call); }
.lead { font-size: 1.35rem; color: var(--muted); max-width: 34rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: .5rem; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 3.5rem; padding: .8rem 1.5rem; border-radius: 999px; font-weight: 700; font-size: 1.1rem; text-decoration: none; border: 2px solid transparent; }
.btn-call { background: var(--call); color: var(--on-strong); }
.btn-call:hover { background: var(--call-deep); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: var(--surface); }
a.btn-call, :root[data-theme="dark"] a.btn-call { color: var(--on-strong); }
a.btn-ghost, :root[data-theme="dark"] a.btn-ghost { color: var(--ink); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) a.btn-call { color: var(--on-strong); } :root:not([data-theme="light"]) a.btn-ghost { color: var(--ink); } }
.fine { font-size: 1rem; color: var(--muted); }

/* the phone: the actual caller screen, two buttons and nothing else */
.phone { justify-self: center; width: min(19rem, 100%); aspect-ratio: 9 / 18.5; max-width: 100%; border-radius: 2.6rem; background: var(--ink); padding: .7rem; box-shadow: 0 1.5rem 3rem -1.5rem rgba(10, 30, 40, .45); }
.screen { height: 100%; border-radius: 2rem; background: var(--paper); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.25rem; padding: 1.5rem 1rem; text-align: center; }
.ring { position: relative; width: 62%; aspect-ratio: 1; border-radius: 50%; background: var(--call); color: var(--on-strong); display: grid; place-items: center; box-shadow: 0 .45rem 0 var(--call-deep); }
.ring svg { width: 44%; height: 44%; }
.ring::before, .ring::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: .3rem solid var(--call); animation: pulse 2.4s ease-out infinite; opacity: 0; }
.ring::after { animation-delay: 1.2s; }
@keyframes pulse { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(1.5); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .ring::before, .ring::after { animation: none; } }
.screen-label { font-family: var(--display); font-weight: 800; font-size: 1.5rem; color: var(--ink); }
.screen-sub { font-size: .9rem; color: var(--muted); }

/* sections */
section.band { padding-block: 4rem; border-top: 1px solid var(--line); }
.band-head { display: grid; gap: .75rem; max-width: 42rem; margin-bottom: 2.25rem; }
.band-head h2 { font-size: clamp(2rem, 5vw, 2.8rem); font-weight: 800; }
.band-head p { color: var(--muted); font-size: 1.25rem; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; counter-reset: step; }
@media (min-width: 46rem) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { counter-increment: step; display: grid; gap: .6rem; align-content: start; min-width: 0; }
.steps li::before { content: counter(step); font-family: var(--display); font-weight: 800; font-size: 1.4rem; width: 3rem; height: 3rem; border-radius: 50%; display: grid; place-items: center; background: var(--call-soft); color: var(--call-deep); }
:root[data-theme="dark"] .steps li::before { color: var(--call); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .steps li::before { color: var(--call); } }
.steps h3 { font-size: 1.5rem; }
.steps p { color: var(--muted); }

.topics { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 2rem; padding: 0; list-style: none; }
.topics li { padding: .5rem 1rem; border-radius: 999px; border: 2px solid var(--line); background: var(--surface); font-weight: 700; font-size: 1.05rem; }

.promises { display: grid; gap: 0; border-top: 2px solid var(--ink); }
.promise { display: grid; gap: .35rem 2rem; padding-block: 1.4rem; border-bottom: 1px solid var(--line); }
@media (min-width: 46rem) { .promise { grid-template-columns: 18rem 1fr; } }
.promise h3 { font-size: 1.35rem; }
.promise p { color: var(--muted); min-width: 0; }
.emergency { margin-top: 2rem; padding: 1.1rem 1.25rem; border-radius: 1rem; background: var(--note); color: var(--note-ink); font-weight: 700; font-size: 1.2rem; }

.split { display: grid; gap: 1.5rem; }
@media (min-width: 52rem) { .split { grid-template-columns: 1fr 1fr; } }
.panel { padding: 2rem; border-radius: 1.5rem; display: grid; gap: 1rem; align-content: start; min-width: 0; }
.panel h2 { font-size: clamp(1.8rem, 4vw, 2.3rem); font-weight: 800; }
.panel ul { margin: 0; padding-left: 1.25rem; display: grid; gap: .45rem; }
.panel-helper { background: var(--helper-soft); }
.panel-helper h2 { color: var(--helper); }
.panel-family { background: var(--surface); border: 2px solid var(--line); }

.orgs { display: grid; gap: 1.25rem; }
@media (min-width: 46rem) { .orgs { grid-template-columns: repeat(2, 1fr); } }
.org { padding-block: .25rem; border-left: 4px solid var(--call); padding-left: 1.1rem; display: grid; gap: .3rem; min-width: 0; }
.org h3 { font-size: 1.3rem; }
.org p { color: var(--muted); }

.contact-card { margin-top: 2rem; display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; padding: 1.25rem 1.5rem; border-radius: 1rem; background: var(--surface); border: 2px solid var(--line); }
.contact-card .email { font-weight: 700; font-size: 1.25rem; word-break: break-all; user-select: all; }
.copy { min-height: 2.75rem; padding: 0 1.1rem; border-radius: 999px; border: 2px solid var(--line); background: var(--paper); color: var(--ink); font: inherit; font-weight: 700; font-size: 1rem; cursor: pointer; }

/* footer */
.foot { border-top: 1px solid var(--line); background: var(--surface); }
.foot .wrap { display: grid; gap: 1.5rem; padding-block: 2.5rem; font-size: 1rem; color: var(--muted); }
@media (min-width: 46rem) { .foot .wrap { grid-template-columns: 1.4fr 1fr 1fr; } }
.foot h3 { font-family: var(--body); font-size: 1rem; color: var(--ink); margin-bottom: .4rem; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .3rem; }
.foot address { font-style: normal; }

/* legal pages */
.legal .wrap { max-width: 48rem; padding-block: 3rem 4rem; }
.legal h1 { font-size: clamp(2.2rem, 6vw, 3.2rem); font-weight: 800; margin-bottom: .5rem; }
.legal .updated { color: var(--muted); margin-bottom: 2rem; }
.legal h2 { font-size: 1.6rem; font-weight: 800; margin: 2.5rem 0 .75rem; scroll-margin-top: 1rem; }
.legal p, .legal li { max-width: 65ch; }
.legal p + p, .legal p + ul, .legal ul + p, .legal p + ol, .legal ol + p { margin-top: .9rem; }
.legal ul, .legal ol { padding-left: 1.4rem; display: grid; gap: .5rem; margin: .75rem 0 0; }
.legal blockquote { margin: 1rem 0; padding: 1rem 1.25rem; border-radius: 1rem; background: var(--note); color: var(--note-ink); }
.legal .table-scroll { overflow-x: auto; margin-top: 1rem; }
.legal table { border-collapse: collapse; width: 100%; font-size: 1.05rem; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: .65rem .75rem; border-bottom: 1px solid var(--line); }
.legal th { color: var(--muted); }
.toc { margin: 0 0 2rem; padding: 1.25rem 1.5rem; border-radius: 1rem; background: var(--surface); border: 2px solid var(--line); }
.toc h2 { margin: 0 0 .5rem; font-size: 1.1rem; font-family: var(--body); }
.toc ol { list-style: none; padding: 0; columns: 2 16rem; gap: 2rem; display: block; }
.toc li { margin-bottom: .3rem; break-inside: avoid; }
