/* Shared compact hero for the public pages that predate the service-page redesign. */
main.remaining-page {
  --section-title: #0b2440;
  --content-rule: #d7e6ee;
  color: #17354f;
  background: #fff;
  font-family: Inter, Arial, Helvetica, sans-serif;
}
:root body main.remaining-page > .section {
  margin-top: clamp(28px, 4vw, 64px);
  border: 1px solid #d7e6ee;
  border-radius: 24px;
  background: linear-gradient(145deg, #fff 0%, #fcfeff 100%);
  box-shadow: 0 3px 6px -4px rgb(11 36 64 / 10%), 0 18px 34px -28px rgb(11 36 64 / 36%);
}
main.remaining-page > .section::after { opacity: 0; }
main.remaining-page > .section h2,
main.remaining-page > .remaining-hero-followup h2 {
  color: #0b2440;
  background: none;
  -webkit-text-fill-color: #0b2440;
  font-weight: 720;
  letter-spacing: -.03em;
  line-height: 1.16;
}
main.remaining-page > .section h3 {
  color: #17354f;
  font-weight: 700;
  letter-spacing: -.02em;
}
main.remaining-page > .section p { color: #536b81; line-height: 1.7; }
main.remaining-page > .section .eyebrow {
  border-color: #cbe6ec;
  border-radius: 9px;
  background: #f0fafb;
  box-shadow: none;
  color: #007783;
  font-weight: 700;
  letter-spacing: .045em;
}
main.remaining-page > .section .eyebrow::before { background: #1fb6c1; box-shadow: none; }
:root body main.remaining-page > .section :is(.glass-card, .news-card, .service-tree-group, .tax-calendar-entry, .glass-panel) {
  border-color: #d7e6ee;
  border-radius: 18px;
  background: linear-gradient(145deg, #fff, #fbfdfe);
  box-shadow: 0 3px 6px -4px rgb(11 36 64 / 10%), 0 18px 34px -28px rgb(11 36 64 / 36%);
}
:root body main.remaining-page > :is(.section, .remaining-hero-followup) :is(.compact-list a, .compact-list .compact-row, .home-service-shortcuts a, .insight-link-list a, .news-related, .lead-capture-form) {
  border-color: #d7e6ee;
  border-radius: 15px;
  background: linear-gradient(145deg, #fff, #fbfdfe);
  box-shadow: 0 3px 6px -4px rgb(11 36 64 / 10%), 0 16px 30px -26px rgb(11 36 64 / 34%);
}
main.remaining-page .button { border-radius: 11px; font-weight: 700; }
main > .hero.remaining-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr);
  align-items: center;
  gap: clamp(24px, 3vw, 48px);
  width: min(1536px, calc(100% - 48px));
  min-height: 0;
  margin: 28px auto 0;
  padding: clamp(28px, 3vw, 46px);
  border: 1px solid #d6e6ef;
  border-radius: 30px;
  background: radial-gradient(circle at 88% 9%, #eaf8fa 0, transparent 30%),
    linear-gradient(112deg, #fff 0%, #fff 44%, #f3f9fc 73%, #edf7fb 100%);
  box-shadow: 0 16px 42px -34px rgb(11 36 64 / 38%);
  overflow: hidden;
  isolation: isolate;
  font-family: Inter, Arial, Helvetica, sans-serif;
}
main > .hero.remaining-hero::before {
  position: absolute;
  z-index: -1;
  top: -190px;
  right: -145px;
  width: 460px;
  height: 460px;
  border: 1px solid rgb(31 182 193 / 16%);
  border-radius: 50%;
  box-shadow: 0 0 0 56px rgb(31 182 193 / 3%), 0 0 0 112px rgb(0 119 131 / 2%);
  content: "";
  pointer-events: none;
}
main > .hero.remaining-hero > :is(.hero-copy-panel, .hero-copy, .news-article, .remaining-hero-copy) {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  min-width: 0;
  min-height: 0;
  max-width: none;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  backdrop-filter: none;
  overflow: visible;
}
main > .hero.remaining-hero > :is(.hero-copy-panel, .hero-copy, .news-article, .remaining-hero-copy)::before,
main > .hero.remaining-hero > :is(.hero-copy-panel, .hero-copy, .news-article, .remaining-hero-copy)::after { display: none; }
main > .hero.remaining-hero .eyebrow {
  display: inline-flex;
  align-items: center;
  margin: 0 0 16px;
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
  color: #007783;
  font: 700 13px/1.4 Inter, Arial, sans-serif;
  letter-spacing: 0;
  text-transform: none;
  backdrop-filter: none;
}
main > .hero.remaining-hero .eyebrow::before {
  width: 7px;
  height: 7px;
  margin-right: 9px;
  background: #1fb6c1;
  box-shadow: 0 0 0 5px rgb(31 182 193 / 10%);
}
main > .hero.remaining-hero h1 {
  width: 100%;
  max-width: 680px;
  margin: 0;
  background: none;
  color: #0b2440;
  -webkit-text-fill-color: #0b2440;
  font-size: clamp(34px, 3.1vw, 54px);
  font-weight: 730;
  line-height: 1.08;
  letter-spacing: -.043em;
  text-wrap: balance;
}
main > .hero.remaining-hero :is(.hero-copy-panel, .hero-copy, .news-article, .remaining-hero-copy) > p:not(.eyebrow) {
  max-width: 620px;
  margin: 19px 0 0;
  color: #536b81;
  font-size: 16px;
  line-height: 1.7;
  text-wrap: pretty;
}
main > .hero.remaining-hero .actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 10px;
  width: auto;
  max-width: 100%;
  margin: 26px 0 0;
}
main > .hero.remaining-hero .actions .button {
  width: auto;
  min-width: 0;
  min-height: 48px;
  padding: 11px 20px;
  border-radius: 11px;
  font-size: 14px;
  font-weight: 700;
}
main > .hero.remaining-hero .actions .button-lime { background: #0b2440; border-color: #0b2440; color: #fff; }
main > .hero.remaining-hero .actions .button-ghost { background: #fff; border-color: #9fb8c9; color: #0b2440; }
main > .hero.remaining-hero .service-price-note { margin-top: 20px; }
main > .hero.remaining-hero .news-tags { margin-top: 20px; }
main > .hero.remaining-hero .remaining-hero-visual {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid #d9eaf0;
  border-radius: 24px;
  background: #f1f8fb;
  box-shadow: 0 22px 42px -34px rgb(11 36 64 / 45%);
}
main > .hero.remaining-hero .remaining-hero-visual img {
  display: block;
  visibility: visible !important;
  width: 100%;
  height: clamp(330px, 29vw, 480px);
  object-fit: cover;
  object-position: center;
  filter: none;
}
main > .hero.remaining-hero .remaining-hero-visual::after {
  position: absolute;
  inset: auto 0 0;
  height: 125px;
  background: linear-gradient(0deg, rgb(232 245 250 / 86%), transparent);
  content: "";
  pointer-events: none;
}
main > .hero.remaining-hero .remaining-hero-diagram {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding: 16px;
  pointer-events: none;
}
main > .hero.remaining-hero .remaining-hero-diagram-title {
  display: inline-flex;
  max-width: min(80%, 330px);
  min-height: 38px;
  align-items: center;
  padding: 8px 14px;
  border: 1px solid rgb(190 222 233 / 92%);
  border-radius: 12px;
  background: rgb(255 255 255 / 90%);
  box-shadow: 0 12px 25px -20px rgb(11 36 64 / 55%);
  backdrop-filter: blur(16px);
  color: #0b2440;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.25;
}
main > .hero.remaining-hero .remaining-hero-diagram-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  width: 100%;
}
main > .hero.remaining-hero .remaining-hero-diagram-steps span {
  display: flex;
  min-width: 0;
  min-height: 54px;
  align-items: center;
  gap: 7px;
  padding: 8px 10px;
  border: 1px solid rgb(195 225 234 / 94%);
  border-radius: 11px;
  background: rgb(255 255 255 / 91%);
  box-shadow: 0 12px 22px -19px rgb(11 36 64 / 58%);
  backdrop-filter: blur(16px);
  color: #17354f;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;
  overflow-wrap: anywhere;
}
main > .hero.remaining-hero .remaining-hero-diagram-steps b {
  display: grid;
  width: 22px;
  height: 22px;
  flex: none;
  place-items: center;
  border-radius: 7px;
  background: #0b2440;
  color: #fff;
  font-size: 9px;
  font-variant-numeric: tabular-nums;
}
/* Live, page-specific copy belongs to the illustration, not to a new stock photo. */
main > .hero.remaining-hero .remaining-hero-art-text {
  position: absolute;
  z-index: 2;
  top: 50%;
  right: 19%;
  width: min(47%, 304px);
  padding: clamp(15px, 1.7vw, 24px);
  transform: translateY(-50%) rotate(-1deg);
  border: 1px solid rgb(255 255 255 / 95%);
  border-radius: 17px;
  background: linear-gradient(138deg, rgb(255 255 255 / 96%), rgb(245 252 254 / 87%));
  -webkit-backdrop-filter: blur(19px) saturate(1.15);
  backdrop-filter: blur(19px) saturate(1.15);
  box-shadow: 0 25px 38px -22px rgb(11 36 64 / 42%), 0 0 0 1px rgb(93 170 194 / 18%), inset 0 2px 0 #fff;
  color: #0b2440;
  pointer-events: none;
}
main > .hero.remaining-hero .remaining-art-kicker {
  display: block;
  margin: 0 0 9px;
  color: #007783;
  font: 760 10px/1.25 Inter, Arial, sans-serif;
  letter-spacing: .085em;
  text-transform: uppercase;
}
main > .hero.remaining-hero .remaining-hero-art-text strong {
  display: block;
  margin: 0;
  color: #0b2440;
  font: 760 clamp(15px, 1.55vw, 20px)/1.2 Inter, Arial, sans-serif;
  letter-spacing: -.025em;
}
main > .hero.remaining-hero .remaining-hero-art-text ul {
  display: grid;
  gap: 8px;
  margin: 14px 0 0;
  padding: 13px 0 0;
  border-top: 1px solid #cde4ec;
  list-style: none;
}
main > .hero.remaining-hero .remaining-hero-art-text li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 0;
  color: #365770;
  font: 650 clamp(10px, .95vw, 12px)/1.35 Inter, Arial, sans-serif;
}
main > .hero.remaining-hero .remaining-hero-art-text li span {
  display: grid;
  width: 17px;
  height: 17px;
  flex: none;
  place-items: center;
  border-radius: 5px;
  background: #14aab5;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
}
:root body main.remaining-page > .remaining-hero-followup {
  width: min(1180px, calc(100% - 48px));
  max-width: none;
  margin: 24px auto 0;
  border-color: #d7e6ee;
  border-radius: 22px;
  background: linear-gradient(145deg, #fff, #f9fcfe);
  box-shadow: 0 18px 36px -32px rgb(11 36 64 / 42%);
  font-family: Inter, Arial, Helvetica, sans-serif;
}
main > .remaining-hero-details {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 24px;
  width: min(1180px, calc(100% - 48px));
  margin: 18px auto 0;
  padding: 14px 20px;
  border: 1px solid #d7e6ee;
  border-radius: 17px;
  background: linear-gradient(145deg, #fff, #f8fcfe);
  box-shadow: 0 15px 30px -28px rgb(11 36 64 / 45%);
  color: #536b81;
  font: 400 13px/1.5 Inter, Arial, Helvetica, sans-serif;
}
main > .remaining-hero-details > :is(p, div) { margin: 0; }
main > .remaining-hero-details .service-price-note {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 5px 12px;
  width: auto;
  max-width: 100%;
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
}
main > .remaining-hero-details .service-price-note strong { color: #0b2440; font-weight: 750; }
main > .remaining-hero-details .service-price-note small { color: #648097; }
main > .remaining-hero-details .hero-location-badge { display: block; padding: 0; border: 0; background: none; box-shadow: none; animation: none; }
main > .remaining-hero-details .conversion-one-off-link a { color: #007783; text-decoration: underline; text-underline-offset: 3px; }
main > .remaining-hero-followup::before,
main > .remaining-hero-followup::after { display: none; }
main > .remaining-hero-followup h2 {
  color: #0b2440;
  background: none;
  -webkit-text-fill-color: #0b2440;
}
main > .remaining-hero-followup:is(.hero-choice-panel, .promotions-hero-summary, .pricing-hero-summary) { padding: clamp(22px, 2.8vw, 32px); }
main > .remaining-hero-followup.calendar-hero-status { padding: 22px 28px; }
main > .remaining-hero-followup.offer-toc { padding: 22px 28px; }
@media (max-width: 980px) {
  main > .hero.remaining-hero { grid-template-columns: 1fr; gap: 24px; padding: 30px; }
  main > .hero.remaining-hero .remaining-hero-visual img { height: clamp(270px, 48vw, 430px); }
}
@media (max-width: 599px) {
  main > .hero.remaining-hero { width: calc(100% - 28px); margin-top: 16px; padding: 22px; gap: 24px; border-radius: 22px; }
  main > .hero.remaining-hero h1 { font-size: clamp(31px, 8vw, 40px); line-height: 1.12; }
  main > .hero.remaining-hero :is(.hero-copy-panel, .hero-copy, .news-article, .remaining-hero-copy) > p:not(.eyebrow) { font-size: 15px; line-height: 1.65; }
  main > .hero.remaining-hero .actions { width: 100%; }
  main > .hero.remaining-hero .actions .button { flex: 1 1 180px; justify-content: center; }
  main > .hero.remaining-hero .remaining-hero-visual { border-radius: 16px; }
  main > .hero.remaining-hero .remaining-hero-visual img { height: clamp(210px, 58vw, 300px); }
  main > .hero.remaining-hero .remaining-hero-diagram { padding: 8px; }
  main > .hero.remaining-hero .remaining-hero-diagram-title { min-height: 31px; padding: 6px 9px; border-radius: 9px; font-size: 11px; }
  main > .hero.remaining-hero .remaining-hero-diagram-steps { gap: 4px; }
  main > .hero.remaining-hero .remaining-hero-diagram-steps span { min-height: 46px; flex-direction: column; align-items: flex-start; justify-content: center; gap: 3px; padding: 5px 6px; border-radius: 7px; font-size: 9px; }
  main > .hero.remaining-hero .remaining-hero-diagram-steps b { width: 16px; height: 16px; border-radius: 5px; font-size: 7px; }
  main > .hero.remaining-hero .remaining-hero-art-text { right: 9px; width: min(72%, 230px); padding: 11px 12px; border-radius: 11px; }
  main > .hero.remaining-hero .remaining-art-kicker { margin-bottom: 6px; font-size: 8px; letter-spacing: .06em; }
  main > .hero.remaining-hero .remaining-hero-art-text strong { font-size: 13px; line-height: 1.18; }
  main > .hero.remaining-hero .remaining-hero-art-text ul { gap: 5px; margin-top: 8px; padding-top: 8px; }
  main > .hero.remaining-hero .remaining-hero-art-text li { gap: 6px; font-size: 9.5px; line-height: 1.25; }
  main > .hero.remaining-hero .remaining-hero-art-text li span { width: 13px; height: 13px; border-radius: 3px; font-size: 9px; }
  main > .remaining-hero-followup { width: calc(100% - 28px); margin-top: 16px; border-radius: 18px; }
  main > .remaining-hero-details { width: calc(100% - 28px); margin-top: 14px; padding: 14px 16px; }
}
