/* Warranty landing — storefront guide to app registration */

.sunpal-warranty-page {
  overflow: clip;
  background:
    radial-gradient(900px 420px at 12% -8%, rgba(22, 139, 61, .12), transparent 58%),
    linear-gradient(180deg, #f4f8f5 0%, #fff 28%, #fff 100%);
}

.sunpal-warranty-hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: calc(100svh - 70px);
  color: #fff;
}

.sunpal-warranty-hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% center;
}

.sunpal-warranty-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(9, 11, 13, .8) 0%, rgba(9, 11, 13, .5) 44%, rgba(9, 11, 13, .2) 74%, transparent 92%),
    linear-gradient(180deg, rgba(9, 11, 13, .16) 0%, rgba(9, 11, 13, .58) 100%);
}

.sunpal-warranty-hero-copy {
  position: relative;
  z-index: 1;
  width: min(640px, calc(100% - 56px));
  margin: 0 auto 0 max(28px, calc((100vw - 1380px) / 2));
  padding: 88px 0 72px;
}

.sunpal-warranty-crumb {
  display: flex;
  gap: 12px;
  margin: 0 0 22px;
  color: rgba(255, 255, 255, .72);
  font-size: 12px;
}

.sunpal-warranty-crumb a { color: inherit; }
.sunpal-warranty-crumb strong { color: #fff; font-weight: 700; }

.sunpal-warranty-brand,
.sunpal-warranty-eyebrow {
  margin: 0 0 14px;
  color: #8fd6a5;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.sunpal-warranty-hero h1 {
  margin: 0 0 16px;
  max-width: 16ch;
  font-size: clamp(42px, 5.6vw, 72px);
  font-weight: 720;
  line-height: .98;
  letter-spacing: -.035em;
}

.sunpal-warranty-lede {
  margin: 0 0 28px;
  max-width: 44ch;
  color: rgba(255, 255, 255, .88);
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.5;
}

.sunpal-warranty-hero-cta,
.sunpal-warranty-need-copy nav,
.sunpal-warranty-cta nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.sunpal-warranty-hero .button,
.sunpal-warranty-need-copy .button,
.sunpal-warranty-cta .button {
  position: relative;
  isolation: isolate;
  min-height: 48px;
  padding: 0 20px !important;
  border-radius: 999px !important;
  border: 1px solid transparent;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 750 !important;
  line-height: 1 !important;
  box-shadow: none !important;
  transform: none;
  overflow: hidden;
}

.sunpal-warranty-hero .button::before,
.sunpal-warranty-hero .button::after,
.sunpal-warranty-hero .button.secondary::before,
.sunpal-warranty-hero .button.secondary::after {
  content: none !important;
  display: none !important;
}

/* Beat theme.css .button { background: var(--ink) !important } */
.sunpal-warranty-hero .button,
.sunpal-warranty-need-copy .button:not(.secondary),
.sunpal-warranty-cta .button:not(.secondary) {
  background: var(--green) !important;
  border-color: var(--green) !important;
  color: #fff !important;
}

/* Beat theme.css .button.secondary { background: transparent !important; color: ink } */
.sunpal-warranty-hero .button.secondary,
.sunpal-warranty-hero .button.sunpal-warranty-hero-secondary {
  background: rgba(255, 255, 255, .16) !important;
  border-color: rgba(255, 255, 255, .55) !important;
  color: #fff !important;
  /* backdrop-filter on transparent overrides looked like a misaligned dark slab */
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.sunpal-warranty-hero .button:hover,
.sunpal-warranty-hero .button.secondary:hover {
  transform: translateY(-1px);
  opacity: .96;
}

.sunpal-warranty-steps,
.sunpal-warranty-need,
.sunpal-warranty-links,
.sunpal-warranty-faq,
.sunpal-warranty-cta {
  max-width: 1100px;
  margin: 0 auto;
  padding: 72px 28px;
}

.sunpal-warranty-steps header,
.sunpal-warranty-links header,
.sunpal-warranty-faq header {
  max-width: 640px;
  margin: 0 0 36px;
}

.sunpal-warranty-steps .sunpal-warranty-eyebrow,
.sunpal-warranty-need .sunpal-warranty-eyebrow,
.sunpal-warranty-links .sunpal-warranty-eyebrow,
.sunpal-warranty-faq .sunpal-warranty-eyebrow {
  color: var(--green);
}

.sunpal-warranty-steps h2,
.sunpal-warranty-need h2,
.sunpal-warranty-links h2,
.sunpal-warranty-faq h2,
.sunpal-warranty-cta h2 {
  margin: 0 0 14px;
  font-size: clamp(32px, 4vw, 46px);
  font-weight: 720;
  letter-spacing: -.03em;
  line-height: 1.05;
}

.sunpal-warranty-steps header span {
  display: block;
  color: #5b6165;
  font-size: 15px;
  line-height: 1.55;
}

.sunpal-warranty-step-list,
.sunpal-warranty-link-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sunpal-warranty-link-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 32px;
}

.sunpal-warranty-step-list li {
  display: grid;
  gap: 10px;
  align-content: start;
}

.sunpal-warranty-step-list b {
  color: var(--green);
  font-size: 12px;
  letter-spacing: .12em;
}

.sunpal-warranty-step-list strong {
  font-size: 20px;
  letter-spacing: -.02em;
}

.sunpal-warranty-step-list p {
  margin: 0;
  color: #5b6165;
  font-size: 14px;
  line-height: 1.55;
}

.sunpal-warranty-need {
  border-radius: 22px;
  background:
    linear-gradient(120deg, rgba(9, 11, 13, .84), rgba(9, 11, 13, .45)),
    url("../images/home-solar-system.webp") center / cover no-repeat;
  color: #fff;
  padding: 64px 48px;
}

.sunpal-warranty-need .sunpal-warranty-eyebrow { color: #8fd6a5; }

.sunpal-warranty-need-copy ul {
  margin: 0 0 18px;
  padding: 0 0 0 1.1em;
  max-width: 46ch;
  color: rgba(255, 255, 255, .9);
  font-size: 16px;
  line-height: 1.65;
}

.sunpal-warranty-need-copy > p {
  margin: 0 0 24px;
  max-width: 46ch;
  color: rgba(255, 255, 255, .82);
  font-size: 15px;
  line-height: 1.55;
}

.sunpal-warranty-need-copy .button.secondary {
  background: rgba(255, 255, 255, .12);
  border-color: rgba(255, 255, 255, .42);
  color: #fff;
}

.sunpal-warranty-link-list a {
  display: grid;
  gap: 6px;
  padding: 8px 0;
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid #e4e9e5;
}

.sunpal-warranty-link-list a:hover strong { color: var(--green); }

.sunpal-warranty-link-list strong {
  font-size: 18px;
  letter-spacing: -.02em;
}

.sunpal-warranty-link-list span {
  color: #5b6165;
  font-size: 14px;
  line-height: 1.45;
}

.sunpal-warranty-faq-list {
  display: grid;
  gap: 10px;
  max-width: 760px;
}

.sunpal-warranty-faq-list details {
  border-top: 1px solid #e4e9e5;
  padding: 16px 0;
}

.sunpal-warranty-faq-list details:last-child {
  border-bottom: 1px solid #e4e9e5;
}

.sunpal-warranty-faq-list summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -.015em;
  list-style: none;
}

.sunpal-warranty-faq-list summary::-webkit-details-marker { display: none; }

.sunpal-warranty-faq-list p {
  margin: 12px 0 0;
  color: #5b6165;
  font-size: 15px;
  line-height: 1.6;
}

.sunpal-warranty-faq-list a {
  display: inline-flex;
  margin-top: 10px;
  font-weight: 750;
  color: var(--green);
}

.sunpal-warranty-cta {
  text-align: center;
  padding-bottom: 110px;
}

.sunpal-warranty-cta .sunpal-warranty-brand { color: var(--green); }

.sunpal-warranty-cta p {
  margin: 0 auto 28px;
  max-width: 42ch;
  color: #5b6165;
  font-size: 16px;
  line-height: 1.55;
}

.sunpal-warranty-need-copy .button.secondary,
.sunpal-warranty-cta .button.secondary {
  background: #fff;
  border-color: #cfd5d1;
  color: var(--ink);
}

.sunpal-warranty-need-copy .button.secondary {
  background: rgba(255, 255, 255, .12);
  border-color: rgba(255, 255, 255, .42);
  color: #fff;
}

@media (max-width: 900px) {
  .sunpal-warranty-step-list,
  .sunpal-warranty-link-list {
    grid-template-columns: 1fr;
  }

  .sunpal-warranty-hero-copy {
    width: calc(100% - 40px);
    margin: 0 20px;
    padding: 72px 0 56px;
  }

  .sunpal-warranty-need { padding: 48px 28px; }
}

@media (max-width: 560px) {
  .sunpal-warranty-hero { min-height: 720px; }
  .sunpal-warranty-hero-cta,
  .sunpal-warranty-need-copy nav,
  .sunpal-warranty-cta nav { flex-direction: column; }
  .sunpal-warranty-hero .button,
  .sunpal-warranty-need-copy .button,
  .sunpal-warranty-cta .button { width: 100%; justify-content: center; }
}
