/* HOW + WHY — editorial pipeline (no cards) */

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

.onx-insight a {
  color: #2d6a6a;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(0, 165, 168, 0.35);
  text-underline-offset: 3px;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.onx-insight a:hover {
  color: #00a5a8;
  text-decoration-color: rgba(0, 165, 168, 0.65);
}

.onx-insight {
  position: relative;
  padding: 72px 0 80px;
  overflow: hidden;
}

.onx-insight--how {
  background: var(--onx-canvas);
}

.onx-insight--why {
  background: #f4f6f0;
  border-top: 1px solid rgba(58, 68, 53, 0.07);
  border-bottom: 1px solid rgba(58, 68, 53, 0.07);
}

.onx-insight--mechanisms {
  background: #fafbf8;
  border-top: 1px solid rgba(58, 68, 53, 0.08);
  border-bottom: 1px solid rgba(58, 68, 53, 0.08);
}

.onx-insight--science {
  background: var(--onx-canvas);
}

.onx-insight--trust {
  background: linear-gradient(180deg, #eef1ea 0%, #e8ece4 100%);
  border-top: 1px solid rgba(58, 68, 53, 0.08);
}

.onx-insight--trust .onx-insight__title em {
  color: var(--onx-ocean);
}

.onx-insight--why::before,
.onx-insight--mechanisms::before,
.onx-insight--science::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(122, 138, 114, 0.08) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(122, 138, 114, 0.08) 1px, transparent 1px);
  background-size: 28px 28px;
}

.onx-insight__inner {
  position: relative;
  z-index: 1;
  max-width: var(--onx-max-width);
  margin: 0 auto;
  padding: 0 28px;
}

.onx-insight__header {
  max-width: 52rem;
  margin-bottom: 48px;
}

.onx-insight__kicker {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--onx-moss);
  margin: 0 0 14px;
}

.onx-insight__title {
  font-family: var(--onx-font-serif);
  font-size: clamp(30px, 3.8vw, 42px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--onx-forest);
  margin: 0 0 18px;
}

.onx-insight__title em {
  font-style: italic;
  color: var(--onx-emerald);
}

.onx-insight__lead {
  font-size: 17px;
  line-height: 1.72;
  color: #3a4435;
  margin: 0;
  max-width: 62ch;
}

