

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

html, body {
  height: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--c-fg);
  background-color: var(--c-bg);
  line-height: 1.6;
  font-size: var(--font-body-size);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: var(--space-3);
}

p {
  margin-bottom: var(--space-3);
}

a {
  color: var(--c-accent);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

a:hover {
  opacity: 0.8;
}

a:focus-visible {
  outline: 2px solid var(--c-accent);
  outline-offset: 2px;
}

button {
  font-family: var(--font-body);
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
}

button:focus-visible {
  outline: 2px solid var(--c-accent);
  outline-offset: 2px;
}

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

:root {
  
  --c-bg: #faf8f5;
  --c-fg: #2a2825;
  --c-muted: #9d9490;
  --c-accent: #6b8a7a;
  --c-light-bg: #f5f3f0;
  --c-border: #e5e2dc;
  --c-dark-section: #3a3530;

  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 3rem;
  --space-6: 4.5rem;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;

  --font-display: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --font-body-size: clamp(16px, 2vw, 18px);
  --font-h1-size: clamp(32px, 5vw, 48px);
  --font-h2-size: clamp(24px, 4vw, 36px);
  --font-h3-size: clamp(20px, 3vw, 28px);

  --z-base: 0;
  --z-dropdown: 10;
  --z-modal: 100;
  --z-toast: 1000;
}

header {
  background-color: var(--c-bg);
  padding: var(--space-3) var(--space-4);
  border-bottom: 1px solid var(--c-border);
  position: sticky;
  top: 0;
  z-index: var(--z-dropdown);
}

.header-content {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  max-width: 1200px;
  margin-inline: auto;
}

.logo {
  width: 40px;
  height: 40px;
  display: block;
}

.brand-name {
  font-size: clamp(18px, 2.5vw, 22px);
  font-weight: 600;
  color: var(--c-fg);
  margin: 0;
}

section {
  padding: var(--space-5) var(--space-4);
}

.section-center {
  max-width: 1200px;
  margin-inline: auto;
}

footer {
  background-color: var(--c-dark-section);
  color: #e8e6e0;
  padding: var(--space-5) var(--space-4);
  margin-top: var(--space-5);
}

.footer-content {
  max-width: 1200px;
  margin-inline: auto;
}

.hero {
  background-color: var(--c-light-bg);
  position: relative;
  overflow: hidden;
  min-height: 500px;
  display: flex;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  align-items: center;
  max-width: 1200px;
  margin-inline: auto;
  width: 100%;
  padding: var(--space-5) var(--space-4);
}

.hero-content {
  z-index: 2;
}

.hero-content h1 {
  font-size: var(--font-h1-size);
  color: var(--c-fg);
  margin-bottom: var(--space-3);
}

.hero-content > p {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--c-muted);
  margin-bottom: var(--space-4);
  max-width: 600px;
}

.hero-media {
  background-color: #ddd;
  border-radius: var(--radius-md);
  
  height: 100%;
  overflow: hidden;
  width: 100%;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cta-button {
  display: inline-block;
  padding: var(--space-2) var(--space-4);
  background-color: var(--c-accent);
  color: #fff;
  border-radius: var(--radius-md);
  font-size: 16px;
  font-weight: 500;
  transition: background-color 0.2s ease;
  margin-top: var(--space-3);
}

.cta-button:hover {
  background-color: #5a7a6a;
}

.cta-button:focus-visible {
  outline: 2px solid var(--c-fg);
  outline-offset: 2px;
}

.section-heading {
  text-align: center;
  margin-bottom: var(--space-3);
}

.section-heading h2 {
  font-size: var(--font-h2-size);
  color: var(--c-fg);
}

.section-lead {
  text-align: center;
  margin-inline: auto;
  margin-bottom: var(--space-5);
  max-width: 600px;
  color: var(--c-muted);
  font-size: clamp(16px, 2vw, 18px);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-4);
  margin-bottom: var(--space-5);
}

.feature-card {
  background-color: #fff;
  padding: var(--space-4);
  border-radius: var(--radius-md);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.feature-card-icon {
  width: 48px;
  height: 48px;
  margin-bottom: var(--space-3);
  display: block;
}

.feature-card h3 {
  color: var(--c-fg);
  margin-bottom: var(--space-2);
}

.feature-card p {
  color: var(--c-muted);
  font-size: 14px;
  margin-bottom: 0;
  line-height: 1.5;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-4);
}

.product-card {
  background-color: #fff;
  border-radius: var(--radius-md);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-align: center;
}

.product-card-image {
  width: 100%;
  height: 240px;
  background-color: #ddd;
  overflow: hidden;
}

.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-card-content {
  padding: var(--space-4);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-card h3 {
  color: var(--c-fg);
  margin-bottom: var(--space-2);
}

.product-card p {
  color: var(--c-muted);
  font-size: 14px;
  text-align: center;
  margin-bottom: var(--space-2);
  flex: 1;
  line-height: 1.5;
}

.product-price {
  font-size: 18px;
  font-weight: 600;
  color: var(--c-accent);
  margin: var(--space-3) 0 var(--space-2) 0;
}

.product-cta {
  display: inline-block;
  padding: var(--space-2) var(--space-3);
  background-color: var(--c-accent);
  color: #fff;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 500;
  transition: background-color 0.2s ease;
  align-self: center;
  text-decoration: none;
}

.product-cta:hover {
  background-color: #5a7a6a;
}

.product-cta:focus-visible {
  outline: 2px solid var(--c-fg);
  outline-offset: 2px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-4);
}

