:root {
  color-scheme: light;
  --bg: #f7f9fc;
  --paper: #ffffff;
  --ink: #172033;
  --muted: #637087;
  --line: #dce4ef;
  --accent: #0f7db8;
  --accent-dark: #0b5278;
  --shadow: 0 24px 70px rgba(15, 35, 64, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(180deg, #f7f9fc 0%, #eef4fb 100%);
  color: var(--ink);
  font-family: ui-serif, Georgia, Cambria, "Times New Roman", serif;
  line-height: 1.75;
}

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

.site-header,
.site-footer {
  padding: 24px;
}

.nav,
.footer-inner,
.shell {
  width: min(100%, 1060px);
  margin: 0 auto;
}

.nav,
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  color: var(--ink);
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 0.92rem;
}

.shell {
  padding: 44px 24px 84px;
}

.hero,
.document {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: clamp(28px, 5vw, 56px);
}

.eyebrow {
  color: var(--accent);
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  margin: 0 0 14px;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  line-height: 1.18;
}

h1 {
  font-size: clamp(2.35rem, 5vw, 4.25rem);
  letter-spacing: 0;
  margin: 0 0 20px;
}

h2 {
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  margin: 0 0 14px;
}

h3 {
  font-size: 1.15rem;
  margin: 34px 0 10px;
}

p {
  color: var(--muted);
  font-size: 1.05rem;
  margin: 0 0 18px;
}

.lead {
  max-width: 780px;
  font-size: 1.18rem;
}

.directory {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.directory-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  text-decoration: none;
}

.directory-card strong {
  color: var(--ink);
  display: block;
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 1.08rem;
  margin-bottom: 8px;
}

.directory-card span {
  color: var(--muted);
  display: block;
}

.meta {
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 0.95rem;
  margin-bottom: 34px;
  padding-bottom: 24px;
}

.placeholder {
  background: #f4f7fb;
  border: 1px dashed #b8c7d9;
  border-radius: 8px;
  color: var(--muted);
  margin-top: 18px;
  padding: 22px;
}

.site-footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 0.92rem;
}

@media (max-width: 720px) {
  .nav,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .directory {
    grid-template-columns: 1fr;
  }
}