/* Shared homepage header and footer. Keep these rules scoped to the chrome. */
.site-header, .site-footer {
  --chrome-paper: #fbfaf6;
  --chrome-ink: #233d2e;
  --chrome-green: #28513c;
  --chrome-line: #dfe3d8;
  color: var(--chrome-ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: normal;
  text-align: left;
  -webkit-font-smoothing: antialiased;
}
.site-header *, .site-footer * { box-sizing: border-box; }
.site-header a, .site-footer a { color: inherit; text-decoration: none; }
.site-header a:focus-visible, .site-header summary:focus-visible, .site-footer a:focus-visible { outline: 3px solid #a9b85f; outline-offset: 5px; }
.site-header {
  height: 96px;
  border-bottom: 1px solid var(--chrome-line);
  background: rgb(251 250 246 / .96);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(15px);
}
.site-header .header-inner, .site-footer.container {
  width: min(1280px, calc(100% - 96px));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}
.site-header .header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-header .brand, .site-footer .brand {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex: 0 0 auto;
  color: #233d2e;
  font-family: "Comfortaa", system-ui, sans-serif;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -.3px;
  line-height: 1;
  white-space: nowrap;
}
.site-header .brand-accent, .site-footer .brand-accent { color: oklch(0.63 0.115 142); }
.site-header .brand img, .site-footer .brand img { display: block; width: 26px; height: 26px; max-width: 100%; object-fit: contain; }
.site-header .desktop-nav { display: flex; gap: 30px; margin-left: 36px; font-size: 14px; }
.site-header .desktop-nav a { color: #505c50; font-weight: 400; transition: color .2s; }
.site-header .desktop-nav a:hover { color: var(--chrome-green); text-decoration: underline; text-underline-offset: 6px; }
.site-header .desktop-nav a[aria-current="page"] { color: var(--chrome-green); font-weight: 600; }
.site-header .header-actions { display: flex; align-items: center; gap: 12px; }
.site-header .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  min-height: 44px;
  padding: 12px 17px;
  border: 1px solid var(--chrome-green);
  border-radius: 7px;
  background: var(--chrome-green);
  color: #fff;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  white-space: nowrap;
  transition: background .18s, transform .18s, box-shadow .18s;
}
.site-header .button:hover { background: #193e2c; box-shadow: 0 5px 15px #173c2a15; transform: translateY(-2px); }
.site-header .icon { display: block; width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.site-header .mobile-menu { display: none; margin: 0; }
.site-footer.container { padding-block: 65px 28px; background: var(--chrome-paper); }
.site-footer .footer-top { display: grid; grid-template-columns: 1.05fr 1fr 1.4fr 1fr; gap: 40px; padding-bottom: 40px; }
.site-footer .footer-top > * { min-width: 0; }
.site-footer .footer-brand p { margin: 17px 0 0; color: #66715d; font-size: 14px; line-height: 1.8; }
.site-footer .footer-top h2 { margin: 0 0 16px; color: var(--chrome-ink); font-family: inherit; font-size: 14px; font-weight: 600; line-height: 1.5; letter-spacing: 0; }
.site-footer .footer-top nav > a, .site-footer .footer-contact > a { display: block; margin-top: 9px; padding-block: 2px; color: #66715d; font-size: 15px; font-weight: 400; line-height: 1.7; overflow-wrap: anywhere; }
.site-footer .footer-top nav > a:hover, .site-footer .footer-contact > a:hover { color: var(--chrome-green); text-decoration: underline; text-underline-offset: 4px; }
.site-footer .footer-contact a > span { padding-left: 9px; }
.site-footer .footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 25px; border-top: 1px solid var(--chrome-line); padding-top: 22px; color: #66715d; font-size: 13px; font-weight: 400; line-height: 1.7; }
.site-footer .footer-bottom p { margin: 0; max-width: 630px; font-size: inherit; line-height: inherit; }
.site-footer .footer-bottom > a { white-space: nowrap; }
.site-footer .footer-bottom > a:hover { color: var(--chrome-green); }
@media (max-width: 1150px) {
  .site-header .header-inner, .site-footer.container { width: calc(100% - 64px); }
  .site-header .desktop-nav { margin-left: 0; gap: 22px; font-size: 12px; }
}
@media (max-width: 960px) {
  .site-header .desktop-nav { gap: 16px; }
  .site-header .header-inner { gap: 15px; }
  .site-header .button { font-size: 11px; padding: 11px 14px; gap: 9px; }
  .site-footer .footer-top { gap: 25px; }
}
@media (max-width: 760px) {
  .site-header .header-inner, .site-footer.container { width: calc(100% - 40px); }
  .site-header { height: 75px; }
  .site-header .desktop-nav { display: none; }
  .site-header .header-inner { gap: 12px; }
  .site-header .header-actions { gap: 10px; }
  .site-header .button { padding: 11px 13px; font-size: 11px; gap: 9px; }
  .site-header .button .icon { width: 15px; height: 15px; }
  .site-header .mobile-menu { display: block; }
  .site-header .mobile-menu summary { display: flex; align-items: center; justify-content: center; list-style: none; width: 38px; height: 44px; border: 1px solid #dee3d5; border-radius: 7px; cursor: pointer; }
  .site-header .mobile-menu summary::-webkit-details-marker { display: none; }
  .site-header .mobile-menu .icon { width: 20px; height: 20px; }
  .site-header .mobile-menu nav { position: absolute; top: 66px; left: 20px; right: 20px; display: flex; flex-direction: column; border: 1px solid var(--chrome-line); padding: 12px 18px; background: var(--chrome-paper); border-radius: 12px; box-shadow: 0 12px 30px #173c2a12; }
  .site-header .mobile-menu nav > a { font-size: 14px; padding: 12px 0; border-bottom: 1px solid var(--chrome-line); line-height: 1.6; }
  .site-header .mobile-menu nav > a:last-child { border: none; }
  .site-footer.container { padding-block: 46px 25px; }
  .site-footer .footer-top { grid-template-columns: 1fr 1fr; gap: 30px 25px; padding-bottom: 30px; }
  .site-footer .footer-brand p { margin-top: 15px; }
  .site-footer .footer-top h2 { margin-bottom: 14px; }
  .site-footer .footer-top nav > a, .site-footer .footer-contact > a { font-size: 14px; line-height: 1.75; margin-top: 10px; }
  .site-footer .footer-bottom { flex-wrap: wrap; gap: 14px; align-items: flex-start; }
  .site-footer .footer-bottom p { order: 3; width: 100%; max-width: none; }
  .site-footer .footer-bottom > a { margin-left: auto; }
}
@media (max-width: 380px) {
  .site-header .header-inner, .site-footer.container { width: calc(100% - 32px); }
  .site-header .header-inner { gap: 8px; }
  .site-header .header-actions { gap: 7px; }
  .site-header .button { font-size: 10px; padding: 11px 10px; gap: 7px; }
  .site-header .button .icon { width: 13px; height: 13px; }
  .site-header .mobile-menu summary { width: 34px; }
  .site-footer .footer-top { gap: 28px 20px; }
}
@media (max-width: 340px) {
  .site-footer .footer-top { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .site-header *, .site-footer * { transition: none !important; scroll-behavior: auto !important; }
}
