/* ─── Reset & base ─────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: Georgia, "Times New Roman", serif;
  color: #1a1a1a;
  background: #fafafa;
  line-height: 1.7;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* ─── Layout ────────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

main {
  flex: 1;
  padding: 3rem 0;
}

/* ─── Header & nav ──────────────────────────────────────────────── */
header {
  background: #1a1a2e;
  color: #f0f0f0;
  padding: 1rem 0;
  border-bottom: 3px solid #4a90d9;
}

header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.site-logo {
  font-size: 1.25rem;
  font-weight: bold;
  color: #f0f0f0;
  text-decoration: none;
  letter-spacing: 0.02em;
}

.site-logo:hover {
  color: #4a90d9;
}

nav {
  display: flex;
  gap: 1.75rem;
}

nav a {
  color: #c8d8ea;
  text-decoration: none;
  font-family: system-ui, sans-serif;
  font-size: 0.95rem;
}

nav a:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* ─── Footer ────────────────────────────────────────────────────── */
footer {
  background: #1a1a2e;
  color: #8899aa;
  padding: 1.5rem 0;
  font-family: system-ui, sans-serif;
  font-size: 0.875rem;
  text-align: center;
}

/* ─── Hero ──────────────────────────────────────────────────────── */
.hero {
  padding: 4rem 0 3rem;
  border-bottom: 1px solid #dde;
  margin-bottom: 3rem;
}

.hero h1 {
  font-size: 2.25rem;
  line-height: 1.25;
  color: #1a1a2e;
  margin-bottom: 1rem;
  max-width: 650px;
}

.hero .lead {
  font-size: 1.15rem;
  color: #444;
  max-width: 600px;
  margin-bottom: 2rem;
}

/* ─── Button ────────────────────────────────────────────────────── */
.btn {
  display: inline-block;
  background: #4a90d9;
  color: #fff;
  padding: 0.65rem 1.5rem;
  border-radius: 4px;
  text-decoration: none;
  font-family: system-ui, sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  transition: background 0.15s ease;
}

.btn:hover {
  background: #2d72b8;
}

/* ─── Cards ─────────────────────────────────────────────────────── */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.card {
  background: #fff;
  border: 1px solid #dde;
  border-radius: 6px;
  padding: 1.5rem;
}

.card h2 {
  font-size: 1.1rem;
  color: #1a1a2e;
  margin-bottom: 0.75rem;
}

.card p {
  font-size: 0.95rem;
  color: #555;
}

/* ─── Page header ───────────────────────────────────────────────── */
.page-header {
  margin-bottom: 2.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid #dde;
}

.page-header h1 {
  font-size: 2rem;
  color: #1a1a2e;
}

/* ─── Prose content ─────────────────────────────────────────────── */
.prose h2 {
  font-size: 1.25rem;
  color: #1a1a2e;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
}

.prose p,
.prose ul,
.prose address {
  color: #333;
  margin-bottom: 1rem;
}

.prose ul {
  padding-left: 1.5rem;
}

.prose li {
  margin-bottom: 0.4rem;
}

.prose a {
  color: #2d72b8;
}

.prose a:hover {
  text-decoration: none;
}

address {
  font-style: normal;
  line-height: 1.8;
}

/* ─── Responsive ────────────────────────────────────────────────── */
@media (max-width: 600px) {
  .hero h1 {
    font-size: 1.65rem;
  }

  nav {
    gap: 1rem;
  }
}
