:root {
  --green-900: #143821;
  --green-800: #1f5130;
  --green-600: #2f7a47;
  --green-100: #e6f0e4;
  --gold: #e9c46a;
  --gold-dark: #b8892a;
  --soil: #6b4a2b;
  --ink: #1c231e;
  --muted: #56625a;
  --line: #dbe3d8;
  --bg: #fbfaf6;
  --tint: #f2f0e7;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(20, 56, 33, .06), 0 6px 20px rgba(20, 56, 33, .06);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
a { color: var(--green-600); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; color: var(--green-900); }
h1 { font-size: clamp(2.1rem, 6vw, 3.6rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 4vw, 2.3rem); letter-spacing: -0.01em; }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 760px; }
.eyebrow {
  font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold-dark); margin-bottom: .6em;
}
.small { font-size: .85rem; color: var(--muted); }
.note { color: var(--muted); font-size: .95rem; }

/* Placeholders: visible until replaced */
[data-placeholder] { background: #fff3c4; outline: 1px dashed var(--gold-dark); border-radius: 4px; }
.btn[data-placeholder] { outline-offset: 2px; background: var(--gold); }

/* Buttons */
.btn {
  display: inline-block; padding: .85em 1.4em; border-radius: 999px; font-weight: 700;
  text-decoration: none; border: 2px solid transparent; cursor: pointer; font-size: 1rem;
  font-family: inherit; transition: transform .15s, background .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--gold); color: var(--green-900); }
.btn-primary:hover { background: #f0d080; }
.btn-ghost { border-color: rgba(255,255,255,.6); color: var(--white); }
.btn-ghost:hover { background: rgba(255,255,255,.1); }
.btn-small { padding: .5em 1.1em; font-size: .9rem; background: var(--green-800); color: var(--white) !important; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(251, 250, 246, .94);
  backdrop-filter: blur(8px); border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: .55em; text-decoration: none; }
.brand-mark svg { width: 34px; height: 34px; display: block; }
.brand-mark rect { fill: var(--green-800); }
.brand-mark path { stroke: var(--gold); stroke-width: 2.2; fill: none; stroke-linecap: round; }
.brand-text { font-weight: 800; font-size: 1.3rem; color: var(--green-900); letter-spacing: -0.01em; }
.site-nav { display: flex; align-items: center; gap: 1.6em; }
.site-nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; }
.site-nav a:hover { color: var(--green-600); }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--line); border-radius: 8px;
  padding: .45em .9em; font: inherit; font-weight: 600; color: var(--green-900);
}

