:root {
  --color-dark: #0f2d1a;
  --color-green: #1a7a3c;
  --color-green-light: #3ed660;
  --color-green-soft: #e8f4ed;
  --color-cream: #f5f2ec;
  --color-cream-dark: #ede9e0;
  --color-text: #1c1c1c;
  --color-text-muted: #5a5a5a;
  --color-text-light: #8a8a8a;
  --color-accent: #1a7a3c;
  --color-accent-soft: rgba(26,122,60,0.10);
  --color-border: rgba(15,45,26,0.12);
  --color-white: #ffffff;
  --nav-h: 0px;
  --font-display: 'Lora', Georgia, serif;
  --font-body: 'Outfit', system-ui, sans-serif;
  --radius: 6px;
  --max-article: 740px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--color-cream);
  color: var(--color-text);
  font-size: 17px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--color-green); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  width: 100%;
  max-width: 1100px;
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 48px);
}

.article-container {
  width: 100%;
  max-width: var(--max-article);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 32px);
}

/* ===== ON-DARK ===== */
.on-dark { color: rgba(255,255,255,0.85); }
.on-dark h1, .on-dark h2, .on-dark h3, .on-dark h4 { color: #fff; }
.on-dark p { color: rgba(255,255,255,0.75); }
.on-dark a:not(.btn) { color: rgba(255,255,255,0.9); }

/* ===== PHOTO PLACEHOLDER ===== */
.photo-placeholder {
  background: linear-gradient(135deg, #ff6eb4, #ff3d9a);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 100%;
  min-height: 260px;
  border-radius: inherit;
}
.photo-placeholder__icon { font-size: 32px; }
.photo-placeholder__label {
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  font-family: sans-serif;
  text-align: center;
  padding: 0 16px;
}

/* ===== ADVERTORIAL BAR ===== */
.advert-bar {
  background: var(--color-dark);
  color: rgba(255,255,255,0.80);
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-align: center;
  padding: 8px clamp(16px,4vw,32px);
  line-height: 1.4;
}
.advert-bar a {
  color: var(--color-green-light);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ===== ARTICLE HEADER ===== */
.article-header {
  background: var(--color-cream);
  padding: clamp(32px, 6vw, 72px) 0 clamp(24px,4vw,48px);
  border-bottom: 1px solid var(--color-border);
}

.article-header__inner {
  width: 100%;
  max-width: var(--max-article);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 32px);
}

.kicker {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--color-green);
  margin-bottom: 16px;
  padding: 4px 10px;
  background: var(--color-green-soft);
  border-radius: 3px;
}

.article-header__title {
  font-family: var(--font-display);
  font-size: clamp(28px, 5vw, 46px);
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-dark);
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}

.article-header__title em {
  font-style: italic;
  color: var(--color-green);
}

/* ===== AUTHOR BLOCK ===== */
.byline {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--color-border);
}

.author-avatar {
  display: inline-flex;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  flex: none;
  border: 2px solid var(--color-green-soft);
}

.author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.byline__info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.byline__name {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  color: var(--color-dark);
}

.byline__bio {
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.4;
}

/* ===== ARTICLE BODY ===== */
.article-body {
  background: var(--color-cream);
  padding: clamp(32px, 5vw, 64px) 0;
}

.article-section {
  margin-bottom: clamp(32px, 5vw, 56px);
}

.article-section h2 {
  font-family: var(--font-display);
  font-size: clamp(20px, 3.5vw, 28px);
  font-weight: 700;
  color: var(--color-dark);
  line-height: 1.3;
  margin-bottom: 18px;
  margin-top: clamp(32px,4vw,48px);
}

.article-section h2 em {
  font-style: italic;
  color: var(--color-green);
}

.article-section p {
  font-family: var(--font-body);
  font-size: 17px;
  color: var(--color-text);
  line-height: 1.80;
  margin-bottom: 18px;
}

.article-section p:last-child { margin-bottom: 0; }

