:root {
  color-scheme: light;
  --bg: #f7f8fa;
  --surface: #ffffff;
  --text: #1f2933;
  --muted: #5c6673;
  --border: #d9dee7;
  --accent: #246b52;
  --accent-dark: #174b39;
  --link: #1f5f99;
  --shadow: 0 18px 45px rgba(31, 41, 51, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

a {
  color: var(--link);
  text-decoration: none;
}

a:hover,
a:focus {
  text-decoration: underline;
}

.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.nav {
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  color: var(--text);
  font-size: 1.1rem;
  font-weight: 700;
}

.nav-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 20px;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.95rem;
}

.nav-links a[aria-current="page"] {
  color: var(--accent-dark);
  font-weight: 700;
}

.hero {
  flex: 1;
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  place-items: center;
  padding: 64px 0;
}

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

.content-panel {
  width: min(680px, 100%);
  padding: 40px;
  text-align: center;
}

.page {
  flex: 1;
  width: min(920px, calc(100% - 32px));
  margin: 0 auto;
  padding: 40px 0 56px;
}

.document {
  padding: 40px;
}

.document-header {
  padding-bottom: 24px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--border);
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2 {
  line-height: 1.25;
  margin: 0;
  color: var(--text);
}

h1 {
  font-size: 2.4rem;
}

h2 {
  margin-top: 32px;
  font-size: 1.35rem;
}

p {
  margin: 12px 0 0;
}

.lead {
  color: var(--muted);
  font-size: 1.08rem;
  margin-top: 16px;
}

.actions {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 6px;
  border: 1px solid var(--accent);
  font-weight: 700;
}

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

.button.secondary {
  background: #ffffff;
  color: var(--accent-dark);
}

.button:hover,
.button:focus {
  text-decoration: none;
  border-color: var(--accent-dark);
}

address {
  margin-top: 12px;
  font-style: normal;
  color: var(--text);
}

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
  color: var(--muted);
  text-align: center;
  padding: 20px 16px;
  font-size: 0.92rem;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 640px) {
  .nav {
    min-height: auto;
    padding: 16px 0;
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

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

  .hero {
    padding: 36px 0;
  }

  .content-panel,
  .document {
    padding: 24px;
  }

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

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.2rem;
  }

  .actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}
