.mrkt-education {
  box-sizing: border-box;
  width: min(calc(100% - 32px), 69ch);
  margin: clamp(36px, 5vw, 64px) auto 16px;
  padding-block-start: clamp(24px, 4vw, 40px);
  border-block-start: 1px solid #26352c;
  color: #c5d0c9;
  font: 400 1rem/1.68 'Geist', system-ui, sans-serif;
  overflow-wrap: anywhere;
}

.mrkt-calc__shell > .mrkt-education {
  width: min(100%, 69ch);
  scroll-margin-block-start: 76px; /* Keep guide links clear of the fixed header. */
}

.mrkt-education h2,
.mrkt-education h3 {
  color: #f4f7f5;
  line-height: 1.28;
  letter-spacing: -0.025em;
}

.mrkt-education h2 {
  margin: 0 0 12px;
  font-size: clamp(24px, 2.8vw, 33px);
}

.mrkt-education h3 {
  margin: 28px 0 8px;
  font-size: clamp(18px, 2vw, 21px);
}

.mrkt-education p {
  margin: 0 0 12px;
}

.mrkt-education strong {
  color: #f4f7f5;
}

.mrkt-education .mrkt-education__calculation {
  margin-block: 16px;
  padding-inline-start: 14px;
  border-inline-start: 2px solid #39ef88;
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 0.9375rem;
}

.mrkt-education a {
  color: #39ef88;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.mrkt-education a:focus-visible {
  outline: 2px solid #39ef88;
  outline-offset: 3px;
  border-radius: 2px;
}

/* Keep the initial heading readable when the calculator cannot render. */
@media (scripting: none) {
  #calculator-main.mrkt-lot__loading > .mrkt-education__fallback-title {
    display: block !important;
  }
}
