.knowledge-section {
  padding: clamp(72px, 9vw, 132px) 6vw;
  background: var(--cream, #f6f2e9);
  color: var(--ink, #171714);
}

.knowledge-section.is-light {
  background: var(--white, #fff);
}

.knowledge-section.is-dark {
  background: var(--ink, var(--bg, #171714));
  color: var(--cream, var(--text, #f6f2e9));
}

.knowledge-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.knowledge-header {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(36px, 7vw, 110px);
  align-items: start;
  margin-bottom: clamp(48px, 7vw, 88px);
}

.knowledge-header h2,
.knowledge-section > .knowledge-inner > h2 {
  margin: 0;
  font-size: clamp(2.1rem, 4.6vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
  font-weight: 500;
}

.knowledge-header p,
.knowledge-lead {
  max-width: 760px;
  margin: 0;
  font-size: clamp(1.05rem, 1.45vw, 1.32rem);
  line-height: 1.65;
}

.knowledge-kicker {
  display: block;
  margin-bottom: 18px;
  color: var(--gold, #b88a2f);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* Small gold labels need a darker tone on light sections. */
.knowledge-section.is-light .knowledge-kicker {
  color: #80601d;
}

.knowledge-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 5vw, 72px);
}

.knowledge-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.knowledge-block {
  padding-top: 22px;
  border-top: 1px solid currentColor;
}

.knowledge-block h3 {
  margin: 0 0 14px;
  font-size: clamp(1.2rem, 1.8vw, 1.65rem);
  line-height: 1.2;
}

.knowledge-block p,
.knowledge-block li {
  font-size: 1rem;
  line-height: 1.65;
}

.knowledge-block p {
  margin: 0;
}

.knowledge-block p + p {
  margin-top: 14px;
}

.knowledge-block ul,
.knowledge-block ol {
  margin: 16px 0 0;
  padding-left: 1.25rem;
}

.definition-block {
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(38px, 6vw, 76px) 0;
  border-top: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
}

.definition-block h2 {
  max-width: 820px;
  margin: 0 0 24px;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.definition-block p {
  max-width: 820px;
  margin: 0;
  font-size: clamp(1.08rem, 1.6vw, 1.35rem);
  line-height: 1.65;
}

.method-table-wrap {
  width: 100%;
  margin-top: 42px;
  overflow-x: auto;
}

.method-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  text-align: left;
}

.method-table th,
.method-table td {
  padding: 18px 16px;
  border-bottom: 1px solid color-mix(in srgb, currentColor 24%, transparent);
  vertical-align: top;
  line-height: 1.55;
}

.method-table th {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.example-list {
  display: grid;
  gap: 0;
  margin-top: 42px;
}

.example-item {
  display: grid;
  grid-template-columns: minmax(140px, 0.35fr) minmax(0, 1.65fr);
  gap: 28px;
  padding: 26px 0;
  border-top: 1px solid currentColor;
}

.example-item:last-child {
  border-bottom: 1px solid currentColor;
}

.example-item strong {
  font-size: 1.05rem;
}

.example-item p {
  margin: 0;
  line-height: 1.65;
}

.faq-list {
  max-width: 940px;
  margin: 42px auto 0;
}

.faq-list details {
  border-top: 1px solid currentColor;
}

.faq-list details:last-child {
  border-bottom: 1px solid currentColor;
}

.faq-list summary {
  position: relative;
  padding: 24px 48px 24px 0;
  cursor: pointer;
  list-style: none;
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  font-weight: 600;
}

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

.faq-list summary::after {
  content: "+";
  position: absolute;
  top: 20px;
  right: 4px;
  font-size: 1.6rem;
  font-weight: 300;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  max-width: 820px;
  margin: 0;
  padding: 0 48px 26px 0;
  line-height: 1.7;
}

.case-flow {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  margin: 44px 0;
  counter-reset: case-step;
}

.case-step {
  counter-increment: case-step;
  padding-top: 18px;
  border-top: 1px solid currentColor;
}

.case-step::before {
  content: "0" counter(case-step);
  display: block;
  margin-bottom: 18px;
  color: var(--gold, #b88a2f);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.case-step h3 {
  margin: 0 0 10px;
  font-size: 1.05rem;
}

.case-step p {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.6;
}

.source-note,
.content-note {
  max-width: 900px;
  margin-top: 34px;
  padding-left: 18px;
  border-left: 3px solid var(--gold, #b88a2f);
  font-size: 0.95rem;
  line-height: 1.65;
}

.source-note a,
.content-note a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.page-updated {
  margin-top: 30px;
  color: var(--muted, #68675f);
  font-size: 0.82rem;
}

@media (max-width: 860px) {
  .knowledge-header,
  .knowledge-grid,
  .knowledge-grid.two {
    grid-template-columns: 1fr;
  }

  .case-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 901px) and (max-width: 1100px) {
  .nav-links,
  .nav-cta {
    display: none !important;
  }

  .nav-mobile-actions,
  .nav-burger {
    display: flex !important;
  }

  .nav-call-mobile {
    display: inline-flex !important;
  }
}

@media (min-width: 1101px) {
  .knowledge-header {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(36px, 6vw, 90px);
  }

  .definition-block {
    max-width: 1180px;
  }

  .definition-block h2,
  .definition-block p {
    max-width: 950px;
  }

  .faq-list {
    max-width: 1100px;
  }

  .pain-section .pain-header {
    max-width: 960px;
  }
}

@media (min-width: 861px) and (max-width: 1100px) {
  .knowledge-header {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 560px) {
  .knowledge-section {
    padding-right: 22px;
    padding-left: 22px;
  }

  .example-item,
  .case-flow {
    grid-template-columns: 1fr;
  }

  .example-item {
    gap: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .js .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}
