/* Approved seated-Iggy financing layout. All styling stays on this page. */
@font-face { font-family: 'Belman Finance'; src: url('assets/montserrat-medium.ttf') format('truetype'); font-weight: 400 500; font-display: swap; }
@font-face { font-family: 'Belman Finance'; src: url('assets/montserrat-semibold.ttf') format('truetype'); font-weight: 600 800; font-display: swap; }
.financing-page { --iggy-green: #22a447; --paper: #fff; --line: #dbe5f0; background: #fff; }
.financing-page main { background: #fff; }
.financing-page .wrap { max-width: 1440px; }
.finance-hero {
  overflow: hidden;
  background-color: #e9f3d7;
  background-image: linear-gradient(rgb(255 255 255 / 8%), rgb(255 255 255 / 8%)), url('assets/hurricane-savings-money-remix-v1.png');
  background-size: auto, 620px 620px;
  background-position: center;
  background-repeat: repeat;
}
.finance-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  padding-top: 30px;
  padding-bottom: 22px;
}
.finance-intro-copy { position: relative; z-index: 2; --intro-pad: clamp(24px, 2.5vw, 36px); padding: var(--intro-pad); border: 1px solid rgb(255 255 255 / 85%); border-radius: 18px; background: rgb(255 255 255 / 96%); box-shadow: 0 8px 28px rgb(24 35 55 / 10%); }
.finance-intro .eyebrow {
  color: var(--muted);
  font-size: clamp(17px, 1.6vw, 21px);
  font-weight: 800;
  letter-spacing: .14em;
  gap: 18px;
  margin-bottom: 38px;
}
.finance-intro .orange-square { width: 9px; height: 9px; }
.finance-intro h1 { font-size: clamp(38px, 4.4vw, 64px); color: var(--iggy-green); line-height: 1.08; letter-spacing: -.035em; }
.finance-intro h1 > span { display: block; }
.finance-heading { position: relative; isolation: isolate; }
.finance-heading h1 {
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 1px 0 rgb(24 35 55 / 72%)) drop-shadow(0 3px 3px rgb(24 35 55 / 30%));
}
.finance-title-lettering { color: var(--iggy-green); -webkit-text-stroke: .6px rgb(12 85 36 / 85%); }
@supports ((background-clip: text) or (-webkit-background-clip: text)) {
  .finance-title-lettering {
    background-color: var(--iggy-green);
    background-image: linear-gradient(rgb(0 62 22 / 10%), rgb(0 62 22 / 10%)), url("assets/roofing-outline-pattern-green-v1.webp");
    background-repeat: repeat;
    background-size: 180px 120px;
    background-position: left center;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
  }
}
.finance-intro-copy > .finance-tagline { margin-top: 28px; font-size: clamp(17px, 1.9vw, 25px); line-height: 1.5; color: var(--muted); }
/* The financing offer joins the hero panel along a fine copper edge. */
.finance-offer {
  --type-shadow-heading: none;
  --type-shadow-copy: none;
  --type-shadow-label: none;
  isolation: isolate;
  position: relative;
  overflow: hidden;
  margin: clamp(20px, 2.2vw, 30px) calc(-1 * var(--intro-pad)) calc(-1 * var(--intro-pad));
  padding: clamp(24px, 2.4vw, 32px) var(--intro-pad);
  border-top: 2px solid #94b8ff;
  border-radius: 0 0 17px 17px;
  background: linear-gradient(180deg, rgb(255 255 255 / 7%), transparent 34%, transparent 64%, rgb(3 12 85 / 18%)), var(--blue);
  color: #fff;
}
.finance-offer-lead {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(14px, 1.8vw, 26px);
}
.finance-offer-amount {
  display: flex;
  align-items: baseline;
  justify-content: center;
  width: clamp(78px, 8.7vw, 116px);
  padding: .19em .06em .22em;
  border: 1px solid #d2e0f4;
  border-radius: 12px;
  background: linear-gradient(145deg, #fff 0%, #eef4fb 52%, #c9d9ed 100%);
  color: #0b2c55;
  box-shadow: inset 0 1px 0 #fff, 0 5px 14px rgb(2 11 28 / 24%);
  font: 600 clamp(3rem, 5.1vw, 4.4rem)/1 'Belman Finance', Arial, sans-serif;
  letter-spacing: -.065em;
  text-shadow: none;
}
.finance-offer-amount span {
  margin-right: .04em;
  align-self: flex-start;
  padding-top: .17em;
  font-size: .49em;
  letter-spacing: -.045em;
}
.finance-offer h2 {
  font: 700 clamp(1.7rem, 2.7vw, 2.65rem)/1.1 'Belman Finance', Arial, sans-serif;
  letter-spacing: -.04em;
  text-transform: none;
  color: #fff;
}
.finance-offer .finance-offer-installments {
  margin: .48em 0 0;
  max-width: 36ch;
  color: #e4edfb;
  font: 500 clamp(1rem, 1.25vw, 1.19rem)/1.45 'Belman Finance', Arial, sans-serif;
}
.finance-offer-description {
  max-width: 53ch;
  margin: 24px 0 0;
  font: 500 clamp(1rem, 1.25vw, 1.19rem)/1.55 'Belman Finance', Arial, sans-serif;
  color: #fff;
}
.finance-offer-terms {
  max-width: 53ch;
  margin: 17px 0 0;
  font: 500 1rem/1.5 'Belman Finance', Arial, sans-serif;
  color: #e1ebfb;
}
@media (max-width: 400px) {
  .finance-offer-lead { gap: 12px; }
  .finance-offer-amount { width: 66px; font-size: 2.75rem; }
  .finance-offer h2 { font-size: 1.4rem; }
}
.finance-iggy { position: relative; isolation: isolate; width: 100%; max-width: 450px; justify-self: end; }
.finance-iggy > img { position: relative; z-index: 1; width: 100%; height: auto; }
.finance-iggy-ledge {
  position: absolute;
  top: 71.5%;
  bottom: -22px;
  left: -14%;
  right: calc(-1 * var(--pad));
  border-radius: 28px 0 0 0;
  background: linear-gradient(120deg, #d0def5, #eef3ff 72%);
  box-shadow: inset 0 15px 15px -12px #fff, inset 18px 0 32px -28px #8499c5;
}
.finance-iggy-ledge::before {
  content: '';
  position: absolute;
  left: 28%;
  right: 10%;
  top: -4px;
  height: 20px;
  border-radius: 50%;
  background: rgb(61 85 151 / 15%);
  filter: blur(9px);
}
.finance-options { padding-top: 50px; background: linear-gradient(#f2f5ff, #fafbff 80%, #fff); }
.finance-programs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.finance-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(28px, 3.4vw, 48px);
  background: #fff;
  border: 1px solid #dbe5f0;
  border-top: 5px solid var(--orange);
  border-radius: 18px;
  box-shadow: 0 6px 15px rgb(35 79 132 / 10%);
}
.finance-card-grant { border-top-color: #58ab16; }
.finance-card .eyebrow { color: #49515f; font-family: 'Belman Finance', Arial, sans-serif; font-size: clamp(20px, 1.85vw, 25px); font-weight: 800; letter-spacing: .07em; margin-bottom: 24px; }
.finance-card .finance-program-logo { display: flex; align-items: center; height: clamp(128px, 15vw, 180px); flex-shrink: 0; line-height: 0; margin-bottom: 22px; }
/* Keep the supplied 4K program logos and hide only their empty canvas margins. */
.finance-logo-artwork { position: relative; display: block; max-width: 100%; overflow: hidden; }
.finance-program-logo-msfh .finance-logo-artwork { width: 330px; aspect-ratio: 3580 / 1921; }
.finance-program-logo-ygrene .finance-logo-artwork { width: 405px; aspect-ratio: 3574 / 1292; }
.finance-logo-artwork img { position: absolute; display: block; height: auto; max-width: none; }
.finance-program-logo-msfh img { width: 107.26257%; left: -3.63129%; top: -5.93441%; }
.finance-program-logo-ygrene img { width: 107.44264%; left: -3.69334%; top: -33.59133%; }
.finance-card > p:not(.eyebrow) { font-size: clamp(17px, 1.75vw, 24px); line-height: 1.5; color: var(--muted); margin-bottom: 28px; }
.financing-page .finance-button {
  border: 2px solid var(--blue);
  border-radius: 999px;
  background: #fff;
  color: var(--blue);
  min-height: 52px;
  padding: 11px 25px;
  gap: 18px;
  box-shadow: 0 2px 7px rgb(8 43 234 / 4%);
  font-size: clamp(15px, 1.5vw, 20px);
  font-weight: 600;
}
.finance-card .finance-button { align-self: flex-start; }
.finance-button .icon { width: 22px; height: 22px; }
.finance-card { --finance-hover: #92bb27; --finance-hover-ink: #142209; }
.finance-card-grant { --finance-hover: #92bb27; --finance-hover-ink: #142209; }
.finance-next { --finance-hover: var(--blue); --finance-hover-ink: #fff; }
.financing-page .finance-button:is(:hover, :focus-visible, :active) { background: var(--finance-hover); border-color: var(--finance-hover); color: var(--finance-hover-ink); }
.financing-page .finance-card .finance-button:is(:hover, :focus-visible, :active) { text-shadow: none; }
.financing-page .finance-button:focus-visible { outline-color: var(--orange); }
.finance-program-notes { padding-top: 26px; padding-bottom: 22px; }
.finance-program-notes > p { color: var(--muted); font-size: 16px; line-height: 1.7; text-align: center; }
.finance-card-details { margin-top: 30px; padding-top: 28px; border-top: 1px solid #dbe5f0; font-family: 'Belman Finance', Arial, sans-serif; }
.finance-card-details p, .finance-card-details li { color: #485366; font-size: 14pt; line-height: 1.7; }
.finance-card-details ul { padding-left: 24px; margin: 24px 0; }
.finance-card-details li { padding-left: 5px; margin-bottom: 16px; }
.finance-card-details li::marker { color: var(--finance-hover); }
.finance-next { padding-top: 18px; padding-bottom: 45px; }
.finance-next-panel {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 35px;
  min-height: 230px;
  background-color: #e9f3d7;
  background-image: linear-gradient(rgb(255 255 255 / 8%), rgb(255 255 255 / 8%)), url('assets/hurricane-savings-money-remix-v1.png');
  background-position: center;
  background-size: auto, 520px 520px;
  background-repeat: repeat;
  padding: 42px;
  border-radius: 20px;
}
.finance-next-copy { position: relative; padding: 24px 28px; border-radius: 12px; background: rgb(255 255 255 / 96%); box-shadow: 0 4px 18px rgb(24 35 55 / 8%); --type-shadow-heading: 0 1px 1px rgb(2 10 34 / 12%); --type-shadow-copy: 0 1px 1px rgb(2 10 34 / 6%); }
.finance-next-copy::before { content: ''; position: absolute; top: 24px; bottom: 24px; left: 0; width: 5px; border-radius: 3px; background: var(--orange); }
.finance-next h2 { color: var(--blue); font-size: clamp(32px, 3.5vw, 46px); line-height: 1.13; letter-spacing: -.035em; }
.finance-next p { margin-top: 8px; font-size: clamp(16px, 1.7vw, 22px); line-height: 1.5; color: #364154; }
.finance-next .finance-button { flex: none; white-space: nowrap; background: var(--orange); border-color: var(--orange); color: #fff; box-shadow: 0 4px 18px rgb(24 35 55 / 12%); }
.financing-page .footer-top { padding-top: 26px; border-top: 1px solid #dbe1ea; border-bottom: 0; padding-bottom: 22px; }
.financing-page .footer-top > p { font-size: 14px; }
.financing-page .footer-bottom { border-top: 1px solid #eef1f6; padding-top: 18px; padding-right: 110px; }

@media (max-width: 1000px) {
  .finance-intro { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 5px; }
  .finance-intro h1 { font-size: clamp(38px, 4.9vw, 51px); }
  .finance-intro .eyebrow { margin-bottom: 26px; }
  .finance-intro-copy > .finance-tagline { font-size: 18px; }
  .finance-next-panel { padding: 28px; gap: 22px; }
  .finance-next h2 { font-size: 34px; }
  .finance-next-copy { padding: 22px; }
  .finance-card { padding: 30px 26px; }
  .finance-programs { gap: 24px; }
  .finance-card .finance-button { padding-inline: 20px; font-size: 15px; gap: 12px; }
}
@media (max-width: 760px) {
  .finance-intro { grid-template-columns: 1fr; gap: 14px; padding-top: 40px; padding-bottom: 24px; }
  .finance-intro-copy { --intro-pad: 20px; padding: 24px var(--intro-pad) var(--intro-pad); }
  .finance-intro .eyebrow { font-size: 16px; letter-spacing: .09em; gap: 12px; margin-bottom: 24px; }
  .finance-intro h1 { font-size: clamp(32px, 8.4vw, 60px); }
  .finance-title-lettering { background-size: 150px 100px; }
  .finance-intro-copy > .finance-tagline { font-size: 17px; margin-top: 20px; max-width: 330px; }
  .finance-iggy { width: min(310px, 86%); margin-top: 8px; margin-right: 10px; }
  .finance-iggy-ledge { left: -18%; right: calc(-1 * var(--pad) - 10px); bottom: -24px; border-top-left-radius: 24px; }
  .finance-options { padding-top: 32px; }
  .finance-programs { grid-template-columns: 1fr; gap: 24px; }
  .finance-card { padding: 28px 26px 30px; }
  .finance-card .eyebrow { font-size: 20px; letter-spacing: .055em; margin-bottom: 20px; }
  .finance-card .finance-program-logo { height: 148px; margin-bottom: 20px; }
  .finance-program-logo-msfh .finance-logo-artwork { width: 270px; }
  .finance-program-logo-ygrene .finance-logo-artwork { width: 340px; }
  .finance-card > p:not(.eyebrow) { font-size: 19px; margin-bottom: 26px; }
  .finance-card .finance-button { min-height: 50px; font-size: 15px; }
  .finance-program-notes { padding-top: 22px; padding-bottom: 10px; }
  .finance-program-notes > p { font-size: 15px; }
  .finance-next { padding-top: 16px; padding-bottom: 32px; }
  .finance-next-panel { flex-direction: column; align-items: flex-start; justify-content: center; min-height: 280px; padding: 28px 22px; gap: 24px; border-radius: 17px; background-position: center, center 53%; }
  .finance-hero { background-size: auto, 450px 450px; }
  .finance-next-panel { background-size: auto, 420px 420px; }
  .finance-next h2 { font-size: 32px; }
  .finance-next p { font-size: 16px; }
  .finance-next .finance-button { font-size: 15px; min-height: 50px; padding-inline: 20px; }
  .financing-page .footer-top > p { font-size: 11px; }
  .financing-page .footer-bottom { display: block; padding-right: 105px; }
  .financing-page .footer-links { margin-top: 16px; }
}
@media (forced-colors: active) {
  .finance-title-lettering { background: none; color: CanvasText; -webkit-text-fill-color: CanvasText; -webkit-text-stroke: 0; }
  .finance-heading h1 { filter: none; }
  .finance-hero, .finance-next-panel, .finance-intro-copy, .finance-next-copy { background: Canvas; box-shadow: none; border: 1px solid CanvasText; }
  .finance-next :is(h2, p) { color: CanvasText; }
}
@media (max-width: 360px) {
  .finance-intro h1 { font-size: 29px; }
  .finance-intro .eyebrow { font-size: 15px; }
  .finance-card .eyebrow { font-size: 18px; letter-spacing: .03em; }
  .finance-card { padding-inline: 22px; }
  .finance-card .finance-button { font-size: 14px; padding-inline: 17px; gap: 9px; }
  .finance-next-panel { padding-inline: 18px; }
  .finance-next h2 { font-size: 28px; }
  .finance-next .finance-button { margin-left: 0; }
}