/* ── Pipeline (HowTo steps) ── */
.onx-pipeline {
  list-style: none;
  margin: 0 0 56px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

.onx-pipeline::before {
  content: '';
  position: absolute;
  left: 23px;
  top: 28px;
  bottom: 28px;
  width: 2px;
  background: linear-gradient(180deg, var(--onx-leaf) 0%, #4dadb8 55%, var(--onx-moss) 100%);
  opacity: 0.35;
  border-radius: 2px;
}

.onx-pipeline__step {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 24px 28px;
  padding: 28px 0;
  border-bottom: 1px solid rgba(58, 68, 53, 0.08);
}

.onx-pipeline__step:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.onx-pipeline__step:first-child {
  padding-top: 0;
}

.onx-pipeline__marker {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 2px;
}

.onx-pipeline__n {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-family: var(--onx-font-serif);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #fff;
  background: linear-gradient(145deg, #566e58 0%, #3a4435 100%);
  box-shadow: 0 4px 16px rgba(42, 58, 32, 0.15);
  position: relative;
  z-index: 1;
}

.onx-pipeline__step:nth-child(2) .onx-pipeline__n {
  background: linear-gradient(145deg, #00a5a8 0%, #2d6a6a 100%);
  box-shadow: 0 4px 18px rgba(0, 165, 168, 0.28);
}

.onx-pipeline__step:nth-child(3) .onx-pipeline__n {
  background: linear-gradient(145deg, #73a563 0%, #3d6a32 100%);
  box-shadow: 0 4px 16px rgba(115, 165, 99, 0.25);
}

.onx-pipeline__body h3 {
  font-family: var(--onx-font-serif);
  font-size: clamp(20px, 2.2vw, 24px);
  font-weight: 700;
  color: var(--onx-forest);
  margin: 0 0 10px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.onx-pipeline__body p {
  font-size: 15px;
  line-height: 1.72;
  color: #3f4a3a;
  margin: 0;
  max-width: 58ch;
}

.onx-pipeline__body p strong {
  color: #2a3228;
  font-weight: 600;
}

/* ── Contrast strip (not cards) ── */
.onx-contrast {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0 32px;
  align-items: stretch;
  padding: 36px 0 8px;
  border-top: 2px solid rgba(58, 68, 53, 0.1);
}

.onx-contrast__col {
  padding: 8px 0;
}

.onx-contrast__eyebrow {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin: 0 0 12px;
  color: var(--onx-mist);
}

.onx-contrast__col--oneirox .onx-contrast__eyebrow {
  color: #2d6a6a;
}

.onx-contrast__formula {
  font-family: var(--onx-font-serif);
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 14px;
  letter-spacing: -0.02em;
}

.onx-contrast__col--old .onx-contrast__formula {
  color: #6a7560;
  text-decoration: line-through;
  text-decoration-color: rgba(106, 117, 96, 0.45);
  text-decoration-thickness: 2px;
}

.onx-contrast__col--oneirox .onx-contrast__formula {
  color: var(--onx-forest);
}

.onx-contrast__text {
  font-size: 15px;
  line-height: 1.7;
  color: #4a5445;
  margin: 0;
}

.onx-contrast__col--oneirox .onx-contrast__text {
  color: #3a4435;
}

.onx-contrast__divider {
  width: 1px;
  align-self: stretch;
  background: linear-gradient(180deg, transparent, rgba(0, 165, 168, 0.35) 20%, rgba(0, 165, 168, 0.35) 80%, transparent);
  position: relative;
}

.onx-contrast__divider::after {
  content: 'vs';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #2d6a6a;
  background: var(--onx-canvas);
  padding: 8px 0;
}

/* ── Manifesto list (why — no cards) ── */
.onx-manifesto {
  list-style: none;
  margin: 40px 0 0;
  padding: 0;
  counter-reset: manifesto;
}

.onx-manifesto__item {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 20px 32px;
  padding: 32px 0;
  border-bottom: 1px solid rgba(58, 68, 53, 0.1);
  counter-increment: manifesto;
}

.onx-manifesto__item:first-child {
  padding-top: 0;
}

.onx-manifesto__item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.onx-manifesto__n {
  font-family: var(--onx-font-serif);
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 600;
  line-height: 1;
  color: rgba(0, 165, 168, 0.22);
  padding-top: 4px;
}

.onx-manifesto__item:nth-child(2) .onx-manifesto__n { color: rgba(45, 106, 106, 0.2); }
.onx-manifesto__item:nth-child(3) .onx-manifesto__n { color: rgba(115, 165, 99, 0.22); }
.onx-manifesto__item:nth-child(4) .onx-manifesto__n { color: rgba(86, 110, 88, 0.2); }

.onx-manifesto__body h3 {
  font-family: var(--onx-font-serif);
  font-size: clamp(19px, 2.1vw, 23px);
  font-weight: 700;
  color: var(--onx-forest);
  margin: 0 0 10px;
  line-height: 1.22;
  letter-spacing: -0.02em;
}

.onx-manifesto__body p {
  font-size: 15px;
  line-height: 1.72;
  color: #3f4a3a;
  margin: 0;
  max-width: 62ch;
}

/* ── Mechanisms (editorial, no cards) ── */
.onx-mech-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.onx-mech-list__item {
  padding: 36px 0;
  border-bottom: 1px solid rgba(58, 68, 53, 0.1);
}

.onx-mech-list__item:first-child {
  padding-top: 8px;
}

.onx-mech-list__item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.onx-mech-list__tag {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #2d6a6a;
  margin: 0 0 12px;
}

.onx-mech-list__item:nth-child(2) .onx-mech-list__tag { color: #3d6a8a; }
.onx-mech-list__item:nth-child(3) .onx-mech-list__tag { color: #3d6a42; }

.onx-mech-list__title {
  font-family: var(--onx-font-serif);
  font-size: clamp(21px, 2.4vw, 26px);
  font-weight: 700;
  color: var(--onx-forest);
  margin: 0 0 14px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.onx-mech-list__text {
  font-size: 16px;
  line-height: 1.78;
  color: #3f4a3a;
  margin: 0;
  max-width: 68ch;
}

.onx-mech-list__text strong {
  color: #2a3228;
  font-weight: 600;
}

/* ── Science canon (definition list) ── */
.onx-canon {
  margin: 8px 0 0;
  padding: 0;
}

.onx-canon__entry {
  display: grid;
  grid-template-columns: minmax(160px, 220px) minmax(0, 1fr);
  gap: 16px 40px;
  padding: 28px 0;
  border-bottom: 1px solid rgba(58, 68, 53, 0.09);
}

.onx-canon__entry:first-child {
  padding-top: 0;
}

.onx-canon__entry:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.onx-canon__name {
  font-family: var(--onx-font-serif);
  font-size: 17px;
  font-weight: 700;
  color: var(--onx-forest);
  line-height: 1.3;
  margin: 0;
  padding-top: 2px;
}

.onx-canon__insight {
  font-size: 15px;
  line-height: 1.74;
  color: #3f4a3a;
  margin: 0;
}

.onx-canon__insight strong {
  color: #2a3228;
  font-weight: 600;
}

.onx-insight__cta {
  margin-top: 44px;
}

.onx-insight__header--center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.onx-insight__header--center .onx-insight__lead {
  margin-left: auto;
  margin-right: auto;
}

.onx-insight__inner--narrow {
  max-width: 920px;
}

/* ── Trust split (no card boxes) ── */
.onx-trust-split {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0 40px;
  margin-top: 44px;
  padding-top: 36px;
  border-top: 2px solid rgba(58, 68, 53, 0.1);
}

.onx-trust-split__heading {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin: 0 0 20px;
}

.onx-trust-split__col--is .onx-trust-split__heading {
  color: #2d6a6a;
}

.onx-trust-split__col--not .onx-trust-split__heading {
  color: #3d6a8a;
}

.onx-trust-split__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.onx-trust-split__list li {
  font-size: 15px;
  line-height: 1.72;
  color: #3f4a3a;
  padding-left: 18px;
  position: relative;
}

.onx-trust-split__col--is .onx-trust-split__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #00a5a8;
  box-shadow: 0 0 8px rgba(0, 165, 168, 0.4);
}

.onx-trust-split__col--not .onx-trust-split__list li::before {
  content: '—';
  position: absolute;
  left: 0;
  top: 0;
  color: #6a7a88;
  font-weight: 700;
}

.onx-trust-split__rule {
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(58, 68, 53, 0.15) 15%, rgba(58, 68, 53, 0.15) 85%, transparent);
}

.onx-trust-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 24px;
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid rgba(58, 68, 53, 0.1);
}

.onx-trust-nav a {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #566e58;
  text-decoration: none;
  padding: 8px 0;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.onx-trust-nav a:hover {
  color: #2d6a6a;
  border-bottom-color: rgba(0, 165, 168, 0.4);
}

/* ── FAQ (single column, no cards) ── */
.onx-insight--faq {
  background: #fafbf8;
  border-top: 1px solid rgba(58, 68, 53, 0.08);
}

.onx-insight--faq::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(122, 138, 114, 0.07) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(122, 138, 114, 0.07) 1px, transparent 1px);
  background-size: 28px 28px;
}

.onx-insight__inner--faq {
  max-width: 720px;
}

.onx-faq {
  margin-top: 8px;
}

.onx-faq__item {
  padding: 28px 0 28px 20px;
  border-bottom: 1px solid rgba(58, 68, 53, 0.1);
  border-left: 3px solid rgba(0, 165, 168, 0.35);
  transition: border-left-color 0.25s ease;
}

.onx-faq__item:first-child {
  padding-top: 4px;
}

.onx-faq__item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.onx-faq__item:hover {
  border-left-color: rgba(0, 165, 168, 0.75);
}

.onx-faq__q {
  font-family: var(--onx-font-serif);
  font-size: clamp(18px, 2.1vw, 21px);
  font-weight: 700;
  color: var(--onx-forest);
  margin: 0 0 12px;
  line-height: 1.28;
  letter-spacing: -0.02em;
}

.onx-faq__a p {
  font-size: 15px;
  line-height: 1.76;
  color: #3f4a3a;
  margin: 0;
}

.onx-faq__a strong {
  color: #2a3228;
  font-weight: 600;
}

.onx-faq__a em {
  font-style: italic;
  color: #2d6a6a;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .onx-insight {
    padding: 56px 0 64px;
  }

  .onx-insight__inner {
    padding: 0 18px;
  }

  .onx-pipeline::before {
    left: 19px;
  }

  .onx-pipeline__step {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 16px 20px;
    padding: 22px 0;
  }

  .onx-pipeline__n {
    width: 40px;
    height: 40px;
    font-size: 12px;
  }

  .onx-contrast {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 28px;
  }

  .onx-contrast__divider {
    width: 100%;
    height: 1px;
    min-height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 165, 168, 0.3) 20%, rgba(0, 165, 168, 0.3) 80%, transparent);
  }

  .onx-contrast__divider::after {
    top: 50%;
    padding: 6px 12px;
    background: #f4f6f0;
  }

  .onx-manifesto__item {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 12px 18px;
    padding: 24px 0;
  }

  .onx-canon__entry {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 22px 0;
  }

  .onx-trust-split {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-top: 32px;
    padding-top: 28px;
  }

  .onx-trust-split__rule {
    width: 100%;
    height: 1px;
    min-height: 1px;
  }

  .onx-mech-list__item {
    padding: 28px 0;
  }

  .onx-mech-list__text {
    font-size: 15px;
  }

  .onx-faq__item {
    padding: 22px 0 22px 14px;
  }

  .onx-faq__q {
    font-size: 17px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .onx-pipeline__n,
  .onx-manifesto__n {
    transition: none;
  }
}