/* ===== ARTICLE FIGURE ===== */
figure.article-figure {
  margin: clamp(24px,4vw,40px) auto;
  max-width: 560px;
  border-radius: 10px;
  overflow: hidden;
  line-height: 0;
}

figure.article-figure img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  display: block;
}

/* Full-width figure (bleeds to container edge) */
figure.article-figure--wide {
  margin-left: clamp(-20px,-5vw,-10px);
  margin-right: clamp(-20px,-5vw,-10px);
  border-radius: 0;
}
figure.article-figure--wide img { border-radius: 0; }

/* ===== INLINE CTA ===== */
.inline-cta {
  background: var(--color-green-soft);
  border-left: 4px solid var(--color-green);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 18px 22px;
  margin: clamp(24px,4vw,40px) 0;
}

.inline-cta p {
  font-size: 15px;
  color: var(--color-dark);
  margin-bottom: 10px;
  line-height: 1.55;
  font-weight: 500;
}

.inline-cta p:last-child { margin-bottom: 0; }

.inline-cta a {
  color: var(--color-green);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.inline-cta a:hover { color: var(--color-dark); }

/* ===== PRODUCT TURN SECTION ===== */
.product-turn {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: clamp(24px,4vw,40px);
  margin: clamp(32px,5vw,56px) 0;
}

.product-turn__header {
  font-family: var(--font-display);
  font-size: clamp(18px,3vw,24px);
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 20px;
}

.product-turn__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}

.product-turn__photo {
  border-radius: 8px;
  overflow: hidden;
  background: var(--color-cream-dark);
  aspect-ratio: 4/5;
}

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

.product-turn__content { display: flex; flex-direction: column; gap: 20px; }

/* ===== FACTS TABLE ===== */
dl.facts {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  overflow: hidden;
}

.facts__row {
  display: grid;
  grid-template-columns: 130px 1fr;
  border-bottom: 1px solid var(--color-border);
}

.facts__row:last-child { border-bottom: none; }

.facts__row dt {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
  padding: 10px 14px;
  background: var(--color-green-soft);
  display: flex;
  align-items: center;
}

.facts__row dd {
  font-size: 14px;
  color: var(--color-text);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  line-height: 1.4;
}

/* ===== BADGE ROW ===== */
.badge-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin: clamp(24px,4vw,36px) 0;
}

.badge-row__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  padding: 12px 6px;
  background: var(--color-cream);
  border-radius: 8px;
  border: 1px solid var(--color-border);
}

.badge-row__item svg {
  width: 26px;
  height: 26px;
  color: var(--color-green);
  flex: none;
}

.badge-row__label {
  font-size: 11px;
  font-weight: 600;
  color: var(--color-dark);
  line-height: 1.3;
  letter-spacing: 0.01em;
}

/* ===== FAQ ===== */
.faq-section {
  background: var(--color-cream-dark);
  padding: clamp(40px, 6vw, 72px) 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.faq-section__title {
  font-family: var(--font-display);
  font-size: clamp(22px,3.5vw,32px);
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: clamp(24px,4vw,40px);
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
}

.faq-item:first-of-type { border-top: 1px solid var(--color-border); }

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  color: var(--color-dark);
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary .faq-icon {
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--color-green-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s, transform 0.3s;
}

.faq-item summary .faq-icon svg {
  width: 12px;
  height: 12px;
  color: var(--color-green);
  transition: transform 0.3s;
}

.faq-item[open] summary .faq-icon {
  background: var(--color-green);
  transform: none;
}

.faq-item[open] summary .faq-icon svg {
  color: #fff;
  transform: rotate(45deg);
}

.faq-item__body {
  padding: 0 0 18px 0;
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.70;
}

.faq-item__body a {
  color: var(--color-green);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ===== CLOSING CTA ===== */
.closing-cta {
  background: var(--color-dark);
  padding: clamp(40px, 6vw, 72px) 0;
  text-align: center;
}

.closing-cta__inner {
  width: 100%;
  max-width: var(--max-article);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 32px);
}

.closing-cta__title {
  font-family: var(--font-display);
  font-size: clamp(22px,4vw,34px);
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 14px;
}

.closing-cta__title em {
  font-style: italic;
  color: var(--color-green-light);
}

.closing-cta__text {
  font-size: 16px;
  color: rgba(255,255,255,0.70);
  margin-bottom: 28px;
  line-height: 1.65;
}

.btn-cta {
  display: inline-block;
  background: var(--color-green);
  color: #fff;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  padding: 15px 36px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  letter-spacing: 0.02em;
  transition: background 0.22s, border-color 0.22s, color 0.22s;
  text-decoration: none;
  overflow: hidden;
}

.btn-cta:hover {
  background: transparent;
  border-color: var(--color-green-light);
  color: var(--color-green-light);
  text-decoration: none;
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--color-dark);
  padding: clamp(32px,5vw,56px) 0 clamp(20px,3vw,32px);
  border-top: 2px solid rgba(62,214,96,0.15);
}

