:root {
  --grove-charcoal: #101010;
  --grove-ivory: #FFF9E4;
  --grove-yellow: #E3D27A;
  --grove-mist: #C8D4C0;
  --grove-silversage: #8FA88F;
  --grove-moss: #3A4A3A;
  --grove-black-400: #1a1a1a;
  --grove-black-500: #222222;
}

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

html {
  scroll-behavior: smooth;
}

body.grove-page {
  background-color: var(--grove-charcoal);
  color: var(--grove-ivory);
  font-family: var(--font-primary, 'Inter', sans-serif);
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/* ===== WRAPPER ===== */
.grove-wrapper {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (min-width: 768px) {
  .grove-wrapper {
    padding: 0 2rem;
  }
}

@media (min-width: 1024px) {
  .grove-wrapper {
    padding: 0 3rem;
  }
}

/* ===== HEADER / NAV ===== */
.grove-header {
  background-color: var(--grove-charcoal);
  border-bottom: 1px solid var(--grove-ivory);
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 100;
}

.grove-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  padding: 1rem 1.5rem;
  max-width: 1280px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .grove-header-inner {
    padding: 1.5rem 2rem;
    min-height: 96px;
  }
}

.grove-nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.grove-nav-logo svg,
.grove-nav-logo img {
  height: 24px;
  width: auto;
}

@media (min-width: 1024px) {
  .grove-nav-logo svg,
  .grove-nav-logo img {
    height: 31px;
  }
}

.grove-nav-links {
  display: none;
  align-items: center;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (min-width: 768px) {
  .grove-nav-links {
    display: flex;
  }
}

.grove-nav-links a {
  color: var(--grove-ivory);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.2s ease;
}

.grove-nav-links a:hover,
.grove-nav-links a.active {
  color: var(--grove-yellow);
}

.grove-nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--grove-yellow);
  color: var(--grove-charcoal);
  border: 1px solid var(--grove-yellow);
  border-radius: 4px;
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}

.grove-nav-cta:hover {
  background-color: transparent;
  color: var(--grove-yellow);
  box-shadow: 0 0 29px 1px rgba(227, 210, 122, 0.51);
}

/* ===== HERO SECTION ===== */
.grove-hero {
  border-bottom: 1px solid var(--grove-ivory);
  padding: 5rem 0 4rem;
  position: relative;
  overflow: hidden;
}

@media (min-width: 768px) {
  .grove-hero {
    padding: 7rem 0 5rem;
  }
}

.grove-hero-content {
  max-width: 800px;
  text-align: center;
  margin: 0 auto;
}

.grove-hero h1 {
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--grove-ivory);
  margin: 0 0 1.5rem;
}

.grove-hero-subtitle {
  font-size: 1rem;
  line-height: 2rem;
  letter-spacing: 0.03em;
  color: var(--grove-ivory);
  opacity: 0.85;
  margin: 0 auto 2.5rem;
  max-width: 600px;
}

/* ===== BREADCRUMB ===== */
.grove-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 249, 228, 0.5);
  margin-bottom: 1.5rem;
  justify-content: center;
}

.grove-breadcrumb a {
  color: rgba(255, 249, 228, 0.6);
  text-decoration: none;
  transition: color 0.2s;
}

.grove-breadcrumb a:hover {
  color: var(--grove-yellow);
}

.grove-breadcrumb span {
  color: rgba(255, 249, 228, 0.3);
}

/* ===== SECTION LABEL ===== */
.grove-section-label {
  display: inline-block;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255, 249, 228, 0.6);
  margin-bottom: 1.5rem;
}

/* ===== MAIN CONTENT ===== */
.grove-main {
  flex: 1;
  padding-bottom: 5rem;
}

.grove-section {
  padding: 4rem 0;
  max-width: 100%;
  overflow-x: hidden;
}

@media (min-width: 768px) {
  .grove-section {
    padding: 5rem 0;
  }
}

.grove-section + .grove-section {
  border-top: 1px solid rgba(255, 249, 228, 0.12);
}

.grove-section-heading {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.05em;
  color: var(--grove-ivory);
  margin: 0 0 1.5rem;
}

.grove-section-body {
  font-size: 0.9375rem;
  line-height: 1.8;
  color: rgba(255, 249, 228, 0.8);
  max-width: 720px;
}

