/* Shared public-site styles: the footer (markup: lib/site-footer.js). Everything is scoped under
   #site-footer and sets its own box model, so the older per-page `footer`, `nav`, `h2` and `a`
   rules can't change it. */
#site-footer.ro-foot{display:block;position:static;margin:0;padding:64px 0 28px;border:0;background:#1c1917;color:#d6d3d1;text-align:left;font-family:Outfit,Poppins,system-ui,-apple-system,"Segoe UI",sans-serif;font-size:15px;line-height:1.5;-webkit-font-smoothing:antialiased}
#site-footer *{box-sizing:border-box}
#site-footer .ro-foot-wrap{width:min(1240px,calc(100% - 48px));margin:0 auto;padding:0}
#site-footer .ro-foot-top{display:grid;grid-template-columns:minmax(220px,300px) 1fr;gap:48px;align-items:start}
#site-footer .ro-foot-brand p{margin:16px 0 0;color:#a8a29e;font-size:14.5px;line-height:1.6;max-width:300px}
#site-footer .ro-foot-logo{display:inline-flex;min-height:44px;align-items:center}
#site-footer .ro-foot-logo img{display:block;height:44px;width:auto;max-width:none}
#site-footer .ro-foot-cta{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px}
#site-footer .ro-foot-btn{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 18px;border-radius:12px;border:1px solid #c2410c;background:#c2410c;color:#fff;font-weight:800;font-size:14.5px;line-height:1;text-decoration:none;white-space:nowrap;transition:background .15s,border-color .15s}
#site-footer .ro-foot-btn:hover{background:#ea580c;border-color:#ea580c;color:#fff}
#site-footer .ro-foot-btn-alt{background:transparent;border-color:#57534e;color:#f5f5f4}
#site-footer .ro-foot-btn-alt:hover{background:#292524;border-color:#78716c}
#site-footer #footer-social-links{display:flex;gap:16px;margin-top:20px;color:#a8a29e}
#site-footer #footer-social-links:empty{display:none}
#site-footer .ro-foot-cols{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:32px 24px}
#site-footer nav.ro-foot-col{display:block;position:static;padding:0;margin:0;background:none;border:0;box-shadow:none;transition:none}
#site-footer .ro-foot-col h2{margin:0 0 12px;padding:0;font-family:inherit;font-size:12px;font-weight:800;line-height:1.4;letter-spacing:.12em;text-transform:uppercase;color:#fafaf9}
#site-footer .ro-foot-col h2 a{color:inherit;text-decoration:none}
#site-footer .ro-foot-col h2 a:hover{color:#fdba74}
#site-footer .ro-foot-col ul{list-style:none;margin:0;padding:0;display:grid;gap:2px}
#site-footer .ro-foot-col li{margin:0;padding:0}
#site-footer .ro-foot-col li a,#site-footer .ro-foot-bottom a{display:inline-flex;align-items:center;min-height:32px;color:#a8a29e;font-size:14.5px;font-weight:500;line-height:1.35;text-decoration:none;transition:color .15s}
#site-footer .ro-foot-col li a:hover,#site-footer .ro-foot-bottom a:hover{color:#fdba74;text-decoration:underline}
#site-footer a:focus-visible{outline:2px solid #fdba74;outline-offset:2px;border-radius:6px}
#site-footer .ro-foot-bottom{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 24px;margin-top:48px;padding-top:24px;border-top:1px solid #292524}
#site-footer .ro-foot-bottom p{margin:0;color:#78716c;font-size:13.5px}
#site-footer .ro-foot-bottom nav{display:flex;flex-wrap:wrap;gap:0 20px;padding:0;margin:0;position:static;background:none}
@media (max-width:1100px){
  #site-footer .ro-foot-top{grid-template-columns:1fr}
  #site-footer .ro-foot-brand p{max-width:520px}
  #site-footer .ro-foot-cols{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (max-width:640px){
  #site-footer.ro-foot{padding:48px 0 calc(24px + env(safe-area-inset-bottom,0px))}
  #site-footer .ro-foot-wrap{width:calc(100% - 32px)}
  #site-footer .ro-foot-cols{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 16px}
  #site-footer .ro-foot-col li a{min-height:40px}
  #site-footer .ro-foot-bottom{flex-direction:column;align-items:flex-start}
}
@media (prefers-reduced-motion:reduce){#site-footer *{transition:none!important}}

/* "Guides on this topic" (lib/seo-colonies.js): the colony block on landing pages, guides, the
   blog index, /features and the home page. Scoped like the footer so page CSS can't reshape it. */
.ro-guides{display:block;padding:56px 0;background:#fff7ed;border-top:1px solid #fde7d3;font-family:inherit;text-align:left}
.ro-guides *{box-sizing:border-box}
.ro-guides + .ro-guides{padding-top:8px;border-top:0}
.ro-guides-wrap{width:min(1120px,calc(100% - 40px));margin:0 auto}
.ro-guides h2{margin:0 0 20px;padding:0;font-size:28px;line-height:1.2;font-weight:800;color:#1c1917;letter-spacing:-.01em}
.ro-guides-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.ro-guide{display:flex;flex-direction:column;gap:6px;padding:20px;border:1px solid #fed7aa;border-radius:16px;background:#fff;color:#1c1917;text-decoration:none;transition:transform .15s,box-shadow .15s,border-color .15s}
.ro-guide:hover{transform:translateY(-2px);border-color:#fb923c;box-shadow:0 14px 30px rgba(194,65,12,.12)}
.ro-guide .topic-icon{display:block;width:44px;height:44px;margin-bottom:6px}
.ro-guide-kicker{color:#c2410c;font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.ro-guide strong{display:block;font-size:17px;line-height:1.3;font-weight:800}
.ro-guide strong + span{display:block;color:#57534e;font-size:14.5px;line-height:1.5}
.ro-guide:hover strong{color:#c2410c}
.ro-guides-more{margin:20px 0 0;color:#78716c;font-size:14.5px}
.ro-guides-more a{color:#c2410c;font-weight:700;text-decoration:none}.ro-guides-more a:hover{text-decoration:underline}
.ro-guide:focus-visible,.ro-guides-more a:focus-visible{outline:2px solid #c2410c;outline-offset:2px}
@media (max-width:900px){.ro-guides-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:600px){.ro-guides{padding:44px 0}.ro-guides-wrap{width:calc(100% - 32px)}.ro-guides-grid{grid-template-columns:1fr}.ro-guides h2{font-size:24px}}
@media (prefers-reduced-motion:reduce){.ro-guide{transition:none}}

/* Illustrations on the hand-written pages' heroes (public/img/illustrations, from lib/illustrations.js) */
img.ro-hero-illo{display:block;width:min(340px,78%);max-width:100%;height:auto;margin:28px auto 0}
@media (max-width:600px){img.ro-hero-illo{width:min(240px,70%);margin-top:20px}}

/* Branded 404 page (server.js, last route): no page stylesheet of its own. */
body[data-page="not-found"]{margin:0;background:#fffaf5;color:#1c1917;font-family:system-ui,-apple-system,"Segoe UI",Roboto,sans-serif}
body[data-page="not-found"] main{padding-top:24px}
body[data-page="not-found"] h1{margin:0 0 12px;font-size:clamp(28px,5vw,40px);line-height:1.15;font-weight:800;letter-spacing:-.01em}
