
/* ABP site integration for public price calculators */
.calculator-integrated-page,
.calculator-landing-page {
  background:#f5f3fa;
}
.calculator-integrated-page .site-header,
.calculator-landing-page .site-header { z-index:90; }
.calculator-integrated-page .site-shell { min-height:auto; overflow:visible; }
.calculator-integrated-page .calculator-brand-stage,
.calculator-landing-page .calculator-brand-stage {
  min-height:430px;
  padding-top:104px;
  background:
    radial-gradient(circle at 84% 5%, rgba(255,255,255,.13), transparent 25%),
    radial-gradient(circle at 10% 100%, rgba(120,66,255,.24), transparent 35%),
    linear-gradient(128deg,#130b20 0%,#2a1249 44%,#4d1e82 73%,#7139f6 120%);
}
.calculator-integrated-page .calculator-brand-stage::before,
.calculator-integrated-page .calculator-brand-stage::after,
.calculator-landing-page .calculator-brand-stage::before,
.calculator-landing-page .calculator-brand-stage::after { opacity:.5; }
.calculator-integrated-page .calculator-page-hero {
  padding:55px 0 96px;
  max-width:830px;
}
.calculator-breadcrumb {
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:8px;
  margin-bottom:22px;
  color:rgba(255,255,255,.62);
  font-size:11px;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.calculator-breadcrumb a { color:#fff; text-decoration:none; }
.calculator-breadcrumb a:hover { text-decoration:underline; text-underline-offset:4px; }
.calculator-breadcrumb strong { color:rgba(255,255,255,.78); font-weight:700; }
.calculator-integrated-page .hero h1 { font-family:var(--display, Georgia, serif); font-weight:500; letter-spacing:-.045em; }
.calculator-integrated-page .hero p { max-width:720px; }
.calculator-integrated-page .eyebrow { color:rgba(255,255,255,.72); }
.calculator-integrated-page .client-main { margin-top:-55px; padding-bottom:92px; }
.calculator-integrated-page .site-footer { margin-top:0; }
.calculator-integrated-page.summary-mode .calculator-breadcrumb { display:none; }

/* Calculator landing as a native ABP page */
.calculator-landing-page .landing-hero {
  padding:70px 0 132px;
  text-align:left;
  max-width:900px;
}
.calculator-landing-page .landing-kicker {
  display:inline-flex;
  align-items:center;
  gap:10px;
  margin-bottom:18px;
  color:rgba(255,255,255,.72);
  font-size:11px;
  font-weight:800;
  letter-spacing:.14em;
  text-transform:uppercase;
}
.calculator-landing-page .landing-kicker::before { content:""; width:24px; height:1px; background:rgba(255,255,255,.55); }
.calculator-landing-page .landing-hero h1 {
  max-width:760px;
  font-family:var(--display, Georgia, serif);
  font-weight:500;
  font-size:clamp(48px,6.6vw,86px);
  line-height:.98;
  letter-spacing:-.055em;
}
.calculator-landing-page .landing-hero h1 .best-word {
  background:linear-gradient(90deg,#bb83ff,#fff 48%,#aa6fff);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}
.calculator-landing-page .landing-hero p { max-width:720px; margin:24px 0 0; font-size:16px; }
.calculator-landing-page .landing-trustline {
  display:flex;
  flex-wrap:wrap;
  gap:10px 22px;
  margin-top:30px;
  color:rgba(255,255,255,.72);
  font-size:12px;
  font-weight:650;
}
.calculator-landing-page .landing-trustline span { display:inline-flex; align-items:center; gap:8px; }
.calculator-landing-page .landing-trustline span::before { content:""; width:5px; height:5px; border-radius:50%; background:#b88cff; }
.calculator-landing-page .service-section { margin-top:-72px; padding-bottom:100px; }
.calculator-landing-page .service-grid { gap:18px; }
.calculator-landing-page .service-card {
  min-height:180px;
  padding:28px 30px;
  border-radius:24px;
  position:relative;
  overflow:hidden;
}
.calculator-landing-page .service-card::before {
  content:"";
  position:absolute;
  inset:0 auto 0 0;
  width:4px;
  background:linear-gradient(180deg,#8d50ff,#5420ad);
  opacity:.75;
}
.calculator-landing-page .service-card h3 { font-size:20px; }
.calculator-landing-page .service-card p { font-size:13px; max-width:460px; line-height:1.65; }
.calculator-landing-page .service-arrow { width:42px; height:42px; flex-basis:42px; }
.calculator-landing-page .calculator-note {
  width:min(1180px,calc(100% - 40px));
  margin:0 auto 80px;
  padding:25px 28px;
  border:1px solid #e2d9f5;
  border-radius:20px;
  background:#fff;
  box-shadow:0 15px 45px rgba(39,18,75,.07);
  display:grid;
  grid-template-columns:auto 1fr;
  gap:16px;
  align-items:start;
}
.calculator-landing-page .calculator-note strong { color:#5520b7; font-size:13px; }
.calculator-landing-page .calculator-note p { margin:4px 0 0; color:#6f7289; font-size:12px; line-height:1.65; }
.calculator-landing-page .calculator-note-mark {
  width:38px; height:38px; border-radius:50%; display:grid; place-items:center;
  background:#f1ebff; color:#7139f6; font-weight:900;
}

/* Keep the native ABP header/footer above calculator utility styles */
.calculator-integrated-page .site-header .brand-header img,
.calculator-landing-page .site-header .brand-header img { max-width:none; }
.calculator-integrated-page .site-footer,
.calculator-landing-page .site-footer { color:#fff; }
.calculator-integrated-page .site-footer a,
.calculator-landing-page .site-footer a { color:inherit; }

@media(max-width:1120px){
  .calculator-integrated-page .calculator-brand-stage,
  .calculator-landing-page .calculator-brand-stage { padding-top:84px; }
  .calculator-landing-page .landing-hero { padding-top:62px; }
}
@media(max-width:760px){
  .calculator-integrated-page .calculator-brand-stage,
  .calculator-landing-page .calculator-brand-stage { min-height:390px; padding-top:78px; }
  .calculator-integrated-page .calculator-page-hero { padding:42px 0 82px; }
  .calculator-breadcrumb { margin-bottom:16px; }
  .calculator-landing-page .landing-hero { padding:50px 0 112px; }
  .calculator-landing-page .landing-hero h1 { font-size:clamp(44px,13vw,62px); }
  .calculator-landing-page .landing-hero p { font-size:14px; line-height:1.65; }
  .calculator-landing-page .service-grid { grid-template-columns:1fr; }
  .calculator-landing-page .service-card { min-height:150px; padding:24px; }
  .calculator-landing-page .calculator-note { width:calc(100% - 24px); grid-template-columns:1fr; }
  .calculator-integrated-page .client-main { margin-top:-44px; }
}

/* Restore the website design tokens inside shared navigation/footer shells. */
.calculator-integrated-page .site-header,
.calculator-integrated-page .mobile-menu,
.calculator-integrated-page .site-footer,
.calculator-landing-page .site-header,
.calculator-landing-page .mobile-menu,
.calculator-landing-page .site-footer {
  --purple:#5b16ff;
  --purple2:#7b2cff;
  --violet:#9a58ff;
  --text:#f7f5fb;
  --muted:#b3afbd;
  --muted2:#7c7788;
  --line:rgba(255,255,255,.13);
  --line2:rgba(255,255,255,.07);
}

/* V15 calculator hero isolation — prevent the website homepage `.hero` styles from leaking into calculator pages. */
.calculator-integrated-page .calculator-page-hero{
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  width:auto!important;
  overflow:visible!important;
  isolation:auto!important;
  background:none!important;
  background-image:none!important;
  border:0!important;
  box-shadow:none!important;
}
.calculator-integrated-page .calculator-page-hero::before,
.calculator-integrated-page .calculator-page-hero::after{
  content:none!important;
  display:none!important;
  background:none!important;
}
/* Keep the intended calculator hero typography/content above the branded stage only. */
.calculator-integrated-page .calculator-page-hero .calculator-hero-content,
.calculator-integrated-page .calculator-page-hero .summary-hero-content,
.calculator-integrated-page .calculator-page-hero .calculator-breadcrumb{
  position:relative;
  z-index:2;
}

/* V17 readability refinements. */
.calculator-breadcrumb,
.calculator-landing-page .landing-kicker{font-size:12px;line-height:1.45}
.calculator-landing-page .landing-trustline{font-size:13px;line-height:1.55}
.calculator-landing-page .service-card p{font-size:14px;line-height:1.68}
.calculator-landing-page .calculator-note strong{font-size:14px}
.calculator-landing-page .calculator-note p{font-size:13px;line-height:1.65}
