:root {
  --bg: #fdfbf4;
  --bg-soft: #fbe8ce;
  --card: #ffffff;
  --text: #334124;
  --muted: #667553;
  --primary: #9ab17a;
  --primary-2: #c3cc9b;
  --accent: #e4dfb5;
  --ok: #9ab17a;
  --ring: rgba(154, 177, 122, 0.35);
}

* { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
}

body { position: relative; min-height: 100vh; line-height: 1.65; overflow-x: hidden; }

.page-bg {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(45rem 45rem at 5% 8%, rgba(154, 177, 122, 0.18), transparent 55%),
    radial-gradient(40rem 40rem at 88% 15%, rgba(195, 204, 155, 0.22), transparent 56%),
    linear-gradient(180deg, #fffcf7 0%, #fef7ec 48%, #fbe8ce 100%);
  z-index: -3;
}

.blob {
  position: fixed;
  border-radius: 999px;
  filter: blur(30px);
  z-index: -2;
  opacity: 0.45;
}

.blob-1 {
  width: 200px;
  height: 200px;
  background: rgba(154, 177, 122, 0.55);
  top: 140px;
  left: -40px;
  animation: floatBlob 9s ease-in-out infinite;
}

.blob-2 {
  width: 240px;
  height: 240px;
  background: rgba(228, 223, 181, 0.8);
  right: -60px;
  top: 420px;
  animation: floatBlob 11s ease-in-out infinite reverse;
}

.topbar, main { max-width: 1160px; margin: 0 auto; }
.topbar {
  padding: 1.6rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: .55rem;
}

.logo { color: var(--text); text-decoration: none; font-size: 1.2rem; font-weight: 800; }
.logo span { color: var(--primary-2); }
.nav { display: flex; gap: 1.1rem; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 600; transition: color .2s ease; }
.nav a:hover { color: var(--text); }

main { padding: 0 1rem 7rem; }

.hero {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.5rem;
  align-items: stretch;
}

.hero-copy, .hero-card, .card, .feature, .use-case, .project-card, .testimonial, .faq-item, .cta {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(255, 248, 243, 0.92));
  border: 1px solid rgba(154, 177, 122, 0.28);
  border-radius: 20px;
  box-shadow: 0 14px 32px rgba(98, 117, 76, 0.1);
}

.hero-copy, .hero-card { padding: 2.6rem; }
.eyebrow { color: var(--ok); text-transform: uppercase; letter-spacing: 1.1px; font-size: .78rem; font-weight: 700; margin: 0 0 .5rem; }
h1,h2,h3,h4 { margin: 0 0 .8rem; line-height: 1.2; }
h1 { font-size: clamp(2.2rem, 4.7vw, 3.8rem); max-width: 12ch; }
h1 span { background: linear-gradient(90deg, var(--primary), var(--primary-2)); -webkit-background-clip:text; background-clip:text; color: transparent; }
.subtitle { color: var(--muted); font-size: 1.08rem; max-width: 44ch; }
.hero-cta { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 1.5rem; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 12px; padding: .8rem 1.2rem;
  text-decoration: none; font-weight: 700; color: #fff;
  border: 1px solid transparent;
  background: linear-gradient(90deg, #8eab68, #bfc99a);
  box-shadow: 0 10px 24px rgba(154, 177, 122, 0.34);
  transition: transform .22s ease, box-shadow .22s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 28px rgba(154, 177, 122, 0.4); }
.btn:focus-visible { outline: 3px solid var(--ring); outline-offset: 2px; }
.btn-ghost { color: var(--text); border-color: rgba(154, 177, 122, 0.4); background: rgba(255,255,255,.8); box-shadow: none; }
.btn-sm { padding: .5rem .85rem; font-size: .9rem; }

.metric {
  margin-top: .9rem; padding: .95rem; border-radius: 12px;
  background: rgba(255,255,255,.9);
  border: 1px solid rgba(154,177,122,.28);
  display:flex; justify-content:space-between; align-items:center; gap:.8rem;
}
.metric span { color: var(--muted); }
.metric strong { color: #415231; white-space: nowrap; }

.hero-card-note {
  margin: .1rem 0 .9rem;
  color: var(--muted);
  font-size: .95rem;
  max-width: 34ch;
}

.hero-mini-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .6rem;
  margin-bottom: .85rem;
}

.hero-mini-stats div {
  border: 1px solid rgba(154, 177, 122, 0.25);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.75);
  padding: .5rem .55rem;
  text-align: center;
}

.hero-mini-stats span {
  display: block;
  font-size: .72rem;
  color: var(--muted);
  line-height: 1.1;
}

.hero-mini-stats strong {
  display: block;
  margin-top: .2rem;
  font-size: .98rem;
  color: #3e4f2e;
}

.hero-points {
  margin: .95rem 0 0;
  padding-left: 1.05rem;
  color: var(--muted);
}

.section { margin-top: 7.5rem; }

.section-head { margin-bottom: 2rem; text-align: center; }
.section-head h2 { font-size: clamp(1.8rem, 2.8vw, 2.9rem); max-width: 20ch; margin-inline: auto; }

.section-head--wide h2 {
  max-width: min(100%, 46ch);
}

.pricing-note {
  text-align: center;
  color: var(--muted);
  margin: -0.4rem auto 2rem;
  max-width: 62ch;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.price-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(252, 245, 233, 0.9));
  border: 1px solid rgba(154, 177, 122, 0.3);
  border-radius: 18px;
  padding: 1.2rem;
  box-shadow: 0 12px 28px rgba(98, 117, 76, 0.09);
  transition: transform .25s ease, box-shadow .25s ease;
}

.price-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 34px rgba(98, 117, 76, 0.14);
}

