/* Learn With Yuna 8.8.4 — unified page hero flow
   Keeps every major page visually connected without making functional pages feel promotional. */
:root{
  --lwy884-ink:#172033;
  --lwy884-muted:#657084;
  --lwy884-purple:#6853c7;
  --lwy884-purple-deep:#49359f;
  --lwy884-paper:#fffdf8;
  --lwy884-cream:#f8f4ed;
  --lwy884-yellow:#ffdc78;
  --lwy884-line:rgba(35,39,55,.10);
  --lwy884-hero-bg:
    radial-gradient(ellipse at 50% -12%,rgba(255,217,105,.58) 0%,rgba(255,237,177,.30) 34%,rgba(255,253,248,0) 70%),
    linear-gradient(180deg,#fffdf8 0%,#f8f4ed 100%);
}

/* One shared hero surface for the main product pages. */
.sp-hero,
.yp-hero,
.story-time-main .page-header,
#parent-resource .pr-hero{
  position:relative!important;
  isolation:isolate!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:246px!important;
  margin:0!important;
  padding:42px 0 44px!important;
  overflow:hidden!important;
  text-align:center!important;
  background:#ffffff!important;
  border-bottom:1px solid var(--lwy884-line)!important;
}
.sp-hero::after,
.yp-hero::after,
.story-time-main .page-header::after,
#parent-resource .pr-hero::after{
  content:none!important;
  display:none!important;
}
.sp-hero>* ,
.yp-hero>* ,
.story-time-main .page-header>* ,
#parent-resource .pr-hero>*{
  position:relative;
  z-index:1;
}

/* Shared eyebrow language. */
.sp-eyebrow,
.yp-eyebrow,
.story-time-main .story-page-kicker,
#parent-resource .pr-eyebrow{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:9px!important;
  margin:0 0 12px!important;
  color:var(--lwy884-purple-deep)!important;
  font-size:12px!important;
  font-weight:900!important;
  letter-spacing:.105em!important;
  line-height:1.2!important;
  text-transform:uppercase!important;
}
.sp-eyebrow::before,
.yp-eyebrow::before,
.story-time-main .story-page-kicker::before,
#parent-resource .pr-eyebrow::before{
  content:""!important;
  width:22px!important;
  height:2px!important;
  flex:0 0 auto!important;
  border-radius:999px!important;
  background:currentColor!important;
}

/* Shared heading rhythm. */
.sp-hero h1,
.yp-hero h1,
.story-time-main .page-header h1,
#parent-resource .pr-hero h1{
  width:min(900px,100%)!important;
  max-width:900px!important;
  margin:0 auto 14px!important;
  color:var(--lwy884-ink)!important;
  font-family:ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif!important;
  font-size:clamp(42px,5.4vw,66px)!important;
  font-weight:900!important;
  line-height:1.01!important;
  letter-spacing:-.055em!important;
  text-wrap:balance!important;
}
.sp-lead,
.yp-lead,
.story-time-main .page-header>p:last-child,
#parent-resource .pr-lead{
  width:min(720px,100%)!important;
  max-width:720px!important;
  margin:0 auto!important;
  color:var(--lwy884-muted)!important;
  font-size:clamp(16.5px,1.7vw,19px)!important;
  line-height:1.65!important;
  text-wrap:balance!important;
}

/* Keep optional actions aligned in one calm row. */
.yp-actions,
#parent-resource .pr-hero-actions{
  display:flex!important;
  justify-content:center!important;
  align-items:center!important;
  flex-wrap:wrap!important;
  gap:10px!important;
  margin-top:20px!important;
}
#parent-resource .pr-small-note{
  margin:15px auto 0!important;
  color:#737b8d!important;
  font-size:12.5px!important;
  line-height:1.55!important;
}

/* Admin diagnostics should not interrupt the public-facing hero. */
.sp-hero .sp-simple-note[data-nosnippet]{display:none!important}
.sp-hero .sp-simple-note{
  margin:10px auto 0!important;
  color:#737b8d!important;
  font-size:12.5px!important;
  line-height:1.55!important;
}

/* Parent Guide content begins cleanly after the common hero. */
#parent-resource.pr-wrap{background:#ffffff!important}
#parent-resource .pr-white{background:#fff!important}
#parent-resource .pr-section:first-of-type{padding-top:58px!important}

/* Parent Account: same visual family, but compact and functional. */
.acct{
  position:relative!important;
  background:#f8fafc!important;
  color:var(--lwy884-ink)!important;
}
.acct .acct-wrap{
  max-width:1040px!important;
  min-height:420px!important;
  padding-top:38px!important;
  padding-bottom:76px!important;
  gap:34px!important;
}
.acct .acct-wrap>section{
  padding-top:18px!important;
  align-self:start!important;
}
.acct .acct-eyebrow{
  display:inline-flex!important;
  align-items:center!important;
  gap:9px!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  color:var(--lwy884-purple-deep)!important;
  font-size:12px!important;
  font-weight:900!important;
  letter-spacing:.105em!important;
}
.acct .acct-eyebrow::before{
  content:"";
  width:22px;
  height:2px;
  border-radius:999px;
  background:currentColor;
}
.acct h1{
  margin:13px 0 13px!important;
  color:var(--lwy884-ink)!important;
  font-size:clamp(44px,5.3vw,64px)!important;
  line-height:1!important;
  letter-spacing:-.055em!important;
  text-wrap:balance!important;
}
.acct .acct-lead{
  max-width:520px!important;
  color:var(--lwy884-muted)!important;
  font-size:17px!important;
  line-height:1.65!important;
}
.acct .acct-card{
  border-color:var(--lwy884-line)!important;
  box-shadow:0 18px 48px rgba(31,36,56,.085)!important;
}

