:root {
  --green-900: #143528;
  --green-800: #1b4332;
  --green-700: #2d6a4f;
  --green-600: #40916c;
  --green-500: #52b788;
  --ink: #142018;
  --muted: #4d5a50;
  --line: #d7ddd6;
  --paper: #ffffff;
  --wash: #f6f7f4;
  --quote: #ecefe8;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(20, 53, 40, 0.08);
  --max: 1120px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  min-height: 100vh;
}

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

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

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

/* Header */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  padding: 18px 0 10px;
}

.header-inner,
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--green-800);
}

.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-text strong {
  font-family: Outfit, sans-serif;
  font-size: 1.55rem;
  letter-spacing: 0.01em;
  font-weight: 800;
}
.logo-text strong span { color: var(--green-600); }
.logo-text em {
  font-style: normal;
  font-size: 0.72rem;
  color: var(--muted);
  font-weight: 500;
  margin-top: 3px;
}
.logo-text .slogan {
  font-style: normal;
  font-size: 0.68rem;
  color: var(--green-800);
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-top: 5px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--green-800);
}

.nav a { position: relative; padding: 4px 0; }
.nav a.active::after,
.nav a:hover::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--green-800);
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  width: 42px;
  height: 42px;
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--green-800);
  position: relative;
}
.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}
.menu-toggle span::before { top: -7px; }
.menu-toggle span::after { top: 7px; }

/* Hero */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 120px 20px 42%;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.55) 0%, rgba(255,247,230,0.18) 28%, rgba(0,0,0,0.08) 70%, rgba(0,0,0,0.18) 100%),
    url("../images/hero.jpg") center 62% / cover no-repeat;
  color: var(--ink);
  text-align: center;
}

.hero-content { width: min(780px, 100%); }

.hero h1 {
  font-family: Outfit, sans-serif;
  font-weight: 800;
  font-size: clamp(3.2rem, 8vw, 5.4rem);
  letter-spacing: -0.03em;
  line-height: 0.95;
  color: var(--green-800);
}
.hero h1 span { color: var(--green-600); }

.hero .subtitle {
  margin-top: 10px;
  font-size: clamp(1.2rem, 2.4vw, 1.7rem);
  font-weight: 500;
  color: var(--green-800);
}

.hero .rule {
  width: 56px;
  height: 3px;
  background: var(--green-700);
  margin: 16px auto 18px;
  border: 0;
}

.hero .tagline {
  font-family: Outfit, sans-serif;
  font-weight: 700;
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1.25;
  color: var(--green-900);
  max-width: 640px;
  margin: 0 auto;
}

.hero p.lead {
  margin: 18px auto 0;
  max-width: 560px;
  font-size: 1.05rem;
  color: var(--ink);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  font-weight: 700;
  border-radius: 999px;
  padding: 13px 28px;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.btn-primary {
  background: var(--green-700);
  color: #fff;
  box-shadow: 0 8px 18px rgba(45, 106, 79, 0.25);
}
.btn-primary:hover { background: var(--green-800); transform: translateY(-1px); }

.hero .btn { margin-top: 26px; min-width: 220px; font-size: 1.05rem; }

/* Features */
.features {
  background: var(--paper);
  padding: 56px 0 28px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  text-align: center;
}

.icon-circle {
  width: 64px;
  height: 64px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--green-800);
  color: #fff;
  display: grid;
  place-items: center;
}
.icon-circle svg { width: 28px; height: 28px; }

.feature h3 {
  font-family: Outfit, sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.feature p {
  color: var(--muted);
  font-size: 0.98rem;
  max-width: 210px;
  margin: 0 auto;
}

/* Coming soon */
.soon {
  padding: 20px 0 64px;
  text-align: center;
}

.soon .divider {
  width: min(var(--max), calc(100% - 40px));
  height: 1px;
  background: var(--line);
  margin: 8px auto 48px;
}

.soon h2 {
  font-family: Outfit, sans-serif;
  font-size: clamp(2rem, 4vw, 2.7rem);
  font-weight: 800;
  color: var(--green-800);
}

.soon p {
  max-width: 620px;
  margin: 14px auto 28px;
  color: var(--ink);
  font-size: 1.05rem;
}

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

.signup input[type="email"] {
  width: min(360px, 100%);
  height: 48px;
  border: 1px solid #cfd6cc;
  border-radius: 999px;
  padding: 0 20px;
  font: inherit;
  background: #fff;
  outline: none;
}
.signup input:focus { border-color: var(--green-700); box-shadow: 0 0 0 3px rgba(45,106,79,0.15); }

.privacy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.9rem;
}
.privacy svg { width: 14px; height: 14px; }