.price-card-featured {
  border-color: rgba(154, 177, 122, 0.55);
  box-shadow: 0 16px 34px rgba(98, 117, 76, 0.16);
}

.plan-name {
  margin: 0;
  font-weight: 700;
  color: #445536;
}

.plan-price {
  margin: .35rem 0 .1rem;
  font-size: 2rem;
  line-height: 1;
  font-weight: 800;
  color: #2f3f23;
}

.plan-price span {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--muted);
  margin-left: .2rem;
}

.plan-billing {
  margin: .35rem 0 .8rem;
  color: var(--muted);
  font-size: .92rem;
}

.price-card ul {
  margin: 0;
  padding-left: 1rem;
  color: var(--muted);
}

.cards, .section-alt .features, .testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.card, .feature, .testimonial, .project-card { padding: 1.5rem; transition: transform .25s ease, box-shadow .25s ease; }
.card:hover, .feature:hover, .testimonial:hover, .project-card:hover { transform: translateY(-5px); box-shadow: 0 18px 34px rgba(98,117,76,.14); }

.card p, .feature p, .testimonial p, .project-card p { color: var(--muted); }
.card ul { margin: .45rem 0 0; padding-left: 1.1rem; color: var(--muted); }
.card-icon {
  width: 2.1rem; height: 2.1rem; border-radius: 8px; display:grid; place-content:center; font-weight:800;
  background: linear-gradient(120deg, #9ab17a, #c3cc9b); color: #2f3a24; margin-bottom: .9rem;
}

.use-cases {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.4rem;
}
.use-case { padding: 1.55rem; }
.use-case p { margin: 0; color: var(--muted); }

.track-intro {
  text-align: center;
  color: var(--muted);
  max-width: 52ch;
  margin: -0.5rem auto 2.2rem;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}

.project-card h3 {
  font-size: 1.08rem;
  margin: 0 0 .45rem;
  color: #2f3f23;
}

.project-tag {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #4a5c38;
  padding: .22rem .5rem;
  border-radius: 999px;
  background: rgba(154, 177, 122, 0.2);
  border: 1px solid rgba(154, 177, 122, 0.28);
  margin-bottom: .75rem;
}

.project-card .project-metric {
  margin: 0 0 .55rem;
  font-size: 1.65rem;
  font-weight: 800;
  line-height: 1.1;
  color: #2f3f23;
  letter-spacing: -0.02em;
}

.project-desc {
  margin: 0 0 .65rem;
  font-size: .92rem;
  line-height: 1.55;
}

.project-card .project-source {
  margin: 0;
  font-size: .82rem;
  font-weight: 600;
  color: var(--ok);
  word-break: break-word;
}

.testimonials { margin-top: .2rem; }
.testimonial span { display:block; margin-top: .7rem; font-size: .9rem; font-weight: 600; color: #4e5f3b; }

.faq-list { display: grid; gap: .95rem; }
.faq-item { padding: 1rem 1.1rem; }
.faq-item summary { cursor: pointer; font-weight: 700; }
.faq-item p { color: var(--muted); margin: .7rem 0 0; }

.cta {
  text-align: center;
  padding: 3.2rem 2rem;
  background: linear-gradient(140deg, rgba(154, 177, 122, 0.22), rgba(195, 204, 155, 0.26), rgba(251, 232, 206, 0.78));
}
.cta p { max-width: 56ch; margin: .8rem auto 0; color: var(--muted); }
.cta-actions { margin-top: 1.6rem; display: flex; justify-content: center; gap: .75rem; flex-wrap: wrap; }
.cta small { display:block; margin-top: .8rem; color: var(--muted); }

.site-footer {
  margin-top: 1.5rem;
  background: linear-gradient(180deg, rgba(251, 245, 232, 0.9), rgba(246, 239, 221, 0.95));
  color: var(--muted);
  border-top: 1px solid rgba(154, 177, 122, 0.32);
}

.footer-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 2.4rem 1rem 1.1rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 2rem;
}

.footer-brand {
  color: var(--text);
  text-decoration: none;
  font-weight: 800;
  font-size: 1.05rem;
}

.footer-grid h4 {
  color: var(--text);
  font-size: .85rem;
  letter-spacing: .3px;
  margin: 0 0 .7rem;
}

.footer-grid p {
  color: var(--muted);
  margin: .65rem 0 0;
  max-width: 32ch;
}

.footer-grid a {
  display: block;
  color: var(--muted);
  text-decoration: none;
  margin: .3rem 0;
}

.footer-grid a:hover {
  color: var(--text);
}

.footer-bottom {
  border-top: 1px solid rgba(154, 177, 122, 0.28);
  margin-top: 1.5rem;
  padding-top: .95rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-bottom p {
  margin: 0;
  color: var(--muted);
  font-size: .88rem;
}

.footer-bottom div {
  display: flex;
  gap: .9rem;
  flex-wrap: wrap;
}

.footer-bottom a {
  color: var(--muted);
  text-decoration: none;
  font-size: .88rem;
}

.footer-bottom a:hover {
  color: var(--text);
}

/* Animation */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .65s ease, transform .65s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }

@keyframes floatBlob {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr 1fr; }
  .cards, .section-alt .features, .testimonials { grid-template-columns: 1fr 1fr; }
  .projects-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .topbar { flex-wrap: wrap; }
  .nav { order: 3; width: 100%; justify-content: center; }
  .topbar-actions { width: 100%; justify-content: center; }
  .hero-copy, .hero-card { padding: 1.5rem; }
  .pricing-grid { grid-template-columns: 1fr; }
  .cards, .section-alt .features, .use-cases, .testimonials, .projects-grid { grid-template-columns: 1fr; }
  .section { margin-top: 5.5rem; }
  .hero-mini-stats { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
