/* Round 94: Firestopping Red elite card, cookie banner/modal, legal typography, hide unfinished languages */

/* Firestopping Elite pricing tile — zero purple */
.t-plans.is-fire .t-plan-elite,
.t-plans.is-fire .t-plan.t-plan-elite{
  background:
    radial-gradient(80% 70% at 100% 0%,rgba(185,28,28,.42),transparent 60%),
    linear-gradient(150deg,#991b1b 0%,#5c1010 55%,#450a0a 100%) !important;
  border:1px solid rgba(255,255,255,.16) !important;
  box-shadow:0 20px 40px -18px rgba(69,10,10,.55);
  color:#fff;
}
.t-plans.is-fire .t-plan-elite .t-elite-btn,
.t-plans.is-fire .t-plan-elite .t-elite-btn:visited{
  background:#fff !important;
  color:#7f1d1d !important;
  border-color:#fff !important;
}

/* Hide unfinished language options until translations are ready */
.t-globe-pop button[disabled],
.t-lang-opt[disabled],
.t-lang-opt[aria-disabled="true"]{
  display:none !important;
}

/* Features: Firestopping card is a live module, not a "soon" tile */
.cx-feat-card.is-fire{
  border-color:#fecaca;
}
.cx-feat-card.is-fire .cx-eyebrow{
  color:#991b1b;
}

/* Legal long-form pages */
.cx-legal{
  max-width:46rem;
  padding:0 0 3rem;
}
.cx-legal h2{
  margin:2rem 0 .7rem;
  font-size:1.2rem;
  color:#0f172a;
}
.cx-legal h3{
  margin:1.4rem 0 .45rem;
  font-size:1.02rem;
  color:#0f172a;
}
.cx-legal p,
.cx-legal li{
  color:#334155;
  line-height:1.65;
}
.cx-legal p{margin:0 0 .85rem}
.cx-legal ul,
.cx-legal ol{margin:.2rem 0 1rem 1.2rem}
.cx-legal a{color:#6b1111;text-decoration:underline}
.cx-legal .cx-legal-updated{color:#475569;margin-bottom:1.2rem}
.cx-subproc-table{
  width:100%;
  border-collapse:collapse;
  margin:1rem 0 1.5rem;
  font-size:.95rem;
}
.cx-subproc-table th,
.cx-subproc-table td{
  border:1px solid #cbd5e1;
  padding:.7rem .8rem;
  text-align:left;
  vertical-align:top;
  color:#0f172a;
}
.cx-subproc-table th{
  background:#f8fafc;
  font-weight:700;
}
.cx-billing-terms{
  max-width:46rem;
  margin:0 auto 2rem;
}
.cx-billing-terms h2{
  font-size:1.35rem;
  color:#0f172a;
  margin:0 0 .8rem;
}
.cx-billing-terms p{
  color:#334155;
  line-height:1.65;
  margin:0 0 .85rem;
}
.cx-dp-note{
  margin:.8rem 0 0;
  color:#475569;
  font-size:.92rem;
  line-height:1.55;
}

/* Cookie banner + settings modal
   Reject is visually equal to Accept. */
html.t-locked .cx-cookie-banner,
html.t-locked .cx-cookie-modal{display:none !important}

.cx-cookie-banner{
  position:fixed;
  left:0;right:0;bottom:0;
  z-index:80;
  background:#0B0B10;
  color:#fff;
  border-top:1px solid rgba(255,255,255,.1);
  padding:1rem 0;
  box-shadow:0 -12px 32px rgba(0,0,0,.28);
}
.cx-cookie-banner .wrap{
  display:flex;
  flex-wrap:wrap;
  gap:1rem 1.5rem;
  align-items:center;
  justify-content:space-between;
}
.cx-cookie-copy{
  flex:1 1 20rem;
  margin:0;
  color:rgba(255,255,255,.9);
  line-height:1.5;
  font-size:.95rem;
}
.cx-cookie-copy a{color:#fff;text-decoration:underline}
.cx-cookie-actions{
  display:flex;
  flex-wrap:wrap;
  gap:.6rem;
  align-items:center;
}
.cx-cookie-actions .btn,
.cx-cookie-actions button{
  min-width:8.5rem;
  text-align:center;
  font-weight:700;
  border-radius:16px;
  padding:.7rem 1.1rem;
  cursor:pointer;
  font:inherit;
}
.cx-cookie-btn-accept{
  background:#fff !important;
  color:#2E1065 !important;
  border:2px solid #fff !important;
}
.cx-cookie-btn-reject{
  background:transparent !important;
  color:#fff !important;
  border:2px solid #fff !important;
}
.cx-cookie-btn-manage{
  background:transparent;
  color:#fff;
  border:0;
  text-decoration:underline;
  cursor:pointer;
  font:inherit;
  padding:.4rem .2rem;
}
.cx-cookie-modal[hidden]{display:none !important}
.cx-cookie-modal{
  position:fixed;
  inset:0;
  z-index:90;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:1.2rem;
}
.cx-cookie-backdrop{
  position:absolute;
  inset:0;
  background:rgba(11,11,16,.6);
}
.cx-cookie-dialog{
  position:relative;
  background:#fff;
  color:#0f172a;
  border-radius:20px;
  max-width:32rem;
  width:100%;
  max-height:min(36rem,90vh);
  overflow:auto;
  padding:1.4rem 1.4rem 1.2rem;
  box-shadow:0 24px 48px rgba(0,0,0,.28);
}
.cx-cookie-dialog h2{
  margin:0 0 .5rem;
  font-size:1.2rem;
}
.cx-cookie-dialog p{
  margin:0 0 1rem;
  color:#334155;
  line-height:1.55;
}
.cx-cookie-row{
  display:flex;
  gap:1rem;
  align-items:flex-start;
  justify-content:space-between;
  border-top:1px solid #e2e8f0;
  padding:.85rem 0;
}
.cx-cookie-row h3{
  margin:0 0 .25rem;
  font-size:1rem;
}
.cx-cookie-row p{
  margin:0;
  font-size:.9rem;
}
.cx-cookie-tag{
  flex:0 0 auto;
  font-size:.8rem;
  font-weight:700;
  color:#475569;
  background:#f1f5f9;
  border-radius:999px;
  padding:.25rem .6rem;
  margin-top:.15rem;
}
.cx-cookie-dialog-actions{
  display:flex;
  flex-wrap:wrap;
  gap:.6rem;
  margin-top:1rem;
}
.cx-cookie-dialog-actions .btn,
.cx-cookie-dialog-actions button{
  min-width:8.5rem;
  text-align:center;
  font-weight:700;
  border-radius:16px;
  padding:.7rem 1.1rem;
  cursor:pointer;
  font:inherit;
}
.cx-cookie-dialog .cx-cookie-btn-accept{
  background:#2E1065 !important;
  color:#fff !important;
  border:2px solid #2E1065 !important;
}
.cx-cookie-dialog .cx-cookie-btn-reject{
  background:#fff !important;
  color:#2E1065 !important;
  border:2px solid #2E1065 !important;
}

/* Legal clause numbers (Sprintlaw long-form) */
.cx-legal h4{
  margin:1.1rem 0 .4rem;
  font-size:.98rem;
  color:#0f172a;
}
.cx-legal h2.cx-sched{
  margin-top:2.6rem;
  padding-top:1.2rem;
  border-top:1px solid #e2e8f0;
}
.cx-legal .cx-cl{
  font-weight:700;
  margin-right:.35rem;
}
.cx-legal p.cx-clause{
  padding-left:1.75rem;
  text-indent:-1.75rem;
}
.cx-legal table p,
.cx-legal table ul{
  margin:0 0 .4rem;
}
.cx-legal table ul{
  margin-left:1.1rem;
}
.cx-legal table p:last-child,
.cx-legal table ul:last-child{
  margin-bottom:0;
}

/* Contact — secondary outline button under Book a live demo, plus contact card */
.cx-page-hero .btn-row-stack{
  flex-direction:column;
  align-items:flex-start;
  gap:10px;
}
body.pc-touches .cx-page-hero .btn.btn-contact,
body.home-v7 .cx-page-hero .btn.btn-contact,
.cx-page-hero .btn.btn-contact{
  background:transparent !important;
  color:#fff !important;
  border:1.5px solid rgba(255,255,255,.85) !important;
  box-shadow:none !important;
  font-weight:600 !important;
  font-size:13px !important;
  padding:9px 14px !important;
  line-height:1.2 !important;
  min-height:0 !important;
  height:auto !important;
  cursor:pointer;
  font-family:inherit;
}
body.pc-touches .cx-page-hero .btn.btn-contact:hover,
body.pc-touches .cx-page-hero .btn.btn-contact:focus-visible,
body.home-v7 .cx-page-hero .btn.btn-contact:hover,
body.home-v7 .cx-page-hero .btn.btn-contact:focus-visible,
.cx-page-hero .btn.btn-contact:hover,
.cx-page-hero .btn.btn-contact:focus-visible{
  background:rgba(255,255,255,.12) !important;
  color:#fff !important;
  border-color:#fff !important;
}

html.cx-contact-open,
html.cx-contact-open body{overflow:hidden}
.cx-contact-modal[hidden]{display:none !important}
.cx-contact-modal{
  position:fixed;
  inset:0;
  z-index:95;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:1.2rem;
}
.cx-contact-backdrop{
  position:absolute;
  inset:0;
  background:rgba(11,11,16,.65);
}
.cx-contact-card{
  position:relative;
  z-index:1;
  width:100%;
  max-width:19.5rem;
  background:radial-gradient(120% 80% at 90% 0%,#6B21C8 0%,#2E1065 58%,#1E0B3A 100%);
  color:#fff;
  border-radius:20px;
  padding:1.7rem 1.35rem 1.4rem;
  box-shadow:0 24px 48px rgba(0,0,0,.4);
  text-align:center;
  outline:none;
}
.cx-contact-close{
  position:absolute;
  top:8px;
  right:8px;
  width:36px;
  height:36px;
  border:0;
  border-radius:999px;
  background:transparent;
  color:#fff;
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0;
}
.cx-contact-close:hover,
.cx-contact-close:focus-visible{
  background:rgba(255,255,255,.12);
}
.cx-contact-logo{
  width:56px;
  height:56px;
  border-radius:14px;
  display:block;
  margin:0.15rem auto 0.9rem;
}
.cx-contact-name{
  margin:0 0 0.85rem;
  font-size:1.15rem;
  font-weight:700;
  color:#fff;
  line-height:1.25;
}
.cx-contact-card a.cx-contact-email,
.cx-contact-card a.cx-contact-web{
  display:block;
  color:#E9D5FF;
  text-decoration:none;
  font-size:.95rem;
  font-weight:600;
  margin:.2rem 0;
  line-height:1.4;
}
.cx-contact-card a.cx-contact-email:hover,
.cx-contact-card a.cx-contact-web:hover,
.cx-contact-card a.cx-contact-email:focus-visible,
.cx-contact-card a.cx-contact-web:focus-visible{
  color:#fff;
  text-decoration:underline;
  text-underline-offset:3px;
}
.cx-contact-card a.cx-contact-save{
  display:inline-block;
  margin-top:1.15rem;
  color:rgba(255,255,255,.88);
  font-size:13px;
  font-weight:600;
  text-decoration:underline;
  text-underline-offset:3px;
}
.cx-contact-card a.cx-contact-save:hover,
.cx-contact-card a.cx-contact-save:focus-visible{
  color:#fff;
}