.grove-section-body p {
  margin: 0 0 1.25rem;
}

.grove-section-body p:last-child {
  margin-bottom: 0;
}

/* ===== ABOUT PAGE GRID ===== */
.grove-about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

@media (min-width: 768px) {
  .grove-about-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

@media (min-width: 1024px) {
  .grove-about-grid {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
  }
}

.grove-about-card {
  background-color: transparent;
  border: 1px solid rgba(255, 249, 228, 0.2);
  border-radius: 4px;
  padding: 2rem;
  transition: border-color 0.2s ease;
}

.grove-about-card:hover {
  border-color: rgba(255, 249, 228, 0.4);
}

.grove-about-card h3 {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--grove-ivory);
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
}

.grove-about-card p {
  font-size: 0.875rem;
  line-height: 1.7;
  color: rgba(255, 249, 228, 0.7);
  margin: 0;
}

/* ===== METRICS GRID ===== */
.grove-metrics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

@media (min-width: 768px) {
  .grove-metrics-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.grove-metric-item {
  border: 1px solid rgba(255, 249, 228, 0.2);
  border-radius: 4px;
  padding: 1.5rem;
}

.grove-metric-value {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 500;
  color: var(--grove-ivory);
  letter-spacing: -0.05em;
  line-height: 1.1;
  margin-bottom: 0.5rem;
}

.grove-metric-label {
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255, 249, 228, 0.5);
}

/* ===== FAQ LIST ===== */
.grove-faq-list {
  list-style: none;
  margin: 2.5rem 0 0;
  padding: 0;
}

.grove-faq-item {
  border-top: 1px solid rgba(255, 249, 228, 0.15);
  padding: 2rem 0;
}

.grove-faq-item:last-child {
  border-bottom: 1px solid rgba(255, 249, 228, 0.15);
}

.grove-faq-question {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--grove-ivory);
  margin: 0 0 0.875rem;
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.grove-faq-answer {
  font-size: 0.9375rem;
  line-height: 1.8;
  color: rgba(255, 249, 228, 0.75);
  margin: 0;
}

.grove-faq-answer a {
  color: var(--grove-yellow);
  text-decoration: none;
  border-bottom: 1px solid rgba(227, 210, 122, 0.4);
  transition: border-color 0.2s ease, color 0.2s ease;
}

.grove-faq-answer a:hover {
  color: var(--grove-ivory);
  border-bottom-color: var(--grove-ivory);
}

/* ===== ACCORDION FAQ (optional) ===== */
.grove-faq-accordion .grove-faq-item {
  cursor: pointer;
}

.grove-faq-accordion .grove-faq-question {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
}

.grove-faq-accordion .grove-faq-question::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--grove-yellow);
  flex-shrink: 0;
  line-height: 1;
  transition: transform 0.25s ease;
}

.grove-faq-accordion .grove-faq-item.open .grove-faq-question::after {
  transform: rotate(45deg);
}

.grove-faq-accordion .grove-faq-answer {
  display: none;
}

.grove-faq-accordion .grove-faq-item.open .grove-faq-answer {
  display: block;
  margin-top: 0;
  padding-top: 0.875rem;
}

/* ===== NUMBERED LIST ===== */
.grove-numbered-list {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  counter-reset: grove-counter;
}

.grove-numbered-list li {
  counter-increment: grove-counter;
  display: flex;
  gap: 1.25rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(255, 249, 228, 0.1);
}

.grove-numbered-list li:first-child {
  border-top: 1px solid rgba(255, 249, 228, 0.1);
}

.grove-numbered-list li::before {
  content: counter(grove-counter, decimal-leading-zero);
  font-size: 0.875rem;
  font-style: italic;
  color: var(--grove-yellow);
  flex-shrink: 0;
  width: 2rem;
  padding-top: 0.125rem;
}

.grove-numbered-list li p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: rgba(255, 249, 228, 0.8);
}

.grove-numbered-list li strong {
  display: block;
  color: var(--grove-ivory);
  font-weight: 600;
  margin-bottom: 0.25rem;
}

/* ===== FEATURE LIST ===== */
.grove-feature-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
  list-style: none;
  padding: 0;
}

