/* Reference pages extend the site's existing editorial layout. */
.ip-page .framework-thesis { max-width: 740px; }
.ip-page .eyebrow a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.ip-page-nav { align-items: flex-start; }
.ip-page-nav a { max-width: 100%; overflow-wrap: anywhere; }
.ip-related { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; margin-top: 28px; }
.ip-related a { padding: 16px 0; border-top: 1px solid var(--line-soft); color: var(--green-text); font-weight: 600; line-height: 1.6; }
.ip-related a span { white-space: nowrap; }
.ip-path { margin: 26px 0; padding: 22px 0; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.ip-path-overview { color: var(--green-text); font-size: 14px; font-weight: 600; }
.ip-path ol { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding: 0; margin: 16px 0 0; }
.ip-path li { min-width: 0; }
.ip-path li a { display: flex; flex-direction: column; padding: 14px; border-radius: 8px; background: #f5f6f5; text-decoration: none; color: var(--charcoal); line-height: 1.5; height: 100%; }
.ip-path li a[aria-current] { background: #eaf6ee; box-shadow: inset 0 0 0 1px var(--green-dark); }
.ip-path span { color: var(--green-text); font-size: 12px; margin-bottom: 5px; }
.ip-path strong { font-size: 14px; }
.ip-path small { font-size: 12px; margin-top: 7px; color: #555; }
.ip-path .ip-path-note { font-size: 13px; line-height: 1.7; margin: 14px 0 0; color: #555; }
.ip-continue { padding: 30px 0; border-top: 1px solid var(--line-soft); }
.ip-continue .eyebrow { margin-bottom: 18px; }
.ip-previous { display: block; width: fit-content; margin-top: 18px; font-size: 14px; color: var(--green-text); }
@media (max-width: 560px) {
  .ip-related { grid-template-columns: 1fr; }
  .ip-page .framework-hero h1 { overflow-wrap: anywhere; }
  .ip-path ol { grid-template-columns: 1fr; }
  .ip-path small { margin-top: 3px; }
}

/* Questions appear after useful teaching; the reading path stays separate. */
.framework-hero .ip-help { max-width: 740px; margin: 18px 0 0; font-size: 14px; line-height: 1.8; }
.ip-help a { color: var(--green-text); text-underline-offset: 4px; }
.ip-invitation { padding: clamp(22px, 4vw, 30px); margin: 34px 0 8px; border: 1px solid var(--line-soft); border-left: 4px solid var(--green-dark); border-radius: 0 12px 12px 0; background: #fff; }
.ip-invitation h3 { font-size: clamp(21px, 3vw, 25px); line-height: 1.35; letter-spacing: -.025em; margin: 0 0 12px; }
.framework-body .ip-invitation p { font-size: 15px; line-height: 1.8; margin-bottom: 8px; }
.ip-invitation .link, .ip-work-options .link { color: var(--green-text); min-height: 44px; padding: 8px 0; line-height: 1.6; }
.framework-body .ip-invitation-note { margin: 4px 0 0; color: #555; font-size: 13px; line-height: 1.7; }
.ip-work { margin-top: 30px; padding-top: 36px; border-top: 1px solid var(--line-soft); scroll-margin-top: 100px; }
.ip-work h3 { font-size: clamp(21px, 3vw, 26px); line-height: 1.35; margin: 0 0 12px; letter-spacing: -.025em; }
.ip-work-primary { background: #f1f8f3; padding: clamp(24px, 4vw, 34px); border-radius: 12px; }
.framework-body .ip-work-primary p { font-size: 16px; }
.framework-body .ip-offer-note { margin: 14px 0 0; font-size: 13px; color: #555; line-height: 1.7; }
.ip-work-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; margin-top: 30px; }
.ip-work-options > div { min-width: 0; padding-top: 24px; border-top: 1px solid var(--line-soft); }
.ip-work-options h3 { font-size: 21px; }
.framework-body .ip-work-options p { font-size: 15px; line-height: 1.8; margin-bottom: 8px; }
.ip-invitation a, .ip-work a { max-width: 100%; overflow-wrap: anywhere; }
@media (max-width: 560px) {
  .ip-work-options { grid-template-columns: 1fr; gap: 8px; }
  .ip-work-primary .btn, .ip-continue .btn { width: 100%; text-align: center; line-height: 1.5; }
  .ip-invitation, .ip-work-primary { padding: 22px; }
}
