/* sc-consistency-v1.css: sitewide consistency pass (alignment, grids, buttons).
   Loaded LAST on every marketing page (after sc-qa-v5.css / sc-network.css).
   Rules of the system, one per component:
     1. Section headers (eyebrow, h2, lead) sit on the content column's left edge, stacked above their content.
        No section splits its heading into a left column any more.
     2. Closing CTA bands (.cta-sec) are centered: eyebrow, heading, lead, buttons and fine print on one axis.
     3. A grid never leaves an empty column and never strands one card alone on its last row.
     4. One button scale: 44px tall, 15px/600, 6px radius, 1px border, 24px side padding (20px inside cards).
   Specificity: earlier sheets use !important on class selectors, so the overrides that need it carry
   :is(#sc-k,*) (adds one id of specificity, matches every element) plus !important. */

@media (min-width:1000px){
  html body .sec > .wrap:is(#sc-k,*):has(> .content-block.cb-flush):not(:has(.cb-wide, .pr-wrap, .pr-grid, .g2, .g3, .g4, table, .prod-grid, .plan-grid)):not(:has(> .br-toc)),
  html body .sec > .wrap:is(#sc-k,*):is(:has(> .h2:first-child + .content-block:not(.cb-wide):last-child),:has(> .eyebrow:first-child + .h2 + .content-block:not(.cb-wide):last-child)),
  html body .sec > .wrap:is(#sc-k,*):has(> div:first-child > .h2):has(> div:nth-child(2) > .faq-item):not(:has(> :nth-child(4))),
  html body .scp-sec > .scp-wrap:is(#sc-k,*):has(> .sec-head:first-child + .scp-faq):not(:has(> :nth-child(4))){
    display:flow-root!important;
  }
  html body .sec > .wrap:is(#sc-k,*):has(> .content-block.cb-flush):not(:has(.cb-wide, .pr-wrap, .pr-grid, .g2, .g3, .g4, table, .prod-grid, .plan-grid)):not(:has(> .br-toc)) > *,
  html body .sec > .wrap:is(#sc-k,*):is(:has(> .h2:first-child + .content-block:not(.cb-wide):last-child),:has(> .eyebrow:first-child + .h2 + .content-block:not(.cb-wide):last-child)) > *,
  html body .sec > .wrap:is(#sc-k,*):has(> div:first-child > .h2):has(> div:nth-child(2) > .faq-item):not(:has(> :nth-child(4))) > *,
  html body .scp-sec > .scp-wrap:is(#sc-k,*):has(> .sec-head:first-child + .scp-faq):not(:has(> :nth-child(4))) > *{
    float:none!important;clear:none!important;grid-column:auto!important;grid-row:auto!important;
    position:static!important;width:auto!important;margin-left:0!important;margin-right:0!important;padding-right:0!important;
    text-align:left!important;
  }
  html body .sec > .wrap:is(#sc-k,*) > .h2:is(:first-child,.eyebrow + .h2),
  html body .sec > .wrap:is(#sc-k,*) > div:first-child:has(+ div > .faq-item) .h2,
  html body .scp-sec > .scp-wrap:is(#sc-k,*) > .sec-head:first-child:has(+ .scp-faq) h2{
    font-size:clamp(28px,3.2vw,42px)!important;line-height:1.1!important;max-width:none!important;
  }
  html body .sec > .wrap:is(#sc-k,*) > .h2:first-child{margin-top:0!important;margin-bottom:18px!important}
  html body .sec > .wrap:is(#sc-k,*) > .eyebrow:first-child + .h2{margin-top:14px!important;margin-bottom:18px!important}
  html body .sec > .wrap:is(#sc-k,*) > .eyebrow:first-child:has(+ .h2){display:block!important;margin:0!important;justify-self:auto!important}
  html body .sec > .wrap:is(#sc-k,*) > .h2 + .content-block:not(.cb-wide):last-child,
  html body .sec > .wrap:is(#sc-k,*):has(> .content-block.cb-flush):not(:has(> .br-toc)) > .content-block.cb-flush:not(.cb-wide){
    max-width:var(--n408-read,760px)!important;margin-top:8px!important;
  }
  html body .sec > .wrap:is(#sc-k,*) > div:first-child:has(+ div > .faq-item){max-width:none!important;margin:0 0 24px!important}
  html body .sec > .wrap:is(#sc-k,*) > div:first-child + div:has(> .faq-item){max-width:var(--n408-read,760px)!important}
  html body .scp-sec > .scp-wrap:is(#sc-k,*) > .sec-head:first-child:has(+ .scp-faq){max-width:none!important;margin:0 0 32px!important}
  html body .scp-sec > .scp-wrap:is(#sc-k,*) > .sec-head:first-child + .scp-faq{max-width:var(--n408-read,760px)!important}
  html body .sec > .wrap:is(#sc-k,*):has(> .content-block.cb-flush):not(:has(.cb-wide, .pr-wrap, .pr-grid, .g2, .g3, .g4, table, .prod-grid, .plan-grid)):not(:has(> .br-toc)) > :not(.eyebrow):not(.h2):not(h2){max-width:var(--n408-read,760px)!important}
}
html body .cta-sec:is(#sc-k,*){text-align:center!important}
html body .cta-sec:is(#sc-k,*) .cta-inner{margin-left:auto!important;margin-right:auto!important;text-align:center!important}
html body .cta-sec:is(#sc-k,*) .cta-inner > *{margin-left:auto!important;margin-right:auto!important;text-align:center!important}
html body .cta-sec:is(#sc-k,*) .cta-inner > .eyebrow{display:block!important;width:auto!important}
html body .cta-sec:is(#sc-k,*) .cta-inner > .h2{max-width:22ch}
html body .cta-sec:is(#sc-k,*) .cta-inner > .lead{max-width:560px!important}
html body .cta-sec:is(#sc-k,*) .h-actions{justify-content:center!important}
html body .cta-sec:is(#sc-k,*) > .container{text-align:center!important;margin-left:auto!important;margin-right:auto!important}
html body .cta-sec:is(#sc-k,*) > .container > *{margin-left:auto!important;margin-right:auto!important;text-align:center!important}
html body .cta-sec:is(#sc-k,*) > .container > .btn{display:inline-flex!important;width:auto!important}
html body .sec:not(.sc-cta-wrap) .wrap:is(#sc-k,*) .eyebrow{justify-content:flex-start}
html body .sec:not(.sc-cta-wrap) .wrap:is(#sc-k,*) > div:first-child:has(> .eyebrow + .h2){text-align:left!important}
html body .hero-inner:is(#sc-k,*):not(:has(> :nth-child(2))){grid-template-columns:minmax(0,1fr)!important}
html body .hero-inner:is(#sc-k,*):not(:has(> :nth-child(2))) > :only-child{max-width:760px}
@media (min-width:981px){
  html body .pr-grid.pr-n5:is(#sc-k,*) > .pr-card:nth-child(n+4){grid-column:span 3!important}
}
@media (max-width:980px){
  html body .pr-grid:is(#sc-k,*) > .pr-card:last-child:nth-child(odd){grid-column:1 / -1!important}
}
html body .ao-grid:is(#sc-k,*){align-items:stretch!important}
html body .ao-grid:is(#sc-k,*) > *{height:auto!important}
html body .hc-grid:is(#sc-k,*) > :last-child:nth-child(odd):not(:first-child){grid-column:1 / -1}
@media (min-width:900px){
  html body:has(a.feat[href="/legal/terms/"]) .g2:is(#sc-k,*):has(> :last-child:nth-child(3n+1)){grid-template-columns:repeat(6,minmax(0,1fr))!important}
  html body:has(a.feat[href="/legal/terms/"]) .g2:is(#sc-k,*):has(> :last-child:nth-child(3n+1)) > *{grid-column:span 2}
  html body:has(a.feat[href="/legal/terms/"]) .g2:is(#sc-k,*):has(> :last-child:nth-child(3n+1)) > :nth-last-child(-n+4){grid-column:span 3}
}
@media (min-width:981px){
  html body .nr-grid:is(#sc-k,*):has(> .nr-card:nth-child(4)){grid-template-columns:repeat(6,minmax(0,1fr))!important}
  html body .nr-grid:is(#sc-k,*):has(> .nr-card:nth-child(4)) > *{grid-column:span 2}
  html body .nr-grid:is(#sc-k,*):has(> :last-child:nth-child(3n+1)):has(> .nr-card:nth-child(4)) > :nth-last-child(-n+4){grid-column:span 3}
  html body .nr-grid:is(#sc-k,*):has(> :last-child:nth-child(3n+2)):has(> .nr-card:nth-child(4)) > :nth-last-child(-n+2){grid-column:span 3}
}
@media (min-width:641px) and (max-width:980px){
  html body .nr-grid:is(#sc-k,*):has(> :last-child:nth-child(odd)):has(> .nr-card:nth-child(3)){grid-template-columns:repeat(6,minmax(0,1fr))!important}
  html body .nr-grid:is(#sc-k,*):has(> :last-child:nth-child(odd)):has(> .nr-card:nth-child(3)) > *{grid-column:span 3}
  html body .nr-grid:is(#sc-k,*):has(> :last-child:nth-child(odd)):has(> .nr-card:nth-child(3)) > :nth-last-child(-n+3){grid-column:span 2}
}
html body .nr-grid:is(#sc-k,*) > .nr-empty{grid-column:1 / -1}
html body :is(dl.key-card-meta,.canary-status-card > dl):is(#sc-k,*) > :last-child:nth-child(odd):not(:first-child){grid-column:1 / -1}
html body #per-tb.ptb:is(#sc-k,*){align-items:stretch!important}
html body a.btn:is(#sc-k,*):not(.btn-full),html body button.btn:is(#sc-k,*):not(.btn-full),
html body a:is(.btn-hero-primary,.btn-hero-ghost):is(#sc-k,*){padding-left:24px!important;padding-right:24px!important;font-size:15px!important}
html body .pr-card a.btn:is(#sc-k,*),html body .sc-deal a.btn:is(#sc-k,*){padding-left:20px!important;padding-right:20px!important}
html body .btn.btn-dark:is(#sc-k,*){border:1px solid transparent!important}
