:root {
  --ivory: #f8f6ef;
  --ink: #233d4a;
  --muted: #65747b;
  --blue: #c6e5f3;
  --butter: #f4df8b;
  --line: #dedfd7;
  font-family: "DM Sans", sans-serif;
  color: var(--ink);
  background: var(--ivory);
  font-synthesis: none;
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }
button, a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
button:focus-visible, a:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid #51859d;
  outline-offset: 5px;
}
svg { display: block; width: 24px; height: 24px; }
.svg-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip-link {
  position: fixed; top: -70px; left: 20px; background: var(--ink); color: white;
  padding: 14px; z-index: 100;
}
.skip-link:focus { top: 12px; }

.header {
  height: 96px; max-width: 1440px; padding: 0 64px; margin: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand {
  display: flex; align-items: center; font-family: "Manrope", sans-serif;
  font-size: 28px; font-weight: 800; letter-spacing: -1.4px;
}
.brand-icon {
  width: 40px; height: 40px; border-radius: 14px; background: var(--blue);
  display: grid; place-items: center; margin-right: 10px; transform: rotate(-8deg);
}
.brand-icon svg { width: 26px; height: 26px; fill: var(--ink); transform: rotate(8deg); }
.brand-period { color: #7d9da9; }
.header nav { display: flex; gap: 28px; margin-left: 20px; }
.nav-link {
  font-size: 14px; font-weight: 550; padding: 12px 0; transition: color .2s;
}
.nav-link:hover { color: #51859d; }
.nav-download {
  border: 1px solid #bec9c8; padding: 12px 21px; border-radius: 99px;
  font-size: 13px; font-weight: 650; display: flex; align-items: center; gap: 16px;
  transition: background .2s, transform .2s;
}
.nav-download svg { width: 18px; height: 18px; }
.nav-download:hover { background: var(--blue); transform: translateY(-2px); }

.content-shell {
  max-width: 760px; margin: 0 auto; padding: 24px 64px 72px;
}
.hub .content-shell, .content-shell.hub { max-width: 880px; }
.breadcrumbs ol {
  list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0 0 28px;
  font-size: 12px; color: var(--muted);
}
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: 8px; color: #b0b8b2; }
.breadcrumbs a:hover { color: #51859d; }
.content-header { margin-bottom: 32px; }
.content-header h1 {
  font-family: "Manrope", sans-serif; font-size: clamp(36px, 5vw, 52px);
  letter-spacing: -2px; line-height: 1.12; margin: 0 0 16px; font-weight: 800;
}
.lede { font-size: 18px; line-height: 1.7; color: var(--muted); margin: 0; max-width: 40rem; }
.eyebrow-meta { font-size: 11px; letter-spacing: 1.2px; font-weight: 650; color: #7b9cab; text-transform: uppercase; }
.byline { font-size: 13px; color: var(--muted); margin-top: 18px; }

.prose { font-size: 16px; line-height: 1.8; color: var(--ink); }
.prose > *:first-child { margin-top: 0; }
.prose h2 {
  font-family: "Manrope", sans-serif; font-size: 28px; letter-spacing: -1px;
  margin: 2.2em 0 0.6em; font-weight: 750;
}
.prose h3 { font-size: 20px; letter-spacing: -0.4px; margin: 1.8em 0 0.5em; }
.prose p, .prose ul, .prose ol { margin: 0 0 1.1em; color: #3d5159; }
.prose ul, .prose ol { padding-left: 1.25em; }
.prose a { text-decoration: underline; text-underline-offset: 3px; color: #3d6575; }
.prose a:hover { color: #51859d; }
.prose strong { color: var(--ink); font-weight: 650; }
.prose table {
  width: 100%; border-collapse: collapse; margin: 0 0 1.4em;
  font-size: 15px; line-height: 1.5;
}
.prose th, .prose td {
  text-align: left; vertical-align: top;
  padding: 10px 12px; border-bottom: 1px solid var(--line);
}
.prose th { font-weight: 650; color: var(--ink); background: #f3f1e8; }
.prose td { color: #3d5159; }
.prose tr:last-child td { border-bottom: 0; }
.prose blockquote,
.prose .callout {
  margin: 0 0 1.4em; padding: 16px 18px;
  border-left: 3px solid #7d9da9; background: #eef6fa;
  border-radius: 0 14px 14px 0; color: #3d5159;
}
.guide-article .prose h2,
.guide-article .prose h3 { scroll-margin-top: 24px; }
.prose nav.toc {
  padding: 16px 18px; margin: 0 0 1.8em;
  border: 1px solid var(--line); border-radius: 16px; background: #fffef9;
}
.prose nav.toc p { margin: 0 0 10px; font-size: 13px; letter-spacing: 0.4px; text-transform: uppercase; color: #7b9cab; }
.prose nav.toc ul { list-style: none; padding: 0; margin: 0; }
.prose nav.toc li { margin: 0.4em 0; }
.prose nav.toc a { text-decoration: none; font-weight: 550; }
.prose nav.toc a:hover { text-decoration: underline; color: #51859d; }
.prose sup a { text-decoration: none; font-weight: 650; }
.prose h2#sources ~ ol,
.prose h2#sources + ol { font-size: 14px; line-height: 1.65; }

.guide-list { list-style: none; padding: 0; margin: 1.5rem 0; }
.guide-list li {
  border-top: 1px solid var(--line); padding: 18px 0;
}
.guide-list a { display: block; font-weight: 650; font-size: 18px; text-decoration: none; }
.guide-list a:hover { color: #51859d; }
.guide-list p { margin: 6px 0 0; font-size: 14px; color: var(--muted); font-weight: 400; }

.hub-cta {
  margin-top: 48px; padding: 28px; border: 1px solid var(--line); border-radius: 22px;
  background: linear-gradient(160deg, #eef6fa 0%, var(--ivory) 55%, #f7f0d8 100%);
}
.hub-cta h2 {
  font-family: "Manrope", sans-serif; font-size: 28px; letter-spacing: -1px;
  margin: 0 0 10px; font-weight: 750;
}
.hub-cta p { margin: 0 0 18px; color: var(--muted); line-height: 1.7; }

.page-foot {
  max-width: 1440px; padding: 28px 64px 36px; margin: auto;
  display: flex; flex-direction: column; gap: 16px; color: #8a938b; font-size: 11px;
  border-top: 1px solid var(--line);
}
.page-foot-copy { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.page-foot svg { width: 16px; height: 16px; fill: #b7c3b8; transform: rotate(-14deg); }
.page-foot-links { display: flex; flex-wrap: wrap; gap: 14px 20px; }
.page-foot-links a:hover { color: #51859d; }

.topic-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px;
  margin: 1.5rem 0 2rem; padding: 0; list-style: none;
}
.topic-grid li {
  padding: 16px 18px; border: 1px solid var(--line); border-radius: 16px; background: #fffef9;
  font-size: 14px; font-weight: 600;
}
.topic-grid small { display: block; margin-top: 6px; font-weight: 400; color: var(--muted); }

@media (max-width: 850px) {
  .header { height: 84px; padding: 0 26px; }
  .header nav { gap: 16px; margin-left: 0; }
  .nav-link { font-size: 12px; }
  .content-shell { padding: 16px 26px 56px; }
  .page-foot { padding: 24px 26px; }
}
@media (max-width: 520px) {
  .header { padding: 0 16px; gap: 8px; }
  .brand { font-size: 22px; letter-spacing: -1px; min-width: 0; }
  .brand-icon { width: 32px; height: 32px; margin-right: 6px; }
  .header nav { display: flex; gap: 8px; margin-left: 0; flex-shrink: 1; min-width: 0; }
  .header nav .nav-link:not(.nav-link--persistent) { display: none; }
  .nav-link--persistent { font-size: 11px; white-space: nowrap; }
  .nav-download { font-size: 11px; padding: 10px 11px; gap: 6px; white-space: nowrap; flex-shrink: 0; }
  .nav-download svg { display: none; }
  .content-shell { padding: 12px 22px 48px; }
  .page-foot-copy { font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Editorial layout: shared alignment, readable measure, and distinct navigation. */
.content-shell { width: 100%; max-width: 856px; padding: 48px 48px 88px; }
.content-shell.hub, .content-shell.guide-article { max-width: 1200px; }
.breadcrumbs ol { font-size: 13px; line-height: 1.65; margin-bottom: 36px; }
.breadcrumbs li { min-width: 0; }
.breadcrumbs a { text-decoration: underline; text-underline-offset: 3px; }
.content-header { padding-bottom: 36px; margin-bottom: 40px; border-bottom: 1px solid #d1d9d3; }
.content-header h1 { max-width: 20ch; font-size: clamp(36px, 4.6vw, 60px); line-height: 1.12; letter-spacing: -2px; text-wrap: balance; margin-bottom: 24px; }
.content-header .lede { font-size: 18px; max-width: 64ch; line-height: 1.75; }
.eyebrow-meta { color: #466773; letter-spacing: 1.4px; font-weight: 700; margin: 0 0 20px; }
.byline { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 13px; line-height: 1.7; margin-top: 28px; }
.guide-header { padding: 36px 0 40px; }
.guide-header h1 { max-width: 22ch; }
.guide-layout { display: grid; grid-template-columns: 240px minmax(0, 700px); gap: 64px; align-items: start; }
.guide-layout--no-toc { display: block; max-width: 700px; margin: auto; }
.guide-sidebar { position: sticky; top: 32px; font-size: 13px; line-height: 1.5; }
.guide-sidebar .toc { padding: 0 22px 0 0; border-right: 1px solid #d1d9d3; }
.guide-sidebar .toc p { text-transform: uppercase; letter-spacing: 1.5px; font-size: 11px; color: #466773; margin: 0 0 18px; }
.guide-sidebar .toc ul { list-style: none; padding: 0; margin: 0; }
.guide-sidebar .toc li + li { margin-top: 8px; }
.guide-sidebar .toc a { display: block; padding: 6px 0; color: #526770; }
.guide-sidebar .toc a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.guide-sidebar > .text-link { margin-top: 24px; font-size: 13px; }
.prose { font-size: 17px; line-height: 1.85; min-width: 0; overflow-wrap: break-word; }
.prose h2 { font-size: 30px; line-height: 1.25; letter-spacing: -1px; margin: 56px 0 20px; padding-top: 24px; border-top: 1px solid var(--line); }
.prose h3 { font-family: 'Manrope', sans-serif; font-size: 21px; line-height: 1.4; margin: 32px 0 14px; font-weight: 750; }
.prose li + li { margin-top: 8px; }
.prose li::marker { color: #466773; }
.prose #quick-answer { padding: 28px 30px 0; background: #e8efea; border: 0; border-radius: 18px 18px 0 0; margin-bottom: 0; }
.prose #quick-answer + ol { padding: 20px 30px 30px 54px; background: #e8efea; border-radius: 0 0 18px 18px; margin-top: 0; }
.prose #quick-answer + ol li { padding-left: 4px; }
.prose #quick-answer + ol li::marker { font-weight: 700; }
.prose table { border: 1px solid var(--line); background: var(--surface); border-radius: 12px; overflow: hidden; font-size: 15px; }
.prose th, .prose td { padding: 16px; }
.prose th { background: #e8efea; }
.prose #sources ~ ol { padding-left: 24px; }
.prose #sources ~ ol a { overflow-wrap: anywhere; }
.hub .prose > p, .hub .prose > ol { max-width: 72ch; }
.hub-cta { margin: 64px 0 0; padding: 36px 40px; background: #e5eff0; border: 0; border-radius: 22px; }
.hub-cta h2 { font-size: 32px; }
.hub-cta p { max-width: 64ch; font-size: 16px; }
.guide-article > .hub-cta { margin-left: 304px; }
.guide-library { display: grid; gap: 28px; }
.prose .featured-guide h2 { padding: 0; border: 0; margin-top: 0; }
.library-note { margin-top: 28px !important; font-size: 15px; }
.prose .topic-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; padding: 24px 0; margin: 24px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.prose .topic-grid li { background: none; padding: 4px 24px; margin: 0; border: 0; border-left: 1px solid var(--line); border-radius: 0; font-size: 16px; }
.prose .topic-grid li:first-child { padding-left: 0; border: 0; }
.prose .topic-grid small { font-size: 14px; line-height: 1.6; }
.contact-panel { max-width: none; padding: 30px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; margin-top: 28px; }
.contact-form { gap: 20px; }
@media (max-width: 1100px) {
  .guide-layout { grid-template-columns: 210px minmax(0, 1fr); gap: 40px; }
  .guide-article > .hub-cta { margin-left: 250px; }
}
@media (max-width: 850px) {
  .content-shell { padding: 28px 26px 64px; }
  .guide-header { padding-top: 0; }
  .guide-layout { grid-template-columns: 1fr; gap: 32px; }
  .guide-sidebar { position: static; padding: 24px; background: #eef0e8; border-radius: 16px; }
  .guide-sidebar .toc { padding: 0; border: 0; }
  .guide-sidebar .toc ul { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 24px; }
  .guide-sidebar .toc li + li { margin: 0; }
  .guide-sidebar > .text-link { margin-top: 12px; }
  .guide-article > .hub-cta { margin-left: 0; }
  .prose .topic-grid { grid-template-columns: 1fr 1fr; gap: 24px 0; }
  .prose .topic-grid li:nth-child(3) { border: 0; padding-left: 0; }
}
@media (max-width: 520px) {
  .content-shell { padding: 24px 22px 56px; }
  .content-header { padding-bottom: 28px; margin-bottom: 28px; }
  .content-header h1 { font-size: 36px; letter-spacing: -1.4px; margin-bottom: 20px; }
  .content-header .lede { font-size: 16px; line-height: 1.75; }
  .breadcrumbs ol { font-size: 12px; margin-bottom: 28px; }
  .byline { gap: 6px 16px; font-size: 12px; margin-top: 22px; }
  .guide-sidebar .toc ul { grid-template-columns: 1fr; }
  .prose { font-size: 16px; line-height: 1.85; }
  .prose h2 { font-size: 26px; margin-top: 40px; padding-top: 20px; }
  .prose h3 { font-size: 20px; }
  .prose #quick-answer { padding: 24px 22px 0; }
  .prose #quick-answer + ol { padding: 18px 22px 24px 42px; }
  .prose th, .prose td { padding: 12px; font-size: 14px; }
  .hub-cta { padding: 28px 24px; margin-top: 40px; }
  .hub-cta h2 { font-size: 28px; }
  .contact-panel { padding: 22px; }
}
.hub-entry { padding: 28px 32px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.prose .hub-entry .section-kicker { margin: 0 0 16px; font-size: 11px; color: #466773; }
.prose .hub-entry h3 { font-size: 26px; margin: 0 0 12px; }
.prose .hub-entry h3 a { text-decoration: none; color: var(--ink); }
.prose .hub-entry h3 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.prose .hub-entry > p:not(.section-kicker) { font-size: 16px; margin-bottom: 14px; }
@media (max-width: 520px) { .hub-entry { padding: 24px; } .prose .hub-entry h3 { font-size: 24px; } }

.byline a { text-decoration: underline; text-underline-offset: 3px; font-weight: 650; }
.author-card { display: flex; align-items: flex-start; gap: 24px; margin: 56px 0 0 304px; padding: 28px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.author-monogram { display: grid; place-items: center; width: 64px; height: 64px; flex-shrink: 0; border-radius: 50%; background: #e2ece9; color: #355c62; font-family: 'Manrope', sans-serif; font-size: 20px; font-weight: 750; }
.author-card .section-kicker { margin-bottom: 8px; }
.author-card h2 { font-family: 'Manrope', sans-serif; font-size: 24px; letter-spacing: -.7px; line-height: 1.3; margin: 0 0 12px; }
.author-card p:not(.section-kicker) { font-size: 15px; line-height: 1.8; color: var(--muted); margin: 0 0 12px; }
.author-card h2 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.author-profile-intro { display: flex; align-items: center; gap: 20px; margin-bottom: 28px; }
.author-profile-intro p { margin: 0; font-weight: 650; }
.prose .author-guide-list { padding: 0; }
.prose .author-guide-list li { margin: 0; }
@media (max-width: 1100px) { .author-card { margin-left: 250px; } }
@media (max-width: 850px) { .author-card { margin-left: 0; } }
@media (max-width: 520px) { .author-card { gap: 16px; } .author-card .author-monogram { width: 44px; height: 44px; font-size: 15px; } }
/* Published guide collection and lightweight instructional diagrams. */
.guide-library { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
.guide-library .featured-guide { grid-template-columns: 1fr; }
.guide-library .guide-art { padding: 16px; }
.guide-library .training-illustration { width: 200px; }
.guide-library .art-caption { font-size: 12px; }
.guide-library .featured-guide-copy { padding: 30px; }
.guide-library .featured-guide-copy h2 { font-size: 28px; }
.hub-topic-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.guide-diagram { margin: 32px 0; padding: 24px; background: #e8f0f1; border-radius: 18px; }
.guide-diagram figcaption { font-family: 'Manrope', sans-serif; font-size: 17px; font-weight: 750; line-height: 1.5; margin-bottom: 24px; }
.prose .diagram-steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 24px; padding-left: 22px; margin: 0; font-size: 14px; }
.prose .diagram-steps li { margin: 0; padding-left: 4px; }
.diagram-steps strong, .diagram-steps span { display: block; }
.diagram-steps span { color: #526770; line-height: 1.6; margin-top: 4px; }
.leash-examples { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.leash-examples svg { width: 100%; height: auto; }
.leash-examples strong { display: block; font-size: 15px; }
.leash-examples p { font-size: 14px; line-height: 1.6; margin-bottom: 0; }
@media (max-width: 600px) { .guide-library, .hub-topic-links, .leash-examples { grid-template-columns: 1fr; } .guide-library .featured-guide-copy { padding: 24px; } .guide-diagram { padding: 22px; } .leash-examples { gap: 20px; } .leash-examples svg { max-width: 250px; } }
