/* ===== Theme tokens ===== */
:root {
  --background: hsl(40 30% 96%);
  --foreground: hsl(150 20% 10%);
  --card: hsl(40 25% 93%);
  --card-foreground: hsl(150 20% 10%);
  --primary: hsl(152 45% 22%);
  --primary-foreground: hsl(40 30% 96%);
  --muted: hsl(90 10% 88%);
  --muted-foreground: hsl(150 10% 40%);
  --accent: hsl(0 60% 42%);
  --border: hsl(90 15% 82%);
  --radius: 0.5rem;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Source Sans 3', system-ui, sans-serif;
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; background: var(--background); -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  background: var(--background);
  color: var(--foreground);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ===== Layout helpers ===== */
.container { max-width: 72rem; margin: 0 auto; padding: 0 1.25rem; }
.container-narrow { max-width: 48rem; margin: 0 auto; padding: 0 1.25rem; }
.section { padding: 5rem 0; }
@media (min-width: 768px) { .section { padding: 7rem 0; } }
.section-dark { background: var(--primary); }
.section-card { background: var(--card); }

.eyebrow { font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .2em; color: var(--accent); }
.eyebrow-accent { color: var(--accent); }
.eyebrow-muted-light { color: hsl(40 30% 96% / .6); }
.center { text-align: center; }

.section-title { margin-top: .75rem; font-family: var(--font-serif); font-size: 1.875rem; font-weight: 700; text-wrap: balance; color: var(--foreground); }
@media (min-width: 768px) { .section-title { font-size: 2.25rem; } }
.section-title.on-dark { color: var(--primary-foreground); }

.section-lead { margin-top: 1rem; max-width: 42rem; font-size: 1rem; line-height: 1.6; color: var(--muted-foreground); }
@media (min-width: 768px) { .section-lead { font-size: 1.125rem; } }
.section-lead.center { margin-left: auto; margin-right: auto; }
.section-lead.on-dark-muted { color: hsl(40 30% 96% / .8); }

/* ===== Header ===== */
.header { position: fixed; inset: 0 0 auto 0; z-index: 50; background: hsl(40 30% 96% / .9); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.header-inner { max-width: 72rem; margin: 0 auto; padding: 1rem 1.25rem; display: flex; align-items: center; justify-content: space-between; }
.logo { font-family: var(--font-serif); font-size: 1.25rem; font-weight: 700; letter-spacing: -.01em; color: var(--primary); }
.nav-desktop { display: none; gap: 2rem; align-items: center; }
.nav-desktop a { font-size: .875rem; font-weight: 500; color: var(--muted-foreground); transition: color .2s; }
.nav-desktop a:hover { color: var(--primary); }
.menu-toggle { display: flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; border: none; background: transparent; color: var(--foreground); cursor: pointer; border-radius: var(--radius); }
.nav-mobile { display: none; flex-direction: column; border-top: 1px solid var(--border); background: var(--background); padding: 1rem 1.25rem 1.5rem; }
.nav-mobile.open { display: flex; }
.nav-mobile a { padding: .75rem; font-size: 1rem; font-weight: 500; color: var(--foreground); border-radius: var(--radius); transition: background .2s; }
.nav-mobile a:hover { background: var(--muted); }
@media (min-width: 768px) {
  .nav-desktop { display: flex; }
  .menu-toggle { display: none; }
  .nav-mobile { display: none !important; }
}

/* ===== Hero ===== */
.hero { position: relative; min-height: 85vh; overflow: hidden; padding-top: 4rem; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; background: hsl(150 20% 10% / .6); }
.hero-content { position: relative; z-index: 10; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; min-height: 85vh; padding: 0 1.25rem; }
.hero-title { max-width: 48rem; margin-top: 1rem; font-family: var(--font-serif); font-size: 2.5rem; font-weight: 800; line-height: 1.05; text-wrap: balance; color: var(--background); }
@media (min-width: 768px) { .hero-title { font-size: 3.75rem; } }
@media (min-width: 1024px) { .hero-title { font-size: 4.5rem; } }
.hero-sub { max-width: 36rem; margin: 1.5rem auto 0; font-size: 1rem; line-height: 1.6; color: hsl(40 30% 96% / .8); }
@media (min-width: 768px) { .hero-sub { font-size: 1.125rem; } }
.btn-primary { display: inline-flex; align-items: center; height: 3rem; margin-top: 2.5rem; padding: 0 2rem; border-radius: 9999px; background: var(--primary); color: var(--primary-foreground); font-size: .875rem; font-weight: 600; transition: opacity .2s; }
.btn-primary:hover { opacity: .9; }

/* ===== Two column ===== */
.two-col { margin-top: 3.5rem; display: grid; gap: 2.5rem; }
@media (min-width: 768px) { .two-col { grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; } }
.media { position: relative; overflow: hidden; border-radius: var(--radius); }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media-4-5 { aspect-ratio: 4 / 5; }
.media-4-3 { aspect-ratio: 4 / 3; margin-top: 2.5rem; }
.media-wide { margin-top: 3.5rem; aspect-ratio: 16 / 9; }
@media (min-width: 768px) { .media-wide { aspect-ratio: 21 / 9; } }

/* ===== Step list (anatomy) ===== */
.step-list { display: flex; flex-direction: column; gap: 2rem; }
.step-item { display: flex; gap: 1.25rem; }
.step-item h3 { font-size: 1.125rem; font-weight: 600; color: var(--foreground); }
.step-item p { margin-top: .25rem; font-size: .875rem; line-height: 1.6; color: var(--muted-foreground); }
.badge-num { flex-shrink: 0; display: flex; align-items: center; justify-content: center; width: 2.5rem; height: 2.5rem; border-radius: 9999px; background: var(--primary); color: var(--primary-foreground); font-size: .875rem; font-weight: 700; }

/* ===== Timeline (how it works) ===== */
.timeline { display: flex; flex-direction: column; }
.timeline-item { display: flex; gap: 1.25rem; }
.timeline-marker { display: flex; flex-direction: column; align-items: center; }
.timeline-line { margin-top: .5rem; width: 1px; flex: 1 1 auto; min-height: 1.5rem; background: hsl(40 30% 96% / .2); }
.badge-outline { flex-shrink: 0; display: flex; align-items: center; justify-content: center; width: 2.5rem; height: 2.5rem; border-radius: 9999px; border: 2px solid hsl(40 30% 96% / .3); color: var(--primary-foreground); font-size: .875rem; font-weight: 700; }
.timeline-body { padding-bottom: 1.5rem; }
.timeline-body h3 { font-size: 1.125rem; font-weight: 600; color: var(--primary-foreground); }
.timeline-body p { margin-top: .25rem; font-size: .875rem; line-height: 1.6; color: hsl(40 30% 96% / .7); }

/* ===== Fact grid (habitat) ===== */
.fact-grid { margin-top: 2.5rem; display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .fact-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .fact-grid { grid-template-columns: repeat(4, 1fr); } }
.fact-card { border: 1px solid var(--border); background: var(--card); border-radius: var(--radius); padding: 1.5rem; }
.fact-label { font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--accent); }
.fact-value { margin-top: .5rem; font-size: .875rem; line-height: 1.6; color: var(--card-foreground); }

/* ===== Variety cards ===== */
.card-grid { margin-top: 3.5rem; display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .card-grid { grid-template-columns: repeat(3, 1fr); } }
.variety-card { overflow: hidden; border: 1px solid var(--border); background: var(--card); border-radius: var(--radius); }
.variety-media { aspect-ratio: 4 / 3; overflow: hidden; }
.variety-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.variety-card:hover .variety-media img { transform: scale(1.05); }
.variety-body { padding: 1.25rem; }
.variety-body h3 { font-family: var(--font-serif); font-size: 1.25rem; font-weight: 700; color: var(--card-foreground); }
.variety-body p { margin-top: .5rem; font-size: .875rem; line-height: 1.6; color: var(--muted-foreground); }
.tags { margin-top: 1rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.tag { border-radius: 9999px; background: hsl(152 45% 22% / .1); padding: .25rem .75rem; font-size: .75rem; font-weight: 500; color: var(--primary); }

/* ===== Care tips ===== */
.two-col-care { align-items: start; }
@media (min-width: 1024px) { .two-col-care { grid-template-columns: 1fr 1fr; } }
.tip-list { display: flex; flex-direction: column; gap: 1.5rem; }
.tip-item { display: flex; gap: 1rem; border: 1px solid var(--border); background: var(--background); border-radius: var(--radius); padding: 1.25rem; }
.tip-icon { flex-shrink: 0; display: flex; align-items: center; justify-content: center; width: 2.5rem; height: 2.5rem; border-radius: 9999px; background: hsl(152 45% 22% / .1); color: var(--primary); }
.tip-item h3 { font-size: 1rem; font-weight: 600; color: var(--foreground); }
.tip-item p { margin-top: .25rem; font-size: .875rem; line-height: 1.6; color: var(--muted-foreground); }

/* ===== Accordion (FAQ) ===== */
.accordion { margin-top: 3rem; }
.accordion-item { border-bottom: 1px solid var(--border); }
.accordion-trigger { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.25rem 0; background: transparent; border: none; text-align: left; font-family: var(--font-sans); font-size: 1rem; font-weight: 500; color: var(--foreground); cursor: pointer; }
.chevron { flex-shrink: 0; width: .75rem; height: .75rem; border-right: 2px solid var(--muted-foreground); border-bottom: 2px solid var(--muted-foreground); transform: rotate(45deg); transition: transform .3s; }
.accordion-trigger[aria-expanded="true"] .chevron { transform: rotate(-135deg); }
.accordion-content { overflow: hidden; max-height: 0; transition: max-height .3s ease; }
.accordion-inner { padding: 0 0 1.25rem; font-size: .875rem; line-height: 1.6; color: var(--muted-foreground); }

/* ===== Footer ===== */
.footer { border-top: 1px solid var(--border); background: var(--card); padding: 3rem 0; }
.footer-top { display: flex; flex-direction: column; gap: 2rem; }
@media (min-width: 768px) { .footer-top { flex-direction: row; align-items: flex-start; justify-content: space-between; } }
.footer-desc { margin-top: .5rem; max-width: 20rem; font-size: .875rem; line-height: 1.6; color: var(--muted-foreground); }
.footer-links { display: flex; flex-wrap: wrap; gap: .75rem 2rem; font-size: .875rem; color: var(--muted-foreground); }
.footer-links a { transition: color .2s; }
.footer-links a:hover { color: var(--primary); }
.footer-bottom { margin-top: 2.5rem; border-top: 1px solid var(--border); padding-top: 1.5rem; text-align: center; font-size: .75rem; color: var(--muted-foreground); }
.copyright { margin-top: .75rem; }
