.sleep-demo{padding:24px;overflow:hidden}.story-steps{display:flex;list-style:none;margin:0 0 22px;padding:0;gap:8px;counter-reset:steps}.story-steps li{flex:1;color:#bdc3ce;font-size:12px;border-bottom:2px solid #ffffff18;padding:0 0 12px;counter-increment:steps}.story-steps li::before{content:'0' counter(steps);display:block;font-size:10px;letter-spacing:.12em;margin-bottom:8px;color:#bdc3ce}.story-steps li[aria-current]{border-color:#f5a13d;color:#f5a13d}.night-scene{position:relative;aspect-ratio:1000/520;isolation:isolate;border-radius:18px;background:#141923;overflow:hidden}.sky{position:absolute;inset:0;background:radial-gradient(ellipse at 85% 0,#33446855,transparent 55%);transition:background 1s}.moon{position:absolute;right:7%;top:8%;width:40px;height:40px;border-radius:50%;box-shadow:inset -12px -5px 0 0 #f5d49d;transform:rotate(-20deg)}.star{position:absolute;color:#8ed8ff66;font-size:14px}.star.one{right:19%;top:12%}.star.two{right:3%;top:30%;font-size:10px}.star.three{right:32%;top:5%;font-size:28px}.scene-heading{position:absolute;top:7%;left:5%;z-index:3;display:flex;flex-direction:column;gap:10px}.scene-heading>span{font-size:10px;letter-spacing:.18em;color:#8ed8ff}.scene-heading>strong{font-size:clamp(16px,2.3vw,25px);font-weight:600}.practice-screen{position:absolute;left:0;right:0;bottom:0;aspect-ratio:1000/420}.practice-screen canvas{margin:0;width:100%;height:100%}.model-tag,.frank-tag{position:absolute;left:4.2%;top:3%;font-size:10px;color:#8ed8ff}.frank-tag{top:53%;color:#f5a13d}.resting-frank{display:none;position:absolute;inset:58% 0 0;background:#141923;z-index:2}.resting-frank img{position:absolute;height:112%;width:auto;left:8%;bottom:-8%;transform:rotate(-19deg);object-fit:contain}.pillow{position:absolute;width:17%;height:25%;left:5%;bottom:38%;border-radius:40%;background:#3c4c64;transform:rotate(-12deg)}.blanket{position:absolute;left:4%;bottom:-30%;width:30%;height:67%;background:#38435c;border:1px solid #5b6681;border-radius:60% 25% 0 0;transform:rotate(-7deg)}.zzz{position:absolute;left:28%;top:12%;font-style:italic;letter-spacing:.3em;color:#8ed8ff88;font-size:22px}.morning-cast{position:absolute;inset:0;display:none}.awake-frank,.waking-frank{position:absolute;bottom:-2%;left:0;width:25%;height:76%;object-fit:contain}.tina-entrance{position:absolute;right:0;bottom:0;width:30%;height:78%;transform:translateX(115%)}.tina-entrance img{position:absolute;bottom:0;width:100%;height:auto}.greeting{position:absolute;top:5%;right:8%;font-size:clamp(12px,1.8vw,18px);line-height:1.7;padding:12px 16px;border-radius:18px 18px 0 18px;color:#f4f5f7;background:#465167}.phone{position:absolute;top:23%;left:41%;width:18%;height:auto;aspect-ratio:0.48;background:#080b11;border:2px solid #626c82;border-radius:18px;text-align:center;z-index:4;box-shadow:0 12px 28px #0003}.phone[hidden]{display:none}.phone-speaker{position:absolute;top:3.8%;left:38%;width:24%;height:1.7%;border-radius:5px;background:#e8ecf2}.phone-screen{position:absolute;inset:9% 6% 12%;background:#222735;border-radius:2px;padding:16px 7px 10px;display:flex;align-items:center;flex-direction:column;gap:8px;overflow:hidden}.phone-home{position:absolute;bottom:2.6%;left:44%;width:12%;aspect-ratio:1;border-radius:50%;background:#f4f5f7}.phone-eyebrow{font-size:10px;color:#bdc3ce}.phone strong{font-size:14px;font-weight:500}.phone p{margin:5px 0 0;color:#f5a13d;font-size:12px}.phone b{font-size:clamp(22px,3vw,34px);font-weight:600;font-variant-numeric:tabular-nums}.estimate{font-size:10px;color:#bdc3ce}.result-rule{width:70%;height:1px;background:#ffffff23;margin:4px 0}.phone #stop-reason{font-size:10px;line-height:1.6;max-width:160px}.phone small{color:#bdc3ce;font-size:9px;margin-top:auto}.stop-sign{position:absolute;left:43%;right:6%;top:64%;z-index:3;font-size:18px;line-height:2;color:#bdc3ce}.stop-sign span{font-size:12px;color:#bdc3ceaa}.silence-strip{padding:18px 10px 12px;color:#bdc3ce;font-size:12px}.silence-track{height:3px;background:#ffffff14;border-radius:3px;margin-top:12px;overflow:hidden}.silence-track i{display:block;height:100%;width:0;background:#8ed8ff88}.sleep-controls{display:flex;gap:25px;align-items:center;padding:12px 10px 0}.sleep-controls .primary{width:210px;flex-shrink:0;font-size:16px}.stop-setting{margin-left:auto;display:flex;align-items:center;gap:12px;color:#bdc3ce;font-size:12px}.stop-setting select{font:inherit;font-weight:600;color:#f4f5f7;border:1px solid #ffffff33;background:#141923;padding:12px;border-radius:8px;cursor:pointer}.stop-setting select:focus-visible{outline:3px solid #8ed8ff;outline-offset:3px}.feedback{min-height:66px;margin:0;line-height:1.8}.sleep-demo[data-phase=sleeping] .resting-frank,.sleep-demo[data-phase=stopped] .resting-frank{display:block}.sleep-demo[data-phase=stopped] .practice-screen{opacity:.3}.sleep-demo[data-phase=morning] .practice-screen,.sleep-demo[data-phase=morning] .resting-frank{display:none}.sleep-demo[data-phase=morning] .morning-cast{display:block}.sleep-demo[data-phase=morning] .tina-entrance{animation:tina-arrives 1.2s ease-out forwards}.sleep-demo[data-phase=morning] .sky{background:radial-gradient(ellipse at 95% 0,#f5a13d45,transparent 70%)}.sleep-demo[data-phase=morning] .moon{box-shadow:none;background:#f5a13d88;transform:none}.sleep-demo[data-phase=morning] .star{opacity:0}.sleep-demo[data-phase=morning] .phone{animation:result-appears .5s ease-out both;animation-delay:1.2s}.sleep-demo[data-frozen=true] *{animation-play-state:paused!important}.sleep-demo[data-failed=true] .practice-screen::after{content:'お手本を聞いて、声に出す';position:absolute;inset:40% 5% auto;text-align:center;color:#bdc3ce;font-size:16px}@keyframes tina-arrives{to{transform:translateX(0)}}@keyframes result-appears{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}@media(max-width:600px){.sleep-demo{padding:14px 10px}.story-steps{gap:6px;margin-bottom:16px}.story-steps li{font-size:10px;padding-bottom:9px}.story-steps li::before{font-size:9px}.night-scene{aspect-ratio:1/1.02;border-radius:12px}.scene-heading{top:7%;gap:8px}.scene-heading>span{font-size:9px}.scene-heading>strong{font-size:15px;max-width:240px}.moon{width:29px;height:29px;right:7%;top:7%;box-shadow:inset -9px -4px 0 0 #f5d49d}.practice-screen{bottom:10%;width:150%;left:0;right:auto}.model-tag,.frank-tag{font-size:10px}.resting-frank{inset:59% 0 0}.resting-frank img{height:105%;left:12%;bottom:0}.blanket{width:43%;bottom:-30%;height:65%}.pillow{width:25%;height:25%;left:7%;bottom:43%}.zzz{left:38%;font-size:18px}.stop-sign{left:51%;right:2%;top:65%;font-size:13px;line-height:1.9}.stop-sign span{font-size:10px}.awake-frank{width:29%;height:56%;bottom:0;left:-4%}.tina-entrance{width:35%;height:75%;right:-7%}.greeting{font-size:10px;top:8%;right:18%;padding:8px;white-space:nowrap}.phone{top:25%;left:32.5%;width:35%;height:auto;border-radius:12px}.phone-screen{padding:10px 3px 7px;gap:5px}.phone strong{font-size:10px}.phone p{margin:0;font-size:9px;white-space:nowrap}.phone b{font-size:22px}.phone-eyebrow,.estimate{font-size:9px}.phone #stop-reason{font-size:9px}.phone small{font-size:8px}.result-rule{margin:2px 0}.silence-strip{font-size:11px;padding:14px 4px 8px;line-height:1.7;min-height:66px}.sleep-controls{flex-wrap:wrap;padding:6px 4px 0;gap:16px}.sleep-controls .primary{width:100%;min-height:52px}.stop-setting{margin:0;width:100%;justify-content:space-between;font-size:11px}.stop-setting select{padding:10px 12px}.feedback{padding:12px 4px;min-height:85px;font-size:12px}.hint{font-size:11px}}@media(prefers-reduced-motion:reduce){.sleep-demo *{animation:none!important;transition:none!important}.sleep-demo[data-phase=morning] .tina-entrance{transform:none}}

.awake-frank{opacity:0}.waking-frank{transform:rotate(-12deg);transform-origin:bottom center}.sleep-demo[data-phase=morning] .awake-frank{animation:frank-wakes .5s 1.2s both}.sleep-demo[data-phase=morning] .waking-frank{animation:eyes-open .1s 1.2s forwards}.sleep-demo[data-phase=morning] .phone{animation-delay:1.7s}@keyframes frank-wakes{from{opacity:0;transform:rotate(-12deg)}to{opacity:1;transform:rotate(0)}}@keyframes eyes-open{to{opacity:0}}@media(max-width:600px){.waking-frank{width:29%;height:56%;bottom:0;left:-4%}}@media(prefers-reduced-motion:reduce){.awake-frank{opacity:1}.waking-frank{display:none}}

.greeting-short{display:none}@media(max-width:600px){.greeting-full{display:none}.greeting-short{display:inline}.greeting{right:28%}}
