/* Page one only: balanced funnel hero with responsive spacing and no zoom dependent hacks. */

.optin-page .hero{
  padding:22px 0 42px!important;
}

.optin-page .hero-grid{
  display:grid!important;
  grid-template-columns:minmax(0,.93fr) minmax(0,1.07fr)!important;
  gap:36px!important;
  align-items:start!important;
}

.optin-page .hero-copy,
.optin-page .hero-right{
  min-width:0!important;
}

.optin-page .hero-copy{
  display:flex!important;
  flex-direction:column!important;
}

.optin-page .brand-logo-img{
  display:block;
  height:auto;
  object-fit:contain;
}

.optin-page .hero-logo{
  width:190px!important;
  margin:0 0 14px!important;
}

.optin-page .eyebrow{
  margin:0 0 8px!important;
  font-size:.76rem!important;
  letter-spacing:.11em!important;
}

.optin-page .headline{
  margin:0 0 16px!important;
  max-width:650px!important;
  font-size:clamp(2.7rem,4vw,4rem)!important;
  line-height:.98!important;
  letter-spacing:-.035em!important;
}

.optin-page .headline-main,
.optin-page .headline-accent{
  display:block!important;
}

.optin-page .headline-accent{
  margin-top:6px!important;
}

.optin-page .headline-accent-line{
  display:block!important;
  white-space:nowrap!important;
}

.optin-page .subhead{
  max-width:690px!important;
  margin:0!important;
  font-size:1.01rem!important;
  line-height:1.53!important;
}

.optin-page .copy-underline{
  text-decoration:underline;
  text-decoration-thickness:2px;
  text-underline-offset:3px;
}

.optin-page .proof-stack{
  margin-top:20px!important;
  padding:0!important;
}

.optin-page .microproof{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:12px!important;
  margin:0 0 12px!important;
}

.optin-page .microproof span{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:46px!important;
  padding:9px 12px!important;
  border:1px solid #cfe7f8!important;
  border-radius:999px!important;
  background:#fff!important;
  box-shadow:0 6px 16px rgba(11,50,116,.05)!important;
  color:#0b3274!important;
  font-size:clamp(.67rem,.76vw,.76rem)!important;
  font-weight:800!important;
  line-height:1.22!important;
  text-align:center!important;
  white-space:normal!important;
}

.optin-page .trust-chip-wide{
  display:flex!important;
  width:100%!important;
  min-height:50px!important;
  margin:0!important;
  align-items:center!important;
  justify-content:center!important;
  border:1px solid #cfe7f8!important;
  border-radius:13px!important;
  background:#fff!important;
  color:#0b3274!important;
  box-shadow:0 8px 22px rgba(11,50,116,.06)!important;
  padding:11px 14px!important;
  font-size:.94rem!important;
  font-weight:900!important;
  text-align:center!important;
}

.optin-page .hero-right{
  display:flex!important;
  flex-direction:column!important;
  gap:14px!important;
}

.optin-page .hero-media{
  width:100%!important;
  height:300px!important;
  min-height:300px!important;
  margin:0!important;
  border-radius:24px!important;
  background-position:center 42%!important;
}

.optin-page .hero-media:after{
  content:'See the app turn household answers into a clear energy saving plan'!important;
  left:16px!important;
  right:16px!important;
  bottom:16px!important;
  padding:12px 14px!important;
  border-radius:13px!important;
  font-size:.88rem!important;
  line-height:1.28!important;
}

.optin-page .lead-card{
  margin:0!important;
  padding:18px 20px!important;
  border-radius:20px!important;
  box-shadow:0 16px 42px rgba(11,50,116,.10)!important;
}

.optin-page .lead-card .form-kicker{
  margin:0 0 4px!important;
  font-size:.72rem!important;
}

.optin-page .lead-card .form-explainer{
  margin:0 0 10px!important;
  font-size:12px!important;
  line-height:1.4!important;
}

.optin-page .lead-card .field-label{
  margin-bottom:6px!important;
  font-size:.91rem!important;
}

.optin-page .lead-card .input{
  min-height:48px!important;
  padding:0 14px!important;
  border-radius:12px!important;
  font-size:.94rem!important;
}

.optin-page .lead-card .form-gap{
  height:8px!important;
}

.optin-page .lead-card .btn-primary{
  min-height:50px!important;
  padding:11px 18px!important;
  border-radius:12px!important;
}

.optin-page .lead-card .fine{
  margin:8px 0 0!important;
  font-size:.74rem!important;
  line-height:1.36!important;
}

