:root {
  --forest: #1b4332;
  --forest-mid: #2d6a4f;
  --forest-soft: #40916c;
  --cream: #f5f0e6;
  --cream-deep: #ebe4d4;
  --ink: #14201a;
  --muted: #4a554e;
  --sand: #d8cfc0;
  --max: 68rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Avenir Next", "Segoe UI", "Helvetica Neue", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(64, 145, 108, 0.18), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(27, 67, 50, 0.12), transparent 50%),
    linear-gradient(180deg, var(--cream) 0%, var(--cream-deep) 100%);
  min-height: 100vh;
  line-height: 1.55;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--forest-mid);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--forest);
}

.wrap {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* —— Nav —— */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0 0;
  gap: 1rem;
}

.nav-brand {
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--forest);
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.92rem;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--forest);
}

/* —— Hero —— */
.hero {
  min-height: calc(100svh - 4rem);
  display: grid;
  align-content: center;
  padding: 3.5rem 0 4rem;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 8% auto auto 55%;
  width: min(38vw, 22rem);
  height: min(38vw, 22rem);
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 35%, rgba(64, 145, 108, 0.35), transparent 60%),
    radial-gradient(circle at 70% 70%, rgba(27, 67, 50, 0.25), transparent 55%);
  filter: blur(2px);
  animation: drift 14s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 0;
}

.hero > * {
  position: relative;
  z-index: 1;
}

.brand-mark {
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  font-size: clamp(3.2rem, 10vw, 5.5rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  color: var(--forest);
  margin: 0 0 1rem;
  line-height: 0.95;
  animation: rise 0.9s ease-out both;
}

.hero-lead {
  max-width: 28rem;
  font-size: clamp(1.05rem, 2.4vw, 1.25rem);
  color: var(--muted);
  margin: 0 0 2rem;
  animation: rise 0.9s ease-out 0.12s both;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  animation: rise 0.9s ease-out 0.24s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.35rem;
  border-radius: 0.35rem;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border: 1.5px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--forest);
  color: var(--cream);
}

.btn-primary:hover {
  background: var(--forest-mid);
  color: var(--cream);
}

.btn-ghost {
  background: transparent;
  border-color: var(--forest);
  color: var(--forest);
}

.btn-ghost:hover {
  background: rgba(27, 67, 50, 0.06);
  color: var(--forest);
}

.btn-disabled {
  opacity: 0.72;
  cursor: not-allowed;
  pointer-events: none;
}

.cta-note {
  margin: 0.85rem 0 0;
  font-size: 0.85rem;
  color: var(--muted);
  animation: rise 0.9s ease-out 0.32s both;
}

/* —— Features —— */
.features {
  padding: 4.5rem 0 5rem;
  border-top: 1px solid rgba(27, 67, 50, 0.12);
}

.section-title {
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  color: var(--forest);
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
}

.section-lead {
  margin: 0 0 2.5rem;
  max-width: 32rem;
  color: var(--muted);
}

.feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.75rem;
}

@media (min-width: 720px) {
  .feature-list {
    grid-template-columns: 1fr 1fr;
    gap: 2rem 3rem;
  }
}

.feature-list h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  color: var(--forest);
}

.feature-list p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.feature-list li {
  padding-top: 0.25rem;
  border-top: 1px solid rgba(27, 67, 50, 0.1);
  animation: fade-up 0.7s ease both;
}

.feature-list li:nth-child(1) { animation-delay: 0.05s; }
.feature-list li:nth-child(2) { animation-delay: 0.1s; }
.feature-list li:nth-child(3) { animation-delay: 0.15s; }
.feature-list li:nth-child(4) { animation-delay: 0.2s; }
.feature-list li:nth-child(5) { animation-delay: 0.25s; }
.feature-list li:nth-child(6) { animation-delay: 0.3s; }

/* —— Contact / footer —— */
.contact {
  padding: 3.5rem 0 2rem;
  border-top: 1px solid rgba(27, 67, 50, 0.12);
}

.contact a.mail {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--forest);
  text-decoration: none;
}

.contact a.mail:hover {
  text-decoration: underline;
}

.site-footer {
  padding: 2rem 0 3rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  color: var(--muted);
  border-top: 1px solid rgba(27, 67, 50, 0.1);
}

.site-footer nav {
  display: flex;
  gap: 1.25rem;
}

.site-footer a {
  color: var(--muted);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--forest);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(1.1rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes drift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(-1.5rem, 1.2rem) scale(1.06); }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
