:root {
  color-scheme: light;
  --background: #f7f8f4;
  --surface: #ffffff;
  --text: #18231f;
  --muted: #5d6a65;
  --primary: #176b5b;
  --primary-dark: #0f5044;
  --accent: #e7a93b;
  --border: #dce4df;
  --shadow: 0 18px 45px rgba(24, 35, 31, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(231, 169, 59, 0.12), transparent 32rem),
    var(--background);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-size: 17px;
  line-height: 1.68;
}

a {
  color: var(--primary);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.16em;
}

a:hover {
  color: var(--primary-dark);
}

a:focus-visible {
  border-radius: 4px;
  outline: 3px solid rgba(231, 169, 59, 0.6);
  outline-offset: 3px;
}

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

.header-inner,
.page,
.site-footer {
  margin: 0 auto;
  max-width: 920px;
  padding-left: 24px;
  padding-right: 24px;
}

.header-inner {
  align-items: center;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  min-height: 72px;
}

.brand {
  color: var(--text);
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand-mark {
  color: var(--accent);
  margin-right: 6px;
}

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

.nav a {
  font-size: 0.92rem;
  font-weight: 650;
  text-decoration: none;
}

.page {
  padding-bottom: 72px;
  padding-top: 56px;
}

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

.eyebrow {
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  margin: 0 0 10px;
  text-transform: uppercase;
}

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

h1 {
  font-size: clamp(2.15rem, 6vw, 4rem);
  letter-spacing: -0.045em;
  margin: 0;
}

h2 {
  font-size: 1.45rem;
  letter-spacing: -0.02em;
  margin: 42px 0 12px;
}

h3 {
  font-size: 1.05rem;
  margin: 26px 0 8px;
}

p,
ul,
ol {
  margin-bottom: 16px;
  margin-top: 0;
}

li + li {
  margin-top: 8px;
}

.lead {
  color: var(--muted);
  font-size: 1.13rem;
  margin: 20px 0 0;
  max-width: 68ch;
}

.meta {
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 18px;
}

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

.card {
  background: #fbfcfa;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 22px;
}

.card h2 {
  font-size: 1.08rem;
  margin: 0 0 8px;
}

.card p {
  color: var(--muted);
  font-size: 0.94rem;
}

.button {
  background: var(--primary);
  border-radius: 999px;
  color: #ffffff;
  display: inline-block;
  font-weight: 750;
  margin-top: 8px;
  padding: 11px 18px;
  text-decoration: none;
}

.button:hover {
  background: var(--primary-dark);
  color: #ffffff;
}

.notice {
  background: #fff8e9;
  border: 1px solid #efd7a3;
  border-radius: 16px;
  margin: 28px 0;
  padding: 18px 20px;
}

.notice strong {
  display: block;
  margin-bottom: 4px;
}

.document > h2:first-of-type {
  margin-top: 34px;
}

.site-footer {
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.88rem;
  padding-bottom: 34px;
  padding-top: 26px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 8px;
}

.footer-links a {
  font-weight: 650;
}

@media (max-width: 760px) {
  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    padding-bottom: 16px;
    padding-top: 16px;
  }

  .nav {
    gap: 12px;
    justify-content: flex-start;
  }

  .page {
    padding-top: 28px;
  }

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

@media print {
  body {
    background: #ffffff;
    font-size: 12pt;
  }

  .site-header,
  .site-footer,
  .button {
    display: none;
  }

  .page {
    max-width: none;
    padding: 0;
  }

  .document {
    border: 0;
    box-shadow: none;
    padding: 0;
  }
}