.optin-page .lead-card .privacy-consent{
  margin:7px 0 0!important;
  font-size:.69rem!important;
  line-height:1.34!important;
}

.optin-page .brand-emphasis{
  color:#0b3274!important;
  font-weight:900!important;
  text-decoration:underline!important;
  text-decoration-thickness:2px!important;
  text-underline-offset:3px!important;
}

/* Founder story: trust-building bridge between the opt-in and the explanation section. */
.optin-page .founder-story{
  padding:58px 0!important;
  background:#fffaf0!important;
}

.optin-page .founder-story-wrap{
  max-width:1060px!important;
}

.optin-page .founder-story-top{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 235px!important;
  gap:42px!important;
  align-items:center!important;
  margin-bottom:30px!important;
}

.optin-page .founder-story-title{
  min-width:0!important;
}

.optin-page .founder-story-eyebrow{
  color:#54b3f1!important;
  text-align:left!important;
}

.optin-page .founder-story-heading{
  max-width:760px!important;
  margin:0!important;
  color:#0b3274!important;
  font-size:clamp(2.6rem,4vw,4.15rem)!important;
  line-height:1.03!important;
  letter-spacing:-.035em!important;
}

.optin-page .founder-photo{
  display:block!important;
  width:225px!important;
  max-width:100%!important;
  height:auto!important;
  margin:0 auto!important;
  object-fit:cover!important;
  border:1px solid #d8e6f3!important;
  border-radius:20px!important;
  box-shadow:0 12px 28px rgba(11,50,116,.10)!important;
  filter:contrast(1.045) saturate(1.02) brightness(1.01)!important;
}

.optin-page .founder-story-copy{
  max-width:900px!important;
  margin:0 auto!important;
  text-align:left!important;
}

.optin-page .founder-story-copy p{
  margin:0 0 18px!important;
  color:#45566f!important;
  font-size:1.02rem!important;
  line-height:1.72!important;
}

.optin-page .founder-story-copy strong{
  color:#0b3274!important;
}

.optin-page .founder-experience{
  margin:24px 0!important;
  padding:24px 26px 8px!important;
  border:1px solid #cfe7f8!important;
  border-radius:20px!important;
  background:#f1f7fd!important;
  box-shadow:0 10px 26px rgba(11,50,116,.06)!important;
}

.optin-page .founder-experience p{
  color:#334b6f!important;
}

.optin-page .founder-story-callout{
  margin-top:24px!important;
  padding:18px 20px!important;
  border-left:4px solid #ffd400!important;
  border-radius:14px!important;
  background:#fff!important;
  color:#0b3274!important;
  font-weight:900!important;
  box-shadow:0 10px 26px rgba(11,50,116,.05)!important;
}

.optin-page .section.soft{
  padding-top:58px!important;
}

.optin-page .footer-rich .footer-inner{
  grid-template-columns:minmax(220px,.7fr) minmax(360px,1.3fr)!important;
  padding:34px 24px 22px!important;
  gap:30px!important;
}

.optin-page .footer-rich .footer-brand{
  display:block!important;
}

.optin-page .footer-rich .footer-brand-logo{
  width:230px!important;
  max-width:100%!important;
  height:auto!important;
}

.optin-page .footer-rich .footer-links{
  justify-content:flex-end!important;
  gap:12px 22px!important;
}

.optin-page .footer-rich .footer-note{
  padding:20px 24px!important;
  font-size:.76rem!important;
  line-height:1.62!important;
}

.optin-page .footer-rich .footer-note p{
  margin:0 0 12px;
  color:#c8dbf4;
}

.optin-page .footer-rich .footer-note p:last-child{
  margin-bottom:0;
}

.optin-page .footer-rich .footer-note a{
  color:#fff!important;
  font-weight:800!important;
  text-decoration:underline!important;
  text-underline-offset:3px!important;
}

.optin-page .footer-rich .brand-emphasis,
.optin-page .footer-rich .footer-bottom .brand-emphasis{
  color:inherit!important;
  text-decoration:none!important;
  font-weight:700!important;
}

.optin-page .footer-rich .footer-bottom{
  padding-top:14px!important;
}

@media(max-width:1180px){
  .optin-page .hero-grid{gap:30px!important}
  .optin-page .headline{font-size:clamp(2.6rem,4.2vw,3.75rem)!important}
  .optin-page .hero-media{height:285px!important;min-height:285px!important}
}

