/* 5 Star Background Checks · grid and spacing system (loaded last on every page) */
  /* ── Grid and spacing system (same block on every page) ──
     Layout grid: 1200px container, 12 columns with 64px gutters. Two-, three- and four-column layouts
     all sit on it, so text starts 0, 316, 421, 632, 843 or 948px from the container edge.
     Boxed surfaces (tables, cards, joined cells) put their dividing lines in the middle of a gutter
     and inset their text 32px, which lands that text on the same lines.
     Spacing scale: 8 · 16 · 24 · 32 · 48 · 64 · 96. Bands 96, heading block to content 48,
     module to module 48, a heading to its own table or list 24, surface inset 32. */
  :root{--t3:calc((100% - 128px) / 3);--t4:calc((100% - 192px) / 4);--surface-col:calc((100% - 60px) / 3 - 34px)}

  /* Vertical rhythm */
  .band{padding:64px 0}
  .hero{padding:64px 0}
  .hero:has(.crumbs){padding-top:32px}
  .crumbs{margin-bottom:48px}
  .trusted{padding-top:48px}
  .highlights{margin:48px 0;padding:0}
  .highlight strong{font-size:17px}
  .footer{padding-top:64px;padding-bottom:32px}
  .footer-bottom{margin-top:48px;padding-top:24px}
  .base,.cats,.steps,.plans,.inds,.svcs,.why,.why-grid,.roles,.toc,.topics,.faq-cols,.quote--lead,.quotes,.custom,div.ind,.head + .table-scroll{margin-top:48px}
  .assurances,.ind-jump,.assure{margin-top:32px}
  div.ind > .table-scroll,.pt-pair,.before,.hc-tile,.plans-more,.pt-note,.band-link{margin-top:24px}
  .why-row,.topic{padding:48px 0}
  .hero-text,.cta-text,.bulk-left,.support-col,.ind-intro,.why-left,.why-right{gap:24px}
  .head-title,.custom-main{gap:16px}
  @media (min-width:640px){.band{padding:80px 0}}
  @media (min-width:1100px){.band{padding:96px 0}.hero{padding:96px 0}.hero:has(.crumbs){padding-top:32px}.footer{padding-top:96px}}

  /* Surface insets */
  .plan,.svc,a.ind,.sub,.custom,.why-grid .quote{padding:32px}
  .base,.before{padding:24px 32px}
  .hc-tile{padding:24px 33px}
  .toc a{padding:24px}
  .def{padding:24px 32px}
  .faq summary{padding:20px 32px}
  .faq-a{padding:0 32px 32px}
  .sheet-top{padding:24px 32px}
  .sheet-head{padding:16px 32px}
  .sheet-row{padding:16px 32px}
  .sheet-list li,.row,.report-order,.report-foot{padding:12px 32px}
  .sheet-cta{padding:12px 32px}
  .sheet-foot{padding:0 32px}
  .report-head{padding:24px 32px 16px}
  .inbox{padding:16px 32px}
  .table-scroll{position:relative}

  /* Tables: dividing lines fall mid-gutter, text 32px in */
  .pl{min-width:960px}
  .pl col.c1,.pl thead th:nth-child(1){width:32.444%}
  .pl col.c2,.pl thead th:nth-child(2){width:35.112%}
  .pl col.c3,.pl thead th:nth-child(3){width:11%}
  .pl col.c4,.pl thead th:nth-child(4){width:10%}
  .pl col.c5,.pl thead th:nth-child(5){width:11.444%}
  .pl thead th{padding:12px 16px 12px 32px}
  .pl tbody th,.pl tbody td{padding:24px 16px 24px 32px}
  .pl thead th:nth-child(n+4),.pl tbody td:nth-child(n+4){padding-left:16px}
  .pl thead th:last-child,.pl tbody td:last-child{padding-right:24px}
  .pl-price{font-size:22px}
  .pl .btn{padding:0 12px;gap:6px}
  .cmp col.c-label,.cmp thead th:first-child{width:23.667%}
  .cmp thead th:nth-child(2),.cmp thead th:nth-child(3){width:26.333%}
  .cmp thead th{padding:32px}
  .cmp .plan{padding:0}
  .cmp .plan-name{min-height:56px;align-content:flex-start}
  .cmp .plan-speed{min-height:44px}
  .cmp thead th:first-child{padding-left:0}
  .cmp tbody th{padding:16px 24px 16px 0}
  .cmp tbody td{padding:16px 32px}
  .pt thead th,.pt tbody th,.pt td{padding:12px 32px}

  @media (max-width:639.98px){
    .plan,.svc,a.ind,.sub,.custom,.why-grid .quote,.base,.before,.hc-tile,.def{padding:24px}
    .faq summary{padding:20px 24px}
    .faq-a{padding:0 24px 24px}
    .sheet-top,.sheet-head,.sheet-row,.sheet-list li,.row,.report-order,.report-foot,.sheet-cta,.report-head,.inbox{padding-left:24px;padding-right:24px}
    .sheet-foot{padding:0 24px}
    .pt thead th,.pt tbody th,.pt td{padding:12px 16px}
  }

  @media (min-width:1100px){
    /* Halves */
    .head,.hero-grid,.ind-grid,.why-row,.cta-grid,.bulk-grid,.faq-cols,.pt-pair,.roles{grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:64px}
    .feats,.cats,.logo-grid,.steps,.quotes,.highlights{column-gap:64px}
    .hero h1{font-size:clamp(36px,4.2vw,60px)}
    .cta h2{font-size:clamp(36px,3.9vw,56px)}
    .sheet,.report{max-width:none;width:calc(100% - 10px);margin:0}
    /* Thirds */
    .topic{grid-template-columns:var(--t3) minmax(0,1fr);column-gap:64px}
    .topic-body{max-width:none}
    .why-grid{grid-template-columns:minmax(0,1fr) var(--t3);column-gap:64px}
    .plans,.svcs,.inds{grid-template-columns:calc(var(--t3) + 32px) calc(var(--t3) + 64px) minmax(0,1fr)}
    .why:has(> li){grid-template-columns:repeat(3,minmax(0,1fr));column-gap:64px}
    .base,.custom{grid-template-columns:var(--surface-col) minmax(0,1fr);column-gap:64px}
    .hc-tile,.custom:has(.custom-stat){grid-template-columns:var(--surface-col) minmax(0,1fr) auto;column-gap:64px}
    /* Quarters */
    .highlights{grid-template-columns:repeat(4,minmax(0,1fr))}
    .trusted{grid-template-columns:var(--t4) minmax(0,1fr);column-gap:64px}
    .footer-top{grid-template-columns:repeat(4,minmax(0,1fr));gap:48px 64px}
    .footer-cols{display:contents}
    .footer-brand{grid-column:1;grid-row:1 / span 2}
    .footer-col:nth-child(1){grid-column:2;grid-row:1 / span 2}
    .footer-col:nth-child(2){grid-column:3;grid-row:1 / span 2}
    .footer-col:nth-child(3){grid-column:4;grid-row:1}
    .footer-col:nth-child(4){grid-column:4;grid-row:2}
    /* Ruled columns: the rule sits in the middle of the gutter */
    .step,.why > li,.quotes .quote,.highlight,.role{position:relative}
    .step,.why > li,.quotes .quote{padding:32px 0 0}
    .highlight{padding:24px 0 0}
    .role,.role:nth-child(even){padding:32px 0}
    .step + .step,.why > li + li,.quotes .quote + .quote,.highlight + .highlight,.role:nth-child(even){padding-left:0;border-left:0}
    .step + .step::before,.why > li + li::before,.quotes .quote + .quote::before,.highlight + .highlight::before,.role:nth-child(even)::before{content:"";position:absolute;left:-32px;top:0;bottom:0;width:1px;background:currentColor;opacity:0.18}
    .role:nth-child(even)::before{top:32px;bottom:32px}
  }
  /* ── end grid and spacing system ── */

  /* Site behaviour */
  .mobile-menu[hidden]{display:none}
  .faq--solo{margin-top:48px}
  /* Fixed image heights so the page does not shift as images load */
  .badges img,.footer-badges img{height:56px;width:auto;max-height:none;max-width:none}
  @media (prefers-reduced-motion:reduce){
    html{scroll-behavior:auto}
    *,*::before,*::after{transition-duration:0s !important}
  }
  .faq-a p + p{margin-top:16px}
  @media (max-width:359.98px){.btn{padding:0 16px;gap:8px}}
