/* Homepage additions to the original NanaTato storybook design. */
.family-home{background:#fffaf0}
.family-home .hero-copy h1{font-size:clamp(3.1rem,5.2vw,4.6rem)}
.family-home .hero-description{max-width:460px}
.family-home .hero-promises{gap:20px}
.family-home .hero-promises span:before{content:'✓';color:#758368;margin-right:7px}
.family-world .world-art{height:445px;top:10px;border-radius:46% 46% 37% 42%;object-position:center}
.family-world .world-note{top:1px;right:12px;transform:rotate(6deg);font-size:14px;background:#eae5f6}
.family-world .world-note>span{float:none;font-size:14px;margin:0;color:inherit}
.hero-book{position:absolute;right:7px;bottom:-2px;width:250px;background:#fffaf0;border:7px solid #fffaf0;border-radius:22px;box-shadow:7px 14px 28px #493b3229;transform:rotate(6deg);overflow:hidden;color:#303128;transition:transform .2s}
.hero-book:hover{transform:rotate(3deg) translateY(-3px)}
.hero-book>img{width:100%;height:140px;object-fit:cover;border-radius:14px}
.hero-book>span{display:block;padding:10px 39px 9px 9px;font-size:10px;line-height:1.5;position:relative;color:#777263}
.hero-book strong{display:block;font-size:14px;color:#303128;line-height:1.3;margin-top:2px}
.book-play{position:absolute;right:5px;top:20px;width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:#b64b20;color:#fff;font-size:17px}
.app-shelf{background:#f0eddf;border-block:1px solid #e6e0cf;scroll-margin-top:85px}
.app-shelf>.container{display:grid;grid-template-columns:repeat(3,1fr);padding-block:25px}
.app-shelf a{display:flex;gap:15px;align-items:center;padding-inline:25px;color:#303128;border-right:1px solid #d8d4c4;min-width:0}
.app-shelf a:first-child{padding-left:0}.app-shelf a:last-child{border:0;padding-right:0}
.app-shelf img{border-radius:16px;flex-shrink:0;width:58px;height:58px}
.app-shelf strong{display:block;font-size:17px;font-weight:800;line-height:1.2;letter-spacing:-.02em}
.app-shelf small{display:block;font-size:12px;color:#68685c;line-height:1.5;margin-top:5px}
.shelf-arrow{margin-left:auto;color:#9c4222;font-size:21px;padding-left:5px}
.app-shelf a:hover strong{color:#9c4222}
.anchor-alias{position:absolute;top:0}
.chapter-heading{display:grid;grid-template-columns:.85fr 1.15fr;gap:64px;align-items:start;margin-bottom:40px}
.chapter-heading h2{font-size:clamp(2rem,3.8vw,3.15rem)}
.chapter-intro{padding-top:10px}.chapter-intro>p{color:#68685c;max-width:600px;font-size:17px;line-height:1.7}
.chapter-links{display:flex;align-items:center;gap:20px;flex-wrap:wrap;margin-top:22px}
.store-link{font-size:14px;gap:14px;padding:13px 21px}
.inline-link{font-size:14px;font-weight:800;color:#9c4222;min-height:44px;display:inline-flex;align-items:center}
.inline-link:hover{text-decoration:underline;text-underline-offset:4px}
.store-caption,.chapter-intro .store-caption{font-size:11px;color:#6d6e5f;margin-top:12px}
.story-samples{display:grid;grid-template-columns:repeat(3,1fr);gap:26px}
.story-samples a{color:#303128;display:block}
.story-samples img{width:100%;aspect-ratio:1.5;height:auto;object-fit:cover;border-radius:26px}
.story-samples h3{font-size:18px;letter-spacing:-.02em;line-height:1.3;margin-top:17px}
.story-samples p{color:#777263;font-size:12px;margin-top:5px}
.story-samples a:hover h3{color:#9c4222}
.family-home .player-demo{display:grid;grid-template-columns:1fr 235px;max-width:none;margin-top:38px;padding:26px 30px;column-gap:30px;row-gap:0;border-radius:24px}
.sample-label{grid-column:1;letter-spacing:.14em;font-size:10px;font-weight:800;color:#c7c9df;margin-bottom:13px}
.family-home .pd-head{grid-column:1;grid-row:2/5;margin:0;gap:16px}
.family-home .pd-art{height:65px;width:86px}
.family-home .pd-title{font-size:21px}.family-home .pd-meta{font-size:13px;color:#d3d8d7}
.family-home .pd-progress{grid-column:2;grid-row:2;margin:0}
.family-home .pd-time{grid-column:2;grid-row:3;margin-top:4px;font-size:10px}
.family-home .pd-controls{grid-column:2;grid-row:4;margin:7px 0 0;gap:18px;justify-content:flex-start}
.family-home .pd-playbtn{width:44px;height:44px}.family-home .pd-toggle{font-size:12px;min-height:44px}
.playland-chapter{background:#e9f2e8;border-block:1px solid #dde9d8}
.playland-layout{display:grid;grid-template-columns:1.1fr 1fr;gap:75px;align-items:center}
.playland-banner{width:100%;height:auto;border-radius:27px}
.game-screens{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:22px 24px 0}
.game-screens figure>div{overflow:hidden;height:260px;border-radius:19px;background:#fffaf0;border:5px solid #fffaf0;box-shadow:0 4px 12px #3b593210}
.game-screens img{width:100%;height:auto;display:block}
.game-screens figcaption{font-size:12px;font-weight:800;text-align:center;color:#52644d;margin-top:10px}
.playland-copy h2,.wordle-copy h2{font-size:clamp(2rem,3.8vw,3.15rem);line-height:1.12}
.chapter-description{font-size:17px;color:#636957;line-height:1.8;margin-top:23px;max-width:510px}
.game-list{display:grid;grid-template-columns:1fr 1fr;gap:9px 18px;border-block:1px solid #cdddc6;padding-block:23px;margin-block:24px;font-size:14px;color:#42523b}
.game-list li:before{content:'✦';font-size:10px;color:#769368;margin-right:10px}
.level-note{font-size:11px;line-height:1.8;color:#626b56;margin-bottom:24px}
.level-note span{padding-inline:5px}.level-note strong{color:#3b5134}
.playland-copy .btn-primary{background:#4e7049}.playland-copy .btn-primary:hover{background:#3b5837}
.wordle-chapter{background:#eae5f4;overflow:hidden}
.wordle-layout{display:grid;grid-template-columns:.9fr 1.1fr;gap:70px;align-items:center}
.wordle-copy .eyebrow{color:#6d5e87}.wordle-copy .chapter-description{color:#6b6375}
.wordle-modes{margin-block:24px 30px}
.wordle-modes>div{display:grid;grid-template-columns:95px 1fr;gap:15px;padding:13px 0;border-bottom:1px solid #d5cde2;font-size:14px}
.wordle-modes dt{font-weight:800;color:#5b537f}.wordle-modes dd{margin:0;color:#6b6375}
.wordle-copy .btn-primary{background:#5d609b}.wordle-copy .btn-primary:hover{background:#4d5085}
.wordle-scene{height:560px;position:relative}
.garden-scene{position:absolute;top:12px;left:0;width:100%;height:350px;object-fit:cover;border-radius:45% 44% 40% 40%}
.wordle-device{position:absolute;right:30px;bottom:0;width:225px;background:#fffaf0;border:6px solid #444250;border-radius:29px;overflow:hidden;box-shadow:8px 14px 25px #49405b22;transform:rotate(5deg)}
.wordle-device>img{width:100%;height:auto;display:block}
.wordle-device figcaption{padding:9px 5px;text-align:center;font-size:11px;font-weight:800;color:#625e76}
.comparison-section{background:#fffaf0}
.comparison-section .section-head{max-width:660px}
.comparison-intro{font-size:17px;color:#68685c;margin-top:17px}
.table-scroll{overflow-x:auto;border:1px solid #e0d9c8;border-radius:22px;background:#fffdf8}
.table-scroll table{width:100%;min-width:760px;border-collapse:collapse;text-align:left;font-size:14px;line-height:1.65}
.table-scroll th,.table-scroll td{padding:19px 24px;vertical-align:top;border-bottom:1px solid #e8e2d4}
.table-scroll thead{background:#f0ecdf}.table-scroll thead th{vertical-align:middle;font-size:15px;font-weight:800;width:27%}
.table-scroll thead th:first-child{width:19%;font-size:12px;color:#68685c}.table-scroll thead img{border-radius:12px;margin-bottom:10px}
.table-scroll tbody th{font-size:13px;font-weight:800;color:#5b5f4e}.table-scroll td{color:#68685c}
.table-scroll tr:last-child td,.table-scroll tr:last-child th{border-bottom:0}
.table-scroll td[colspan]{background:#f0eddf;color:#515a46}
.comparison-note{color:#777263;font-size:12px;line-height:1.7;margin-top:17px}.scroll-hint{display:none}
.collection-note{display:flex;align-items:center;gap:22px;padding-top:30px;margin-top:24px;border-top:1px solid #e5decd}
.collection-note img{height:80px;width:80px;border-radius:50%;flex-shrink:0}.collection-note h3{font-size:21px;margin-bottom:6px}
.collection-note p{font-size:14px;color:#68685c;max-width:920px}.collection-note a{color:#9c4222;font-weight:800;white-space:nowrap}
.family-home #faq .section-head{max-width:none}.family-home .faq-item summary{display:flex;align-items:center;justify-content:space-between;gap:25px;font-size:17px}
.family-home .faq-item summary>span{font-size:23px;color:#80563f;flex-shrink:0;font-weight:400}
.family-home .faq-item[open] summary>span{transform:rotate(45deg)}
.family-home .faq-answer{font-size:16px;line-height:1.8}
.help-links{display:flex;gap:12px;flex-wrap:wrap;font-size:13px;margin-top:28px}.help-links a{color:#9c4222}
.family-home .final-cta{padding-bottom:28px}.family-home .final-cta h2{font-size:38px}.family-home .final-cta .lead{font-size:16px;margin-top:13px}
.footer-apps{display:flex;justify-content:center;gap:14px;flex-wrap:wrap;margin-top:28px}
.footer-apps a{border:1px solid #62706e;color:#fffaf0;border-radius:99px;padding:12px 22px;font-size:14px;font-weight:800}
.footer-apps a:hover{background:#ffffff10}
.family-home .site-footer{margin-top:45px}.family-home .footer-links{margin-top:15px}
:target{scroll-margin-top:104px}
@media(max-width:1100px){.app-shelf a{gap:11px;padding-inline:17px}.app-shelf img{height:47px;width:47px;border-radius:13px}.app-shelf strong{font-size:15px}.app-shelf small{font-size:11px}.shelf-arrow{display:none}.playland-layout,.wordle-layout{gap:44px}.chapter-heading{gap:40px}.game-screens{margin-inline:10px}.game-screens figure>div{height:215px}.level-note{font-size:10px}.wordle-device{right:5px;width:205px}.family-home .nav-links{gap:18px}.family-home .nav-links a{font-size:13px}.family-home .nav-cta .btn{font-size:13px}.family-home .nav-inner{gap:18px}}
@media(max-width:900px){.family-home .nav-links{gap:12px}.family-home .nav-links a{font-size:12px}.family-home .nav-inner{gap:12px}.family-home .brand .wordmark{font-size:23px}.chapter-heading{grid-template-columns:1fr 1.1fr;gap:30px}.story-samples{gap:18px}.story-samples h3{font-size:16px}.playland-layout{gap:35px}.game-screens{gap:12px;margin-inline:0}.game-screens figure>div{height:190px}.game-list{font-size:12px;gap:8px}.chapter-description{font-size:16px}.level-note span{padding-inline:2px}.wordle-scene{height:510px}.garden-scene{height:300px}.wordle-device{width:200px}.family-home .player-demo{grid-template-columns:1fr 200px}}
@media(max-width:800px){.family-home .hero-copy h1{font-size:clamp(3.2rem,8.5vw,4.5rem)}.family-world{height:445px}.family-world .world-art{height:360px;top:10px}.hero-book{width:220px;bottom:0;right:10px}.hero-book>img{height:120px}.hero-book strong{font-size:13px}.family-world .world-note{right:5px;font-size:12px}.app-shelf>.container{grid-template-columns:1fr;padding-block:8px}.app-shelf a,.app-shelf a:first-child,.app-shelf a:last-child{padding:15px 0;border:0;border-bottom:1px solid #ddd7c6}.app-shelf a:last-child{border:0}.app-shelf img{width:48px;height:48px}.app-shelf strong{font-size:17px}.app-shelf small{font-size:12px}.shelf-arrow{display:block}.chapter-heading{grid-template-columns:1fr;gap:17px;margin-bottom:30px}.chapter-intro{padding:0}.chapter-intro>p{font-size:16px}.chapter-links{gap:12px 20px}.story-samples{gap:15px}.story-samples h3{font-size:15px}.story-samples p{font-size:11px}.story-samples img{border-radius:19px;aspect-ratio:1.15}.family-home .player-demo{grid-template-columns:1fr;margin-top:30px;display:block;padding:24px}.sample-label{margin-bottom:14px}.family-home .pd-head{margin-bottom:20px}.family-home .pd-title{font-size:19px}.family-home .pd-controls{margin-top:12px}.playland-layout{grid-template-columns:1fr;gap:32px}.playland-copy{grid-row:1}.playland-scenes{max-width:620px;width:100%;margin:auto}.playland-banner{border-radius:24px}.game-screens{margin-inline:20px;gap:22px}.game-screens figure>div{height:290px}.game-list{font-size:14px}.level-note{font-size:12px}.wordle-layout{grid-template-columns:1fr;gap:32px}.wordle-scene{height:515px;max-width:560px;width:100%;margin:auto}.garden-scene{height:340px}.wordle-device{width:210px;right:25px}.chapter-description{max-width:none}.wordle-modes>div{grid-template-columns:90px 1fr}.comparison-intro{font-size:16px}.table-scroll table{font-size:13px}.table-scroll th,.table-scroll td{padding:17px}.scroll-hint{display:block;font-size:12px;color:#777263;margin-bottom:12px}.collection-note{gap:18px;align-items:flex-start}.collection-note img{width:60px;height:60px}.collection-note h3{font-size:20px}.collection-note p{font-size:14px}.family-home .faq-item summary{font-size:16px}.family-home .faq-answer{font-size:15px}.family-home .nav-inner{gap:14px}.family-home .nav-cta .btn{font-size:12px}.family-home .nav-sheet{top:72px}:target{scroll-margin-top:90px}}
@media(max-width:520px){.family-home .hero-copy h1{font-size:3.2rem}.family-home .hero-description{font-size:16px}.family-home .hero-promises{gap:8px 17px;font-size:11px}.family-world{height:360px}.family-world .world-art{height:280px}.family-world .world-note{font-size:11px;padding:10px 13px;right:0}.hero-book{width:185px;right:5px;bottom:0;border-width:5px;border-radius:17px}.hero-book>img{height:96px;border-radius:12px}.hero-book>span{font-size:9px;padding:7px 32px 8px 6px}.hero-book strong{font-size:11px}.book-play{height:24px;width:24px;top:16px;font-size:15px}.family-home .storybook-hero-grid{padding-bottom:35px}.story-samples{display:flex;overflow-x:auto;gap:16px;padding-bottom:12px;scroll-snap-type:x proximity}.story-samples>a{flex:0 0 76%;scroll-snap-align:start}.story-samples img{aspect-ratio:1.5}.story-samples h3{font-size:17px}.story-samples p{font-size:12px}.game-screens{margin-inline:0;gap:15px}.game-screens figure>div{height:225px;border-width:4px}.game-list{font-size:13px;gap:9px 12px}.level-note{font-size:10px}.store-link{font-size:13px;padding-inline:18px}.wordle-scene{height:435px}.garden-scene{height:250px}.wordle-device{right:6px;width:190px;border-width:5px;border-radius:24px}.wordle-modes>div{font-size:13px;grid-template-columns:80px 1fr}.collection-note{gap:13px}.collection-note img{height:48px;width:48px}.family-home .final-cta h2{font-size:31px}.footer-apps{gap:10px}.footer-apps a{font-size:12px;padding:11px 16px}.family-home .brand .wordmark{font-size:22px}.family-home .nav-cta .btn{font-size:11px;padding-inline:13px}.family-home .nav-inner{gap:9px}.family-home .pd-meta{font-size:11px}.family-home .pd-title{font-size:17px}}
@media(prefers-reduced-motion:reduce){.hero-book{transition:none}}
/* The original star-layer rule gives header.nav z-index:1; keep it above main. */
.family-home header.nav{position:sticky;z-index:100}
.family-home :target{scroll-margin-top:0}
