:root{
  --ink:#21233e;
  --muted:#63667a;
  --night:#16245c;
  --paper:#fffaf1;
  --cream:#fff4df;
  --lavender:#eeebff;
  --container:min(1160px,calc(100% - 48px));
  background:var(--paper);
}
body{background:var(--paper)}
.site-header{height:76px;color:var(--ink);background:rgba(255,250,241,.93);border-bottom:1px solid rgba(39,43,75,.09);backdrop-filter:blur(18px)}
.site-header.scrolled{background:rgba(255,250,241,.94);box-shadow:0 8px 32px rgba(26,25,63,.07)}
.brand{font-size:19px;color:#20264f}
.brand img{width:43px;height:43px;border-radius:13px;box-shadow:0 3px 12px rgba(19,32,87,.13)}
.site-nav{gap:29px;font-size:14px;color:#343753}
.site-nav>a:not(.nav-download){opacity:.88}
.nav-download{background:#202f72;color:#fff;box-shadow:0 4px 0 #121d54;padding:12px 19px}
.nav-download:hover{transform:translateY(-2px)}
.menu-toggle span:not(.sr-only){background:#23275a}

.hero{min-height:0;padding:146px 0 0;background:radial-gradient(circle at 52% 82%,#e7e1ff 0,transparent 39%),linear-gradient(180deg,#fffaf1 0%,#fff8ed 55%,#eeebff 100%);color:var(--ink)}
.hero-content{position:relative}
.hero-copy{text-align:center;max-width:800px;margin:0 auto;z-index:2}
.hero-kicker{display:inline-flex;gap:12px;align-items:center;margin:0 0 20px;padding:9px 18px;border:1px solid #e7dcca;border-radius:999px;background:#fffdf8;color:#6158a0;font-size:13px;font-weight:800;box-shadow:0 5px 14px rgba(68,48,96,.05)}
.hero-kicker span{color:#d0a761}
.hero h1{max-width:none;font-size:clamp(52px,6.6vw,86px);line-height:1.02;letter-spacing:-.065em;color:#252541}
.hero h1 em{color:#7567c7}
.hero-lead{max-width:650px;margin:23px auto 0;color:#626579;font-size:19px;line-height:1.65}
.hero .store-buttons{justify-content:center;margin-top:25px}
.hero .store-button{min-width:176px;min-height:60px;background:#191919;color:#fff;border:1px solid #191919;border-radius:12px;box-shadow:0 8px 17px rgba(24,24,42,.12)}
.hero .store-button small{color:#e0e0e0}
.hero .store-button strong{font-size:17px}
.hero .store-button:hover{box-shadow:0 14px 26px rgba(24,24,42,.19)}
.hero-showcase{position:relative;height:610px;max-width:1100px;margin:35px auto 0;isolation:isolate}
.showcase-halo{position:absolute;left:6%;right:6%;bottom:-260px;height:600px;border-radius:50% 50% 0 0;background:radial-gradient(ellipse at 50% 30%,#d9d1ff 0%,#e9e5ff 48%,rgba(238,235,255,0) 74%);z-index:-1}
.showcase-phone{position:absolute;bottom:-95px;padding:8px;background:#161826;border:2px solid #34354b;border-radius:39px;overflow:hidden;box-shadow:0 30px 60px rgba(41,37,85,.21),0 4px 14px rgba(23,23,51,.15);transition:transform .45s ease,box-shadow .45s ease}
.showcase-phone:hover{transform:translateY(-13px) rotate(0);box-shadow:0 40px 70px rgba(41,37,85,.27)}
.showcase-phone img{width:100%;height:100%;border-radius:30px;object-fit:cover;object-position:top}
.showcase-home{z-index:4;width:270px;height:585px;left:50%;margin-left:-135px;bottom:-125px}
.showcase-stories{z-index:2;width:224px;height:487px;left:25%;transform:rotate(-8deg);bottom:-90px}
.showcase-sounds{z-index:3;width:224px;height:487px;right:25%;transform:rotate(8deg);bottom:-90px}
.showcase-brand{position:absolute;z-index:1;left:4%;bottom:92px;width:190px;aspect-ratio:1;border:7px solid #fff;border-radius:39px;overflow:hidden;transform:rotate(-11deg);box-shadow:0 19px 40px rgba(53,47,102,.16);animation:heroFloat 7s ease-in-out infinite}
.showcase-brand img{width:100%;height:100%;object-fit:cover}
.showcase-note{position:absolute;z-index:5;padding:12px 17px;background:#fffdfb;border:1px solid #e7dfe8;border-radius:999px;color:#4b4675;font-size:13px;font-weight:800;box-shadow:0 11px 28px rgba(53,47,102,.11)}
.note-story{left:8%;top:165px;transform:rotate(-5deg)}
.note-sound{right:4%;top:235px;transform:rotate(5deg)}
.showcase-spark{position:absolute;color:#d6ae68;text-shadow:0 2px 15px rgba(225,179,105,.4);animation:twinkle 3s ease-in-out infinite}
.spark-one{left:15%;top:85px;font-size:33px}.spark-two{right:14%;top:70px;font-size:43px;animation-delay:-1s}.spark-three{right:6%;bottom:150px;font-size:26px;animation-delay:-1.8s}

.journey{position:relative;z-index:5;padding-top:130px;background:#fffdf9}
.section-heading{max-width:690px}
.section-heading h2,.feature-copy h2,.routine-copy h2,.faq-intro h2{font-size:clamp(38px,4.4vw,56px)}
.eyebrow.dark{color:#7467bc}
.step-card{min-height:267px;background:#fff;border-color:#e9e5e1;box-shadow:0 12px 30px rgba(44,38,75,.045);border-radius:25px}
.step-card:after{background:radial-gradient(circle,rgba(238,230,255,.7),transparent 70%)}
.step-number{color:#a096bc}
.step-icon{margin:37px 0 21px;background:#f6f0ff;box-shadow:none;border-radius:17px}
.step-card h3{color:#292a46}
.product-story{background:#f5f2ff}
.stories-section,.routine-section,.faq-section{background:#fffdf9}
.phone-stage:before{background:radial-gradient(circle,#e1dbff,rgba(245,242,255,.15) 67%,transparent 72%)}
.phone{box-shadow:0 28px 60px rgba(49,41,99,.17)}
.mini-features>div{background:#f6f2ff}
.sound-section{background:radial-gradient(circle at 75% 54%,#4c4c9f 0%,transparent 40%),linear-gradient(135deg,#20265e,#30377a)}
.routine-card{background:linear-gradient(135deg,#f0eaff,#fff7e8);box-shadow:0 15px 45px rgba(45,38,88,.07)}
.safety-section{background:#f7f3ff}
.safety-grid article{border-color:#ede7fa;box-shadow:0 10px 28px rgba(54,42,96,.04)}
.download-section{background:radial-gradient(circle at 75% 45%,rgba(105,102,199,.65),transparent 35%),linear-gradient(135deg,#1b285f,#3f4299)}

@media(max-width:1000px){
  .hero{padding-top:128px}
  .hero-showcase{height:570px}
  .showcase-stories{left:18%}.showcase-sounds{right:18%}
  .showcase-brand{left:0;width:148px;bottom:100px}
  .note-story{left:2%}.note-sound{right:2%}
}
@media(max-width:760px){
  :root{--container:min(100% - 32px,1160px)}
  .site-header{height:68px}
  .site-nav{top:66px;background:#fffaf4;border-color:#e7dfd4;box-shadow:0 15px 30px rgba(36,31,70,.15)}
  .site-nav a{color:#272a50}.nav-download{color:#fff!important}
  .hero{padding-top:112px}
  .hero-kicker{font-size:11px;padding:8px 11px;gap:7px;margin-bottom:17px}
  .hero h1{font-size:clamp(46px,11vw,66px);line-height:1.06}
  .hero-lead{font-size:16px;line-height:1.6;margin-top:16px}
  .hero .store-buttons{display:flex;flex-wrap:nowrap;gap:8px;margin-top:22px}
  .hero .store-button{width:auto;min-width:0;flex:1;padding:10px 9px;gap:7px;min-height:54px}
  .hero .store-button svg{width:24px;height:24px}
  .hero .store-button small{font-size:8px}.hero .store-button strong{font-size:13px}
  .hero-showcase{height:410px;margin-top:33px}
  .showcase-home{width:181px;height:394px;margin-left:-90px;bottom:-78px;padding:5px;border-radius:28px}
  .showcase-stories,.showcase-sounds{width:141px;height:307px;bottom:-56px;padding:4px;border-radius:24px}
  .showcase-stories{left:5%;transform:rotate(-9deg)}.showcase-sounds{right:5%;transform:rotate(9deg)}
  .showcase-phone img{border-radius:20px}
  .showcase-brand{width:84px;left:0;bottom:217px;border-width:3px;border-radius:20px}
  .showcase-note{display:none}
  .showcase-halo{left:-15%;right:-15%;height:430px;bottom:-160px}
  .spark-one{left:23%;top:24px}.spark-two{right:9%;top:38px}
  .journey{padding-top:105px}
  .step-card{min-height:210px}.step-icon{margin-top:22px}
}
@media(max-width:390px){
  .hero h1{font-size:43px}
  .showcase-stories{left:-5%}.showcase-sounds{right:-5%}
}
@media(prefers-reduced-motion:reduce){.showcase-brand,.showcase-spark{animation:none}.showcase-phone{transition:none}}

/* Nhịp chữ và khoảng trắng: ít phô diễn, dễ đọc hơn trên tiếng Việt. */
body{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;font-size:16px;line-height:1.6;letter-spacing:0}
h1,h2,h3,.brand,.site-nav,.store-button strong{font-family:inherit}
.brand{font-weight:720;letter-spacing:-.025em}
.site-nav{font-weight:620;gap:27px}
.nav-download{font-weight:680}
.hero{padding-top:133px}
.hero-kicker{font-weight:640;letter-spacing:0}
.hero h1{max-width:820px;margin-inline:auto;font-size:clamp(48px,5.7vw,76px);font-weight:720;letter-spacing:-.044em;line-height:1.13}
.hero-lead{max-width:610px;margin-top:19px;font-size:18px;line-height:1.65}
.hero .store-buttons{margin-top:25px}
.hero-showcase{margin-top:28px}
.eyebrow{font-size:14px;font-weight:680;letter-spacing:.015em;text-transform:none}
.section{padding:84px 0}
.section-heading{margin-bottom:38px}
.section-heading h2,.feature-copy h2,.routine-copy h2,.faq-intro h2{font-size:clamp(34px,3.6vw,49px);font-weight:720;letter-spacing:-.035em;line-height:1.16}
.section-heading>p:last-child,.feature-copy>p,.routine-copy>p,.faq-intro>p{font-size:16px;line-height:1.72}
.journey{padding-top:108px}
.step-card{min-height:242px;padding:29px}
.step-icon{margin:27px 0 17px}
.step-card h3{font-size:20px;font-weight:700;letter-spacing:-.02em}
.step-card p{font-size:15px;line-height:1.63}
.feature-row{gap:76px}
.phone-stage{min-height:596px}
.phone{width:290px;max-height:585px;border-radius:43px}
.phone img{height:565px;border-radius:35px}
.feature-copy h2{margin-bottom:19px}
.feature-list{gap:11px;margin-top:24px}
.mini-features{margin-top:24px;gap:10px}
.mini-features>div{padding:14px}
.mini-features b,.sound-cards b,.safety-grid h3{font-weight:700}
.sound-cards b{font-size:17px}
.routine-card{gap:56px;padding:56px}
.safety-grid article{padding:25px}
.safety-grid article>span{margin-bottom:24px}
.faq-grid{gap:72px}
.faq-list summary{padding-block:21px;font-size:17px;font-weight:680}
.faq-list summary:after{top:17px}
.download-inner h2{font-size:clamp(32px,3.5vw,45px);font-weight:720;letter-spacing:-.035em;line-height:1.16}
.footer-grid h3{letter-spacing:.05em;font-size:12px}
.section-heading h2,.feature-copy h2,.routine-copy h2,.faq-intro h2{font-weight:650}
.mini-features{gap:0}
.mini-features>div{padding:13px 2px;border-bottom:1px solid #e9e5ef;border-radius:0;background:transparent}
.mini-features>div>span{background:#f3efff}
@media(max-width:1000px){.feature-row{gap:37px}.phone-stage{min-height:590px}.routine-card{padding:43px}}
@media(max-width:760px){
  .hero{padding-top:108px}
  .hero h1{font-size:clamp(43px,10.5vw,58px);letter-spacing:-.041em;line-height:1.12}
  .hero-lead{font-size:16px;line-height:1.6}
  .hero-showcase{margin-top:27px}
  .section{padding:66px 0}
  .section-heading{margin-bottom:30px}
  .section-heading h2,.feature-copy h2,.routine-copy h2,.faq-intro h2{font-size:clamp(32px,8.3vw,40px);line-height:1.18}
  .journey{padding-top:95px}
  .step-card{min-height:205px;padding:25px}
  .step-icon{margin:22px 0 15px}
  .phone-stage{min-height:535px}
  .phone{width:270px;max-height:545px}
  .phone img{height:525px}
  .routine-card{padding:28px}
  .faq-grid{gap:30px}
}

/* Một hành trình bằng hình ảnh thay cho ba thẻ chức năng giống nhau. */
.journey{padding-bottom:100px}
.journey .section-heading{margin-bottom:44px}
.journey .steps{gap:20px}
.journey .step-card{min-height:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;overflow:visible}
.journey .step-card:after{display:none}
.step-visual{position:relative;height:260px;border-radius:25px;overflow:hidden;isolation:isolate}
.step-number{position:absolute;top:17px;left:18px;z-index:3;padding:7px 11px;border:1px solid rgba(255,255,255,.4);border-radius:999px;background:rgba(255,255,255,.8);backdrop-filter:blur(10px);color:#3b365f;font-size:12px;font-weight:700;letter-spacing:0;box-shadow:0 5px 18px rgba(28,22,63,.08)}
.story-visual{background:#33305e}
.story-visual img{width:100%;height:100%;object-fit:cover;object-position:center 46%;transition:transform .6s ease}
.step-card:hover .story-visual img{transform:scale(1.045)}
.sound-visual{background:radial-gradient(circle at 48% 75%,#f9e8dd,transparent 48%),linear-gradient(150deg,#d8d2fa,#e6edff)}
.sound-art{position:absolute;inset:60px 0 0;display:flex;align-items:center;justify-content:center}
.sound-art img{position:relative;z-index:2;width:132px;height:132px;object-fit:cover;border:5px solid #fff;border-radius:24px;box-shadow:0 14px 30px rgba(39,42,101,.21);transform:rotate(-9deg) translateX(24px);transition:transform .45s ease}
.sound-art img:nth-child(2){z-index:3;width:156px;height:156px;transform:rotate(2deg) translateY(-13px)}
.sound-art img:nth-child(3){z-index:2;transform:rotate(10deg) translateX(-24px)}
.step-sound:hover .sound-art img:nth-child(1){transform:rotate(-13deg) translateX(12px)}
.step-sound:hover .sound-art img:nth-child(3){transform:rotate(14deg) translateX(-12px)}
.sound-wave{position:absolute;left:50%;top:54%;width:330px;height:330px;border:1px solid rgba(255,255,255,.44);border-radius:50%;transform:translate(-50%,-50%)}
.wave-two{width:440px;height:440px}
.timer-visual{background:radial-gradient(circle at 50% 50%,#5056a4,#242d71 72%);color:#fff}
.timer-visual:before{content:"";position:absolute;inset:20px;border:1px solid rgba(255,255,255,.12);border-radius:20px}
.timer-visual .step-number{background:rgba(255,255,255,.93)}
.timer-orbit{position:absolute;left:50%;top:55%;width:176px;height:176px;border:2px solid rgba(255,228,162,.45);border-radius:50%;transform:translate(-50%,-50%);box-shadow:0 0 0 12px rgba(255,255,255,.045),0 0 0 29px rgba(255,255,255,.035)}
.timer-orbit:before{content:"";position:absolute;inset:12px;border:1px dashed rgba(255,255,255,.32);border-radius:50%;animation:timerTurn 55s linear infinite}
.timer-orbit:after{content:"";position:absolute;left:50%;top:-7px;width:11px;height:11px;border-radius:50%;background:#ffe3a1;box-shadow:0 0 16px #ffe3a1}
.timer-center{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;font-size:49px;font-weight:570;line-height:1;letter-spacing:-.05em}
.timer-center small{margin-top:6px;font-size:13px;font-weight:500;letter-spacing:.02em;color:#d9dcff}
.timer-moon{position:absolute;right:-32px;top:5px;color:#ffe3a1;font-size:47px;line-height:1;transform:rotate(-16deg);text-shadow:0 0 20px rgba(255,226,159,.55)}
.timer-star{position:absolute;color:#f9d999}.star-left{left:17%;top:57%;font-size:25px}.star-right{right:15%;top:26%;font-size:30px}
.step-copy{padding:21px 6px 0}
.step-copy h3{margin:0 0 8px;color:#272743;font-size:22px;font-weight:680;letter-spacing:-.025em;line-height:1.3}
.step-copy p{max-width:330px;margin:0;color:#696b7a;font-size:15px;line-height:1.65}
@keyframes timerTurn{to{transform:rotate(360deg)}}
@media(max-width:760px){
  .journey{padding-bottom:70px}
  .journey .section-heading{margin-bottom:34px}
  .journey .steps{gap:34px}
  .step-visual{height:240px}
  .step-copy{padding-top:16px}
  .step-copy h3{font-size:21px}
  .step-copy p{max-width:none}
}
@media(prefers-reduced-motion:reduce){.timer-orbit:before{animation:none}.story-visual img,.sound-art img{transition:none}}

/* Cam kết trình bày như một câu chuyện, thay cho lưới thẻ bốn cột. */
.safety-section{background:#f4f0ff;padding:96px 0}
.safety-layout{display:grid;grid-template-columns:.88fr 1.12fr;gap:82px;align-items:center}
.safety-scene{position:relative;height:600px;border-radius:34px;overflow:hidden;box-shadow:0 28px 60px rgba(38,31,91,.15)}
.safety-scene:after{content:"";position:absolute;inset:55% 0 0;background:linear-gradient(transparent,rgba(13,21,78,.56));pointer-events:none}
.safety-scene img{width:100%;height:100%;object-fit:cover;object-position:right center}
.safety-scene-caption{position:absolute;z-index:1;left:28px;right:28px;bottom:28px;display:flex;align-items:center;gap:10px;color:#fff;font-size:17px;font-weight:650;text-shadow:0 2px 12px rgba(8,13,55,.4)}
.safety-scene-caption span{color:#ffe19c;font-size:23px}
.safety-content .eyebrow{margin-bottom:13px}
.safety-content h2{max-width:610px;margin:0;font-size:clamp(34px,3.7vw,49px);font-weight:650;letter-spacing:-.036em;line-height:1.15}
.safety-intro{max-width:540px;margin:19px 0 24px;color:#686981;font-size:16px;line-height:1.7}
.safety-list{list-style:none;margin:0;padding:0;border-top:1px solid rgba(64,55,121,.15)}
.safety-list li{display:grid;grid-template-columns:40px 1fr;gap:16px;padding:18px 0;border-bottom:1px solid rgba(64,55,121,.15)}
.safety-list li>span{padding-top:3px;color:#8c7dc2;font-size:13px;font-weight:750;letter-spacing:.02em}
.safety-list h3{margin:0 0 4px;color:#292845;font-size:17px;font-weight:690;line-height:1.3}
.safety-list p{margin:0;color:#6b6a7d;font-size:14px;line-height:1.55}
.safety-link{margin-top:23px;font-size:14px}
@media(max-width:1000px){.safety-layout{gap:40px}.safety-scene{height:550px}.safety-content h2{font-size:40px}}
@media(max-width:760px){
  .safety-section{padding:70px 0}
  .safety-layout{grid-template-columns:1fr;gap:34px}
  .safety-scene{height:320px;border-radius:24px}
  .safety-scene-caption{left:20px;right:20px;bottom:19px;font-size:14px}
  .safety-content h2{font-size:clamp(32px,8.3vw,40px)}
  .safety-intro{margin:14px 0 22px}
  .safety-list li{padding:16px 0}
}

/* Quyền riêng tư là thông tin thực tế; trình bày bằng chữ thay vì ảnh minh hoạ. */
.safety-section{padding:72px 0;background:#fffdf9}
.safety-editorial{position:relative;isolation:isolate;padding:60px 64px 34px;border-radius:34px;overflow:hidden;background:radial-gradient(circle at 85% 5%,rgba(116,111,205,.37),transparent 33%),linear-gradient(135deg,#1b255d,#252e72);color:#fff;box-shadow:0 25px 55px rgba(31,30,82,.13)}
.safety-editorial:before{content:"✦";position:absolute;right:53px;top:24px;color:#ffe1a1;font-size:28px;opacity:.9}
.safety-editorial:after{content:"";position:absolute;right:-90px;top:-150px;width:340px;height:340px;border:1px solid rgba(255,255,255,.14);border-radius:50%;z-index:-1;box-shadow:0 0 0 70px rgba(255,255,255,.035),0 0 0 140px rgba(255,255,255,.025)}
.safety-head{display:grid;grid-template-columns:1.3fr .7fr;gap:70px;align-items:end;padding-bottom:45px}
.safety-head .eyebrow{margin-bottom:14px;color:#ffe0a1}
.safety-head h2{max-width:700px;margin:0;font-size:clamp(38px,4.1vw,56px);font-weight:650;letter-spacing:-.038em;line-height:1.12}
.safety-head>p{max-width:360px;margin:0 0 4px;color:#d8dcf2;font-size:16px;line-height:1.7}
.safety-points{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid rgba(255,255,255,.24);border-bottom:1px solid rgba(255,255,255,.24)}
.safety-points>div{padding:28px 30px 28px 0}
.safety-points>div+div{padding-left:30px;border-left:1px solid rgba(255,255,255,.18)}
.safety-points span{display:block;margin-bottom:24px;color:#f6d596;font-size:13px;font-weight:750;letter-spacing:.06em}
.safety-points h3{margin:0 0 7px;font-size:18px;font-weight:680;letter-spacing:-.01em;line-height:1.3}
.safety-points p{max-width:290px;margin:0;color:#c5cbe8;font-size:14px;line-height:1.6}
.safety-actions{display:flex;justify-content:space-between;align-items:center;gap:20px;padding-top:24px}
.safety-actions>span{color:#aeb8e1;font-size:13px}
.safety-actions>div{display:flex;flex-wrap:wrap;gap:24px}
.safety-actions a{color:#fff;font-size:14px;font-weight:670;border-bottom:1px solid rgba(255,255,255,.55);padding-bottom:2px}
.safety-actions a span{margin-left:3px;color:#ffe0a1}
.safety-actions a:hover{border-color:#ffe0a1;color:#ffe0a1}
@media(max-width:1000px){.safety-editorial{padding:48px 44px 30px}.safety-head{gap:32px}.safety-head h2{font-size:45px}}
@media(max-width:760px){
  .safety-section{padding:58px 0}
  .safety-editorial{padding:34px 26px 27px;border-radius:26px}
  .safety-head{grid-template-columns:1fr;gap:16px;padding-bottom:29px}
  .safety-head h2{font-size:clamp(33px,8.3vw,43px)}
  .safety-head>p{max-width:none;font-size:15px}
  .safety-points{grid-template-columns:1fr}
  .safety-points>div,.safety-points>div+div{padding:18px 0;border-left:0}
  .safety-points>div+div{border-top:1px solid rgba(255,255,255,.18)}
  .safety-points span{float:left;width:42px;margin:3px 0 0}
  .safety-points h3,.safety-points p{margin-left:42px}
  .safety-actions{display:block;padding-top:20px}
  .safety-actions>div{gap:14px;margin-top:12px}
}

/* Truyện: nội dung thật của app nằm trong một khung cảnh trước giờ ngủ. */
.stories-section{position:relative;padding:76px 0 52px;background:radial-gradient(ellipse at 68% 56%,#f1e7ff 0%,#fbf7ff 38%,#fffdf9 68%);overflow:hidden}
.story-feature{display:grid;grid-template-columns:.88fr 1.12fr;gap:42px;align-items:center}
.story-copy{position:relative;z-index:3;max-width:520px}
.story-label{display:inline-flex;align-items:center;gap:9px;margin:0 0 18px;padding:9px 14px;border-radius:999px;background:#eee8ff;color:#5149a5;font-size:14px;font-weight:680;line-height:1.2}
.story-label span{font-size:20px;line-height:.8}
.story-copy h2{max-width:520px;margin:0;font-size:clamp(38px,3.6vw,48px);font-weight:700;letter-spacing:-.044em;line-height:1.12}
.story-copy h2 span{color:#6155b7;white-space:nowrap;text-decoration:underline;text-decoration-style:wavy;text-decoration-color:#f0cf72;text-decoration-thickness:3px;text-underline-offset:8px}
.story-intro{max-width:490px;margin:21px 0 25px;color:#686c7e;font-size:16px;line-height:1.7}
.story-benefits{display:grid;gap:10px;max-width:490px}
.story-benefit{display:flex;align-items:center;gap:18px;min-height:75px;padding:10px 14px 10px 10px;border:1px solid rgba(143,126,194,.08);border-radius:19px;background:rgba(255,255,255,.83);box-shadow:0 9px 26px rgba(75,58,127,.055);backdrop-filter:blur(12px)}
.benefit-icon{display:grid;place-items:center;flex:0 0 55px;width:55px;height:55px;border-radius:15px;background:#ebe5ff;color:#6355c8}
.benefit-icon svg{width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:2.3;stroke-linecap:round;stroke-linejoin:round}
.benefit-icon.heart-icon{background:#ffe8e0;color:#f06c60}
.benefit-icon.read-icon{background:#e5eaff;color:#4d6fdf;font-size:20px;font-weight:750;letter-spacing:-.04em}
.story-benefit strong,.story-benefit small{display:block}
.story-benefit strong{color:#292a4c;font-size:17px;font-weight:700;line-height:1.3}
.story-benefit small{margin-top:3px;color:#727387;font-size:14px;line-height:1.4}
.story-stage{position:relative;height:660px;isolation:isolate}
.story-glow{position:absolute;z-index:-2;inset:9% -17% 0 -20%;border-radius:50%;background:radial-gradient(ellipse,#e4d1ff 0%,rgba(238,218,255,.72) 39%,transparent 71%);filter:blur(12px)}
.story-moon{position:absolute;z-index:-1;width:210px;height:210px;left:9%;top:16%;border-radius:50%;background:radial-gradient(circle at 35% 33%,#fff6c6,#ffe49a 72%);box-shadow:0 0 55px 20px rgba(255,229,166,.34)}
.story-star{position:absolute;z-index:1;color:#ffe4a3;text-shadow:0 0 12px rgba(255,209,113,.58);animation:twinkle 4s ease-in-out infinite}
.story-star-one{right:6%;top:20%;font-size:43px}.story-star-two{left:4%;top:30%;font-size:24px;animation-delay:-1.6s}
.story-fox{position:absolute;z-index:1;width:760px;height:auto;max-width:none;left:-115px;bottom:7px;filter:drop-shadow(0 19px 20px rgba(67,47,121,.15))}
.story-phone{position:absolute;z-index:2;width:285px;height:617px;right:13%;bottom:16px;padding:7px;border:3px solid #35324f;border-radius:43px;background:#171725;box-shadow:0 30px 45px rgba(31,27,76,.25),0 6px 10px rgba(20,17,59,.17);transform:rotate(6deg);transition:transform .35s ease}
.story-phone:hover{transform:rotate(2deg) translateY(-7px)}
.story-phone img{width:100%;height:100%;border-radius:34px;object-fit:cover;object-position:top}
@media(max-width:1000px){.story-feature{gap:10px}.story-stage{height:600px}.story-phone{width:260px;height:563px;right:8%}.story-fox{width:680px;left:-135px}.story-copy h2{font-size:44px}}
@media(max-width:760px){
  .stories-section{padding:70px 0 0}
  .story-feature{grid-template-columns:1fr;gap:15px}
  .story-copy{max-width:none}
  .story-label{font-size:12px}
  .story-copy h2{font-size:clamp(35px,8.7vw,45px)}
  .story-copy h2 span{white-space:normal}
  .story-intro{margin:18px 0 22px;font-size:15px}
  .story-benefits{max-width:none}
  .story-benefit{min-height:69px}
  .story-benefit strong{font-size:16px}.story-benefit small{font-size:13px}
  .story-stage{height:520px;margin:10px -16px 0}
  .story-glow{inset:7% -10% 0}
  .story-moon{width:150px;height:150px;left:10%;top:11%}
  .story-fox{width:500px;left:-105px;bottom:5px}
  .story-phone{width:210px;height:455px;right:8%;bottom:5px;border-radius:33px;padding:5px}
  .story-phone img{border-radius:26px}
}
@media(max-width:390px){.story-fox{left:-150px}.story-phone{right:3%}}
@media(prefers-reduced-motion:reduce){.story-star{animation:none}.story-phone{transition:none}}

/* Màn Home trên bầu trời pastel do người dùng cung cấp. */
.product-story{position:relative;isolation:isolate;overflow:hidden;padding:80px 0;background:#eee5ff url("assets/pastel-night-sky.png") 18% center/cover no-repeat}
.product-story:before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(255,255,255,.03),rgba(255,251,253,.26) 52%,rgba(255,251,253,.57) 100%)}
.product-story .feature-row{position:relative;z-index:1;grid-template-columns:1fr 1fr;gap:75px}
.product-story .phone-stage{min-height:650px}
.product-story .phone-stage:before{display:none}
.product-story .phone{z-index:2;width:300px;max-height:620px;transform:rotate(-3deg);box-shadow:0 28px 48px rgba(55,42,107,.24)}
.product-story .phone img{height:600px}
.home-bear{position:absolute;z-index:1;width:510px;height:auto;max-width:none;left:-60px;bottom:-8px;filter:drop-shadow(0 14px 20px rgba(87,62,128,.12))}
.product-story .floating-pill{box-shadow:0 12px 26px rgba(89,64,139,.14);background:rgba(255,255,255,.87)}
.product-story .pill-one{left:0;top:32%}.product-story .pill-two{right:-1%;bottom:26%}
.product-story .feature-copy h2{max-width:550px}
.product-story .feature-copy>p:not(.eyebrow){max-width:520px}
.product-story .feature-list li{font-size:15px}
.product-story .feature-list span{background:#e2ddff;color:#6355bf}
@media(max-width:1000px){
  .product-story .feature-row{grid-template-columns:1fr;gap:25px}
  .product-story .phone-stage{min-height:620px}
  .product-story .feature-copy{max-width:650px}
  .product-story:before{background:linear-gradient(180deg,rgba(255,255,255,.08),rgba(255,251,253,.68) 55%,rgba(255,251,253,.88) 100%)}
}
@media(max-width:760px){
  .product-story{padding:52px 0 70px;background-position:26% center}
  .product-story .phone-stage{min-height:540px}
  .product-story .phone{width:264px;max-height:545px}
  .product-story .phone img{height:525px}
  .home-bear{width:400px;left:-35px;bottom:-8px}
  .product-story .pill-one{left:0;top:31%}.product-story .pill-two{right:0;bottom:20%}
  .product-story .feature-copy{text-align:left}
  .product-story .feature-list{display:grid}
}

/* Thư viện âm thanh trên nền đêm có trăng do người dùng cung cấp. */
.sound-section{position:relative;isolation:isolate;min-height:760px;padding:64px 0;background:#1c2d79 url("assets/sound-night-sky.png") right center/cover no-repeat}
.sound-section:before{content:"";position:absolute;inset:0;z-index:0;background:linear-gradient(90deg,rgba(15,29,92,.17),rgba(15,29,92,.06) 55%,transparent)}
.sound-section .container{position:relative;z-index:1;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:48px;align-items:center}
.sound-section .section-heading{grid-column:1;grid-row:1;max-width:560px;margin:0 0 14px;text-align:left;align-self:end}
.sound-section .section-heading .eyebrow{display:inline-flex;align-items:center;padding:7px 15px;border-radius:999px;background:rgba(255,255,255,.12);color:#fff;font-size:14px}
.sound-section .section-heading h2{max-width:540px;margin-top:16px;font-size:clamp(37px,3.45vw,48px);line-height:1.15;color:#fff}
.sound-section .section-heading>p:last-child{max-width:510px;margin-top:16px;color:rgba(255,255,255,.82)}
.sound-section .sound-layout{display:contents}
.sound-section .sound-cards{grid-column:1;grid-row:2;order:initial;gap:13px;align-self:start;max-width:530px}
.sound-section .sound-cards article{grid-template-columns:70px minmax(0,1fr) 46px;gap:15px;min-height:86px;padding:10px 17px 10px 10px;border:1px solid rgba(255,255,255,.14);border-radius:20px;background:rgba(221,222,255,.2);box-shadow:0 12px 30px rgba(14,20,76,.08);backdrop-filter:blur(14px)}
.sound-section .sound-cards img{width:70px;height:66px;border-radius:14px}
.sound-section .sound-cards small{margin-top:3px;color:rgba(255,255,255,.78)}
.sound-section .sound-cards article>span{width:43px;height:43px;color:#7768e6}
.sound-section .sound-stage{grid-column:2;grid-row:1/span 2;order:initial;min-height:640px}
.sound-section .sound-stage:before{display:none}
.sound-section .phone-sound{width:300px;max-height:604px;transform:rotate(3deg);box-shadow:0 30px 52px rgba(4,8,47,.35)}
.sound-section .phone-sound img{height:584px}
.sound-bear{position:absolute;z-index:1;right:-125px;bottom:-25px;width:415px;height:auto;max-width:none;filter:drop-shadow(0 15px 22px rgba(16,15,75,.18))}
@media(max-width:1000px){
  .sound-section{padding:65px 0;background-position:82% center}
  .sound-section .container{grid-template-columns:1fr;gap:0}
  .sound-section .section-heading{grid-column:1;grid-row:1;max-width:620px;align-self:auto;margin:0 0 26px}
  .sound-section .sound-cards{grid-column:1;grid-row:2;max-width:620px}
  .sound-section .sound-stage{grid-column:1;grid-row:3;min-height:620px;margin-top:22px}
  .sound-bear{right:calc(50% - 360px);bottom:-20px}
}
@media(max-width:760px){
  .sound-section{min-height:0;padding:58px 0 45px;background-position:79% center}
  .sound-section .section-heading h2{font-size:clamp(34px,8vw,42px)}
  .sound-section .section-heading>p:last-child{font-size:15px}
  .sound-section .sound-cards{gap:10px}
  .sound-section .sound-cards article{grid-template-columns:60px minmax(0,1fr) 38px;gap:10px;min-height:74px;padding:8px 10px 8px 8px}
  .sound-section .sound-cards img{width:60px;height:58px}
  .sound-section .sound-cards b{font-size:15px}
  .sound-section .sound-cards small{font-size:12px}
  .sound-section .sound-cards article>span{width:36px;height:36px}
  .sound-section .sound-stage{min-height:500px;margin-top:18px}
  .sound-section .phone-sound{width:240px;max-height:488px}
  .sound-section .phone-sound img{height:468px}
  .sound-bear{right:-20px;bottom:-5px;width:300px}
}

/* Ba bước buổi tối trên nền trời sáng do người dùng cung cấp. */
.journey{padding:65px 0 92px;background:#faf9ff url("assets/journey-bright-sky.png") center center/100% 100% no-repeat}
.journey .section-heading{max-width:1050px;margin-bottom:42px}
.journey .section-heading .eyebrow{display:inline-flex;align-items:center;gap:8px;margin-bottom:14px;padding:7px 18px;border-radius:999px;background:rgba(115,99,237,.14);color:#4032b7;font-size:15px}
.journey .section-heading .eyebrow:before{content:"☾";font-size:23px;line-height:.8}
.journey .section-heading h2{font-size:clamp(38px,4.1vw,56px);font-weight:730;letter-spacing:-.045em;color:#151d58}
.journey .section-heading h2 span{color:#5345c2;text-decoration-line:underline;text-decoration-style:wavy;text-decoration-color:#f2d471;text-decoration-thickness:2px;text-underline-offset:10px}
.journey .section-heading>p:last-child{margin-top:20px;color:#52546f;font-size:18px}
.journey .steps{gap:22px}
.journey .step-card{overflow:hidden;border:1px solid rgba(234,231,251,.9);border-radius:29px;background:rgba(255,255,255,.9);box-shadow:0 18px 38px rgba(87,72,158,.11)}
.journey .step-visual{height:250px;border-radius:28px 28px 20px 20px}
.journey .step-copy{min-height:138px;padding:19px 22px 24px}
.journey .step-copy h3{margin-bottom:8px;font-size:21px;color:#17205a}
.journey .step-copy p{max-width:none;color:#585b78;font-size:15px;line-height:1.65}
.journey .step-number{display:inline-flex;align-items:center;gap:6px;top:16px;left:17px;padding:8px 12px;background:rgba(255,255,255,.89);color:#282384;font-size:13px}
.journey .step-story .step-number:before{content:"▤";font-size:17px;line-height:1}
.journey .step-sound .step-number:before{content:"♫";font-size:18px;line-height:1}
.journey .step-timer .step-number:before{content:"◴";font-size:20px;line-height:.7}
@media(max-width:1000px){
  .journey{padding:70px 0 90px}
  .journey .section-heading{max-width:760px}
  .journey .step-visual{height:220px}
  .journey .step-copy{min-height:158px}
}
@media(max-width:760px){
  .journey{padding:58px 0 72px;background:#faf9ff url("assets/journey-bright-sky.png") right top/auto 700px no-repeat}
  .journey .section-heading{margin-bottom:32px}
  .journey .section-heading .eyebrow{font-size:13px}
  .journey .section-heading h2{font-size:clamp(35px,9vw,44px)}
  .journey .section-heading>p:last-child{font-size:16px}
  .journey .steps{gap:22px}
  .journey .step-card{max-width:520px;margin-inline:auto}
  .journey .step-visual{height:240px}
  .journey .step-copy{min-height:0;padding:18px 20px 23px}
}

/* Bản phối tĩnh cho hai phần Hành trình và An tâm. */
.combined-panels{position:relative;width:min(100%,1536px);aspect-ratio:3/2;margin:0 auto;background:#eee9ff}
.combined-panels-image{position:absolute;inset:0;z-index:1;width:100%;height:100%;object-fit:contain}
.combined-panels>.routine-section,.combined-panels>.safety-section{height:50%;padding:0;overflow:hidden;visibility:hidden;background:transparent}
.combined-panels>.routine-section .container,.combined-panels>.safety-section .container{display:none}
.combined-action{position:absolute;z-index:2;display:block;border-radius:999px}
.combined-action:focus-visible{outline:3px solid #fff;outline-offset:3px;box-shadow:0 0 0 6px #594bc9}
.combined-action-start{left:49%;top:33.5%;width:20%;height:8%}
.combined-action-privacy{left:56%;top:84.8%;width:14%;height:6%}
.combined-action-delete{left:71.5%;top:84.8%;width:16%;height:6%}
@media(max-width:1100px){
  .combined-panels{width:100%;aspect-ratio:auto;background:transparent}
  .combined-panels-image,.combined-panels .combined-action,.combined-panels>.sr-only{display:none}
  .combined-panels>.routine-section,.combined-panels>.safety-section{height:auto;padding:initial;overflow:visible;visibility:visible}
  .combined-panels>.routine-section .container{display:grid}
  .combined-panels>.safety-section .container{display:block}
  .combined-panels>.routine-section{padding:84px 0;background:#fffdf9}
  .combined-panels>.safety-section{padding:72px 0;background:#fffdf9}
}

/* Biểu tượng cửa hàng do người dùng cung cấp có vùng trong suốt rộng hai bên. */
.store-button .store-icon{display:block;width:36px;height:36px;max-width:none;flex:0 0 36px;object-fit:cover;object-position:46% center}
@media(max-width:760px){
  .store-button .store-icon{width:28px;height:28px;flex-basis:28px}
}
