/* pearledison.com: the one stylesheet every page loads.
 * Hand-written replacement for the Webflow export (2026-10). Colors, type
 * sizes, spacing and the 991/767/479px breakpoints match the old site. */

/* ---------- Tokens ---------- */

:root {
  --purple: #591e91;
  --purple-light: #8d2fe5;
  --purple-50: #591e9180;
  --purple-dark: #2a0e45;
  --lavender: #f8efff;
  --cream: #f4f3f2;
  --cream-bluish: #d8e2dc;
  --orange: #f2af29;
  --black: #120a2b;
  --white: #fff;
  --grey-light: #aaa;

  --radius-card: 2rem;
  --radius-full: 50rem;

  --gutter: 5%;
  --gutter-inner: 2%;
  --container: 80rem;

  --ease-out-expo: cubic-bezier(0.075, 0.82, 0.165, 1);
  --ease-out-back: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ---------- Base ---------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--purple);
  font-family: Poppins, sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
figure,
blockquote {
  margin: 0;
}

h1,
h2,
h3,
h4 {
  font-weight: 300;
  line-height: 1.2;
}
h1 {
  font-size: 3.5rem;
  letter-spacing: -0.09rem;
}
h2 {
  font-size: 3rem;
  letter-spacing: -0.09rem;
}
h3 {
  font-size: 2.5rem;
  letter-spacing: -0.05rem;
}
h4 {
  font-size: 2rem;
  line-height: 1.3;
}
h5,
h6 {
  font-weight: 400;
  line-height: 1.4;
}
h5 {
  font-size: 1.5rem;
}
h6 {
  font-size: 1.25rem;
}

strong,
b {
  font-weight: 700;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  vertical-align: middle;
}

svg {
  display: block;
}

button,
input {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 0.125rem solid #4d65ff;
  outline-offset: 0.125rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- Layout ---------- */

.gutter {
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.gutter--inner {
  padding-left: var(--gutter-inner);
  padding-right: var(--gutter-inner);
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
}
.container--narrow {
  max-width: 48rem;
}

.section-sm {
  padding-top: 3rem;
  padding-bottom: 3rem;
}
.section-md {
  padding-top: 5rem;
  padding-bottom: 5rem;
}
.section-lg {
  padding-top: 7rem;
  padding-bottom: 7rem;
}

/* A rounded block of sections (cream, or dark purple for the CTA). */
.panel {
  width: 100%;
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
  background: var(--cream);
  border-radius: var(--radius-card);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem 5rem;
  align-items: center;
}
.split--top {
  align-items: start;
}
.split--wide-left {
  grid-template-columns: 1.25fr 1fr;
}

.panel--spaced {
  margin-bottom: 7rem;
}

.center {
  text-align: center;
}

/* ---------- Type ---------- */

.display {
  font-size: 8rem;
  font-weight: 300;
  line-height: 0.9;
  letter-spacing: -6px;
}
.display-sm,
.display-xs {
  font-weight: 300;
  line-height: 1;
  letter-spacing: -3px;
}
.display-sm {
  font-size: 6rem;
}
.display-xs {
  font-size: 5rem;
}
.heading-xl {
  font-size: 3.5rem;
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: -0.09rem;
}
.heading-lg {
  font-size: 3rem;
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: -0.05rem;
}
.heading-md {
  font-size: 2.5rem;
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: -0.05rem;
}
.heading-sm {
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0;
}
.heading-xs {
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0;
}

.lead {
  font-size: 1.6rem;
  font-weight: 300;
  line-height: 1.8;
}
.text-md {
  font-size: 1.125rem;
}
.text-sm {
  font-size: 0.875rem;
  font-weight: 300;
}
.quote {
  font-size: 1.2rem;
  font-style: italic;
  line-height: 2;
}
.muted {
  opacity: 0.6;
}
.semibold {
  font-weight: 600;
}
.bold {
  font-weight: 700;
}

/* Small rounded label above a heading ("Pearl Edison for Homeowners"). */
.eyebrow {
  display: inline-block;
  margin-bottom: 0.25rem;
  padding: 0.2rem 0.7rem;
  border-radius: var(--radius-card);
  background: var(--cream-bluish);
  font-size: 0.9rem;
  font-weight: 500;
}
.eyebrow--spaced {
  margin-bottom: 1rem;
}
.eyebrow--filled {
  background: var(--purple);
  color: var(--white);
}

/* Long-form copy: paragraphs spaced like Webflow's rich text. */
.rich-text p {
  margin-bottom: 1rem;
}

/* Inline highlighted phrase ("We make it easy."). */
.pill {
  display: inline;
  padding: 6px 13px;
  border-radius: var(--radius-card);
  background: var(--cream-bluish);
  font-weight: 700;
}

.stack-sm > * + * {
  margin-top: 1.5rem;
}
.stack-md > * + * {
  margin-top: 2rem;
}
.mt-md {
  margin-top: 2rem;
}
.mt-lg {
  margin-top: 3rem;
}
.mt-xl {
  margin-top: 4rem;
}
.mb-sm {
  margin-bottom: 1.5rem;
}
.mb-md {
  margin-bottom: 2rem;
}

.icon-lg {
  width: 5rem;
  height: 5rem;
}
.icon-md {
  width: 3rem;
  height: 3rem;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  padding: 0.75rem 2.3rem;
  border: 2px solid var(--purple);
  border-radius: var(--radius-full);
  background: var(--purple);
  color: var(--white);
  font-weight: 500;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.35s var(--ease-out-expo);
}
.btn:hover {
  border-color: var(--purple-light);
  background: var(--purple-light);
}
.btn--xs {
  padding: 0.375rem 1.25rem;
  font-size: 0.875rem;
}
.btn--lg {
  padding: 1rem 2.75rem;
  font-size: 1.25rem;
}
/* A label followed by an icon, such as "opens in a new tab". */
.btn--icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.btn__icon {
  flex: none;
  width: 1.1em;
  height: 1.1em;
}
/* Purple outline on a transparent background ("See Job Openings"). */
.btn--secondary {
  background: transparent;
  color: var(--purple);
  font-weight: 600;
}
.btn--secondary:hover {
  border-color: var(--purple);
  background: var(--purple);
  color: var(--white);
}
/* Purple on white ("Request a Demo", "Join the Network"). */
.btn--outline {
  background: var(--white);
  color: var(--purple);
  font-weight: 600;
}
.btn--outline:hover {
  background: var(--lavender);
  color: var(--purple-light);
}
/* White outline, for dark backgrounds. */
.btn--outline-light {
  border-color: var(--white);
  background: transparent;
  color: var(--white);
  font-weight: 600;
}
.btn--outline-light:hover {
  border-color: var(--purple);
  background: var(--purple);
}

/* A row of buttons; on narrow phones each button fills the width. */
.btn-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}
.btn-row--center {
  justify-content: center;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0;
  color: var(--purple-light);
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  transition: color 0.35s var(--ease-out-expo);
}
.link-arrow:hover {
  color: var(--purple-50);
}
.link-arrow svg {
  width: 1rem;
  height: 1rem;
}

/* ---------- Announcement bar ---------- */

.announcement {
  position: relative;
  border-bottom: 1px solid var(--purple);
  background: var(--lavender);
}
.announcement[hidden] {
  display: none;
}
.announcement__inner {
  display: flex;
  align-items: center;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}
.announcement__content {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem 1.5rem;
  align-items: center;
  margin-left: 3rem;
}
.announcement__content .btn {
  justify-self: end;
  white-space: nowrap;
}
.announcement__title {
  font-weight: 600;
}
.announcement__close {
  display: flex;
  width: 2rem;
  height: 2rem;
  margin-left: 1rem;
  padding: 0;
  border: 0;
  background: none;
  color: var(--purple);
  cursor: pointer;
}

/* ---------- Site header (top nav) ---------- */

.site-header {
  position: relative;
  z-index: 50;
  display: flex;
  align-items: center;
  min-height: 4.5rem;
  background: var(--white);
}
.site-header__bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.site-header__logo {
  display: block;
}
.site-header__logo img {
  display: block;
}

.nav__list {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav__link,
.nav__toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.8rem;
  border: 0;
  background: none;
  color: var(--purple);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
}
.nav__toggle {
  padding: 0.5rem 1rem;
}
.nav__link:hover {
  opacity: 0.57;
}
.nav__link,
.nav__toggle {
  white-space: nowrap;
}
.nav__icon {
  flex: none;
  width: 1.1em;
  height: 1.1em;
}

/* Resources dropdown: opens on hover (desktop) or click. */
.dropdown {
  position: relative;
  font-size: 0.9rem;
}
.dropdown__chevron {
  width: 1rem;
  height: 1rem;
  transition: transform 0.3s ease;
}
.dropdown__menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 100%;
  margin: 0;
  padding: 0.5rem;
  list-style: none;
  border: 1px solid var(--purple);
  background: var(--cream);
  visibility: hidden;
  opacity: 0;
  transform: translateY(3rem);
  transition:
    opacity 0.2s ease,
    transform 0.3s ease,
    visibility 0s 0.3s;
}
.dropdown__menu a {
  display: block;
  padding: 0.5rem 1rem;
  color: var(--purple);
  text-decoration: none;
}
.dropdown__menu a.link-icon {
  display: flex;
}
.dropdown.is-open .dropdown__menu {
  visibility: visible;
  opacity: 1;
  transform: none;
  transition:
    opacity 0.2s ease,
    transform 0.3s ease;
}
.dropdown.is-open .dropdown__chevron {
  transform: rotate(180deg);
}

