/* Biotic PRE-PRO-POST — bright fermentation science
   Acorus teal/cyan language with open editorial product storytelling. */

/* ---------- Fonts (self-hosted Manrope variable, latin + latin-ext) ---------- */

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("assets/fonts/manrope-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("assets/fonts/manrope-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokens ---------- */

:root {
  --ink: #123b3a;
  --ink-soft: #315755;
  --teal: #0a6d78;
  --aqua: #ddf3f0;
  --sage: #dce5d2;
  --oat: #f7f5ee;
  --surface: #ffffff;
  --border: #d6e0dc;
  --muted: #5a6b68;
  --focus: #075ddb;
  --brand-green: #0b7961;

  --font: "Manrope", "Segoe UI", system-ui, Arial, sans-serif;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-pill: 999px;

  --space-section: clamp(72px, 11vw, 160px);
  --container: 1200px;
  --reading: 680px;
  --header-h: 72px;

  --shadow-soft: 0 1px 2px rgba(18, 59, 58, 0.05), 0 12px 32px rgba(18, 59, 58, 0.08);
}

/* ---------- Reset / base ---------- */

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 450;
  line-height: 1.6;
  color: var(--ink);
  background-color: var(--oat);
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}

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

h1, h2, h3, h4, p, ul, ol, figure, address {
  margin: 0;
}

address {
  font-style: normal;
}

a {
  color: var(--teal);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--ink);
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 2px;
}

::selection {
  background: var(--aqua);
  color: var(--ink);
}

[id] {
  scroll-margin-top: calc(var(--header-h) + 24px);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 100;
  padding: 12px 20px;
  background: var(--ink);
  color: #fff;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  text-decoration: none;
}

.skip-link:focus-visible {
  top: 0;
}

/* ---------- Type scale ---------- */

h1 {
  font-size: clamp(2.3rem, 5.2vw + 0.4rem, 4.25rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.045em;
  overflow-wrap: normal;
}

.hero-triad {
  display: block;
}

h2 {
  font-size: clamp(1.9rem, 2vw + 1.2rem, 3.25rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

h3 {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.015em;
}

.eyebrow {
  font-size: 0.75rem;
  font-weight: 750;
  line-height: 1.2;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 16px;
}

.lead {
  font-size: clamp(1.1rem, 0.4vw + 1rem, 1.3rem);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 34em;
}

.reading {
  max-width: var(--reading);
}

.reading p + p {
  margin-top: 1em;
}

/* ---------- Layout primitives ---------- */

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 48px);
}

.section {
  padding-block: var(--space-section);
}

.section-head {
  max-width: 780px;
  margin-bottom: clamp(40px, 5vw, 64px);
}

.section-intro {
  margin-top: 20px;
  color: var(--ink-soft);
  max-width: var(--reading);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 26px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-primary {
  background-color: var(--ink);
  color: #fff;
}

.btn-primary:hover {
  background-color: var(--teal);
  color: #fff;
}

.btn-secondary {
  background-color: var(--surface);
  color: var(--ink);
  border-color: var(--border);
}

.btn-secondary:hover {
  background-color: var(--aqua);
  color: var(--ink);
}

.btn-light {
  background-color: var(--oat);
  color: var(--ink);
}

.btn-light:hover {
  background-color: var(--aqua);
  color: var(--ink);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: var(--oat);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 4px 20px rgba(18, 59, 58, 0.06);
}

.header-inner {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 48px);
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Brand chip: crops the supplied wide logo band to its wordmark.
   Chip colour matches the asset's own green so the crop is seamless. */
.brand {
  flex: none;
  width: 96px;
  height: 48px;
  border-radius: 10px;
  background: var(--brand-green) url("assets/web/acorus-balance-logo.webp") no-repeat;
  background-position: right 6px top -16px;
  background-size: auto 78px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav ul {
  display: flex;
  gap: 26px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav ul a {
  display: inline-block;
  padding: 10px 2px;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border-bottom: 2px solid transparent;
}

.site-nav ul a:hover {
  border-bottom-color: var(--teal);
  color: var(--teal);
}

.btn-header {
  min-height: 44px;
  padding: 10px 20px;
  font-size: 0.95rem;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 8px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  font: inherit;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle-bars {
  position: relative;
  width: 18px;
  height: 2px;
  background: var(--ink);
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--ink);
}

.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }

.nav-toggle[aria-expanded="true"] .nav-toggle-bars {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after {
  top: 0;
  transform: rotate(-45deg);
}

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 16px clamp(20px, 4vw, 48px) 24px;
    background: var(--oat);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 24px 40px rgba(18, 59, 58, 0.1);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav ul {
    flex-direction: column;
    gap: 0;
  }

  .site-nav ul a {
    display: block;
    padding: 14px 4px;
    border-bottom: 1px solid var(--border);
    font-size: 1.05rem;
  }

  .site-nav ul a:hover {
    border-bottom-color: var(--teal);
  }

  .btn-header {
    margin-top: 8px;
    justify-content: center;
  }
}

/* ---------- Hero ---------- */

.hero {
  padding-block: clamp(48px, 7vw, 112px) var(--space-section);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
}

.hero-triad {
  color: var(--teal);
}

.hero-sub {
  margin-top: 18px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--ink-soft);
}

.hero .lead {
  margin-top: 20px;
}

.hero-note {
  margin-top: 18px;
  font-size: 0.9rem;
  color: var(--muted);
}

.hero-media {
  position: relative;
}

.blob {
  position: absolute;
  z-index: 0;
}

.blob-sage {
  width: 78%;
  aspect-ratio: 1;
  right: -10%;
  top: -12%;
  background: var(--sage);
  border-radius: 58% 42% 47% 53% / 52% 55% 45% 48%;
}

.hero-figure {
  position: relative;
  z-index: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-media {
    order: 2;
  }
}

/* ---------- Values ---------- */

.value-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 48px) clamp(32px, 5vw, 72px);
}

