/* Belmar — shared shell for the secondary pages (levels, faq, privacy, terms).
   The frozen header, footer, buttons, eyebrow and three-width rules are the same values
   index.html carries inline (the baked home page keeps its own copy). Edit both together. */
html,body{height:100%;margin:0}
/* ---- frozen header ---- */
header{position:fixed;top:0;left:0;right:0;z-index:80;background:var(--bg-page);border-bottom:1px solid var(--border-hair)}
.hdr-row{height:92px;transition:height .18s ease}
html.hdr-shrunk .hdr-row{height:64px}
.hdr-crest{transition:transform .18s ease}
html.hdr-shrunk .hdr-crest{transform:translate(-50%,-50%) scale(.82)!important}
main{padding-top:93px}
html{scroll-padding-top:112px}
@media (max-width:1260px){.hdr-nav{gap:22px!important}.hdr-nav a{font-size:15px!important}}
@media (max-width:1100px){
  .hdr-crest{position:static!important;transform:none!important;order:-1}
  html.hdr-shrunk .hdr-crest{transform:scale(.9)!important;transform-origin:left center}
}
/* mid (600–1000): one header row — wordmark, nav, CTA — with the nav gap compressed */
@media (max-width:1000px) and (min-width:600px){
  header>div{padding:0 20px!important}
  .hdr-nav{gap:8px!important;margin:0 12px}
  .hdr-nav a{font-size:11.5px!important}
  .hdr-crest{transform:scale(.78)!important;transform-origin:left center;margin-right:-26px}
  html.hdr-shrunk .hdr-crest{transform:scale(.72)!important}
  .hdr-cta .btn{white-space:nowrap;padding:11px 12px!important;font-size:14px!important}
}
/* 9/16 (Kat): 22px gaps + 15px links wherever one row holds them with the wordmark and button
   unchanged — from 721px up (Kat 9/16: the 5px gutter at 721 is fine). Below that the row is main's. */
@media (max-width:1000px) and (min-width:721px){
  .hdr-nav{gap:22px!important}
  .hdr-nav a{font-size:15px!important}
}
/* phone (<600): two rows; the header never changes size on scroll */
@media (max-width:599px){
  header>div{padding:0 20px!important}
  .hdr-row{height:auto;flex-wrap:wrap;padding:9px 0 4px;transition:none}
  html.hdr-shrunk .hdr-row{height:auto}
  .hdr-crest{order:1;transform:none!important;margin:0;transition:none}
  html.hdr-shrunk .hdr-crest{transform:none!important}
  .hdr-cta{order:2}
  .hdr-nav{order:3;width:100%;justify-content:space-between;gap:10px!important;margin-top:4px}
  .hdr-nav a{font-size:12.5px!important}
  main{padding-top:121px}
  html{scroll-padding-top:133px}
}
/* wordmark (CLAUDE.md step 7, decided 9/14): phone = 600 · opsz 10 · no stroke; from 600px up
   the hairlines get help — opsz 8 + a 0.25px navy stroke. Same "Belmar" span on every page. */
@media (min-width:600px){
  .hdr-crest .wm{font-variation-settings:"opsz" 8,"wght" 600!important;-webkit-text-stroke:0.25px var(--marine-600)}
}
html{scroll-behavior:smooth}a{color:var(--accent-primary)}a:hover{color:var(--accent-hover)}
/* ---- eyebrow, buttons, display helper ---- */
.mp-eyebrow{display:inline-flex;align-items:center;gap:10px;font-family:var(--font-sans);font-weight:700;font-size:.72rem;letter-spacing:.28em;text-transform:uppercase;color:var(--terra-600)}
.mp-eyebrow::before{content:'';width:7px;height:7px;border-radius:50%;background:currentColor;flex:none}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;font-family:var(--font-sans);font-weight:600;line-height:1;border-radius:var(--radius-md);cursor:pointer;text-decoration:none;transition:background var(--dur-fast) var(--ease-out),transform var(--dur-fast) var(--ease-out),box-shadow var(--dur-fast) var(--ease-out)}
.btn-primary{background:var(--accent-primary);color:var(--text-on-accent);border:1px solid transparent;box-shadow:var(--shadow-sm)}
.btn-primary:hover{background:var(--accent-hover)!important;color:var(--text-on-accent)}
.btn-secondary{background:transparent;color:var(--accent-primary);border:1px solid var(--accent-primary)}
.btn-secondary:hover{background:rgba(18,62,84,.06)}
.btn:active{box-shadow:var(--shadow-press)!important;transform:translateY(1px)}
.display{font-family:var(--font-display);font-optical-sizing:none;font-variation-settings:var(--fvs-display);font-weight:500;color:var(--text-strong)}
/* ---- page column ---- */
.wrap{max-width:1216px;margin:0 auto;padding:0 48px}
.col{max-width:760px}
/* ---- footer ---- */
/* 9/15 beta (item 10): crest centred at every width — one centred column, text + links beneath */
.footer-row{display:flex;flex-direction:column;align-items:center;text-align:center;max-width:1216px;margin:0 auto;padding:64px 48px;gap:28px}
.footer-mid{text-align:center}
.footer-line{font-size:14px;color:rgba(247,238,224,.75)}
.footer-links{display:flex;flex-wrap:wrap;justify-content:center;gap:0 24px;margin-top:10px}
.footer-links a{display:inline-flex;align-items:center;min-height:36px;font-size:13px;color:rgba(247,238,224,.7);text-decoration:none;white-space:nowrap}
.footer-links a svg{width:16px;height:16px;margin-right:7px;flex:none}
.footer-links a:hover{color:rgb(247,238,224)}
/* ---- phone (390 is the judged width) ---- */
@media (max-width:720px){
  .wrap{padding-left:20px;padding-right:20px}
  .hdr-nav a{display:inline-flex;align-items:center;min-height:44px;font-size:13px!important;padding:0 8px;margin:0 -8px}
  .hdr-cta .btn{min-height:44px}
  .footer-row{display:flex;flex-direction:column;text-align:center;gap:24px;padding:48px 20px}
  .footer-links{flex-direction:column;gap:0;margin-top:4px}
  .footer-links a{min-height:44px;justify-content:center;white-space:normal}
}
