.guide-hero {
  color: white;
  background: var(--navy);
  padding-block: clamp(1.4rem, 3vw, 3rem) clamp(2.6rem, 5vw, 5rem);
}
.guide-hero .back-link { color: #d5e5d8; margin-bottom: clamp(1.6rem, 3vw, 3rem); }
.guide-hero-layout, .guide-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr);
  gap: clamp(2rem, 7vw, 7rem);
  align-items: end;
}
.guide-hero h1 {
  max-width: 15ch;
  font-size: clamp(3rem, 6vw, 6.5rem);
  font-weight: 560;
  line-height: .98;
  letter-spacing: -.06em;
  text-wrap: balance;
}
.guide-hero h1 + p {
  color: #deeadf;
  max-width: 57ch;
  margin-top: 1.2rem;
  font-size: clamp(1.04rem, 1.45vw, 1.3rem);
}
.guide-index { padding-left: 1.4rem; border-left: 3px solid var(--sun); }
.guide-index p { color: #f3cd96; font-weight: 650; margin-bottom: .4rem; }
.guide-index a { display: table; color: white; padding-block: .3rem; }
.guide-layout {
  grid-template-columns: minmax(0, .76fr) minmax(0, 1.24fr);
  align-items: start;
  padding-block: var(--pad);
}
.guide-layout h2 { max-width: 15ch; font-size: clamp(2.2rem, 3.7vw, 3.9rem); }
.guide-layout h3, .pilot-list summary { font-size: clamp(1.4rem, 2vw, 2rem); }
.guide-aside > p:not(.deck-label), .guide-note { max-width: 40ch; color: var(--sub); margin-top: .85rem; }
.guide-aside > a { margin-top: 1rem; }
.guide-copy { max-width: 67ch; }
.guide-copy > * + *, .pilot-content p + p { margin-top: .85rem; }
.guide-copy > h3:not(:first-child) { margin-top: 2rem; }
.guide-copy > a { display: table; }
.example-wash { background: var(--mist); }
.compact-list { padding-left: 1.4rem; }
.compact-list li { padding-left: .3rem; }
.compact-list li + li { margin-top: .55rem; }
.review-topic { display: grid; grid-template-columns: 1fr auto; gap: .5rem 1rem; border-top: 1px solid var(--line); padding: 1.25rem 0; }
.review-topic:first-child, .guide-definitions > div:first-child { border-top: 2px solid var(--blue); }
.review-topic p { grid-column: 1 / -1; max-width: 67ch; }
.review-evidence, .journey-route p, .guide-definitions dd { color: var(--sub); }
.review-evidence strong, .pilot-content strong { display: block; color: var(--ink); font-size: .95rem; }
.topic-choice { display: flex; align-items: center; gap: .35rem; padding: .25rem .35rem; font-size: .95rem; cursor: pointer; }
.topic-choice input { width: 1.1rem; height: 1.1rem; accent-color: var(--blue); margin: 0; }
.topic-choice[hidden] { display: none; }
.checklist-layout {
  grid-template-areas: "intro topics" "tools topics";
  grid-template-rows: auto 1fr;
  row-gap: 1.5rem;
}
.checklist-intro { grid-area: intro; }
.review-topics { grid-area: topics; }
#checklist-tools { grid-area: tools; position: sticky; top: 1.5rem; }
.selection-count { display: block; margin-bottom: .45rem; font-weight: 600; color: var(--blue); }
#save-checklist { font: inherit; font-weight: 650; border: 0; cursor: pointer; }
#save-checklist:disabled { background: #e2e8e5; color: #495553; cursor: default; }
.buyer-guide :is(input, button, summary):focus-visible { outline: 3px solid #bd5900; outline-offset: 4px; }
.journey-route { list-style: none; counter-reset: route; padding: 0; }
.journey-route li { position: relative; counter-increment: route; padding: 0 0 1.8rem 3.25rem; }
.journey-route li:last-child { padding-bottom: 0; }
.journey-route li::before {
  content: counter(route);
  position: absolute;
  left: 0;
  width: 2.1rem;
  height: 2.1rem;
  display: grid;
  place-items: center;
  color: var(--navy);
  background: var(--mist);
  border: 1px solid #9bb1a4;
  border-radius: 50%;
  font-weight: 680;
}
.journey-route li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 2.1rem;
  bottom: 0;
  left: 1.04rem;
  border-left: 1px solid #9bb1a4;
}
.journey-route h3 { padding-top: .15rem; }
.journey-route p, .journey-route a, .guide-definitions dd { margin-top: .55rem; }
.guide-definitions > div { padding-block: 1rem; border-top: 1px solid var(--line); }
.guide-definitions dt { font-weight: 700; }
.pilot-list details { border-top: 1px solid var(--line); }
.pilot-list details:first-child { border-top: 2px solid var(--blue); }
.pilot-list details:last-child { border-bottom: 1px solid var(--line); }
.pilot-list summary {
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  padding-block: 1.15rem;
  font-family: Bricolage, "Segoe UI", sans-serif;
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -.035em;
  cursor: pointer;
  list-style: none;
}
.pilot-list summary::-webkit-details-marker { display: none; }
.pilot-list summary::after {
  content: "";
  width: .66rem;
  height: .66rem;
  flex: none;
  margin-right: .4rem;
  border: solid var(--blue);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.pilot-list [open] > summary::after { transform: rotate(225deg); }
.pilot-content { padding: 0 1rem 1.35rem 0; max-width: 66ch; }
.guide-related { border-top: 1px solid var(--line); }
.site-preview { display: block; margin-top: 1.3rem; border: 1px solid var(--line); border-radius: .35rem; overflow: hidden; }
.site-preview img { display: block; width: 100%; height: auto; }
.guide-related .wrap { display: flex; flex-wrap: wrap; align-items: baseline; gap: .6rem 2rem; padding-block: 1.5rem; }
@media (prefers-reduced-motion: no-preference) {
  .pilot-list summary::after { transition: transform .16s ease-out; }
  .pilot-list [open] .pilot-content { animation: guide-open .18s ease-out; }
  @keyframes guide-open { from { opacity: .5; transform: translateY(-.25rem); } to { opacity: 1; transform: translateY(0); } }
}
@media (max-width: 720px) {
  .guide-hero-layout, .guide-layout { grid-template-columns: minmax(0, 1fr); gap: 1.75rem; }
  .checklist-layout { grid-template-areas: "intro" "topics" "tools"; grid-template-rows: auto; }
  #checklist-tools { position: static; }
  .guide-index { padding-left: 1rem; }
  .guide-related strong { width: 100%; }
}
@media (max-width: 380px) {
  .guide-hero h1 { font-size: 2.7rem; }
  .review-topic { column-gap: .35rem; }
}
