:root {
  color-scheme: light;
  --bg: #f7faf4;
  --surface: #ffffff;
  --surface-soft: #eef4eb;
  --text: #1d261f;
  --muted: #647068;
  --line: #dfe8dc;
  --green: #3c7c54;
  --green-dark: #24513a;
  --sage: #d9e7d3;
  --gold: #c5a35c;
  --shadow: 0 18px 50px rgba(43, 68, 48, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top right, rgba(217, 231, 211, 0.7), transparent 32rem),
    var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

.site-header,
.hero,
.section,
.site-footer {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--green-dark);
  font-size: 1rem;
  font-weight: 700;
  transition: opacity 0.2s ease;
}

.brand:hover {
  opacity: 0.8;
}

.brand-mark {
  position: relative;
  width: 24px;
  height: 24px;
  border: 1px solid rgba(60, 124, 84, 0.28);
  border-radius: 50%;
  background: #f3f8ef;
}

.brand-mark::before,
.brand-mark::after {
  position: absolute;
  content: "";
  background: var(--green);
}

.brand-mark::before {
  width: 2px;
  height: 13px;
  left: 11px;
  bottom: 5px;
  border-radius: 999px;
}

.brand-mark::after {
  width: 10px;
  height: 7px;
  left: 11px;
  top: 6px;
  border-radius: 10px 10px 10px 1px;
  transform: rotate(-28deg);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 500;
}

.site-nav a {
  position: relative;
  padding-bottom: 2px;
  transition: color 0.22s ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background: currentColor;
  border-radius: 999px;
  transition: width 0.25s ease;
}

.site-nav a:hover::after {
  width: 100%;
}

.site-nav a:hover,
.footer-links a:hover {
  color: var(--green-dark);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 48px;
  align-items: center;
  min-height: 66vh;
  padding: 56px 0 86px;
}

.hero-copy {
  max-width: 720px;
}

