:root{
  --landing-navy:#0f2238;
  --landing-cream:#f8f5ef;
  --landing-coral:#d98672;
  --landing-sage:#708c7a;
  --landing-lavender:#8d7ab6;
  --landing-line:#e5ded3;
}

html.landing-pending .app{visibility:hidden;}

body.landing-open{overflow:hidden;}

.landing-overlay{
  position:fixed;
  z-index:12000;
  inset:0;
  overflow-y:auto;
  background:var(--landing-cream);
  color:var(--landing-navy);
  font-family:var(--font-body,"DM Sans",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif);
  overscroll-behavior:contain;
  scroll-behavior:smooth;
}

.landing-overlay[hidden]{display:none;}

.landing-page{
  min-height:100%;
  background:
    radial-gradient(circle at 12% 8%,rgba(217,134,114,.11),transparent 26%),
    radial-gradient(circle at 88% 28%,rgba(141,122,182,.09),transparent 24%),
    var(--landing-cream);
}

.landing-section{
  position:relative;
  padding:100px max(24px,calc((100vw - 1160px)/2));
}

.landing-hero{
  min-height:100vh;
  min-height:100svh;
  display:grid;
  place-items:center;
  padding-top:max(36px,env(safe-area-inset-top));
  padding-bottom:max(34px,env(safe-area-inset-bottom));
}

.landing-hero-inner{
  width:min(940px,100%);
  min-height:calc(100svh - 70px);
  display:flex;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  text-align:center;
}

.landing-brand-crop{
  width:min(360px,78vw);
  margin-bottom:54px;
  line-height:0;
}

.landing-approved-logo{
  display:block;
  width:100%;
  height:auto;
  clip-path:polygon(
    0 0,
    100% 0,
    100% 66%,
    29% 66%,
    29% 100%,
    0 100%
  );
}

.landing-kicker{
  margin:0 0 14px;
  color:#697271;
  font-family:var(--font-display,"Comfortaa","DM Sans",sans-serif);
  font-size:12px;
  font-weight:700;
  letter-spacing:.1em;
  text-transform:uppercase;
}

.landing-hero h1,
.landing-section h2{
  margin:0;
  font-family:var(--font-display,"Comfortaa","DM Sans",sans-serif);
  font-weight:700;
  letter-spacing:-.045em;
}

.landing-hero h1{
  font-size:clamp(48px,8vw,88px);
  line-height:1.08;
}

.landing-lead{
  margin:34px 0 0;
  color:#505d60;
  font-size:clamp(18px,2.2vw,24px);
  line-height:1.55;
}

.landing-lead-emphasis{
  margin-top:22px;
  color:var(--landing-navy);
  font-weight:600;
}

.landing-primary-button{
  min-width:210px;
  min-height:56px;
  margin-top:38px;
  padding:15px 26px;
  border:0;
  border-radius:17px;
  background:var(--landing-navy);
  color:#fff;
  box-shadow:0 12px 26px rgba(15,34,56,.18);
  font-family:var(--font-display,"Comfortaa","DM Sans",sans-serif);
  font-size:15px;
  font-weight:700;
  cursor:pointer;
  transition:transform .18s ease,box-shadow .18s ease;
}

.landing-primary-button:hover{
  transform:translateY(-2px);
  box-shadow:0 16px 32px rgba(15,34,56,.22);
}

.landing-scroll-cue{
  display:flex;
  align-items:center;
  flex-direction:column;
  gap:4px;
  margin-top:48px;
  padding:12px 18px;
  border:0;
  background:transparent;
  color:#7a817f;
  font:700 15px/1.3 "DM Sans",sans-serif;
  cursor:pointer;
}

.landing-scroll-arrow{
  font-size:32px;
  line-height:1;
  animation:landingBounce 1.8s ease-in-out infinite;
}

.landing-section-copy{
  max-width:760px;
  margin:0 auto 54px;
  text-align:center;
}

.landing-section h2{
  font-size:clamp(36px,5vw,62px);
  line-height:1.14;
}

.landing-preview{
  display:flex;
  align-items:center;
  flex-direction:column;
  overflow:hidden;
  background:#fff;
}

.landing-phone-frame{
  width:min(560px,94vw);
  padding:10px;
  border:1px solid rgba(15,34,56,.11);
  border-radius:45px;
  background:#f4f0e9;
  box-shadow:0 32px 75px rgba(15,34,56,.16);
}

