/* shared header + footer (all pages) */
header.site{position:sticky;top:0;z-index:50;background:rgba(251,246,236,.92);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);border-bottom:1px solid #E3D9C6;font-family:Archivo,system-ui,sans-serif}
header.site .bar{max-width:1200px;margin:0 auto;padding:0 24px;min-height:68px;display:flex;align-items:center;justify-content:space-between;gap:16px}
header.site .brand,footer.site .brand{display:flex;align-items:center;gap:10px;font-weight:900;font-stretch:112%;font-size:22px;letter-spacing:-.03em;text-decoration:none;color:#2A2018;min-height:44px}
header.site nav.top{display:flex;gap:28px}
header.site nav.top a{font-weight:700;font-size:15px;color:#2A2018;text-decoration:none;min-height:44px;display:inline-flex;align-items:center;border-bottom:3px solid transparent}
header.site nav.top a:hover{border-color:#E3D9C6}
header.site nav.top a[aria-current]{border-color:#FFD23F}
.bar-actions{display:flex;align-items:center;gap:8px}
.btn-sm{display:inline-flex;align-items:center;min-height:44px;padding:0 18px;border-radius:12px;background:#2A2018;color:#FFD23F;font-weight:800;font-size:15px;text-decoration:none;white-space:nowrap}
.btn-sm .short{display:none}
details.menu{display:none}
details.menu summary{list-style:none;width:44px;height:44px;border-radius:12px;border:2px solid #E3D9C6;background:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer}
details.menu summary::-webkit-details-marker{display:none}
details.menu[open] summary{border-color:#2A2018}
.menu-panel{position:absolute;left:0;right:0;top:100%;background:#FBF6EC;border-bottom:1px solid #E3D9C6;padding:6px 24px 20px;display:flex;flex-direction:column;box-shadow:0 18px 30px rgba(42,32,24,.12)}
.menu-panel a{min-height:56px;display:flex;align-items:center;font-size:19px;font-weight:800;color:#2A2018;text-decoration:none;border-bottom:1px solid #EFE7D7}
.menu-panel a[aria-current]{text-decoration:underline;text-decoration-color:#FFD23F;text-decoration-thickness:4px;text-underline-offset:6px}
.menu-panel a.menu-cta{margin-top:16px;border:0;border-radius:12px;background:#2A2018;color:#FFD23F;justify-content:center;font-size:17px}
footer.site{border-top:1px solid #E3D9C6;background:#FBF6EC;font-family:Archivo,system-ui,sans-serif}
footer.site .foot{max-width:1200px;margin:0 auto;padding:28px 24px 36px;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px 28px}
footer.site nav{display:flex;flex-wrap:wrap;gap:0 22px}
footer.site nav a{min-height:44px;display:inline-flex;align-items:center;font-size:15px;font-weight:600;color:#2A2018}
footer.site .copy{font-size:14px;color:#5E5245}
@media (max-width:880px){
  header.site nav.top{display:none}
  details.menu{display:block}
  header.site .bar{min-height:62px}
}
@media (max-width:400px){ .btn-sm .long{display:none} .btn-sm .short{display:inline} }
@media (max-width:640px){
  footer.site .foot{flex-direction:column;align-items:flex-start}
  footer.site nav{flex-direction:column}
  /* forms: full-width button on phones */
  form button[type=submit]{flex:1 1 100% !important;width:100%}
  /* tables become cards */
  table.stack, table.stack tbody, table.stack tr, table.stack td{display:block;width:100%}
  table.stack{border:0;background:transparent}
  table.stack thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
  table.stack tr{background:#fff;border:2px solid #E3D9C6;border-radius:14px;padding:12px 14px;margin-bottom:10px}
  table.stack td{border:0;padding:3px 0}
  table.stack td::before{content:attr(data-label);display:block;font-size:11px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:#7A6A55}
  table.stack td:first-child::before{content:none}
  table.stack td:first-child{font-size:18px}
}

/* anchor targets clear the sticky header */
#waitlist,#get-plan{scroll-margin-top:110px}
@media (prefers-reduced-motion:no-preference){html{scroll-behavior:smooth}}
