* { box-sizing: border-box; }

:root { color-scheme: light; font-family: "Microsoft YaHei", "PingFang SC", sans-serif; color: #38251f; }
html { min-width: 320px; background: #fff8f1; scroll-behavior: smooth; }
body {
  min-width: 320px;
  margin: 0;
  background: linear-gradient(115deg, #fff8f1 0%, #fff4e9 43%, #ffead6 72%, #fff8f1 100%);
}
a { color: inherit; }
.page-width { width: min(100% - 112px, 912px); margin-inline: auto; }
.site-header { height: 76px; display: flex; align-items: center; }
.brand { display: inline-flex; align-items: center; width: 66px; height: 66px; }
.brand img { display: block; width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }

.hero { position: relative; display: grid; grid-template-columns: 44% 56%; min-height: 520px; align-items: center; }
.hero-copy { position: relative; z-index: 2; align-self: start; padding-top: 56px; }
.hero-tag { display: inline-flex; min-height: 34px; align-items: center; padding: 0 16px; border-radius: 20px; background: #ffe4c5; color: #ec680d; font-size: 13px; font-weight: 700; }
h1 { margin: 18px 0 26px; font-size: clamp(48px, 5.4vw, 57px); line-height: 1.2; font-weight: 800; }
h1 span { position: relative; color: #f36d13; white-space: nowrap; }
h1 span::after { position: absolute; right: 1px; bottom: -8px; left: 0; height: 4px; border-radius: 100%; background: #ff7116; content: ""; transform: rotate(-2deg); }
.hero-description { margin: 0; color: #806c62; font-size: 14px; line-height: 1.75; }
.download-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.download-button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; border: 1px solid #ffe0c6; border-radius: 999px; padding: 0 18px; color: #33231d; font-size: 13px; font-weight: 700; text-decoration: none; white-space: nowrap; box-shadow: 0 3px 10px rgba(116, 59, 26, .06); transition: transform .15s ease, box-shadow .15s ease; }
.download-button:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(116, 59, 26, .15); }
.download-button:focus-visible { outline: 3px solid #9d4312; outline-offset: 3px; }
.download-button svg { width: 19px; height: 19px; fill: currentColor; flex: none; }
.download-button.android { border-color: #ff7418; background: linear-gradient(110deg, #ff963b, #ff6600 70%); color: #fff; }
.download-button.ios { background: #fff; }
.official-note { display: flex; align-items: center; gap: 8px; margin: 14px 0 0 5px; color: #806c62; font-size: 12px; }
.official-note svg { width: 16px; height: 16px; flex: none; fill: none; stroke: #fa6d15; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.hero-scene { position: relative; align-self: stretch; min-width: 0; }
.orbit { position: absolute; top: 179px; right: -2%; width: 106%; height: 182px; border: 3px solid #ffbd79; border-top-color: #fff8ec; border-radius: 50%; box-shadow: 0 0 23px #fff6e8; transform: rotate(-15deg); }
.sparkle { position: absolute; z-index: 1; color: #ffad4b; font-size: 34px; }
.sparkle-one { top: 170px; left: -5px; }
.sparkle-two { top: 335px; right: -4px; }
.hello-sticker { position: absolute; z-index: 3; top: 47px; right: -10px; padding: 8px 12px; border-radius: 10px; background: #fff4e8; box-shadow: 0 7px 15px #9a56221b; color: #f36d13; font-size: 19px; font-weight: 800; transform: rotate(8deg); }
.ai-sticker { position: absolute; z-index: 2; top: 63px; left: 24px; display: grid; gap: 3px; padding: 10px 13px; border-radius: 11px; background: #fffaf5; box-shadow: 0 6px 16px #8b502633; font-size: 12px; transform: rotate(-10deg); }
.ai-sticker small { color: #79665c; font-size: 10px; }
.phone { position: absolute; overflow: hidden; border: 7px solid #242321; border-radius: 38px; box-shadow: 0 16px 24px #48281735, inset 0 0 0 1px #ffffff; }
.phone-island { position: absolute; z-index: 3; top: 7px; left: 50%; width: 82px; height: 18px; border-radius: 12px; background: #101010; transform: translateX(-50%); }
.phone-status { display: flex; height: 30px; align-items: center; justify-content: space-between; padding: 7px 13px 0; font-size: 9px; font-weight: 700; }
.word-phone { z-index: 1; top: 63px; left: 39px; width: 225px; height: 418px; background: linear-gradient(145deg, #32271d, #191613 65%); color: #fff; transform: rotate(-10deg); }
.word-phone .phone-status { color: #eee; }
.word-top { display: flex; justify-content: space-between; padding: 12px 18px; color: #fff; font-size: 13px; }
.word-content { display: flex; height: 315px; flex-direction: column; align-items: center; padding: 42px 10px 8px; }
.word-content strong { color: #f4c860; font-family: Georgia, serif; font-size: 27px; }
.word-content .phonetic { margin: 14px 0 22px; color: #f8f3ee; font-size: 11px; }
.word-content > span:not(.phonetic) { font-size: 13px; }
.syllables { display: flex; gap: 8px; margin-top: 20px; }
.syllables b { padding: 9px 12px; border-radius: 8px; background: #76512d; color: #ffcf73; font-size: 12px; }
.word-content i { width: 39px; height: 39px; display: grid; place-items: center; margin-top: 18px; border-radius: 50%; background: #ff771a; font-size: 15px; font-style: normal; }
.word-content small { margin-top: 14px; color: #fff9f1; font-size: 9px; }
.home-phone { z-index: 2; top: 27px; right: 57px; width: 225px; height: 435px; border-color: #232220; background: #fff; transform: rotate(8deg); }
.home-phone .phone-status { color: #3a302b; }
.phone-hero { display: flex; flex-direction: column; gap: 7px; padding: 16px 16px 0; background: linear-gradient(145deg, #ff8c37, #f15c0c); color: #fff; }
.phone-hero > small { font-size: 8px; }
.phone-hero strong { font-size: 19px; }
.phone-hero nav { display: flex; gap: 16px; margin-top: 5px; padding-bottom: 12px; font-size: 10px; }
.phone-feed { padding: 12px 13px; }
.feed-heading { font-size: 10px; font-weight: 800; }
.levels { display: flex; justify-content: space-between; gap: 3px; margin: 10px 0 15px; }
.levels span, .levels b { padding: 7px 5px; border-radius: 7px; background: #f4f2f0; font-size: 8px; font-weight: 500; }
.levels b { background: #ff7017; color: #fff; }
.next-heading { margin-bottom: 9px; }
.mini-course { display: flex; gap: 8px; align-items: center; padding: 10px 8px; border-radius: 9px; background: #fff8f3; }
.mini-course i { display: grid; width: 32px; height: 32px; flex: none; place-items: center; border-radius: 8px; background: #ffede0; color: #f36b12; font-size: 18px; font-style: normal; }
.mini-course span { display: grid; gap: 4px; }
.mini-course b { font-size: 9px; }
.mini-course small, .course-progress { color: #8b7970; font-size: 8px; }
.progress { height: 5px; margin: 9px 7px 5px; border-radius: 4px; background: #f4e8df; }
.progress i { display: block; width: 44%; height: 100%; border-radius: inherit; background: #ff873b; }
.course-progress { display: flex; justify-content: space-between; padding: 0 6px; }
.course-progress b { color: #ec6613; }
.phone-nav { position: absolute; right: 5px; bottom: 0; left: 5px; display: flex; height: 46px; justify-content: space-around; border-top: 1px solid #f1ece9; color: #897b73; font-size: 14px; }
.phone-nav span, .phone-nav b { display: grid; justify-items: center; padding-top: 5px; font-size: 13px; }
.phone-nav small { font-size: 7px; }

.feature-ribbon { display: grid; grid-template-columns: repeat(5, 1fr); min-height: 114px; margin-top: 7px; padding: 15px 0; border-radius: 36px; background: rgba(255,255,255,.88); }
.feature-ribbon > div { display: grid; justify-items: center; align-content: center; gap: 3px; border-right: 1px solid #f1e8e2; }
.feature-ribbon > div:last-child { border-right: 0; }
.ribbon-icon { width: 36px; height: 35px; background: url("./assets/learning-icons.png") no-repeat; }
.feature-ribbon > :nth-child(2) .ribbon-icon { background-position-x: -36px; }
.feature-ribbon > :nth-child(3) .ribbon-icon { background-position-x: -72px; }
.feature-ribbon > :nth-child(4) .ribbon-icon { background-position-x: -108px; }
.feature-ribbon > :nth-child(5) .ribbon-icon { background-position-x: -144px; }
.feature-ribbon strong { font-size: 14px; }
.feature-ribbon small { color: #927d71; font-size: 12px; }

.features { margin-top: 65px; padding-bottom: 80px; }
.section-eyebrow { margin: 0 0 4px; color: #f16a12; font-size: 12px; font-weight: 800; }
.section-eyebrow::before { display: inline-block; width: 10px; height: 10px; margin-right: 7px; border-radius: 50%; background: #ff701a; content: ""; }
.features h2 { margin: 0 0 22px; font-size: 34px; line-height: 1.4; }
.features-layout { display: grid; grid-template-columns: minmax(0, 1fr) 174px; gap: 18px; align-items: start; }
.feature-grid { display: grid; grid-template-columns: 1fr .9fr; gap: 14px; }
.feature-card { position: relative; min-width: 0; min-height: 214px; overflow: hidden; padding: 42px 19px 18px; border: 1px solid #f6dfcd; border-radius: 19px; background: linear-gradient(153deg, #fffaf4, #ffe0c8); }
.feature-card h3 { position: relative; z-index: 1; max-width: 59%; margin: 0 0 10px; font-size: 18px; line-height: 1.42; }
.feature-card p { position: relative; z-index: 1; max-width: 54%; margin: 0; color: #776157; font-size: 11px; line-height: 1.55; }
.feature-card img { position: absolute; top: 10px; right: 6px; width: 46%; height: auto; object-fit: contain; filter: drop-shadow(0 7px 9px #b66b3033); }
.vocabulary-card img { top: 18px; }
.assistant-card { border-color: #ece1f4; background: linear-gradient(132deg, #f9f1f8, #dfd8ff 94%); }
.assistant-card img { filter: drop-shadow(0 7px 9px #604ca633); }
.rhythm-card { grid-column: 1 / -1; width: 69%; min-height: 154px; padding-top: 23px; background: linear-gradient(130deg, #fff8ed, #ffd4b8); }
.rhythm-card img { inset: auto 11px 5px auto; width: 46%; }
.feature-arrow { position: relative; z-index: 1; display: grid; width: 28px; height: 28px; margin-top: 14px; place-items: center; border-radius: 50%; background: linear-gradient(150deg, #ffab64, #fa691f); color: #fff; text-decoration: none; }
.feature-arrow:hover { background: #e95a12; }
.qr-panel { min-height: 358px; padding: 20px 12px 15px; border-radius: 18px; background: rgba(255,255,255,.9); text-align: center; }
.qr-frame { width: 132px; height: 132px; margin: 0 auto 12px; padding: 4px; background: white; }
#app-qrcode, #app-qrcode canvas, #app-qrcode img { display: block; width: 100% !important; height: 100% !important; }
.qr-panel h3 { margin: 0 0 3px; font-size: 14px; }
.qr-panel > p:not(.qr-status) { margin: 0 0 13px; color: #927d71; font-size: 12px; }
.qr-panel .download-button { width: 100%; min-height: 46px; margin-bottom: 9px; gap: 7px; padding-inline: 6px; font-size: 11px; }
.qr-panel .download-button svg { width: 17px; height: 17px; }
.qr-status { min-height: 12px; margin: 1px 0 0; color: #8d776b; font-size: 10px; }

.site-footer { position: relative; min-height: 154px; padding-top: 36px; background: #fffaf5; }
.footer-wave { position: absolute; top: -55px; left: 0; width: 100%; height: 86px; overflow: hidden; }
.footer-wave span { position: absolute; top: 22px; left: -5%; width: 110%; height: 100px; border-radius: 50% 45% 0 0; background: #ffd3a3; transform: rotate(2deg); }
.footer-wave span + span { top: 43px; background: #ffac66; transform: rotate(-2deg); }
.footer-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 80px; }
.footer-inner .brand { width: 62px; height: 62px; }
.footer-motto { margin: 0; color: #806c62; font-size: 14px; }
.registration { color: #806c62; font-size: 12px; text-decoration: none; }
.registration:hover { color: #ec680d; text-decoration: underline; }

.status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.status.is-visible { position: fixed; z-index: 10; right: 4%; bottom: 24px; left: 4%; width: auto; height: auto; padding: 10px 14px; overflow: visible; border-radius: 7px; background: white; box-shadow: 0 2px 14px #48281724; color: #6e574a; font-size: 13px; text-align: center; clip-path: none; }
[aria-disabled="true"] { cursor: not-allowed; opacity: .68; }

@media (max-width: 860px) {
  .page-width { width: min(100% - 36px, 560px); }
  .site-header { height: 68px; }
  .brand { width: 57px; height: 57px; }
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-copy { padding-top: 24px; }
  h1 { margin: 18px 0 19px; font-size: 40px; }
  .hero-description { font-size: 13px; }
  .download-actions { margin-top: 23px; gap: 9px; }
  .download-button { min-height: 44px; padding-inline: 14px; font-size: 12px; }
  .official-note { margin-top: 11px; font-size: 11px; }
  .hero-scene { width: min(100%, 470px); height: 405px; margin: 2px auto 0; }
  .orbit { top: 135px; right: 1%; width: 99%; height: 156px; }
  .ai-sticker { top: 42px; left: 4%; padding: 7px 9px; font-size: 10px; }
  .ai-sticker small { font-size: 9px; }
  .word-phone { top: 39px; left: 6%; width: 205px; height: 352px; border-width: 6px; border-radius: 31px; }
  .home-phone { top: 18px; right: 7%; width: 207px; height: 366px; border-width: 6px; border-radius: 31px; }
  .word-content { height: 270px; padding-top: 27px; }
  .word-content strong { font-size: 23px; }
  .syllables { margin-top: 14px; }
  .syllables b { padding: 8px 10px; }
  .word-content i { margin-top: 14px; }
  .phone-feed { padding: 9px 10px; }
  .levels { margin: 7px 0 10px; }
  .levels span, .levels b { padding: 6px 4px; }
  .feature-ribbon { grid-template-columns: repeat(5, minmax(0, 1fr)); min-height: 99px; margin-top: 0; border-radius: 22px; }
  .feature-ribbon strong { font-size: 12px; }
  .feature-ribbon small { font-size: 10px; }
  .features { margin-top: 48px; padding-bottom: 66px; }
  .features h2 { font-size: 27px; }
  .features-layout { grid-template-columns: 1fr; gap: 16px; }
  .feature-grid { grid-template-columns: 1fr; gap: 12px; }
  .feature-card { min-height: 184px; padding: 25px 14px 12px; }
  .feature-card h3 { font-size: 17px; }
  .feature-card p { font-size: 10px; }
  .feature-card img { top: 50%; right: 6px; width: 44%; max-width: 205px; transform: translateY(-50%); }
  .rhythm-card { grid-column: auto; width: 100%; min-height: 160px; }
  .rhythm-card img { bottom: auto; }
  .qr-panel { display: grid; grid-template-columns: 116px 1fr; column-gap: 14px; min-height: 0; padding: 16px; text-align: left; }
  .qr-frame { grid-row: span 4; width: 116px; height: 116px; margin: 0; }
  .qr-panel h3 { align-self: end; font-size: 14px; }
  .qr-panel > p:not(.qr-status) { margin-bottom: 3px; }
  .qr-panel .download-button { min-height: 39px; margin: 0 0 6px; }
  .qr-status { grid-column: 1 / -1; text-align: center; }
  .site-footer { min-height: 155px; padding-top: 33px; }
  .footer-inner { flex-wrap: wrap; justify-content: center; gap: 7px 20px; padding-bottom: 16px; }
  .footer-inner .brand { width: 54px; height: 54px; }
  .footer-motto { font-size: 12px; }
  .registration { flex-basis: 100%; text-align: center; font-size: 11px; }
}

@media (max-width: 390px) {
  h1 { font-size: 36px; }
  .hero-scene { height: 355px; }
  .word-phone { left: 1%; width: 190px; height: 330px; }
  .home-phone { right: 2%; width: 192px; height: 342px; }
  .word-content { height: 245px; padding-top: 22px; }
  .phone-hero { padding-inline: 12px; }
  .phone-hero nav { gap: 12px; }
  .feature-card p br { display: none; }
}
