@font-face{font-family:HafioText;src:url('assets/text.ttf') format('truetype');font-display:swap}@font-face{font-family:HafioStory;src:url('assets/title.ttf') format('truetype');font-display:swap}
:root{--ink:#313d36;--muted:#6a736b;--green:#344e42;--sage:#e7eee4;--pink:#e7b9b6;--paper:#fffdf8;--line:#e3e5db;--serif:HafioStory,Georgia,serif;--sans:HafioText,Arial,sans-serif}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:24px}body{margin:0;background:var(--paper);color:var(--ink);font:14px/1.7 var(--sans)}button,input,textarea,select{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer}a{color:inherit}button:disabled{opacity:.45;cursor:default}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #a46936;outline-offset:4px}button,input,textarea,select{border-radius:10px}button{color:inherit}input,textarea,select{min-width:0;max-width:100%}input[type=radio]{accent-color:var(--green)}.wrap{max-width:1220px;padding:0 36px;margin:0 auto}.header{height:106px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:12px;text-decoration:none}.brand img{height:60px;width:60px;object-fit:contain}.brand>span{font-family:var(--serif);font-size:25px;letter-spacing:-1px}.brand-dot{color:#be8178}.header nav{display:flex;align-items:center;gap:32px;font-size:12px}.header nav a{text-decoration:none}.header-cta{border:1px solid #cbd3c7;border-radius:30px;padding:10px 18px}.header-cta span{margin-left:15px}.hero{display:grid;grid-template-columns:1.08fr 1fr;align-items:center;gap:55px;padding-top:66px;padding-bottom:72px}.eyebrow{font-size:10px;letter-spacing:.15em;font-weight:bold;color:#707c67}.little-star{color:#a87946;font-size:19px;margin-right:8px}.hero h1{font:54px/1.2 var(--serif);letter-spacing:-2px;margin:21px 0 23px}.hero h1 em{font-style:normal;color:#9b6a61}.hero-copy>p{max-width:475px;color:var(--muted);font-size:15px;line-height:1.9;margin-bottom:29px}.button{display:inline-flex;align-items:center;justify-content:center;gap:17px;text-decoration:none;border:1px solid transparent;padding:13px 21px;border-radius:9px;font-size:12px;font-weight:bold;min-height:46px}.primary{background:var(--green);color:white}.primary:hover{background:#243c30}.secondary{border-color:#d6ddd0;background:var(--paper)}.secondary:hover{background:#edf1e8}.hero-benefits{display:flex;flex-wrap:wrap;gap:15px;font-size:9px;margin-top:19px;color:#606c60}.hero-art{min-height:415px;position:relative;display:flex;justify-content:center;align-items:center}.hero-art:before{content:'';position:absolute;inset:16px -6px 0;border-radius:50%;background:#edf0e5}.hero-book{position:relative;z-index:2;width:296px;height:386px;background:#e9eee0;transform:rotate(-7deg);border:1px solid #cdd7c6;border-left:8px solid #d3decb;border-radius:5px 13px 13px 5px;box-shadow:14px 20px 28px #37413020;text-align:center;padding:24px 16px 14px}.book-top{font-size:8px;letter-spacing:.24em;color:#5b715c}.hero-book h2{font:25px/1.2 var(--serif);margin:14px 0 0;letter-spacing:-.6px}#hero-illustration{height:205px;display:flex;align-items:center}#hero-illustration svg{width:100%;height:auto}.hero-book-name{font-size:11px;letter-spacing:.12em;margin-top:0}.book-bottom{font-size:6px;letter-spacing:.15em}.orbit-note{position:absolute;top:0;right:-6px;z-index:3;font:italic 15px/1.5 Georgia,serif;transform:rotate(10deg);color:#8e7862}.paper-peek{position:absolute;right:0;bottom:28px;z-index:3;width:133px;height:157px;background:#fffdf7;border:1px solid #dddcd0;transform:rotate(13deg);box-shadow:4px 8px 16px #333c3210;display:flex;flex-direction:column;align-items:center;justify-content:center;font-size:66px;color:#958375}.paper-peek span{font-size:8px}.free-stamp{position:absolute;bottom:4px;left:0;z-index:3;background:var(--pink);border:5px solid var(--paper);border-radius:50%;width:92px;height:92px;display:flex;flex-direction:column;align-items:center;justify-content:center;font-size:12px;line-height:1.3;transform:rotate(-12deg);color:#61433c}.free-stamp strong{font-family:var(--serif);font-size:23px}.how-strip{display:grid;grid-template-columns:repeat(3,1fr);gap:28px;padding-top:24px;padding-bottom:24px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin-bottom:65px}.how-strip>div{display:flex;align-items:center;gap:16px}.how-strip b{font:26px var(--serif);color:#9b9f89}.how-strip span{font-size:12px}.how-strip strong{font-weight:normal;display:block}.creator-section{background:#f1f3eb;padding:60px 0 65px}.section-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:25px;margin-bottom:31px}.section-heading h2,.ideas h2,.faq h2{font:32px/1.3 var(--serif);letter-spacing:-1px;margin:10px 0 0}.section-heading>p{font-size:12px;color:var(--muted);max-width:240px;margin:0 0 5px}.creator-layout{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(0,1fr);gap:37px;align-items:start}.editor{border:1px solid #dce2d3;background:var(--paper);border-radius:17px;overflow:hidden;box-shadow:0 8px 20px #37413004}.steps{display:flex;justify-content:space-between;padding:22px 24px;border-bottom:1px solid var(--line);gap:6px}.steps button{display:flex;align-items:center;gap:8px;background:none;border:0;font-size:10px;padding:2px}.steps span{border:1px solid #ccd5c5;border-radius:50%;width:25px;height:25px;display:grid;place-items:center;font-size:10px;color:#7e8678}.steps [aria-current=step]{color:var(--green);font-weight:bold}.steps [aria-current=step] span{background:var(--green);color:white;border-color:var(--green)}.step-panel{padding:28px}.step-panel h3{font:23px/1.35 var(--serif);margin:0 0 10px;letter-spacing:-.5px;outline:none}.muted{color:var(--muted)}.step-panel>p{font-size:11px;margin:0 0 25px}.small{font-size:10px}.story-options,.age-options,.format-options{padding:0;margin:0;border:0}#story-options{display:flex;flex-direction:column;gap:11px}.story-choice{display:flex;align-items:center;position:relative;gap:14px;border:1px solid #e1e4da;border-radius:11px;padding:12px;cursor:pointer;background:#fffefa}.story-choice:has(input:checked){border:1.5px solid #627a5f;background:#f2f6ec;padding:11.5px}.story-choice input{position:absolute;right:14px;top:22px;width:15px;height:15px}.story-thumb{width:69px;height:77px;flex-shrink:0;border-radius:7px;overflow:hidden;display:flex;align-items:center;background:#e5eddd}.story-thumb svg{width:100%;height:auto}.story-info{padding-right:24px}.story-info strong{display:block;font:16px/1.35 var(--serif);margin-bottom:6px}.story-info small{font-size:10px;color:var(--muted);display:block;line-height:1.6}.story-info .tag{display:inline-block;background:#e5ebdb;border-radius:3px;padding:1px 6px;margin-top:6px;font-size:8px;color:#607155}.age-options{display:flex;gap:10px;flex-wrap:wrap;margin-top:25px}.age-options legend,.format-options legend{font-size:11px;font-weight:bold;margin-bottom:11px}.age-options label{flex:1;display:flex;gap:8px;border:1px solid var(--line);padding:12px;border-radius:8px;cursor:pointer;min-width:155px}.age-options label:has(input:checked){background:#f1f5ec;border-color:#8f9e86}.age-options input{margin:4px 0 0;flex-shrink:0}.age-options strong{display:block;font-size:12px;margin-bottom:3px}.age-options span{font-size:8px;color:var(--muted)}.form-actions{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-top:28px;padding-top:22px;border-top:1px solid var(--line)}.form-actions>.small{max-width:145px}.live-preview{padding:20px 8px 0;position:sticky;top:30px;text-align:center}.preview-label{font-size:8px;letter-spacing:.15em;display:flex;align-items:center;justify-content:center;gap:7px;margin-bottom:23px;color:#6c7862}.live-dot{width:6px;height:6px;background:#7a956b;border-radius:50%}.mini-book{max-width:286px;margin:0 auto;aspect-ratio:148/210;background:#e8eddf;border:1px solid #cbd4c2;border-left:7px solid #d0dac7;border-radius:4px 10px 10px 4px;box-shadow:10px 15px 23px #343f3319;padding:24px 17px 15px;display:flex;align-items:center;flex-direction:column;justify-content:space-between}.mini-book .book-mark{font-size:7px;letter-spacing:.17em}.mini-book h3{font:23px/1.25 var(--serif);letter-spacing:-.5px;margin:13px 0 0;overflow-wrap:anywhere}.mini-book .cover-art{width:100%;margin:4px 0}.mini-book .cover-art svg{width:100%;display:block}.mini-book .cover-names{font-size:10px;line-height:1.6;overflow-wrap:anywhere}.mini-book .cover-sub{font-size:6px;letter-spacing:.1em;margin-top:6px}.live-preview>p{font:italic 12px/1.65 Georgia,serif;color:#7b7f6c;max-width:260px;margin:23px auto 15px}.preview-foot{display:flex;justify-content:center;gap:9px;font-size:7px;color:#75806b}.preview-foot i{font-style:normal}.person-card,.pet-card{border:1px solid var(--line);border-radius:11px;padding:15px;margin:15px 0;background:white}.card-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px;gap:10px}.card-heading h4{margin:0;font-size:11px}.remove{font-size:10px;border:0;background:none;text-decoration:underline;color:#88635a;padding:4px}.fields-row{display:grid;grid-template-columns:1fr 1fr;gap:11px}.field{display:flex;flex-direction:column;gap:5px;font-size:10px;min-width:0}.field input,.field select,.field textarea{width:100%;border:1px solid #d8decf;background:#fffefa;padding:9px 10px;border-radius:7px;color:var(--ink);font-size:12px;min-height:41px}.field input[aria-invalid=true]{border:2px solid #b24f3c}.appearance{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:12px}.appearance select{font-size:10px;padding:8px 5px}.add-actions{display:flex;flex-wrap:wrap;gap:8px}.add-actions .button{padding:8px 11px;font-size:9px;min-height:38px}.subheading{display:flex;align-items:center;justify-content:space-between;margin-top:27px;gap:10px}.subheading h4{font:18px var(--serif);margin:0}.step-panel>.privacy-note{margin:22px 0 0;padding:13px;background:#eff3e8;border-radius:8px;font-size:9px;line-height:1.8;color:#5d6c56}.text-button{border:0;background:none;font-size:11px;padding:9px 0;text-decoration:underline;text-underline-offset:4px;cursor:pointer}.dedication-field{margin:22px 0}.optional{font-weight:normal;color:var(--muted);font-size:9px}.field textarea{resize:vertical}.format-options label{display:flex;align-items:center;gap:11px;border:1px solid var(--line);padding:15px 13px;border-radius:10px;margin-bottom:10px;cursor:pointer;position:relative}.format-options label:has(input:checked){background:#f0f4e9;border-color:#718266}.format-options input{margin:0}.format-icon{font-size:24px;width:28px}.format-options strong{font-size:11px;display:block}.format-options small{font-size:8px;color:var(--muted);display:block;margin-top:4px}.format-options b{display:none;margin-left:auto;color:var(--green)}.format-options label:has(input:checked) b{display:block}.use-tip{background:#f6eee3;padding:16px;border-radius:9px;font-size:10px;line-height:1.8;margin-top:20px}.use-tip strong{display:block;margin-bottom:4px}.download-actions{flex-wrap:wrap;gap:10px}.download-actions .button{flex:1;white-space:nowrap;font-size:10px;padding:12px 10px}.step-panel #download-status{margin:16px 0 5px;min-height:17px;font-size:10px}.form-error{color:#9a3827;background:#fff0e9;margin:0 28px 22px;border-radius:8px;padding:12px;font-size:11px}.ideas{padding-top:70px;padding-bottom:70px}.ideas-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}.ideas article{padding:24px 0 0;border-top:1px solid #d9dfd1;display:flex;flex-direction:column}.ideas article>span{font-size:31px;color:#9b7961;line-height:1;margin-bottom:16px}.ideas article h3{font:17px/1.4 var(--serif);margin:0 0 12px}.ideas article p{font-size:11px;color:var(--muted);margin:0 0 20px;line-height:1.85}.ideas article button{margin-top:auto;align-self:start;border:0;border-radius:0;border-bottom:1px solid #a9b39f;background:transparent;font-size:10px;padding:0 0 5px}.faq{max-width:830px;padding-bottom:65px}.faq h2{margin-bottom:25px;font-size:28px}.faq details{border-bottom:1px solid var(--line);padding:17px 0}.faq summary{font-size:12px;cursor:pointer}.faq details p{color:var(--muted);font-size:11px;line-height:1.9;max-width:660px}.footer{display:flex;justify-content:space-between;align-items:center;gap:25px;border-top:1px solid var(--line);padding-top:28px;padding-bottom:30px}.footer .brand img{width:40px;height:40px}.footer .brand>span{font-size:18px}.footer p{font-size:9px;color:var(--muted)}.footer>a:last-child{font-size:9px;text-decoration:none}.skip{position:absolute;top:-100px;left:20px;z-index:20;background:white;padding:15px}.skip:focus{top:10px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.noscript{position:fixed;bottom:0;padding:20px;background:#ffe1bb;width:100%;text-align:center}[hidden]{display:none!important}
dialog{width:min(760px,calc(100% - 22px));max-height:94dvh;border:1px solid #d2d8c8;border-radius:17px;padding:0;background:#f0f2e9;color:var(--ink)}dialog::backdrop{background:#25332be0;backdrop-filter:blur(5px)}.reader-header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 25px;background:var(--paper);position:sticky;top:0;z-index:2}.reader-header h2{font:17px var(--serif);margin:3px 0 0}.reader-header .eyebrow{font-size:8px}.icon-button{width:38px;height:38px;border:1px solid var(--line);background:transparent;font-size:26px;line-height:1}.reader-body{padding:25px;display:flex;justify-content:center}.reader-sheet{width:440px;max-width:100%;aspect-ratio:148/210;box-shadow:0 8px 25px #3335;background:white;display:block}.reader-sheet svg{width:100%;height:100%;display:block}.reader-controls{display:flex;align-items:center;justify-content:center;gap:35px;padding:14px;background:var(--paper);position:sticky;bottom:0;font-size:11px}.reader-controls .button{min-height:36px;padding:6px 17px}
@media(min-width:1400px){.hero{gap:90px;padding-top:82px;padding-bottom:84px}.hero h1{font-size:60px}.hero-art{min-height:440px}}
@media(max-width:1000px){.wrap{padding-left:25px;padding-right:25px}.hero{gap:30px}.hero h1{font-size:43px}.hero-book{width:257px;height:356px}.hero-book h2{font-size:23px}#hero-illustration{height:185px}.paper-peek{right:-7px;width:100px;height:125px;font-size:50px}.orbit-note{right:0;font-size:12px}.creator-layout{gap:22px;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr)}.step-panel{padding:22px}.steps{padding:19px 17px}.steps button{font-size:9px}.mini-book h3{font-size:20px}.ideas-grid{gap:20px}.section-heading h2{font-size:28px}}
@media(max-width:740px){.header{height:84px}.header nav{gap:16px}.header nav>a:first-child{display:none}.brand img{width:45px;height:45px}.brand>span{font-size:22px}.hero{grid-template-columns:1fr;gap:20px;padding-top:36px;padding-bottom:38px}.hero h1{font-size:48px;max-width:520px}.hero-copy>p{max-width:500px}.hero-art{max-width:400px;width:100%;margin:0 auto;min-height:390px}.hero-book{width:270px;height:365px}.orbit-note{top:5px}.free-stamp{left:10px}.paper-peek{right:5px}.how-strip{gap:15px;padding-top:20px;padding-bottom:20px;margin-bottom:35px}.how-strip>div{align-items:flex-start;gap:8px}.how-strip b{font-size:21px}.how-strip span{font-size:9px}.creator-section{padding:38px 0}.section-heading{display:block}.section-heading>p{max-width:none;margin-top:12px}.creator-layout{grid-template-columns:1fr}.live-preview{position:static;display:none}.editor{max-width:none}.step-panel{padding:24px}.steps{padding:19px 22px}.steps button{font-size:10px}.ideas{padding-top:45px;padding-bottom:45px}.ideas-grid{grid-template-columns:1fr 1fr;gap:30px 23px}.footer{flex-wrap:wrap;gap:16px}.footer p{max-width:190px}.footer>a:last-child{width:100%}.faq{padding-bottom:40px}.reader-body{padding:14px}.reader-header{padding:14px 17px}}
@media(max-width:400px){.wrap{padding-left:18px;padding-right:18px}.header nav{gap:10px}.header nav>a:nth-child(2){display:none}.hero h1{font-size:40px}.hero-benefits{font-size:8px;gap:9px}.eyebrow{font-size:8px}.hero-copy>p{font-size:13px}.hero .button{font-size:10px}.hero-art{min-height:370px}.hero-book{width:248px;height:348px}.free-stamp{left:0;width:77px;height:77px}.paper-peek{right:-2px;width:90px;height:115px}.steps{padding:16px 13px}.steps button{font-size:8px;gap:5px}.step-panel{padding:19px}.step-panel h3{font-size:21px}.story-info strong{font-size:14px}.story-thumb{width:56px;height:68px}.story-choice{gap:10px}.form-actions{flex-wrap:wrap}.form-actions>.small{max-width:none}.fields-row{grid-template-columns:1fr}.appearance{grid-template-columns:1fr 1fr}.appearance .field:last-child{grid-column:1/-1}.format-options label{gap:8px}.format-icon{display:none}.format-options small{font-size:8px}.download-actions .button{flex:auto;width:100%}.ideas-grid{gap:25px 15px}.ideas article h3{font-size:15px}}
.memory-options{border:0;padding:0;margin:28px 0 0}.memory-options legend{font-size:12px;font-weight:bold}.memory-options>p{margin:6px 0 12px}.memory-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.memory-grid label{border:1px solid var(--line);padding:11px 7px;border-radius:9px;cursor:pointer;position:relative;text-align:center;display:flex;align-items:center;flex-direction:column;gap:5px;min-height:87px}.memory-grid input{position:absolute;opacity:0;width:1px;height:1px}.memory-grid label:has(input:checked){background:#eaf0e2;border-color:#708563}.memory-grid label:has(input:focus-visible){outline:3px solid #a46936;outline-offset:3px}.memory-grid label>span{font-size:24px;line-height:1.2;color:#9b7b57}.memory-grid strong{font-size:8px;font-weight:normal}.memory-note-field{margin-top:20px}.memory-note-field small{font-size:8px}.child-name-row{grid-template-columns:1fr}.child-ages,.interest-options{border:0;padding:0;margin:18px 0 0}.child-ages legend,.interest-options legend{font-size:10px;margin-bottom:8px}.child-ages>div,.interest-options>div{display:flex;flex-wrap:wrap;gap:6px}.child-ages button{min-width:35px;height:35px;border:1px solid var(--line);background:#fffefa;padding:2px 6px;font-size:11px;border-radius:7px}.child-ages button[aria-pressed=true]{background:var(--green);color:#fff;border-color:var(--green)}.interest-options button{display:flex;align-items:center;gap:6px;font-size:9px;border:1px solid var(--line);background:#fffefa;padding:8px 10px;border-radius:20px}.interest-options button[aria-pressed=true]{background:#eaf0e2;border-color:#7b916e}.interest-options button>span{font-size:14px;line-height:1}.appearance-details{border-top:1px solid var(--line);margin-top:16px;padding-top:11px}.appearance-details summary{display:flex;align-items:center;gap:9px;cursor:pointer;font-size:10px;list-style:none}.appearance-details summary:after{content:'+';margin-left:auto;font-size:20px}.appearance-details[open] summary:after{content:'−'}.appearance-details summary small{display:block;font-size:8px;color:var(--muted)}.avatar-thumb{display:block;width:29px;height:39px}.avatar-thumb svg{width:100%;height:100%}.appearance{grid-template-columns:repeat(2,minmax(0,1fr))}.pet-mini{height:75px;margin:15px 0 0;text-align:center}.pet-mini svg{height:100%;width:auto}.empty-pets{font-size:10px;padding:17px 0;color:var(--muted)}
@media(max-width:400px){.memory-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.memory-grid label{min-height:72px}.child-ages button{min-width:30px}.interest-options button{font-size:8px}.appearance .field:last-child{grid-column:auto}}
.field{font-size:11px}.field input,.field textarea{font-size:14px}.memory-grid strong{font-size:10px}.memory-grid label{min-height:90px}.interest-options button{font-size:10px;min-height:39px}.child-ages button{min-width:39px;height:39px}.child-ages legend,.interest-options legend{font-size:11px}.step-panel>p{font-size:12px}.story-info small{font-size:11px}.story-info .tag{font-size:9px}.format-options strong{font-size:12px}.format-options small{font-size:10px}.format-options label{min-height:83px}.use-tip{font-size:11px}.button{font-size:13px}.steps button{font-size:11px}.appearance-details summary{font-size:11px}.appearance-details summary small{font-size:10px}.card-heading h4{font-size:12px}.privacy-note{font-size:10px!important}.ideas article p{font-size:12px}.faq summary{font-size:13px}.faq details p{font-size:12px}
@media(max-width:740px){.field input,.field textarea,.field select{font-size:16px}.child-ages button{min-width:40px;height:44px}.interest-options button{font-size:11px;min-height:44px}.steps button{font-size:10px;min-height:36px}.memory-grid strong{font-size:10px}.button{min-height:46px;font-size:12px}.remove{min-height:35px;font-size:11px}.add-actions .button{min-height:44px;font-size:10px}.story-info small{font-size:11px}.story-info strong{font-size:16px}.format-options strong{font-size:13px}.format-options small{font-size:10px}.download-actions .button{font-size:12px}.appearance select{font-size:14px}.form-actions>.small{font-size:10px}.text-button{min-height:44px}.card-heading h4{font-size:12px}.memory-note-field small{font-size:10px}.empty-pets{font-size:12px}.how-strip span{font-size:10px}}
@media(max-width:400px){.steps button{font-size:9px}.story-info strong{font-size:14px}.story-info small{font-size:10px}.child-ages button{min-width:41px}.interest-options button{font-size:10px}.format-options small{font-size:9px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
.reader-body{flex-direction:column;align-items:center;gap:18px}.reader-text{width:440px;max-width:100%;padding:13px 17px;border:1px solid var(--line);border-radius:9px;background:var(--paper)}.reader-text summary{font-size:12px;cursor:pointer;min-height:30px;line-height:30px}.reader-text p{font-size:16px;line-height:1.9;overflow-wrap:anywhere;margin:12px 0}
/* Hafio 1.02: clear choices before the story, accessible touch targets. */
.start-settings{padding:20px;background:#f3f4ea;border:1px solid #d9dfce;border-radius:14px;margin:20px 0}.start-settings>.field{max-width:220px}.start-settings .field{font-size:12px}.start-settings select{font-size:14px;min-height:46px}.kind-options{border:0;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:20px 0 12px}.kind-options legend{font-size:13px;font-weight:bold;margin-bottom:10px}.kind-options button{display:grid;grid-template-columns:28px 1fr;text-align:left;gap:3px 8px;border:1px solid #d0d9c7;background:#fffdf7;padding:13px 11px;border-radius:10px}.kind-options button>span{grid-row:span 2;font-size:25px}.kind-options strong{font-size:13px}.kind-options small{font-size:10px;color:#65725e}.kind-options button[aria-pressed=true]{border:2px solid #41634e;background:#e1ebd8;padding:12px 10px}.kind-options button:disabled{opacity:.55;cursor:not-allowed}.reading-settings{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:20px}.reading-summary{background:#e1eada;padding:12px;border-radius:8px;font-size:12px;font-weight:bold;margin:13px 0 7px}.start-settings>p{font-size:11px;line-height:1.6;margin:8px 0}.category-tabs{display:flex;gap:7px;flex-wrap:wrap;margin:25px 0 16px}.category-tabs button{display:flex;align-items:center;gap:7px;min-height:44px;text-align:left;border:1px solid #d2dbc9;background:#fffdf7;padding:9px 12px;border-radius:24px;font-size:11px}.category-tabs button span{border-radius:50%;padding:1px 6px;background:#e5ebdd;font-size:10px}.category-tabs button[aria-pressed=true]{background:#344f40;color:white;border-color:#344f40}.category-tabs button[aria-pressed=true] span{color:#344f40}.category-tabs button:disabled{opacity:.5;cursor:not-allowed}.learning-note{padding:14px;background:#e7eff0;border-radius:9px;font-size:12px;line-height:1.7}.wish-examples{display:flex;flex-direction:column;gap:8px;margin-bottom:12px}.wish-examples button{border:1px dashed #bccbad;background:#f7f8f0;border-radius:8px;padding:12px;text-align:left;font-size:12px;min-height:44px;line-height:1.5}.wish-examples button:hover{background:#e6efdf;border-style:solid}.wish-caption{margin:13px 0 9px}.memory-note-field textarea{line-height:1.7;min-height:125px}.interest-group{border-top:1px solid #e1e5d9;padding:12px 0}.interest-group summary{font-size:12px;cursor:pointer;min-height:32px;line-height:1.7}.interest-group summary>span{font-size:10px;color:#64735d;margin-left:8px}.interest-group>div{display:flex;flex-wrap:wrap;gap:7px;padding-top:8px}.interest-options button{min-height:44px}.selected-interests{font-size:11px;color:#37543e;padding:10px;background:#edf2e6;border-radius:7px;line-height:1.7}.photo-field{background:#f2f5ec;padding:14px;border-radius:10px;margin:15px 0 0}.upload-label{display:block;color:#365943;font-size:12px;font-weight:bold;cursor:pointer}.upload-label input{display:block;width:100%;font-size:11px;margin:10px 0;min-height:40px}.upload-label input::file-selector-button{border:0;background:#385c45;color:white;border-radius:7px;padding:10px 13px;margin-right:8px;cursor:pointer}.photo-field small{display:block;font-size:10px;color:#69745f;line-height:1.7}.photo-preview{display:flex;align-items:center;gap:15px;margin-bottom:12px}.photo-preview img{width:110px;height:110px;object-fit:contain;border:1px solid #d3ddc9;border-radius:9px;background:white}.photo-status{display:block;font-size:11px;margin-top:7px;line-height:1.6}.reader-jump-label{display:flex;align-items:center;gap:14px;padding:12px 24px;font-size:12px;background:#f7f7ee}.reader-jump-label select{flex:1;min-width:0;max-width:100%;padding:10px;border:1px solid #c9d3bd;border-radius:7px;background:white}.ideas-grid{gap:18px}.ideas article{border:1px solid #dce2d3;border-radius:15px;overflow:hidden;background:#fffdf7;padding:0;box-shadow:0 5px 18px #31443809}.idea-image{height:174px;background:#e6eadc;overflow:hidden}.idea-image svg{width:100%;height:100%;object-fit:cover}.idea-content{padding:18px;display:flex;flex-direction:column;flex:1}.idea-brand{display:flex;align-items:center;gap:7px;margin-bottom:14px;font-size:8px;letter-spacing:.08em;color:#6b795f}.idea-brand img{height:27px;width:27px}.ideas article h3{font-size:19px}.ideas article p{font-size:12px;line-height:1.8}.ideas article button{display:flex;align-items:center;justify-content:center;align-self:stretch;background:#365843;border:1px solid #365843;border-radius:9px;color:#fffdf6;font-size:13px;font-weight:bold;min-height:54px;padding:13px 10px;width:100%;line-height:1.5;text-align:center;box-shadow:0 3px 0 #1f3e2a}.ideas article button:hover{background:#254834;transform:translateY(-1px)}button:focus-visible,.upload-label:focus-within{outline:3px solid #b67c43;outline-offset:3px}.story-choice input{width:18px;height:18px}.field input[type=file]{padding:0}.source-note{font-size:10px}
@media(max-width:1000px){.ideas-grid{grid-template-columns:1fr 1fr}.idea-image{height:210px}}
@media(max-width:500px){.start-settings{padding:14px}.reading-settings{grid-template-columns:1fr}.kind-options{gap:7px}.kind-options button{display:flex;flex-direction:column;gap:5px;padding:12px}.kind-options button[aria-pressed=true]{padding:11px}.kind-options strong{font-size:12px}.kind-options small{font-size:10px}.start-settings select{font-size:16px}.category-tabs{flex-direction:column}.category-tabs button{justify-content:space-between;border-radius:9px;font-size:12px}.ideas-grid{grid-template-columns:1fr}.idea-image{height:220px}.idea-content{padding:21px}.ideas article button{min-height:56px;font-size:15px}.ideas article h3{font-size:23px}.ideas article p{font-size:14px}.idea-brand{font-size:10px}.photo-preview{flex-wrap:wrap}.reader-jump-label{padding:10px 14px;gap:7px;font-size:10px}.reader-jump-label select{font-size:12px}}

.species-preview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:17px 0}.species-preview>div{background:#fffdf7;border:1px solid #dbe4d1;border-radius:10px;padding:9px;text-align:center}.species-preview svg{width:100%;height:90px}.species-preview strong{display:block;font-size:11px;line-height:1.4}.species-preview small{display:block;font-size:9px;line-height:1.5;color:#6a785f;margin-top:4px}@media(max-width:400px){.species-preview{grid-template-columns:repeat(2,minmax(0,1fr));}}

/* Age eligibility stays visible even when a choice is unavailable. */
.category-tabs button:disabled,.kind-options button:disabled{opacity:1;color:#64695f;cursor:not-allowed;background:#f0f0ea;border-style:dashed}
.age-availability{display:block;font-size:12px;font-weight:700;line-height:1.4;color:#594d37;background:#f7edda;padding:5px 9px;border-radius:6px;margin-top:8px}
.category-tabs .age-availability{margin:5px 0 0;width:100%}
.age-availability[hidden]{display:none}

.category-tabs button{flex-wrap:wrap}.nature-groups{display:flex;flex-wrap:wrap;gap:8px;margin:20px 0}.nature-groups[hidden]{display:none}.nature-groups button{background:white;border:1px solid #c7d2bf;padding:10px 12px;font-size:12px}.nature-groups button[aria-pressed=true]{background:#344e42;color:white}.nature-groups span{margin-left:6px}.species-preview button{border:1px solid #dce2d3;background:white;padding:8px;text-align:center;display:flex;flex-direction:column;align-items:center;gap:4px;min-width:0}.species-preview button svg{width:100%;height:auto}.species-preview button strong{font-size:12px}.species-preview button small,.species-preview button span{font-size:10px;color:#53674e}.species-preview button:hover{border-color:#365843;box-shadow:0 3px 12px #344e4220}#specimen-dialog{width:min(700px,96vw);border:0;border-radius:16px;max-height:95vh;overflow:auto}#specimen-dialog::backdrop{background:#233329aa}#specimen-detail{padding:0 24px 25px}#specimen-detail>svg{width:100%;max-height:52vh;background:white}#specimen-detail small{display:block;color:#6a736b;font-size:11px}

.trip-section{margin:30px 0;padding:24px;background:#f0f3e9;border:1px solid #d6dec9;border-radius:16px}.trip-section h4{font-family:HafioStory,serif;font-size:25px;margin:8px 0}.trip-section>p{line-height:1.6}.trip-cards{display:grid;gap:14px}.trip-card{background:white;border-radius:12px;padding:18px;display:grid;grid-template-columns:26px minmax(0,1fr);gap:12px}.trip-number{color:#997255;font-weight:700}.trip-card h5{font-size:18px;margin:0 0 6px}.trip-card p{line-height:1.55;margin:8px 0}.trip-habitats{font-size:12px;color:#5a7046;font-weight:700}.trip-match{font-size:13px;color:#46612e}.trip-links{display:flex;flex-wrap:wrap;gap:10px 16px;margin-top:12px}.trip-links a{font-weight:700;font-size:13px;color:#35562b;padding:8px 0}.trip-links a:focus-visible{outline:3px solid #c8895b;outline-offset:4px}@media(max-width:480px){.trip-section{padding:16px}.trip-card{padding:14px;grid-template-columns:1fr}.trip-number{display:none}}

.age-start{background:var(--green);color:var(--paper);border-radius:12px;padding:22px;box-shadow:0 4px 0 #21392f}.age-start-kicker{display:block;font-size:11px;font-weight:800;letter-spacing:.1em;margin-bottom:8px}.start-settings .age-start .field{font-size:21px;color:var(--paper);font-weight:800;gap:12px}.age-start strong{font-weight:800}.start-settings .age-start select{width:100%;min-height:58px;padding:12px 16px;background:#fffdf8;color:#264835;border:2px solid #d4e2cc;font-size:20px;font-weight:800;cursor:pointer;box-shadow:0 2px 0 #152b2240}.age-start select:focus-visible{outline:3px solid #f1ce87;outline-offset:4px}.age-start p{font-size:12px;line-height:1.6;margin:12px 0 0;color:#f4f6ee}.age-start select option{background:#fffdf8;color:#264835}@media(max-width:500px){.age-start{padding:18px}.start-settings .age-start .field{font-size:20px}}

.cover-note-field{margin:22px 0}.mini-book .cover-note{font-size:13px;line-height:1.5;margin:8px 0 0;overflow-wrap:anywhere;color:#43513c}.mini-book:has(.cover-note){height:auto;min-height:400px}

.cover-logo{display:block;width:52px;height:52px;object-fit:contain;margin:0 auto 8px}.cover-web{display:block;margin:8px auto;font-size:12px;font-weight:bold;text-decoration:underline}.mini-book{height:auto;min-height:400px}

.newsletter-box{margin:24px 0;padding:22px;border:1px solid #cbd8c7;border-radius:16px;background:#eff3e9}.newsletter-box h4{margin:0 0 16px;font-size:20px}.newsletter-check{display:flex;align-items:flex-start;gap:12px;font-size:14px;line-height:1.5}.newsletter-check input{width:22px;height:22px;flex-shrink:0;accent-color:#395347;margin-top:2px}.newsletter-box input:disabled{opacity:.55}.newsletter-trap{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}.newsletter-box a{display:inline-block;margin-top:12px;color:#395347}.newsletter-box [aria-invalid=true]{outline:2px solid #ac443c}

.hero-copy .email-condition{font-size:13px;line-height:1.55;margin:14px 0 0;max-width:470px;color:#52644f}

.language-switch{display:flex;gap:4px;align-items:center;white-space:nowrap;font-size:13px}.language-switch a{padding:8px 10px;border-radius:20px;text-decoration:none;color:#35562b}.language-switch a[aria-current]{background:#e4eadc;font-weight:800}.language-switch a:focus-visible{outline:3px solid #35562b;outline-offset:3px}.header{flex-wrap:wrap;gap:12px}.header nav{margin-left:auto}@media(max-width:600px){.header .language-switch{order:2;margin-left:auto}.header nav{order:3;width:100%;justify-content:space-between}.header .brand{font-size:22px}}

.header .brand span{font:700 29px Quicksand,Arial,sans-serif;color:#726061}.header .brand img{width:36px;height:36px}.header{height:auto;min-height:74px;gap:20px}.header nav{margin-left:auto}.shell-menu{display:none}.header a[aria-current]{color:#9c6669;text-decoration:underline}@media(max-width:650px){.shell-menu{display:block;margin-left:auto;background:#726061;color:white;padding:10px 18px;border:0;border-radius:22px}.header nav{display:none;width:100%;margin:0;padding:12px 0}.header nav.open{display:flex;flex-wrap:wrap}.header{padding-top:12px;padding-bottom:12px}.header nav a{font-size:14px;padding:6px}}
.footer{background:#f6eeee;padding:32px;align-items:start}.footer>div>a{display:block;line-height:2;font-size:14px;text-decoration:none}.footer p{font-size:14px}.footer .brand{font:700 29px Quicksand,Arial,sans-serif;color:#726061}@media(max-width:650px){.footer{display:grid;grid-template-columns:1fr;gap:24px}}.newsletter-box{display:none!important}