@media (min-width: 640px) {
  .grove-feature-list {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .grove-feature-list {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.grove-feature-item {
  background-color: rgba(255, 249, 228, 0.03);
  border: 1px solid rgba(255, 249, 228, 0.12);
  border-radius: 4px;
  padding: 1.75rem;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.grove-feature-item:hover {
  background-color: rgba(255, 249, 228, 0.06);
  border-color: rgba(255, 249, 228, 0.25);
}

.grove-feature-item h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--grove-ivory);
  margin: 0 0 0.6rem;
  letter-spacing: -0.01em;
}

.grove-feature-item p {
  font-size: 0.875rem;
  line-height: 1.65;
  color: rgba(255, 249, 228, 0.65);
  margin: 0;
}

/* ===== HIGHLIGHT BOX ===== */
.grove-highlight {
  background-color: rgba(227, 210, 122, 0.06);
  border: 1px solid rgba(227, 210, 122, 0.25);
  border-radius: 4px;
  padding: 1.75rem 2rem;
  margin: 2.5rem 0;
}

.grove-highlight p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.75;
  color: rgba(255, 249, 228, 0.85);
}

.grove-highlight strong {
  color: var(--grove-yellow);
}

/* ===== INLINE LINK ===== */
.grove-link {
  color: var(--grove-yellow);
  text-decoration: none;
  border-bottom: 1px solid rgba(227, 210, 122, 0.35);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.grove-link:hover {
  color: var(--grove-ivory);
  border-bottom-color: rgba(255, 249, 228, 0.6);
}

/* ===== BUTTONS ===== */
.grove-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  border-radius: 4px;
  height: 40px;
  padding: 0 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  border: 1px solid transparent;
}

.grove-btn-primary {
  background-color: var(--grove-yellow);
  color: var(--grove-charcoal);
  border-color: var(--grove-yellow);
}

.grove-btn-primary:hover {
  background-color: transparent;
  color: var(--grove-yellow);
  box-shadow: 0 0 29px 1px rgba(227, 210, 122, 0.51);
}

.grove-btn-secondary {
  background-color: rgba(0, 0, 0, 0.6);
  color: var(--grove-ivory);
  border-color: var(--grove-ivory);
}

.grove-btn-secondary:hover {
  background-color: rgba(0, 0, 0, 0.8);
  color: var(--grove-yellow);
  border-color: rgba(0, 0, 0, 0);
  box-shadow: 0 0 29px 1px rgba(227, 210, 122, 0.51);
}

/* ===== BUTTON GROUP ===== */
.grove-btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  margin-top: 2.5rem;
}

/* ===== DIVIDER ===== */
.grove-divider {
  border: none;
  border-top: 1px solid rgba(255, 249, 228, 0.15);
  margin: 0;
}

/* ===== TWO-COLUMN LAYOUT ===== */
.grove-two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}

