:root {
  --bg: #f5f8f5;
  --surface: #ffffff;
  --surface-alt: #edf4ee;
  --text: #16301c;
  --muted: #4d6253;
  --line: #d6e3d7;
  --brand: #5d7f35;
  --brand-dark: #3f5f22;
  --blueberry: #4156a6;
  --shadow: 0 12px 30px rgba(22, 48, 28, 0.08);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.topbar {
  background: #16301c;
  color: #f3fbf3;
  padding: 1rem 0;
}
.topbar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.topbar a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}
.topbar p { margin: 0; }
.eyebrow {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 700;
  opacity: 0.82;
  margin-bottom: 0.25rem;
}
.eyebrow.accent { color: var(--brand-dark); }

.hero {
  position: relative;
  min-height: 72vh;
  display: flex;
  align-items: center;
  background: url('blueberry-hero.jpg') center/cover no-repeat;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(14, 31, 18, 0.82) 0%, rgba(14, 31, 18, 0.62) 42%, rgba(14, 31, 18, 0.24) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  color: #fff;
  padding: 4rem 0;
  max-width: 760px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 999px;
  padding: 0.45rem 1rem 0.45rem 0.45rem;
  margin-bottom: 1.25rem;
  backdrop-filter: blur(6px);
}
.hero-badge img {
  width: 42px;
  height: 42px;
  object-fit: cover;
  border-radius: 50%;
}
.hero h1 {
  font-size: clamp(2.4rem, 4vw, 4.4rem);
  line-height: 1.05;
  margin: 0 0 1rem;
}
.hero-subtitle {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
}
.hero-text {
  max-width: 62ch;
  font-size: 1.05rem;
  color: rgba(255,255,255,0.92);
}
.hero-actions {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.9rem 1.3rem;
  transition: transform 0.15s ease, opacity 0.15s ease, background 0.15s ease;
}
.button:hover { transform: translateY(-1px); }
.button.primary {
  background: var(--brand);
  color: #fff;
}
.button.primary:hover { background: var(--brand-dark); }
.button.secondary {
  color: #fff;
  border: 1px solid rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.08);
}
.button.full { width: 100%; }

.section { padding: 5rem 0; }
.section.alt { background: var(--surface-alt); }
.section-heading { margin-bottom: 2rem; }
.section-heading.centered { text-align: center; }
.section h2, .section-heading h2 {
  margin: 0.2rem 0 0;
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  line-height: 1.15;
}

.cards {
  display: grid;
  gap: 1.2rem;
}
.cards.four-up {
  grid-template-columns: repeat(4, 1fr);
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem;
  box-shadow: var(--shadow);
}
.card h3 { margin-top: 0; margin-bottom: 0.65rem; }
.card p { margin: 0; color: var(--muted); }
.card ul {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}
.reverse-tight {
  grid-template-columns: 1.2fr 0.8fr;
  align-items: start;
}
.image-panel img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  min-height: 320px;
  object-fit: cover;
}
.cta-box {
  background: linear-gradient(180deg, #ffffff, #f3f7f3);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}
.cta-box h3 { margin-top: 0; }

.faq-list {
  display: grid;
  gap: 1rem;
  max-width: 880px;
  margin: 0 auto;
}
.faq-list details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1rem 1.2rem;
  box-shadow: var(--shadow);
}
.faq-list summary {
  font-weight: 700;
  cursor: pointer;
}
.faq-list p { margin: 0.85rem 0 0; color: var(--muted); }

.docs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
  max-width: 900px;
  margin: 0 auto;
}
.doc-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem;
  text-decoration: none;
  box-shadow: var(--shadow);
}
.doc-card strong {
  display: block;
  font-size: 1.15rem;
  margin: 0.2rem 0;
}
.doc-card span:last-child { color: var(--muted); }
.doc-label {
  color: var(--blueberry);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
}

.site-footer {
  background: #112719;
  color: #eef7ef;
  padding-top: 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1.5rem;
  align-items: start;
}
.site-footer a { color: #fff; text-decoration: none; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.14);
  margin-top: 1.5rem;
  padding: 1rem 0 1.8rem;
  color: rgba(255,255,255,0.8);
  text-align: center;
}
.footer-bottom p { margin: 0; }

.not-found {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: url('blueberry-hero.jpg') center/cover no-repeat;
}
.not-found-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(14, 31, 18, 0.88) 0%, rgba(14, 31, 18, 0.66) 55%, rgba(14, 31, 18, 0.34) 100%);
}
.not-found-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
  color: #fff;
  padding: 4rem 0;
}
.not-found h1 {
  font-size: clamp(3rem, 7vw, 5.8rem);
  line-height: 1;
  margin: 0 0 1rem;
}
.not-found p {
  max-width: 58ch;
  margin: 0 0 1.5rem;
  color: rgba(255,255,255,0.9);
}

@media (max-width: 900px) {
  .topbar-grid,
  .cards.four-up,
  .split,
  .reverse-tight,
  .docs-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    padding: 3.5rem 0;
  }
}

@media (max-width: 600px) {
  .section { padding: 3.75rem 0; }
  .container { width: min(1120px, calc(100% - 1.25rem)); }
  .hero-actions { flex-direction: column; }
  .button { width: 100%; }
}