@media(max-width:980px){
  .optin-page .hero-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:24px!important}
  .optin-page .hero-logo{width:175px!important;margin-bottom:12px!important}
  .optin-page .headline{font-size:clamp(2.45rem,4.4vw,3.45rem)!important}
  .optin-page .subhead{font-size:.96rem!important}
  .optin-page .microproof span{font-size:.68rem!important}
  .optin-page .hero-media{height:270px!important;min-height:270px!important}
  .optin-page .lead-card{padding:16px!important}
  .optin-page .lead-card .form-explainer{font-size:12px!important}
  .optin-page .founder-story-top{grid-template-columns:minmax(0,1fr) 205px!important;gap:30px!important}
  .optin-page .founder-photo{width:195px!important}
}

@media(max-width:820px){
  .optin-page .hero{padding:18px 0 34px!important}
  .optin-page .hero-grid{grid-template-columns:1fr!important;gap:24px!important}
  .optin-page .hero-logo{width:190px!important;margin:0 auto 16px!important}
  .optin-page .eyebrow{text-align:center!important}
  .optin-page .headline{text-align:center!important;font-size:clamp(2.4rem,9.5vw,3.5rem)!important}
  .optin-page .subhead{text-align:center!important;margin:0 auto!important}
  .optin-page .proof-stack{margin-top:18px!important}
  .optin-page .hero-media{height:350px!important;min-height:350px!important}
  .optin-page .footer-rich .footer-inner{grid-template-columns:1fr!important;text-align:center!important}
  .optin-page .footer-rich .footer-brand-logo{margin:0 auto!important}
  .optin-page .footer-rich .footer-links{justify-content:center!important}
  .optin-page .founder-story{padding:48px 0!important}
}

@media(max-width:680px){
  .optin-page .microproof{grid-template-columns:1fr!important}
  .optin-page .microproof span{white-space:normal!important;min-height:38px!important}
  .optin-page .trust-chip-wide{min-height:46px!important;font-size:.87rem!important}
  .optin-page .hero-media{height:315px!important;min-height:315px!important}
  .optin-page .lead-card{padding:15px!important}
  .optin-page .founder-story-top{grid-template-columns:1fr!important;gap:22px!important;margin-bottom:26px!important}
  .optin-page .founder-story-title{text-align:center!important}
  .optin-page .founder-story-eyebrow{text-align:center!important}
  .optin-page .founder-story-heading{margin:0 auto!important;font-size:clamp(2.15rem,10vw,3rem)!important;text-align:center!important}
  .optin-page .founder-photo{width:180px!important;border-radius:17px!important}
  .optin-page .founder-story-copy p{font-size:.96rem!important;line-height:1.64!important}
  .optin-page .founder-experience{padding:20px 18px 4px!important;border-radius:16px!important}
  .optin-page .founder-story-callout{padding:16px 17px!important}
}


/* Hero refresh: outcome-led copy and responsive Voomly player. */
.optin-page .headline{
  max-width:680px!important;
  font-size:clamp(2.55rem,3.65vw,3.7rem)!important;
  line-height:1.04!important;
  letter-spacing:0!important;
}
.optin-page .headline-accent{
  margin-top:8px!important;
}
.optin-page .hero-video{
  position:relative;
  width:100%;
  aspect-ratio:16/9;
  overflow:hidden;
  border:1px solid #cfe7f8;
  border-radius:20px;
  background:#0b3274;
  box-shadow:0 18px 42px rgba(11,50,116,.14);
}
.optin-page .hero-video .voomly-embed{
  width:100%!important;
  height:100%!important;
  aspect-ratio:16/9!important;
  border-radius:0!important;
}
.optin-page .hero-video iframe{
  display:block;
  width:100%!important;
  height:100%!important;
  border:0!important;
}
@media(max-width:980px){
  .optin-page .headline{
    font-size:clamp(2.35rem,4.25vw,3.3rem)!important;
  }
}
@media(max-width:820px){
  .optin-page .headline{
    max-width:700px!important;
    margin-right:auto!important;
    margin-left:auto!important;
    font-size:clamp(2.3rem,8.4vw,3.35rem)!important;
  }
  .optin-page .hero-video{
    max-width:700px;
    margin:0 auto;
    border-radius:18px;
  }
}
@media(max-width:480px){
  .optin-page .headline{
    font-size:clamp(2.05rem,10.2vw,2.75rem)!important;
  }
  .optin-page .hero-video{
    border-radius:14px;
  }
}


