:root {
  color-scheme: light;
  --ink: #17211c;
  --muted: #647069;
  --line: #dce3df;
  --paper: #ffffff;
  --wash: #f4f7f5;
  --accent: #1f6b4f;
  --accent-dark: #15513b;
}

* {
  box-sizing: border-box;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background: radial-gradient(circle at 90% 0%, rgba(31, 107, 79, 0.12), transparent 36rem), var(--wash);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
}

.page-shell {
  width: min(100% - 40px, 1040px);
  margin: 0 auto;
  padding: 32px 0 40px;
}

.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.eyebrow,
.document-type,
.kicker {
  margin: 0;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero {
  max-width: 720px;
  padding: 96px 0 58px;
}

h1 {
  max-width: 650px;
  margin: 8px 0 14px;
  font-size: clamp(3rem, 8vw, 5.4rem);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.intro {
  max-width: 580px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2.5vw, 1.3rem);
}

.documents {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.document-card {
  display: flex;
  min-height: 330px;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(26px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--paper);
  box-shadow: 0 18px 50px rgba(23, 33, 28, 0.06);
}

.document-card h2 {
  margin: 10px 0 12px;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.document-card p:not(.document-type) {
  margin: 0;
  color: var(--muted);
}

.actions {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 36px;
}

.primary-action,
.secondary-action {
  font-weight: 700;
  text-underline-offset: 4px;
}

.primary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 20px;
  border-radius: 999px;
  color: #ffffff;
  background: var(--accent);
  text-decoration: none;
  transition: background 150ms ease, transform 150ms ease;
}

.primary-action:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
}

.primary-action:focus-visible,
.secondary-action:focus-visible,
.brand:focus-visible,
footer a:focus-visible {
  outline: 3px solid rgba(31, 107, 79, 0.35);
  outline-offset: 3px;
}

footer {
  padding: 42px 2px 0;
  color: var(--muted);
  font-size: 0.92rem;
}

footer p {
  margin: 0;
}

footer a {
  color: var(--accent-dark);
  font-weight: 700;
}

@media (max-width: 720px) {
  .page-shell {
    width: min(100% - 28px, 1040px);
    padding-top: 22px;
  }

  .hero {
    padding: 72px 4px 42px;
  }

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

  .document-card {
    min-height: 300px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .primary-action {
    transition: none;
  }
}
