:root {
  color-scheme: light dark;
  --text: #1a1a1a;
  --muted: #555;
  --accent: #0b5c4b;
  --accent-hover: #094a3d;
  --bg: #fafafa;
  --card: #fff;
  --border: #e5e5e5;
  --header-bg: #fff;
  --footer-bg: #f0f0f0;
}

@media (prefers-color-scheme: dark) {
  :root {
    --text: #f2f2f2;
    --muted: #aaa;
    --accent: #5ecfb0;
    --accent-hover: #7ddbc0;
    --bg: #121212;
    --card: #1c1c1c;
    --border: #333;
    --header-bg: #1a1a1a;
    --footer-bg: #161616;
  }
}

* {
  box-sizing: border-box;
}

body {
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  line-height: 1.55;
  margin: 0;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
}

a:hover {
  color: var(--accent-hover);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--header-bg);
  border-bottom: 1px solid var(--border);
}

.site-header__inner {
  max-width: 52rem;
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
}

.site-brand {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  text-decoration: none;
  color: inherit;
}

.site-brand:hover {
  color: inherit;
}

.site-brand__name {
  font-size: 1.05rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  margin: 0;
}

.site-brand__tag {
  font-size: 0.75rem;
  color: var(--muted);
  margin: 0;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
  font-size: 0.9rem;
}

.site-nav a {
  text-decoration: none;
  color: var(--muted);
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--accent);
}

main {
  flex: 1;
  max-width: 42rem;
  width: 100%;
  margin: 0 auto;
  padding: 2rem 1.25rem 2.5rem;
}

.page-intro {
  margin-bottom: 2rem;
}

.page-intro h1 {
  font-size: 1.35rem;
  font-weight: 650;
  margin: 0 0 0.35rem;
  letter-spacing: -0.02em;
}

.page-intro .tagline {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0;
}

section.content-block {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  padding: 1.25rem 1.35rem;
  margin-bottom: 1rem;
}

section.content-block h2 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin: 0 0 0.75rem;
  font-weight: 600;
}

section.content-block h3 {
  font-size: 1rem;
  margin: 1.25rem 0 0.5rem;
  font-weight: 600;
}

section.content-block h3:first-of-type {
  margin-top: 0;
}

section.content-block p {
  margin: 0 0 0.75rem;
}

section.content-block p:last-child {
  margin-bottom: 0;
}

section.content-block ul {
  margin: 0;
  padding-left: 1.15rem;
}

section.content-block li {
  margin-bottom: 0.35rem;
}

.legal-page h1 {
  font-size: 1.35rem;
  font-weight: 650;
  margin: 0 0 1.25rem;
}

.legal-page h2 {
  font-size: 1rem;
  margin: 1.75rem 0 0.5rem;
  font-weight: 600;
}

.legal-page p {
  margin: 0 0 0.75rem;
}

.site-footer {
  background: var(--footer-bg);
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--muted);
}

.site-footer__inner {
  max-width: 52rem;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.site-footer__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 2.5rem;
  justify-content: space-between;
}

.site-footer__col p {
  margin: 0 0 0.35rem;
}

.site-footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.site-footer__links a {
  text-decoration: none;
}

.site-footer__links a:hover {
  text-decoration: underline;
}

.site-footer__copy {
  margin: 0;
  font-size: 0.8rem;
  opacity: 0.9;
}
