.illustrated-hero{background:linear-gradient(150deg,#f0f6ff,#fff9f6);box-shadow:0 25px 60px #5c7ba912;height:570px;border-radius:25px;overflow:hidden}.hero-illustration{display:block;position:absolute;top:0;left:0;width:100%;height:300px;object-fit:cover;object-position:center;mask-image:linear-gradient(#000 85%,transparent)}.illustrated-hero .orbital-grid,.illustrated-hero .orbit,.illustrated-hero .orbit-word,.illustrated-hero .orbit-node,.illustrated-hero .coordinate{display:none}.illustration-label{position:absolute;left:23px;top:22px;z-index:2;display:flex;align-items:center;gap:8px;font-size:9px;font-weight:750;color:#456aa3;padding:8px 10px;background:#ffffffd9;border:1px solid #ffffff;border-radius:10px;box-shadow:0 5px 18px #4664a108}.illustration-label img{width:24px;height:24px}.illustration-label small{display:none}.illustrated-hero .study-card{top:286px;transform:rotate(-2deg);background:#fffffff5;box-shadow:0 14px 30px #6380a520}.illustrated-hero .floating-label{bottom:17px}.illustrated-hero.meaning-open{min-height:645px}.illustrated-path{padding-top:0!important;overflow:hidden}.path-image{width:calc(100% + 54px);height:185px;object-fit:cover;margin-left:-27px;margin-right:-27px;margin-bottom:22px;display:block}.illustrated-path .path-symbol{display:none}.illustrated-path .path-top{margin-bottom:18px}.illustrated-path h3{margin-top:0}.section-illustration{display:block;width:190px;height:116px;object-fit:cover;margin-bottom:22px;border-radius:16px;box-shadow:0 7px 20px #5c79a307}.resource-visual{display:grid;grid-template-columns:1fr 1.2fr;gap:35px;align-items:center;padding:25px;border:1px solid #d7eaf1;border-radius:16px;background:#fff;margin-top:26px;overflow:hidden}.resource-visual>img{display:block;width:100%;height:245px;object-fit:cover;border-radius:13px}.resource-visual h3{color:#42758b;font-size:29px;letter-spacing:-1px;line-height:1.3;margin:0 0 18px;font-weight:600}.resource-visual .eyebrow{margin-bottom:18px}.resource-visual p:not(.eyebrow){color:#7796a8;font-size:13px;line-height:1.8}.resource-visual a{color:#517fc4;font-size:12px;display:inline-flex;min-height:44px;align-items:center;text-decoration:underline;text-underline-offset:4px}.tips-image{display:block;width:calc(100% + 62px);height:175px;object-fit:cover;margin:-31px -31px 27px;border-radius:16px 16px 0 0}.brand img{filter:drop-shadow(0 3px 4px #5279f112)}
@media(max-width:1150px){.illustrated-hero{height:555px}.hero-illustration{height:280px}.illustrated-hero .study-card{top:268px}.path-image{height:160px;width:calc(100% + 44px);margin-left:-22px;margin-right:-22px}.tips-image{width:calc(100% + 48px);margin:-24px -24px 24px}}
@media(max-width:900px){.illustrated-hero{height:520px}.hero-illustration{height:265px}.illustrated-hero .study-card{top:255px}.path-image{height:140px;width:calc(100% + 36px);margin-left:-18px;margin-right:-18px}.resource-visual{gap:22px}.resource-visual>img{height:230px}.resource-visual h3{font-size:25px}}
@media(max-width:700px){.illustrated-hero{height:530px;border-radius:20px}.hero-illustration{height:275px}.illustrated-hero .study-card{top:265px}.illustration-label{top:16px;left:17px;font-size:8px;padding:7px 9px}.illustrated-hero.meaning-open{min-height:620px}.illustrated-path{display:flex!important;flex-direction:column;padding-left:23px;padding-right:23px}.path-image{width:calc(100% + 46px);height:190px;object-position:center;margin-left:-23px;margin-right:-23px;margin-bottom:20px}.illustrated-path .path-top{font-size:9px;margin-bottom:17px}.illustrated-path h3{margin:0 0 12px}.illustrated-path .path-meta{margin-bottom:15px}.illustrated-path p{margin-top:0;margin-bottom:19px}.section-illustration{width:145px;height:96px;margin-bottom:20px}.resource-visual{grid-template-columns:1fr;padding:20px;gap:22px}.resource-visual>img{height:190px}.resource-visual h3{font-size:26px}.tips-image{width:calc(100% + 54px);margin:-27px -27px 25px;height:170px}}
@media(max-width:360px){.illustrated-hero{height:515px}.hero-illustration{height:260px}.illustrated-hero .study-card{top:253px}.path-image{height:175px}}
.image-banner{margin-top:34px;border-radius:20px;overflow:hidden;min-height:325px;position:relative;background:#edf4ff;border:1px solid #dce7f5}.banner-scene{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 44%}.image-banner:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#ffffffed 0%,#ffffffb8 26%,#ffffff00 58%);pointer-events:none}.banner-content{position:relative;z-index:1;padding:30px 38px;max-width:430px}.banner-content>img{display:block;width:230px;height:auto;margin-left:-11px;margin-bottom:14px;border-radius:10px;opacity:.95}.banner-content h2{font-size:33px;color:#3e64a0;line-height:1.2;letter-spacing:-1.2px;margin-bottom:15px}.banner-content p{font-size:12px;color:#718bac;line-height:1.7;margin:0 0 17px}.banner-content .primary{font-size:11px;padding:11px 16px;min-height:43px}@media(max-width:700px){.image-banner{min-height:415px;border-radius:16px;margin-top:25px}.banner-scene{height:245px;inset:auto 0 0;object-position:right center}.image-banner:after{background:linear-gradient(#f6faff 0%,#f6faffdd 45%,#ffffff00 70%)}.banner-content{padding:23px;max-width:100%}.banner-content>img{width:205px;margin-bottom:11px}.banner-content h2{font-size:29px}.banner-content p{font-size:11px}.banner-content p br{display:none}.banner-content .primary{font-size:11px;min-height:42px}}
/* Uppercase section titles and navigation, including dynamically rendered headings. */
h1,h2,h3,h4,header nav,.workspace-nav,.mobile-nav,.learning-hub b,.principles>div,.path-meta,.active-path .path-status,.outline-label,.chips button,.material-actions,.video-actions,.sharing-note b,.tips-feature li>b,.back-top,.primary,.secondary,.dark,.path-card>button,.lesson-card>button{ text-transform:uppercase; }
h1{font-size:clamp(40px,4.3vw,62px);letter-spacing:-1.8px;line-height:1.15}h2{letter-spacing:-.9px}h3{letter-spacing:-.3px}.path-card h3,.practice-card h3,.material-card h3,.video-info h3{font-size:20px;white-space:normal;line-height:1.4}.hero-copy,.section-heading>div,.path-card,.practice-card,.material-card{min-width:0}.tips-feature h3{font-size:31px}.closing h2{font-size:clamp(36px,4.5vw,60px);letter-spacing:-1.5px}.banner-content h2{font-size:28px}.workspace-nav button{font-size:11px;letter-spacing:.15px}.active-path h3{font-size:14px}.learning-hub b{font-size:11px}header nav{font-size:11px}.illustrated-path h3{white-space:normal}.resource-visual h3{font-size:25px}
@media(max-width:900px){header nav{font-size:10px;gap:12px}.path-card h3,.practice-card h3{font-size:18px}}
@media(max-width:700px){h1{font-size:clamp(32px,10.5vw,46px);letter-spacing:-1px}h2{font-size:28px;letter-spacing:-.6px}.path-card h3,.practice-card h3,.material-card h3,.video-info h3{font-size:20px;white-space:normal}.closing h2{font-size:35px;letter-spacing:-.8px}.banner-content h2{font-size:25px}.tips-feature h3{font-size:28px}.learning-hub b{font-size:9px;line-height:1.6}.workspace-nav button{font-size:10px}.mobile-nav span{font-size:8px}.primary,.secondary,.dark{font-size:11px}.active-path h3{font-size:13px}.resource-visual h3{font-size:23px}}
/* Refined scale for uppercase titles: approximately 10–15% smaller. */
h1{font-size:clamp(35px,3.75vw,54px);font-weight:650;letter-spacing:-.8px;line-height:1.2}h2{font-size:clamp(27px,2.8vw,36px);font-weight:600;letter-spacing:.01em;line-height:1.3}.path-card h3,.practice-card h3,.material-card h3,.video-info h3,.lesson-card h3{font-size:18px;font-weight:600;letter-spacing:.015em;line-height:1.5}.closing h2{font-size:clamp(32px,3.9vw,52px);letter-spacing:-.5px;line-height:1.25}.banner-content h2{font-size:25px;letter-spacing:0;line-height:1.35}.tips-feature h3{font-size:27px;letter-spacing:0;line-height:1.35}.resource-visual h3{font-size:22px;letter-spacing:0;line-height:1.4}.progress-main h3{font-size:22px;letter-spacing:0;line-height:1.4}
@media(max-width:900px){.path-card h3,.practice-card h3{font-size:17px}}
@media(max-width:700px){h1{font-size:clamp(29px,9.2vw,40px);letter-spacing:-.4px}h2{font-size:25px;letter-spacing:0}.path-card h3,.practice-card h3,.material-card h3,.video-info h3,.lesson-card h3{font-size:18px;line-height:1.5}.closing h2{font-size:31px;letter-spacing:0}.banner-content h2{font-size:22px}.tips-feature h3{font-size:25px}.resource-visual h3{font-size:21px}.progress-main h3{font-size:20px}}
@font-face{font-family:'Fan Headline';src:url('fonts/fan-headline.woff') format('woff');font-weight:600;font-style:normal;font-display:swap}
.hero-copy h1{font-family:'Fan Headline',Georgia,serif;font-size:clamp(38px,4vw,57px);font-weight:600;letter-spacing:0;line-height:1.3;color:#395c94}.hero-copy h1 em{position:relative;display:inline-block;color:#436fec;margin-bottom:9px}.hero-copy h1 em:after{content:'';position:absolute;left:5%;bottom:-5px;width:86%;height:10px;border-bottom:2px solid #a3b6ee;border-radius:0 0 50% 50%;transform:rotate(-3deg);pointer-events:none}
@media(max-width:900px){.hero-copy h1{font-size:clamp(34px,4.3vw,45px)}}
@media(max-width:700px){.hero-copy h1{font-size:clamp(31px,9.7vw,42px);line-height:1.32;letter-spacing:0}.hero-copy h1 em:after{height:8px;bottom:-4px}}
@font-face{font-family:'Fan Calligraphy';src:url('fonts/fan-calligraphy.woff') format('woff');font-weight:400;font-style:normal;font-display:swap}
.hero-copy h1{font-family:'Fan Calligraphy',Georgia,serif;font-size:clamp(32px,3.65vw,50px);font-weight:400;line-height:1.55;letter-spacing:0;color:#375986}.hero-copy h1 em{color:#496de0;margin-bottom:0}.hero-copy h1 em:after{display:none}.lesson-hover-arrow{display:inline-flex;align-items:center;justify-content:center;width:44px;min-height:38px;border-radius:8px;background:#edf3ff;transition:background 90ms,color 90ms}.lesson-hover-arrow:hover{background:#345ef1;color:white}.lesson-card>button{align-items:center;padding-top:12px}
@media(max-width:900px){.hero-copy h1{font-size:clamp(29px,3.8vw,38px)}}
@media(max-width:700px){.hero-copy h1{font-size:clamp(26px,7.8vw,34px);line-height:1.55;letter-spacing:0}}
/* Vietnamese brush artwork, and direct text links without icon bubbles. */
.hero-copy h1.vietnamese-calligraphy{position:relative;max-width:420px;width:100%;margin:0;font-size:0;line-height:0}.vietnamese-calligraphy>img{display:block;width:100%;height:auto;object-fit:contain}.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;font-family:Arial,sans-serif;font-size:16px;line-height:1.4}.lesson-hover-arrow,.lesson-hover-arrow:hover{background:transparent;color:inherit;border-radius:0;border:0;box-shadow:none;width:auto;min-width:24px;min-height:32px}.lesson-hover-link:hover{color:#345ef1;text-decoration:underline;text-underline-offset:5px}.lesson-hover-link{border-radius:0!important;background:transparent!important}.modal-top #modal-close,.modal-top #modal-close:hover{background:transparent;border:0;border-radius:0;box-shadow:none;color:#6884b4}.modal-top #modal-close:hover{color:#345ef1}.hover-open #modal-close:focus-visible{outline:none}
@media(max-width:700px){.hero-copy h1.vietnamese-calligraphy{max-width:290px}}@media(max-width:360px){.hero-copy h1.vietnamese-calligraphy{max-width:265px}}
@font-face{font-family:'Fan Modern';src:url('fonts/fan-modern.woff') format('woff');font-weight:600;font-style:normal;font-display:swap}
.hero-copy h1{font-family:'Fan Modern',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;font-size:clamp(34px,3.5vw,49px);font-weight:600;font-style:normal;line-height:1.25;letter-spacing:-.035em;color:#274571}.hero-copy h1 em{font-family:inherit;font-style:normal;font-weight:600;display:inline;color:#345ef1;margin:0}.hero-copy h1 em:after{display:none}
@media(max-width:900px){.hero-copy h1{font-size:clamp(31px,3.8vw,38px)}}
@media(max-width:700px){.hero-copy h1{font-size:clamp(29px,8.7vw,38px);line-height:1.28;letter-spacing:-.03em}}

/* Keep the complete slogan on one line within its own column. */
.hero-copy{container-type:inline-size}.hero-copy h1{white-space:nowrap;font-size:clamp(13px,1.9vw,34px);line-height:1.3}
@media(max-width:700px){.hero-copy h1{font-size:clamp(13px,4.9vw,34px)}}
@supports(font-size:1cqw){.hero-copy h1{font-size:clamp(12px,5.9cqw,34px)}}
/* Bilingual interface; preserve the current reading and learning state. */
.header-tools{display:flex;align-items:center;gap:12px;flex-shrink:0;margin-left:auto}.language-switch{display:flex;align-items:center;gap:3px;padding:3px;border:1px solid #dce5f3;background:#f4f7ff;border-radius:10px}.language-switch button{display:flex;align-items:center;justify-content:center;gap:5px;min-height:38px;padding:0 9px;border:0;border-radius:7px;background:transparent;color:#667994;font-size:11px;font-weight:600;cursor:pointer;white-space:nowrap}.language-switch button>span:first-child{font-size:19px;line-height:1}.language-switch button.active{background:#fff;color:#244de0;box-shadow:0 2px 7px #345ef118}.language-switch button:hover{color:#244de0;background:#e7eeff}.language-switch button:focus-visible{outline:2px solid #345ef1;outline-offset:2px}html[lang="ja"] body{font-family:-apple-system,BlinkMacSystemFont,'Hiragino Kaku Gothic ProN','Yu Gothic','Meiryo',sans-serif}html[lang="ja"] .hero-copy h1{font-family:inherit;font-size:clamp(12px,1.8vw,32px);letter-spacing:0}html[lang="ja"] .hero-copy h1 em{font-family:inherit}html[lang="ja"] .eyebrow{letter-spacing:.08em}html[lang="ja"] h2,html[lang="ja"] h3{letter-spacing:0;overflow-wrap:anywhere}html[lang="ja"] .hero-stats{gap:24px}html[lang="ja"] .hero-stats small{letter-spacing:0}html[lang="ja"] .workspace-nav button{white-space:nowrap}html[lang="ja"] .card-bottom{gap:8px}
@supports(font-size:1cqw){html[lang="ja"] .hero-copy h1{font-size:clamp(12px,5.9cqw,32px)}}
@media(max-width:1200px){header nav{display:none}}@media(max-width:700px){.header-tools{gap:6px}.header-tools #continue{display:none}.language-switch{padding:2px;gap:1px}.language-switch button{min-width:40px;min-height:42px;padding:0 5px;font-size:10px;gap:3px}.language-switch button>span:first-child{font-size:18px}.brand{gap:7px}.brand>img{width:33px;height:33px}.brand b{font-size:11px}.brand small{font-size:5px}html[lang="ja"] .hero-copy h1{font-size:clamp(12px,4.8vw,32px)}html[lang="ja"] .hero-stats{gap:14px}html[lang="ja"] .hero .actions{flex-wrap:wrap}html[lang="ja"] .material-actions{flex-wrap:wrap}html[lang="ja"] .mobile-nav span{font-size:9px}}
@supports(font-size:1cqw){html[lang="ja"] .hero-copy h1{font-size:clamp(12px,5.9cqw,32px)}}

.curriculum-nav{display:inline-flex;align-items:center;white-space:nowrap;min-height:40px;padding:9px 14px;border:1px solid #ccd9ff;border-radius:9px;color:#345ef1;background:#eef3ff;font-size:11px;font-weight:650;flex-shrink:0}.curriculum-nav:hover{background:#e0eaff}.hero .actions>a.primary{gap:12px}.material-card .material-icon{font-size:32px;color:#345ef1}

/* Reserve the complete paragraph so typing never moves the page. */
[data-typewriter]{position:relative}
.typed-source{visibility:hidden;white-space:pre-line;display:block}
.typed-output{position:absolute;inset:0;white-space:pre-line;pointer-events:none}
.typed-output.is-typing::after{content:"";display:inline-block;height:1em;border-right:2px solid currentColor;margin-left:2px;vertical-align:-.12em;animation:typing-caret .75s step-end infinite}
@keyframes typing-caret{50%{opacity:0}}
@media(prefers-reduced-motion:reduce){.typed-output.is-typing::after{animation:none}}

/* Show the complete supplied artwork, including its embedded headings. */
.path-image{height:auto;aspect-ratio:16/9;object-fit:contain}

/* Preserve the complete study guide illustration and its embedded text. */
.tips-image{height:auto;object-fit:contain}

/* Keep all of the supplied library illustration visible on every screen. */
.resource-visual>img{height:auto;object-fit:contain}

@media (min-width: 701px) {
  .tips-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
  }

  .tips-feature,
  .tip-accordions {
    display: flex;
    flex-direction: column;
  }

  .tips-feature .primary {
    align-self: flex-start;
    margin-top: auto;
  }

  .tip-accordions details {
    flex: 1 0 auto;
  }

  .tip-accordions details:not([open]) summary {
    height: 100%;
  }
}