/* Hamburger (shown at tablet width and below). */
.menu-button {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 48px;
  height: 48px;
  margin-right: -0.5rem;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.menu-button span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--purple);
  transition:
    transform 0.4s cubic-bezier(0.83, 0, 0.17, 1),
    width 0.2s cubic-bezier(0.83, 0, 0.17, 1);
}
.menu-button span:nth-child(2) {
  margin: 6px 0;
}
.menu-button[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(8px) rotate(-45deg);
}
.menu-button[aria-expanded="true"] span:nth-child(2) {
  width: 0;
}
.menu-button[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-8px) rotate(45deg);
}

/* ---------- Floating nav (desktop, slides in on scroll) ---------- */

.float-nav {
  position: fixed;
  top: 1rem;
  left: 2%;
  right: 2%;
  z-index: 100;
  display: flex;
  justify-content: center;
  opacity: 0;
  transform: translateY(-150%);
  transition:
    transform 0.5s var(--ease-out-back),
    opacity 0.5s ease;
  pointer-events: none;
}
.float-nav.is-visible {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.float-nav__bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  width: 100%;
  max-width: 81rem;
  min-height: 4.5rem;
  padding: 0 2rem;
  border: 2px solid var(--white);
  border-radius: var(--radius-full);
  background: var(--purple);
}
.float-nav .nav__link,
.float-nav .nav__toggle {
  color: var(--cream);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  margin-bottom: 8rem;
}
/* The dotted wave: a still frame of Webflow's old Spline 3D scene. */
.hero__dots {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url(/static/img/hero-dots.webp) center bottom / cover no-repeat;
}
.hero__inner {
  display: flex;
  align-items: center;
  min-height: 97svh;
  max-height: 60rem;
}
.hero__grid {
  width: 100%;
  padding-top: 6.5rem;
  padding-bottom: 7rem;
  align-items: start;
}
.hero__title {
  margin-bottom: 1.5rem;
}
.hero__image {
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero__image img {
  width: 90%;
  height: 100%;
}

/* ---------- Feature cards (home: Instant / Personalized / ...) ---------- */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 3rem;
}
/* Fills its grid cell, which grows to fit the text (a square card overflowed
   its column and cut off text between 992px and 1150px). */
