.guide-main {
  --guide-width: 65rem;
  --guide-pad: max(var(--gutter), calc((100% - var(--guide-width)) / 2));
}
.guide-header {
  padding: clamp(2.9rem,6vw,6rem) var(--guide-pad) 0;
  background: linear-gradient(115deg,#0c1821 10%,#1b3542);
  color: #f8fafb;
}
.guide-header h1 { max-width: 13ch; margin: .22em 0 .24em; font-size: clamp(3.15rem, 6.7vw, 6.9rem); }
.guide-lead { max-width: 46rem; color: #d7e4ea; font-size: clamp(1.05rem, 1.45vw, 1.28rem); }
.guide-nav { display: flex; flex-wrap: wrap; gap: .1rem 1.8rem; margin-top: clamp(1.65rem,3.7vw,3rem); border-top: 1px solid #516571; padding-block: .6rem; }
.guide-nav a { padding: .4rem 0; color: #d8f3ff; font-size: .95rem; font-weight: 550; white-space: nowrap; }
.guide-nav a:hover,.guide-nav a:focus-visible { color: white; }
.guide-section,.guide-actions,.image-credits { margin-inline: var(--guide-pad); }
.guide-section { padding-block: clamp(2rem,4.3vw,4.25rem); border-bottom: 1px solid var(--rule); }
.guide-section h2 { font-size: clamp(1.9rem,3.3vw,3.25rem); max-width: 24ch; letter-spacing: -.052em; }
.guide-section > p { max-width: 48rem; margin-top: 1rem; color: #364a55; font-size: 1.05rem; line-height: 1.62; }
.guide-section a,.image-credits a,.guide-actions a:not(.btn) { color: #115879; font-weight: 550; }
.guide-section a:hover,.image-credits a:hover,.guide-actions a:not(.btn):hover { color: #0b3648; }
.guide-comparison { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; margin-top: 1.5rem; }
.guide-comparison article { display: flex; flex-direction: column; align-items: flex-start; padding: clamp(1.2rem,2.6vw,2rem); border-top: 3px solid #32748c; background: #e6eef0; }
.guide-comparison article:last-child { background: #e9ece9; border-color: #65837c; }
.guide-comparison h3,.guide-example h3 { font-size: clamp(1.25rem,2vw,1.6rem); }
.guide-comparison p,.guide-example p { margin: .7rem 0 1.1rem; color: #374b56; }
.guide-comparison a { margin-top: auto; font-size: .94rem; }
.guide-example { margin-top: 1.4rem; padding: 1.15rem 1.35rem; border-left: 3px solid #297392; background: #e8eff0; }
.guide-example p { margin-bottom: 0; }
.guide-references { display: flex; flex-wrap: wrap; gap: .55rem 1.5rem; margin-top: 1.1rem; font-size: .94rem; }
.guide-actions { display: flex; gap: .8rem 1.7rem; flex-wrap: wrap; align-items: center; padding-top: 2rem; }
.guide-actions .primary { background: #13394c; color: white; }
.guide-actions .primary:hover { background: #1f536b; }
.image-credits { padding-block: 2.7rem; }
.image-credits h2 { margin: 0 0 .6rem; font-size: 1.1rem; letter-spacing: -.02em; }
.image-credits p { max-width: 55rem; font-size: .89rem; color: #4c5a62; margin-top: .35rem; }
@media (max-width: 640px) {
  .guide-comparison { grid-template-columns: 1fr; }
  .guide-nav { gap: .1rem 1.05rem; }
  .guide-kicker { font-size: .79rem; }
  .guide-actions { align-items: flex-start; flex-direction: column; }
}
@media print {
  .header,.skip,.guide-nav,.guide-actions,.image-credits,footer { display: none; }
  .guide-main { --guide-pad: 0; }
  .guide-header,.guide-section { background: white; color: black; padding: .65rem 0; }
  .guide-header h1 { font-size: 2.2rem; max-width: none; }
  .guide-lead,.guide-kicker { color: black; }
  .guide-section h2 { font-size: 1.5rem; }
  .guide-section,.guide-comparison article,.guide-example { break-inside: avoid; }
}
