/* Persistently header and footer for pages that still use the older stylesheet. */
.p-header, .p-footer { --paper: #f6f1e6; --ink: #1b3437; --ink-soft: #55676a; --line: #e3d9c4; font-family: "Figtree", system-ui, sans-serif; }
.p-header { position: sticky; top: 0; z-index: 50; background: rgba(246, 241, 230, 0.9); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(227, 217, 196, 0.8); }
.p-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 16px; width: min(1120px, 100% - 40px); margin-inline: auto; max-width: none; padding: 0; }
.p-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: "Fraunces", Georgia, serif; font-weight: 600; font-size: 1.35rem; letter-spacing: -0.01em; color: var(--ink); }
.p-brand img { height: 36px; width: auto; }
.p-nav { display: flex; align-items: center; gap: 22px; }
.p-nav a:not(.btn) { text-decoration: none; font-weight: 600; color: var(--ink-soft); }
.p-nav a:not(.btn):hover { color: var(--ink); }
.p-header .btn { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; background: var(--ink); color: #fdf8ec; font-weight: 700; font-size: 0.95rem; text-decoration: none; border: 0; }
@media (max-width: 560px) { .p-nav .nav-why { display: none; } .p-brand { font-size: 1.2rem; } }
.p-footer { border-top: 1px solid var(--line); padding: 34px 0 40px; margin-top: 20px; background: var(--paper); }
.p-footer .wrap { display: grid; gap: 18px; width: min(1120px, 100% - 40px); margin-inline: auto; max-width: none; padding: 0; }
.p-footer .top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 28px; }
.p-footer ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 24px; margin: 0; padding: 0; }
.p-footer a { color: var(--ink-soft); text-decoration: none; font-weight: 500; }
.p-footer a:hover { color: var(--ink); text-decoration: underline; }
.p-footer small { color: var(--ink-soft); font-size: 0.88rem; }
.skip-link { position: absolute; left: -999px; }
.skip-link:focus { left: 8px; top: 8px; z-index: 100; background: #1b3437; color: #fff; padding: 10px 14px; border-radius: 8px; }

/* Tracker page: borrow the new palette, shapes and buttons. */
:root { --ink: #1b3437; --ink-soft: #55676a; --cream: #f6f1e6; --paper: #fffdf8; --card: #fffdf8; --gold: #b8862b; --gold-hover: #c79332; --gold-text: #8a6212; --border: #e3d9c4; --focus: #b8862b; --radius-md: 14px; --radius-sm: 12px; }
body { background: var(--cream); color: var(--ink); }
.btn { border-radius: 999px; font-weight: 700; }
.btn-primary { background: var(--ink); color: #fdf8ec; }
.btn-primary:hover { background: #244548; }
.btn-secondary { border-radius: 999px; }
.goals-hero-art { border-radius: 14px; }
.goals-hero h1 { font-weight: 600; letter-spacing: -0.015em; }
.kicker { color: var(--gold-text); letter-spacing: 0.16em; }