/* Opt-in only: animated circular benefits, respecting reduced-motion settings. */
.optin-page .benefit-circles{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  align-items:start!important;
  gap:12px!important;
  margin:0 0 16px!important;
}
.optin-page .benefit-circles .benefit-circle{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:flex-start;
  gap:10px;
  min-width:0;
  text-align:center;
  animation:syeBenefitEnter .65s ease both;
}
.optin-page .benefit-circles .benefit-circle:nth-child(2){animation-delay:.13s}
.optin-page .benefit-circles .benefit-circle:nth-child(3){animation-delay:.26s}
.optin-page .benefit-circles .benefit-icon-ring{
  box-sizing:border-box;
  display:grid!important;
  place-items:center!important;
  width:clamp(66px,7vw,86px)!important;
  height:clamp(66px,7vw,86px)!important;
  min-height:0!important;
  padding:19px!important;
  flex:none;
  border:2px solid #acd9f4!important;
  border-radius:50%!important;
  background:linear-gradient(145deg,#fff 55%,#fff8d9)!important;
  box-shadow:0 7px 20px rgba(11,50,116,.09)!important;
  color:#0b3274!important;
  animation:syeBenefitFloat 3.8s ease-in-out infinite;
}
.optin-page .benefit-circles .benefit-circle:nth-child(2) .benefit-icon-ring{
  border-color:#ffd400!important;
  animation-delay:.6s;
}
.optin-page .benefit-circles .benefit-circle:nth-child(3) .benefit-icon-ring{animation-delay:1.2s}
.optin-page .benefit-circles .benefit-icon-ring svg{
  display:block;
  width:100%;
  height:100%;
  overflow:visible;
}
.optin-page .benefit-circles .benefit-circle-label{
  display:block!important;
  width:100%;
  box-sizing:border-box;
  min-height:0!important;
  padding:0 3px!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  color:#0b3274!important;
  font-size:clamp(.72rem,.85vw,.88rem)!important;
  font-weight:800!important;
  line-height:1.3!important;
  text-align:center!important;
}
@keyframes syeBenefitEnter{
  from{opacity:0;transform:translateY(12px)}
  to{opacity:1;transform:translateY(0)}
}
@keyframes syeBenefitFloat{
  0%,100%{transform:translateY(0)}
  50%{transform:translateY(-4px)}
}
@media(max-width:680px){
  .optin-page .benefit-circles{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:8px!important;
  }
  .optin-page .benefit-circles .benefit-icon-ring{
    width:64px!important;
    height:64px!important;
    padding:16px!important;
  }
  .optin-page .benefit-circles .benefit-circle-label{
    font-size:.72rem!important;
    padding:0 1px!important;
  }
}
@media(prefers-reduced-motion:reduce){
  .optin-page .benefit-circles .benefit-circle,
  .optin-page .benefit-circles .benefit-icon-ring{
    animation:none!important;
  }
}

/* Compact founder story: full-width heading, balanced story/photo, prominent savings result. */
.optin-page .founder-story{padding:48px 0!important}
.optin-page .founder-story-wrap{max-width:1120px!important}
.optin-page .founder-story-title{width:100%!important;margin:0 0 26px!important}
.optin-page .founder-story-heading{
  max-width:none!important;width:100%!important;
  font-size:clamp(2.4rem,4.25vw,4rem)!important;
  line-height:1.07!important;letter-spacing:-.025em!important;
}
.optin-page .founder-story-grid{
  display:grid!important;grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr)!important;
  align-items:stretch!important;gap:34px!important;
}
.optin-page .founder-story-copy{max-width:none!important;margin:0!important}
.optin-page .founder-story-copy p{
  font-size:1rem!important;line-height:1.57!important;
  margin:0 0 13px!important;
}
.optin-page .founder-story-copy p:last-child{margin-bottom:0!important}
/* Display the complete original landscape family portrait, centred beside the story.
   Avoid the old forced tall crop; the breathing room is intentional. */
