:root {
  --sand: #eee6cf;
  --light-sand: #fdf7e8;
  --brand-green: #284a3c;
  --brand-green-dark: #1f3a2f;
  --muted-green: #567264;
  --card-before: #f3dad6;
  --card-before-border: #c79b93;
  --card-after: #dfead7;
  --card-after-border: #9bb28f;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Red Hat Text", "Helvetica Neue", Arial, sans-serif;
  background: radial-gradient(circle at top, #fff7e7 0%, var(--light-sand) 42%);
  color: var(--brand-green);
  min-height: 100vh;
}

.page {
  max-width: 980px;
  margin: 0 auto;
  background: var(--light-sand);
}

.topbar {
  background: var(--sand);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
}

.logo {
  height: 30px;
  width: auto;
  display: block;
}

.nav {
  min-height: 30px;
  min-width: 40px;
}

.topbar a {
  display: flex;
  align-items: center;
}

.hero {
  padding: 40px 24px 56px;
  display: grid;
  gap: 26px;
}

.legal {
  padding: 32px 24px 64px;
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  gap: 16px;
}

.legal h1 {
  margin: 0 0 6px;
  font-size: clamp(28px, 4.6vw, 40px);
}

.legal h2 {
  margin: 18px 0 4px;
  font-size: clamp(18px, 3.4vw, 22px);
}

.legal h3 {
  margin: 12px 0 4px;
  font-size: 16px;
}

.legal p,
.legal li {
  font-size: 16px;
  line-height: 1.6;
}

.legal ul {
  margin: 0;
  padding-left: 20px;
}

.legal hr {
  border: none;
  border-top: 1px solid rgba(40, 74, 60, 0.12);
  margin: 8px 0;
}

.visuals {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.card {
  border-radius: 20px;
  padding: 0;
  display: grid;
  place-items: center;
  border: none;
  animation: fade-up 0.8s ease both;
}

.card img {
  width: 100%;
  height: auto;
  display: block;
}

.card--before {
  animation-delay: 0.1s;
}

.card--after {
  animation-delay: 0.2s;
}

.copy {
  display: flex;
  flex-direction: column;
  animation: fade-up 0.9s ease both;
  animation-delay: 0.3s;
}

.eyebrow {
  margin: 0 0 6px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--muted-green);
}

h1 {
  margin: 0 0 12px;
  font-size: clamp(26px, 5vw, 42px);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.lead {
  margin: 0;
  font-size: clamp(20px, 3.6vw, 20px);
  line-height: 1.2;
  color: var(--brand-green);
}

.lead + .lead {
  margin-top: 10px;
}

.lead strong {
  font-weight: 600;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 36px;
  margin-bottom: 10px;
  padding: 14px 26px;
  border-radius: 14px;
  background: var(--brand-green);
  color: var(--light-sand);
  text-decoration: none;
  font-weight: 600;
  font-size: 18px;
  box-shadow: 0 10px 18px rgba(40, 74, 60, 0.2);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
  width: fit-content;
}

.cta:hover,
.cta:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 14px 22px rgba(40, 74, 60, 0.24);
}

.footer {
  background: var(--sand);
  padding: 22px 24px 26px;
  border-top: 1px solid rgba(40, 74, 60, 0.12);
  display: grid;
  gap: 6px;
  font-size: 13px;
  color: var(--brand-green);
}

.footer p {
  margin: 0;
}

.footer-meta {
  color: var(--muted-green);
}

.footer a {
  color: inherit;
  text-decoration: underline;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 900px) {
  .page {
    border-radius: 24px;
    overflow: hidden;
    margin: 32px auto;
    box-shadow: 0 18px 40px rgba(36, 52, 43, 0.08);
  }

  .hero {
    max-width: 760px;
    margin: 0 auto;
    gap: 32px;
    padding: 48px 56px 72px;
  }

  .legal {
    max-width: 720px;
    padding: 56px 56px 80px;
  }

  .visuals {
    width: 60%;
    margin: 0;
    gap: 28px;
    justify-self: start;
  }

  .card {
    min-height: 0;
  }

  h1 {
    font-size: clamp(40px, 4.2vw, 46px);
  }

  .lead {
    font-size: clamp(21px, 2.6vw, 28px);
    line-height: 1.55;
  }

  .cta {
    font-size: 24px;
    padding: 16px 30px;
  }

  .footer {
    padding: 28px 56px 32px;
    font-size: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
