/* Shared section separators and content alignment. */
body.premium-site .section-flourish {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, clamp(41px, 7.5vw, 71px)) minmax(0, 1fr);
  align-items: center;
  gap: clamp(4px, .6vw, 8px);
  width: min(210px, calc(100% - 32px));
  min-height: clamp(11px, 1.3vw, 17px);
  margin: 0 auto;
  box-sizing: border-box;
  pointer-events: none;
  user-select: none;
}
body.premium-site .section-flourish::before,
body.premium-site .section-flourish::after {
  content: "";
  width: 100%;
  max-width: 45px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #78954e);
}
body.premium-site .section-flourish::before { justify-self: end; }
body.premium-site .section-flourish::after {
  justify-self: start;
  transform: scaleX(-1);
}
body.premium-site .section-flourish > img {
  display: block;
  width: 100%;
  height: auto;
  min-width: 0;
  margin: 0 auto;
  aspect-ratio: 60 / 13;
}
body.premium-site main > section:has(+ .section-flourish):not(.wrap),
body.premium-site main > .section-flourish + section:not(.wrap) {
  --flourish-section-space: clamp(24px, 3.4vw, 52px);
}
body.premium-site main > section:has(+ .section-flourish):not(.wrap) {
  padding-bottom: var(--flourish-section-space);
}
body.premium-site main > .section-flourish + section:not(.wrap) {
  padding-top: var(--flourish-section-space);
}

/* These panels are themselves the content container. */
body.premium-site main > :is(#compare-estimates, #guarantee).wrap {
  box-sizing: border-box;
  margin-inline: auto;
  margin-block: clamp(12px, 2vw, 28px);
  padding: clamp(20px, 3.4vw, 48px);
  border: 1px solid #cbd9b6;
  border-radius: 12px;
}
body.premium-site #compare-estimates.wrap {
  background: #e7efda;
  border-inline-start: 4px solid #78954e;
}
body.premium-site #guarantee.wrap {
  background: #f1f5e9;
}
body.premium-site #guarantee .eyebrow { color: #4a642d; }
body.premium-site main > :is(#compare-estimates, #guarantee).wrap > :first-child {
  margin-top: 0;
}
body.premium-site main > :is(#compare-estimates, #guarantee).wrap > :last-child {
  margin-bottom: 0;
}
body.premium-site main > :is(#compare-estimates, #guarantee).wrap p {
  max-width: 76ch;
}
body.premium-site #compare-estimates .btn {
  max-width: 100%;
  white-space: normal;
}

@media (min-width: 1181px) {
  body.premium-site .header .header-inner { gap: clamp(10px, 1vw, 18px); }
  body.premium-site .header .header-inner > .nav {
    flex: 1 1 auto;
    min-width: 0;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px clamp(7px, .7vw, 12px);
  }
  body.premium-site .header .header-inner > .nav > a { white-space: nowrap; }
  body.premium-site .header .header-inner > :is(.brand, .header-phone, .account-entry-group) {
    flex-shrink: 0;
  }
}