.value-item {
  padding-top: 20px;
  border-top: 2px solid var(--ink);
}

.value-item h3 {
  margin-bottom: 12px;
}

.value-item p {
  color: var(--ink-soft);
}

@media (max-width: 760px) {
  .value-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Formula system (signature) ---------- */

.section-formula {
  background-color: var(--ink);
  color: var(--oat);
  border-radius: 0;
}

.section-formula .eyebrow {
  color: var(--aqua);
}

.section-head-inverse .section-intro {
  color: var(--sage);
}

.formula-flow {
  list-style: none;
  counter-reset: none;
  margin: 0;
  padding: 0;
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 56px);
}

/* connecting fermentation line */
.formula-flow::before {
  content: "";
  position: absolute;
  top: 36px;
  left: 36px;
  right: 36px;
  border-top: 2px dashed var(--teal);
}

.formula-stage {
  position: relative;
}

.formula-node {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--ink);
  border: 2px solid var(--aqua);
  color: var(--aqua);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.formula-stage p {
  margin-top: 20px;
  color: var(--sage);
  max-width: 30em;
}

.formula-stage strong {
  color: var(--oat);
}

.formula-outro {
  margin-top: clamp(40px, 5vw, 64px);
  padding-top: 28px;
  border-top: 1px solid var(--ink-soft);
  color: var(--sage);
  max-width: var(--reading);
}

@media (max-width: 760px) {
  .formula-flow {
    grid-template-columns: 1fr;
    gap: 36px;
    padding-left: 0;
  }

  .formula-flow::before {
    top: 36px;
    bottom: 36px;
    left: 35px;
    right: auto;
    border-top: 0;
    border-left: 2px dashed var(--teal);
  }

  .formula-stage {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 20px;
    align-items: start;
  }

  .formula-stage p {
    margin-top: 8px;
  }
}

/* ---------- Wide atmospheric figure ---------- */

.wide-figure {
  margin: 0;
}

.wide-figure img {
  width: 100%;
  height: clamp(280px, 46vw, 560px);
  object-fit: cover;
}

/* ---------- Education ---------- */

.edu-grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(32px, 5vw, 88px);
  align-items: start;
}

.edu-aside {
  position: sticky;
  top: calc(var(--header-h) + 32px);
}

.edu-body p {
  color: var(--ink-soft);
}

.edu-body p:first-of-type {
  font-size: 1.15rem;
  color: var(--ink);
}

@media (max-width: 860px) {
  .edu-grid {
    grid-template-columns: 1fr;
  }

  .edu-aside {
    position: static;
  }
}

/* ---------- Process ---------- */

.section-process {
  background-color: var(--aqua);
}

.process-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}

.section-process .section-head {
  margin-bottom: 32px;
}

.process-subhead {
  margin-bottom: 24px;
}

.process-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
  display: grid;
  gap: 16px;
}

.process-steps li {
  counter-increment: step;
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px 28px 24px 76px;
}

.process-steps li::before {
  content: counter(step);
  position: absolute;
  left: 24px;
  top: 24px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-weight: 750;
  font-size: 0.9rem;
}

.process-steps h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.process-steps p {
  color: var(--ink-soft);
}

.process-figure {
  position: sticky;
  top: calc(var(--header-h) + 32px);
}