.landing-phone-frame img{
  display:block;
  width:100%;
  height:auto;
  border-radius:36px;
}

.landing-outcomes{background:#f4f0e9;}

.landing-outcome-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:22px;
}

.landing-outcome-card{
  min-height:470px;
  padding:30px;
  border:1px solid rgba(15,34,56,.09);
  border-radius:28px;
  background:#fff;
  box-shadow:0 10px 30px rgba(15,34,56,.055);
}

.landing-outcome-card > img{
  display:block;
  width:82px;
  height:82px;
  margin:0 auto 25px;
  object-fit:contain;
}

.landing-outcome-card h3{
  margin:0;
  font-family:var(--font-display,"Comfortaa","DM Sans",sans-serif);
  font-size:21px;
  line-height:1.35;
  text-align:center;
}

.landing-story-arrow{
  display:block;
  margin:18px 0;
  color:var(--landing-coral);
  font-size:25px;
  text-align:center;
}

.landing-remembers-label{
  margin:0 0 12px;
  color:var(--landing-sage);
  font-family:var(--font-display,"Comfortaa","DM Sans",sans-serif);
  font-size:13px;
  font-weight:700;
  letter-spacing:.04em;
  text-transform:uppercase;
}

.landing-outcome-card ul{
  display:grid;
  gap:11px;
  margin:0;
  padding:0;
  list-style:none;
}

.landing-outcome-card li{
  position:relative;
  padding-left:20px;
  color:#445154;
  font-size:16px;
}

.landing-outcome-card li::before{
  content:'';
  position:absolute;
  top:.55em;
  left:0;
  width:7px;
  height:7px;
  border-radius:50%;
  background:var(--landing-lavender);
}

.landing-how{background:#fff;}

.landing-how-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:30px;
  max-width:1120px;
  margin:0 auto;
  text-align:center;
}

@media(min-width:781px) and (max-width:1020px){
  .landing-how-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
    max-width:700px;
    row-gap:48px;
  }
}

.landing-how-icon{
  width:88px;
  height:88px;
  display:grid;
  margin:0 auto 22px;
  place-items:center;
  border-radius:26px;
  background:#f4f0e9;
  color:var(--landing-navy);
  box-shadow:inset 0 0 0 1px rgba(15,34,56,.06);
}

