/* 꿈들의 서재 메인(A안: 수채화 동화책, 크림·테라코타). 메인 전용 - body.home 아래에서만 적용 */
body.home{--cream:#fbf4e8;--terra:#d9734a;--terra-d:#a8502d;--brown:#6b3a1f;--brown2:#8a4b2a;--ink-w:#4a3828;--sage:#557a49;--sand:#f6ecdc;background:var(--cream);color:var(--ink-w);font-family:"Gowun Dodum",-apple-system,"Apple SD Gothic Neo","Noto Sans KR",sans-serif;line-height:1.6;overflow-x:hidden}
.home img{max-width:100%;display:block;height:auto}
.home .serif,.home h1,.home h2,.home .price b,.home .ch b{font-family:"Gowun Batang",serif}
.home header.site{background:rgba(251,244,232,.94);border-bottom:1px solid #eedcc4}
.home header.site .logo span{background:none;color:var(--brown2);font-family:"Gowun Batang",serif}
.home header.site nav a{color:var(--brown2)}
.home footer.site{background:#f4e7d3;border-top:1px solid #eedcc4;color:#6e5640}.home footer.site a{color:#6e5640}
.home .hm{max-width:1120px;margin:0 auto;padding:0 20px}
.home .hero{display:grid;gap:24px;padding:18px 0 30px;background:none;border-radius:0;margin:0;text-align:left}
.home .hero h1{font-size:32px;line-height:1.35;color:var(--brown);margin:0;letter-spacing:-.5px}
.home .hero p{font-size:17px;margin:12px 0 22px}
.home .duo{display:flex;gap:6px;margin-bottom:10px}.home .duo img{width:64px;height:64px;border-radius:50%;border:3px solid #fff;box-shadow:0 4px 10px rgba(0,0,0,.07)}
.home .art{border-radius:40% 60% 55% 45%/45% 40% 60% 55%;overflow:hidden;box-shadow:0 18px 40px rgba(185,138,90,.25);border:8px solid #fff;background:#f1e2cb}
.home .art img{aspect-ratio:4/3;object-fit:cover;width:100%}
.home .btns{display:flex;flex-wrap:wrap;gap:12px}
.home .btn{display:inline-block;padding:14px 24px;border-radius:16px;font-size:18px;text-decoration:none;background:#b5552a;color:#fff;box-shadow:0 5px 0 var(--terra-d)}
.home .btn:active{transform:translateY(3px);box-shadow:0 2px 0 var(--terra-d)}
.home .btn.sec2{background:#fff;color:var(--brown2);box-shadow:0 5px 0 #e2cdb2}
.home .btn.ghost{background:var(--sage);box-shadow:0 5px 0 #4b6b40}
.home .sec{padding:40px 0}.home .sec h2{font-size:26px;margin:0 0 10px;color:var(--brown)}.home .sub{margin:0 0 20px;color:#6e5640}
.home .chars{display:flex;gap:12px;overflow-x:auto;padding:8px 2px;list-style:none;margin:0}
.home .ch{flex:0 0 112px;text-align:center}.home .ch img{width:100px;height:100px;border-radius:50%;margin:auto;border:5px solid #fff;box-shadow:0 6px 14px rgba(160,122,80,.19)}
.home .ch b{display:block;margin-top:6px;font-size:18px;color:var(--brown)}.home .ch span{font-size:13px;color:#6e5640}
.home .modes{display:grid;gap:16px}
.home .mode{display:block;background:#fff;border-radius:22px;padding:20px;text-decoration:none;color:inherit;box-shadow:0 10px 24px rgba(107,58,31,.12);border:2px solid #f1e2cb}
.home .mode h3{font-family:"Gowun Batang",serif;color:var(--brown);margin:4px 0;font-size:21px}.home .mode p{margin:0 0 10px}.home .mode .go{color:#b0532a;font-weight:700}
.home .mode img{width:72px;height:72px;border-radius:50%;float:right;margin-left:10px}
.home .covers{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:0}
.home .cover{margin:0;background:#fff;padding:8px 8px 0;border-radius:6px 14px 14px 6px;box-shadow:inset -6px 0 0 #c9865a,0 10px 24px rgba(107,58,31,.15);transform:rotate(-1.5deg);position:relative}
.home .cover:nth-child(even){transform:rotate(1.5deg)}
.home .cover img{aspect-ratio:3/4;object-fit:cover;width:100%}
.home .cover figcaption{padding:10px 4px 12px}.home .cover figcaption b{display:block;font-family:"Gowun Batang",serif;color:var(--brown);font-size:16px;line-height:1.3}.home .cover figcaption span{font-size:12px}
.home .cover em{position:absolute;top:14px;right:16px;font-style:normal;font-size:12px;padding:2px 8px;border-radius:99px;background:#fbe3c8;color:var(--brown2)}
.home .safe ul{list-style:none;padding:0;margin:0;display:grid;gap:12px}
.home .safe li{background:#fff;border-radius:18px;padding:16px;border:2px dashed #e4c9a6}.home .safe li b{display:block;font-size:18px;color:#4f7243}
.home .subbox{background:#fff;border-radius:28px;box-shadow:0 14px 36px rgba(185,138,90,.19);max-width:760px;margin:20px auto;text-align:center;padding:36px 20px}
.home .badge{background:#fbe3c8;color:#8f421f;padding:4px 12px;border-radius:99px;font-size:13px}
.home .price{font-size:20px;margin:6px 0 16px}.home .price b{font-size:40px;color:var(--brown)}
.home .perks{list-style:none;padding:0;display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin:0 0 22px}.home .perks li{padding:6px 14px;border-radius:99px;background:var(--sand)}
.home .shelf{background:#fff;border-radius:22px;padding:22px;border:2px solid #f1e2cb;margin:20px 0}
.home .note{font-size:14px;color:#6e5640}.home a{color:#9a4a26}
@media(min-width:700px){.home .modes{grid-template-columns:1fr 1fr}}
@media(min-width:900px){.home .hero{grid-template-columns:1fr 1.1fr;align-items:center;padding-top:34px}.home .hero h1{font-size:44px}.home .covers{grid-template-columns:repeat(4,1fr)}.home .safe ul{grid-template-columns:repeat(5,1fr)}.home .chars{justify-content:center}.home .ch{flex-basis:150px}.home .ch img{width:130px;height:130px}}
@media(max-width:380px){.home .hero h1{font-size:27px}}

@media(max-width:420px){.chars{gap:6px}.chars .ch{flex:1 1 0;min-width:0}.chars .ch img{width:100%;max-width:100px;height:auto}}
/* 10/21 디자인 검토 D1~D3 */
.home h1,.home h2,.home h3,.home p,.home li,.home span{word-break:keep-all}
.home .hero p{max-width:30em}
@media(min-width:960px){.home .modes{grid-template-columns:repeat(3,1fr)}}
@media(min-width:700px){.home .safe ul{grid-template-columns:1fr 1fr}}

/* r5 N3: 히어로 소개 한 단어 줄 방지 */
.home .hero p{text-wrap:pretty}
