/* MomEase web roles follow the app's warm canvas and deep teal actions. */
:root {
  color-scheme: light;
  --canvas: #fff8f0;
  --ink: #243c3b;
  --muted: #5f706b;
  --primary: #2d6f70;
  --primary-hover: #245c5d;
  --on-primary: #fff;
  --tint: #e8f1ef;
  --paper: #fffefa;
  --line: #d8dfd6;
  --orange: #ff9500;
  --ease: cubic-bezier(.2, .75, .2, 1);
  --page-width: 1200px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; color: var(--ink); background: var(--canvas); font: 16px/1.75 -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, summary, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; color: inherit; cursor: pointer; }
button, a, summary { touch-action: manipulation; }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 6px; border-radius: 5px; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2 { font-family: "Songti SC", "STSong", "Noto Serif CJK SC", "SimSun", serif; font-weight: 600; letter-spacing: -.045em; line-height: 1.28; text-wrap: balance; }
h2 { font-size: clamp(32px, 4.2vw, 52px); }
h3 { font-size: 21px; line-height: 1.5; letter-spacing: -.02em; }
::selection { background: #f6d9b1; color: var(--ink); }
.page-width { width: min(var(--page-width), calc(100% - 112px)); margin-inline: auto; }
.section-space { padding-block: 112px; }
.skip-link { position: fixed; top: -80px; left: 20px; z-index: 20; padding: 10px 20px; background: var(--ink); color: white; }
.skip-link:focus { top: 12px; }
.site-header { position: sticky; top: 0; z-index: 10; background: rgb(255 248 240 / 95%); border-bottom: 1px solid rgb(36 60 59 / 8%); }
.nav-wrap { max-width: 1440px; margin: auto; padding: 20px 56px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand img { border-radius: 11px; }
.brand > span { font-size: 19px; font-weight: 650; line-height: 1.3; letter-spacing: .02em; }
.brand small { display: block; font-size: 10px; letter-spacing: .14em; font-weight: 500; margin-top: 4px; }
.site-header nav { display: flex; gap: 32px; font-size: 14px; }
.site-header nav a, .site-footer nav a { display: inline-flex; align-items: center; min-height: 44px; transition: color .2s ease; }
.site-header nav a:hover, .site-footer nav a:hover { color: var(--primary); text-decoration: underline; text-underline-offset: 6px; }
.nav-action { border: 1px solid var(--primary); border-radius: 30px; min-height: 44px; padding: 8px 19px; color: var(--primary); font-size: 14px; transition: background .2s ease; }
.nav-action span { margin-left: 10px; }
.nav-action:hover { background: var(--tint); }
.hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; min-height: 740px; padding-block: 66px 58px; gap: 30px; }
.hero > *, .practice-layout > *, .memory-layout > * { min-width: 0; }
.hero-copy { position: relative; z-index: 1; }
.eyebrow { display: flex; align-items: center; gap: 10px; color: var(--primary); font-size: 13px; font-weight: 600; letter-spacing: .09em; margin-bottom: 24px; }
.eyebrow-line { width: 24px; height: 1px; background: currentColor; }
.hero h1 { font-size: clamp(42px, 5.1vw, 68px); line-height: 1.36; white-space: nowrap; }
.hand-underline { position: relative; }
.hand-underline::after { content: ""; position: absolute; z-index: -1; left: 0; right: 0; bottom: -8px; height: 13px; border-top: 3px solid var(--orange); border-radius: 50%; transform: rotate(-2deg); }
.hero-description { color: var(--muted); margin-top: 30px; font-size: 18px; line-height: 1.9; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 26px; margin-top: 34px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 32px; min-height: 54px; padding: 13px 24px; border-radius: 8px; font-size: 15px; font-weight: 600; transition: background .2s ease, transform .25s var(--ease), box-shadow .25s var(--ease); }
.button-primary { background: var(--primary); color: var(--on-primary); }
.button-primary:hover { background: var(--primary-hover); box-shadow: 0 6px 18px rgb(45 111 112 / 12%); transform: translateY(-2px); }
.button:active { transform: translateY(1px); }
.text-link { display: inline-flex; align-items: center; gap: 14px; min-height: 44px; color: var(--primary); font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 6px; text-decoration-color: rgb(45 111 112 / 35%); transition: text-decoration-color .2s ease; }
.text-link:hover { text-decoration-color: currentColor; }
.device-note { color: var(--muted); font-size: 12px; margin-top: 27px; }
.device-note span { margin-left: 20px; padding-left: 20px; border-left: 1px solid var(--line); }
.availability-note { font-size: 11px; margin-top: 7px; font-weight: 500; }
.hero-art { position: relative; height: 590px; }
.art-circle { position: absolute; width: 500px; max-width: 100%; aspect-ratio: 1; background: #e6ede4; border-radius: 50%; top: 24px; left: 0; }
.phone { overflow: hidden; background: var(--canvas); border: 6px solid #fdfdf9; border-radius: 34px; box-shadow: 0 0 0 1px #d5d9d1, 0 23px 40px rgb(36 60 59 / 12%); }
.phone img { width: 100%; height: auto; }
.hero-art .phone { position: absolute; width: 232px; }
.phone-back { left: 8px; top: 12px; transform: rotate(-9deg); }
.phone-front { right: 22px; top: 74px; transform: rotate(8deg); }
.art-caption { position: absolute; right: 5px; top: 0; font: 15px/1.5 "Songti SC", serif; transform: rotate(6deg); color: var(--muted); }
.word-note { position: absolute; left: -15px; bottom: 34px; width: 210px; background: var(--paper); padding: 17px 21px 13px; border: 1px solid #e2d8c7; box-shadow: 0 12px 28px rgb(63 48 26 / 7%); border-radius: 4px; transform: rotate(-6deg); }
.word-note > span:first-child { display: block; color: var(--muted); font-size: 10px; letter-spacing: .1em; margin-bottom: 6px; }
.word-note ruby { display: inline-block; text-align: center; width: 56px; font: 31px/1.5 "Songti SC", serif; background: linear-gradient(transparent 97%, #d3d9ce 97%); margin-right: 6px; }
.word-note rt { font: 12px/1.8 sans-serif; color: var(--primary); }
.note-check { display: block; color: var(--primary); font-size: 10px; margin-top: 10px; }
.art-spark { position: absolute; top: 64px; left: -32px; color: var(--orange); transform: rotate(12deg); }
.intro-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding-block: 20px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.intro-strip p { font-size: 14px; font-weight: 500; }
.intro-strip p span { margin: 0 15px; color: #a4ada1; }
.intro-strip > span { font-size: 11px; color: var(--muted); }
.section-heading { display: grid; grid-template-columns: 1fr 1fr; align-items: end; }
.section-heading .eyebrow { grid-column: 1 / -1; }
.section-heading > p:last-child { justify-self: end; color: var(--muted); }
.practice-layout { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 90px; margin-top: 56px; }
.practice-step { width: 100%; padding: 27px 19px 27px 0; border: 0; border-bottom: 1px solid var(--line); background: transparent; text-align: left; display: grid; grid-template-columns: 34px 1fr 20px; gap: 18px; border-radius: 4px; transition: background .25s ease, padding .3s var(--ease); }
.step-number { font: 13px/2.5 Georgia, serif; color: var(--muted); }
.practice-step strong { display: block; font-size: 21px; font-weight: 600; margin-bottom: 8px; }
.practice-step strong + span { display: block; color: var(--muted); font-size: 14px; line-height: 1.8; }
.step-arrow { color: var(--primary); opacity: .3; }
.practice-step.is-active { background: var(--tint); padding-left: 20px; border-bottom-color: transparent; }
.practice-step.is-active .step-number, .practice-step.is-active strong { color: var(--primary); }
.practice-step.is-active .step-arrow { opacity: 1; }
.practice-step:hover { background: #f0f1e9; }
.practice-preview { position: relative; display: grid; justify-items: center; padding: 15px 0 0; }
.preview-phone { position: relative; width: 242px; transform: rotate(3deg); }
.preview-phone img { transition: opacity .14s ease; }
.preview-paper { position: absolute; top: 80px; left: 0; right: 0; height: 350px; padding: 20px; border-radius: 5px; background: #ede9d9; transform: rotate(-7deg); }
.preview-paper span { display: block; margin: 12px 0 32px; color: #6e7164; font-size: 13px; }
.preview-paper i { display: block; border-top: 1px solid #ced0bc; margin-top: 50px; }
.practice-preview figcaption { margin-top: 30px; color: var(--muted); font-size: 12px; }
.section-footnote { color: var(--muted); font-size: 12px; margin-top: 42px; }
.memory-section { background: var(--tint); padding-block: 78px; }
.memory-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 85px; align-items: center; }
.memory-visual { position: relative; min-height: 470px; display: grid; place-items: center; }
.mascot { position: relative; width: 450px; max-width: 100%; height: auto; aspect-ratio: 1; }
.memory-orbit { position: absolute; width: 90%; aspect-ratio: 1; border: 1px solid #aebeb1; border-radius: 50%; }
.memory-orbit::after { content: ""; position: absolute; inset: 30px; border: 1px dashed #c6d3c8; border-radius: 50%; }
.orbit-label { position: absolute; border: 1px solid #c9d5c9; background: var(--canvas); border-radius: 25px; padding: 8px 17px; font-size: 13px; }
.orbit-label-one { left: 0; top: 70px; transform: rotate(-7deg); }
.orbit-label-two { right: 8px; top: 150px; transform: rotate(7deg); }
.orbit-label-three { left: 80px; bottom: 16px; transform: rotate(-5deg); }
.memory-copy h2 { margin-bottom: 25px; }
.memory-copy > p:not(.eyebrow, .small-note) { color: var(--muted); margin-top: 16px; font-size: 15px; }
.memory-copy .text-link { margin-top: 21px; }
.small-note { font-size: 12px; color: var(--muted); margin-top: 14px; }
.supporting-heading { margin-bottom: 48px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.feature-grid article { border-top: 1px solid var(--line); padding-top: 28px; }
.feature-symbol { width: 44px; height: 48px; display: block; margin-bottom: 26px; color: var(--primary); font: 21px/2.2 Georgia, "Songti SC", serif; white-space: nowrap; }
.feature-grid p { color: var(--muted); font-size: 14px; margin-top: 16px; }
.questions-section { display: grid; grid-template-columns: .85fr 1.4fr; gap: 70px; padding-block: 30px 110px; }
.questions-heading h2 { font-size: 36px; }
.questions-heading > p:last-child { color: var(--muted); margin-top: 25px; font-size: 14px; }
.questions-list { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { position: relative; cursor: pointer; list-style: none; padding: 23px 35px 23px 0; font-size: 16px; font-weight: 550; min-height: 68px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 5px; top: 18px; font-size: 24px; color: var(--primary); font-weight: 300; transition: transform .25s var(--ease); }
details[open] summary::after { transform: rotate(45deg); }
details > div { padding: 0 28px 23px 0; color: var(--muted); font-size: 14px; }
details p + p { margin-top: 14px; }
details a, .legal-content a:not(.button) { text-decoration: underline; text-underline-offset: 4px; color: var(--primary); }
.availability { background: #ece9da; border-radius: 8px; padding: 55px 58px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; margin-bottom: 75px; }
.availability h2 { font-size: 39px; }
.availability .eyebrow { margin-bottom: 18px; }
.availability-copy > p:not(.small-note) { color: var(--muted); margin-top: 15px; font-size: 14px; }
.availability .button { margin-top: 22px; }
.availability-label { display: inline-block; font-size: 12px; font-weight: 600; padding: 5px 11px; border: 1px solid #aeb9a7; border-radius: 4px; }
.site-footer { padding-block: 0 30px; }
.footer-main { display: flex; justify-content: space-between; align-items: center; gap: 30px; padding-bottom: 30px; border-bottom: 1px solid var(--line); }
.footer-main nav { display: flex; flex-wrap: wrap; gap: 26px; font-size: 12px; }
.footer-main .brand small { font-size: 10px; letter-spacing: .05em; }
.footer-meta { display: flex; flex-wrap: wrap; gap: 12px 24px; color: var(--muted); font-size: 11px; padding-top: 18px; }
.footer-meta a { text-decoration: underline; text-underline-offset: 3px; }
.legal-header { display: flex; justify-content: space-between; gap: 20px; align-items: center; padding-block: 28px; border-bottom: 1px solid var(--line); }
.legal-content { max-width: 800px; width: calc(100% - 48px); margin: 65px auto 90px; overflow-wrap: anywhere; }
.legal-content h1 { font-size: 44px; margin-bottom: 32px; }
.legal-content h2 { font: 600 22px/1.6 -apple-system, BlinkMacSystemFont, "PingFang SC", sans-serif; letter-spacing: 0; margin: 40px 0 18px; }
.legal-content p, .legal-content li { color: #455a56; }
.legal-content p { margin-block: 16px; }
.legal-content ul { padding-left: 23px; }
.legal-content li { margin-block: 14px; }
.legal-content hr { border: 0; border-top: 1px solid var(--line); margin-block: 36px; }
.legal-content .button { margin-top: 16px; }
.legal-intro { background: var(--tint); padding: 18px 23px; border-radius: 8px; font-size: 14px; margin-bottom: 28px; }
.reveal-pending { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal-pending.is-visible { opacity: 1; transform: translateY(0); }
@media (min-width: 1500px) { .hero { min-height: 800px; } }
@media (max-width: 1100px) {
  .page-width { width: calc(100% - 72px); }
  .nav-wrap { padding-inline: 36px; }
  .hero { gap: 15px; min-height: 660px; }
  .hero-art { height: 510px; }
  .hero-art .phone { width: 200px; }
  .phone-front { right: 0; }
  .word-note { bottom: 24px; width: 184px; left: -5px; }
  .hero h1 { font-size: clamp(40px, 5.3vw, 60px); }
  .hero-description { font-size: 16px; }
  .art-caption { right: 0; font-size: 12px; }
  .practice-layout { gap: 55px; }
  .memory-layout { gap: 45px; }
  .feature-grid { gap: 30px; }
  .availability { padding: 42px; }
}
@media (max-width: 800px) {
  .page-width { width: calc(100% - 48px); }
  .nav-wrap { padding: 15px 24px; }
  .site-header nav { gap: 17px; font-size: 12px; }
  .nav-action { font-size: 12px; padding-inline: 14px; }
  .brand > span { font-size: 16px; }
  .hero { grid-template-columns: minmax(0, 1fr); padding-top: 55px; gap: 30px; }
  .hero h1 { font-size: 62px; }
  .hero-description { font-size: 17px; }
  .hero-art { width: 510px; max-width: 100%; margin: 10px auto 0; height: 580px; }
  .hero-art .phone { width: 224px; }
  .phone-back { left: 45px; }
  .phone-front { right: 25px; }
  .art-circle { width: 460px; left: 20px; }
  .word-note { left: 8px; bottom: 30px; width: 200px; }
  .art-spark { left: 6px; }
  .art-caption { right: 24px; }
  .intro-strip { align-items: start; flex-direction: column; gap: 5px; }
  .section-space { padding-block: 75px; }
  .practice-layout { gap: 35px; }
  .practice-step { grid-template-columns: 23px 1fr; gap: 10px; padding-block: 21px; padding-right: 10px; }
  .practice-step.is-active { padding-left: 12px; }
  .practice-step strong { font-size: 18px; }
  .step-arrow { display: none; }
  .preview-phone { width: 205px; }
  .memory-section { padding-block: 50px; }
  .memory-layout { grid-template-columns: .9fr 1fr; gap: 28px; }
  .memory-visual { min-height: 330px; }
  .orbit-label { padding: 5px 12px; font-size: 11px; }
  .orbit-label-one { top: 45px; }
  .orbit-label-two { top: 120px; right: -12px; }
  .orbit-label-three { left: 25px; bottom: 25px; }
  .feature-grid { gap: 24px; }
  .feature-grid h3 { font-size: 18px; }
  .questions-section { gap: 30px; grid-template-columns: .8fr 1.2fr; padding-bottom: 70px; }
  .questions-heading h2 { font-size: 30px; }
  .availability { padding: 32px; gap: 28px; }
  .availability h2 { font-size: 30px; }
  .footer-main { align-items: start; flex-direction: column; gap: 18px; }
}
@media (max-width: 600px) {
  html { scroll-padding-top: 90px; }
  .site-header nav { display: none; }
  .page-width { width: calc(100% - 40px); }
  .nav-wrap { padding: 13px 20px; }
  .brand img { width: 36px; height: 36px; }
  .hero { padding-top: 44px; gap: 25px; }
  .eyebrow { font-size: 11px; margin-bottom: 18px; letter-spacing: .06em; }
  .hero h1 { font-size: clamp(38px, 11.7vw, 58px); }
  .hero-description { font-size: 15px; margin-top: 24px; }
  .hero-actions { gap: 22px; margin-top: 27px; }
  .button { padding-inline: 19px; gap: 23px; font-size: 14px; }
  .text-link { font-size: 13px; gap: 9px; }
  .availability-note { font-size: 10px; }
  .device-note { font-size: 11px; margin-top: 20px; }
  .device-note span { margin-left: 14px; padding-left: 14px; }
  .hero-art { height: 490px; margin-top: 22px; }
  .hero-art .phone { width: 46%; border-width: 4px; border-radius: 26px; }
  .phone-back { left: 5%; top: 10px; }
  .phone-front { right: 4%; top: 69px; }
  .art-circle { width: 100%; max-width: 100%; left: 0; top: 35px; }
  .art-caption { top: 0; right: 0; font-size: 11px; }
  .word-note { width: 166px; bottom: 0; left: 0; padding: 12px 16px; }
  .word-note ruby { font-size: 26px; width: 48px; }
  .art-spark { width: 36px; top: 120px; left: 0; }
  .intro-strip p { font-size: 12px; }
  .intro-strip p span { margin-inline: 7px; }
  .intro-strip > span { font-size: 10px; }
  .section-space { padding-block: 65px; }
  .section-heading { grid-template-columns: 1fr; gap: 0; }
  .section-heading h2 { font-size: 36px; }
  .section-heading > p:last-child { justify-self: start; font-size: 14px; margin-top: 20px; }
  .section-heading > p:last-child br { display: none; }
  .practice-layout { grid-template-columns: 1fr; gap: 32px; margin-top: 24px; }
  .practice-step { grid-template-columns: 28px 1fr 18px; padding-block: 21px; gap: 12px; }
  .practice-step strong { font-size: 18px; }
  .practice-step strong + span { font-size: 13px; }
  .practice-step.is-active { padding-left: 12px; }
  .step-arrow { display: block; }
  .practice-preview { padding-block: 15px 0; }
  .preview-phone { width: 212px; }
  .preview-paper { inset: 70px 10px auto; height: 300px; }
  .section-footnote { font-size: 11px; margin-top: 28px; }
  .memory-layout { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .memory-copy { grid-row: 1; }
  .memory-copy h2 { font-size: 35px; }
  .memory-copy > p:not(.eyebrow, .small-note) { font-size: 14px; }
  .memory-visual { width: 100%; max-width: 340px; margin-inline: auto; min-height: 350px; }
  .orbit-label-two { right: 0; }
  .orbit-label-three { bottom: 15px; left: 45px; }
  .feature-grid { grid-template-columns: 1fr; gap: 28px; }
  .feature-grid article { display: grid; grid-template-columns: 44px 1fr; gap: 0 20px; padding-top: 25px; }
  .feature-symbol { grid-row: 1 / 3; margin-bottom: 0; }
  .feature-grid p { margin-top: 10px; font-size: 13px; }
  .supporting-heading { margin-bottom: 30px; }
  .supporting-heading h2 { font-size: 35px; }
  .questions-section { grid-template-columns: 1fr; padding-block: 0 60px; gap: 25px; }
  .questions-heading > p:last-child { margin-top: 15px; }
  .questions-heading > p:last-child br { display: none; }
  .questions-heading .text-link { margin-left: 5px; }
  summary { font-size: 15px; }
  details > div { font-size: 13px; }
  .availability { grid-template-columns: 1fr; padding: 30px 24px; gap: 25px; margin-bottom: 50px; }
  .availability h2 { font-size: 31px; }
  .footer-main nav { gap: 12px 22px; }
  .footer-meta { font-size: 10px; gap: 7px 18px; }
  .legal-header { padding-block: 20px; }
  .legal-content { width: calc(100% - 40px); margin-block: 40px 60px; font-size: 15px; }
  .legal-content h1 { font-size: 34px; }
  .legal-content h2 { font-size: 19px; }
  .legal-intro { padding: 15px 18px; font-size: 13px; }
}
@media (max-width: 370px) { .hero-art { height: 430px; } .hero-actions { gap: 12px; } .intro-strip p { font-size: 11px; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .reveal-pending { opacity: 1; transform: none; }
  .button:hover, .button:active { transform: none; }
}
