:root {
  --bg: #fdfdfb;
  --text: #1f2428;
  --muted: #5c6670;
  --accent: #2a5d8f;
  --rule: #e3e6e8;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #14181c;
    --text: #e6e9ec;
    --muted: #9aa4ad;
    --accent: #7db2e8;
    --rule: #2a3138;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.65;
}
main {
  max-width: 44rem;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 4rem;
}
header.site {
  border-bottom: 1px solid var(--rule);
}
header.site nav {
  max-width: 44rem;
  margin: 0 auto;
  padding: 1rem 1.25rem;
  display: flex;
  gap: 0.75rem 1.5rem;
  align-items: baseline;
  flex-wrap: wrap;
}
header.site a { color: var(--text); text-decoration: none; }
header.site a.brand { font-weight: 700; }
header.site a:hover { color: var(--accent); }
h1 { font-size: 1.9rem; line-height: 1.25; margin: 0 0 0.5rem; }
h2 { font-size: 1.2rem; margin: 2rem 0 0.5rem; }
p.lede { color: var(--muted); font-size: 1.05rem; margin-top: 0; }
a { color: var(--accent); }
ul { padding-left: 1.2rem; }
li { margin: 0.3rem 0; }
footer {
  max-width: 44rem;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 3rem;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: 0.9rem;
}
footer a { color: var(--muted); }
.updated { color: var(--muted); font-size: 0.9rem; }

/* ---- landing page components (scoped; compliance pages unaffected) ---- */
main.landing section {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--rule);
}
main.landing section:first-of-type { margin-top: 1rem; padding-top: 0; border-top: none; }

.hero { display: flex; gap: 1.5rem; align-items: center; flex-wrap: wrap; }
.hero > div { flex: 1 1 20rem; }
.hero img {
  width: 9rem; height: 9rem; flex: 0 0 auto;
  border: 1px solid var(--rule); border-radius: 12px;
}

.callout { border: 1px solid var(--rule); border-radius: 10px; padding: 1rem 1.25rem; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
@media (max-width: 34rem) { .split { grid-template-columns: 1fr; } }
.split h3 {
  font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--muted); margin: 0 0 0.4rem;
}
.split ul { margin: 0; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(12.5rem, 100%), 1fr)); gap: 1rem; }
.card { border: 1px solid var(--rule); border-radius: 10px; padding: 1rem; }
.card h3 { font-size: 1rem; margin: 0 0 0.4rem; }
.card p { margin: 0; font-size: 0.95rem; }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(9rem, 100%), 1fr)); gap: 1rem; margin: 1.5rem 0; }
.stat b { display: block; font-size: 1.4rem; color: var(--accent); }
.stat span { color: var(--muted); font-size: 0.85rem; }

figure { margin: 1.5rem 0; }
figure img { max-width: 100%; height: auto; border: 1px solid var(--rule); border-radius: 10px; }
figcaption { color: var(--muted); font-size: 0.85rem; margin-top: 0.4rem; }
.figure-phone img { max-width: 17rem; display: block; margin: 0 auto; }
.figure-phone figcaption { text-align: center; }

blockquote {
  border-left: 3px solid var(--accent);
  margin: 1.5rem 0; padding: 0.25rem 0 0.25rem 1rem;
  color: var(--muted); font-style: italic;
}

.diagram { display: flex; flex-direction: column; align-items: stretch; gap: 0; margin: 1.5rem 0; }
.dbox {
  border: 1px solid var(--rule); border-radius: 8px;
  padding: 0.5rem 0.9rem; text-align: center; font-size: 0.9rem;
}
.dbox small { display: block; color: var(--muted); }
.darrow { text-align: center; color: var(--muted); line-height: 1.6; }
.dnote {
  border: 1px dashed var(--rule); border-radius: 8px;
  padding: 0.5rem 0.9rem; text-align: center; font-size: 0.85rem;
  color: var(--muted); margin-top: 0.75rem;
}
