/* Information pages and the shared footer, including the independent calculator. */
.info-hero { background: #f1f2f3; border-bottom: 1px solid var(--line); padding: 22px 0 0; }
.info-breadcrumb { display: flex; flex-wrap: wrap; gap: 11px; color: #62676e; font-size: 13px; }
.info-breadcrumb a { text-underline-offset: 4px; }
.info-hero-grid { display: grid; grid-template-columns: minmax(0,1.4fr) minmax(0,1fr); gap: 48px; align-items: center; padding: 40px 0 30px; }
.info-hero h1 { font-size: clamp(32px,4vw,56px); line-height: 1.07; letter-spacing: -.045em; max-width: 790px; margin: 18px 0; }
.info-lead { max-width: 660px; color: #4f555d; font-size: 18px; line-height: 1.65; }
.info-hero-art { margin: 0; text-align: center; }
.info-hero-art img { display: block; width: 100%; height: auto; max-height: 320px; object-fit: contain; mix-blend-mode: multiply; }
.info-hero-art figcaption { color: #62676e; font-size: 12px; max-width: 330px; margin: 8px auto; }
.info-hero-text-only { grid-template-columns: 1fr; padding-bottom: 30px; }
.info-hero-text-only .info-lead { max-width: 800px; }
.info-highlights { display: flex; flex-wrap: wrap; gap: 18px 44px; border-top: 1px solid #d9dce0; padding: 19px 0; margin: 0; list-style: none; font-size: 13px; font-weight: 650; }
.info-highlights span { color: #c62626; margin-right: 9px; }
.info-layout { display: grid; grid-template-columns: 240px minmax(0,1fr); gap: 70px; padding-block: 58px 72px; }
.info-toc { align-self: start; position: sticky; top: 110px; }
.info-toc nav { border-top: 3px solid #c62626; }
.info-toc p { font: 700 11px/1.5 var(--mono); color: #656b73; margin: 18px 0; }
.info-toc ol { list-style: none; margin: 0; padding: 0; }
.info-toc li { border-bottom: 1px solid #e0e2e5; }
.info-toc li a { display: block; padding: 10px 0; text-decoration: none; font-size: 14px; }
.info-toc li a:hover { color: #b72323; }
.info-toc-cta { display: block; margin-top: 24px; font-weight: 700; font-size: 14px; text-underline-offset: 4px; }
.info-article { min-width: 0; max-width: 900px; }
.info-section { scroll-margin-top: 120px; }
.info-section + .info-section { border-top: 1px solid #dcdfe2; margin-top: 38px; padding-top: 32px; }
.info-section-label { color: #b72323; font: 700 11px/1.5 var(--mono); letter-spacing: .05em; margin-bottom: 10px; }
.info-article h2 { font-size: clamp(24px,2.3vw,32px); line-height: 1.18; letter-spacing: -.025em; margin: 0 0 19px; }
.info-article h3 { font-size: 23px; line-height: 1.25; margin: 10px 0 18px; }
.info-section p, .episode p { color: #454c55; line-height: 1.8; margin: 0 0 16px; }
.info-checklist { padding: 0; list-style: none; margin: 20px 0; }
.info-checklist li { padding: 10px 0 10px 25px; position: relative; border-bottom: 1px solid #eaebed; color: #454c55; }
.info-checklist li::before { content: "↗"; position: absolute; left: 0; color: #c62626; }
.info-table-scroll { overflow-x: auto; margin-block: 25px; border: 1px solid #dcdfe2; border-radius: 8px; }
.info-table { width: 100%; border-collapse: collapse; font-size: 14px; text-align: left; min-width: 470px; }
.info-table caption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.info-table th, .info-table td { padding: 16px; vertical-align: top; border-bottom: 1px solid #dcdfe2; }
.info-table thead { background: #f2f3f4; }
.info-table tbody th { font-weight: 650; min-width: 125px; }
.info-table tbody tr:last-child > * { border-bottom: 0; }
.info-links { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 10px; }
.info-links a { color: #9e2222; font-weight: 650; text-underline-offset: 4px; }
.info-links span { white-space: nowrap; }
.info-notice { background: #f8f3ee; border-left: 3px solid #b77a41; padding: 20px 24px; margin-bottom: 35px; border-radius: 0 8px 8px 0; }
.info-notice b { font-size: 14px; }
.info-notice p { color: #5a5148; font-size: 14px; line-height: 1.7; margin: 8px 0 0; }
.info-related { margin-top: 42px; padding: 25px; background: #f2f3f4; border-radius: 8px; }
.info-related h2 { font-size: 23px; }
.info-small { font-size: 12px; line-height: 1.6; color: #646b75; }
.resource-tool { scroll-margin-top: 120px; background: #fafafa; border: 1px solid #dcdfe2; padding: 28px; border-radius: 10px; margin: 0 0 38px; }
.bend-illustration { border: 1px solid #e1e3e6; border-radius: 7px; padding: 10px 16px; margin: 22px 0; background: white; }
.bend-illustration svg { width: 100%; max-height: 210px; display: block; }
.bend-illustration text { font: 16px system-ui,sans-serif; fill: #161719; }
.bend-illustration .bend-svg-caption { font: 10px monospace; fill: #62676e; }
.bend-illustration p { font-size: 12px; color: #666d74; margin: 8px 0 3px; }
.bend-fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.bend-fields label { display: grid; gap: 7px; font-size: 14px; font-weight: 650; }
.bend-fields input { width: 100%; min-width: 0; border: 1px solid #aab0b8; background: white; border-radius: 5px; padding: 11px 12px; color: #161719; }
#bend-form button { margin: 8px 6px 8px 0; cursor: pointer; }
#bend-error { color: #a82020; border: 1px solid #e7bbbb; padding: 15px; border-radius: 6px; }
.bend-results { background: #191b1e; border-radius: 8px; padding: 25px; margin-top: 22px; color: white; }
.bend-main small { display: block; color: #c9cdd3; font: 700 11px/1.5 var(--mono); letter-spacing: .08em; }
.bend-main output { display: block; font-size: clamp(28px,4vw,44px); letter-spacing: -.04em; font-weight: 750; margin: 5px 0 18px; }
.bend-results dl { margin: 0; display: grid; grid-template-columns: repeat(3,1fr); gap: 15px; padding-top: 18px; border-top: 1px solid #43474e; }
.bend-results dt { color: #b7bec7; font-size: 12px; }
.bend-results dd { margin: 5px 0; font: 700 14px/1.5 var(--mono); }
.bend-results p { color: #bcc2ca; font-size: 12px; margin: 18px 0 0; }
.solution-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; margin-bottom: 38px; scroll-margin-top: 120px; }
.solution-card { text-decoration: none; background: #f0f1f2; border-radius: 12px; overflow: hidden; border: 1px solid transparent; }
.solution-card:hover { border-color: #c62626; }
.solution-card img { display: block; width: 100%; height: auto; mix-blend-mode: multiply; }
.solution-card > div { padding: 0 22px 24px; }
.solution-card h2 { font-size: 22px; }
.solution-card h2 span { color: #c62626; }
.solution-card p { color: #5b6169; font-size: 14px; }
.episode-list { scroll-margin-top: 120px; margin-bottom: 38px; }
.episode { border: 1px solid #dadde1; padding: 24px; border-radius: 8px; margin: 18px 0; }
.episode-controls { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.episode button:disabled { opacity: .5; cursor: default; }
footer.resource-footer { display: block; width: 100%; max-width: none; background: #141619; color: #f5f5f5; border: 0; margin: 0; padding: 0; font: 14px/1.6 system-ui,sans-serif; letter-spacing: normal; }
.resource-footer nav { display: block; }
.resource-footer .wrap { width: min(calc(100% - 64px),1280px); margin-inline: auto; }
.resource-footer a { color: #d9dde3; text-decoration: none; }
.resource-footer a:hover { color: white; text-decoration: underline; text-underline-offset: 4px; }
.resource-footer-top { display: grid; grid-template-columns: 1fr 1fr auto; align-items: center; gap: 28px; padding: 40px 0 34px; border-bottom: 1px solid #3a3e44; }
.resource-brand { width: min(100%,290px); display: block; }
.resource-brand img { display: block; width: 100%; height: auto; }
.resource-footer-top p { color: #aeb6c1; line-height: 1.6; margin: 0; font-size: 14px; }
.resource-footer a.resource-footer-cta { display: inline-flex; align-items: center; justify-content: space-between; gap: 18px; background: #c62626; color: white; padding: 13px 18px; border-radius: 4px; font-weight: 700; }
.resource-footer-columns { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 40px; padding: 36px 0; }
.resource-footer-columns h2 { color: white; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; margin: 0 0 20px; font-weight: 750; }
.resource-footer-columns ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 3px; }
.resource-footer-columns li a { display: inline-block; padding: 5px 0; font-size: 14px; }
.resource-footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; border-top: 1px solid #3a3e44; padding: 22px 0 28px; color: #a4acb7; font-size: 11px; }
.resource-footer-bottom div { display: flex; flex-wrap: wrap; gap: 12px 25px; }
.info-layout :focus-visible, .resource-footer :focus-visible { outline: 3px solid #c62626; outline-offset: 4px; }
@media (max-width: 1000px) {
  .info-layout { grid-template-columns: 190px minmax(0,1fr); gap: 35px; }
  .info-hero-grid { gap: 24px; }
  .resource-footer-top { grid-template-columns: 1fr auto; }
  .resource-footer-top p { display: none; }
}
@media (max-width: 720px) {
  .info-hero-grid { grid-template-columns: 1fr; padding-top: 28px; gap: 12px; }
  .info-hero-art { max-width: 330px; margin: 0 auto; }
  .info-highlights { gap: 10px 22px; }
  .info-layout { grid-template-columns: 1fr; gap: 32px; padding-block: 32px 45px; }
  .info-toc { position: static; }
  .info-toc ol { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); column-gap: 20px; }
  .info-toc-cta { display: none; }
  .resource-footer .wrap { width: calc(100% - 36px); }
  .resource-footer-columns { gap: 20px; }
  .resource-footer-columns li a { font-size: 13px; padding-block: 7px; }
  .resource-tool { padding: 20px; }
}
@media (max-width: 520px) {
  .info-hero-art { max-width: 280px; }
  .info-lead { font-size: 16px; }
  .info-highlights { display: grid; }
  .info-toc ol, .solution-grid { grid-template-columns: 1fr; }
  .resource-footer-top { grid-template-columns: 1fr; }
  .resource-footer-cta { justify-self: start; }
  .resource-footer-columns { grid-template-columns: 1fr; gap: 32px; }
  .resource-footer-columns h2 { margin-bottom: 12px; }
  .resource-footer-columns li a { font-size: 14px; }
  .bend-fields { grid-template-columns: 1fr; gap: 14px; }
  .bend-results { padding: 20px; }
  .bend-results dl { grid-template-columns: 1fr; gap: 6px; }
  .bend-results dl > div { display: flex; align-items: baseline; justify-content: space-between; }
}
@media print {
  .info-toc, .resource-footer, .site-header, .utility, .cta, .episode-controls, #search-dialog { display: none !important; }
  .info-layout, .info-hero-grid { display: block; }
  .info-hero-art { display: none; }
  .info-layout { padding-block: 20px; }
  .wrap { width: 100%; }
  .info-section { break-inside: avoid; }
  .info-table-scroll { overflow: visible; }
}
