:root {
  --bg: #edf7e7;
  --surface: rgba(255, 255, 255, 0.78);
  --surface-strong: #ffffff;
  --ink: #14311c;
  --muted: #5f7461;
  --line: rgba(28, 84, 31, 0.12);
  --primary: #2d8a1f;
  --primary-deep: #14581a;
  --accent: #dff47c;
  --header-dark: #17341d;
  --shadow: 0 20px 55px rgba(18, 61, 21, 0.14);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at left top, rgba(160, 228, 82, 0.25), transparent 28%),
    linear-gradient(180deg, #fbfef8 0%, #eef7ea 100%);
}

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

.announcement-bar {
  background: #102714;
  color: #eaf6e6;
  font-size: 0.9rem;
  text-align: center;
  padding: 10px 16px;
}

.announcement-bar p {
  margin: 0;
}

.market-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(248, 252, 245, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.header-inner,
.site-shell,
.footer {
  width: min(1240px, calc(100% - 28px));
  margin: 0 auto;
}

.header-inner {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) 340px;
  gap: 20px;
  align-items: center;
  padding: 14px 0;
}

.brand-lockup img {
  width: 210px;
  max-width: 100%;
  display: block;
}

.search-shell {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
}

.search-label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.search-shell input {
  width: 100%;
  min-height: 52px;
  border-radius: 999px;
  border: 1px solid rgba(20, 88, 26, 0.14);
  padding: 0 22px;
  font: inherit;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.search-shell button,
.button,
.cta-small {
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  font: inherit;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.search-shell button {
  min-height: 52px;
  padding: 0 24px;
  background: linear-gradient(135deg, #95d42f 0%, #2d8a1f 100%);
  color: #fff;
  box-shadow: var(--shadow);
}

.search-shell button:hover,
.button:hover {
  transform: translateY(-2px);
}

.header-actions {
  display: flex;
  justify-content: flex-end;
  gap: 22px;
}

.header-actions a {
  display: grid;
  gap: 4px;
  text-align: right;
  min-width: 86px;
}

.action-label {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.header-actions strong {
  font-size: 0.88rem;
  line-height: 1.25;
}

.category-rail {
  display: flex;
  gap: 22px;
  align-items: center;
  overflow: visible;
  white-space: nowrap;
  padding: 12px max(14px, calc((100vw - 1240px) / 2 + 14px));
  background: var(--header-dark);
  color: #eff9eb;
  font-weight: 700;
}

.category-rail a {
  opacity: 0.95;
}

.category-rail a:first-child {
  font-weight: 800;
}

.menu-item {
  position: relative;
  display: flex;
  align-items: center;
}

.menu-item > a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
}

.mega-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  display: none;
  grid-template-columns: repeat(6, minmax(180px, 1fr));
  gap: 20px;
  min-width: min(1180px, calc(100vw - 32px));
  padding: 24px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.98);
  color: var(--ink);
  box-shadow: 0 22px 60px rgba(16, 39, 20, 0.18);
  border: 1px solid rgba(20, 88, 26, 0.08);
  z-index: 50;
}

.has-mega-menu:hover .mega-menu,
.has-mega-menu:focus-within .mega-menu,
.has-mega-menu.is-open .mega-menu {
  display: grid;
}

.mega-column {
  display: grid;
  align-content: start;
  gap: 8px;
}

.mega-column h3 {
  margin: 0 0 6px;
  font-size: 0.95rem;
  color: var(--primary-deep);
}

.mega-column a {
  color: var(--muted);
  font-weight: 600;
  line-height: 1.35;
}

.mega-column a:hover {
  color: var(--primary-deep);
}

.site-shell {
  padding: 28px 0 56px;
}

.hero,
.about-section {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 26px;
  align-items: stretch;
}

.hero {
  margin-bottom: 24px;
}

.hero-copy,
.hero-panel,
.quick-strip article,
.category-card,
.highlight-card,
.stats-card,
.contact-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.hero-copy {
  padding: 42px;
}

.eyebrow {
  margin: 0;
  color: var(--primary-deep);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.hero-copy h1,
.section-heading h2,
.about-copy h2 {
  margin: 14px 0 18px;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(3rem, 5vw, 5.4rem);
  line-height: 0.96;
  letter-spacing: -0.05em;
}

.hero-text,
.section-heading p,
.about-copy p,
.feature-stack p,
.category-card p,
.highlight-card p,
.contact-card p,
.quick-strip p,
.stats-card p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 26px 0 18px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 24px;
}

.button.primary {
  background: linear-gradient(135deg, #95d42f 0%, #2d8a1f 100%);
  color: white;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--line);
}

.hero-points {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  font-weight: 700;
  color: var(--muted);
}

.hero-points li::before {
  content: "\2022";
  color: var(--primary);
  margin-right: 10px;
}

.tag {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(45, 138, 31, 0.1);
  color: var(--primary-deep);
  font-weight: 800;
  font-size: 0.85rem;
}

.hero-panel {
  padding: 26px;
  background:
    radial-gradient(circle at top right, rgba(182, 241, 97, 0.44), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(238, 248, 232, 0.9));
}

.hero-panel-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 18px;
}