.process-figure img {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}

.process-figure figcaption,
.science-figure figcaption,
.benefits-frame figcaption {
  margin-top: 12px;
  font-size: 0.85rem;
  color: var(--muted);
}

@media (max-width: 860px) {
  .process-grid {
    grid-template-columns: 1fr;
  }

  .process-figure {
    position: static;
  }
}

/* ---------- Science ---------- */

.science-grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(32px, 5vw, 88px);
  align-items: center;
}

.science-figure {
  max-width: 420px;
}

.science-figure img {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}

.science-copy h2 {
  margin-bottom: 20px;
}

.science-copy .reading p {
  color: var(--ink-soft);
}

.science-source {
  margin-top: 24px;
  padding: 14px 18px;
  display: inline-block;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 0.92rem;
  color: var(--muted);
}

@media (max-width: 860px) {
  .science-grid {
    grid-template-columns: 1fr;
  }

  .science-figure {
    order: 2;
    max-width: 360px;
  }
}

/* ---------- Benefits infographic ---------- */

.section-benefits {
  background-color: var(--sage);
}

.section-benefits .section-head {
  margin-bottom: 40px;
}

.benefits-frame {
  max-width: 820px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(16px, 3vw, 32px);
  box-shadow: var(--shadow-soft);
}

.benefits-frame img {
  border-radius: var(--radius-sm);
}

/* ---------- Pillars ---------- */

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 48px) clamp(32px, 5vw, 72px);
}

.pillar {
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.pillar h3 {
  margin-bottom: 12px;
}

.pillar p {
  color: var(--ink-soft);
}

@media (max-width: 760px) {
  .pillar-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- FAQ ---------- */

.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(32px, 5vw, 88px);
  align-items: start;
}

.faq-aside {
  position: sticky;
  top: calc(var(--header-h) + 32px);
}

.faq-list {
  border-top: 1px solid var(--border);
}

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

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 4px;
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

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

.faq-item summary::after {
  content: "";
  flex: none;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--teal);
  border-bottom: 2px solid var(--teal);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
  margin-right: 6px;
}

.faq-item[open] summary::after {
  transform: rotate(-135deg);
}

.faq-item summary:hover {
  color: var(--teal);
}

.faq-answer {
  padding: 0 4px 26px;
  max-width: var(--reading);
  color: var(--ink-soft);
}

.faq-answer p + p {
  margin-top: 0.85em;
}

@media (max-width: 860px) {
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .faq-aside {
    position: static;
  }
}

/* ---------- Final panel ---------- */

.section-final {
  padding-top: 0;
}

.final-panel {
  background: var(--ink);
  color: var(--oat);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  align-items: stretch;
}

.final-copy {
  padding: clamp(36px, 5vw, 72px);
  align-self: center;
}

.final-copy .eyebrow {
  color: var(--aqua);
}

.final-copy p {
  color: var(--sage);
  max-width: 32em;
}

.final-copy h2 {
  margin-bottom: 16px;
}

.final-copy .cta-row {
  margin-top: 28px;
}

.final-note {
  margin-top: 24px;
  font-size: 0.92rem;
}

.final-note a {
  color: var(--aqua);
}

.final-note a:hover {
  color: #fff;
}

.final-figure {
  min-height: 320px;
}

.final-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 860px) {
  .final-panel {
    grid-template-columns: 1fr;
  }

  .final-figure {
    order: -1;
    min-height: 0;
  }

  .final-figure img {
    aspect-ratio: 3 / 2;
    height: auto;
  }
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--ink);
  color: var(--sage);
  padding-block: clamp(48px, 6vw, 80px) 32px;
  margin-top: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 4fr) minmax(0, 3fr);
  gap: clamp(32px, 5vw, 64px);
  padding-bottom: 40px;
  border-bottom: 1px solid var(--ink-soft);
}

.brand-footer {
  display: block;
}

.footer-disclaimer {
  margin-top: 20px;
  font-size: 0.92rem;
  max-width: 34em;
}

.footer-contact p + p {
  margin-top: 6px;
}

.footer-contact strong {
  color: var(--oat);
}

.footer-contact a,
.footer-nav a {
  color: var(--aqua);
  text-decoration: none;
}

.footer-contact a:hover,
.footer-nav a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-nav li + li {
  margin-top: 10px;
}

.footer-legal {
  padding-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 40px;
  font-size: 0.85rem;
  color: var(--sage);
}

.poc-note {
  max-width: 62em;
  opacity: 0.85;
}