.form-note {
  margin-top: 14px;
  min-height: 1.4em;
  font-weight: 600;
  color: var(--green-700);
}

/* Quote */
.quote {
  background: var(--quote);
  text-align: center;
  padding: 42px 20px;
}

.quote blockquote {
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  color: var(--ink);
  max-width: 760px;
  margin: 0 auto;
}

.quote cite {
  display: block;
  margin-top: 16px;
  font-style: normal;
  font-family: Outfit, sans-serif;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--green-800);
  font-size: 0.95rem;
}
.quote cite::before,
.quote cite::after {
  content: "—";
  margin: 0 10px;
  color: var(--green-700);
}

/* Inner pages */
.page-hero {
  padding: 140px 0 48px;
  background:
    linear-gradient(180deg, #eef3ec 0%, #f7f8f5 100%);
  text-align: center;
}
.page-hero h1 {
  font-family: Outfit, sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  color: var(--green-800);
}
.page-hero p {
  max-width: 640px;
  margin: 12px auto 0;
  color: var(--muted);
  font-size: 1.1rem;
}

.page-body { padding: 56px 0 80px; }
.page-body h2 {
  font-family: Outfit, sans-serif;
  color: var(--green-800);
  margin: 28px 0 10px;
}
.page-body p, .page-body li { color: var(--ink); font-size: 1.05rem; }
.page-body ul { padding-left: 20px; margin: 10px 0 20px; }
.page-body li { margin: 6px 0; }
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 28px;
}
.card {
  background: var(--wash);
  border-radius: 16px;
  padding: 24px;
}
.card h3 { font-family: Outfit, sans-serif; color: var(--green-800); margin-bottom: 8px; }

.contact-form {
  max-width: 560px;
  margin: 24px auto 0;
  display: grid;
  gap: 12px;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #cfd6cc;
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
}
.contact-form textarea { min-height: 140px; resize: vertical; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 22px 0;
  background: #fff;
}
.footer-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.95rem;
}
.footer-links span { color: #b7c0b5; }
.social {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--green-800);
  font-weight: 600;
}
.social a {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
}
.social svg { width: 20px; height: 20px; }

.header-solid {
  position: sticky;
  top: 0;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

@media (max-width: 900px) {
  .feature-grid, .card-grid { grid-template-columns: 1fr 1fr; }
  .hero { padding-bottom: 46%; min-height: 86vh; }
}

@media (max-width: 720px) {
  .hero {
    min-height: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 100px 18px 0;
    background: #f7f4ec;
  }
  .hero-content { width: 100%; padding-bottom: 8px; }
  .hero h1 { font-size: 2.55rem; }
  .hero .subtitle { font-size: 1.12rem; }
  .hero .tagline { font-size: 1.25rem; }
  .hero p.lead {
    font-size: 1.02rem;
    color: #1a2a1c;
    font-weight: 600;
  }
  .hero .btn { margin-top: 18px; width: min(100%, 320px); }
  .hero::after {
    content: "";
    display: block;
    width: 100vw;
    height: 58vw;
    min-height: 260px;
    max-height: 420px;
    margin: 22px 0 0;
    background: url("../images/hero.jpg") center 72% / cover no-repeat;
  }
  .menu-toggle { display: grid; place-items: center; }
  .nav {
    display: none;
    position: absolute;
    top: 72px;
    right: 16px;
    left: 16px;
    background: #fff;
    border-radius: 16px;
    padding: 16px;
    flex-direction: column;
    align-items: flex-start;
    box-shadow: var(--shadow);
  }
  .nav.open { display: flex; }
  .feature-grid, .card-grid, .header-inner, .footer-inner { grid-template-columns: 1fr; }
  .header-inner, .footer-inner { flex-wrap: wrap; }
  .hero { padding: 110px 16px 38%; }
  .signup { flex-direction: column; align-items: center; }
  .signup input, .signup .btn { width: min(360px, 100%); }
  .footer-links { width: 100%; justify-content: center; }
  .social { width: 100%; justify-content: center; }
}
