.hanni-home .home-hero{background:var(--surface)}.home-hero-layout{grid-template-columns:minmax(0,1fr);align-items:center;gap:24px;padding-block:clamp(28px,4vw,56px);display:grid}.home-hero-visual{aspect-ratio:4/3;background:#f6e7d8;border-radius:clamp(16px,2vw,28px);position:relative;overflow:hidden;container-type:inline-size}.home-hero-scene{transform-origin:64%;position:absolute;inset:0}.home-hero-greeting{color:#982a1e;white-space:nowrap;font-size:clamp(15px,5.8cqi,37px);font-weight:750;line-height:1;position:absolute;top:50%;left:66.5%;translate:-50% -50%;rotate:2deg}@media (prefers-reduced-motion:no-preference){.home-hero-scene{animation:4.6s ease-out both home-hero-pan}.home-hero-greeting{animation:.75s ease-out .4s both home-hero-write}}@keyframes home-hero-pan{0%{transform:scale(1.028)}to{transform:scale(1)}}@keyframes home-hero-write{0%{clip-path:inset(0 100% 0 0);opacity:.25}to{clip-path:inset(0);opacity:1}}@media (min-width:768px){.home-hero-layout{grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:clamp(26px,4vw,64px)}.home-hero-visual{grid-area:1/2/span 2}}.hanni-home .home-hero h1{letter-spacing:-.045em;font-weight:750;line-height:1.14}.hanni-home .section-label{letter-spacing:.09em;font-size:10px}.hanni-home .home-dictionary{box-shadow:none;background:var(--surface)}.hanni-home>section[aria-label="Kho học liệu"]{background:var(--background)}.hanni-home>section[aria-label="Kho học liệu"] dl>div{padding-block:23px}.hanni-home>section[aria-label="Kho học liệu"] dl>div+div{border-left:1px solid var(--border)}.hanni-home>section[aria-label="Kho học liệu"] dd:first-of-type{color:var(--foreground);letter-spacing:-.035em;font-size:25px}.hanni-home>section[aria-label="Kho học liệu"] dd:last-child{margin-top:4px}.page-spot{grid-template-columns:minmax(0,1fr) 160px;align-items:center;gap:16px;display:grid}.page-spot-art{--scene-height:108px}@media (max-width:639px){.page-spot{grid-template-columns:minmax(0,1fr) 76px;gap:10px}.page-spot-art{--scene-height:68px}.page-spot-intro>div:first-child{display:contents}.page-spot-intro :is(.eyebrow,h1){grid-column:1}.page-spot-intro h1{margin-top:0}.page-spot-intro p:not(.eyebrow){grid-column:1/-1;margin-top:2px}.page-spot-intro .page-spot-art{grid-area:1/2/span 2}}.site-navigation{background:color-mix(in srgb, var(--surface) 95%, transparent)}.site-navigation .nav-link{font-size:13px}.learn-home #path-title{letter-spacing:-.035em;font-size:22px}.illustrated-banner{isolation:isolate;border:1px solid var(--border);box-shadow:none;background:#fffbf8;border-radius:18px;position:relative;overflow:hidden}.banner-copy,.lesson-hero>:not(.learning-backdrop){z-index:1;position:relative}.banner-copy{max-width:min(65%,36rem)}.banner-eyebrow{letter-spacing:.07em;color:var(--primary);margin-bottom:12px;font-size:11px;font-weight:650}.review-hero,.lesson-hero{align-items:center;min-height:232px;padding:clamp(20px,2.4vw,30px);display:flex}.lesson-copy{width:67%;min-width:0}.lesson-copy h1{text-wrap:pretty;margin-top:6px;font-size:clamp(21px,1.9vw,27px);font-weight:700;line-height:1.26}.lesson-copy>p:first-child{font-size:10px;line-height:1.6}.lesson-progress{gap:6px;max-width:290px;margin-top:13px;display:grid}.lesson-progress [role=progressbar]{height:6px;box-shadow:none;padding:0}.review-hero .motion-button,.lesson-hero .motion-button,.exam-progress-card .motion-button{box-shadow:none;border-radius:9px}.cultural-intro:not(.dictionary-intro){text-align:left;grid-template-columns:minmax(0,1fr) minmax(88px,20%);align-items:center;gap:16px;display:grid}.cultural-intro-copy{min-width:0}.cultural-intro-copy>p{margin-inline:0}.cultural-intro-art{height:110px}.dictionary-intro{min-height:225px;padding:clamp(22px,3vw,36px)}.dictionary-intro h1{max-width:24ch;font-size:clamp(25px,2.7vw,35px);font-weight:700;line-height:1.2}.dictionary-intro .eyebrow{letter-spacing:.1em;color:var(--primary);font-size:11px}.dictionary-intro .cultural-intro-copy>p:last-child{margin-top:12px;font-size:14px;line-height:1.65}.exam-progress-card{box-shadow:none;background:#fffbf8}.practice-filters{flex-wrap:wrap;gap:8px;display:flex}.practice-filters button{border:1px solid var(--border);background:var(--surface);min-height:42px;color:var(--muted);cursor:pointer;border-radius:9px;padding:6px 13px;font-size:13px;font-weight:600}.practice-filters button[aria-pressed=true]{color:var(--primary);background:#f9ebe7;border-color:#e4b2a9}.practice-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.practice-tool{box-shadow:none;border-radius:14px}.practice-tool:hover{border-color:#dfab9f}.practice-tool:focus-visible,.practice-filters button:focus-visible{outline:2px solid var(--primary);outline-offset:3px}.practice-tool-copy{align-content:start;gap:7px;min-height:108px;padding:13px;display:grid}.practice-tool-title{align-items:start;gap:7px;font-size:14px;font-weight:700;line-height:1.4;display:flex}.practice-tool-description{color:var(--muted);font-size:13px;line-height:1.55}@media (min-width:768px){.practice-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (min-width:1280px){.practice-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}@media (max-width:767px){.illustrated-banner{border-radius:15px}.banner-copy,.lesson-copy{width:100%;max-width:none}.review-hero,.lesson-hero,.dictionary-intro{min-height:0;padding:20px}.lesson-copy h1{max-width:25ch}.lesson-start{min-height:46px}.dictionary-intro h1{max-width:20ch}.dictionary-intro .cultural-intro-copy>p:last-child{max-width:36ch}}@media (max-width:639px){.hanni-home .home-hero h1{font-size:clamp(29px,8.3vw,40px)}.hanni-home>section[aria-label="Kho học liệu"] dl>div:nth-child(3){border-left:0}.hanni-home>section[aria-label="Kho học liệu"] dl>div{padding-block:16px}.hanni-home>section[aria-label="Kho học liệu"] dd:first-of-type{font-size:23px}.practice-grid{gap:10px}.practice-tool-copy{min-height:114px;padding:10px}.practice-tool-title{gap:5px;font-size:13px}.practice-tool-title>svg:last-child{display:none}.practice-tool-description{font-size:12px}}.exam-intro,.feature-intro{border:1px solid var(--border);box-shadow:none;background:#fffbf8;border-radius:16px}.exam-intro-title{justify-content:space-between;align-items:center;gap:14px;display:flex}.exam-intro-title .exam-intro-art{flex:0 0 clamp(72px,13vw,120px);height:clamp(58px,12vw,88px)}.feature-intro{padding:clamp(18px,3vw,28px)}@media (max-width:767px){.dictionary-intro .learning-backdrop{opacity:.86;width:118px;height:116px;inset-block:0 auto;-webkit-mask-image:linear-gradient(90deg,#0000,#000 45%),linear-gradient(#000 62%,#0000);mask-image:linear-gradient(90deg,#0000,#000 45%),linear-gradient(#000 62%,#0000);-webkit-mask-composite:source-in;mask-composite:intersect}.dictionary-intro h1{max-width:calc(100% - 74px);font-size:24px}.lesson-hero .learning-backdrop{width:48%;height:125px}}@media (max-width:639px){.feature-intro.cultural-intro{row-gap:8px}.feature-intro .cultural-intro-copy{display:contents}.feature-intro .cultural-intro-copy>.eyebrow{grid-column:1}.feature-intro .cultural-intro-copy>h1{grid-column:1;margin-top:0}.feature-intro .cultural-intro-copy>p{grid-column:1/-1;margin-top:4px}.feature-intro .cultural-intro-art{grid-area:1/2/span 2}}
