.guide-cover {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  align-items: center;
  gap: clamp(2.5rem, 6vw, 7rem);
  padding-block: clamp(2.8rem, 5.4vw, 6rem);
}
.cover-copy h1 {
  margin-block: 1.1rem 1.45rem;
  max-width: 15ch;
  font-size: clamp(2.95rem, 5.15vw, 5.6rem);
  line-height: 1.02;
  letter-spacing: -.065em;
  text-wrap: balance;
}
.cover-copy h1 em { white-space: nowrap; letter-spacing: -.065em; }
.cover-lede { max-width: 45ch; color: #385044; font-size: clamp(1.06rem, 1.38vw, 1.33rem); line-height: 1.52; }
.cover-copy .actions { margin-top: 1.65rem; }
.guide-cost { margin-top: .85rem; color: var(--muted); font-size: .9rem; }
.comparison { margin-inline: auto; width: 100%; max-width: 39rem; }
.comparison-panels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid #bdc8ba;
  border-radius: .55rem;
  background: #e8ebe3;
}
.comparison-panels > div { display: grid; justify-items: center; padding: 1rem .6rem .55rem; }
.comparison-panels > div + div { border-left: 1px solid #bbc7bc; background: #d8e7db; }
.comparison-panels span { font: 600 .87rem/1.45 var(--mono); letter-spacing: .045em; }
.comparison-panels img { width: auto; height: auto; max-height: clamp(16rem, 29vw, 29rem); }
.comparison figcaption, .instructions figcaption { margin-top: .6rem; color: var(--muted); font-size: .875rem; line-height: 1.5; }
.guide-body { border-top: 1px solid var(--line); }
.reading-grid {
  display: grid;
  grid-template-columns: minmax(13rem, 17rem) minmax(0, 47rem);
  justify-content: center;
  align-items: start;
  column-gap: clamp(2.5rem, 7.5vw, 9rem);
  padding-block: clamp(2.5rem, 5.5vw, 5.5rem);
}
.contents { position: sticky; top: 2rem; padding-top: .38rem; }
.contents h2 { font: 660 1.02rem/1.45 var(--sans); letter-spacing: -.01em; }
.contents ol { margin: .75rem 0 0; padding-left: 1.65rem; }
.contents li { padding-left: .2rem; }
.contents li::marker { font: .86rem/1.4 var(--mono); color: var(--green); }
.contents a { display: inline-block; padding-block: .36rem; font-size: 1rem; line-height: 1.48; }
.instructions section { scroll-margin-top: 1.5rem; }
.instructions section + section { margin-top: clamp(2rem, 4vw, 3.8rem); padding-top: clamp(1.8rem, 3.4vw, 3.2rem); border-top: 1px solid var(--line); }
.instructions h2 { font-size: clamp(1.75rem, 2.7vw, 2.7rem); line-height: 1.09; letter-spacing: -.05em; text-wrap: balance; }
.instructions h2 span { color: var(--green); }
.instructions p { margin-top: 1.07rem; color: #30473d; line-height: 1.66; font-size: 1.07rem; text-wrap: pretty; }
.instructions p strong { color: var(--ink); font-weight: 650; }
.instructions a:hover, .contents a:hover { color: #155742; text-decoration-thickness: .14em; }
.slot-key {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .8rem 1.1rem;
  padding: 1.05rem 0;
  margin: 1.35rem 0 1.6rem;
  border-block: 1px solid var(--line);
}
.slot-key dt { display: flex; align-items: center; gap: .45rem; font: .85rem/1.55 var(--mono); color: var(--muted); }
.slot-key i { border-radius: 50%; width: .9rem; height: .9rem; border: 1px solid #2d4239; }
.slot-key .graphite { background: #263746; }
.slot-key .green { background: #248c89; }
.slot-key .orange { background: #eb6538; }
.slot-key .gold { background: #eeae43; }
.slot-key dd { font-size: .96rem; line-height: 1.45; margin-top: .18rem; color: var(--ink); }
.paint-views { display: grid; grid-template-columns: .75fr 1.6fr; align-items: start; gap: clamp(.7rem, 1.6vw, 1.5rem); }
.paint-views a, .export-view a { display: block; overflow: hidden; border-radius: .45rem; border: 1px solid #b6c1b6; background: #eef0f1; }
.paint-views a:hover, .export-view a:hover { outline: 2px solid var(--green); outline-offset: 2px; }
.paint-views img, .export-view img { display: block; width: 100%; height: auto; }
.export-view { max-width: 36rem; margin-top: 1.3rem; }
.instructions .test-note { padding: .65rem 1.1rem; border-left: .2rem solid var(--green); background: var(--wash); }
.test-note strong { display: block; }
.guide-end { background: #152f28; color: #f7f7ec; }
.guide-end-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1.5rem 3.5rem; padding-block: clamp(2.6rem, 5vw, 5.5rem); }
.guide-end h2 { font-size: clamp(2.4rem, 4.8vw, 4.7rem); }
.guide-end h2 em { color: #c7ddae; }
.guide-end p { max-width: 48ch; margin-top: .8rem; color: #d2e2d7; }
.guide-end .text-action { color: #e7efda; white-space: normal; }
@media (min-width: 52.01rem) and (max-width: 67rem) {
  .guide-cover { gap: 2rem; }
  .head-inner { gap: 1.5rem; }
  .head-nav { gap: 1.25rem; }
}
@media (max-width: 52rem) {
  .guide-cover { grid-template-columns: minmax(0, 1fr); gap: 1.8rem; padding-block: 2.5rem; }
  .cover-copy h1 { max-width: 23ch; font-size: clamp(2.55rem, 6.7vw, 3.8rem); }
  .cover-lede { max-width: 56ch; }
  .comparison { max-width: 30rem; margin-inline: 0; }
  .comparison-panels img { max-height: 17.5rem; }
  .reading-grid { grid-template-columns: 1fr; row-gap: 2.5rem; }
  .contents { position: static; padding: 0 0 1.3rem; border-bottom: 1px solid var(--line); }
  .contents ol { columns: 2; column-gap: 1.7rem; }
  .contents li { break-inside: avoid; }
}
@media (max-width: 37rem) {
  .guide-cover { padding-block: 2rem; gap: 1.65rem; }
  .cover-copy h1 { margin-block: .85rem 1rem; }
  .cover-copy .actions { margin-top: 1rem; gap: .5rem .9rem; }
  .comparison-panels > div { padding: .65rem .4rem .4rem; }
  .comparison-panels img { max-height: 14.5rem; }
  .contents ol { columns: 1; }
  .contents a { padding-block: .27rem; }
  .slot-key { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .paint-views { grid-template-columns: 1fr; gap: 1rem; }
  .paint-views figure:first-child { max-width: 16rem; }
  .instructions p { font-size: 1rem; }
  .guide-end .actions { align-items: start; flex-direction: column; gap: .25rem; }
}
