:root {
  --navy: #1d2a4d;
  --blue: #4470ad;
  --green: #2f9a6a;
  --green-dark: #1f6f5c;
  --teal: #13606a;
  --ink: #2b3245;
  --muted: #5d6578;
  --line: #e3e7ee;
  --soft: #f4f7f5;
  --white: #ffffff;
  --radius: 14px;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 300;
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
a:hover { color: var(--navy); }
h1, h2, h3, h4 {
  font-family: "Comfortaa", "Poppins", sans-serif;
  color: var(--navy);
  line-height: 1.3;
  font-weight: 700;
  margin: 0 0 .6em;
}
h1 { font-size: clamp(2rem, 4.5vw, 2.9rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1.1em; }
strong { font-weight: 500; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 780px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: #fff; padding: 8px 12px; z-index: 10; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 5;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 76px;
}
.brand img { width: 150px; }
.nav-toggle { display: none; }
.nav-btn { display: none; }
.site-nav ul { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.site-nav a {
  display: block; padding: 8px 14px; border-radius: 999px;
  text-decoration: none; color: var(--navy); font-weight: 400; font-size: .95rem;
}
.site-nav a:hover { background: var(--soft); }
.site-nav a[aria-current="page"] { background: var(--navy); color: #fff; }

@media (max-width: 820px) {
  .nav-btn {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; border-radius: 10px; cursor: pointer;
    border: 1px solid var(--line);
  }
  .nav-btn span, .nav-btn span::before, .nav-btn span::after {
    display: block; width: 20px; height: 2px; background: var(--navy); position: relative; content: "";
  }
  .nav-btn span::before { position: absolute; top: -6px; }
  .nav-btn span::after { position: absolute; top: 6px; }
  .site-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 8px 16px 16px;
  }
  .site-nav ul { flex-direction: column; }
  .nav-toggle:checked ~ .site-nav { display: block; }
}

/* Hero */
.hero {
  position: relative; color: #fff;
  background: #2b8a4a url("/assets/hero.jpg") right center / cover no-repeat;
  min-height: clamp(260px, 38vw, 420px);
  display: flex; align-items: center;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(12,62,48,.78), rgba(12,62,48,.35) 55%, rgba(12,62,48,0) 85%);
}
.hero .wrap { position: relative; width: 100%; }
.hero h1 { color: #fff; margin-bottom: .2em; text-shadow: 0 1px 12px rgba(0,0,0,.2); }
.hero p { font-size: 1.15rem; font-weight: 400; margin: 0; }

.page-hero {
  background: linear-gradient(135deg, var(--navy), var(--teal));
  color: #fff; padding: 64px 0 56px;
}
.page-hero h1 { color: #fff; margin: 0; }
.page-hero p { margin: .6em 0 0; opacity: .9; max-width: 680px; }

/* Sections */
section { padding: 72px 0; }
section.alt { background: var(--soft); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.grid-2.top { align-items: start; }
@media (max-width: 820px) { .grid-2 { grid-template-columns: 1fr; gap: 32px; } }

.bottles { width: 100%; max-width: 400px; margin: 0 auto; }
@media (max-width: 820px) { .bottles { max-width: 240px; } }
.steps { list-style: none; padding: 0; margin: 0 0 1.2em; counter-reset: s; }
.steps li { position: relative; padding-left: 52px; margin-bottom: 18px; }
.steps li::before {
  counter-increment: s; content: counter(s);
  position: absolute; left: 0; top: 2px; width: 36px; height: 36px; border-radius: 50%;
  background: var(--blue); color: #fff; font-weight: 500;
  display: flex; align-items: center; justify-content: center;
}
.lead { font-size: 1.12rem; color: var(--muted); }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 500; color: var(--green); margin-bottom: .6em; }
.center { text-align: center; }

.btn {
  display: inline-block; padding: 12px 26px; border-radius: 999px;
  background: var(--blue); color: #fff; text-decoration: none; font-weight: 500;
}
.btn:hover { background: var(--navy); color: #fff; }
.btn.light { background: #fff; color: var(--navy); }
.btn.light:hover { background: var(--soft); color: var(--navy); }

.banner {
  position: relative; color: #fff;
  background: var(--teal) url("/assets/precision.webp") center / cover no-repeat;
  padding: 120px 0;
}
.banner::before { content: ""; position: absolute; inset: 0; background: rgba(10,50,60,.45); }
.banner .wrap { position: relative; }
.banner h2 { color: #fff; max-width: 640px; }

.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 960px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .cards { grid-template-columns: 1fr; } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.card .icon {
  width: 48px; height: 48px; border-radius: 12px; background: var(--green);
  display: flex; align-items: center; justify-content: center; margin-bottom: 14px;
}
.card .icon svg { width: 26px; height: 26px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-size: 1.08rem; margin-bottom: .4em; }
.card p { margin: 0; font-size: .95rem; color: var(--muted); }

.chart { background: #fff; border-radius: var(--radius); padding: 16px; border: 1px solid var(--line); overflow-x: auto; }
.chart img { min-width: 640px; }
.sources { font-size: .82rem; color: var(--muted); margin-top: 14px; }

.quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
@media (max-width: 820px) { .quotes { grid-template-columns: 1fr; } }
blockquote {
  margin: 0; background: #fff; border-radius: var(--radius); padding: 32px;
  border-left: 4px solid var(--green); box-shadow: 0 6px 24px rgba(29,42,77,.06);
}
blockquote p { font-style: italic; }
blockquote cite { font-style: normal; font-weight: 500; color: var(--navy); }

.cta {
  background: linear-gradient(135deg, var(--green-dark), var(--blue));
  color: #fff; text-align: center;
}
.cta h2 { color: #fff; }

/* Tech feature rows */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding: 40px 0; }
.feature + .feature { border-top: 1px solid var(--line); }
.feature img { border-radius: var(--radius); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.feature.flip .media { order: 2; }
@media (max-width: 820px) { .feature { grid-template-columns: 1fr; gap: 24px; } .feature.flip .media { order: 0; } }

/* Terpenes */
.terp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .terp-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .terp-grid { grid-template-columns: 1fr; } }
.terp-grid .card h3 { font-size: 1.15rem; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 40px 18px 0; position: relative;
  font-family: "Comfortaa", sans-serif; font-weight: 700; color: var(--navy); font-size: 1.08rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 6px; top: 12px; font-size: 1.6rem; color: var(--blue); font-family: "Poppins", sans-serif; font-weight: 300;
}
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding: 0 0 16px; }

/* News */
.news-list { list-style: none; padding: 0; margin: 0; }
.news-list li { border-bottom: 1px solid var(--line); }
.news-list a {
  display: flex; justify-content: space-between; gap: 16px; padding: 18px 4px;
  text-decoration: none; color: var(--ink);
}
.news-list a:hover { background: var(--soft); }
.news-list .pub { font-weight: 500; color: var(--navy); white-space: nowrap; }
@media (max-width: 600px) { .news-list a { flex-direction: column; gap: 2px; } }

/* Contact */
.contact-box { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin: 28px 0; }
@media (max-width: 600px) { .contact-box { grid-template-columns: 1fr; } }
.contact-box .card a { font-size: 1.1rem; font-weight: 500; text-decoration: none; overflow-wrap: anywhere; }

/* Legal */
.legal h2 { font-size: 1.5rem; margin-top: 1.4em; }
.legal h3 { font-size: 1.05rem; margin-top: 1.6em; letter-spacing: .02em; }
.legal p, .legal li { font-size: .97rem; }
.legal { overflow-wrap: anywhere; }

/* Footer */
.site-footer { background: var(--navy); color: #c9d1e3; padding: 56px 0 32px; font-size: .92rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
.foot-top { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 36px; }
@media (max-width: 820px) { .foot-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .foot-top { grid-template-columns: 1fr; } }
.foot-top img { width: 150px; }
.foot-top h4 { color: #fff; font-size: .95rem; margin-bottom: .8em; }
.foot-top ul { list-style: none; padding: 0; margin: 0; }
.foot-top li { margin-bottom: 6px; }
.disclaimer { border-top: 1px solid rgba(255,255,255,.15); padding-top: 24px; font-size: .8rem; line-height: 1.6; color: #a9b3ca; }
.copyright { margin-top: 16px; font-size: .8rem; color: #a9b3ca; }