.feature-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  padding: 4rem 2rem 2rem 1.5rem;
  overflow: hidden;
  border-radius: var(--radius-card);
  background: var(--purple);
  color: var(--white);
}
.feature-card__head {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3rem;
}
.feature-card__icon {
  position: absolute;
  right: -1rem;
  width: 3rem;
  height: 3rem;
}
.feature-photo {
  grid-column: span 2;
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius-card);
  background: var(--purple);
}

/* ---------- Steps (sticky stacked cards) ---------- */

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
}
.steps__intro {
  position: sticky;
  top: 30%;
}
.step-card {
  position: sticky;
  top: 30%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2rem;
  padding: 2.5rem;
  border: 2px solid var(--white);
  border-radius: var(--radius-card);
  background: var(--purple);
  color: var(--white);
}
.step-card:first-child {
  border-color: var(--cream);
}
.step-card:nth-child(2) {
  top: 32%;
}
.step-card:nth-child(3) {
  top: 34%;
  margin-bottom: 0;
}

/* ---------- Testimonials ---------- */

.testimonials__head {
  position: relative;
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 4rem 5rem;
  margin-bottom: 7rem;
}
.testimonials__mark {
  position: absolute;
  top: 0;
  right: 0;
  width: 33.375rem;
  height: 24.9375rem;
  opacity: 0.39;
  pointer-events: none;
}

