/* 자녀록 서재 테마. 한지와 먹의 질감을 살린 담원 한국화. */
html{scrollbar-color:#657050 #10130e;scrollbar-width:thin}
:root{--paper:#f4f0e8;--ink:#383b2d;--green:#253820;--line:#d8d3c2;--muted:#858b70;--gold:#b8a777;background:#10130e;color:#e7e0cf}
html{scroll-padding-top:0}body{background:#10130e}.page{position:relative;max-width:440px;background:#151a12;box-shadow:none}.header{position:absolute;top:0;left:0;right:0;z-index:3;height:72px;padding:0 23px;color:#e6dcc8;background:linear-gradient(#090c0777,transparent)}.header .brand{font-size:14px;font-weight:400;letter-spacing:.12em;gap:8px}.brand-sub{font-size:11px;letter-spacing:.13em;color:#c7baa0}.header .text-button{font-size:10px;letter-spacing:.04em;color:#cdc2a9;padding-right:0}.hero{position:relative;min-height:740px;height:100svh;max-height:960px;overflow:hidden;background:#10130e;isolation:isolate}.hero-image{position:absolute;inset:0 0 auto;margin:0;height:84%;width:100%;border-radius:0;background:#10130e;overflow:hidden;z-index:0}.hero-image img{width:100%;height:100%;object-fit:cover;object-position:center 20%;filter:brightness(.76) saturate(.72)}.hero-image:after{background:linear-gradient(180deg,#10130e0d 0%,transparent 32%,#10130e22 48%,#10130ed9 79%,#10130e 100%)}.hero-copy{position:absolute;z-index:1;left:24px;right:24px;bottom:102px;text-align:center;padding:0}.hero-copy .eyebrow{font-size:10px;letter-spacing:.14em;color:#b7ac8d;margin-bottom:17px}.hero h1{font-size:25px;line-height:1.65;font-weight:500;letter-spacing:-.065em;color:#f4ecdc;text-shadow:0 2px 12px #10130e66}.hero-description{font-family:var(--serif);font-size:14px;line-height:1.95;letter-spacing:-.045em;color:#d5ccb5;margin-top:20px}.hero-next{display:flex;align-items:center;justify-content:center;gap:16px;min-height:61px;margin-top:26px;border-top:1px solid #e1d7b82b;color:#ad9f7b;font-family:var(--serif);font-size:12px;letter-spacing:.04em}.hero-next span{color:#b5a67e;font-size:16px}.hero-foot{position:absolute;bottom:27px;left:24px;right:24px;padding:0;display:flex;justify-content:space-between;gap:12px;color:#797e69;font-size:8px;letter-spacing:.03em}.section{padding:44px 27px}.form-section{background:linear-gradient(180deg,#10130e,#192016 170px,#192016);padding-top:32px;padding-bottom:43px}.guide-signature{display:flex;align-items:center;gap:12px;margin-bottom:34px;padding-bottom:25px;border-bottom:1px solid #c0bd9626}.guide-signature img{border-radius:50%;object-fit:cover;object-position:50% 20%;filter:saturate(.7);border:1px solid #aea98266}.guide-signature span{font-family:var(--serif);font-size:13px;letter-spacing:.06em;color:#d2c9ab}.guide-signature small{display:block;margin-top:4px;font-size:10px;color:#8e9b7e}.section-label{color:#b1a178;font-size:10px;letter-spacing:.08em;margin-bottom:15px}.section-label span:last-child{font-size:10px;color:#7e8b6d}.input-panel>summary h2{font-size:25px;line-height:1.7;color:#e8dfc8;font-weight:400}.input-panel>summary #form-recap{font-size:12px;color:#a2ad92;line-height:1.8;margin-top:13px}.input-panel:not([open]) h2{font-family:var(--serif);font-size:20px}.input-panel:not([open]) #form-recap{font-size:12px;color:#a4b28f}.edit-label{color:#c6b78e;font-size:12px}.form-section:has(.input-panel:not([open])){padding-top:22px;padding-bottom:20px;border-bottom:1px solid #beb79233}.form-section:has(.input-panel:not([open])) .guide-signature{display:none}.concerns{margin-top:26px;gap:10px}.concern-option{padding:19px 15px;border:1px solid #b4b18c3b;background:#0d160c15;border-radius:1px;min-height:90px}.concern-option:has(input:checked){border-color:#bdb084;background:#a9b57c14}.concern-title{font-family:var(--serif);font-weight:400;color:#ded8be;font-size:15px;letter-spacing:-.04em}.concern-option small{font-size:11px;line-height:1.85;color:#8e9c7c}.radio-mark{width:18px;height:18px;border-color:#83906b}.concern-option input:checked~.radio-mark{background:#c8ba8b;border-color:#c8ba8b}.concern-option input:checked~.radio-mark:after{color:#2a3822;font-size:11px}.concern-response{font-family:var(--serif);font-size:14px;line-height:2;color:#bec5aa;padding:20px 3px 0;min-height:76px}.form-divider{background:#b9bc8e2e;margin:26px 0 29px}.form-section h3{font-family:var(--serif);font-weight:400;color:#e3d9bd;font-size:21px}.field-help{font-size:12px;line-height:1.9;color:#92a17f}.field{color:#b0bb9a;font-size:12px}.optional{color:#718460;font-size:10px}.field input,.field select{border-radius:1px;border:1px solid #c7bea1;background:#e8dfc7;color:#353f2b;min-height:54px;font-size:16px}.field input::placeholder{font-size:13px;color:#96977e}.calendar-row{gap:5px}.calendar-row>label>span{border-radius:1px;background:#0b140a55;color:#91a07e;min-height:44px;border:1px solid #657a5044;padding:10px 21px}.calendar-row input:checked+span{background:#ded2af;color:#39472c;border-color:#d0c19a}.leap-check{color:#b5c09d}.unknown-time{font-size:13px;color:#c0caad}.unknown-time small{font-size:11px;color:#839773}.unknown-time input,.leap-check input{accent-color:#abaf7d}.button{border-radius:1px;min-height:56px;font-size:14px;box-shadow:none;font-family:var(--sans);font-weight:500}.primary{background:#ded0a7;color:#293921;box-shadow:none}.primary:active{background:#cfc18e}.secondary{border-radius:1px;border-color:#a4aa7b66;color:#c4caa8}.privacy-note{font-size:10px;color:#81916f;line-height:1.9}.error{border-left-color:#c69a6a;background:#d49b6515;color:#e0bb91;font-size:13px}
/* 편지는 따뜻한 종이색으로 전환해 긴 글의 대비를 확보합니다. */
.letter{background:#f4f0e8;border-color:#d4cfbc;color:#3f4334;padding:37px 27px 32px}.letter-top{color:#8e8d77;font-size:10px;margin-bottom:26px}.badge{color:#81764f;border-color:#c7bea1;border-radius:1px;font-size:9px}.letter h2{color:#3d4434;font-size:27px;font-weight:500;line-height:1.7}.letter-rule{background:#cfcbb8}.letter-rule:after{background:#f4f0e8;color:#a6a486}.salutation{font-family:var(--serif);color:#7e836c;font-size:13px}.body-copy{font-family:var(--serif);color:#555d46;font-size:16px;line-height:2.1;letter-spacing:-.045em}.body-copy p+p{margin-top:25px}.pullquote{border-left:0;border-top:1px solid #bbbda2;border-bottom:1px solid #bbbda2;padding:19px 6px;margin:28px 0;text-align:center;color:#526343;font-size:20px;line-height:1.9;font-weight:400}.reported{color:#969b80;font-size:10px}.reported span{color:#7d8b65}.symbol-box{border-color:#cccdb7;gap:19px;padding-top:24px}.symbol-box .character{color:#89986a;font-size:43px}.symbol-box small{color:#8a9378;font-size:10px}.symbol-box h3{color:#536143;font-size:21px}.soft-note{font-size:13px;line-height:1.95;color:#858d74}.chart{border-color:#c6cbb2}.chart summary{color:#6d8058;font-size:12px}.chart summary:after{color:#91a078}.pillars strong{color:#5c7546}.pillars small,.pillars em,.chart>p{color:#84966e}.signoff{color:#7a8b64}.sample-notice{background:#e8e5d4;border:1px solid #d8d5be;border-radius:1px;font-size:11px;color:#8b8366}.letter-end{color:#939b82;font-size:10px}
.offer-section{background:#1c2917;padding:43px 27px;color:#d8dfc2}.offer-section .section-label{border-top:1px solid #9fb07d33;padding-top:22px}.offer-section h2{color:#e2e4cc;font-size:26px;font-weight:400;line-height:1.75}.offer-section>.body-copy{color:#a6b896;font-size:14px;font-family:var(--serif);line-height:2}.subject-tabs>span,.subject-tabs>button{border-radius:1px;border-color:#6f865148;color:#8fa675;font-size:12px;min-height:52px}.subject-tabs>span{background:#c7d0a512;border-color:#c0cb9866;color:#d6ddbc}.subject-tabs small{font-size:9px}.offer-section .book-row{gap:27px;padding:10px 0}.book{width:108px;height:150px;box-shadow:3px 2px 0 #d7d2b0,5px 4px 0 #8e9a73,12px 15px 24px #0003}.book-label .eyebrow{color:#a4b687;font-size:9px}.book-label h3{font-size:20px;color:#d1dab8}.book-label>p:last-child{color:#97ac7c;font-size:12px}.offer-contents{border-color:#94aa6e40}.offer-contents li{border-color:#94aa6e28;color:#c5d3ae;font-family:var(--serif);font-size:14px;padding:14px 0}.offer-contents span{color:#8ea36e;font-family:var(--sans);font-size:10px}.offer-note{color:#8fa677;font-size:11px}.checkout-note{border-color:#94aa6e40;color:#a2b589;font-size:12px}.checkout-note summary{color:#b8c99e;font-size:12px}
.full-intro{padding:38px 27px 26px;background:#e6e8d9;border-color:#c3cbb0;color:#4b6038}.full-intro .eyebrow{color:#89986e}.full-intro h2{font-size:25px;font-weight:400;color:#4b6038}.full-intro>p:not(.eyebrow){font-size:12px;color:#80936a}.read-tools{border-color:#bcc8a5;color:#7a9060;font-size:11px}.read-tools button{border-radius:1px;border-color:#b4c69e;background:#f4f5eb;color:#789357}.read-tools button[aria-pressed=true]{background:#536e3d;border-color:#536e3d;color:#f5f5e8}.chapter-nav a{color:#6d8652;font-size:12px}.chapter-nav span{color:#94a87b;font-size:10px}.chapter{padding:38px 27px;background:#f4f0e8;border-color:#c8ceb5;color:#526740}.chapter:nth-of-type(even){background:#ebefdf}.chapter h3{color:#4c6139;font-size:25px;font-weight:400;line-height:1.75}.chapter-number{color:#8c9e74;font-size:10px}.chapter .body-copy{color:#5c6d4b;font-size:16px;line-height:2.1}.chapter-evidence{background:#dfe6cf;border-left:2px solid #9daf81;border-radius:0;color:#83976d;font-size:11px}.chapter-evidence span{color:#708958}.takeaway{color:#7b9067;font-family:var(--serif);font-size:14px;line-height:2.1}.full-ending{background:#dfe6d2}.full-ending p{color:#6e8756;font-size:19px}.full-ending a{color:#83996f;font-size:12px}.large-text .body-copy,.large-text .chapter .body-copy{font-size:18px;line-height:2}.large-text .takeaway{font-size:16px}.footer{padding:24px 27px 105px;background:#0f1a0e;border-color:#81955c26;color:#87a36d}.footer .brand{font-size:19px;color:#a7be8c}.footer .seal{border-color:#839a5b;color:#91a96a}.footer>p{font-size:11px;color:#839e67}.footer>small{color:#687f54;font-size:9px}.bottom-bar>div{max-width:440px;background:#14200ff2;border-color:#8e9e652e;box-shadow:none;padding:10px 20px max(12px,env(safe-area-inset-bottom))}.bottom-bar>div>span{color:#8fa777;font-size:10px}.bottom-bar .button{min-height:49px;font-size:13px;background:#c4c99e;color:#34482a}.bottom-bar.is-hidden{visibility:hidden}
@media(min-width:600px){.hero{min-height:780px}.hero-image{height:84%}.hero h1{font-size:27px}.hero-copy{padding:0;bottom:106px}}
@media(max-width:360px){.hero{min-height:700px}.hero h1{font-size:23px}.hero-description{font-size:13px}.hero-copy{left:22px;right:22px;bottom:90px}.hero-copy .eyebrow{font-size:9px}.hero-foot{left:22px;right:22px;font-size:7px}.header{padding:0 21px}.header .brand{font-size:13px}.header .text-button{font-size:9px}.section,.letter,.offer-section,.chapter,.full-intro{padding-left:23px;padding-right:23px}.input-panel>summary h2{font-size:23px}.concern-title{font-size:14px}.concern-option small{font-size:10px}.letter h2{font-size:25px}.subject-tabs>button,.subject-tabs>span{padding:10px 8px}.chapter-nav a{font-size:11px}}
@media(prefers-reduced-motion:no-preference){.hero-copy{animation:quiet-arrival .65s ease both}@keyframes quiet-arrival{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:none}}}

/* 8자리 날짜 입력과 세 열 시간대 선택. */
#birth-details{scroll-margin-top:28px}
.birth-date-field{margin-top:25px}
.birth-date-field input{
  min-height:74px;padding:17px 16px;font-family:var(--serif);
  font-size:24px;letter-spacing:.07em;background:#e9ddc3;color:#342f25;
  border-color:#b9aa82;border-radius:2px;font-variant-numeric:tabular-nums;
}
.birth-date-field input::placeholder{font-family:var(--serif);font-size:23px;letter-spacing:.04em;color:#807457}
.birthdate-help{margin-top:9px;font-size:11px;line-height:1.8;color:#a1ac8b}
.calendar-row{gap:8px;margin:19px 0 0;flex-wrap:wrap}
.calendar-row>label:not(.leap-check){flex:1}
.calendar-row>label>span{min-height:50px;padding:13px 18px;border-radius:2px}
.calendar-row .leap-check{flex-basis:100%;margin:3px 0 0;min-height:36px}
.calendar-help{margin-top:10px;font-size:11px}
.birth-time-heading{margin:35px 0 18px}
.birth-time-heading h3{font-size:22px;line-height:1.7}
.birth-time-heading .field-help{margin-top:9px}
.time-slot-grid{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;
  margin:0;padding:12px;border:1px solid #b9aa82;border-radius:2px;
  background:#e6d9b7;min-width:0;
}
.time-option,.zi-option{position:relative;cursor:pointer;min-width:0}
.time-option input,.zi-option input{position:absolute;opacity:0;width:1px;height:1px}
.time-option>span{
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;
  min-height:78px;padding:9px 3px;border:1px solid #8f7f573b;border-radius:1px;
  color:#493f2b;font-family:var(--serif);text-align:center;
}
.time-option strong{font-size:17px;font-weight:500;line-height:1.4;white-space:nowrap}
.time-option em{font-size:12px;font-style:normal;font-weight:400}
.time-option small{font-size:10px;line-height:1.5;letter-spacing:-.03em;white-space:nowrap;font-variant-numeric:tabular-nums}
.time-option input:checked+span,.zi-option input:checked+span{background:#685936;color:#fff5dc;border-color:#685936;box-shadow:inset 0 0 0 2px #e5d1a54d}
.time-option input:focus-visible+span,.zi-option input:focus-visible+span{outline:2px solid #f7edcc;outline-offset:3px}
.unknown-option{grid-column:1/-1;margin-top:3px}
.unknown-option>span{min-height:48px;font-size:13px}
.zi-fields{border:0;padding:0;margin:22px 0 0;min-width:0}
.zi-fields legend{color:#c8cdb2;font-size:12px;line-height:1.8;margin-bottom:12px}
.zi-option{display:block;margin-top:8px}
.zi-option>span{display:flex;align-items:center;justify-content:center;gap:12px;min-height:58px;padding:12px;background:#e9ddc3;border:1px solid #b9aa82;border-radius:2px;color:#493f2b;font-family:var(--serif);font-size:15px}
.zi-option small{font-size:12px}
.time-calculation-note{margin-top:13px;font-size:11px}
@media(max-width:360px){
  .time-slot-grid{gap:6px;padding:9px}
  .time-option>span{min-height:72px}
  .time-option strong{font-size:16px}
  .time-option small{font-size:9px}
  .birth-time-heading h3{font-size:21px}
}

/* 질문, 입력, 편지, 상품 구성으로 곧장 이어지는 간결한 흐름. */
#form-recap:empty{display:none}
.concerns{margin-top:22px}
.concern-option{min-height:64px;padding:17px 15px}
.birth-time-heading{margin:28px 0 16px}
.compact-offer{padding-top:34px;padding-bottom:30px}
.compact-offer .book-row{margin:0 0 25px;padding:0;gap:24px}
.compact-offer .book{width:86px;height:122px}
.compact-offer .book strong{font-size:21px}
.compact-offer .book-label h2{font-size:24px;line-height:1.65}
.compact-offer .book-label .eyebrow{font-family:var(--sans);font-size:11px;margin:0 0 9px;color:#a7b78f}
.offer-benefits{list-style:none;padding:0;margin:0 0 25px;border-top:1px solid #94aa6e40}
.offer-benefits li{padding:13px 0;border-bottom:1px solid #94aa6e28;font-size:13px;line-height:1.8;color:#c5d3ae;word-break:keep-all}
.offer-benefits li:before{content:'✓';margin-right:10px;color:#a8bb85}
.full-intro .read-tools{margin-top:20px}
.footer>small{display:block;margin-top:14px}

/* 첫 화면은 독립된 한 장, 입력과 편지는 /start에서 이어집니다. */
.landing-page .hero{height:100svh;min-height:560px;max-height:none}
.landing-page .hero-copy{bottom:max(72px,calc(env(safe-area-inset-bottom) + 56px))}
.landing-page .hero-next{
  min-height:58px;margin-top:26px;padding:15px 21px;border:1px solid #e5d9b7;
  border-radius:6px;background:#ded0a7;color:#293921;gap:18px;
  font-family:var(--sans);font-size:16px;font-weight:500;letter-spacing:-.035em;
  box-shadow:0 5px 24px #0002;
}
.landing-page .hero-next span{color:inherit;font-size:20px}
.landing-page .hero-next:active{background:#cfc18e}
.landing-page .hero-next:focus-visible{outline:2px solid #f4ecdc;outline-offset:5px}
.landing-page .hero-foot{justify-content:center;bottom:max(23px,env(safe-area-inset-bottom));font-size:9px}
.reading-header{display:flex;align-items:center;gap:9px;min-height:64px;padding:10px 23px 0;background:#10130e}
.reading-header .brand{font-size:13px;font-weight:400;letter-spacing:.08em;color:#ded4bb}
.reading-header .brand-sub{font-size:10px}
.reading-back{display:flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;margin-left:-12px;font-size:23px;color:#c7baa0}
.reading-page .form-section{padding-top:22px}
.input-panel>summary h1{font-family:var(--serif);font-size:25px;line-height:1.7;color:#e8dfc8;font-weight:400;letter-spacing:-.055em}
.input-panel:not([open]) h1{font-size:20px}
@media(max-width:360px){.input-panel>summary h1{font-size:23px}.landing-page .hero-next{font-size:15px}}
@media(max-height:650px){
  .landing-page .hero-copy{bottom:62px}
  .landing-page .hero h1{font-size:23px;line-height:1.6}
  .landing-page .hero-description{margin-top:12px;font-size:13px}
  .landing-page .hero-next{margin-top:20px;min-height:54px;padding:13px 18px}
}

/* Legal information and optional analytics stay outside the reading flow. */
.legal-footer{padding:22px 24px 28px;background:#151a12;color:#aaa68f;font-size:10px;line-height:1.9}.legal-footer nav{display:flex;gap:12px;flex-wrap:wrap}.legal-footer button,.legal-text-button{border:0;background:none;padding:0;color:inherit;font:inherit;text-decoration:underline;min-height:32px}.legal-footer p{margin-top:10px;font-size:10px}.operator-details{display:block;margin-top:12px;font-size:10px;line-height:1.9;overflow-wrap:anywhere}.purchase-consents{padding:17px 0;display:grid;gap:12px;text-align:left}.purchase-consents label{display:flex;gap:10px;align-items:flex-start;font-size:12px;line-height:1.8;min-height:36px}.purchase-consents input{width:19px;height:19px;flex:none;accent-color:#536e3d;margin:2px 0}.purchase-consents a{text-decoration:underline;text-underline-offset:3px}.purchase-consents small{font-size:11px;line-height:1.9;color:#727867}.analytics-choice{position:fixed;z-index:110;left:50%;bottom:max(12px,env(safe-area-inset-bottom));transform:translateX(-50%);width:calc(100% - 24px);max-width:420px;max-height:65svh;overflow-y:auto;background:#f4f0e8;color:#383b2d;border:1px solid #b8a777;box-shadow:0 8px 32px #0007;border-radius:8px;padding:20px}.analytics-choice[hidden]{display:none}.analytics-choice strong{font-size:15px}.analytics-choice p{font-size:12px;line-height:1.8;margin-top:8px}.analytics-choice a{text-decoration:underline;color:#476442}.choice-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:16px}.choice-actions button{min-height:44px;border:1px solid #7e806b;border-radius:5px;background:#fffdf7;color:#33432a;font-size:13px}.choice-actions button:last-child{background:#ded0a7}.choice-status:empty{display:none}
