/* Geometric feather trails and illustrations give long pages a quiet rhythm. */
.brand-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  height: 86px;
  margin-block: 8px;
  pointer-events: none;
}
.brand-divider > img { width: 130px; height: 84px; object-fit: contain; flex: none; }
.brand-divider-rail { display: flex; align-items: center; flex: 1; max-width: 260px; height: 7px; gap: 4px; }
.brand-divider-rail i { display: block; height: 5px; flex: 1; background: #093f7c; clip-path: polygon(5% 0,100% 0,95% 100%,0 100%); }
.brand-divider-rail i:nth-child(2) { background: #16a7ad; }
.brand-divider-rail i:nth-child(3) { background: #ef604b; }
.brand-divider-rail i:nth-child(4) { background: #ffd86f; }
.brand-divider-rail:last-child { flex-direction: row-reverse; }
.brand-divider-compact { width: 100%; height: 54px; gap: 16px; margin-block: 8px 20px; }
.brand-divider-compact > img { width: 84px; height: 54px; }
.brand-divider-compact .brand-divider-rail { max-width: none; }
.brand-heading-icon { display: block; width: 66px; height: 66px; flex: none; }
.brand-heading-icon img { width: 100%; height: 100%; object-fit: contain; }

/* Keep each PDF category's identity visible while its filters stay unchanged. */
.guides-page .guide-group { --group-color: #d59b16; --group-tint: #fff4da; }
.guides-page .group-coops { --group-color: #2a978f; --group-tint: #e9f3ee; }
.guides-page .group-care { --group-color: #093f7c; --group-tint: #eaf0f9; }
.guides-page .group-health { --group-color: #e8734b; --group-tint: #fbeae3; }
.guides-page .guide-group-heading { padding: 12px 20px 12px 14px; background: var(--group-tint); border-left: 4px solid var(--group-color); border-radius: 6px 18px 18px 6px; }
.guides-page .guide-group-title { gap: 14px; }
.guides-page .guide-group-title .group-marker { display: none; }
.guides-page .guide-group-heading h2 { font-size: 30px; }
.guides-page .guide-health-next .brand-heading-icon { width: 88px; height: 88px; }

/* The toolkit's four pictures correspond to its existing category colors. */
.toolkit-page .brand-tool-heading { display: grid; grid-template-columns: 86px minmax(0,1fr); gap: 20px; align-items: center; }
.brand-tool-heading > img { width: 86px; height: 86px; object-fit: contain; }
.toolkit-page .brand-tool-copy > p:last-child { max-width: 60ch; color: var(--muted); font-size: 14px; line-height: 1.7; margin: 12px 0 0; }
.toolkit-page .tk-panel-heading { border-bottom: 1px solid var(--line); padding-bottom: 20px; }
.toolkit-page .tk-tabs button img { width: 38px; height: 38px; }
.toolkit-page .tk-egg-form .tk-card-heading > img { width: 64px; height: 64px; }
.brand-field-step { display: inline-grid; place-items: center; width: 26px; height: 26px; margin-right: 9px; background: #e8f0fc; color: #093f7c; font: 750 13px/1 var(--body); clip-path: polygon(20% 0,80% 0,100% 20%,100% 80%,80% 100%,20% 100%,0 80%,0 20%); vertical-align: middle; }
.tk-sitter-section:nth-of-type(2) .brand-field-step { background: #fff0bc; color: #7d5708; }
.tk-sitter-section:nth-of-type(3) .brand-field-step { background: #dff2e7; color: #17665e; }
.tk-sitter-section:nth-of-type(4) .brand-field-step { background: #fbeae3; color: #973d20; }

/* A visual sequence helps people understand the printable workflow at a glance. */
.brand-flow { list-style: none; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; padding: 0; margin: 0 0 26px; counter-reset: sheet-step; }
.brand-flow li { display: flex; gap: 13px; align-items: center; min-width: 0; padding: 14px 16px; background: white; border: 1px solid var(--line); border-radius: 14px; counter-increment: sheet-step; }
.brand-flow img { width: 46px; height: 46px; object-fit: contain; flex: none; }
.brand-flow span { font-size: 14px; font-weight: 650; color: var(--ink); line-height: 1.4; }
.brand-flow span::before { content: counter(sheet-step) '. '; color: var(--blue); }
.brand-flow li:nth-child(2) { background: #fff4da; }
.brand-flow li:nth-child(3) { background: #e9f3ee; }

.about-page .brand-divider + .about-roots { padding-top: 26px; }
.about-page .brand-divider + .about-voices { padding-top: 26px; }
.home-page #resources + .brand-divider { margin-top: 0; }
.home-page .brand-divider + #resources { padding-top: 18px; }
.home-page .brand-divider + #keeper-tools { margin-top: 6px; }
.home-page #keeper-tools > img.brand-tool-banner-art { width: 100px; height: 100px; }
.reader-heading + .brand-divider { margin-top: 0; }
.farm-page .farm-heading + .brand-divider { margin-bottom: 8px; }

/* React owns the checker; this decorative pseudo-element leaves its DOM alone. */
.checker-site #root[data-checker-view='home'] > .min-h-screen > header::after { content: ''; display: block; height: 74px; background: url('brand/rhythm-feather-trail.webp') center / 112px 73px no-repeat; border-bottom: 1px solid #e4e0d8; }

@media (max-width: 760px) {
  .brand-divider { gap: 14px; height: 66px; margin-block: 4px; }
  .brand-divider > img { width: 100px; height: 65px; }
  .brand-divider-rail { max-width: 150px; gap: 3px; }
  .brand-divider-compact { height: 46px; margin-bottom: 14px; }
  .brand-divider-compact > img { width: 70px; height: 45px; }
  .guides-page .guide-group-heading { align-items: flex-start; gap: 12px; padding: 12px 16px; }
  .guides-page .guide-group-heading h2 { font-size: 27px; }
  .brand-heading-icon { width: 54px; height: 54px; }
  .toolkit-page .brand-tool-heading { grid-template-columns: 64px minmax(0,1fr); gap: 14px; }
  .toolkit-page .brand-tool-heading { row-gap: 0; }
  .brand-tool-heading > img { width: 64px; height: 64px; grid-row: 1 / 3; align-self: center; }
  .toolkit-page .brand-tool-copy { display: contents; }
  .toolkit-page .brand-tool-copy > .tk-kicker { grid-column: 2; margin-bottom: 6px; }
  .toolkit-page .brand-tool-copy > h2 { grid-column: 2; }
  .toolkit-page .brand-tool-copy > p:last-child { grid-column: 1 / -1; margin-top: 12px; }
  .toolkit-page .tk-panel-heading { padding-bottom: 16px; }
  .brand-flow { gap: 8px; }
  .brand-flow li { flex-direction: column; text-align: center; padding: 12px 8px; gap: 8px; }
  .brand-flow img { width: 38px; height: 38px; }
  .brand-flow span { font-size: 12px; }
  .guides-page .guide-health-next .brand-heading-icon { width: 60px; height: 60px; }
  .home-page #keeper-tools > img.brand-tool-banner-art { width: 64px; height: 64px; }
}
@media (max-width: 430px) {
  .brand-divider-rail { gap: 2px; }
  .guides-page .guide-group-heading { flex-direction: column; gap: 8px; }
  .guides-page .guide-group-title { gap: 10px; }
  .toolkit-page .brand-tool-heading { grid-template-columns: 54px minmax(0,1fr); gap: 12px; }
  .brand-tool-heading > img { width: 54px; height: 54px; }
  .home-page #keeper-tools > img.brand-tool-banner-art { width: 50px; height: 50px; }
}
@media print {
  .brand-divider, .brand-heading-icon, .brand-tool-heading > img, .brand-field-step, .brand-flow { display: none !important; }
  .brand-tool-heading { display: block !important; }
  .checker-site #root[data-checker-view='home'] > .min-h-screen > header::after { display: none; }
}