/* Info / trust pages: same top color flow, still box-free. */
.yf-flow-wrap{
  background:#ffffff!important;
  padding-top:0!important;
}
.yf-flow-shell{width:min(100%,940px)!important}
.yf-flow-header{
  position:relative!important;
  min-height:280px!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  margin:0!important;
  padding:42px 0 38px!important;
  text-align:center!important;
  border-bottom:1px solid var(--lwy884-line)!important;
}
.yf-flow-header::after{
  content:none;
  display:none;
}
.yf-flow-kicker{justify-content:center!important;margin-bottom:12px!important}
.yf-flow-header h1{
  max-width:880px!important;
  margin:0 auto!important;
  font-size:clamp(42px,5.4vw,66px)!important;
  line-height:1.01!important;
  letter-spacing:-.055em!important;
  text-align:center!important;
}
.yf-flow-header>p:not(.yf-flow-kicker){
  max-width:740px!important;
  margin:15px auto 0!important;
  font-size:clamp(16.5px,1.7vw,19px)!important;
  line-height:1.65!important;
  text-align:center!important;
}
.yf-flow-nav{justify-content:center!important;margin-top:20px!important}
.yf-flow-header+.yf-flow-section{padding-top:54px!important}

@media(max-width:780px){
  .sp-hero,.yp-hero,.story-time-main .page-header,#parent-resource .pr-hero{
    min-height:224px!important;
    padding:34px 0 38px!important;
  }
  .sp-hero h1,.yp-hero h1,.story-time-main .page-header h1,#parent-resource .pr-hero h1{
    font-size:clamp(38px,10.5vw,52px)!important;
  }
  #parent-resource .pr-hero-actions,.yp-actions{display:grid!important;width:min(100%,420px)!important;margin-inline:auto!important}
  #parent-resource .pr-hero-actions a,.yp-actions a,.yp-actions button{width:100%!important}
  .acct .acct-wrap{grid-template-columns:1fr!important;padding-top:28px!important}
  .acct .acct-wrap>section{text-align:center!important;padding-top:0!important}
  .acct .acct-eyebrow{justify-content:center!important}
  .acct .acct-lead{margin-inline:auto!important}
  .yf-flow-header{min-height:250px!important;padding:34px 0 34px!important}
  .yf-flow-header h1{font-size:clamp(38px,10.5vw,52px)!important}
}

@media(max-width:480px){
  .sp-hero,.yp-hero,.story-time-main .page-header,#parent-resource .pr-hero{min-height:210px!important}
  .story-time-main .page-header>p:last-child{padding-inline:14px!important}
  .yf-flow-header{min-height:232px!important}
  .yf-flow-nav{gap:7px!important}
  .yf-flow-nav a{min-height:38px!important;padding:0 11px!important;font-size:11.5px!important}
}


/* 8.8.5 — Story Time hero refinement.
   Full-width, centered, and lighter like a modern product landing page. */
.story-time-main .page-header{
  width:100%!important;
  max-width:none!important;
  min-height:296px!important;
  flex-direction:column!important;
  gap:0!important;
  padding:54px 24px 58px!important;
  margin:0!important;
  text-align:center!important;
}
.story-time-main .page-header .story-page-kicker{
  width:auto!important;
  max-width:none!important;
  margin:0 0 18px!important;
  color:var(--lwy884-purple-deep)!important;
  font-family:"Inter","Helvetica Neue",Arial,sans-serif!important;
  font-size:12px!important;
  font-weight:650!important;
  line-height:1.2!important;
  letter-spacing:.09em!important;
  white-space:nowrap!important;
}
.story-time-main .page-header h1{
  width:auto!important;
  max-width:900px!important;
  margin:0 auto 18px!important;
  font-family:"Inter","Helvetica Neue",Arial,sans-serif!important;
  font-size:clamp(46px,5vw,66px)!important;
  font-weight:400!important;
  line-height:1.04!important;
  letter-spacing:-.045em!important;
  text-wrap:balance!important;
}
.story-time-main .page-header>p:last-child{
  width:min(720px,100%)!important;
  max-width:720px!important;
  margin:0 auto!important;
  padding:0!important;
  font-family:"Inter","Helvetica Neue",Arial,sans-serif!important;
  font-size:clamp(17px,1.55vw,19px)!important;
  font-weight:400!important;
  line-height:1.6!important;
  letter-spacing:-.01em!important;
}
@media(max-width:780px){
  .story-time-main .page-header{
    min-height:238px!important;
    padding:40px 20px 44px!important;
  }
  .story-time-main .page-header .story-page-kicker{
    margin-bottom:14px!important;
    font-size:11px!important;
  }
  .story-time-main .page-header h1{
    margin-bottom:14px!important;
    font-size:clamp(40px,11vw,52px)!important;
  }
  .story-time-main .page-header>p:last-child{
    font-size:16px!important;
    line-height:1.55!important;
  }
}
@media(max-width:420px){
  .story-time-main .page-header{
    min-height:220px!important;
    padding:34px 16px 38px!important;
  }
  .story-time-main .page-header h1{font-size:42px!important}
}
