/* Homepage story layout in the existing Aya visual system. */
.home .hero-eyebrow{font-size:clamp(1rem,.9rem + .4vw,1.125rem);line-height:1.5}
.home .hero-intro{display:flex;align-items:center;justify-content:center;gap:var(--space-4);margin:0 auto var(--space-4)}
.home .hero-intro>.hero-mascot{display:block;width:80px;height:80px;flex:0 0 80px}
.home .hero-mascot img{display:block;width:100%;height:100%;object-fit:contain;user-select:none}
.home .hero-mascot .aya-mascot-blink{position:absolute;inset:0;opacity:0;animation:aya-mascot-blink 4.6s steps(1,end) .8s infinite}
.home .hero-mascot .aya-mascot-wave-hand{position:absolute;inset:0;transform-origin:81.92% 64.23%;animation:aya-mascot-wave .9s ease-in-out infinite}
.motion-paused .hero-mascot :is(.aya-mascot-motion,.aya-mascot-neutral,.aya-mascot-greeting,.aya-mascot-wave-hand,.aya-mascot-blink){animation:none}
.motion-paused .hero-mascot .aya-mascot-neutral{opacity:1}
.motion-paused .hero-mascot :is(.aya-mascot-greeting,.aya-mascot-blink){opacity:0}
.home .hero-intro>.hero-eyebrow{margin:0;text-align:left}
.home .brand-bridge{
  max-width:var(--max);margin:0 auto;display:grid;grid-template-columns:1fr 1fr;
  gap:var(--space-12);align-items:center;padding:var(--space-8) 0 var(--space-12);
  border-bottom:1px solid var(--border);scroll-margin-top:calc(var(--header-height) + var(--space-6));
}
.home .brand-bridge .eyebrow,.home .brand-principles .eyebrow{color:var(--green);margin-bottom:var(--space-4)}
.home .brand-bridge h2{font-size:clamp(1.5rem,1.1rem + 1.2vw,2.125rem);line-height:1.2;max-width:26ch}
.home .brand-bridge-copy>p{font-size:var(--text-base);color:var(--muted);line-height:1.7}
.home .brand-bridge .text-link{min-height:44px;align-items:center}
.home .brand-next-step{margin-top:var(--space-5);padding-top:var(--space-4);border-top:1px solid var(--border)}
.home .brand-next-step p{font-size:var(--text-xs);line-height:1.65;color:var(--muted)}
.home .brand-next-step .brand-step-label{font-weight:500;color:var(--green);margin-bottom:var(--space-2)}
.home .brand-principles{padding:var(--space-10) 0 var(--space-8);display:grid;grid-template-columns:1fr 1.15fr;gap:var(--space-6) var(--space-12);border-top:1px solid var(--border);border-bottom:1px solid var(--border)}
.home .brand-principles h2{font-size:clamp(1.5rem,1.1rem + 1.2vw,2.125rem);line-height:1.2}
.home .brand-principles-mascot{margin:var(--space-6) 0 0;display:flex;flex-direction:column;align-items:center;gap:var(--space-3)}
.home .brand-principles-mascot>img{display:block;width:min(100%,280px);height:auto;object-fit:contain}
.home .brand-principles-mascot figcaption{margin:0;max-width:32ch;font-size:var(--text-base);font-weight:500;line-height:1.5;text-align:center;color:var(--text)}
.home .brand-principles dl{margin:0;min-width:0}
.home .brand-principles dl>div{padding:var(--space-5) 0;border-top:1px solid var(--border)}
.home .brand-principles dl>div:first-child{padding-top:0;border-top:0}
.home .brand-principles dt{font-size:var(--text-base);font-weight:500;margin-bottom:var(--space-2)}
.home .brand-principles dd{font-size:var(--text-sm);line-height:1.7;color:var(--muted)}
.home .brand-principles>.text-link{grid-column:2;justify-self:start;margin-top:0;min-height:44px;align-items:center}
.home .life-chapter{
  --life-gap:clamp(28px,4vw,64px);
  max-width:var(--max);margin:0 auto;padding:48px 0 72px;
}
.home .life-chapter+.life-chapter{border-top:1px solid var(--border)}
.home .life-heading{max-width:800px;margin-bottom:32px}
.home .life-kicker{display:flex;gap:16px;align-items:center;margin-bottom:20px;font-size:12px;line-height:1.5;letter-spacing:.1em;text-transform:uppercase;color:var(--muted)}
.home .life-number{color:var(--green);font-variant-numeric:tabular-nums;letter-spacing:0}
.home .life-title{font-size:clamp(32px,3.8vw,52px);line-height:1.12;letter-spacing:-.045em}
.home .life-title span{color:var(--green)}
.home .life-intro{font-size:16px;line-height:1.7;max-width:62ch;margin-top:20px;color:var(--muted)}
.home .life-help-intro{font-size:18px;line-height:1.6;max-width:46ch;margin:-12px 0 32px;color:var(--muted)}
.home .life-help-grid{display:grid;grid-template-columns:1.05fr 1fr;gap:var(--life-gap);align-items:start}
.home .life-conversation{min-width:0;overflow:hidden;border-radius:32px;background:var(--surface)}
.home .life-mother{height:360px;overflow:hidden}
.home .life-mother>img{width:100%;height:100%;object-fit:cover;object-position:65% center}
.home .life-dialog{position:relative;padding:24px}
.home .life-dialog-label{font-size:12px;color:var(--muted);margin:0 0 16px}
.home .life-query,.home .life-reply{padding:16px 20px;border-radius:20px;font-size:14px;line-height:1.6}
.home .life-query{background:#fffefa;margin-left:24px;border-bottom-right-radius:6px}
.home .life-reply{background:var(--soft);margin-top:12px;margin-right:24px;border-bottom-left-radius:6px}
.home .life-message-meta{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--muted);margin-bottom:8px}
.home .life-message-meta>img{width:18px;height:18px;object-fit:contain}
.home .life-assistant-meta{gap:var(--space-3);margin-bottom:var(--space-3)}
.home .life-assistant-meta>img{width:44px;height:44px;flex:0 0 44px;object-fit:cover;border-radius:50%}
.home .life-assistant-name{display:flex;min-width:0;flex-direction:column;gap:2px;line-height:1.4}
.home .life-assistant-name strong{font-size:var(--text-sm);font-weight:500;color:var(--text)}
.home .life-assistant-name>span{font-size:var(--text-xs)}
.home .life-message-meta .voice-wave{margin-left:auto;gap:3px;height:18px}
.home .life-message-meta .voice-wave i{width:2px;background:var(--green)}
.home .life-help-copy>.eyebrow{margin-bottom:16px;color:var(--green)}
.home .life-help-heading{font-size:clamp(24px,2.3vw,32px);line-height:1.2;margin-bottom:16px}
.home .life-muted{color:var(--muted);font-size:16px;line-height:1.65}
.home .life-call{margin-top:24px;border-radius:24px;overflow:hidden}
.home .life-call>img{width:100%;aspect-ratio:2/1;object-fit:cover;object-position:center 48%}
.home .life-services{margin:24px 0 16px}
.home .life-services>div{padding:14px 0;display:grid;grid-template-columns:1fr 1.5fr;gap:20px;border-top:1px solid var(--border);font-size:14px;line-height:1.6}
.home .life-services dt{font-weight:500}
.home .life-services dd{color:var(--muted)}
.home .life-network{display:flex;align-items:center;justify-content:space-between;gap:48px;border-top:1px solid var(--border);margin-top:36px;padding-top:28px}
.home .life-network h3{font-size:20px;line-height:1.4;margin-bottom:12px;letter-spacing:-.02em}
.home .life-network p{font-size:14px;line-height:1.7;color:var(--muted);max-width:65ch}
.home .life-network>.button{flex:none}
.home .life-chapter-grid{display:grid;grid-template-columns:1fr 1.15fr;grid-template-areas:"art episodes";gap:var(--life-gap);align-items:start}
.home .life-daily .life-chapter-grid{grid-template-columns:1.15fr 1fr;grid-template-areas:"episodes art"}
.home .life-art{grid-area:art;position:sticky;top:calc(var(--header-height) + 32px);min-width:0}
.home .life-art>img{width:100%;aspect-ratio:4/5;object-fit:cover;border-radius:32px}
.home .life-daily .life-art>img{object-position:32% center}
.home .life-results .life-art>img{aspect-ratio:4/3;object-position:center}
.home .life-art figcaption{font-size:14px;line-height:1.6;color:var(--muted);margin:16px 8px 0}
.home .life-episodes{grid-area:episodes;min-width:0}
.home .life-episode{--life-product-width:90px;display:grid;grid-template-columns:minmax(0,1fr) calc(var(--life-product-width) * var(--life-product-size,1));align-items:center;gap:24px;padding:28px 0;border-top:1px solid var(--border);scroll-margin-top:0}
.home .life-episode:first-child{padding-top:0;border-top:0}
.home .life-episode:last-child{padding-bottom:0}
.home .life-episode-copy{min-width:0}
.home .life-feature-label{display:inline-flex;align-items:center;gap:12px;min-height:36px;font-size:12px;line-height:1.5;font-weight:500;color:var(--green)}
.home .life-feature-label:hover{color:#004d38;text-decoration:underline;text-underline-offset:4px}
.home .life-episode h3{font-size:clamp(20px,1.7vw,24px);line-height:1.22;letter-spacing:-.025em;margin:4px 0 12px;text-wrap:pretty}
.home .life-description{font-size:16px;line-height:1.65;color:var(--muted)}
.home .life-episode .medical-note{margin-top:12px;font-size:12px;line-height:1.6}
.home .life-product{min-width:0;padding:0}
.home .life-product>img{display:block;width:100%;max-height:196px;object-fit:contain;border-radius:10% / 5%}
.home .life-nutri .life-product>img{aspect-ratio:1;object-fit:cover;border-radius:20px}
.home .life-dental .life-product>img{border-radius:8px}
/* Enlarge only these function previews; keep their grid slots and right anchors. */
.home .life-episode:is(.life-nutri,.life-glow,.life-fit,.life-dental) .life-product>img{transform:scale(1.2);transform-origin:right center}
/* These landscape reports are 30% larger than their previous 1.2× preview.
   Reserve their full width in the same column so they never cover the copy. */
.home .life-episode:is(.life-glow,.life-dental){--life-product-size:1.56}
.home .life-episode:is(.life-glow,.life-dental) .life-product>img{transform:none}
.home .life-confidence{max-width:var(--max);margin:0 auto}
.home .life-confidence .partners-strip{margin:0;padding:28px 0 32px}
.home .life-privacy{display:flex;justify-content:space-between;align-items:center;gap:40px;padding:32px 0;border-bottom:1px solid var(--border)}
.home .life-privacy h2{font-size:24px;margin-bottom:12px}
.home .life-privacy p{max-width:60ch;font-size:14px;color:var(--muted)}
.home .life-privacy>.text-link{flex:none;max-width:280px;margin-top:0}
.home .life-confidence+.faq-section{margin-top:64px;margin-bottom:40px}
.home main>.app-section:last-child{padding-bottom:64px}
@media(max-width:1150px){
  .home .brand-bridge{margin-left:var(--space-6);margin-right:var(--space-6)}
  .home .life-chapter,.home .life-confidence{margin-left:24px;margin-right:24px}
  .home .life-confidence .partners-strip{margin-left:0;margin-right:0}
  .home .life-episode{--life-product-width:76px;gap:20px}
}
@media(max-width:767px){
  .home .hero-intro{gap:var(--space-3);margin-bottom:var(--space-3)}
  .home .hero-intro>.hero-mascot{width:64px;height:64px;flex-basis:64px}
  .home .brand-bridge{grid-template-columns:1fr;gap:var(--space-5);padding:var(--space-6) 0 var(--space-8)}
  .home .brand-bridge h2{font-size:1.5rem}
  .home .brand-principles{grid-template-columns:1fr;gap:var(--space-6);padding:var(--space-8) 0}
  .home .brand-principles-mascot>img{width:min(100%,240px)}
  .home .brand-principles>.text-link{grid-column:1}
  .home .life-chapter{padding:32px 0 48px}
  .home .life-heading{margin-bottom:24px}
  .home .life-kicker{gap:12px;margin-bottom:16px;font-size:12px;letter-spacing:.06em}
  .home .life-title{font-size:34px;line-height:1.14}
  .home .life-intro{font-size:16px;margin-top:16px}
  .home .life-help-intro{font-size:16px;margin:0 0 24px}
  .home .life-help-grid{grid-template-columns:1fr;gap:32px}
  .home .life-conversation{border-radius:24px}
  .home .life-mother{height:260px}
  .home .life-dialog{padding:20px 16px}
  .home .life-query,.home .life-reply{padding:14px 16px;font-size:14px;border-radius:16px}
  .home .life-query{margin-left:12px;border-bottom-right-radius:4px}
  .home .life-reply{margin-right:12px;border-bottom-left-radius:4px}
  .home .life-help-heading{font-size:26px}
  .home .life-call{margin-top:20px;border-radius:20px}
  .home .life-call>img{aspect-ratio:1.8/1}
  .home .life-services>div{grid-template-columns:1fr 1.3fr;gap:16px}
  .home .life-network{display:block;margin-top:28px;padding-top:24px}
  .home .life-network h3{font-size:20px}
  .home .life-network>.button{margin-top:20px}
  .home .life-chapter-grid,.home .life-daily .life-chapter-grid{grid-template-columns:1fr;grid-template-areas:"art" "episodes";gap:28px}
  .home .life-art{position:static}
  .home .life-art>img{height:260px;aspect-ratio:auto;border-radius:24px}
  .home .life-daily .life-art>img{object-position:30% center}
  .home .life-results .life-art>img{height:auto;aspect-ratio:4/3}
  .home .life-art figcaption{margin:12px 0 0;font-size:12px}
  .home .life-episode{--life-product-width:72px;column-gap:20px;row-gap:12px;padding:24px 0}
  .home .life-episode-copy{display:contents}
  .home .life-feature-label{grid-column:1/-1;grid-row:1;justify-self:start;min-height:44px;font-size:12px;gap:8px}
  .home .life-episode h3{grid-column:1/-1;grid-row:2;font-size:21px;line-height:1.25;margin:0}
  .home .life-description{grid-column:1;grid-row:3;font-size:16px;line-height:1.65}
  .home .life-product{grid-column:2;grid-row:3;align-self:start;margin-top:4px}
  .home .life-episode .medical-note{grid-column:1/-1;grid-row:4;margin-top:0}
  .home .life-product>img{max-height:174px}
  .home .life-episode:is(.life-nutri,.life-glow,.life-fit,.life-dental) .life-product>img{transform-origin:right top}
  .home .life-confidence .partners-strip{padding:24px 16px}
  .home .life-privacy{display:block;padding:28px 0}
  .home .life-privacy h2{font-size:22px}
  .home .life-privacy>.text-link{margin-top:16px;min-height:44px;align-items:center}
  .home .life-confidence+.faq-section{margin-top:40px;margin-bottom:24px}
  .home main>.app-section:last-child{padding-bottom:40px}
}
@media(max-width:360px){
  .home .life-title{font-size:30px}
  .home .life-episode{--life-product-width:60px;gap:16px}
  .home .life-services>div{grid-template-columns:1fr;gap:4px}
}
