:root {
  color-scheme: light;
  --ink: #172018;
  --muted: #556157;
  --paper: #fbfaf6;
  --panel: #ffffff;
  --line: #d8ded5;
  --accent: #276b5f;
  --accent-strong: #173f70;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

a {
  color: var(--accent-strong);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

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

.site-header,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(100% - 2rem, 72rem);
  margin: 0 auto;
  padding: 1.1rem 0;
}

.site-header {
  border-bottom: 1px solid var(--line);
}

.site-footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-title {
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

[aria-current="page"] {
  color: var(--accent);
  font-weight: 700;
}

.page-shell {
  display: grid;
  align-items: center;
  min-height: calc(100vh - 10rem);
  width: min(100% - 2rem, 72rem);
  margin: 0 auto;
  padding: 5rem 0;
}

.intro {
  max-width: 44rem;
}

h1 {
  margin: 0;
  font-size: clamp(2.25rem, 4vw, 4rem);
  line-height: 1.05;
}

p {
  margin: 1rem 0 0;
}

.intro p {
  max-width: 34rem;
  color: var(--muted);
  font-size: 1.2rem;
}

.faq-page {
  max-width: 52rem;
}

.faq-list {
  display: grid;
  gap: 2rem;
  margin-top: 2rem;
}

.faq-entry {
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
}

.faq-entry h2 {
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.3;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 42rem) {
  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .page-shell {
    min-height: calc(100vh - 13rem);
    padding: 4rem 0;
  }
}