.footer-inner {
  width: 100%;
  max-width: 1100px;
  margin-inline: auto;
  padding-inline: clamp(20px,5vw,48px);
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--color-green-light);
  margin-bottom: 8px;
}

.footer-tagline {
  font-size: 13px;
  color: rgba(255,255,255,0.50);
  margin-bottom: 24px;
  line-height: 1.45;
}

.footer-links {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  line-height: 2;
  margin-bottom: 20px;
}

.footer-links a {
  color: rgba(255,255,255,0.70);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-links a:hover {
  color: var(--color-green-light);
  text-decoration: none;
}

.footer-divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.08);
  margin: 20px 0;
}

.footer-disclosure {
  font-size: 12px;
  color: rgba(255,255,255,0.40);
  line-height: 1.65;
  max-width: 680px;
}

.footer-disclosure p { margin-bottom: 8px; }
.footer-disclosure p:last-child { margin-bottom: 0; }

.footer-copyright {
  font-size: 12px;
  color: rgba(255,255,255,0.30);
  margin-top: 20px;
}

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}
.reveal.revealed { opacity: 1; transform: translateY(0); }

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}
.reveal-left.revealed { opacity: 1; transform: translateX(0); }

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}
.reveal-right.revealed { opacity: 1; transform: translateX(0); }

/* ===== LEAD FIGURE ===== */
.lead-figure {
  margin: clamp(24px,4vw,40px) auto;
  max-width: 600px;
  border-radius: 10px;
  overflow: hidden;
  line-height: 0;
}

.lead-figure img {
  width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: cover;
  display: block;
  border-radius: 10px;
}

/* ===== COOKIE BANNER ===== */
#cookieBanner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--color-dark);
  border-top: 2px solid rgba(62,214,96,0.20);
  padding: clamp(16px,3vw,24px) clamp(16px,4vw,32px);
  box-shadow: 0 -8px 32px rgba(0,0,0,0.30);
  display: none;
}

#cookieBanner.visible { display: block; }

.cookie-banner__inner {
  max-width: 900px;
  margin-inline: auto;
}

.cookie-banner__text {
  font-size: 13px;
  color: rgba(255,255,255,0.70);
  margin-bottom: 14px;
  line-height: 1.6;
}

.cookie-banner__text a {
  color: var(--color-green-light);
  text-decoration: underline;
}