@media (min-width: 768px) {
  .grove-two-col {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

@media (min-width: 1024px) {
  .grove-two-col {
    grid-template-columns: 1fr 1.5fr;
  }
}

/* ===== STICKY SIDEBAR ===== */
.grove-sidebar-sticky {
  position: sticky;
  top: 120px;
}

/* ===== FOOTER ===== */
.grove-footer {
  background-color: var(--grove-charcoal);
  border-top: 1px solid var(--grove-ivory);
  width: 100%;
}

.grove-footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 3rem 1.5rem 2.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 768px) {
  .grove-footer-inner {
    padding: 4rem 2rem 3rem;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
  }
}

@media (min-width: 1024px) {
  .grove-footer-inner {
    padding: 5rem 3rem 4rem;
  }
}

.grove-footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.grove-footer-tagline {
  font-size: 0.9375rem;
  line-height: 1.4;
  color: var(--grove-ivory);
  max-width: 360px;
  margin: 0;
}

.grove-footer-social {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.grove-footer-social a {
  background-color: var(--grove-ivory);
  color: var(--grove-charcoal);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 9999px;
  transition: background-color 0.2s ease;
}

.grove-footer-social a:hover {
  background-color: var(--grove-yellow);
}

.grove-footer-social a svg {
  width: 1rem;
  height: 1rem;
}

.grove-footer-nav {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

@media (min-width: 640px) {
  .grove-footer-nav {
    grid-template-columns: repeat(3, 1fr);
  }
}

.grove-footer-nav-group h4 {
  font-size: 1rem;
  font-style: italic;
  font-weight: 400;
  color: var(--grove-ivory);
  margin: 0 0 1.25rem;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.grove-footer-nav-group ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.grove-footer-nav-group a {
  color: var(--grove-ivory);
  text-decoration: none;
  font-size: 0.875rem;
  line-height: 1.4;
  transition: color 0.2s ease;
}

.grove-footer-nav-group a:hover {
  color: var(--grove-yellow);
}

.grove-footer-bottom {
  background-color: var(--grove-moss);
}

.grove-footer-bottom-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
}

@media (min-width: 768px) {
  .grove-footer-bottom-inner {
    padding: 1rem 2rem;
  }
}

.grove-footer-copyright {
  font-size: 0.75rem;
  line-height: 1.4;
  color: var(--grove-ivory);
  margin: 0;
}

/* ===== TYPOGRAPHY ===== */
.grove-h2 {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.05em;
  color: var(--grove-ivory);
  margin: 0 0 1.25rem;
}

.grove-h3 {
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--grove-ivory);
  margin: 0 0 0.75rem;
}

.grove-lead {
  font-size: 1rem;
  line-height: 2rem;
  letter-spacing: 0.03em;
  color: rgba(255, 249, 228, 0.8);
}

.grove-text-muted {
  color: rgba(255, 249, 228, 0.55);
}

.grove-text-yellow {
  color: var(--grove-yellow);
}

/* ===== BACK TO HOME BUTTON ===== */
.grove-back-home {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(255, 249, 228, 0.15);
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

/* ===== INTERNAL LINK STRIP ===== */
.grove-link-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1.5rem;
  font-size: 0.875rem;
  color: rgba(255, 249, 228, 0.55);
  margin-top: 1.5rem;
}

.grove-link-strip a {
  color: var(--grove-ivory);
  text-decoration: none;
  transition: color 0.2s;
}

.grove-link-strip a:hover {
  color: var(--grove-yellow);
}

.grove-link-strip span {
  opacity: 0.3;
}

/* ===== HERO BADGE ===== */
.grove-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid rgba(255, 249, 228, 0.25);
  border-radius: 9999px;
  padding: 0.25rem 0.875rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 249, 228, 0.65);
  margin-bottom: 1.5rem;
}

/* ===== SECTION WITH SIDEBAR NAV ===== */
.grove-content-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}

@media (min-width: 1024px) {
  .grove-content-layout {
    grid-template-columns: 220px 1fr;
    gap: 4rem;
  }
}

.grove-page-nav {
  display: none;
}

@media (min-width: 1024px) {
  .grove-page-nav {
    display: block;
    position: sticky;
    top: 120px;
  }
}

.grove-page-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-left: 1px solid rgba(255, 249, 228, 0.15);
}

.grove-page-nav a {
  display: block;
  padding: 0.5rem 1rem;
  font-size: 0.8125rem;
  color: rgba(255, 249, 228, 0.5);
  text-decoration: none;
  border-left: 2px solid transparent;
  margin-left: -1px;
  transition: color 0.2s ease, border-color 0.2s ease;
  letter-spacing: 0.01em;
}

.grove-page-nav a:hover {
  color: var(--grove-ivory);
  border-left-color: rgba(255, 249, 228, 0.4);
}

.grove-page-nav a.active {
  color: var(--grove-yellow);
  border-left-color: var(--grove-yellow);
}

/* ===== DECORATIVE SEPARATOR ===== */
.grove-sep {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 3rem 0;
  color: rgba(255, 249, 228, 0.2);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.grove-sep::before,
.grove-sep::after {
  content: '';
  flex: 1;
  border-top: 1px solid rgba(255, 249, 228, 0.12);
}

/* ===== RESPONSIVE TEXT ===== */
@media (max-width: 640px) {
  .grove-hero h1 {
    font-size: 2rem;
    letter-spacing: -0.04em;
  }

  .grove-section-heading {
    font-size: 1.625rem;
  }

  .grove-faq-question {
    font-size: 1rem;
  }

  .grove-about-card {
    padding: 1.5rem;
  }
}

/* ===== OVERFLOW GUARD ===== */
.grove-page section,
.grove-page .grove-section,
.grove-page .grove-hero {
  max-width: 100%;
  overflow-x: hidden;
}