/* Method page. */

.method-intro { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 32px clamp(32px, 6vw, 96px); }
.method-intro .lede + .lede { margin-top: 16px; }
.toc { border-left: 3px solid var(--brand); padding: 4px 0 4px 22px; align-self: start; }
.toc h2 { font: 600 15px/1.4 var(--sans); color: #14658c; margin-bottom: 12px; }
.toc ol { padding-left: 18px; display: grid; gap: 8px; }
.toc a { font-weight: 600; text-decoration: none; }
.toc a:hover { text-decoration: underline; }

.phase { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 28px clamp(32px, 6vw, 96px); }
.phase + .phase { margin-top: clamp(48px, 6vw, 80px); padding-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--line); }
.phase-head { position: sticky; top: 120px; align-self: start; }
.phase-head .eyebrow { margin-bottom: 10px; }
.phase-head h2 { font: 600 clamp(27px, 2.6vw, 38px)/1.12 var(--sans); letter-spacing: -.03em; }
.phase-head p { margin-top: 14px; color: var(--ink-soft); }

.steps { list-style: none; padding: 0; counter-reset: step var(--start, 0); }
.steps li { position: relative; counter-increment: step; padding: 0 0 34px 72px; }
.steps li::before {
  content: counter(step);
  position: absolute; left: 0; top: 0;
  display: grid; place-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: #fff; border: 2px solid var(--brand); color: var(--brand);
  font: 600 18px/1 var(--sans);
}
.steps li:not(:last-child)::after { content: ""; position: absolute; left: 21px; top: 48px; bottom: 4px; width: 2px; background: var(--line); }
.steps h3 { font: 600 clamp(21px, 1.8vw, 26px)/1.2 var(--sans); letter-spacing: -.02em; padding-top: 8px; margin-bottom: 8px; }
.steps p { color: var(--ink-soft); max-width: 68ch; }
.steps .fact { display: inline-block; margin-top: 12px; padding: 5px 12px; background: var(--wash); border: 1px solid var(--line); font-size: 14px; color: var(--ink); }
.steps .fact b { font-variant-numeric: tabular-nums; }

.layers { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line-strong); background: #fff; }
.layers li { padding: clamp(22px, 2.4vw, 32px); display: flex; flex-direction: column; }
.layers li + li { border-left: 1px solid var(--line); }
.layers .tier { display: flex; align-items: center; gap: 10px; font: 600 15px/1.4 var(--sans); color: #14658c; }
.layers .tier i { display: flex; gap: 3px; }
.layers .tier i::before, .layers .tier i::after { content: none; }
.layers .tier i span { width: 6px; height: 16px; background: var(--line-strong); }
.layers .tier i span.on { background: var(--brand); }
.layers h3 { font: 600 clamp(21px, 1.8vw, 25px)/1.2 var(--sans); letter-spacing: -.02em; margin: 14px 0 10px; }
.layers p { color: var(--ink-soft); font-size: 15.5px; }
.layers dl { margin-top: auto; padding-top: 18px; display: grid; gap: 10px; }
.layers dl div { border-top: 1px solid var(--line); padding-top: 10px; }
.layers dt { font-size: 13.5px; color: var(--muted); }
.layers dd { font: 24px/1.15 var(--sans); color: #0d4268; font-variant-numeric: tabular-nums; }
.layers .no-count { margin-top: auto; padding-top: 18px; font-size: 14px; color: var(--muted); border-top: 1px solid var(--line); }

.limits { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(28px, 5vw, 72px); list-style: none; padding: 0; }
.limits li { padding: 22px 0; border-top: 1px solid var(--line-strong); }
.limits h3 { font: 600 17px/1.4 var(--sans); margin-bottom: 6px; }
.limits p { color: var(--ink-soft); }

.next-links { display: flex; flex-wrap: wrap; gap: 14px 32px; margin-top: 36px; }

@media (max-width: 1000px) {
  .layers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .layers li:nth-child(3) { border-left: 0; }
  .layers li:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 860px) {
  .method-intro, .phase { grid-template-columns: 1fr; }
  .phase-head { position: static; }
  .limits { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .layers { grid-template-columns: 1fr; }
  .layers li + li { border-left: 0; border-top: 1px solid var(--line); }
  .steps li { padding-left: 58px; }
  .steps li::before { width: 38px; height: 38px; font-size: 16px; }
  .steps li:not(:last-child)::after { left: 18px; top: 42px; }
  .steps h3 { padding-top: 5px; }
}
