:root {
  color-scheme: light;
  --bg: #f7f4ee;
  --surface: #ffffff;
  --surface-soft: #f0fdfa;
  --text: #111827;
  --muted: #64748b;
  --border: #e5e7eb;
  --accent: #0f766e;
  --accent-strong: #0b5f59;
  --amber: #d97706;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  line-height: 1.72;
}

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

a:hover {
  text-decoration: underline;
}

.site-header {
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(15, 118, 110, 0.18);
}

.brand-name {
  display: block;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0;
}

.brand-copy {
  display: block;
  margin-top: -2px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

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

.hero,
.page {
  width: min(920px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  padding: 54px 0 32px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
}

h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(32px, 6vw, 58px);
  line-height: 1.05;
  letter-spacing: 0;
}

.lead {
  max-width: 720px;
  margin: 18px 0 0;
  color: #334155;
  font-size: 18px;
  font-weight: 700;
}

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

.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-size: 14px;
  font-weight: 900;
}

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

.card-grid {
  width: min(1040px, calc(100% - 32px));
  margin: 18px auto 64px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.card {
  min-height: 172px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.06);
}

.card h2 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.35;
}

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

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

.document {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.06);
}

.document h1 {
  font-size: clamp(28px, 5vw, 42px);
}

.document h2 {
  margin: 34px 0 8px;
  font-size: 21px;
  line-height: 1.35;
}

.document p,
.document li {
  color: #334155;
  font-size: 15px;
}

.meta {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.notice {
  margin: 22px 0;
  padding: 14px;
  border-radius: 8px;
  border: 1px solid #a7f3d0;
  background: var(--surface-soft);
  color: #115e59;
  font-size: 14px;
  font-weight: 750;
}

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

.footer-inner {
  width: min(1040px, calc(100% - 32px));
  min-height: 88px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

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

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

  .hero {
    padding-top: 38px;
  }

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

  .document {
    padding: 20px;
  }
}
