/* ============================================================
   STOR — site-wide chrome baseline
   Loads on every page after components.css. Export pages also load their own
   verbatim page CSS (which re-declares some of these identically). This file
   guarantees the shared header/footer/typography render everywhere, including
   the new legal pages, and adds the mobile menu + legal prose the export lacked.
   ============================================================ */

* { box-sizing: border-box; }
html, body { margin: 0; }
body { font-family: var(--font-body); color: var(--text-body); background: var(--surface-page); -webkit-font-smoothing: antialiased; }
a { color: inherit; }

.px { max-width: 1200px; margin: 0 auto; padding: 0 28px; }

/* Typography helpers (baseline; page CSS overrides clamps where needed) */
.hp-h1 { font-family: var(--font-headline); text-transform: uppercase; line-height: 1.02; letter-spacing: -0.015em; margin: 0; font-size: clamp(38px, 5vw, 60px); }
.hp-h2 { font-family: var(--font-headline); text-transform: uppercase; font-size: clamp(26px, 3vw, 40px); line-height: 1.08; letter-spacing: -0.01em; margin: 0; color: var(--text-strong); }
.hp-h3 { font-family: var(--font-headline); text-transform: uppercase; font-size: 22px; letter-spacing: -0.01em; margin: 0; color: var(--text-strong); }
.hp-body { font-size: 16px; line-height: 1.6; color: var(--text-muted); margin: 0; }
.hp-eyebrow { font-weight: 700; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--stor-red); margin-bottom: 14px; }
.hp-eyebrow--light { color: var(--stor-yellow); }