.slider {
  position: relative;
  padding-bottom: 5rem;
}
.slider__viewport {
  overflow: hidden;
  touch-action: pan-y;
}
.slider__track {
  display: flex;
  gap: 5rem;
  transition: transform 0.5s ease;
}
.slider__slide {
  flex: 0 0 100%;
}
.slider__arrow {
  position: absolute;
  bottom: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 3rem;
  height: 3rem;
  padding: 0;
  border: 2px solid var(--purple-50);
  border-radius: 100%;
  background: none;
  color: var(--purple-50);
  cursor: pointer;
}
.slider__arrow:hover {
  color: var(--purple);
}
.slider__arrow--prev {
  right: 4rem;
}
.slider__arrow svg {
  width: 3rem;
  height: 3rem;
}
.slider__dots {
  position: absolute;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: center;
  height: 1.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.slider__dots button {
  display: block;
  width: 8px;
  height: 8px;
  margin: 0 3px;
  padding: 0;
  border: 0;
  border-radius: 100%;
  background: #2226;
  cursor: pointer;
  transition: background-color 0.1s;
}
.slider__dots button[aria-current="true"] {
  background: #222;
}

.testimonial {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.testimonial__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.testimonial__title {
  margin-bottom: 2rem;
  font-weight: 700;
}
.testimonial .quote {
  margin-bottom: 2rem;
}
.testimonial__by {
  margin-top: 3rem;
}

/* Rounded photo with a thin purple edge. */
.photo-frame {
  overflow: hidden;
  border: 0.1rem solid var(--purple);
  border-radius: var(--radius-card);
}
.photo-frame img {
  display: block;
  width: 100%;
  max-height: 40rem;
  object-fit: cover;
  border-radius: var(--radius-card);
}

/* ---------- Stats ---------- */

.stats {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 4rem 3.4rem;
  align-items: start;
  margin-top: 6rem;
}
.stats__list {
  display: grid;
  margin: 0;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  padding: 0.5rem 0;
}
.stats__list dd {
  margin: 0;
}
.stats__list .stats__value {
  margin-bottom: 0.5rem;
  font-size: 3rem;
  line-height: 1.2;
  letter-spacing: -0.05rem;
}

/* ---------- Quote card (contractor testimonial) ---------- */

.quote-card {
  padding: 2.5rem;
  border-radius: var(--radius-card);
  background: var(--purple);
  color: var(--white);
}
.quote-card .quote {
  margin-bottom: 1.5rem;
}
.quote-card__by {
  display: flex;
  align-items: center;
}
.quote-card__divider {
  align-self: stretch;
  width: 2px;
  margin: 0 1.25rem;
  background: var(--purple-light);
}
.quote-card__logo {
  max-height: 3rem;
  width: auto;
}

/* ---------- Partner logos ---------- */

.logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: center;
  gap: 1rem;
  padding: 0.5rem 0;
}
.logos img {
  max-height: 5rem;
  width: auto;
}

/* ---------- Call to action ("Go electric now.") ---------- */

.cta {
  margin-bottom: 4rem;
  background:
    linear-gradient(#2a0e45a8, #2a0e45a8),
    url(/static/img/home/cta-houses.webp) 0 0;
  background-color: var(--purple-dark);
  color: var(--white);
}
.cta__icon {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
}
.cta__action {
  margin-top: 2rem;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--cream);
}
.site-footer__inner {
  padding-top: 5rem;
  padding-bottom: 1rem;
}
.site-footer__top {
  display: grid;
  grid-template-columns: 1fr 0.5fr;
  gap: 1rem 2vw;
  align-items: center;
  padding-bottom: 5rem;
}
.site-footer__contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 4rem;
}
.site-footer__logo {
  margin-bottom: 2rem;
}
.site-footer__contact dl {
  margin: 0;
}
.site-footer__contact dt {
  margin-bottom: 0.25rem;
  font-size: 0.875rem;
  font-weight: 600;
}
.site-footer__contact dd {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: 0 0 1.5rem;
  font-size: 0.875rem;
  font-weight: 300;
}
.site-footer__contact dd:last-child {
  margin-bottom: 0;
}
/* An address, email or phone number with its icon on the left. */
.contact-line {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}
.contact-line svg {
  flex: none;
  width: 1rem;
  height: 1rem;
}
.site-footer__badges {
  display: grid;
  gap: 1.5rem;
  justify-items: end;
  align-self: start;
}
.site-footer__badges img {
  width: auto;
}
.site-footer__badges a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.site-footer__badges a svg {
  flex: none;
  width: 1rem;
  height: 1rem;
}
.site-footer__badge-lg {
  max-height: 12rem;
}
.site-footer__badge-sm {
  height: 5rem;
}
/* Plain text, in black so it doesn't read as a link. */
.site-footer__contact .site-footer__phone {
  margin-top: 0.25rem;
  color: var(--black);
}
.site-footer__links {
  grid-column: span 2;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-footer__links a {
  font-weight: 500;
  text-decoration: none;
}
.site-footer__links a:hover {
  color: var(--purple-50);
}
/* A text link followed by an icon, such as "opens in a new tab". */
.link-icon {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.link-icon svg {
  flex: none;
  width: 0.9em;
  height: 0.9em;
}
.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 0.125rem solid var(--purple-50);
  font-size: 0.875rem;
}
.site-footer__legal {
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* ---------- Narrow desktop and below (≤1199px) ---------- */

/* The top nav collapses into a hamburger menu: below 1200px the logo and
   links no longer fit on one line. */
@media (max-width: 1199px) {
  .menu-button {
    display: flex;
  }
  .site-header .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    padding: 0 5%;
  }
  .site-header .nav.is-open {
    display: block;
  }
  .site-header .nav__list {
    flex-direction: column;
    align-items: stretch;
    padding: 2rem;
    border-radius: var(--radius-card);
    background: var(--white);
  }
  .site-header .nav__link,
  .site-header .nav__toggle {
    justify-content: center;
    width: 100%;
    padding: 0.75rem 0;
    font-size: 1.125rem;
  }
  .site-header .dropdown__menu {
    position: static;
    display: none;
    padding: 0;
    border: 0;
    background: none;
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: none;
  }
  .site-header .dropdown.is-open .dropdown__menu {
    display: block;
  }
  .site-header .dropdown__menu a {
    padding: 0.75rem 0;
    text-align: center;
  }
  .site-header .dropdown__menu a.link-icon {
    justify-content: center;
  }
  .site-header .dropdown {
    font-size: 1.125rem;
  }
}

/* ---------- Tablet (≤991px) ---------- */

@media (max-width: 991px) {
  h1,
  .heading-xl {
    font-size: 3.25rem;
  }
  h2,
  .heading-lg {
    font-size: 2.75rem;
  }
  h3,
  .heading-md {
    font-size: 2.25rem;
  }
  h4 {
    font-size: 1.75rem;
  }
  .heading-sm {
    font-size: 1.75rem;
  }
  .display {
    letter-spacing: 0;
  }
  .display-sm,
  .display-xs {
    font-size: 3.25rem;
  }
  .section-md {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
  .section-lg {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }
  .split {
    gap: 4rem 3rem;
  }
  .split--wide-left,
  .testimonials__head {
    grid-template-columns: 1fr;
    gap: 2rem 3rem;
  }
  .mt-lg {
    margin-top: 2.5rem;
  }

  .panel {
    max-width: none;
  }
  .cta {
    border-radius: 0;
  }

  .float-nav,
  .hide-tablet {
    display: none;
  }

  .hero__grid {
    grid-template-columns: 1fr;
  }
  .feature-grid {
    grid-template-columns: 1fr 1fr;
  }
  .feature-card {
    aspect-ratio: 1;
  }
  .feature-photo--last-tablet {
    order: 1;
  }
  .testimonial {
    gap: 2.5rem;
  }
  .stats {
    gap: 2rem 3rem;
  }
  .site-footer__top {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 3.5rem 11vw;
  }
  .site-footer__logo img {
    max-width: 19.4rem;
  }
}

/* ---------- Phone landscape (≤767px) ---------- */

@media (max-width: 767px) {
  h1,
  .heading-xl {
    font-size: 2.5rem;
  }
  h2,
  .heading-lg {
    font-size: 2.25rem;
  }
  h3,
  .heading-md {
    font-size: 2rem;
  }
  h4,
  .heading-sm {
    font-size: 1.5rem;
    line-height: 1.4;
  }
  h5,
  .heading-xs {
    font-size: 1.25rem;
  }
  .display {
    font-size: 5.8rem;
  }
  .display-sm,
  .display-xs {
    font-size: 2.5rem;
  }
  .lead {
    font-size: 1.125rem;
  }
  .text-md {
    font-size: 1rem;
  }
  .section-sm {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }
  .section-md {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
  .section-lg {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
  .split {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .split--tight {
    gap: 1.25rem;
  }
  .stack-sm > * + * {
    margin-top: 1.25rem;
  }
  .stack-md > * + * {
    margin-top: 1.5rem;
  }
  .mt-md {
    margin-top: 1.5rem;
  }
  .mb-md {
    margin-bottom: 1.5rem;
  }
  .mt-lg {
    margin-top: 2rem;
  }
  .mb-sm {
    margin-bottom: 1.25rem;
  }

  .announcement__inner {
    padding-top: 1rem;
    padding-bottom: 1rem;
  }
  .announcement__content {
    grid-template-columns: 1fr;
    justify-items: start;
    margin: 0 1.75rem 0 0;
  }
  .announcement__content .btn {
    justify-self: start;
  }
  .announcement__close {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    margin: 0;
  }
  .site-header {
    min-height: 4rem;
  }

  .hero__cta {
    margin-top: 2rem;
  }

  .feature-card {
    padding-top: 2rem;
  }
  .feature-card__icon {
    width: 2rem;
    height: 2rem;
  }

  .steps__intro {
    position: static;
  }

  .testimonials__head {
    margin-bottom: 4rem;
  }
  .slider {
    padding-top: 5rem;
    padding-bottom: 0;
  }
  .slider__arrow {
    top: 0;
    bottom: auto;
  }
  .slider__arrow--prev {
    right: 3.5rem;
  }
  .slider__dots {
    top: 0;
    bottom: auto;
  }
  .testimonial {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .testimonial__text {
    order: -1;
  }
  .testimonial__title {
    margin-bottom: 1.5rem;
  }
  .testimonial__by {
    margin-top: 2rem;
  }
  .testimonial .quote {
    margin-bottom: 1.5rem;
  }

  .stats {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-top: 3.5rem;
  }
  .logos {
    padding-top: 1rem;
  }
  .logos img {
    max-height: 3rem;
  }

  .site-footer__inner {
    padding-top: 3rem;
  }
  .site-footer__top {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
    padding-bottom: 3rem;
    text-align: center;
  }
  .site-footer__contact {
    align-items: center;
    width: 100%;
    margin-bottom: 2rem;
  }
  /* Space on the left to match the new-tab icon, so the badge stays centered. */
  .site-footer__badges a {
    padding-left: 1.5rem;
  }
  /* Centered as a block, so the icons still line up on the left. */
  .site-footer__contact dd {
    width: fit-content;
    margin-inline: auto;
  }
  .site-footer__logo img {
    max-width: 100%;
  }
  .site-footer__badges {
    justify-items: center;
    width: 100%;
  }
  .site-footer__links {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    width: 100%;
  }
  .site-footer__bottom {
    flex-direction: column;
    align-items: center;
    padding-bottom: 1rem;
  }
  .site-footer__legal {
    flex-direction: column;
    gap: 1rem;
  }
  .site-footer__copyright {
    margin-top: 2rem;
  }
}

/* ---------- Phone portrait (≤479px) ---------- */

@media (max-width: 479px) {
  .display {
    font-size: 3.3rem;
  }
  .btn-row {
    flex-direction: column;
    align-items: stretch;
  }
  /* A centered row whose buttons keep their own width. */
  .btn-row--fit {
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
  }
  .feature-grid {
    grid-template-columns: 1fr;
  }
  .feature-card {
    aspect-ratio: auto;
  }
  .feature-photo {
    grid-column: auto;
  }
  .testimonials__mark {
    display: none;
  }
  .stats__list {
    grid-template-columns: 1fr;
  }
  .logos {
    justify-content: center;
  }
  .site-footer__bottom {
    text-align: center;
  }
}

/* ==================== About, FAQ and 404 ==================== */

/* ---------- Transparent header (About, FAQ: over a dark hero photo) ---------- */

.site-header--transparent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: transparent;
}
.site-header--transparent .menu-button span {
  background: var(--white);
}
@media (min-width: 1200px) {
  .site-header--transparent .nav__link,
  .site-header--transparent .nav__toggle,
  .site-header--transparent .nav__link[aria-current="page"] {
    color: var(--cream);
  }
}

/* ---------- Photo hero (About, FAQ) ---------- */

.photo-hero {
  position: relative;
  padding-top: 4.5rem;
  color: var(--white);
}
.photo-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.photo-hero__bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.photo-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #31055ad1;
}
.photo-hero__inner {
  display: flex;
  min-height: 100svh;
  max-height: 60rem;
  padding-top: 7rem;
  padding-bottom: 7rem;
}
.photo-hero__grid {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
}
.photo-hero__aside {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  margin: 0 7.5%;
}
.photo-hero__main {
  display: flex;
  flex-direction: column;
}
.photo-hero__main h1 {
  color: var(--cream);
}

/* ---------- What we believe (About) ---------- */

.beliefs {
  max-width: 64rem;
  margin: 0 auto;
}
.beliefs__intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
.beliefs__heading {
  margin-bottom: 1.5rem;
  font-size: 4.5rem;
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -6px;
}
.beliefs__intro + .beliefs__heading {
  margin-bottom: 2rem;
}
.beliefs__text {
  margin-bottom: 2rem;
  font-size: 1.125rem;
  line-height: 1.8;
}
.beliefs__text:last-child {
  margin-bottom: 1.5rem;
}

/* ---------- Team (About) ---------- */

.team-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 5rem;
}
.team-intro__text a {
  color: var(--purple-light);
}
.team-intro__text a:hover {
  color: var(--purple-50);
}
.team {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.team-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 2px solid var(--purple);
  border-radius: var(--radius-card);
  background: var(--purple);
  color: var(--white);
  text-align: center;
}
.team-card__photo {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  margin-bottom: 1.5rem;
  object-fit: cover;
  object-position: 50% 0%;
  filter: grayscale(1);
}
.team-card__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 2rem 1rem;
}
.team-card__social {
  display: block;
  width: 1.5rem;
  height: 1.5rem;
  margin-top: 2rem;
  color: var(--cream);
}
.team-card__social svg {
  width: 100%;
  height: 100%;
}

@media (max-width: 991px) {
  .photo-hero__inner {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }
  .beliefs__heading {
    font-size: 5rem;
    letter-spacing: 0;
  }
  .team-intro {
    margin-bottom: 4.5rem;
  }
  .team {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
}

@media (max-width: 767px) {
  .photo-hero {
    padding-top: 4rem;
  }
  .photo-hero__inner {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
  .photo-hero__grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .photo-hero__aside {
    margin: 0;
  }
  .photo-hero__main {
    order: -1;
  }
  .beliefs__heading {
    font-size: 5.8rem;
  }
  .beliefs__intro {
    gap: 1.25rem;
    margin-bottom: 1.25rem;
  }
  .beliefs__heading {
    margin-bottom: 1.25rem;
  }
  .beliefs__intro + .beliefs__heading {
    margin-bottom: 1.5rem;
  }
  .beliefs__text {
    margin-bottom: 1.5rem;
    font-size: 1rem;
  }
  .beliefs__text:last-child {
    margin-bottom: 1.25rem;
  }
  .team-intro {
    margin-bottom: 3rem;
  }
  .team {
    grid-template-columns: 1fr;
    gap: 3rem 1rem;
  }
  .team-card__photo {
    margin-bottom: 1.25rem;
  }
  .team-card__social {
    margin-top: 1.75rem;
  }
}

@media (max-width: 479px) {
  .photo-hero__icon {
    margin: 0 auto;
  }
  .beliefs__heading {
    font-size: 2rem;
  }
  .team-intro {
    grid-template-columns: 1fr;
  }
}

/* ---------- FAQ ---------- */

.faq-hero {
  max-width: var(--container);
  padding-top: 10rem;
  padding-bottom: 10rem;
}
.faq-hero__title {
  max-width: 64rem;
  margin-bottom: 2rem;
  font-size: 6rem;
  font-weight: 300;
  line-height: 1;
  letter-spacing: -3px;
}

.faq-categories {
  padding-top: 6rem;
}
.faq-categories .container--narrow {
  margin-bottom: 5rem;
}
.faq-categories__menu {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 2rem;
  margin-bottom: 4rem;
}
.faq-categories__link {
  flex: none;
  padding: 0.5rem 1rem;
  white-space: nowrap;
  text-decoration: none;
}
.faq-categories__link .eyebrow {
  margin: 0;
}

.faq {
  max-width: 48rem;
  margin: 0 auto;
  /* The original's sections close with one more section of padding. */
  padding-bottom: 7rem;
}
.faq__group--joined {
  padding-top: 0;
}
.faq__heading {
  margin-bottom: 5rem;
}
.faq__list {
  display: grid;
  gap: 1rem;
}
.faq-item {
  border: 2px solid var(--purple);
  border-radius: var(--radius-card);
  background: var(--cream);
  interpolate-size: allow-keywords;
}
/* Open and close smoothly where the browser can animate <details>. */
.faq-item::details-content {
  height: 0;
  overflow: hidden;
  transition:
    height 0.4s ease,
    content-visibility 0.4s allow-discrete;
}
.faq-item[open]::details-content {
  height: auto;
}
.faq-item__question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  font-size: 1.125rem;
  font-weight: 700;
  list-style: none;
  cursor: pointer;
}
.faq-item__question::-webkit-details-marker {
  display: none;
}
.faq-item__icon {
  display: flex;
  align-self: flex-start;
  flex: none;
  width: 2rem;
  height: 2rem;
  margin-left: 1.5rem;
  transition: transform 0.2s ease;
}
.faq-item__icon svg {
  width: 100%;
  height: 100%;
}
.faq-item[open] .faq-item__icon {
  transform: rotate(45deg);
}
.faq-item__answer {
  padding: 0 1.5rem 1.5rem;
}
.faq-item__answer ul {
  margin: 1rem 0;
  padding-left: 1.25rem;
}
.faq-item__answer li {
  margin: 0.25rem 0;
  padding-left: 0.5rem;
}
.faq-item__answer > :first-child {
  margin-top: 0;
}
.faq-item__answer > :last-child {
  margin-bottom: 0;
}

@media (max-width: 991px) {
  .faq-hero {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }
  .faq-hero__title {
    font-size: 3.25rem;
  }
  .faq-categories {
    padding-top: 5rem;
  }
  .faq-categories .container--narrow {
    margin-bottom: 4.5rem;
  }
  .faq__heading {
    margin-bottom: 4.5rem;
  }
  .faq {
    padding-bottom: 6rem;
  }
}

@media (max-width: 767px) {
  .faq-hero {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
  .faq-hero__title {
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
  }
  .faq-categories {
    padding-top: 3.5rem;
  }
  .faq-categories .container--narrow {
    margin-bottom: 3rem;
  }
  /* Category pills scroll sideways, edge to edge. */
  .faq-categories__menu {
    justify-content: flex-start;
    width: 100vw;
    margin-left: -5vw;
    margin-bottom: 3rem;
    padding-left: 5vw;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .faq-categories__menu::-webkit-scrollbar {
    display: none;
  }
  .faq__heading {
    margin-bottom: 3rem;
  }
  .faq {
    padding-bottom: 4rem;
  }
  .faq-item__question {
    padding: 1rem 1.25rem;
    font-size: 1rem;
  }
  .faq-item__icon {
    width: 1.75rem;
  }
  .faq-item__answer {
    padding: 0 1.25rem 1.25rem;
  }
}

/* ---------- 404 ---------- */

.not-found {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100svh;
  padding: 0 1.25rem;
}
.not-found__content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 20rem;
  text-align: center;
}
.not-found__icon {
  margin: 0 auto -0.5rem;
}

/* ==================== Enterprise, Guarantee, Privacy Policy and Terms of Service ==================== */

/* Thick underline under a highlighted word in a heading. */
.underline-strong {
  border-bottom: 0.25rem solid var(--purple);
}

/* ---------- Page header (text + rounded photo) ---------- */

.page-header {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 4rem 2.7rem;
  align-items: center;
}
.page-header__image {
  width: 100%;
  min-height: 28rem;
  object-fit: cover;
  border: 2px solid var(--purple);
  border-radius: 6rem 50% 50%;
}

/* ---------- "Why Pearl Edison" (photo background) ---------- */

.why {
  position: relative;
  isolation: isolate;
  color: var(--white);
}
.why__background {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(#00000080, #00000080);
}
.why__background::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #31055ad1;
}
.why__background img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.why__grid {
  display: grid;
  grid-template-columns: 0.5fr 1fr;
  gap: 4rem 5rem;
  align-items: start;
}
.why .eyebrow {
  color: var(--purple);
}
.why__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem 3rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* ---------- Tabs ---------- */

.tabs__list {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 4rem;
  padding: 0.5rem;
  overflow: auto;
  border-radius: var(--radius-card);
  background: var(--lavender);
}
.tabs__tab {
  flex: none;
  padding: 0.5rem 1.25rem;
  border: 1px solid transparent;
  border-radius: var(--radius-card);
  background: none;
  color: var(--purple);
  text-align: left;
  cursor: pointer;
}
.tabs__tab:hover {
  color: var(--purple-50);
}
.tabs__tab[aria-selected="true"] {
  background: var(--purple);
  color: var(--white);
}

/* One tab's content: benefits on the left, an example card on the right. */
.industry {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}
.industry[hidden] {
  display: none;
}
.feature-list {
  display: grid;
  gap: 2rem;
  margin: 0;
  padding: 0.5rem 0;
  list-style: none;
}
.feature-list__item {
  display: flex;
}
.feature-list__icon {
  flex: none;
  width: 3rem;
  height: 3rem;
  margin-right: 1rem;
  color: var(--purple);
}
.feature-list__title {
  margin-bottom: 1rem;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0;
}
.example-card__wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}
.example-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem;
  border-radius: var(--radius-card);
  background: var(--purple);
  color: var(--white);
}
.example-card__text p {
  margin-bottom: 1rem;
}
.example-card__text p:last-child {
  margin-bottom: 0;
}

/* ---------- Closing CTA ("Let's work together.") ---------- */

.closing {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem 5rem;
  align-items: center;
}
.closing__image {
  width: 100%;
  height: 100%;
  border: 2px solid var(--purple);
  border-radius: 6rem 50%;
}

/* Small bold label above a centered heading ("Our Promise"). */
.tagline {
  display: inline-block;
  margin-bottom: 1rem;
  font-weight: 600;
}
.guarantee-header {
  display: grid;
  gap: 3rem;
}
.guarantee-header__image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius-card);
  background: var(--purple);
}