.landing-how-icon svg{
  width:48px;
  height:48px;
  fill:none;
  stroke:currentColor;
  stroke-width:2.4;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.landing-how-grid h3{
  margin:0 0 10px;
  font-family:var(--font-display,"Comfortaa","DM Sans",sans-serif);
  font-size:22px;
}

.landing-how-grid p{
  margin:0;
  color:#667171;
  font-size:15px;
  line-height:1.55;
}

.landing-ending{
  min-height:88vh;
  display:grid;
  place-items:center;
  background:var(--landing-navy);
  color:#fff;
  text-align:center;
}

.landing-ending-inner{max-width:860px;}

.landing-ending .landing-kicker{color:#b9c7c1;}

.landing-ending h2{
  font-size:clamp(42px,7vw,78px);
  line-height:1.15;
}

.landing-ending h2 span{color:#f0b4a5;}

.landing-ending p:not(.landing-kicker){
  margin:30px 0 0;
  color:#dbe2df;
  font-size:clamp(18px,2vw,24px);
  line-height:1.55;
}

.landing-ending .landing-primary-button{
  background:#fff;
  color:var(--landing-navy);
  box-shadow:0 13px 30px rgba(0,0,0,.2);
}

@keyframes landingBounce{
  0%,100%{transform:translateY(0)}
  50%{transform:translateY(5px)}
}

@media(max-width:780px){
  .landing-section{padding:76px 18px;}
  .landing-brand-crop{margin-bottom:40px;}
  .landing-hero h1{font-size:clamp(44px,13vw,64px);}
  .landing-lead{font-size:18px;}
  .landing-lead br{display:none;}
  .landing-how-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
    max-width:560px;
    gap:28px 16px;
  }
  .landing-how{
    padding-top:58px;
    padding-bottom:58px;
  }
  .landing-how .landing-section-copy{
    margin-bottom:32px;
  }
  .landing-how .landing-kicker{
    margin-bottom:9px;
  }
  .landing-how h2{
    font-size:clamp(28px,8vw,40px);
    line-height:1.12;
  }
  .landing-how-icon{
    width:62px;
    height:62px;
    margin-bottom:13px;
    border-radius:19px;
  }
  .landing-how-icon svg{
    width:34px;
    height:34px;
  }
  .landing-how-grid h3{
    margin-bottom:6px;
    font-size:16px;
  }
  .landing-how-grid p{
    font-size:12px;
    line-height:1.4;
  }
  .landing-outcome-grid{
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:10px;
    width:100%;
    max-width:700px;
    margin:0 auto;
  }
  .landing-outcome-card{
    min-width:0;
    min-height:0;
    padding:20px 12px;
    border-radius:22px;
  }
  .landing-outcome-card > img{
    width:62px;
    height:62px;
    margin:0 auto 18px;
  }
  .landing-outcome-card h3{
    font-size:15px;
    line-height:1.35;
  }
  .landing-outcome-card li{
    padding-left:14px;
    font-size:13px;
    line-height:1.35;
  }
  .landing-outcome-card li::before{
    width:5px;
    height:5px;
  }
  .landing-remembers-label{
    font-size:10px;
    letter-spacing:.025em;
  }
  .landing-how-grid{max-width:560px;}
  .landing-phone-frame{width:min(520px,96vw);border-radius:34px;padding:7px;}
  .landing-phone-frame img{border-radius:27px;}
  .landing-ending{min-height:100svh;}
}

@media(max-width:430px){
  .landing-hero{
    min-height:100svh;
    display:block;
    padding:
      max(12px,env(safe-area-inset-top))
      16px
      max(12px,env(safe-area-inset-bottom));
  }
  .landing-hero-inner{
    min-height:calc(100svh - 24px);
    justify-content:flex-start;
  }
  .landing-brand-crop{
    width:min(292px,76vw);
    margin-top:0;
    margin-bottom:22px;
  }
  .landing-kicker{font-size:10px;}
  .landing-hero h1{
    font-size:clamp(30px,8.4vw,35px);
    line-height:1.14;
  }
  .landing-lead{
    margin-top:20px;
    font-size:14px;
    line-height:1.45;
  }
  .landing-lead-emphasis{margin-top:13px;}
  .landing-primary-button{
    min-width:196px;
    min-height:49px;
    margin-top:22px;
  }
  .landing-scroll-cue{
    margin-top:14px;
    padding:7px 16px max(4px,env(safe-area-inset-bottom));
    color:#6d7778;
    font-size:15px;
  }
  .landing-scroll-arrow{font-size:30px;}
  .landing-section-copy{margin-bottom:38px;}
  .landing-section h2{font-size:35px;}
  .landing-how{
    padding:42px 12px;
  }
  .landing-how .landing-section-copy{
    margin-bottom:24px;
  }
  .landing-how h2{
    font-size:25px;
  }
  .landing-how-grid{
    gap:22px 8px;
  }
  .landing-how-icon{
    width:50px;
    height:50px;
    margin-bottom:9px;
    border-radius:15px;
  }
  .landing-how-icon svg{
    width:27px;
    height:27px;
  }
  .landing-how-grid h3{
    margin-bottom:4px;
    font-size:13px;
  }
  .landing-how-grid p{
    font-size:10px;
    line-height:1.32;
  }
  .landing-preview{padding-right:10px;padding-left:10px;}
  .landing-outcome-grid{gap:6px;}
  .landing-outcome-card{
    padding:17px 7px;
    border-radius:18px;
  }
  .landing-outcome-card > img{
    width:52px;
    height:52px;
    margin-bottom:15px;
  }
  .landing-outcome-card h3{font-size:12px;}
  .landing-story-arrow{margin:13px 0;font-size:20px;}
  .landing-remembers-label{font-size:8px;}
  .landing-outcome-card ul{gap:8px;}
  .landing-outcome-card li{
    padding-left:10px;
    font-size:10px;
  }
  .landing-outcome-card li::before{
    width:4px;
    height:4px;
  }
  .landing-ending h2{font-size:39px;}
}

@media(prefers-reduced-motion:reduce){
  .landing-overlay{scroll-behavior:auto;}
  .landing-scroll-arrow{animation:none;}
  .landing-primary-button{transition:none;}
}
