/* ==================================================================
   Highway 85 Tools: shared header (v1)
     https://tools.highway85.com/shared/v1/hwy85-header.css
   The one source for the tools header (hub spacing + tool CTAs).
   hwy85-tools.css imports this, so tools on the full stylesheet get it
   automatically. A tool with its own styling (e.g. the Budget Planner)
   can link just this file: every rule is scoped to .site-header, so it
   doesn't touch the rest of the page.
   ================================================================== */

@import url("https://fonts.googleapis.com/css2?family=Permanent+Marker&family=Rubik+Distressed&family=Roboto:wght@400;500;700;900&display=swap");

.site-header{
  /* brand book tokens, scoped so they can't clash with a tool's own :root */
  --hdr-red:#D22630;
  --hdr-red-hover:#b81f28;
  --hdr-bg:#1E1E1E;
  --hdr-ink:#FFFFFF;
  --hdr-border:rgba(255,255,255,.10);
  --hdr-border-2:rgba(255,255,255,.18);
  --hdr-ring:rgba(115,192,205,.35);

  background:var(--hdr-bg);
  border-bottom:1px solid var(--hdr-border);
  font-family:'Roboto', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  -webkit-font-smoothing:antialiased;
}
.site-header *{box-sizing:border-box;}
.site-header .wrap{
  max-width:1180px;margin:0 auto;padding:20px 28px;
  display:flex;align-items:center;justify-content:space-between;gap:16px;
}
.site-header .brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:var(--hdr-ink);}
.site-header .brand img{width:46px;height:46px;flex-shrink:0;object-fit:contain;}
.site-header .brand-word{font-family:'Rubik Distressed', 'Permanent Marker', sans-serif;color:var(--hdr-ink);font-size:22px;letter-spacing:.5px;line-height:1;}
.site-header .brand-word span{display:block;color:var(--hdr-red);font-family:'Roboto', system-ui, sans-serif;font-size:13px;font-weight:500;letter-spacing:2px;margin-top:4px;}
.site-header .header-ctas{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end;}

.site-header .btn-primary, .site-header .btn-secondary{
  appearance:none;display:inline-flex;align-items:center;justify-content:center;gap:8px;
  border-radius:10px;padding:11px 16px;font:700 .9rem/1.2 'Roboto', system-ui, sans-serif;
  text-transform:uppercase;letter-spacing:.06em;cursor:pointer;text-decoration:none;
  border:1px solid transparent;box-shadow:none;transition:background .15s,border-color .15s,color .15s;
}
.site-header .btn-primary{background:var(--hdr-red);color:#fff;font-family:'Permanent Marker', cursive;font-weight:400;letter-spacing:.04em;}
.site-header .btn-primary:hover{background:var(--hdr-red-hover);color:#fff;}
.site-header .btn-secondary{background:transparent;color:var(--hdr-ink);border-color:var(--hdr-border-2);}
.site-header .btn-secondary:hover{border-color:var(--hdr-red);color:#fff;}
.site-header .btn-primary:focus-visible, .site-header .btn-secondary:focus-visible{outline:none;box-shadow:0 0 0 4px var(--hdr-ring);}

@media (max-width:720px){
  .site-header .wrap{padding:14px 16px;}
  .site-header .brand img{width:38px;height:38px;}
  .site-header .brand-word{font-size:18px;}
  .site-header .brand-word span{font-size:11px;letter-spacing:1.5px;}
  .site-header .header-ctas .btn-secondary{display:none;}
  .site-header .header-ctas .btn-primary{padding:9px 12px;font-size:.8rem;}
}

@media print{
  .site-header{background:#fff;border-bottom:2px solid var(--hdr-red);}
  .site-header .header-ctas{display:none !important;}
  .site-header .brand-word{color:#111;}
}