/* The promise: a vertical tab list, each tab's text unfolding under it,
   and the tab's photo on the right. */
.promise {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem 5rem;
  align-items: center;
  padding: 2rem;
  background: var(--cream);
}
.promise__item {
  border-bottom: 1px solid #000;
  padding: 1.5rem 0;
  color: #222;
  opacity: 0.4;
  transition: opacity 0.2s ease;
}
.promise__item:has([aria-selected="true"]) {
  opacity: 1;
}
.promise__tab {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font-size: 2rem;
  font-weight: 300;
  line-height: 1.3;
  text-align: left;
  cursor: pointer;
}
.promise__detail {
  display: grid;
  grid-template-rows: 0fr;
  font-weight: 300;
  transition: grid-template-rows 0.4s ease;
}
.promise__detail > p {
  overflow: hidden;
}
.promise__tab[aria-selected="true"] + .promise__detail {
  grid-template-rows: 1fr;
}
.promise__tab[aria-selected="true"] + .promise__detail > p {
  padding-top: 1rem;
}
.promise__panel[hidden] {
  display: none;
}
.promise__panel img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 30rem;
  max-height: 40rem;
  object-fit: cover;
  border-radius: 1rem;
}

.standards__intro {
  margin-bottom: 5rem;
}
.standards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4rem 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--cream);
}
.standards__item {
  min-height: 25rem;
  padding: 1rem 1rem 3rem;
  border-radius: 1rem;
  background: var(--purple);
  font-weight: 300;
}
.standards__title {
  margin-bottom: 1rem;
}
.standards__link {
  color: var(--cream);
  text-decoration: underline;
}

