:root {
  --bg: #eef3ef;
  --ink: #1c2a22;
  --muted: #5c6d64;
  --accent: #2f6b4f;
  --accent-soft: #dceee4;
  --accent-deep: #1f4a36;
  --line: #d0dcd4;
  --white: #ffffff;
  --sand: #f3f7f3;
  --shadow: 0 22px 48px rgba(28, 42, 34, 0.12);
  --radius: 18px;
  --font-sans: "Figtree", system-ui, sans-serif;
  --font-display: "Literata", Georgia, serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

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

/* —— Nav —— */
.site-nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px clamp(20px, 4vw, 48px);
}

.nav-brand {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--white);
  letter-spacing: -0.02em;
  opacity: 0.92;
}

.nav-cta {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  padding: 10px 18px;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.nav-cta:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.8);
  transform: translateY(-1px);
}

/* —— Hero —— */
.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 35%;
  transform: scale(1.04);
  animation: hero-ken 18s ease-out forwards;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(15, 32, 24, 0.28) 0%, rgba(15, 32, 24, 0.18) 35%, rgba(15, 32, 24, 0.72) 78%, rgba(15, 32, 24, 0.9) 100%),
    radial-gradient(900px 480px at 70% 20%, rgba(47, 107, 79, 0.25), transparent 60%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  padding: 0 clamp(20px, 4vw, 48px) clamp(48px, 8vh, 88px);
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 9vw, 5.6rem);
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin: 0 0 18px;
  color: var(--white);
  opacity: 0;
  transform: translateY(18px);
  animation: rise 0.9s ease 0.15s forwards;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3.4vw, 2.15rem);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 12px;
  max-width: 18ch;
  opacity: 0;
  transform: translateY(18px);
  animation: rise 0.9s ease 0.3s forwards;
}

.hero-lead {
  margin: 0 0 28px;
  font-size: clamp(1.02rem, 2vw, 1.15rem);
  color: rgba(255, 255, 255, 0.88);
  max-width: 36ch;
  opacity: 0;
  transform: translateY(18px);
  animation: rise 0.9s ease 0.45s forwards;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  opacity: 0;
  transform: translateY(18px);
  animation: rise 0.9s ease 0.6s forwards;
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 16px;
  font: inherit;
  font-weight: 700;
  font-size: 1rem;
  border: 0;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

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

.btn-primary {
  background: var(--accent);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--accent-deep);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.75);
}

.btn-solid {
  background: var(--accent);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--accent-deep);
  border: 1.5px solid var(--line);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-soon {
  background: var(--sand);
  color: var(--muted);
  cursor: default;
  transform: none !important;
}

/* —— Sections —— */
.section {
  padding: clamp(64px, 10vh, 112px) clamp(20px, 4vw, 48px);
  background:
    radial-gradient(700px 360px at 0% 0%, #f4f8f4, transparent 55%),
    radial-gradient(560px 320px at 100% 10%, #d9e8de, transparent 50%),
    var(--bg);
}

.section-alt {
  background:
    linear-gradient(180deg, #e7efe9 0%, var(--bg) 40%, #eaf1ec 100%);
}

.section-inner {
  max-width: 1080px;
  margin: 0 auto;
}

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.4rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
  color: var(--accent-deep);
  max-width: 18ch;
}

.section-lead {
  margin: 0 0 40px;
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 42ch;
}

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

.feature-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  align-items: start;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.feature-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.feature-item:last-child {
  border-bottom: 1px solid var(--line);
}

.feature-mark {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent-deep);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
}

.feature-item h3 {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--accent-deep);
}

.feature-item p {
  margin: 0;
  color: var(--muted);
  max-width: 46ch;
}

/* —— Download —— */
.download {
  padding: clamp(72px, 12vh, 120px) clamp(20px, 4vw, 48px);
  background:
    radial-gradient(800px 420px at 50% -20%, #cfe3d6, transparent 55%),
    linear-gradient(165deg, var(--accent-deep) 0%, #274f3a 48%, #1a3829 100%);
  color: var(--white);
  text-align: center;
}

.download .section-heading {
  color: var(--white);
  margin-left: auto;
  margin-right: auto;
  max-width: 16ch;
}

.download .section-lead {
  color: rgba(255, 255, 255, 0.82);
  margin-left: auto;
  margin-right: auto;
}

.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.download .btn-primary {
  background: var(--white);
  color: var(--accent-deep);
}

.download .btn-primary:hover {
  background: var(--accent-soft);
}

.download .btn-soon {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

/* —— Footer —— */
.site-footer {
  padding: 28px clamp(20px, 4vw, 48px) 36px;
  background: var(--accent-deep);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
}

.footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  align-items: baseline;
  justify-content: space-between;
}

.footer-brand {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--white);
  font-size: 1.1rem;
}

.footer-meta a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-meta a:hover {
  color: var(--white);
}

/* —— Motion —— */
@keyframes rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-ken {
  to {
    transform: scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-media img,
  .hero-brand,
  .hero-title,
  .hero-lead,
  .hero-actions,
  .feature-item {
    animation: none !important;
    transition: none !important;
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 640px) {
  .hero-content {
    padding-bottom: 40px;
  }

  .feature-item {
    grid-template-columns: 44px 1fr;
    gap: 14px;
  }

  .feature-mark {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    font-size: 1rem;
  }
}