@media (max-width: 860px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Bright editorial revision ---------- */

:root {
  --teal: #066f79;
  --teal-bright: #007d87;
  --aqua: #e0f7f7;
  --aqua-strong: #bdebef;
  --sky: #f1fbfc;
  --sage: #e6f0db;
  --peach: #ffe5da;
  --coral: #ff8872;
  --sun: #f6d77d;
  --oat: #fbfaf5;
  --border: #c6e4e2;
  --muted: #4f6a68;
  --radius-md: 14px;
  --radius-lg: 28px;
  --shadow-soft: 0 2px 4px rgba(18, 59, 58, 0.05), 0 18px 48px rgba(18, 59, 58, 0.11);
}

body {
  background-color: var(--surface);
}

h1 {
  font-size: clamp(2.3rem, 5.2vw + 0.4rem, 4.25rem);
}

h2 {
  font-size: clamp(1.9rem, 2.2vw + 1.2rem, 3.6rem);
}

.btn {
  border-radius: 10px;
  font-weight: 750;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease,
    transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
  background-color: var(--teal);
  box-shadow: 0 8px 24px rgba(8, 119, 131, 0.2);
}

.btn-primary:hover {
  background-color: var(--ink);
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(18, 59, 58, 0.2);
}

.btn-secondary:hover {
  border-color: var(--teal-bright);
}

.site-header {
  background-color: rgba(255, 255, 255, 0.96);
}

.nav-toggle {
  border-radius: 10px;
}

.hero {
  padding-block: clamp(52px, 7vw, 112px) clamp(76px, 10vw, 144px);
  background: var(--surface);
}

.hero-grid {
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
}

.hero-triad {
  color: var(--teal-bright);
}

.hero-media {
  padding: clamp(12px, 2vw, 22px);
  background: var(--aqua);
  border-radius: 34px;
}

.hero-media::after {
  content: "";
  position: absolute;
  z-index: 2;
  width: clamp(42px, 6vw, 84px);
  aspect-ratio: 1;
  right: clamp(-16px, -2vw, -8px);
  bottom: clamp(24px, 4vw, 54px);
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 10px 26px rgba(255, 136, 114, 0.22);
}

.blob-sage {
  width: 48%;
  right: -7%;
  top: -16%;
  background: var(--sun);
  border-radius: 50%;
}

.hero-figure {
  border-radius: 24px;
  border: 8px solid var(--surface);
}

.value-item {
  border-top: 3px solid var(--teal-bright);
}

.value-item:nth-child(2) {
  border-top-color: var(--coral);
}

.value-item:nth-child(3) {
  border-top-color: var(--sun);
}

.value-item:nth-child(4) {
  border-top-color: var(--teal);
}

.section-formula {
  background-color: var(--aqua);
  color: var(--ink);
}

.section-formula .eyebrow {
  color: var(--teal);
}

.section-head-inverse .section-intro,
.formula-stage p,
.formula-outro {
  color: var(--ink-soft);
}

.formula-flow::before {
  border-color: var(--teal-bright);
}

.formula-node {
  background: var(--surface);
  border-color: var(--teal-bright);
  color: var(--ink);
}

.formula-stage strong {
  color: var(--ink);
}

.formula-outro {
  border-top-color: var(--teal-bright);
}

.section-education {
  background: var(--oat);
}

.section-process {
  background-color: var(--peach);
}

.process-steps li {
  border-radius: 18px;
  box-shadow: 0 8px 26px rgba(18, 59, 58, 0.06);
}

.process-steps li::before {
  background: var(--teal);
}

.section-science,
.section-faq {
  background: var(--surface);
}

.section-benefits {
  background-color: var(--aqua-strong);
}

.section-pillars {
  background: var(--sky);
}

.pillar {
  border: 0;
  border-radius: 20px;
  box-shadow: 0 10px 32px rgba(18, 59, 58, 0.06);
}

.pillar:nth-child(1) {
  background: var(--aqua);
}

.pillar:nth-child(2) {
  background: var(--peach);
}

.pillar:nth-child(3) {
  background: var(--sage);
}

.pillar:nth-child(4) {
  background: #fff8df;
}

.final-panel {
  background: var(--teal);
  color: #fff;
}

.final-copy .eyebrow {
  color: #fff1bb;
}

.final-copy p {
  color: #e0f7f7;
}

.final-note a {
  color: #fff;
  font-weight: 700;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .site-nav {
    background: var(--surface);
  }
}

@media (max-width: 480px) {
  .hero .cta-row {
    flex-wrap: nowrap;
    gap: 8px;
  }

  .hero .cta-row .btn {
    flex: 1 1 0;
    min-width: 0;
    padding-inline: 10px;
    font-size: 0.88rem;
    white-space: nowrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