.feature-stack {
  display: grid;
  gap: 14px;
}

.feature-stack article {
  padding: 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(28, 84, 31, 0.08);
}

.feature-stack h3 {
  margin: 14px 0 8px;
  font-size: 1.18rem;
  line-height: 1.2;
}

.quick-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 26px;
}

.quick-strip article {
  padding: 22px;
}

.quick-strip strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.05rem;
}

section {
  padding: 34px 0;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 22px;
}

.section-heading h2,
.about-copy h2 {
  font-size: clamp(2rem, 3.4vw, 3.4rem);
}

.category-grid,
.highlight-grid,
.contact-grid {
  display: grid;
  gap: 18px;
}

.category-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.highlight-grid,
.contact-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.category-card,
.highlight-card,
.contact-card {
  padding: 24px;
}

.category-card {
  min-height: 190px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(237, 247, 232, 0.88)),
    var(--surface);
}

.category-card h3,
.highlight-card h3,
.contact-card h3 {
  margin: 0 0 10px;
  font-size: 1.18rem;
}

.highlight-card strong {
  display: inline-flex;
  margin-bottom: 22px;
  color: var(--primary);
  font-size: 2rem;
  font-family: "Space Grotesk", sans-serif;
}

.about-section {
  gap: 34px;
}

.stats-card {
  display: grid;
  gap: 18px;
  padding: 28px;
}

.stats-card span {
  display: block;
  color: var(--primary-deep);
  font-family: "Space Grotesk", sans-serif;
  font-size: 3rem;
  font-weight: 700;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 0 0 34px;
  color: var(--muted);
  font-weight: 700;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 650ms ease, transform 650ms ease;
}

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

@media (max-width: 1180px) {
  .header-inner {
    grid-template-columns: 220px 1fr;
  }

  .header-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

  .hero,
  .about-section,
  .highlight-grid,
  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .category-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

@media (max-width: 760px) {
  .header-inner,
  .hero,
  .about-section,
  .quick-strip,
  .category-grid,
  .highlight-grid,
  .contact-grid,
  .footer {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }

  .header-inner {
    display: grid;
  }

  .search-shell {
    grid-template-columns: 1fr;
  }

  .header-actions {
    display: grid;
    gap: 10px;
    width: 100%;
  }

  .header-actions a {
    text-align: left;
  }

  .brand-lockup img {
    width: 180px;
  }

  .hero-copy,
  .hero-panel,
  .quick-strip article,
  .category-card,
  .highlight-card,
  .contact-card,
  .stats-card {
    border-radius: 20px;
  }

  .hero-copy {
    padding: 28px;
  }

  .hero-copy h1 {
    font-size: clamp(2.5rem, 11vw, 4rem);
  }

  .category-rail {
    overflow-x: auto;
    overflow-y: visible;
    padding-left: 14px;
    padding-right: 14px;
  }

  .mega-menu {
    position: fixed;
    left: 14px;
    right: 14px;
    top: 140px;
    min-width: auto;
    max-height: 70vh;
    overflow: auto;
    grid-template-columns: 1fr;
  }
}
