:root {
  color-scheme: light;
  --bg: #f7f8f4;
  --panel: #ffffff;
  --ink: #171f1b;
  --muted: #5d6a63;
  --line: #d9e0d9;
  --accent: #2f6f5d;
  --accent-strong: #153f35;
  --accent-soft: #dcebe5;
  --shadow: rgba(23, 31, 27, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(145deg, rgba(220, 235, 229, 0.72), transparent 42%),
    linear-gradient(180deg, var(--bg), #eef2ed);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.7;
}

a {
  color: var(--accent-strong);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

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

.hero {
  min-height: 72vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 320px);
  align-items: center;
  gap: clamp(32px, 6vw, 72px);
  padding: 48px 0 64px;
}

.hero-copy {
  min-width: 0;
}

.hero-logo {
  width: min(100%, 320px);
  aspect-ratio: 1;
  justify-self: end;
  filter: drop-shadow(0 22px 40px rgba(23, 31, 27, 0.12));
}

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

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

h1 {
  margin: 0;
  max-width: 9ch;
  font-size: clamp(3.5rem, 11vw, 8rem);
  letter-spacing: 0;
}

h2 {
  margin: 0 0 18px;
  font-size: clamp(1.55rem, 3vw, 2.25rem);
}

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

.subtitle {
  margin: 10px 0 0;
  color: var(--accent-strong);
  font-size: clamp(1.35rem, 3vw, 2rem);
  font-weight: 750;
}

.lead {
  width: min(690px, 100%);
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 2.2vw, 1.36rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 18px;
  border: 1px solid var(--accent-strong);
  border-radius: 8px;
  background: var(--accent-strong);
  color: white;
  font-weight: 750;
  text-decoration: none;
}

.button-secondary {
  background: transparent;
  color: var(--accent-strong);
}

.section {
  margin-top: 24px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.card,
.notice,
.document {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 16px 48px var(--shadow);
}

.card {
  padding: 22px;
}

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

.notice {
  padding: clamp(24px, 5vw, 40px);
}

.document {
  padding: clamp(24px, 5vw, 48px);
}

.document h1 {
  max-width: none;
  margin-bottom: 26px;
  font-size: clamp(2.4rem, 7vw, 4.5rem);
}

.document h2 {
  margin-top: 32px;
  margin-bottom: 10px;
  font-size: clamp(1.25rem, 2.3vw, 1.75rem);
}

.document ul {
  margin: 0;
  padding-left: 1.2em;
  color: var(--muted);
}

.nav {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  font-weight: 750;
}

.updated {
  margin-top: 40px !important;
  font-size: 0.95rem;
}

strong {
  color: var(--ink);
  font-weight: 750;
}

@media (max-width: 840px) {
  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 40px;
  }

  .hero-logo {
    width: min(58vw, 220px);
    justify-self: start;
    order: -1;
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .page {
    width: min(100% - 24px, 1080px);
    padding-top: 22px;
  }

  .hero {
    gap: 24px;
  }

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

  .nav {
    align-items: flex-start;
    flex-direction: column;
  }
}