.featured-partner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem 5rem;
  align-items: center;
}
.featured-partner__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 1rem;
}
.featured-partner__logo {
  display: block;
  max-height: 6rem;
  width: auto;
}
.featured-partner__facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  grid-auto-flow: column;
  gap: 0.5rem 1.5rem;
  margin: 0;
  padding: 0.5rem 0;
}
.featured-partner__facts dd {
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.4;
}
.featured-partner__facts .featured-partner__certs {
  margin-top: 0.5rem;
}

/* ---------- Legal pages (long rich text) ---------- */

.container--legal {
  max-width: 48rem;
}
/* Long URLs in the policy text wrap instead of widening the page on phones. */
.legal {
  overflow-wrap: anywhere;
}
.legal h3,
.legal h4 {
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 300;
}
.legal h3 {
  font-size: 2.5rem;
  line-height: 1.2;
  letter-spacing: -0.05rem;
}
.legal h4 {
  font-size: 2rem;
  line-height: 1.3;
}
.legal p {
  margin-bottom: 1rem;
}
.legal ul {
  margin: 1rem 0;
  padding-left: 1.25rem;
  overflow: hidden;
}
.legal li {
  margin: 0.25rem 0;
  padding-left: 0.5rem;
}
.legal a {
  color: var(--purple-light);
}
.legal a:hover {
  color: var(--purple-50);
}
.legal > :first-child {
  margin-top: 0;
}
.legal > :last-child {
  margin-bottom: 0;
}

