/* Shared styles for every page. Page-specific styles are inlined per page by build.py. */
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; -webkit-font-smoothing: antialiased; }
[hidden] { display: none !important; }
img, video { max-width: 100%; }

/* Reporting demo feature buttons */
.feat { width: 100%; display: flex; gap: 16px; align-items: flex-start; text-align: left; cursor: pointer; font-family: Inter, sans-serif; color: #162637; border-radius: 18px; padding: 20px 22px; background: rgba(255,255,255,.5); border: 2px solid transparent; transition: background .3s, border-color .3s, box-shadow .3s; }
.feat[aria-pressed="true"] { background: #FFFFFF; border-color: #F29E1C; box-shadow: 0 22px 44px -30px rgba(22,38,55,.55); }
.feat-ico { flex-shrink: 0; width: 46px; height: 46px; border-radius: 13px; display: flex; align-items: center; justify-content: center; font-size: 21px; background: #FFFFFF; border: 1px solid #E3E8EF; transition: background .3s; }
.feat[aria-pressed="true"] .feat-ico { background: #162637; border-color: #162637; }
[data-panel] { animation: none; }
[data-panel].show .msg { animation: msgIn .5s cubic-bezier(.2,.7,.2,1) both; }

/* Before / after tabs */
.ba-tab { border: 0; cursor: pointer; font-family: Inter, sans-serif; font-size: 13px; font-weight: 700; padding: 9px 12px; border-radius: 9px; background: transparent; color: #4A5868; }
.ba-tab[aria-pressed="true"] { background: #162637; color: #FFFFFF; }

/* Pricing factor explorer */
.factor { display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; cursor: pointer; padding: 16px 18px; border-radius: 14px; font-family: Inter, sans-serif; color: #162637; background: #FFFFFF; border: 2px solid #E3E8EF; transition: border-color .2s, box-shadow .2s; }
.factor[aria-pressed="true"] { border-color: #F29E1C; box-shadow: 0 14px 30px -20px rgba(22,38,55,.5); }
.factor-num { flex-shrink: 0; width: 34px; height: 34px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 13px; background: #162637; color: #F29E1C; }
.factor[aria-pressed="true"] .factor-num { background: #F29E1C; color: #162637; }

/* Forms */
input[aria-invalid="true"] { border: 2px solid #B4232F !important; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-error { font-size: 14px; font-weight: 600; color: #B4232F; }
.consent { font-size: 12px; line-height: 1.5; color: #5B6878; margin: 0; }

/* FAQ (native details/summary) */
details summary { list-style: none; }
details summary::-webkit-details-marker { display: none; }
details .plus { transition: transform .25s; }
details[open] .plus { transform: rotate(45deg); }

/* Checklist lock */
html:not(.cl-unlocked) .lock-item { display: none !important; }
html.cl-unlocked .lock-note { display: none !important; }

/* Mobile menu */
.mnav-btn { display: none; width: 44px; height: 44px; border-radius: 10px; border: 1px solid rgba(255,255,255,.3); background: transparent; color: #FFFFFF; align-items: center; justify-content: center; cursor: pointer; }

/* Sticky mobile CTA */
.m-cta { display: none; }

/* Cookie / privacy notice */
.privacy-bar { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; max-width: 560px; margin: 0 auto; background: #0F1C29; color: rgba(255,255,255,.85); border: 1px solid rgba(255,255,255,.15); border-radius: 16px; padding: 16px 18px; display: flex; gap: 14px; align-items: center; justify-content: space-between; flex-wrap: wrap; font: 14px/1.5 Inter, system-ui, sans-serif; box-shadow: 0 20px 50px -20px rgba(0,0,0,.6); }
.privacy-bar a { color: #FFC56B; }
.privacy-bar button { font: 700 14px Inter, sans-serif; border-radius: 10px; padding: 10px 14px; cursor: pointer; border: 0; }
.privacy-bar .ok { background: #F29E1C; color: #162637; }
.privacy-bar .no { background: transparent; color: #FFFFFF; border: 1px solid rgba(255,255,255,.3); }

@media (max-width: 1020px) {
  .mnav-btn { display: inline-flex; }
  .site-nav { display: none !important; position: absolute; top: 100%; left: 0; right: 0; z-index: 50; background: #162637; flex-direction: column !important; gap: 0 !important; padding: 8px 24px 20px; border-bottom: 1px solid rgba(255,255,255,.12); }
  .site-nav.open { display: flex !important; }
  .site-nav a { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
  .hdr-phone { display: none; }
}

@media (max-width: 760px) {
  h1 { font-size: 38px !important; line-height: 1.08 !important; }
  h2 { font-size: 30px !important; line-height: 1.12 !important; }
  section > div, header > div, footer > div { padding-left: 20px !important; padding-right: 20px !important; }
  section > div { padding-top: 64px !important; padding-bottom: 64px !important; }
  #top { padding-top: 40px !important; padding-bottom: 56px !important; }
  .hdr-cta, header a.btn-primary, header a[href^="tel:"] { display: none !important; }
  [style*="grid-column: span 2"] { grid-column: auto !important; height: 400px !important; }
  #report-demo { height: auto !important; min-height: 660px; }
  .phone { transform: scale(.9); transform-origin: top center; }
  [style*="font-size: 64px"] { font-size: 46px !important; }
  .m-cta { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(246,247,249,.97); border-top: 1px solid #E3E8EF; backdrop-filter: blur(8px); }
  .m-cta a { flex: 1; height: 50px; border-radius: 12px; display: flex; align-items: center; justify-content: center; gap: 8px; font: 700 15px Inter, sans-serif; text-decoration: none; }
  .m-cta .call { border: 1px solid #162637; color: #162637; }
  .m-cta .quote { flex: 2; background: #F29E1C; color: #162637; }
  body { padding-bottom: 74px; }
  .privacy-bar { bottom: 84px; }
}

@media print {
  .m-cta, .privacy-bar, header, .noprint { display: none !important; }
}
