/* Shared page shell for standalone pages (how-to, payment-promise).
 *
 * Copies the look of the Guides pages so every section has the same header and footer:
 *   - Header: ivory, sticky, 1px bottom line, 80px row (72px compact), 214x58 logo box.
 *     Markup: <header class="cz-shell-header cz-header cz-header--light is-compact"> > .cz-header-inner
 *     Nav behaviour and drawer come from /css/site-nav.css + /js/site-nav.js.
 *   - Footer: charcoal, 1px top line, 72px row, 13px muted text, WhatsApp pill.
 *     Markup: <footer class="cz-foot"> > .cz-foot-row > .cz-foot-logo, p, nav
 *
 * The Guides pages get the same values from confident-pricing-b.min.css and guides.css (.gd-foot).
 * Change both together.
 */
.cz-shell-header {
  position: sticky; top: 0; z-index: 100;
  background: #fbfaf7; border-bottom: 1px solid #e3e6e1; color: #101820;
  font-family: Figtree, sans-serif;
}
.cz-shell-header .cz-header-inner { position: relative; z-index: 1; width: min(1320px, calc(100% - 80px)); min-height: 80px; margin: 0 auto; }
.cz-shell-header.is-compact .cz-header-inner { position: static; min-height: 72px; }
.cz-shell-header .cz-brand { line-height: 0; }
.cz-shell-header .cz-brand img { display: block; width: 214px; height: 58px; object-fit: contain; }
.cz-shell-cta {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 18px;
  border: 3px solid rgba(72, 168, 72, .3); border-radius: 16px; background: #48a848 padding-box;
  box-shadow: 0 6px 16px -10px rgba(16, 24, 32, .4);
  color: #101820; font: 600 14px/1.3 Sora, Figtree, sans-serif; letter-spacing: -.01em; text-decoration: none; white-space: nowrap;
  transition: box-shadow .3s cubic-bezier(.22, 1, .36, 1), transform .2s cubic-bezier(.22, 1, .36, 1);
}
.cz-shell-cta:hover { box-shadow: 0 0 0 5px rgba(72, 168, 72, .16), 0 12px 36px -8px rgba(72, 168, 72, .55), 0 6px 16px -10px rgba(16, 24, 32, .4); }
.cz-shell-cta:active { transform: scale(.97); }
.cz-shell-cta:focus-visible { outline: 3px solid #2e7f36; outline-offset: 3px; }
@media (max-width: 1100px) {
  .cz-shell-header .cz-header-inner { width: calc(100% - 48px); }
}
@media (max-width: 599px) {
  .cz-shell-header .cz-header-inner { width: calc(100% - 40px); }
  .cz-shell-header .cz-brand img { width: 150px; height: 41px; }
  .cz-shell-cta { padding: 9px 14px; }
}

.cz-foot { background: #101820; border-top: 1px solid #26313a; }
.cz-foot-row { display: flex; align-items: center; gap: 24px; width: calc(100% - 96px); max-width: 1200px; min-height: 72px; margin-inline: auto; padding: 12px 0; font: 400 13px/1.5 Figtree, sans-serif; color: #b8c2bc; }
.cz-foot-logo { flex: none; line-height: 0; }
.cz-foot-logo img { display: block; height: 24px; width: auto; }
.cz-foot-row p { margin: 0; flex: 1; }
.cz-foot-row nav { display: flex; align-items: center; gap: 4px; }
.cz-foot-row nav a { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 44px; min-height: 44px; padding: 0 10px; border-radius: 10px; color: inherit; text-decoration: none; transition: background-color .2s, color .2s; }
.cz-foot-row nav a:hover { background: rgba(255,255,255,.08); color: #fbfaf7; }
.cz-foot-row nav a:focus-visible { outline: 2px solid #94e2a6; outline-offset: 3px; }
.cz-foot-sep { width: 1px; height: 20px; background: #26313a; margin: 0 6px; }
.cz-foot-row nav a.cz-foot-wa { padding: 0 16px; border-radius: 999px; background: #48a848; color: #101820; font: 600 13px Sora, sans-serif; }
.cz-foot-row nav a.cz-foot-wa:hover { background: #5cb85c; }
@media (max-width: 760px) {
  .cz-foot-row { width: calc(100% - 32px); flex-wrap: wrap; gap: 8px 16px; padding: 20px 0; }
  .cz-foot-row p { flex: 1 1 100%; }
  .cz-foot-row nav { flex-wrap: wrap; margin-left: -10px; }
  .cz-foot-sep { display: none; }
}
