:root {
  --bg: #f6f2e8;
  --bg-accent: rgba(189, 218, 210, 0.55);
  --surface: rgba(255, 255, 255, 0.72);
  --surface-strong: rgba(255, 255, 255, 0.92);
  --text: #172126;
  --muted: #5e6b71;
  --border: rgba(23, 33, 38, 0.12);
  --accent: #186c62;
  --accent-strong: #0f4e47;
  --shadow: 0 24px 60px rgba(23, 33, 38, 0.08);
  --radius: 24px;
  --max-width: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Avenir Next", "Segoe UI", "Helvetica Neue", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, var(--bg-accent), transparent 32%),
    linear-gradient(180deg, #fbf8f2 0%, var(--bg) 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

.page-shell {
  width: min(100% - 2rem, var(--max-width));
  margin: 0 auto;
  padding: 1.25rem 0 2rem;
}

.site-header,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-header {
  padding: 0.25rem 0 2rem;
}

.brand {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.35rem;
}

.site-nav a,
.site-footer a {
  color: var(--muted);
  transition: color 180ms ease, background-color 180ms ease;
}

.site-nav a {
  padding: 0.6rem 0.9rem;
  border-radius: 999px;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--accent-strong);
}

.hero {
  display: grid;
  place-items: center;
  text-align: center;
  min-height: calc(100vh - 13rem);
  padding: 4rem 1.25rem;
  margin-bottom: 2.5rem;
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 6px);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.86) 0%,
    var(--surface) 100%
  );
  box-shadow: var(--shadow);
}

.eyebrow,
.panel-label {
  margin: 0 0 1rem;
  color: var(--accent-strong);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: clamp(3rem, 8vw, 5.75rem);
  line-height: 0.95;
}

.subtitle {
  margin: 1.25rem 0 0;
  max-width: 36rem;
  font-size: clamp(1.1rem, 2.6vw, 1.45rem);
  color: var(--muted);
}

.description {
  margin: 1rem 0 0;
  max-width: 34rem;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--muted);
}

.hero-actions {
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  background: var(--accent);
  color: #f7fbfa;
  font-weight: 600;
  box-shadow: 0 14px 30px rgba(24, 108, 98, 0.24);
  transition: transform 180ms ease, background-color 180ms ease,
    box-shadow 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  background: var(--accent-strong);
  box-shadow: 0 18px 34px rgba(15, 78, 71, 0.28);
}

.section-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.panel {
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-strong);
  box-shadow: var(--shadow);
}

.panel h2 {
  margin: 0 0 0.75rem;
  font-size: 1.3rem;
}

.panel p:last-child {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.site-footer {
  padding: 0.5rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 900px) {
  .section-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .page-shell {
    width: min(100% - 1.25rem, var(--max-width));
    padding-top: 1rem;
  }

  .site-header,
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .hero {
    min-height: auto;
    padding: 3rem 1rem;
  }

  .button {
    width: 100%;
  }
}