/* Hero */
.hero {
  background:
    radial-gradient(ellipse at 85% 110%, rgba(233,196,106,.35), transparent 55%),
    linear-gradient(160deg, var(--green-800) 0%, var(--green-900) 70%);
  color: var(--white);
  padding: clamp(64px, 12vw, 128px) 0 clamp(56px, 10vw, 104px);
  position: relative; overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 28px;
  background: repeating-linear-gradient(90deg, rgba(107,74,43,.5) 0 2px, transparent 2px 22px);
  opacity: .5;
}
.hero h1 { color: var(--white); max-width: 16ch; }
.hero-inner { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; }
.hero-product { text-align: center; }
.hero-product img { display: block; width: 196px; height: auto; border-radius: 18px; box-shadow: 0 18px 40px rgba(0,0,0,.35); background: #fff; }
.hero-product p { margin: 10px 0 0; font-size: .85rem; color: #b9c8b8; }
.hero .eyebrow { color: var(--gold); }
.lead { font-size: clamp(1.05rem, 2.3vw, 1.3rem); max-width: 40ch; color: #dfe9dc; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.8em; }

/* Stats */
.stats { margin-top: -36px; position: relative; z-index: 2; }
.stats-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.stat { padding: 24px 22px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat-num { display: block; font-size: 2.4rem; font-weight: 800; color: var(--green-600); line-height: 1.1; }
.stat-label { display: block; color: var(--muted); font-size: .92rem; margin-top: .3em; }

/* Sections */
.section { padding: clamp(56px, 9vw, 96px) 0; }
.section-tint { background: var(--tint); }
.section-dark { background: var(--green-900); color: #dfe9dc; }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark .eyebrow { color: var(--gold); }
.two-col { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: start; }

.benefit-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.benefit-list li {
  background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--green-600);
  border-radius: 10px; padding: 12px 16px; display: flex; flex-direction: column;
}
.benefit-list strong { color: var(--green-900); }
.benefit-list span { color: var(--muted); font-size: .93rem; }

/* Steps */
.steps { list-style: none; margin: 1.5em 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: s; }
.steps li { background: var(--white); border-radius: var(--radius); padding: 22px; border: 1px solid var(--line); }
.step-n {
  display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: var(--green-800); color: var(--gold); font-weight: 800; margin-bottom: 12px;
}
.steps p { color: var(--muted); font-size: .95rem; margin: 0; }

/* Trial chart */
.trial {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(20px, 4vw, 36px); margin: 1.5em 0 24px; box-shadow: var(--shadow);
}
.trial-meta { color: var(--muted); font-size: .88rem; margin-bottom: 1em; }
.chart-legend { display: flex; gap: 20px; flex-wrap: wrap; font-size: .9rem; color: var(--muted); margin-bottom: 14px; }
.sw { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.sw-control, .bar-control { background: #c9c3b0; }
.sw-treated, .bar-treated { background: var(--green-600); }
.chart-rows { display: grid; gap: 16px; }
.crow { display: grid; grid-template-columns: 170px 1fr; gap: 12px; align-items: center; }
.clabel { font-weight: 600; font-size: .92rem; }
.cbars { display: grid; gap: 4px; }
.bar {
  height: 28px; border-radius: 0 6px 6px 0; width: calc(var(--v) / var(--max, 600) * 100%);
  display: flex; align-items: center; justify-content: flex-end; padding-right: 8px;
  min-width: 56px;
}
.bar b { font-size: .8rem; font-weight: 700; }
.bar-control b { color: var(--ink); }
.bar-treated b { color: var(--white); }
.trial-takeaway { margin: 1.4em 0 0; padding: 14px 16px; background: var(--green-100); border-radius: 10px; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card p:last-child { margin: 0; color: var(--muted); font-size: .93rem; }
.ticks { padding-left: 1.1em; margin: 0 0 1em; }
.ticks li { margin-bottom: .3em; }
.ticks li::marker { color: var(--green-600); }

table { border-collapse: collapse; width: 100%; font-size: .9rem; }
.mini { margin-bottom: 1em; }
.mini th, .mini td { padding: 6px 4px; border-bottom: 1px solid var(--line); text-align: right; }
.mini th:first-child, .mini td:first-child { text-align: left; }
.mini td:last-child { font-weight: 700; color: var(--green-600); }
.mini th { font-weight: 600; color: var(--muted); font-size: .8rem; }

.more-results { margin-top: 24px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 4px 20px; }
.more-results summary { padding: 14px 0; font-weight: 700; cursor: pointer; color: var(--green-900); }
.table-scroll { overflow-x: auto; margin-bottom: 18px; }
.data th, .data td { padding: 9px 10px; border-bottom: 1px solid var(--line); text-align: left; }
.data th { background: var(--tint); font-weight: 700; }
.data td:last-child { font-weight: 700; color: var(--green-600); white-space: nowrap; }

/* Crops */
.crop-chips { list-style: none; padding: 0; margin: 1.2em 0; display: flex; flex-wrap: wrap; gap: 10px; }
.crop-chips li {
  background: var(--white); border: 1px solid var(--line); padding: 8px 16px; border-radius: 999px;
  font-weight: 600; color: var(--green-900);
}

/* Use */
.use-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 1.5em 0 24px; }
.use { border-top: 4px solid var(--gold); background: var(--white); border-radius: 0 0 var(--radius) var(--radius); padding: 20px; border-left: 1px solid var(--line); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.use p { color: var(--muted); font-size: .95rem; margin: 0; }
.callout { background: var(--green-100); border-radius: var(--radius); padding: 20px 22px; }
.callout p:last-child { margin: 0; }

/* About */
.about-panel { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.15); border-radius: var(--radius); padding: 24px; }
.section-dark .small { color: var(--ink); }

/* FAQ */
#faq details { border-bottom: 1px solid var(--line); }
#faq summary {
  padding: 18px 0; font-weight: 700; cursor: pointer; list-style: none; position: relative; padding-right: 32px;
  color: var(--green-900);
}
#faq summary::-webkit-details-marker { display: none; }
#faq summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font-size: 1.5rem; color: var(--green-600); }
#faq details[open] summary::after { content: "−"; }
#faq details p { color: var(--muted); }

/* Contact */
.contact-list { list-style: none; padding: 0; margin: 1.5em 0 0; display: grid; gap: 12px; }
.contact-list li { display: grid; grid-template-columns: 96px 1fr; gap: 8px; }
.contact-list li > span:first-child { color: var(--muted); font-weight: 600; }
.contact-form {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; display: grid; gap: 14px; box-shadow: var(--shadow);
}
.contact-form label { display: grid; gap: 6px; font-weight: 600; font-size: .92rem; }
.contact-form input, .contact-form select, .contact-form textarea {
  font: inherit; font-weight: 400; padding: 11px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg);
  width: 100%;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: 2px solid var(--green-600); outline-offset: 0; border-color: transparent; }
.contact-form .small { margin: 0; }

/* Footer */
.site-footer { background: var(--green-900); color: #b9c8b8; padding: 36px 0; }
.site-footer strong { color: var(--white); }
.site-footer .small { color: #93a592; }
.footer-inner p:last-child { margin: 0; }

/* Chart extras */
.bar-light { background: #8fc39d; }
.bar-ref { background: #c9a55a; }
.bar-light b, .bar-ref b { color: var(--green-900); }
.trial-takeaway p:last-child { margin-bottom: 0; }
.subhead { margin: 40px 0 16px; font-size: 1.3rem; }

/* Tagline */
.tagline { padding: 56px 0 8px; text-align: center; }
.tag-main { font-size: clamp(1.4rem, 3.6vw, 2rem); font-weight: 800; color: var(--green-900); margin-bottom: .6em; }
.tag-langs { list-style: none; padding: 0; margin: 0 auto; max-width: 820px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; }
.tag-langs li { color: var(--green-600); font-weight: 600; font-size: .95rem; }

/* Mixing */
.mix-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 1.5em 0 12px; }
.mix { background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--gold); border-radius: 0 0 var(--radius) var(--radius); padding: 20px; }
.mix-dose { display: block; font-size: 2.2rem; font-weight: 800; color: var(--green-600); line-height: 1.1; }
.mix-in { color: var(--muted); }
.cocoa-box { background: var(--green-900); color: #dfe9dc; border-radius: var(--radius); padding: 24px; margin: 28px 0 8px; }
.cocoa-box h3 { color: var(--gold); }
.cocoa-box ul { margin: 0; padding-left: 1.1em; }
.cocoa-box li { margin-bottom: .45em; }
.cocoa-box strong { color: var(--white); }
.crop-guide { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; align-items: start; }
.crop-guide details { background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 0 16px; }
.crop-guide summary { padding: 13px 0; font-weight: 700; cursor: pointer; color: var(--green-900); }
.crop-guide ol { margin: 0 0 8px; padding-left: 1.3em; color: var(--ink); }
.crop-guide p { margin: 0 0 14px; font-size: .9rem; color: var(--green-600); font-weight: 600; }

/* Videos */
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 1.2em; }
.video-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.video-frame { position: relative; aspect-ratio: 16 / 9; background: var(--green-900); }
.video-frame iframe, .video-frame video, .video-frame img { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.video-play { position: absolute; inset: 0; width: 100%; border: 0; background: none; cursor: pointer; padding: 0; }
.video-play::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%;
  background: rgba(233,196,106,.95) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 5v14l11-7z' fill='%23143821'/%3E%3C/svg%3E") center/30px no-repeat;
}
.video-soon { position: absolute; inset: 0; display: grid; place-items: center; color: #93a592; font-weight: 600; font-size: .9rem; }
.video-card h3 { font-size: 1rem; padding: 14px 16px 2px; margin: 0; }
.video-card p { padding: 0 16px 14px; margin: 0; color: var(--muted); font-size: .88rem; }

/* Documents */
.doc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 1.5em; }
.doc { display: flex; flex-direction: column; gap: 6px; background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--green-600); border-radius: 10px; padding: 18px 20px; text-decoration: none; color: var(--ink); transition: box-shadow .15s; }
.doc:hover { box-shadow: var(--shadow); }
.doc-org { font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--gold-dark); }
.doc strong { color: var(--green-900); font-size: 1.05rem; }
.doc-meta { color: var(--muted); font-size: .9rem; }
.doc-link { color: var(--green-600); font-weight: 700; font-size: .92rem; margin-top: 4px; }

/* Responsive */
@media (max-width: 900px) {
  .steps, .use-grid { grid-template-columns: repeat(2, 1fr); }
  .cards, .video-grid { grid-template-columns: 1fr; }
  .crop-guide, .doc-grid { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .site-nav {
    display: none; position: absolute; top: 64px; left: 0; right: 0; background: var(--bg);
    flex-direction: column; align-items: stretch; gap: 0; border-bottom: 1px solid var(--line); padding: 8px 16px 16px;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .site-nav .btn-small { margin-top: 12px; text-align: center; border-bottom: 0; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid var(--line); }
  .stat:last-child { border-bottom: 0; }
  .crow { grid-template-columns: 1fr; gap: 6px; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-product { display: none; }
  .mix-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .steps, .use-grid { grid-template-columns: 1fr; }
  .contact-list li { grid-template-columns: 1fr; gap: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