.optin-page .founder-story-image{
  display:flex;
  align-items:center;
  justify-content:center;
  min-width:0;
  padding:18px 9px!important;
}
.optin-page .founder-story-grid .founder-photo{
  display:block!important;
  width:100%!important;
  max-width:440px!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  aspect-ratio:3/2!important;
  object-fit:contain!important;
  border-radius:20px!important;
  margin:0 auto!important;
}
.optin-page .founder-savings{
  margin-top:28px!important;padding:23px 25px!important;
  border-left:4px solid #ffd400!important;border-radius:14px!important;
  background:#fff8d9!important;text-align:center!important;
}
.optin-page .founder-savings-heading{
  margin:0 0 10px!important;color:#0b3274!important;
  font-size:clamp(1.45rem,2.4vw,2.15rem)!important;
  line-height:1.16!important;font-weight:900!important;
}
.optin-page .founder-savings p{
  margin:0 auto!important;max-width:800px!important;color:#304565!important;
  font-size:1rem!important;line-height:1.55!important;
}
@media(max-width:820px){
  .optin-page .founder-story-grid{grid-template-columns:1fr!important;gap:22px!important}
  .optin-page .founder-story-title{margin-bottom:20px!important}
  .optin-page .founder-story-heading{text-align:center!important;font-size:clamp(2.15rem,7.8vw,3rem)!important}
  .optin-page .founder-story-image{padding:4px 0 10px!important}
  .optin-page .founder-story-grid .founder-photo{
    width:100%!important;
    max-width:480px!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    object-fit:contain!important;
  }
  .optin-page .founder-savings{margin-top:22px!important;padding:20px!important}
}

/* Meet the EGO Family: social invitation immediately above footer, opt-in page only. */
.optin-page .ego-family-social{
  background:#f2f8ff;
  padding:46px 0 50px;
  border-top:1px solid #dce9f6;
}
.optin-page .ego-family-social-wrap{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,.93fr);
  gap:40px;
  align-items:center;
  max-width:1120px;
}
.optin-page .ego-family-social-copy{min-width:0}
.optin-page .ego-family-kicker{
  margin:0 0 9px;
  color:#237cbd;
  font-size:.76rem;
  font-weight:800;
  letter-spacing:.095em;
  text-transform:uppercase;
}
.optin-page .ego-family-social h2{
  margin:0 0 17px;
  color:#0b3274;
  font-size:clamp(2rem,3.4vw,3.2rem);
  line-height:1.08;
}
.optin-page .ego-family-social-copy > p:not(.ego-family-kicker):not(.ego-family-social-invite){
  margin:0 0 13px;
  color:#45566f;
  line-height:1.6;
  font-size:1rem;
}
.optin-page .ego-family-social-invite{
  color:#0b3274;
  font-weight:900;
  margin:17px 0 14px;
  font-size:1.08rem;
}
/* Keep the image element the same size as the visible artwork so its corners really round. */
.optin-page .ego-family-social-image{
  display:flex;
  align-items:center;
  justify-content:center;
  min-width:0;
}
.optin-page .ego-family-social-image img{
  display:block;
  width:auto;
  max-width:100%;
  height:auto;
  max-height:345px;
  object-fit:contain;
  border-radius:26px!important;
  clip-path:inset(0 round 26px);
}
.optin-page .ego-family-social-links{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}
.optin-page .ego-family-social-links a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  padding:11px 16px;
  min-height:44px;
  border:1px solid #a9d7f5;
  border-radius:999px;
  background:white;
  color:#0b3274;
  font-weight:800;
  text-decoration:none;
  box-shadow:0 5px 14px rgba(11,50,116,.05);
  transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease;
}
.optin-page .ego-family-social-links a svg{
  width:21px;
  height:21px;
  flex:none;
}
.optin-page .ego-family-social-links a:hover,
.optin-page .ego-family-social-links a:focus-visible{
  border-color:#53afe8;
  box-shadow:0 9px 20px rgba(11,50,116,.12);
  transform:translateY(-2px);
}
@media(max-width:820px){
  .optin-page .ego-family-social{padding:36px 0 40px}
  .optin-page .ego-family-social-wrap{
    grid-template-columns:1fr;
    gap:22px;
  }
  .optin-page .ego-family-social-copy{text-align:center}
  .optin-page .ego-family-social-links{justify-content:center}
  .optin-page .ego-family-social-image{order:0}
  .optin-page .ego-family-social-image img{max-height:300px;max-width:100%;width:auto;margin:0 auto}
}
@media(prefers-reduced-motion:reduce){
  .optin-page .ego-family-social-links a{transition:none}
  .optin-page .ego-family-social-links a:hover,
  .optin-page .ego-family-social-links a:focus-visible{transform:none}
}

/* Smaller, readable opt-in footer disclosures and corporate attribution. */
.optin-page .footer-rich .footer-note{font-size:.72rem!important;line-height:1.5!important}
.optin-page .footer-rich .footer-note p{margin-bottom:9px!important}
.optin-page .footer-rich .footer-note .footer-company{font-size:.84rem!important;color:#ffffff!important}
.optin-page .footer-rich .footer-note .footer-contact{font-size:.78rem!important;color:#dbeafe!important}
.optin-page .footer-rich .footer-bottom{font-size:.76rem!important;line-height:1.45!important;text-align:center!important}