/* Commercial header */
.hp-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.93); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border-subtle); }
.hp-header__in { display: flex; align-items: center; height: 66px; }
.hp-logo { height: 28px; display: block; }
.hp-nav { display: flex; align-items: center; gap: 26px; margin-left: 34px; }
.hp-nav a { font-size: 15px; font-weight: 500; color: var(--text-body); text-decoration: none; }
.hp-nav a:hover, .hp-nav a[aria-current="page"] { color: var(--stor-red); }
.hp-header__right { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.hp-lane { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; font-size: 13px; font-weight: 600; color: var(--text-muted); text-decoration: none; border: 1px solid var(--border-default); border-radius: var(--radius-pill); padding: 7px 14px; background: transparent; transition: color .15s, border-color .15s, background .15s; }
.hp-lane:hover { color: var(--stor-red); border-color: var(--stor-red); background: rgba(192,22,22,.05); }
.hp-burger { display: none; background: none; border: 0; cursor: pointer; color: var(--text-strong); padding: 4px; }

/* Commercial footer */
.hp-footer { background: var(--neutral-900); color: rgba(255,255,255,.72); padding: 44px 0 30px; }
.hp-fnav { display: flex; flex-wrap: wrap; gap: 14px 28px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.14); }
.hp-fnav > a { font-size: 14px; text-decoration: none; color: rgba(255,255,255,.72); }
.hp-fnav > a:hover { color: var(--stor-yellow); }
.hp-flane-row { display: flex; justify-content: flex-end; padding: 24px 0; border-top: 1px solid rgba(255,255,255,.14); border-bottom: 1px solid rgba(255,255,255,.14); }
.hp-flane { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; font-size: 13px; font-weight: 600; color: rgba(255,255,255,.85) !important; text-decoration: none; border: 1px solid rgba(255,255,255,.28); border-radius: var(--radius-pill); padding: 8px 15px; transition: color .15s, border-color .15s, background .15s; }
.hp-flane:hover { color: var(--stor-yellow) !important; border-color: var(--stor-yellow); background: rgba(255,255,255,.06); }
.hp-fbar { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; padding-top: 24px; }
.hp-fbar__logo { height: 24px; }
.hp-fbar__tag { font-family: var(--font-headline); text-transform: uppercase; color: #fff; font-size: 13px; }
.hp-fbar__marks { display: flex; gap: 8px; }
.hp-badge { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; color: rgba(255,255,255,.85); background: rgba(255,255,255,.08); border-radius: var(--radius-pill); padding: 8px 14px; }
.hp-copy { color: rgba(255,255,255,.5); font-size: 13px; width: 100%; margin-top: 4px; }

/* Section + hero baselines */
.hp-sec { padding: clamp(52px, 7vw, 92px) 0; }
.hp-sec--tan { background: var(--tan-100); }
.hp-hero { background: var(--stor-red); color: #fff; padding: clamp(52px, 7vw, 92px) 0; overflow: hidden; }
.hp-hero .hp-h1 { color: #fff; }
.hp-hero__sub { font-size: 19px; line-height: 1.6; color: rgba(255,255,255,.92); margin: 22px 0 0; max-width: 50ch; }
.hp-hero--slim { padding: clamp(40px, 5vw, 64px) 0; }

/* Pilot band baseline */
.hp-pilot { background: var(--stor-red); color: #fff; padding: clamp(52px, 7vw, 84px) 0; text-align: center; }
.hp-pilot .hp-h2 { color: #fff; }
.hp-pilot__sub { font-size: 17px; color: rgba(255,255,255,.92); margin: 16px auto 28px; max-width: 54ch; }

/* Consumer header/footer baseline (page CSS refines) */
.cp-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.93); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border-subtle); }
.cp-header__in { display: flex; align-items: center; height: 66px; }
.cp-logo { height: 28px; display: block; }
.cp-nav { display: flex; align-items: center; gap: 26px; margin-left: 34px; }
.cp-nav a { font-size: 15px; font-weight: 500; color: var(--text-body); text-decoration: none; }
.cp-nav a:hover, .cp-nav a[aria-current="page"] { color: var(--stor-red); }
.cp-header__right { margin-left: auto; display: flex; align-items: center; gap: 16px; }
.cp-lane { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; font-size: 13px; font-weight: 600; color: var(--text-muted); text-decoration: none; border: 1px solid var(--border-default); border-radius: var(--radius-pill); padding: 7px 14px; background: transparent; }
.cp-lane:hover { color: var(--stor-red); border-color: var(--stor-red); background: rgba(192,22,22,.05); }
.cp-burger { display: none; background: none; border: 0; cursor: pointer; color: var(--text-strong); padding: 4px; }
.cp-cta-light.stor-btn { background: var(--stor-red); color: #fff; border-color: var(--stor-red); }
.cp-cta-light.stor-btn:hover { background: var(--red-700); border-color: var(--red-700); color: #fff; }
.cp-flegal { display: flex; gap: 16px; }
.cp-flegal a { font-size: 13px; color: rgba(255,255,255,.72); text-decoration: none; }
.cp-flegal a:hover { color: var(--stor-yellow); }

/* NEW: mobile menu panel (export burgers were inert) */
.stor-mobile { display: none; }
@media (max-width: 920px) {
	.hp-nav, .cp-nav { display: none; }
	.hp-burger, .cp-burger { display: block; }
	.stor-mobile { flex-direction: column; gap: 14px; padding: 16px 28px 24px; background: #fff; border-bottom: 1px solid var(--border-subtle); }
	.stor-mobile[hidden] { display: none; }
	.stor-mobile.is-open { display: flex; }
	.stor-mobile__nav { display: flex; flex-direction: column; gap: 12px; }
	.stor-mobile__nav a { font-size: 16px; font-weight: 600; color: var(--text-body); text-decoration: none; }
	.stor-mobile__nav a:hover, .stor-mobile__nav a[aria-current="page"] { color: var(--stor-red); }
	.stor-mobile .hp-lane, .stor-mobile .cp-lane { align-self: flex-start; }
}

/* NEW: legal / prose pages (Privacy, Terms) */
.stor-prose { max-width: 820px; margin: 0 auto; font-size: 16px; line-height: 1.7; color: var(--text-body); }
.stor-prose h2 { font-family: var(--font-headline); text-transform: uppercase; font-size: 24px; letter-spacing: -0.01em; color: var(--text-strong); margin: 40px 0 14px; }
.stor-prose h3 { font-family: var(--font-headline); text-transform: uppercase; font-size: 18px; color: var(--text-strong); margin: 28px 0 10px; }
.stor-prose h4 { font-weight: 700; color: var(--text-strong); margin: 22px 0 8px; }
.stor-prose p, .stor-prose li { color: var(--text-muted); }
.stor-prose ul, .stor-prose ol { padding-left: 22px; margin: 12px 0; }
.stor-prose li { margin: 6px 0; }
.stor-prose a { color: var(--stor-red); text-decoration: underline; }
.stor-prose a:hover { color: var(--red-700); }
.stor-prose hr { border: 0; border-top: 1px solid var(--border-subtle); margin: 32px 0; }
.stor-prose strong { color: var(--text-strong); }
.stor-prose table { width: 100%; border-collapse: collapse; margin: 16px 0; }
.stor-prose th, .stor-prose td { border: 1px solid var(--border-subtle); padding: 10px 12px; text-align: left; font-size: 14px; }
