/* Header, footer and shared pieces of the home and rankings pages (2026-10-22). */
.home { max-width: none; padding: 0; }
.home::before { content: none; }
.wrap { max-width: 1120px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 5; background: rgba(22, 36, 63, .9); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(61, 90, 142, .6); }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--field); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 12px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--chalk); }
.brand img { width: 42px; height: auto; }
.brand span { font-family: var(--display); font-weight: 800; font-size: 26px; letter-spacing: .02em; }
.links { display: flex; gap: 22px; align-items: center; font-weight: 500; }
.links a { color: var(--muted); text-decoration: none; }
.links a:hover { color: var(--chalk); }
@media (max-width: 640px) { .links .hide-sm { display: none; } }
.eyebrow { font-family: var(--mono); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); }
.store-badge { display: inline-flex; align-items: center; }
.store-badge img { display: block; height: 50px; width: auto; }
.store { text-decoration: none; display: inline-flex; align-items: center; gap: 10px; background: var(--chalk); color: #0b1426; border-radius: 12px; padding: 10px 18px; font-weight: 600; }
.store svg { width: 22px; height: 22px; }
.store small { display: block; font-size: 11px; font-weight: 500; line-height: 1; }
.store b { display: block; font-size: 18px; line-height: 1.1; }
footer { border-top: 1px solid var(--line); }
footer .wrap { padding-block: 32px; display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: space-between; color: var(--muted); font-size: 14px; }
footer .links { gap: 18px; font-family: var(--mono); font-size: 13px; }
.links a[aria-current="page"] { color: var(--chalk); box-shadow: inset 0 -2px 0 var(--teal); padding-bottom: 4px; }
