/* HQ-60: theme continuity for the subpages (Capture subpages, app support/privacy/terms, /privacy, /terms, /refunds,
   /contact). Loaded after legal.css or the Capture stylesheets; the 404 page has its own copy of these rules in
   notfound.css. Everything here is a same-origin file, so the strict Capture CSPs (style-src 'self', img-src 'self',
   script-src 'none' on some) are untouched: no inline styles, no data: URIs, no script.
   1. Ground: the same black field as the app pages with a STATIC topo map behind everything. The tile is pre-rendered
      by scripts/build-topo-static.mjs with the motion.js recipe and line weights; no canvas, no script, no animation.
   2. Hero: the product's approved app icon (or the Switchback Labs mark on company pages), placed as-is beside the
      eyebrow. The h1 keeps the full column width, so the one-line h1s stay on one line.
   3. Header and footer: the app pages' lockup, link size and footer (an Apps row above the copyright row). */

/* ---------- 1. static topo ground ---------- */
html{background:#000}
body{position:relative;isolation:isolate;min-height:100vh}
body::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;
  background:url(/assets/motion/img/topo-static.svg) 50% 0/1440px 1440px repeat;
  /* clear under the header, full strength through the hero, fading out before the footer (like the app pages' ground) */
  -webkit-mask-image:linear-gradient(180deg,transparent 0,rgba(0,0,0,.35) 110px,#000 300px,#000 calc(100% - 900px),transparent calc(100% - 420px));
  mask-image:linear-gradient(180deg,transparent 0,rgba(0,0,0,.35) 110px,#000 300px,#000 calc(100% - 900px),transparent calc(100% - 420px))}

/* ---------- 2. hero: icon beside the eyebrow ---------- */
.hero-id{display:flex;align-items:center;gap:18px}
.hero-icon{display:block;flex:none;width:96px;height:96px}
.hero-id .eyebrow{margin:0}

/* ---------- 3a. header: same lockup, height and link size as the app pages ---------- */
body>header{background:transparent;border-bottom:0}
body>header .brand{display:block;line-height:0}
body>header .brand img{display:block;width:auto;height:54px}
.nav{height:108px}
.navlinks a{font-size:15px}
/* Capture keeps its two-row header: lockup + product label, then the Capture sub-nav */
.brandbar{min-height:96px;padding:0}
body>header nav[aria-label="Switchback Capture"]{gap:8px 28px;padding:12px 0 14px}
body>header nav[aria-label="Switchback Capture"] a{font-size:15px}

/* ---------- 3b. footer: Apps row + copyright row, as on the app pages ---------- */
/* solid black like the app pages' footer, which sits below the topo ground */
body>footer,body>footer.footer{background:#000;border-top:1px solid var(--line);padding:30px 0 34px;color:#9A9A9A;font-size:12px}
body>footer nav.footer-apps{display:flex;flex-wrap:wrap;align-items:center;gap:7px 16px;padding:0;border:0;margin-inline:auto}
body>footer nav.footer-apps span{width:100%;color:#fff;font-size:11px;font-weight:800;letter-spacing:.16em;text-transform:uppercase;margin-bottom:3px}
body>footer nav.footer-apps a{color:var(--grey);font-size:12px;padding:0;min-height:32px;display:inline-flex;align-items:center;text-decoration:none;border:0}
body>footer nav.footer-apps a:hover{color:var(--orange);text-decoration:none}
/* legal pages: .foot  ·  Capture pages: .footer-inner + .copyright */
body>footer .foot,body>footer .footer-apps+.shell{border-top:1px solid #161616;margin-top:12px;padding-top:20px}
body>footer .foot{font-size:12px;align-items:center}
body>footer .footlinks a,body>footer .footer-links a{min-height:32px;display:inline-flex;align-items:center;text-decoration:none}
body>footer .footlinks a:hover,body>footer .footer-links a:hover{color:var(--orange);text-decoration:none}
body>footer .footer-inner{align-items:center}
body>footer .copyright{margin-top:10px}

@media (max-width:760px){
  body::before{background-size:1100px 1100px}
  .hero-icon{width:72px;height:72px}
  .hero-id{gap:14px}
  .nav{height:88px}
  body>header .brand img{height:40px}
  .brandbar{min-height:80px}
}
@media (max-width:360px){body>header .brand img{height:32px}} /* HQ-29: room for the nav on 320 px phones */
