/* ==========================================================================
   The home page's header and footer, for the pages that still wear style.css
   (blog, methodology, legal, /promocode, /delete-account).

   The markup matches index.html's `.nav` header and `.footer`, but under
   site-* class names: style.css already owns .nav, .nav-links, .btn and
   .footer for its own (retired) header, and its body copy, so loading site.css
   on these pages would restyle the articles. The values are copied from
   site.css's nav, button and footer rules; change them there first.

   These pages are light only now, like the home page: theme.js is gone, and
   style.css's dark block only applies under [data-theme="dark"].
   ========================================================================== */

.site-head, .site-foot {
  --sc-ink: #1C1C1E;
  --sc-muted: #6E6E73;
  --sc-line: #F2F2F7;
  --sc-btn: #0B8560;
  --sc-btn-edge: #08694D;
  font-family: Nunito, ui-rounded, "SF Pro Rounded", system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
}
.site-head a, .site-foot a { text-decoration: none; }

.site-head {
  max-width: 1280px; margin: 0 auto; padding: 18px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  line-height: normal;
}
.site-logo { display: flex; align-items: center; gap: 10px; color: var(--sc-ink); }
.site-logo:hover { color: var(--sc-ink); }
.site-logo img { width: 44px; height: 44px; display: block; }
.site-logo > span { font-size: 20px; font-weight: 900; line-height: 1.05; letter-spacing: normal; }
.site-links { display: flex; align-items: center; gap: 28px; }
.site-links a:not(.site-btn) { font-size: 16px; font-weight: 800; color: var(--sc-muted); }
.site-links a:not(.site-btn):hover,
.site-links a[aria-current="page"] { color: var(--sc-ink); }
.site-btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 48px; padding: 0 22px; border-radius: 16px;
  background: var(--sc-btn); box-shadow: 0 4px 0 var(--sc-btn-edge);
  color: #fff; font-size: 15px; font-weight: 900; letter-spacing: .4px; text-transform: uppercase;
  white-space: nowrap; transition: transform .08s ease, box-shadow .08s ease;
}
.site-btn:hover { color: #fff; }
.site-btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--sc-btn-edge); }

.site-foot { border-top: 2px solid var(--sc-line); background: #fff; }
.site-foot-in {
  max-width: 1280px; margin: 0 auto; padding: 28px 24px 44px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
}
.site-foot nav { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.site-foot a, .site-foot span { font-size: 15px; font-weight: 800; color: var(--sc-muted); }
.site-foot a:hover { color: var(--sc-ink); }
.site-foot .fine { font-size: 14px; font-weight: 700; }

@media (max-width: 1100px) {
  .site-links .site-hide { display: none; }
}
@media (max-width: 720px) {
  .site-head { padding: 14px 16px; }
  .site-logo img { width: 38px; height: 38px; }
  .site-logo > span { font-size: 17px; }
  .site-logo .br { display: block; }
  .site-links { gap: 0; }
  .site-btn { height: 42px; padding: 0 16px; font-size: 14px; }
  .site-foot-in { flex-direction: column; align-items: flex-start; padding: 24px 16px 40px; gap: 14px; }
  .site-foot nav { gap: 10px 20px; }
}
@media (max-width: 380px) {
  .site-logo > span { font-size: 16px; }
}
