/* A compact technical note, using the rates site's existing type and palette. */
.footer-links { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.dfoot .footer-links a:hover { color: var(--cyan); }
.method-page { max-width: 1240px; padding-top: 76px; padding-bottom: 28px; }
.method-page.hidden { display: none; }
.method-hero { display: grid; grid-template-columns: 1.04fr 1fr; gap: 72px; align-items: center; padding-bottom: 72px; }
.method-eyebrow, .method-number { font: 10px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--cyan); }
.method-hero h1 { color: var(--cream); font-size: clamp(32px,3.2vw,44px); font-weight: 500; letter-spacing: -.045em; line-height: 1.12; margin: 20px 0; }
.method-intro { max-width: 470px; color: var(--muted); font-size: 14px; line-height: 1.8; }
.method-back { display: inline-flex; gap: 28px; align-items: center; margin-top: 26px; color: var(--cream); font-size: 12px; }
.method-back span, .method-end a span { color: var(--cyan); }
.method-back:hover, .method-end a:hover { color: var(--cyan); }
.method-schematic { margin: 0; min-width: 0; }
.method-figure-label { display: flex; justify-content: space-between; gap: 10px; padding: 12px 0; border-top: 1px solid var(--border); font: 9px var(--mono); color: var(--muted); }
.method-figure-label span:last-child { color: var(--faint); }
.method-schematic svg { display: block; width: 100%; height: auto; }
.method-schematic figcaption { padding-top: 12px; font-size: 10px; color: var(--faint); line-height: 1.7; }
.method-section { display: grid; grid-template-columns: 245px minmax(0,1fr); gap: 70px; padding: 48px 0; border-top: 1px solid var(--border); }
.method-number { display: block; color: var(--faint); margin-bottom: 17px; }
.method-section-heading h2 { font-size: 25px; font-weight: 500; letter-spacing: -.035em; line-height: 1.25; color: var(--cream); }
.method-section-heading > p { margin-top: 18px; color: var(--muted); font-size: 12px; line-height: 1.8; }
.method-section-body > p { max-width: 690px; color: var(--muted); font-size: 13px; line-height: 1.85; }
.method-section-body strong { color: var(--ink); font-weight: 500; }
.method-process { list-style: none; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 26px; margin: 30px 0 24px; }
.method-process li { border-top: 1px solid var(--border); padding-top: 14px; position: relative; }
.method-step { font: 9px var(--mono); color: var(--cyan); }
.method-process li:not(:last-child)::after { content: '→'; color: var(--faint); position: absolute; top: -11px; right: -20px; background: var(--bg); padding-inline: 5px; }
.method-page h3 { font-size: 13px; font-weight: 500; color: var(--cream); }
.method-process h3 { margin: 10px 0 7px; }
.method-process p { color: var(--muted); font-size: 11.5px; line-height: 1.8; }
.method-section-body > .method-small { color: var(--faint); font-size: 11.5px; line-height: 1.8; }
.method-equation { display: flex; gap: 17px; align-items: center; justify-content: center; padding: 6px 0 30px; font: 15px Georgia,'Times New Roman',serif; color: var(--ink); }
.method-equation-name { font-style: italic; }
.method-operator { color: var(--muted); white-space: nowrap; }
.method-fraction { display: inline-flex; flex-direction: column; text-align: center; gap: 7px; }
.method-fraction > span:first-child { padding: 0 10px 8px; border-bottom: 1px solid #607383; }
.method-timeline { margin: 24px 0; padding: 20px 24px; border: 1px solid var(--border-soft); background: linear-gradient(90deg,#131e27 1px,transparent 1px),linear-gradient(#131e27 1px,transparent 1px); background-size: 20px 20px; }
.method-timeline-head { display: flex; justify-content: space-between; font: 9px var(--mono); color: var(--faint); }
.method-timeline ol { list-style: none; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); margin-top: 22px; }
.method-timeline li { position: relative; display: flex; flex-direction: column; gap: 11px; font: 10px var(--mono); color: var(--muted); }
.method-timeline li:not(:last-child)::after { content: ''; position: absolute; top: 30px; left: 0; right: 0; height: 1px; background: #3e5462; }
.method-timeline li:nth-child(2)::after,.method-timeline li:nth-child(3)::after { background: none; border-top: 1px dashed #3e5462; }
.method-timeline i { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); z-index: 1; }
.method-timeline .method-time-gap i { border: 1px solid #647380; background: var(--bg); }
.method-timeline strong { font: 10px var(--sans); color: var(--muted); }
.method-states { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-bottom: 24px; }
.method-states h3 { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.method-state-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--green); }
.method-state-dot.observation { background: var(--amber); }
.method-states p { font-size: 12px; color: var(--muted); line-height: 1.8; }
.method-end { display: flex; justify-content: space-between; align-items: center; gap: 20px; border-top: 1px solid var(--border); padding: 26px 0; color: var(--muted); font-size: 12px; }
.method-end a { display: inline-flex; align-items: center; gap: 30px; color: var(--cream); }
@media(max-width:1000px) {
  .method-page { padding-top: 50px; }
  .method-hero { gap: 35px; }
  .method-section { grid-template-columns: 200px minmax(0,1fr); gap: 35px; }
  .method-equation { gap: 10px; font-size: 13px; }
}
@media(max-width:760px) {
  .method-page { padding-top: 36px; padding-inline: 20px; }
  .method-hero { grid-template-columns: 1fr; gap: 32px; padding-bottom: 36px; }
  .method-hero h1 { font-size: 36px; max-width: 430px; }
  .method-intro { font-size: 13px; }
  .method-schematic { max-width: 560px; }
  .method-section { grid-template-columns: 1fr; gap: 24px; padding: 32px 0; }
  .method-section-heading h2 { font-size: 24px; }
  .method-section-heading > p { margin-top: 12px; }
  .method-number { margin-bottom: 10px; }
  .method-process { gap: 18px; }
  .method-process li:not(:last-child)::after { right: -16px; }
  .method-process p { font-size: 11px; }
  .method-equation { font-size: 12px; gap: 9px; }
  .method-fraction > span:first-child { padding-inline: 1px; }
  .method-timeline { padding: 18px 12px; }
  .method-timeline strong { font-size: 9px; }
  .method-states { gap: 22px; }
  .method-end { align-items: flex-start; }
  .method-end a { gap: 10px; white-space: nowrap; }
  .footer-links { gap: 18px; }
}
@media(max-width:360px) {
  .method-page { padding-inline: 16px; }
  .method-hero h1 { font-size: 31px; }
  .method-equation { flex-wrap: wrap; gap: 10px; }
  .method-equation-name { flex-basis: 100%; text-align: center; }
  .method-process { grid-template-columns: 1fr; gap: 18px; }
  .method-process li:not(:last-child)::after { display: none; }
}
