/* Stolo static site — shared styles.
   No external assets: system font stack only, no webfonts, no images required. */

:root {
  color-scheme: light dark;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  color: #1a1a1a;
  background: #ffffff;
}

body > header,
main,
body > footer {
  max-width: 42rem;
  margin-inline: auto;
  padding-inline: 1.25rem;
}

body > header {
  padding-top: 2rem;
}

main {
  padding-bottom: 2rem;
}

h1 {
  font-size: 1.9rem;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin: 0.5rem 0 0.75rem;
}

h2 {
  font-size: 1.25rem;
  line-height: 1.3;
  margin: 2rem 0 0.5rem;
}

p {
  margin: 0.75rem 0;
}

ul {
  padding-left: 1.25rem;
}

li {
  margin: 0.4rem 0;
}

a {
  color: #0b57d0;
}

a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

.home a {
  color: inherit;
  font-weight: 600;
  text-decoration: none;
}

.home a:hover,
.home a:focus-visible {
  text-decoration: underline;
}

.tagline {
  font-size: 1.125rem;
  color: #444444;
}

.muted {
  color: #555555;
}

/* Prominent notice (emergency-services disclaimer) — border, not color alone. */
.notice {
  border-left: 4px solid currentColor;
  padding-left: 1rem;
  margin: 1.25rem 0;
}

body > footer {
  border-top: 1px solid #dddddd;
  margin-top: 2.5rem;
  padding-block: 1.25rem 2.5rem;
  font-size: 0.925rem;
  color: #444444;
}

body > footer nav a {
  margin-right: 1.25rem;
}

@media (prefers-color-scheme: dark) {
  body {
    color: #e8e8e8;
    background: #121212;
  }

  a {
    color: #8ab4f8;
  }

  .tagline {
    color: #c9c9c9;
  }

  .muted {
    color: #a8a8a8;
  }

  body > footer {
    border-color: #333333;
    color: #b3b3b3;
  }
}
