.wrap.methodGuide {
  max-width: 76rem;
  padding-block: clamp(1rem, 2.2vw, 1.75rem);
  color: var(--ink);
}
.methodMast {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: .5rem 2rem;
  padding-bottom: .9rem;
  border-bottom: 2px solid var(--ink);
}
.methodGuide h1, .methodGuide h2 {
  margin: 0;
  font-family: var(--cc-serif);
  line-height: 1.07;
}
.methodGuide h1 {font-size: clamp(2.15rem, 4.25vw, 3.45rem); letter-spacing: -.045em}
.methodGuide h2 {font-size: clamp(1.4rem, 2.1vw, 1.85rem); letter-spacing: -.025em}
.methodGuide h3 {font-size: 1rem; line-height: 1.3; font-weight: 650}
.methodGuide p, .methodTools dd {line-height: 1.48}
.methodMast p {flex: 0 1 52ch; color: var(--muted); font-size: 1rem}
.methodGuide a {text-underline-offset: .2em}
.methodSpread {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.1fr);
  grid-template-areas: "citation workflow" "agent workflow";
  grid-template-rows: auto 1fr;
  gap: 1.35rem clamp(1.5rem, 4vw, 3.5rem);
  padding: 1.2rem 0;
}
.methodSpread section {min-width: 0}
.methodSpread section > p {margin: .55rem 0; max-width: 66ch}
.methodSpread section > a, .methodSteps a, .methodActions a, .methodGuide footer a {
  color: var(--action);
  font-size: .9rem;
  font-weight: 600;
}
.methodCase {grid-area: citation}
.methodWorkflow {grid-area: workflow}
.methodAgent {grid-area: agent; border-top: 1px solid var(--rule); padding-top: 1rem}
.methodCase figure {
  position: relative;
  display: grid;
  padding: .75rem 1rem .75rem 1.85rem;
  margin: .75rem 0;
  background: var(--well);
}
.methodCase figure::before {
  content: "";
  position: absolute;
  top: 1.2rem;
  bottom: 3.4rem;
  left: 1.02rem;
  width: 1px;
  background: #a35040;
}
.methodCase figure a {position: relative; display: grid; width: fit-content; text-decoration: none}
.methodCase figure a::before {
  content: "";
  position: absolute;
  top: .36rem;
  left: -.99rem;
  width: .38rem;
  height: .38rem;
  border-radius: 50%;
  background: #a35040;
}
.methodCase figure strong {font: 600 1.15rem/1.3 var(--cc-serif)}
.methodCase figure a:hover strong, .methodCase figure a:focus-visible strong {text-decoration: underline}
.methodCase figure small {font: 500 .72rem/1.4 var(--mono); color: var(--muted)}
.methodCase figure span {font-size: .83rem; color: var(--muted)}
.methodCase figcaption {padding: .25rem 0; font: italic .85rem/1.1 var(--cc-serif); color: var(--muted)}
.methodSteps {list-style: decimal; padding-left: 1.45rem; margin: .45rem 0 0}
.methodSteps li {padding: .62rem 0 .62rem .15rem; border-top: 1px solid var(--rule)}
.methodSteps li::marker {font: 500 .8rem var(--mono); color: var(--muted)}
.methodSteps p {margin: .22rem 0}
.methodGuide blockquote {
  margin: .75rem 0;
  border-left: 2px solid var(--rule-strong);
  padding-left: .85rem;
  font: italic 1.08rem/1.4 var(--cc-serif);
}
.methodGuide footer {display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; border-top: 1px solid var(--rule); padding-top: .85rem}
.agentSpread {
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 1fr);
  grid-template-areas: "connect install" "tools example";
  grid-template-rows: auto auto;
}
.agentConnect {grid-area: connect}
.agentInstall {grid-area: install}
.agentTools {grid-area: tools}
.agentExample {grid-area: example}
.agentTools, .agentExample {border-top: 1px solid var(--rule); padding-top: .9rem}
.methodGuide pre {
  background: var(--well);
  color: var(--ink);
  border-left: 2px solid var(--rule-strong);
  margin: .45rem 0;
  padding: .55rem .7rem;
  line-height: 1.45;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.methodGuide code {font: 500 .86rem/1.45 var(--mono); overflow-wrap: anywhere}
.methodActions {display: flex; align-items: center; flex-wrap: wrap; gap: .5rem .85rem; margin-top: .8rem}
.methodActions .btnPrimary {color: var(--surface)}
.methodTools {margin-top: .6rem}
.methodTools div {display: grid; grid-template-columns: 8.2rem minmax(0, 1fr); gap: .65rem; border-top: 1px solid var(--rule); padding: .5rem 0}
.methodTools code {font-size: .82rem}
.methodTools dd {margin: 0; font-size: .93rem}
@media (max-width: 760px) {
  .methodMast {display: grid; justify-content: start}
  .methodMast p {max-width: 55ch}
  .methodSpread, .agentSpread {display: flex; flex-direction: column; gap: 1rem; padding-block: 1rem}
  .methodWorkflow, .methodAgent, .agentInstall, .agentTools, .agentExample {border-top: 1px solid var(--rule); padding-top: .9rem}
  .methodSteps li {padding-block: .55rem}
}
@media (max-width: 430px) {
  .methodTools div {grid-template-columns: minmax(0, 1fr); gap: .12rem}
}