.cookie-banner__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.cookie-btn {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: var(--radius);
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.cookie-btn--accept {
  background: var(--color-green);
  color: #fff;
}
.cookie-btn--accept:hover { background: #15692f; }

.cookie-btn--reject {
  background: transparent;
  border-color: rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.70);
}
.cookie-btn--reject:hover { border-color: rgba(255,255,255,0.55); color: #fff; }

.cookie-btn--configure {
  background: transparent;
  border-color: transparent;
  color: rgba(255,255,255,0.45);
  padding-left: 4px;
  padding-right: 4px;
}
.cookie-btn--configure:hover { color: rgba(255,255,255,0.80); }

.cookie-configure-panel {
  display: none;
  margin-top: 14px;
  padding: 14px 16px;
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.10);
}
.cookie-configure-panel.open { display: block; }

.cookie-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.cookie-toggle-row:last-child { border-bottom: none; }

.cookie-toggle-label {
  font-size: 13px;
  color: rgba(255,255,255,0.75);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cookie-toggle-sublabel {
  font-size: 11px;
  color: rgba(255,255,255,0.38);
}

.cookie-toggle-switch {
  position: relative;
  width: 38px;
  height: 21px;
  flex: none;
}

.cookie-toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}

.cookie-toggle-slider {
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.15);
  border-radius: 21px;
  cursor: pointer;
  transition: background 0.2s;
}

.cookie-toggle-slider::before {
  content: '';
  position: absolute;
  width: 15px;
  height: 15px;
  left: 3px;
  top: 3px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.2s;
}

.cookie-toggle-switch input:checked + .cookie-toggle-slider { background: var(--color-green); }
.cookie-toggle-switch input:checked + .cookie-toggle-slider::before { transform: translateX(17px); }
.cookie-toggle-switch input:disabled + .cookie-toggle-slider { opacity: 0.6; cursor: not-allowed; }

.cookie-btn--save {
  margin-top: 12px;
  background: var(--color-green);
  color: #fff;
  border-color: transparent;
}
.cookie-btn--save:hover { background: #15692f; }

/* ===== PRIVACY PAGE ===== */
.privacy-page {
  background: var(--color-cream);
  min-height: 100vh;
}

.privacy-header {
  background: var(--color-dark);
  padding: clamp(40px,6vw,72px) 0 clamp(32px,5vw,56px);
}

.privacy-header__brand {
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--color-green-light);
  margin-bottom: 12px;
  display: block;
}

.privacy-header h1 {
  font-family: var(--font-display);
  font-size: clamp(26px,4vw,40px);
  color: #fff;
  font-weight: 700;
  line-height: 1.25;
}

.privacy-content {
  padding: clamp(40px,5vw,72px) 0;
  max-width: 760px;
}

.privacy-content h2 {
  font-family: var(--font-display);
  font-size: clamp(18px,2.5vw,22px);
  font-weight: 700;
  color: var(--color-dark);
  margin: 32px 0 12px;
}

.privacy-content h2:first-child { margin-top: 0; }

.privacy-content p,
.privacy-content li {
  font-size: 16px;
  color: var(--color-text-muted);
  line-height: 1.75;
  margin-bottom: 12px;
}

.privacy-content ul {
  padding-left: 20px;
  margin-bottom: 16px;
}

.privacy-content a {
  color: var(--color-green);
  text-decoration: underline;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 640px) {
  .product-turn__inner {
    grid-template-columns: 1fr;
  }

  .badge-row {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .badge-row__item:nth-child(4),
  .badge-row__item:nth-child(5) {
    grid-column: auto;
  }

  .facts__row {
    grid-template-columns: 110px 1fr;
  }

  .byline { flex-wrap: wrap; }
}

@media (max-width: 420px) {
  .badge-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .badge-row__item:last-child {
    grid-column: span 2;
  }
}

/* ===== ANIMATIONS ===== */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.article-header__inner {
  animation: fade-up 0.75s ease forwards;
}

/* Progressive-enhancement safety (injected by builder): scroll-reveal blocks stay VISIBLE
   unless JS confirms it can animate them by adding .js-anim to <html>. Guarantees a
   truncated page or a failed script can never leave content permanently hidden. */
html:not(.js-anim) .reveal,
html:not(.js-anim) .reveal-left,
html:not(.js-anim) .reveal-right,
html:not(.js-anim) .reveal-scale,
html:not(.js-anim) .stagger-child {
  opacity: 1 !important;
  transform: none !important;
}
