.resource-nav, .reference-footer nav {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px;
  font: 500 .875rem/1.35 var(--headline);
}
.resource-nav a, .reference-footer a { text-decoration-thickness: 1px; text-underline-offset: .27em; }
.resource-nav a { color: var(--slate); padding-block: 8px; }
.reference-footer nav a { color: var(--dark-muted); }
.resource-nav a:hover { color: var(--action); }
.reference-footer a:hover { color: var(--white); }
.reference-footer p { margin-top: 3px; }
.reference-hero {
  padding-block: clamp(38px, 6.9vw, 86px);
  background-image: radial-gradient(ellipse at 65% 19%, var(--color-deep-slate) 0%, transparent 64%);
}
.reference-hero h1 {
  max-width: 22ch; margin: 20px 0; font-size: clamp(2.35rem, 5.1vw, 3.5rem); line-height: 1.2; text-wrap: pretty;
}
.reference-hero .hero-lede { max-width: 55ch; }
.reference-crumbs ol {
  display: flex; flex-wrap: wrap; gap: 4px 8px; list-style: none; padding: 0; margin: 0; font-size: .875rem; color: var(--dark-muted);
}
.reference-crumbs li + li::before { content: "/"; margin-right: 8px; color: #9caebc; }
.reference-meta { color: var(--dark-muted); margin-top: 17px; font-size: .875rem; }
.reference-crumbs a, .reference-meta a { text-underline-offset: 3px; color: var(--white); }
.reference-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(225px, 315px); align-items: start; gap: 38px clamp(28px, 5vw, 78px); }
.reference-body section + section, .reference-aside section + section { margin-top: 34px; }
.reference-body h2 { font-size: clamp(1.65rem, 3.25vw, 2.5rem); margin-bottom: 15px; }
.reference-body section > p { max-width: 71ch; color: var(--slate); }
.reference-body section > p + p { margin-top: 12px; }
.reference-card { padding: clamp(17px, 2.8vw, 27px); border: 1px solid var(--line); border-radius: 8px; background: var(--white); }
.reference-card h2 { font-size: 1.24rem; line-height: 1.23; font-weight: 550; }
.reference-card .text-link { margin-top: 17px; }
.reference-links { padding-left: 1.12rem; margin-block: 12px; }
.reference-links li + li { margin-top: 8px; }
.reference-links a, .reference-body p a, .reference-facts a { text-underline-offset: .2em; font-weight: 550; }
.reference-table { width: 100%; border: 1px solid var(--line); border-collapse: collapse; text-align: left; line-height: 1.43; }
.reference-table th, .reference-table td { padding: 13px 15px; border: 1px solid var(--line); vertical-align: top; }
.reference-table th { font: 550 .92rem/1.42 var(--headline); }
.reference-table thead th { background: #edf4f1; }
.reference-table tbody th { width: 34%; background: var(--ice); }
.reference-table td { background: var(--white); color: var(--slate); }
.reference-map { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 17px; align-items: start; }
.reference-facts { margin: 16px 0 0; }
.reference-facts > div { border-top: 1px solid var(--line); padding-block: 10px; }
.reference-facts dt { font: 550 .9rem/1.4 var(--headline); }
.reference-facts dd { color: var(--slate); margin: 3px 0 0; }
.reference-facts-code { font-family: var(--mono); letter-spacing: .035em; }
@media (max-width: 780px) {
  .reference-layout, .reference-map { grid-template-columns: 1fr; }
}
@media (max-width: 565px) {
  .resource-nav { width: 100%; gap: 7px 17px; padding-bottom: 5px; }
  .header:has(.resource-nav) .header-inner { gap: 2px; padding-top: 3px; }
  .reference-table th, .reference-table td { padding: 9px; overflow-wrap: anywhere; }
  .reference-table th, .reference-table td { font-size: .875rem; }
}

.guide-menu { padding: 18px 22px; margin-bottom: 32px; border-left: 3px solid var(--color-prumo-emerald); background: var(--ice); }
.guide-menu .reference-links { margin-bottom: 0; }
.guide-steps { padding-left: 1.5rem; color: var(--slate); }
.guide-steps li + li { margin-top: .8em; }
.guide-steps li::marker { font-weight: 600; }
