@font-face{font-family:Vazirmatn;src:url('/assets/vazirmatn-regular.woff2') format('woff2');font-style:normal;font-weight:400;font-display:swap}
@font-face{font-family:Vazirmatn;src:url('/assets/vazirmatn-bold.woff2') format('woff2');font-style:normal;font-weight:700;font-display:swap}
:root{color-scheme:light;--ink:#173039;--muted:#536974;--green:#176e63;--green-dark:#0e5149;--teal:#0ca88d;--pale:#eaf8f3;--line:#d7e7e3;--cream:#fbfaf5;--white:#fff;--shadow:0 22px 55px rgba(21,84,75,.13)}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--white);color:var(--ink);font-family:Vazirmatn,system-ui,-apple-system,"Segoe UI",sans-serif;font-size:16px;line-height:1.85}
a{color:var(--green-dark)}
a:hover{text-decoration-thickness:2px}
img,svg{max-width:100%;height:auto}
h1,h2,h3,p{margin-top:0}
h1{font-size:clamp(2.25rem,5vw,4.7rem);line-height:1.28;letter-spacing:-.025em;margin-bottom:1.1rem}
h2{font-size:clamp(1.7rem,3vw,2.7rem);line-height:1.38;margin-bottom:.85rem}
h3{font-size:1.25rem;line-height:1.5;margin-bottom:.5rem}
p{margin-bottom:1rem}
button{font:inherit;cursor:pointer}
:focus-visible{outline:3px solid #efaa29;outline-offset:3px}
.container{width:min(1160px,calc(100% - 40px));margin-inline:auto}
.skip-link{position:absolute;inset-inline-start:1rem;top:-100px;z-index:100;background:#fff;padding:.6rem 1rem;border-radius:10px}
.skip-link:focus{top:1rem}
/* Keep the established AioLingo header layout and controls. */
.site-header{background:#fff;border-bottom:1px solid var(--line);position:relative;z-index:10}
.header-inner{display:flex;align-items:center;gap:1.6rem;min-height:82px}
.brand{display:inline-flex;align-items:center;gap:.65rem;color:var(--ink);font-size:1.22rem;font-weight:700;text-decoration:none;white-space:nowrap}
.brand img{border-radius:12px}
.main-nav{display:flex;align-items:center;gap:1.55rem;margin-inline:auto}
.main-nav a{text-decoration:none;color:var(--muted);font-size:.94rem;white-space:nowrap}
.main-nav a[aria-current=page]{color:var(--green-dark);font-weight:700}
.main-nav a:hover{color:var(--green-dark)}
.header-cta{background:var(--green);color:#fff;text-decoration:none;border-radius:11px;padding:.55rem 1rem;white-space:nowrap;font-weight:700;font-size:.92rem}
.header-cta:hover,.button-primary:hover{background:var(--green-dark)}
.button{display:inline-flex;align-items:center;justify-content:center;gap:.55rem;min-height:48px;padding:.68rem 1.3rem;border-radius:13px;text-decoration:none;font-weight:700;transition:transform .2s,background-color .2s,box-shadow .2s;border:1px solid transparent}
.button:hover{transform:translateY(-2px)}
.button-primary{background:var(--green);color:#fff}
.button-secondary{background:#fff;color:var(--green-dark);border-color:#a7c7bf}
.button-secondary:hover{background:#e9f4ef}
.button-light{background:#fff;color:#0e685d;box-shadow:0 10px 25px #0059462e}
.button-light:hover{background:#f0fffb}
.button-outline-light{color:#fff;border-color:#d7fff5aa;background:#ffffff12}
.button-outline-light:hover{background:#ffffff2d}
.actions{display:flex;flex-wrap:wrap;gap:.8rem;margin-top:2rem}
.eyebrow{color:var(--green-dark);font-weight:700;font-size:.9rem;letter-spacing:.02em;margin-bottom:1rem}
.section{padding:clamp(4rem,7vw,6.5rem) 0}
.section-soft{background:var(--cream)}
.section-heading{max-width:760px;margin-bottom:2.4rem}
.section-heading p:last-child{color:var(--muted);margin-bottom:0}
.center-heading{margin-inline:auto;text-align:center}
.section-action{text-align:center;margin-top:2.2rem}
.text-link{display:inline-flex;align-items:center;gap:.4rem;color:var(--green-dark);font-weight:700;text-decoration:none;border-bottom:1px solid currentColor;padding-bottom:.1rem}
.text-link:hover{gap:.8rem}
/* Hero and rotating phone carousel: original AioLingo examples in a HelloChinese-inspired composition. */
.home-hero{background:radial-gradient(circle at 83% 14%,#5bd7b4 0,transparent 30%),radial-gradient(circle at 5% 90%,#64cbb5 0,transparent 32%),linear-gradient(135deg,#079b86,#09b997);color:#fff;overflow:hidden}
.home-hero-grid{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(345px,.95fr);align-items:center;gap:2rem;min-height:655px;padding-block:4.1rem 3.6rem}
.home-hero-copy{position:relative;z-index:1;padding-inline-end:1rem}
.hero-kicker{display:inline-flex;align-items:center;gap:.45rem;padding:.35rem .85rem;border:1px solid #ffffff75;border-radius:99px;background:#ffffff20;color:#f2fffc;font-size:.9rem;font-weight:700}
.hero-kicker img{filter:brightness(0) invert(1)}
.home-hero h1{max-width:620px;text-wrap:balance}
.hero-lead{max-width:640px;color:#e6fffa;font-size:clamp(1.05rem,1.8vw,1.25rem);line-height:2}
.hero-facts{display:flex;flex-wrap:wrap;gap:.7rem;margin-top:2.35rem}
.hero-facts span{border:1px solid #ffffff73;border-radius:99px;padding:.3rem .75rem;background:#ffffff18;font-size:.85rem}
.hero-visual{position:relative;display:flex;justify-content:center;align-items:center;min-height:590px}
.hero-glow{position:absolute;border-radius:50%;pointer-events:none}
.hero-glow-one{width:480px;height:480px;background:#58e1ba61;top:4%;left:-4%}
.hero-glow-two{width:245px;height:245px;border:44px solid #ffffff23;bottom:5%;right:1%}
.phone-carousel{position:relative;z-index:1;display:flex;flex-direction:column;align-items:center;gap:1rem;width:100%}
.phone-shell{width:min(338px,78vw);height:536px;border:11px solid #1d353b;border-radius:44px;background:#f6fcfa;box-shadow:0 28px 65px #064a42a6,0 0 0 4px #b9fff677;overflow:hidden;position:relative}
.phone-notch{position:absolute;z-index:3;top:0;left:50%;transform:translateX(-50%);width:35%;height:19px;background:#1d353b;border-radius:0 0 17px 17px}
.phone-screen{height:100%;padding:29px 16px 14px;color:var(--ink);background:radial-gradient(circle at 70% 4%,#def8ec 0,transparent 42%),#f8fffd;overflow:hidden}
.phone-top{display:flex;justify-content:space-between;align-items:center;color:#196458;font-size:.9rem;font-weight:700;margin-bottom:1rem}
.phone-top img{border-radius:10px}
.phone-slide[hidden]{display:none!important}
.phone-slide{animation:phone-enter .42s ease both}
.phone-slide h2{font-size:1.55rem;margin:.35rem 0 .2rem}
.phone-slide p{font-size:.8rem;color:#668177;margin-bottom:1.1rem;line-height:1.65}
.phone-label{font-size:.72rem;font-weight:700;color:#15826f;background:#dcf9ef;border-radius:99px;padding:.25rem .62rem}
.phone-lesson{display:flex;align-items:center;gap:.7rem;padding:.75rem .7rem;background:#fff;border:1px solid #d6eee7;border-radius:16px;box-shadow:0 8px 17px #d1e8e081;margin-bottom:.57rem}
.phone-lesson>img,.lesson-symbol{width:40px;height:40px;object-fit:contain;display:grid;place-items:center;background:#eff9f5;border-radius:12px;padding:8px;flex:none}
.lesson-symbol{font-size:1.25rem;color:#176e63;padding:0}
.phone-lesson div{display:flex;flex-direction:column;min-width:0;line-height:1.55}
.phone-lesson b{font-size:.82rem}.phone-lesson small{font-size:.68rem;color:#6b817c}
.lesson-arrow{margin-inline-start:auto;color:#669d91}
.flashcard-preview{min-height:280px;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#fff;border-radius:23px;border:1px solid #d8eee6;box-shadow:0 20px 35px #a9d7c54f;margin-top:.5rem;text-align:center}
.flashcard-hanzi{font-size:4rem;line-height:1.4;color:#176e63;font-family:system-ui,sans-serif}
.flashcard-pinyin{font-size:1rem;color:#67958a;direction:ltr}
.flashcard-divider{height:1px;background:#d8ece6;width:70%;margin:1.1rem 0}
.flashcard-preview strong{font-size:1.2rem}.flashcard-preview small{color:#678178}
.phone-mini-row{display:flex;justify-content:space-between;gap:.4rem;margin-top:1.25rem}
.phone-mini-row span{flex:1;text-align:center;border-radius:99px;background:#dff8ef;color:#176e63;padding:.25rem .15rem;font-size:.7rem;font-weight:700}
.story-preview{display:flex;flex-direction:column;gap:.35rem;min-height:265px;border-radius:23px;background:#fff;border:1px solid #d8eee6;padding:1.1rem;box-shadow:0 20px 35px #a9d7c54f}
.story-illustration{display:grid;place-items:center;min-height:108px;border-radius:16px;background:linear-gradient(125deg,#bee6db,#ebfff2);color:#158674;font-size:2.2rem;font-family:serif}
.story-preview strong{font-size:1.42rem}.story-preview span:not(.story-illustration){font-size:.8rem;color:#5f7870}
.phone-hsk-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:.6rem;margin:1.2rem 0}
.phone-hsk-grid span{display:grid;place-items:center;min-height:61px;border-radius:14px;background:#fff;border:1px solid #cde9dd;color:#176e63;font-size:.9rem;font-weight:700;direction:ltr}
.phone-link{font-size:.77rem;font-weight:700;text-decoration:none}
.carousel-controls{display:flex;align-items:center;gap:.8rem}
.carousel-arrow{border:1px solid #ffffff92;background:#ffffff22;color:#fff;border-radius:50%;width:35px;height:35px;line-height:1}
.carousel-arrow:hover{background:#ffffff4b}
.carousel-dots{display:flex;gap:.4rem}
.carousel-dots button{border:0;width:9px;height:9px;border-radius:99px;background:#d6fff590;padding:0;transition:width .2s,background-color .2s}
.carousel-dots button[aria-current=true]{width:24px;background:#fff}
.visual-caption{font-size:.73rem;color:#e6fff8;margin:0;text-align:center}
@keyframes phone-enter{from{opacity:.3;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}
.proof-strip{position:relative;z-index:2;margin-top:-1px;background:#fff}
.proof-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem;transform:translateY(-18px);background:#fff;box-shadow:var(--shadow);border:1px solid #e1eeea;border-radius:22px;padding:1.25rem 1.6rem}
.proof-grid>div{display:flex;flex-direction:column;gap:.2rem;padding-inline:1.2rem;border-inline-end:1px solid #dce9e3}
.proof-grid>div:last-child{border:0}
.proof-grid strong{font-size:1.08rem}.proof-grid span{font-size:.88rem;color:var(--muted)}
.feature-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem}
.feature-card{position:relative;text-align:center;border-radius:27px;padding:2rem 1.2rem 1.8rem;min-height:278px;overflow:hidden}
.feature-card:before{content:"";position:absolute;width:120px;height:120px;border-radius:50%;background:#ffffff80;top:-45px;left:-30px}
.feature-card h3,.feature-card p{position:relative}.feature-card p{color:#576773;font-size:.94rem;margin:0}
.feature-icon{position:relative;display:grid;place-items:center;width:76px;height:76px;margin:0 auto 1.2rem;border-radius:24px;box-shadow:0 11px 19px #23494118;background:#fff}
.feature-icon img{width:36px;height:36px}
.feature-peach{background:#fff0e7}.feature-lilac{background:#f1eeff}.feature-blue{background:#e7f6fd}.feature-mint{background:#e4f8ee}
.split-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:center;gap:clamp(2rem,6vw,5rem)}
.photo-card{position:relative;border-radius:29px;overflow:hidden;box-shadow:var(--shadow);min-height:380px}
.photo-card img{display:block;width:100%;height:100%;min-height:380px;object-fit:cover}
.photo-card span{position:absolute;bottom:1rem;right:1rem;background:#ffffffeb;padding:.42rem .9rem;border-radius:10px;font-weight:700;color:#1c594e}
.split-copy>p{color:var(--muted)}.split-copy>.eyebrow{color:var(--green-dark)}
.numbered-list{list-style:none;padding:0;margin:1.6rem 0;display:grid;gap:.8rem;counter-reset:steps}
.numbered-list li{position:relative;padding-inline-start:3rem;counter-increment:steps;display:flex;flex-direction:column;line-height:1.6}
.numbered-list li:before{content:counter(steps);position:absolute;inset-inline-start:0;top:0;width:2.2rem;height:2.2rem;display:grid;place-items:center;border-radius:11px;background:#dff4ec;color:#116c5a;font-weight:700}
.numbered-list li span{font-size:.91rem;color:var(--muted)}
.article-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}
.article-card{border:1px solid #dcebe7;background:#fff;border-radius:22px;padding:1.55rem;box-shadow:0 8px 25px #1a6a5910;display:flex;flex-direction:column}
.article-card h3 a{text-decoration:none;color:var(--ink)}.article-card h3 a:hover{color:var(--green-dark)}
.article-card p{color:var(--muted);font-size:.94rem;flex:1}.article-tag{display:inline-flex;align-self:flex-start;background:#e6f6ed;color:#126c5d;font-size:.78rem;font-weight:700;padding:.24rem .65rem;border-radius:99px;margin-bottom:1.2rem}
.section-hsk{background:linear-gradient(135deg,#f1fff8,#f6f5ff)}
.hsk-display{height:365px;position:relative;display:grid;place-items:center;background:#d9f4e6;border-radius:34px;overflow:hidden}
.display-orbit{position:absolute;border:2px solid #ffffffa8;border-radius:50%;width:350px;height:350px}.orbit-b{width:245px;height:245px}
.hsk-tile{position:absolute;background:#fff;border:1px solid #b9e7d7;box-shadow:0 12px 20px #255e4e2d;color:#176e63;display:grid;place-items:center;width:98px;height:85px;border-radius:20px;font-size:1.35rem;font-weight:700;direction:ltr}
.tile-one{transform:translate(116px,-75px) rotate(7deg)}.tile-two{transform:translate(-112px,-88px) rotate(-8deg);font-family:serif;font-size:2.2rem}.tile-three{transform:translate(103px,92px) rotate(-5deg);font-family:serif;font-size:2.2rem}.tile-four{transform:translate(-112px,88px) rotate(8deg)}
.faq-grid{display:grid;grid-template-columns:minmax(250px,.7fr) minmax(0,1.3fr);gap:3rem}
.faq-grid>div:first-child p:last-child{color:var(--muted)}
.faq-list{display:grid;gap:.7rem}.faq-list details{border:1px solid var(--line);border-radius:15px;background:#fff;padding:1rem 1.2rem}
.faq-list summary{font-weight:700;cursor:pointer}.faq-list details p{color:var(--muted);font-size:.94rem;margin:.8rem 0 0}
.closing-cta{background:linear-gradient(135deg,#0b7c70,#124e47);color:#fff;padding:3rem 0}
.closing-inner{display:flex;align-items:center;justify-content:space-between;gap:2rem}.closing-inner h2{margin-bottom:.3rem}.closing-inner p{color:#dff7f0;margin:0}.closing-inner .eyebrow{color:#a6f4dd;margin-bottom:.35rem}
/* Shared migrated pages retain their established editorial layout. */
.hero{background:radial-gradient(circle at 8% 10%,#d8efe8 0,transparent 34%),linear-gradient(145deg,#f6fbf9,#e9f5f1);padding:clamp(4rem,8vw,7rem) 0}
.hero-compact{padding:clamp(3.2rem,6vw,5.5rem) 0}
.hero-grid{display:grid;grid-template-columns:minmax(0,1.18fr) minmax(280px,.82fr);align-items:center;gap:clamp(2rem,5vw,5rem)}
.lead{font-size:clamp(1.08rem,1.8vw,1.25rem);color:#344e60;line-height:2}.lead-narrow{max-width:760px}
.hero-panel{background:#fff;border:1px solid #c9dfd8;border-radius:24px;padding:1.7rem;box-shadow:0 18px 55px #135d4f14}
.panel-label{display:block;color:var(--green-dark);font-weight:700;margin-bottom:1rem}
.hero-panel p{color:var(--muted);font-size:.93rem;margin:1rem 0 0}
.feature-list{list-style:none;margin:0;padding:0;display:grid;gap:.75rem}.feature-list li{display:flex;align-items:center;gap:.85rem;background:var(--cream);border:1px solid var(--line);border-radius:12px;padding:.65rem .8rem;font-weight:700}.feature-list span{display:inline-grid;place-items:center;width:32px;height:32px;flex:none;background:var(--pale);border-radius:10px;color:var(--green-dark)}
.level-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:.6rem}.level-grid span{display:grid;place-items:center;min-height:56px;border-radius:12px;background:var(--pale);color:var(--green-dark);font-weight:700;direction:ltr}
.steps{list-style:none;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem;padding:0;margin:0}.steps-three{grid-template-columns:repeat(3,minmax(0,1fr))}.steps li,.card{background:#fff;border:1px solid var(--line);border-radius:18px;padding:1.45rem}.steps li p,.card p{color:var(--muted);font-size:.94rem;margin-bottom:0}.step-number{display:grid;place-items:center;width:40px;height:40px;border-radius:12px;background:var(--pale);color:var(--green-dark);font-weight:700;margin-bottom:1rem}
.cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem}.cards-three{grid-template-columns:repeat(3,minmax(0,1fr))}.card-icon{display:grid;place-items:center;width:46px;height:46px;border-radius:13px;background:var(--pale);color:var(--green-dark);font-size:1.35rem;font-weight:700;margin-bottom:1rem}.card .text-link{margin-top:1rem}
.split-section{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(280px,.85fr);align-items:center;gap:clamp(2rem,5vw,5rem)}.split-section p{color:var(--muted)}
.quote-panel{padding:2rem;border-radius:22px;background:var(--pale);border:1px solid #c8dfd6}.quote-panel p{color:#21483f;font-size:1.12rem;font-weight:700;line-height:1.9}
.breadcrumbs{display:flex;gap:.55rem;align-items:center;color:var(--muted);font-size:.9rem;padding-top:1rem}.breadcrumbs a{text-decoration:none}
/* Article hub and source-backed educational guides. */
.hub-hero{background:linear-gradient(130deg,#edfbf5,#faf4e8);padding:4.3rem 0}.hub-hero p{max-width:760px}
.hub-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.1rem}.hub-grid .article-card{min-height:220px;padding:0;overflow:hidden}.hub-card-image{display:block;aspect-ratio:2/1;overflow:hidden;background:#edf6f1}.hub-card-image img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .45s ease}.hub-grid .article-card:hover .hub-card-image img{transform:scale(1.035)}.hub-card-body{display:flex;flex-direction:column;align-items:flex-start;padding:1.35rem 1.5rem;flex:1}.hub-grid .article-card p{flex:1}.article-hero-cover{margin:2rem 0 0;overflow:hidden;border-radius:25px;border:1px solid #d8eae1;box-shadow:0 16px 42px #174f3b16;background:#e8f5ee}.article-hero-cover img{display:block;width:100%;max-height:430px;aspect-ratio:16/7;object-fit:cover}.article-hero-cover figcaption{padding:.7rem 1rem;color:#587268;font-size:.85rem;background:#ffffffd9}
.article-hero{background:linear-gradient(145deg,#f0fbf6,#fbfaf4);padding:3.4rem 0 3.2rem}.article-hero .container{max-width:960px}.article-hero h1{font-size:clamp(2rem,4vw,3.6rem)}.article-meta{display:flex;gap:1rem;flex-wrap:wrap;color:#587268;font-size:.87rem;margin-top:1.5rem}
.article-layout{display:grid;grid-template-columns:minmax(0,1fr) 230px;gap:3.5rem;align-items:start}
.prose{font-size:1.04rem;line-height:2.15;max-width:780px;min-width:0}.prose p,.prose ul,.prose ol{color:#344c54}.prose h2{font-size:clamp(1.5rem,2.7vw,2.05rem);margin:2.8rem 0 1rem}.prose h3{margin:2rem 0 .7rem}.prose ul,.prose ol{padding-inline-start:1.5rem}.prose li{margin:.42rem 0}.prose a{text-underline-offset:3px}.prose strong{color:#173d38}
.prose table{border-collapse:collapse;width:100%;font-size:.92rem;line-height:1.75;margin:1.3rem 0 2rem}.prose th,.prose td{border:1px solid #d9e9e2;padding:.7rem .8rem;text-align:right}.prose th{background:#eaf7f1}.table-wrap{max-width:100%;min-width:0;overflow-x:auto}
.article-aside{position:sticky;top:2rem;border:1px solid var(--line);background:#f8fcf9;border-radius:19px;padding:1.2rem}.article-aside strong{display:block;margin-bottom:.8rem}.article-aside a{display:block;font-size:.87rem;margin:.65rem 0;text-decoration:none}.article-aside a:hover{text-decoration:underline}
.example-box,.practice-box,.source-box{border-radius:20px;padding:1.4rem 1.6rem;margin:1.8rem 0}.example-box{background:#fff8ec;border:1px solid #f5dec1}.practice-box{background:#edf9f3;border:1px solid #cbe8d6}.source-box{background:#f6f8fa;border:1px solid #e0e7ea;font-size:.92rem}.source-box ul{margin-bottom:0}
.example-box h3,.practice-box h3,.source-box h3{margin-top:0}.chinese-example{font-size:1.8rem;font-family:system-ui,sans-serif;color:#145c53;line-height:1.4}.pinyin{direction:ltr;unicode-bidi:isolate;display:inline-block;font-family:system-ui,sans-serif;color:#58746a}.translation{color:#455e59}.answer-note{font-size:.91rem;color:#4d7166}
.mini-story{display:grid;gap:1rem;margin:1.5rem 0}.story-line{display:grid;grid-template-columns:minmax(145px,.7fr) minmax(150px,1fr) minmax(145px,1fr);gap:.7rem;align-items:center;background:#fff;border:1px solid var(--line);border-radius:14px;padding:.8rem 1rem}.story-line strong{font-family:system-ui,sans-serif;font-size:1.3rem}.story-line span{font-size:.9rem}
.article-next{display:flex;justify-content:space-between;gap:1rem;border-top:1px solid var(--line);margin-top:3rem;padding-top:1.5rem}.article-next a{font-weight:700}
.site-footer{background:#123830;color:#d8ece6;padding:3rem 0 1.2rem}.footer-inner{display:flex;justify-content:space-between;gap:2rem}.footer-inner p{margin:.4rem 0 0;font-size:.9rem;color:#d8ece6}.footer-brand{color:#fff;font-weight:700;font-size:1.2rem;text-decoration:none}.footer-inner nav{display:flex;gap:.7rem 1.2rem;flex-wrap:wrap;max-width:530px}.site-footer a{color:#e8f7f3;text-decoration:none;font-size:.9rem}.site-footer a:hover{text-decoration:underline}.footer-credit{font-size:.76rem;color:#b7d7cf;margin-top:2.1rem;border-top:1px solid #ffffff29;padding-top:.8rem}
@media(max-width:1000px){.home-hero-grid{grid-template-columns:1fr 350px}.feature-grid{grid-template-columns:repeat(2,1fr)}.article-layout{grid-template-columns:minmax(0,1fr) 185px;gap:2rem}}
@media(max-width:900px){.header-inner{flex-wrap:wrap;padding-block:.8rem;gap:.8rem}.main-nav{order:3;width:100%;justify-content:center;margin:0;padding:.35rem 0 .1rem}.header-cta{margin-inline-start:auto}.home-hero-grid{grid-template-columns:1fr;padding-block:3.4rem}.home-hero-copy{padding-inline-end:0}.hero-visual{min-height:600px}.hero-grid,.split-section,.split-grid,.faq-grid{grid-template-columns:1fr}.hero-panel{max-width:550px}.steps,.cards{grid-template-columns:repeat(2,minmax(0,1fr))}.steps-three,.cards-three{grid-template-columns:repeat(2,minmax(0,1fr))}.photo-card{max-width:630px}.hsk-display{max-width:600px}.article-layout{grid-template-columns:1fr}.article-aside{position:static;order:-1}.article-aside a{display:inline-block;margin:.35rem .8rem .35rem 0}}
@media(max-width:650px){body{font-size:15px}.container{width:min(100% - 28px,1160px)}.header-inner{min-height:0}.brand{font-size:1.05rem}.brand img{width:35px;height:35px}.main-nav{justify-content:space-between;gap:.5rem;overflow:auto}.main-nav a{font-size:.83rem}.header-cta{padding:.42rem .6rem;font-size:.82rem}.home-hero-grid{padding-block:2.9rem 2.2rem;gap:1.3rem}.home-hero h1{font-size:clamp(2.35rem,10vw,3.5rem)}.hero-lead{font-size:1rem}.hero-facts{margin-top:1.6rem}.hero-visual{min-height:575px}.phone-shell{width:min(324px,83vw);height:520px}.section{padding:3.6rem 0}.proof-grid{grid-template-columns:1fr;gap:0;padding:.6rem 1rem;transform:translateY(-10px)}.proof-grid>div{border:0;border-bottom:1px solid #e4efeb;padding:.65rem .4rem}.proof-grid>div:last-child{border:0}.feature-grid,.article-grid,.hub-grid,.steps,.steps-three,.cards,.cards-three{grid-template-columns:1fr}.feature-card{min-height:220px}.photo-card,.photo-card img{min-height:260px}.hsk-display{height:300px}.closing-inner,.footer-inner{align-items:flex-start;flex-direction:column}.story-line{grid-template-columns:1fr;gap:.25rem}.article-next{flex-direction:column}.article-hero{padding:2.6rem 0}.prose{font-size:1rem}.prose table{min-width:520px}.hero{padding:3.2rem 0}.footer-inner nav{gap:.7rem 1rem}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation-duration:.01ms!important;transition-duration:.01ms!important}}

/* The learning journey unfolds as the reader reaches each step. */
.carousel-toggle{border:1px solid #ffffff70;background:#ffffff18;color:#fff;border-radius:999px;padding:.25rem .8rem;font-size:.76rem;min-height:34px}
.carousel-toggle:hover{background:#ffffff30}
.writing-preview{position:relative;display:grid;place-items:center;min-height:285px;margin-top:.5rem;border:1px solid #d8eee6;border-radius:23px;background:linear-gradient(135deg,#fff,#effaf5);overflow:hidden}
.writing-preview:before,.writing-preview:after{content:"";position:absolute;width:230px;height:1px;background:#d6e9e1;transform:rotate(45deg)}
.writing-preview:after{transform:rotate(-45deg)}
.writing-preview>span{position:relative;z-index:1;display:grid;place-items:center;width:142px;height:142px;border-radius:23px;background:#fff;box-shadow:0 14px 34px #145b4d24;font:700 5rem/1 system-ui,sans-serif;color:#176e63}
.writing-preview>i{position:absolute;width:27px;height:27px;border-radius:50%;background:#e2f5ec;border:1px solid #b8e4d2}
.writing-preview>i:nth-of-type(1){top:12%;right:16%}.writing-preview>i:nth-of-type(2){top:25%;left:12%}.writing-preview>i:nth-of-type(3){bottom:12%;right:24%}.writing-preview>i:nth-of-type(4){bottom:20%;left:19%}
.journey-section{overflow:hidden}
.journey-film{position:relative;width:min(900px,100%);height:190px;margin:0 auto 1.8rem;isolation:isolate}
.journey-track{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
.journey-track-base,.journey-track-progress{fill:none;stroke-linecap:round;stroke-width:4;vector-effect:non-scaling-stroke}
.journey-track-base{stroke:#cde7dc;stroke-dasharray:3 12}
.journey-track-progress{stroke:#159a81;stroke-width:5;stroke-dasharray:1600;stroke-dashoffset:1600}
.journey-node{position:absolute;z-index:2;display:grid;place-items:center;width:62px;height:62px;border:1px solid #cfe8dd;border-radius:21px;background:#fff;box-shadow:0 12px 27px #155a4c1a;animation-play-state:paused;opacity:.68;transform:scale(.94)}
.journey-node img{width:31px;height:31px}
.journey-node-hear{left:3%;top:42%}.journey-node-word{left:28%;top:5%}.journey-node-read{left:57%;top:38%}.journey-node-write{left:86%;top:6%}
.journey-bird{position:absolute;z-index:3;left:1%;top:68%;width:42px;height:42px;border-radius:13px;box-shadow:0 8px 18px #145b4d24;animation-play-state:paused}
.journey-film.is-playing .journey-track-progress{animation:journey-line-draw 12s linear infinite}
.journey-film.is-playing .journey-node{animation:journey-node-pulse 12s linear infinite}
.journey-film.is-playing .journey-node-word{animation-delay:3s}.journey-film.is-playing .journey-node-read{animation-delay:6s}.journey-film.is-playing .journey-node-write{animation-delay:9s}
.journey-film.is-playing .journey-bird{animation:journey-bird-flight 12s cubic-bezier(.45,.04,.55,.96) infinite}
@keyframes journey-line-draw{0%{stroke-dashoffset:1600}75%,100%{stroke-dashoffset:0}}
@keyframes journey-node-pulse{0%,8%,100%{opacity:.68;transform:scale(.94)}12%,24%{opacity:1;transform:scale(1.08);box-shadow:0 15px 33px #078b7542}29%{opacity:.78;transform:scale(1)}}
@keyframes journey-bird-flight{0%{left:1%;top:67%;transform:rotate(-8deg)}23%{left:27%;top:4%;transform:rotate(6deg)}48%{left:53%;top:61%;transform:rotate(-4deg)}73%{left:82%;top:8%;transform:rotate(7deg)}100%{left:1%;top:67%;transform:rotate(-8deg)}}
.motion-caption{text-align:center;color:#61776f;font-size:.83rem;margin:-.8rem auto 2rem}
.journey-steps{position:relative;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem;list-style:none;padding:0;margin:0;counter-reset:journey}
.journey-step{position:relative;z-index:1;min-height:284px;padding:1.35rem 1.25rem;border:1px solid #d7e9e1;border-radius:21px;background:#fff;box-shadow:0 12px 28px #195f5010;counter-increment:journey}
.journey-step-icon{position:relative;display:grid;place-items:center;width:66px;height:66px;margin-bottom:1rem;border-radius:20px;background:#e8f7f0;color:#176e63;overflow:hidden}
.journey-step-icon>img{position:relative;z-index:2;transition:transform .5s cubic-bezier(.2,.75,.3,1)}
.journey-step h3{margin:.25rem 0}.journey-step p{min-height:57px;color:var(--muted);font-size:.91rem;margin-bottom:.8rem}
.journey-step>a{font-size:.86rem;font-weight:700;text-decoration:none;color:var(--green-dark)}
.journey-step .step-number{margin:0 0 .55rem;width:31px;height:31px;border-radius:10px;font-size:.85rem}
.journey-step .step-number:before{content:counter(journey)}
.journey-step .step-number{font-size:0}
.journey-step .step-number:before{font-size:.85rem}
.icon-hear>i{position:absolute;z-index:1;width:38px;height:38px;border:2px solid #67b99e;border-left-color:transparent;border-bottom-color:transparent;border-radius:50%;opacity:0;transform:scale(.4) rotate(45deg)}
.icon-hear>i:first-of-type{right:-7px}.icon-hear>i:last-of-type{right:-15px}
.icon-word>i{position:absolute;width:35px;height:42px;border:1px solid #72bba1;border-radius:8px;background:#d9f1e6;top:14px;left:15px;opacity:0;transform:translate(-9px,7px) rotate(-14deg)}
.icon-word>i:first-of-type{background:#c6e9d9;left:20px;top:11px}.icon-word>i:last-of-type{z-index:1;background:#fff;left:24px;top:14px}
.icon-read>i{position:absolute;z-index:3;left:50%;width:15px;height:2px;background:#52a589;transform:scaleX(0);transform-origin:right center}
.icon-read>i:nth-of-type(1){top:28px}.icon-read>i:nth-of-type(2){top:34px}.icon-read>i:nth-of-type(3){top:40px}
.icon-write>svg{position:absolute;z-index:3;inset:0;width:100%;height:100%;fill:none;stroke:#0b8d73;stroke-width:2;stroke-linecap:round;stroke-dasharray:85;stroke-dashoffset:85}
.journey-step.is-visible .icon-hear>i{animation:sound-ripple .65s ease-out both}.journey-step.is-visible .icon-hear>i:last-child{animation-delay:.12s}
.journey-step.is-visible .icon-word>i:first-of-type{animation:card-fan .55s ease-out both}.journey-step.is-visible .icon-word>i:last-of-type{animation:card-front .55s .08s ease-out both}
.journey-step.is-visible .icon-read>i{animation:book-line .45s ease-out both}.journey-step.is-visible .icon-read>i:nth-of-type(2){animation-delay:.1s}.journey-step.is-visible .icon-read>i:nth-of-type(3){animation-delay:.2s}
.journey-step.is-visible .icon-write>svg{animation:pen-draw .8s .1s ease-out both}
@keyframes sound-ripple{from{opacity:.8;transform:scale(.4) rotate(45deg)}to{opacity:0;transform:scale(1.4) rotate(45deg)}}
@keyframes card-fan{from{opacity:0;transform:translate(-9px,7px) rotate(-14deg)}to{opacity:1;transform:translate(0,0) rotate(-14deg)}}
@keyframes card-front{from{opacity:0;transform:translate(7px,6px) rotate(9deg)}to{opacity:1;transform:translate(0,0) rotate(0)}}
@keyframes book-line{to{transform:scaleX(1)}}
@keyframes pen-draw{to{stroke-dashoffset:0}}
.js-ready [data-reveal]{opacity:0;transform:translateY(20px);transition:opacity .58s ease,transform .58s cubic-bezier(.2,.75,.3,1)}
.js-ready [data-reveal].is-visible{opacity:1;transform:translateY(0)}
.journey-step:nth-child(2),.start-path-card:nth-child(2),.article-card:nth-child(2){transition-delay:.08s}
.journey-step:nth-child(3),.start-path-card:nth-child(3),.article-card:nth-child(3){transition-delay:.16s}
.journey-step:nth-child(4){transition-delay:.24s}
.lesson-demo-section{background:#fff}
.lesson-demo-grid{display:grid;grid-template-columns:minmax(0,.82fr) minmax(340px,1.18fr);gap:clamp(2rem,7vw,7rem);align-items:center}
.lesson-demo-grid>div:first-child{max-width:440px}
.lesson-demo-grid>div:first-child>p:not(.eyebrow){color:var(--muted)}
.lesson-demo-card{position:relative;padding:clamp(1.4rem,4vw,2.4rem);border:1px solid #d5e9df;border-radius:28px;background:radial-gradient(circle at 10% 0,#e0f5e9,transparent 40%),#fbfdfb;box-shadow:var(--shadow)}
.lesson-demo-card .article-tag{margin-bottom:1.1rem}
.lesson-hanzi{font:700 clamp(2.4rem,6vw,4rem)/1.25 system-ui,sans-serif;color:#176e63;margin:0}
.lesson-pinyin{font:500 1.05rem/1.8 system-ui,sans-serif;direction:ltr;text-align:right;color:#5b8377;margin:.3rem 0}
.lesson-translation{font-size:1.08rem;font-weight:700;margin:.35rem 0 1.2rem}
.lesson-answer{border-top:1px solid #d7e8e0;padding-top:.95rem;margin:1rem 0 1.25rem}
.lesson-answer summary{font-weight:700;color:var(--green-dark);cursor:pointer}
.lesson-answer p{margin:.7rem 0 0;color:var(--muted)}
.start-path-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}
.start-path-card{display:flex;flex-direction:column;min-height:280px;padding:1.5rem;border:1px solid #d5e8df;border-radius:24px;background:#fff;box-shadow:0 12px 28px #1d68550f}
.start-path-icon{display:grid;place-items:center;width:62px;height:62px;background:#e4f5ec;border-radius:20px;margin-bottom:1.2rem}
.start-path-card .article-tag{margin-bottom:.45rem}.start-path-card h3{font-size:1.35rem}
.start-path-card p{color:var(--muted);flex:1}.start-path-card .text-link{align-self:flex-start}
.one-day-visual{position:relative;max-width:570px}
.one-day-photo{position:relative;border-radius:29px;background:#fff;box-shadow:var(--shadow);padding:14px 14px 48px;transform:rotate(-1deg)}
.one-day-photo img{display:block;width:100%;aspect-ratio:1.5;object-fit:cover;border-radius:19px}
.one-day-photo-label{position:absolute;bottom:12px;right:22px;font-size:.8rem;color:#5b746b}
.one-day-stamp{position:absolute;left:-17px;bottom:-20px;display:flex;align-items:center;gap:.65rem;padding:.8rem 1rem;border:1px solid #d0e6db;border-radius:17px;background:#fff;box-shadow:0 14px 35px #155a4c20;font-size:.85rem;font-weight:700;line-height:1.45}
.one-day-stamp img{border-radius:12px}
.one-day-links{list-style:none;padding:0;margin:1.4rem 0 0;display:grid;gap:.65rem}
.one-day-links a{display:flex;align-items:center;gap:.8rem;padding:.75rem .9rem;border:1px solid #dbeae4;border-radius:15px;background:#fff;text-decoration:none;color:var(--ink);transition:transform .2s,box-shadow .2s}
.one-day-links a:hover{transform:translateX(-3px);box-shadow:0 9px 22px #155a4c12}
.one-day-links a>span:nth-child(2){display:flex;flex-direction:column;flex:1}
.one-day-links small{font-size:.8rem;color:var(--muted)}
.day-link-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:13px;background:#eaf7f0}
.article-grid-with-images .article-card{padding:0 0 1.35rem;overflow:hidden}
.article-image-link{display:block;height:176px;margin-bottom:1.15rem;background:#edf6f1;overflow:hidden}
.article-image-link img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .45s ease}
.article-card:hover .article-image-link img{transform:scale(1.035)}
.article-grid-with-images .article-tag,.article-grid-with-images h3,.article-grid-with-images p,.article-grid-with-images .text-link{margin-inline:1.35rem}
.article-grid-with-images .article-tag{margin-bottom:.6rem}
.article-grid-with-images p{flex:1}
.section-editorial{background:#f6faf7}
.editorial-home{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:1.5rem;padding:1.8rem;border:1px solid #dcebe4;border-radius:24px;background:#fff}
.editorial-home h2{font-size:1.5rem;margin-bottom:.4rem}.editorial-home p:last-child{color:var(--muted);margin-bottom:0}
.editorial-mark{display:grid;place-items:center;width:68px;height:68px;border-radius:21px;background:#e7f6ee}
@media(max-width:1000px){.journey-steps{grid-template-columns:repeat(2,minmax(0,1fr))}.lesson-demo-grid{gap:2rem}.one-day-stamp{left:-8px}}
@media(max-width:900px){.journey-film{height:155px}.journey-track-base,.journey-track-progress{stroke-width:3}.journey-node{width:54px;height:54px;border-radius:18px}.journey-node img{width:27px;height:27px}.journey-bird{width:36px;height:36px}.lesson-demo-grid{grid-template-columns:1fr}.lesson-demo-grid>div:first-child{max-width:650px}.one-day-grid{gap:3rem}.editorial-home{grid-template-columns:auto 1fr}.editorial-home>.text-link{grid-column:2}}
@media(max-width:650px){.carousel-toggle{font-size:.72rem}.journey-film{height:125px;margin-bottom:1.2rem}.journey-node{width:44px;height:44px;border-radius:15px}.journey-node img{width:24px;height:24px}.journey-node-hear{left:2%;top:42%}.journey-node-word{left:27%;top:7%}.journey-node-read{left:55%;top:42%}.journey-node-write{left:83%;top:9%}.journey-bird{width:31px;height:31px;left:0}.motion-caption{max-width:330px;font-size:.76rem}.journey-steps,.start-path-grid{grid-template-columns:1fr}.journey-step{min-height:0}.journey-step p{min-height:0}.lesson-demo-grid{gap:1.2rem}.lesson-demo-card{border-radius:22px}.one-day-visual{margin-inline:8px}.one-day-photo{padding:9px 9px 43px;border-radius:23px}.one-day-photo img{border-radius:16px}.one-day-stamp{left:-10px;bottom:-17px}.editorial-home{grid-template-columns:1fr;padding:1.3rem}.editorial-mark{width:54px;height:54px}.editorial-home>.text-link{grid-column:1}.article-image-link{height:205px}}
@media(prefers-reduced-motion:reduce){.journey-film .journey-track-progress{stroke-dashoffset:0}.journey-film .journey-node{opacity:1;transform:none;animation:none}.journey-film .journey-bird{animation:none;left:2%;top:30%}.js-ready [data-reveal]{opacity:1;transform:none;transition:none}.journey-step.is-visible .icon-hear>i,.journey-step.is-visible .icon-word>i,.journey-step.is-visible .icon-read>i,.journey-step.is-visible .icon-write>svg{animation:none;opacity:1;transform:none;stroke-dashoffset:0}}
