/* LivingTabs: natural material, bold type, a browser as the stage. */
:root { --paper:#f7f8f2; --ink:#173f30; --green:#174c35; --muted:#4b6054; --display:'Microsoft YaHei','PingFang SC','Noto Sans CJK SC',sans-serif; }
.site-header { max-width:1560px; min-height:92px; }
.wordmark { font-size:28px; font-weight:750; }
.site-header nav { gap:30px; }
.site-header nav a:last-child { background:var(--green); border-color:var(--green); color:#fff; border-radius:30px; padding:9px 24px; }
.home-hero.section { position:relative; isolation:isolate; max-width:1560px; min-height:min(830px,calc(100svh - 92px)); grid-template-columns:1.03fr 1.12fr; gap:24px; padding-block:68px 86px; background:none; }
.home-hero::before { content:''; position:absolute; z-index:-1; inset:7% 0 12% 48%; border-radius:50%; background:radial-gradient(ellipse,#dfe9d6 0%,#eaf0df77 40%,transparent 68%); }
.home-hero .hero-copy { position:relative; z-index:2; container-type:normal; }
.hero-greeting { display:flex; align-items:center; gap:10px; font-size:16px; font-weight:600; margin-bottom:28px; }
.hero-greeting img { object-fit:contain; }
.home-hero .hero-copy h1 { font-family:var(--display); font-weight:850; font-size:clamp(54px,6.5vw,100px); line-height:1.16; letter-spacing:-.075em; color:#153e2c; margin:0 0 30px; }
.home-hero .hero-description { max-width:28em; font-size:16px; line-height:1.95; padding-right:22px; }
.home-hero .actions { margin-top:32px; gap:26px; }
.home-hero .button { min-height:52px; border-radius:30px; padding:12px 28px; }
.home-demo { position:relative; z-index:1; padding-top:24px; }
.home-demo::before,.home-demo::after { content:''; position:absolute; z-index:2; pointer-events:none; width:98px; height:98px; background:url('/playground/autumn-atlas.png') 0 0 / 200% 200% no-repeat; filter:drop-shadow(0 12px 8px #593d3026); }
.home-demo::before { bottom:80px; left:-24px; transform:rotate(-30deg); background-position:100% 100%; }
.home-demo::after { top:-12px; right:12px; width:72px; height:72px; transform:rotate(30deg); }
.home-demo .demo-window { border:1px solid #b9c4b2; border-radius:13px; box-shadow:0 34px 50px -25px #203e344f,0 3px 6px #203e3412; transform:perspective(1300px) rotateY(-7deg) rotateZ(2deg); transform-origin:center; background:#fff; }
.home-demo .demo-tab { height:44px; padding-inline:20px; background:#edf0e8; border-bottom:1px solid #d7ddcf; }
.home-demo .tab-effect { color:#7a4c21; }
.home-demo #playground-tip { font-size:12px; margin-top:28px; color:#4b6054; }
.home-demo .demo-toolbar { margin:8px 0 0; gap:7px; }
.home-demo .demo-toolbar button { border-radius:20px; min-height:36px; background:transparent; border-color:#bac7b6; font-size:12px; }
.home-demo .demo-status { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
/* Each chapter owns the entire viewport, with its own light and material. */
.season-stage { --wash:#edf1e4; --hue:#19472f; --muted-scene:#425842; max-width:none; background:var(--wash); color:var(--hue); padding-inline:clamp(24px,6vw,110px); transition:background-color .65s,color .65s; overflow:clip; }
.season-stage[data-season=summer], .season-stage [data-season-panel=summer] { --wash:#123e38; --hue:#f0f5df; --muted-scene:#cfdfd0; }
.season-stage[data-season=autumn], .season-stage [data-season-panel=autumn] { --wash:#f3eadb; --hue:#66391e; --muted-scene:#74533b; }
.season-stage[data-season=winter], .season-stage [data-season-panel=winter] { --wash:#233c49; --hue:#f1f6f5; --muted-scene:#cfdee2; }
.season-stage [data-season-panel=spring] { --wash:#edf1e4; --hue:#19472f; --muted-scene:#425842; }
.season-scroll-track { height:460svh; background:#edf1e4; }
.season-stage.season-pinned { padding-block:32px 22px; height:100svh; min-height:680px; justify-content:space-between; }
.season-stage .season-intro { position:relative; z-index:4; align-items:center; margin:0; gap:24px; }
.season-stage .season-intro :is(h1,h2) { font-family:var(--display); color:var(--hue); font-weight:650; font-size:22px; letter-spacing:-.04em; }
.season-stage .season-tabs { width:280px; border-bottom:1px solid color-mix(in srgb,var(--hue) 25%,transparent); }
.season-stage .season-tab { font:500 19px/1.5 var(--display); min-height:48px; padding:10px; color:var(--muted-scene); }
.season-stage .season-tab[aria-selected=true] { color:var(--hue); font-weight:800; }
.season-stage .season-tab:hover { background:color-mix(in srgb,var(--hue) 8%,transparent); }
.season-stage .season-tabs::after { height:2px; }
.season-stage .season-panels { position:relative; overflow:visible; border-radius:0; background:none; flex:1; min-height:0; width:100%; }
.season-stage .season-panel { background:none; min-height:610px; grid-template-columns:44% 56%; height:100%; align-items:center; }
.season-pinned .season-panel { min-height:0; }
.season-stage .season-copy { z-index:3; padding:30px 20px 40px 0; align-self:center; }
.season-stage .season-label { font:500 15px/1.5 var(--display); color:var(--muted-scene); margin-bottom:24px; }
.season-stage .season-title { font:800 clamp(44px,4.8vw,76px)/1.22 var(--display); letter-spacing:-.07em; max-width:7.4em; margin:0 0 28px; text-wrap:balance; }
/* Han glyphs fill their em box, so display tracking tuned for Latin makes strokes collide. */
html[lang="zh-CN"] .home-hero .hero-copy h1,
html[lang="zh-CN"] .season-stage .season-title,
html[lang="zh-CN"] .season-stage .season-intro :is(h1,h2),
html[lang="zh-CN"] .season-stage .season-label,
html[lang="zh-CN"] .home-featured .section-heading h2,
html[lang="zh-CN"] .snow-story h2,
html[lang="zh-CN"] .install-callout h2 { letter-spacing:-.02em; }
.season-stage .season-title > span { display:block; white-space:nowrap; }
.season-stage .season-description { color:var(--muted-scene); max-width:25em; font-size:15px; line-height:2; }
.season-stage .season-actions { gap:22px; margin-top:30px; font-size:14px; }
.season-stage .season-actions .season-play { border-radius:28px; padding:12px 24px; color:var(--wash); background:var(--hue); border:0; min-height:48px; }
.season-stage .season-actions a { color:var(--hue); }
.season-stage .season-media { align-self:stretch; min-height:0; max-height:none; aspect-ratio:auto; overflow:visible; position:relative; }
.season-stage .season-media::after { display:none; }
.season-stage .season-glyph { position:absolute; inset:0; display:grid; place-items:center; font-family:var(--display); font-size:clamp(260px,36vw,590px); font-weight:850; line-height:1; color:var(--hue); opacity:.09; user-select:none; transform:translateY(calc(var(--chapter-progress,.5) * -25px)); }
.season-stage .season-poster,.season-stage .season-live { position:absolute; inset:-5% -10%; width:120%; max-width:none; height:110%; object-fit:contain; z-index:1; }
.season-stage .scene-ready .season-poster { visibility:hidden; }
.season-stage .season-video { z-index:3; inset:12% 0; height:76%; width:100%; border-radius:12px; background:#12251c; box-shadow:0 25px 60px #0004; }
.season-stage .season-media:has(.season-video:not([hidden])) :is(.season-live,.season-glyph) { visibility:hidden; }
.season-bottom { position:relative; z-index:4; display:flex; align-items:center; justify-content:space-between; gap:20px; color:var(--muted-scene); font-size:12px; width:100%; padding-top:14px; border-top:1px solid color-mix(in srgb,var(--hue) 22%,transparent); }
.season-bottom > div { display:flex; gap:24px; align-items:center; }
.season-bottom button { background:none; color:inherit; border:0; padding:10px 0; font-size:12px; min-height:44px; }
.season-bottom a { text-underline-offset:5px; padding-block:10px; }
.season-stage .season-scroll-hint { position:absolute; left:0; right:0; bottom:0; margin:0; height:3px; font-size:0; color:transparent; }
.season-stage .season-scroll-hint::before { background:var(--hue); height:3px; margin:0; }
.season-stage .season-panel.is-entering .season-copy { animation:chapter-copy .65s cubic-bezier(.2,.7,.2,1) both; }
.season-stage .season-panel.is-entering .season-poster { animation:none; }
@keyframes chapter-copy { from { opacity:0; transform:translateY(22px); } }
.home-featured { padding-block:110px; }
.home-featured .section-heading h2,.snow-story h2,.install-callout h2 { font-family:var(--display); font-weight:750; font-size:clamp(32px,3.6vw,52px); letter-spacing:-.06em; }
.home-featured .effect-grid { gap:32px; }
.home-featured .effect-media { border-radius:12px; aspect-ratio:1.35; }
.home-featured .card-caption { margin-top:20px; }
.home-featured .card-caption h3 { font-size:24px; font-weight:700; }
.snow-story.section { max-width:none; padding-inline:max(var(--gutter),calc((100vw - 1180px)/2)); padding-block:90px; background:#e9eef0; }
.install-callout.section { max-width:none; padding:96px max(var(--gutter),calc((100vw - 1180px)/2)); background:#174733; color:#f2f6e9; border:0; }
.install-callout h2 { color:#f2f6e9; }
.install-callout p { color:#d1dfcd; max-width:36em; margin-block:20px 26px; }
.install-callout .button { color:#174733; background:#eef3e5; border-color:#eef3e5; border-radius:28px; padding:12px 26px; }
.install-callout .text-link { color:#edf3e6; }
@media (min-width:1600px) { .season-stage .season-panels,.season-stage .season-intro,.season-bottom { max-width:1450px; margin-inline:auto; } }
@media (max-width:1000px) {
 .home-hero.section { gap:14px; padding-block:55px 70px; min-height:650px; }
 .home-hero .hero-copy h1 { font-size:clamp(48px,6.5vw,68px); }
 .season-stage .season-title { font-size:48px; }
 .season-stage .season-description { font-size:14px; }
 .season-stage .season-actions { gap:12px; flex-wrap:wrap; }
}
@media (max-width:700px) {
 .site-header { min-height:76px; }
 .wordmark { font-size:22px; }
 .site-header nav { gap:12px; }
 .site-header nav a:last-child { padding:6px 14px; }
 .home-hero.section { display:flex; flex-direction:column; align-items:stretch; gap:20px; min-height:0; padding:34px 24px 50px; overflow:hidden; }
 .home-hero .hero-greeting { margin-bottom:18px; font-size:14px; }
 .home-hero .hero-copy h1 { font-size:clamp(48px,11.5vw,78px); letter-spacing:-.07em; margin-bottom:22px; }
 .home-hero .hero-description { font-size:14px; padding:0; max-width:29em; }
 .home-hero .actions { margin-top:22px; }
 .home-hero .button { min-height:46px; padding:10px 24px; }
 .home-hero .home-demo { margin-top:12px; padding:0; }
 .home-demo .demo-window { transform:rotateZ(1deg); }
 .home-demo #playground-tip { font-size:11px; margin-top:20px; }
 .home-demo .demo-toolbar button { font-size:11px; }
 .season-stage { padding-inline:24px; }
 .season-stage.season-pinned { min-height:640px; padding-block:18px 10px; }
 .season-stage .season-intro { flex-direction:row; gap:12px; flex-wrap:wrap; margin:0; }
 .season-stage .season-intro :is(h1,h2) { font-size:20px; }
 .season-stage .season-tabs { width:100%; }
 .season-stage .season-tab { font-size:17px; padding-block:7px; min-height:44px; }
 .season-stage .season-panel { display:grid; grid-template-columns:1fr; grid-template-rows:minmax(180px,1fr) auto; min-height:560px; }
 .season-pinned .season-panel { min-height:0; }
 .season-stage .season-media { grid-row:1; max-height:none; min-height:0; aspect-ratio:auto; }
 .season-stage .season-glyph { font-size:230px; }
 .season-stage .season-poster,.season-stage .season-live { inset:-14% -10%; height:128%; object-fit:contain; }
 .season-stage .season-copy { grid-row:2; align-self:end; padding:4px 0 22px; }
 .season-stage .season-label { font-size:12px; margin-bottom:10px; }
 .season-stage .season-title { font-size:clamp(30px,8.1vw,44px); max-width:none; margin-bottom:14px; }
 .season-stage .season-description { font-size:13px; line-height:1.85; max-width:30em; }
 .season-stage .season-actions { margin-top:18px; font-size:12px; gap:18px; }
 .season-stage .season-actions .season-play { min-height:44px; padding:10px 20px; }
 .season-bottom { padding-top:4px; font-size:11px; }
 .season-bottom > span { display:none; }
 .season-bottom > div { width:100%; justify-content:space-between; }
 .season-bottom button { font-size:11px; }
 .season-stage .season-video { inset:0; height:100%; }
 .home-featured { padding-block:62px; }
 .home-featured .effect-grid { grid-template-columns:1fr; gap:32px; }
 .home-featured .effect-media { aspect-ratio:1.65; }
 .home-featured .card-caption { display:flex; }
 .home-featured .card-caption h3 { font-size:22px; }
 .home-featured .section-heading h2 { font-size:28px; }
 .snow-story.section,.install-callout.section { padding-block:60px; }
}
@media (max-height:700px) and (min-width:701px) {
 .season-stage.season-pinned { min-height:480px; padding-block:16px; }
 .season-stage .season-title { font-size:44px; margin-bottom:18px; }
 .season-stage .season-label { margin-bottom:12px; }
 .season-stage .season-copy { padding-block:20px; }
 .season-stage .season-actions { margin-top:18px; }
}
@media (max-height:639px) and (max-width:700px), (max-height:479px) {
 .season-scroll-track { height:auto; }
 .season-stage.season-pinned { position:relative; height:auto; min-height:100svh; }
 .season-stage .season-panel { min-height:540px; }
 .season-stage .season-scroll-hint { display:none; }
}
@media (prefers-reduced-motion:reduce) {
 .season-stage,.season-stage .season-tabs::after { transition:none; }
 .season-stage .season-panel.is-entering,.season-stage .season-panel.is-entering .season-copy { animation:none; }
 .season-stage .season-glyph { transform:none; }
}