.eyebrow,
.section-kicker,
.card-label {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(3rem, 7vw, 5.8rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-subtitle {
  max-width: 560px;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 8px;
  background: var(--green-dark);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 12px 28px rgba(36, 81, 58, 0.18);
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.button:hover {
  background: #1c432f;
  box-shadow: 0 18px 36px rgba(36, 81, 58, 0.28);
  transform: translateY(-1px);
}

.button:active {
  transform: translateY(0);
}

.growth-accent {
  position: relative;
  width: min(100%, 300px);
  aspect-ratio: 1;
  justify-self: end;
  border: 1px solid var(--line);
  border-radius: 50%;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(238, 244, 235, 0.8)),
    var(--surface-soft);
  box-shadow: var(--shadow);
}

.accent-stem,
.accent-leaf,
.accent-dot {
  position: absolute;
  display: block;
}

.accent-stem {
  width: 5px;
  height: 122px;
  left: 50%;
  bottom: 68px;
  border-radius: 999px;
  background: linear-gradient(var(--green), var(--green-dark));
  transform: translateX(-50%);
}

.accent-leaf {
  width: 78px;
  height: 48px;
  border: 1px solid rgba(60, 124, 84, 0.2);
  background: linear-gradient(135deg, #7bad79, #dcebd5);
}

.accent-leaf-one {
  top: 82px;
  left: 145px;
  border-radius: 48px 48px 48px 8px;
  transform: rotate(-22deg);
}

.accent-leaf-two {
  top: 132px;
  right: 150px;
  border-radius: 48px 48px 8px 48px;
  transform: rotate(24deg);
}

.accent-dot {
  width: 12px;
  height: 12px;
  right: 78px;
  bottom: 86px;
  border-radius: 50%;
  background: var(--gold);
}

.section {
  padding: 74px 0;
}

.section-heading {
  max-width: 650px;
  margin-bottom: 30px;
}

.section-heading h2 {
  margin-bottom: 12px;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.08;
}

.section-heading p {
  color: var(--muted);
}

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

.product-card,
.value-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
}

.product-card {
  display: flex;
  min-height: 220px;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  box-shadow: 0 12px 36px rgba(43, 68, 48, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 52px rgba(43, 68, 48, 0.12);
  border-color: rgba(47, 143, 69, 0.36);
}

.product-card-featured {
  grid-column: span 2;
  background:
    linear-gradient(135deg, rgba(217, 231, 211, 0.72), rgba(255, 255, 255, 0.9)),
    var(--surface);
}

.product-card h3 {
  margin-bottom: 8px;
  font-size: 1.35rem;
}

.product-card p {
  color: var(--muted);
}

.product-card-muted {
  background: rgba(255, 255, 255, 0.58);
}

.product-card-muted span,
.text-link {
  color: var(--green-dark);
  font-size: 0.88rem;
  font-weight: 700;
}

.text-link {
  width: fit-content;
  border-bottom: 1px solid rgba(36, 81, 58, 0.28);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.text-link:hover {
  color: var(--green);
  border-color: var(--green);
}

.product-card-link {
  cursor: pointer;
  color: inherit;
  text-decoration: none;
  display: flex;
}

.product-card-link:hover .text-link {
  color: var(--green-dark);
  border-color: var(--green-dark);
}

.product-card-reportready {
  background: linear-gradient(135deg, rgba(140, 203, 154, 0.32), rgba(255, 255, 255, 0.95));
  border-color: rgba(47, 143, 69, 0.28);
}

.product-details {
  margin: 12px 0 8px;
  font-weight: 700;
  color: var(--green-dark);
}

.product-bullets {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.about-list {
  margin: 10px 0 14px;
  padding-left: 20px;
  color: var(--muted);
}

.about-list li + li {
  margin-top: 6px;
}

.footer-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-label {
  color: var(--green-dark);
  font-size: 0.84rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.philosophy {
  padding-top: 52px;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.value-card {
  min-height: 84px;
  padding: 20px;
  color: var(--green-dark);
  font-weight: 700;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
  cursor: default;
}

.value-card:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 32px rgba(43, 68, 48, 0.1);
  background: rgba(255, 255, 255, 0.95);
}

.site-footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 52px 0 34px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer-brand {
  margin-bottom: 8px;
}

.site-footer p {
  margin-bottom: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
  font-size: 0.94rem;
}

.footer-links a {
  transition: color 0.2s ease;
}

@media (max-width: 820px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 34px;
    padding-top: 36px;
  }

  .growth-accent {
    width: 220px;
    justify-self: start;
  }

  .accent-stem {
    height: 92px;
    bottom: 52px;
  }

  .accent-leaf-one {
    top: 60px;
    left: 110px;
  }

  .accent-leaf-two {
    top: 98px;
    right: 110px;
  }

  .product-grid,
  .value-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-card-reportready {
    grid-column: span 2;
  }
}

@media (max-width: 560px) {
  .site-header,
  .hero,
  .section,
  .site-footer {
    width: min(100% - 28px, 1120px);
  }

  .site-header,
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav {
    gap: 16px;
  }

  .hero {
    min-height: auto;
    padding-bottom: 56px;
  }

  h1 {
    font-size: 3rem;
  }

  .product-grid,
  .value-grid {
    grid-template-columns: 1fr;
  }

  .product-card-reportready {
    grid-column: auto;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

/* ─── NexusGarden coordinated palette ─── */
:root {
  --bg: #f7f5e6;
  --surface: #fffef5;
  --surface-soft: #edebd0;
  --text: #1c3d28;
  --muted: #5a6b50;
  --line: rgba(28, 61, 40, 0.14);
  --green: #2d8c42;
  --green-dark: #1a5c2e;
  --yellow: #e8a820;
  --red: #c0452f;
  --shadow: 0 18px 46px rgba(28, 61, 40, 0.1);
}

body {
  background:
    radial-gradient(circle at 10% 6%, rgba(232, 168, 32, 0.38), transparent 22rem),
    radial-gradient(circle at 86% 16%, rgba(192, 69, 47, 0.12), transparent 20rem),
    linear-gradient(180deg, #f7f5e6 0%, #eef5e4 60%, #f7f5e6 100%);
  color: var(--text);
}

.site-header {
  padding: 24px 0 18px;
}

.brand {
  color: var(--green-dark);
  font-size: 1.08rem;
}

.brand-mark {
  border-color: rgba(47, 143, 69, 0.32);
  background: linear-gradient(135deg, #fff2a7, #dbf59e);
}

.brand-mark::after {
  background: var(--red);
}

.site-nav {
  color: var(--muted);
}

.site-nav a:hover,
.footer-links a:hover {
  color: var(--green-dark);
}

.hero {
  grid-template-columns: 1fr;
  gap: 30px;
  min-height: auto;
  padding: 42px 0 72px;
}

.hero-copy {
  max-width: 850px;
}

.eyebrow,
.section-kicker,
.card-label {
  color: var(--red);
}

h1 {
  color: var(--green-dark);
  font-size: clamp(2.9rem, 7vw, 5.6rem);
}

h2,
h3 {
  color: var(--green-dark);
}

.hero-subtitle,
.section-heading p,
.product-card p,
.site-footer {
  color: var(--muted);
}

.button {
  background: linear-gradient(135deg, var(--red), #f57b41 48%, var(--yellow));
  color: #ffffff;
  box-shadow: 0 14px 28px rgba(223, 75, 63, 0.22);
}

.button:hover {
  background: linear-gradient(135deg, #c83f35, #ec6c32 48%, #f4b82f);
  box-shadow: 0 20px 40px rgba(223, 75, 63, 0.32);
}

/* ─── Hero banner ─── */
.hero-banner {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(47, 143, 69, 0.2);
  border-radius: 12px;
  background: #f4e8d2;
  box-shadow: 0 24px 64px rgba(89, 58, 14, 0.16);
  transition: box-shadow 0.35s ease, transform 0.35s ease;
}

.hero-banner:hover {
  box-shadow: 0 36px 80px rgba(89, 58, 14, 0.22);
  transform: translateY(-3px);
}

.hero-banner::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  z-index: 1;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.48);
  border-radius: inherit;
}

.hero-banner img {
  display: block;
  width: 100%;
  height: clamp(220px, 42vw, 520px);
  object-fit: cover;
  object-position: center;
  transition: transform 0.55s ease;
}

.hero-banner:hover img {
  transform: scale(1.025);
}

.product-card,
.value-card {
  border-color: rgba(47, 143, 69, 0.18);
  background: rgba(255, 253, 242, 0.86);
}

.product-card-featured {
  background:
    linear-gradient(135deg, rgba(255, 201, 60, 0.42), rgba(244, 255, 223, 0.92) 42%, rgba(255, 253, 242, 0.94)),
    var(--surface);
  border-color: rgba(47, 143, 69, 0.28);
}

.product-card-muted:nth-child(2) {
  border-top: 4px solid var(--yellow);
}

.product-card-muted:nth-child(3) {
  border-top: 4px solid var(--green);
}

.product-card-muted:nth-child(4) {
  border-top: 4px solid var(--red);
}

.product-card-muted:nth-child(5) {
  border-top: 4px solid #77b255;
}

.product-card-muted span,
.text-link {
  color: var(--red);
  border-color: rgba(223, 75, 63, 0.34);
}

.value-card {
  color: var(--green-dark);
  background: linear-gradient(145deg, rgba(255, 253, 242, 0.92), rgba(255, 241, 184, 0.48));
}

.value-card:nth-child(even) {
  color: var(--green-dark);
}

.value-card:hover {
  background: rgba(255, 253, 242, 0.98);
  box-shadow: 0 12px 32px rgba(89, 58, 14, 0.13);
}

.site-footer {
  border-top-color: rgba(47, 143, 69, 0.2);
}

@media (max-width: 820px) {
  .hero-banner img {
    height: clamp(210px, 52vw, 380px);
  }
}

@media (max-width: 560px) {
  .hero {
    padding-top: 26px;
  }

  h1 {
    font-size: 2.75rem;
  }

  .hero-banner img {
    height: 230px;
  }
}

/* Hero title scale */
.hero .eyebrow {
  font-size: clamp(0.95rem, 1.8vw, 1.15rem);
  text-transform: none;
}

.hero h1 {
  max-width: 620px;
  margin-bottom: 16px;
  font-size: clamp(1.25rem, 2.4vw, 1.65rem);
  line-height: 1.22;
  font-weight: 700;
}

/* Smaller brand mark */
.brand {
  gap: 6px;
  font-size: 0.82rem;
}

.brand-mark {
  width: 16px;
  height: 16px;
}

.brand-mark::before {
  width: 2px;
  height: 8px;
  left: 7px;
  bottom: 3px;
}

.brand-mark::after {
  width: 7px;
  height: 5px;
  left: 7px;
  top: 4px;
}

.brand-tagline {
  font-size: 0.74rem;
}

.hero-banner img {
  height: clamp(140px, 24vw, 280px);
}

@media (max-width: 820px) {
  .hero-banner img {
    height: clamp(140px, 36vw, 240px);
  }
}

@media (max-width: 560px) {
  .brand-tagline {
    margin-left: 22px;
  }

  .hero-banner img {
    height: 150px;
  }
}

/* Sticky nav with glass blur */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 14px 0;
  background: rgba(247, 245, 230, 0.88);
  border-bottom: 1px solid rgba(28, 61, 40, 0.12);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: box-shadow 0.3s ease, background 0.3s ease;
}

.site-header.scrolled {
  background: rgba(255, 248, 223, 0.96);
  box-shadow: 0 4px 24px rgba(89, 58, 14, 0.08);
}

/* Single product layout */
.product-grid-single {
  grid-template-columns: minmax(0, 620px);
}

.product-grid-single .product-card-featured {
  grid-column: auto;
}

/* Coming soon panel */
.coming-soon-panel {
  margin-top: 18px;
  max-width: 760px;
  padding: 24px;
  border: 1px dashed rgba(223, 75, 63, 0.38);
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(255, 201, 60, 0.28), rgba(255, 253, 242, 0.86));
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.coming-soon-panel:hover {
  border-color: rgba(223, 75, 63, 0.6);
  box-shadow: 0 12px 40px rgba(89, 58, 14, 0.1);
  transform: translateY(-2px);
}

.coming-soon-panel h3 {
  margin-bottom: 8px;
  font-size: 1.35rem;
}

.coming-soon-panel p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

@media (max-width: 820px) {
  .product-grid-single {
    grid-template-columns: 1fr;
  }
}

/* Brand tagline */
.brand-tagline {
  color: var(--red);
  font-size: 0.86rem;
  font-weight: 600;
}

@media (max-width: 560px) {
  .brand {
    flex-wrap: wrap;
  }

  .brand-tagline {
    flex-basis: 100%;
    margin-left: 28px;
  }
}

/* ─── Scroll-reveal animations ─── */
@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.reveal {
  opacity: 0;
}

.reveal.visible {
  animation: fadeSlideUp 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.reveal-fade.visible {
  animation: fadeIn 0.7s ease forwards;
}

/* stagger children */
.stagger-children > *:nth-child(1) { animation-delay: 0.05s; }
.stagger-children > *:nth-child(2) { animation-delay: 0.12s; }
.stagger-children > *:nth-child(3) { animation-delay: 0.19s; }
.stagger-children > *:nth-child(4) { animation-delay: 0.26s; }
.stagger-children > *:nth-child(5) { animation-delay: 0.33s; }

/* ─── Section divider gradient ─── */
.section + .section {
  border-top: 1px solid rgba(47, 143, 69, 0.1);
}