.testimonial-card {
  background-color: #fff;
  padding: var(--space-4);
  border-radius: var(--radius-md);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border-left: 4px solid var(--c-accent);
}

.testimonial-card p {
  color: var(--c-fg);
  font-size: 14px;
  font-style: italic;
  margin-bottom: var(--space-3);
  line-height: 1.6;
}

.testimonial-attribution {
  color: var(--c-muted);
  font-size: 12px;
  font-style: normal;
  margin: 0;
}

.faq-list {
  max-width: 700px;
  margin-inline: auto;
}

.faq-item {
  background-color: #fff;
  padding: var(--space-3);
  margin-bottom: var(--space-2);
  border-radius: var(--radius-md);
  border-left: 4px solid var(--c-accent);
}

.faq-question {
  color: var(--c-fg);
  font-weight: 600;
  margin-bottom: var(--space-2);
}

.faq-answer {
  color: var(--c-muted);
  font-size: 14px;
  margin: 0;
  line-height: 1.6;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-4);
  text-align: center;
}

.stat-item {
  padding: var(--space-3);
}

.stat-number {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  color: var(--c-accent);
  margin-bottom: var(--space-1);
}

.stat-label {
  color: var(--c-muted);
  font-size: 14px;
}

.contacts-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  max-width: 400px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-align: left;
}

.contact-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  display: block;
}

.contact-text {
  color: var(--c-fg);
  margin: 0;
}

.contact-text a {
  color: var(--c-accent);
  text-decoration: none;
}

.contact-text a:hover {
  opacity: 0.8;
}

.contact-text a:focus-visible {
  outline: 2px solid var(--c-accent);
  outline-offset: 2px;
}

.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: var(--space-4);
  margin-bottom: var(--space-5);
}

.footer-links-column h3 {
  font-size: 14px;
  font-weight: 600;
  color: #e8e6e0;
  margin-bottom: var(--space-2);
  margin-top: 0;
}

.footer-links-column ul {
  list-style: none;
}

.footer-links-column li {
  margin-bottom: var(--space-2);
}

.footer-links-column a {
  color: #ccc;
  font-size: 14px;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links-column a:hover {
  color: #e8e6e0;
}

.footer-links-column a:focus-visible {
  outline: 2px solid #e8e6e0;
  outline-offset: 2px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--space-3);
  font-size: 12px;
  color: #9d9a95;
  text-align: center;
}

.dark-section {
  background-color: var(--c-dark-section);
  color: #e8e6e0;
}

.dark-section h2,
.dark-section h3 {
  color: #e8e6e0;
}

.dark-section p {
  color: #ccc;
}

.dark-section .section-lead {
  color: #b8b5b0;
}

.split-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
  align-items: center;
}

.split-text {
  order: 2;
}

.split-media {
  order: 1;
  background-color: #ddd;
  border-radius: var(--radius-md);
  
  height: 100%;
  overflow: hidden;
  width: 100%;
}

.split-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.split-grid h2 {
  color: var(--c-fg);
}

.split-grid p {
  color: var(--c-muted);
}

.icon-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.icon-list-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
}

.icon-list-item-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  display: block;
  margin-top: 2px;
}

.icon-list-item-content h3 {
  margin-top: 0;
  margin-bottom: var(--space-1);
  color: var(--c-fg);
  font-size: 18px;
}

.icon-list-item-content p {
  color: var(--c-muted);
  font-size: 14px;
  margin: 0;
  line-height: 1.6;
}

.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

@media (min-width: 641px) {
  section {
    padding: var(--space-6) var(--space-5);
  }

  .hero {
    min-height: 600px;
  }

  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-6);
    padding: var(--space-6) var(--space-5);
  }

  .split-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-6);
  }

  .footer-links-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contacts-list {
    flex-direction: row;
    flex-wrap: wrap;
    gap: var(--space-4);
  }

  .contact-item {
    flex: 1;
    min-width: 200px;
  }
}

@media (min-width: 1025px) {
  .hero {
    min-height: 700px;
  }

  .hero-grid {
    grid-template-columns: 1.2fr 1fr;
    gap: var(--space-6);
  }

  .split-grid {
    grid-template-columns: 1fr 1fr;
  }

  .split-media {
    order: 2;
  }

  .split-text {
    order: 1;
  }

  .footer-links-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

.icon-list-item-content { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 32px; }

.hero-media img,
.split-media img,
.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Voices from Our Community — force black text inside testimonial cards over .dark-section */
.dark-section .testimonial-card p,
.dark-section .testimonial-card .testimonial-attribution {
  color: #000;
}

/* Featured In — force black text inside feature cards over .dark-section */
.dark-section .feature-card h3,
.dark-section .feature-card p {
  color: #000;
}
