:root {
  --bg: #faf8f2;
  --bg-deep: #f3efe4;
  --mint: #dcefe0;
  --mint-deep: #c9e6d4;
  --cream: #fff4df;
  --primary: #438b65;
  --primary-dark: #234735;
  --primary-pressed: #367354;
  --text: #25332b;
  --text-muted: #6d7b73;
  --line: #e7e1d4;
  --white: #ffffff;
  --font: "Nunito", "Segoe UI", sans-serif;
  --max: 68rem;
  --pad: clamp(1.25rem, 4vw, 2.5rem);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(120% 80% at 10% -10%, var(--mint) 0%, transparent 55%),
    radial-gradient(90% 70% at 100% 0%, var(--cream) 0%, transparent 50%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-deep) 100%);
  background-attachment: fixed;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--primary-dark);
}

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem var(--pad);
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
  left: 50%;
  transform: translateX(-50%);
}

.site-header a {
  text-decoration: none;
}

.brand {
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.04em;
  color: var(--white);
  text-shadow: 0 1px 12px rgba(35, 71, 53, 0.35);
}

.brand--ink {
  color: var(--primary-dark);
  text-shadow: none;
}

.nav {
  display: flex;
  gap: 1.1rem;
  flex-wrap: wrap;
}

.nav a {
  color: rgba(255, 255, 255, 0.92);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
}

.nav--ink a {
  color: var(--text-muted);
}

.nav a:hover {
  color: var(--white);
}

.nav--ink a:hover {
  color: var(--primary-dark);
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transform: scale(1.04);
  animation: hero-drift 18s ease-in-out infinite alternate;
}

.hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(35, 71, 53, 0.28) 0%, rgba(35, 71, 53, 0.15) 35%, rgba(35, 71, 53, 0.72) 100%);
}

.hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 7.5rem var(--pad) 3.5rem;
  opacity: 0;
  transform: translateY(18px);
  animation: rise-in 900ms cubic-bezier(0.22, 1, 0.36, 1) 120ms forwards;
}

.hero__brand {
  margin: 0 0 0.65rem;
  font-size: clamp(3.4rem, 10vw, 5.6rem);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 0.95;
  text-shadow: 0 2px 24px rgba(35, 71, 53, 0.35);
}

.hero__headline {
  margin: 0 0 0.75rem;
  max-width: 18ch;
  font-size: clamp(1.55rem, 3.6vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.hero__lede {
  margin: 0 0 1.6rem;
  max-width: 34ch;
  font-size: 1.1rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.7rem 1.25rem;
  border-radius: 14px;
  border: 0;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, background-color 160ms ease, color 160ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--solid {
  background: var(--white);
  color: var(--primary-dark);
}

.btn--solid:hover {
  background: var(--cream);
}

.btn--ghost {
  background: transparent;
  color: var(--white);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.7);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}

.btn--primary {
  background: var(--primary);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--primary-pressed);
}

.btn--outline {
  background: transparent;
  color: var(--primary-dark);
  box-shadow: inset 0 0 0 1.5px var(--primary);
}

.btn--outline:hover {
  background: rgba(67, 139, 101, 0.1);
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 4.5rem var(--pad);
}

.section h2 {
  margin: 0 0 0.6rem;
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--primary-dark);
}

.section > p {
  margin: 0 0 2rem;
  max-width: 42ch;
  color: var(--text-muted);
  font-weight: 600;
}

.feature-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
}

.feature h3 {
  margin: 0 0 0.4rem;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary-dark);
}

.feature p {
  margin: 0;
  color: var(--text-muted);
  font-weight: 600;
}

.feature-visual {
  width: min(100%, 11rem);
  margin-bottom: 0.75rem;
}

.band {
  background: linear-gradient(135deg, var(--mint) 0%, var(--cream) 100%);
  border-block: 1px solid var(--line);
}

.band .section {
  display: grid;
  gap: 1.5rem;
  align-items: center;
  grid-template-columns: 1fr;
}

@media (min-width: 760px) {
  .band .section {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

.band h2 {
  margin-bottom: 0.5rem;
}

.band p {
  margin: 0 0 1.25rem;
  color: var(--text-muted);
  font-weight: 600;
  max-width: 38ch;
}

.band img {
  width: min(100%, 16rem);
  margin-inline: auto;
  animation: float-soft 5.5s ease-in-out infinite;
}

.page {
  padding-top: 5.5rem;
}

.page-header.site-header {
  position: relative;
  transform: none;
  left: auto;
  margin-bottom: 0;
}

.legal,
.support {
  max-width: 46rem;
  margin: 0 auto;
  padding: 2rem var(--pad) 4rem;
}

.legal h1,
.support h1 {
  margin: 0 0 0.35rem;
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--primary-dark);
}

.meta {
  margin: 0 0 1.5rem;
  color: var(--text-muted);
  font-weight: 700;
}

.legal .intro,
.support .intro {
  margin: 0 0 2rem;
  font-size: 1.05rem;
  font-weight: 600;
}

.legal section {
  margin: 0 0 1.75rem;
}

.legal h2 {
  margin: 0 0 0.55rem;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary-dark);
}

.legal p,
.support p {
  margin: 0 0 0.7rem;
  color: var(--text);
  font-weight: 600;
}

.support-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.site-footer {
  padding: 2rem var(--pad) 2.5rem;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.45);
}

.site-footer__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  justify-content: space-between;
  align-items: center;
}

.site-footer p {
  margin: 0;
  color: var(--text-muted);
  font-weight: 700;
  font-size: 0.95rem;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.site-footer a {
  color: var(--text-muted);
  font-weight: 700;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--primary-dark);
}

@keyframes rise-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-drift {
  to {
    transform: scale(1.1) translate3d(-1.2%, -0.8%, 0);
  }
}

@keyframes float-soft {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .hero__content {
    opacity: 1;
    transform: none;
  }
}