/* ---------- Tablet (≤991px) ---------- */

@media (max-width: 991px) {
  .page-header,
  .closing,
  .industry {
    grid-template-columns: 1fr;
  }
  .page-header__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .why__grid {
    gap: 4rem 3rem;
  }
  .why__list {
    column-gap: 2rem;
  }
  .tabs__list {
    flex-flow: column wrap;
  }
  .standards {
    grid-template-columns: 1fr 1fr;
  }
  .promise {
    column-gap: 3rem;
  }
  .promise__tab {
    font-size: 1.75rem;
  }
  .legal h3 {
    font-size: 2.25rem;
  }
  .legal h4 {
    font-size: 1.75rem;
  }
  .featured-partner {
    column-gap: 3rem;
  }
}

/* ---------- Phone landscape (≤767px) ---------- */

@media (max-width: 767px) {
  .page-header,
  .closing {
    gap: 3rem;
  }
  .why__grid {
    grid-template-columns: 1fr;
    row-gap: 3rem;
  }
  .why__list {
    row-gap: 3rem;
  }
  .tabs__list {
    width: 100vw;
    margin-bottom: 3rem;
    margin-left: -5vw;
    padding-left: 5vw;
    padding-right: 5vw;
  }
  .feature-list__title {
    font-size: 1.125rem;
  }
  .feature-list__icon {
    width: 2rem;
    height: 2rem;
  }
  .standards__intro {
    margin-bottom: 3rem;
  }
  .standards {
    grid-template-columns: 1fr;
    row-gap: 3rem;
  }
  .standards__item {
    min-height: auto;
  }
  .promise {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .promise__list {
    margin-bottom: 2rem;
  }
  .promise__tab {
    font-size: 1.5rem;
    line-height: 1.4;
  }
  .legal h3 {
    font-size: 2rem;
  }
  .legal h4 {
    font-size: 1.5rem;
    line-height: 1.4;
  }
  .featured-partner {
    grid-template-columns: 1fr;
    row-gap: 3rem;
  }
  .featured-partner__facts dd {
    font-size: 1.125rem;
  }
}

/* ---------- Phone portrait (≤479px) ---------- */

@media (max-width: 479px) {
  .page-header__content {
    align-items: stretch;
  }
  .page-header__content > svg {
    margin-left: auto;
    margin-right: auto;
  }
  .why__list {
    grid-template-columns: 1fr;
  }
  .example-card {
    padding: 2rem 1rem;
  }
  .example-card__wrapper {
    height: auto;
  }
  .standards {
    row-gap: 1rem;
  }
  .promise {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .featured-partner__facts {
    grid-template-rows: none;
    grid-auto-flow: row;
  }
}

/* ==================== Homeowner, How It Works and Contractors ==================== */

/* ---------- Image hero (homeowner): text left, rounded photo right ---------- */

.image-hero {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 4rem 2.7rem;
  align-items: center;
}
.image-hero__title {
  margin-bottom: 4rem;
}
.image-hero__image {
  width: 100%;
  height: 100%;
  min-height: 28rem;
  object-fit: cover;
  border: 2px solid var(--purple);
  border-radius: 6rem 50% 50%;
}

/* ---------- Benefit cards (homeowner: Instant / Personalized / ...) ---------- */

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.benefit-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  padding: 2rem 2rem 2rem 1.5rem;
  overflow: hidden;
  border-radius: var(--radius-card);
  background: var(--purple);
  color: var(--white);
}
.benefit-card__icon {
  width: 3rem;
  height: 3rem;
}
.benefit-card__title {
  margin-bottom: 3rem;
  font-size: 2rem;
  font-weight: 300;
  line-height: 1.3;
  letter-spacing: 0;
}

/* Homeowner / Contractor switch: a lavender pill with the current tab filled. */
.audience-tabs {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.audience-tabs__list {
  display: flex;
  align-items: center;
  margin-bottom: 4rem;
  padding: 0.25rem;
  overflow: hidden;
  border-radius: var(--radius-card);
  background: var(--lavender);
}
.audience-tabs__tab {
  flex: none;
  padding: 0.5rem 1.25rem;
  border: 0;
  border-radius: var(--radius-card);
  background: none;
  color: var(--purple);
  cursor: pointer;
}
.audience-tabs__tab:hover {
  color: var(--purple-50);
}
.audience-tabs__tab[aria-selected="true"] {
  background: var(--purple);
  color: var(--white);
}
.audience-tabs__panel {
  width: 100%;
}
.audience-tabs__intro {
  max-width: 64rem;
  margin: 0 auto 2rem;
  text-align: center;
}
.heading-tabs {
  font-size: 6rem;
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: -0.09rem;
}

/* Numbered steps: underlined text tabs over an image + text pane. */
.step-tabs__list {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 4rem;
  overflow: auto;
  scrollbar-width: none;
}
.step-tabs__list::-webkit-scrollbar {
  display: none;
}
.step-tabs__tab {
  flex: none;
  padding: 0.5rem 0;
  border: 0;
  border-bottom: 1.5px solid transparent;
  background: none;
  color: #222;
  cursor: pointer;
}
.step-tabs__tab[aria-selected="true"] {
  border-bottom: 0.25rem solid var(--purple-light);
  font-weight: 700;
}
.step-pane {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem 5rem;
  align-items: center;
}
.step-pane[hidden],
.audience-tabs__panel[hidden] {
  display: none;
}
.audience-tabs__panel:not([hidden]),
.step-pane:not([hidden]) {
  animation: tab-in 0.3s ease;
}
@keyframes tab-in {
  from {
    opacity: 0;
  }
}
.step-pane__image {
  width: 100%;
  min-height: 25rem;
  object-fit: cover;
  border-radius: 1%;
}
.step-pane__image--shadow {
  box-shadow:
    0 20px 24px -4px #00000014,
    0 8px 8px -4px #00000008;
}

/* Big headings ("Win more, spend less.", "Customers - not leads."). */
.benefit-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}
/* Contractors' cards keep 3rem between title and text (gap included). */
.benefit-card__subtitle {
  margin-bottom: 2rem;
}
.testimonials__lede {
  max-width: 30rem;
  margin: 1rem 0 3rem;
}
.join-map {
  width: 100%;
}

/* ---------- Tablet (≤991px) ---------- */

@media (max-width: 991px) {
  .image-hero {
    grid-template-columns: 1fr;
  }
  .image-hero__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .image-hero__title {
    margin-bottom: 3.5rem;
  }
  .benefit-grid {
    grid-template-columns: 1fr 1fr;
  }
  .benefit-card__title {
    font-size: 1.75rem;
  }
  .heading-tabs {
    font-size: 3.25rem;
  }
  .step-pane {
    gap: 4rem 3rem;
  }
  .benefit-grid--3 {
    grid-template-columns: 1fr 1fr;
  }
  .join-cta {
    grid-template-columns: 1fr;
  }
}

/* ---------- Phone landscape (≤767px) ---------- */

@media (max-width: 767px) {
  .image-hero {
    gap: 3rem;
  }
  .image-hero__title {
    margin-bottom: 2.5rem;
  }
  .benefit-card__icon {
    width: 2rem;
    height: 2rem;
  }
  .benefit-card__title {
    font-size: 1.5rem;
    line-height: 1.4;
  }
  .audience-tabs {
    align-items: flex-start;
  }
  .audience-tabs__list {
    max-width: 100%;
  }
  .heading-tabs {
    font-size: 2.5rem;
  }
  /* Full-bleed: the row scrolls edge to edge of the screen. */
  .step-tabs__list {
    width: 100vw;
    margin-bottom: 3rem;
    margin-left: calc(50% - 50vw);
    padding: 0 5vw;
  }
  .step-pane {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .benefit-grid--3 {
    grid-template-columns: 1fr;
  }
}

/* ---------- Phone portrait (≤479px) ---------- */

@media (max-width: 479px) {
  .image-hero__content {
    align-items: stretch;
  }
  .image-hero__content > svg {
    margin-left: auto;
    margin-right: auto;
  }
  .benefit-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
