:root {
  color-scheme: light;
  --bg: #f7f5ef;
  --surface: #fffdf8;
  --ink: #202124;
  --muted: #62645f;
  --line: #e2ded2;
  --brand: #245c53;
  --brand-soft: #dcebe5;
  --accent: #8f5b2f;
  --shadow: 0 18px 48px rgba(45, 39, 28, 0.08);
}

* {
  box-sizing: border-box;
}

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

a {
  color: var(--brand);
  font-weight: 700;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.92);
}

.header-inner,
.page,
.footer-inner {
  width: min(1040px, calc(100% - 32px));
  margin: 0 auto;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 20px;
  font-weight: 900;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: var(--brand);
  color: #fffdf8;
  font-weight: 900;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 18px;
  font-size: 14px;
}

.page {
  padding: 40px 0 56px;
}

.hero,
.content-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero {
  padding: clamp(28px, 5vw, 52px);
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(32px, 6vw, 56px);
  line-height: 1.05;
}

.lead {
  max-width: 760px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.note {
  margin-top: 24px;
  padding: 14px 16px;
  border-left: 4px solid var(--brand);
  background: var(--brand-soft);
  border-radius: 6px;
  color: #24443e;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.link-card {
  min-height: 126px;
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.link-card h2 {
  margin: 0 0 8px;
  font-size: 18px;
}

.link-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.content-card {
  padding: clamp(24px, 5vw, 48px);
}

.meta {
  margin: 12px 0 0;
  color: var(--muted);
}

.section {
  padding-top: 28px;
}

.section h2 {
  margin: 0 0 8px;
  font-size: 22px;
}

.section p {
  margin: 0;
  color: var(--muted);
}

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

.footer-inner {
  padding: 26px 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-bottom: 12px;
  font-size: 14px;
}

.small {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 760px) {
  .header-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    justify-content: flex-start;
  }

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