@font-face{font-family:"Noto Serif";src:url("assets/noto-serif.woff2") format("woff2");font-style:normal;font-weight:400 700;font-display:swap}
@font-face{font-family:"Noto Sans";src:url("assets/noto-sans.woff2") format("woff2");font-style:normal;font-weight:400 700;font-display:swap}
:root{color-scheme:dark;--forest:#061a13;--forest-2:#09251b;--surface:#102c22;--raised:#193a2e;--gold:#e4bc78;--ivory:#f4ead5;--muted:#bec8be;--line:rgba(228,188,120,.34)}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:24px}
body{margin:0;color:var(--ivory);background-color:var(--forest);background-image:linear-gradient(180deg,rgba(6,26,19,.2),rgba(6,26,19,.84)),url("assets/background-forest.webp");background-size:100% auto;background-position:top center;background-repeat:repeat-y;font:400 16px/1.5 "Noto Serif",Georgia,serif}
img{display:block;max-width:100%;height:auto}
a{color:inherit;text-underline-offset:5px}
a:focus-visible{outline:3px solid var(--gold);outline-offset:4px;border-radius:4px}
.skip-link{position:fixed;z-index:20;left:12px;top:-80px;padding:11px 16px;background:var(--gold);color:var(--forest);font:700 15px/1.4 "Noto Sans",sans-serif}
.skip-link:focus{top:12px}
.shell{width:min(calc(100% - 32px),1160px);margin-inline:auto}
.site-header{border-bottom:1px solid rgba(228,188,120,.16);background:rgba(6,26,19,.68)}
.header-inner{min-height:56px;display:flex;align-items:center;justify-content:space-between;gap:20px}
.brand{display:flex;align-items:center;min-height:44px;text-decoration:none}
.brand img{width:148px}
.header-inner nav,.footer-inner nav{display:flex;align-items:center;gap:4px}
.header-inner nav a,.footer-inner nav a{display:flex;align-items:center;min-height:44px;padding:8px 10px;text-decoration:none;white-space:nowrap}
.header-inner nav a:hover,.footer-inner nav a:hover{text-decoration:underline;color:var(--gold)}
.hero{display:grid;gap:24px;padding-block:44px 24px;align-items:center;overflow:hidden}
.hero-copy h1{margin:0;color:var(--gold);font-size:clamp(36px,11vw,52px);line-height:1.14;font-weight:650;letter-spacing:-.02em}
.gold-rule{display:block;width:76px;height:2px;margin:18px 0;background:var(--gold)}
.hero-copy p{max-width:520px;margin:0;font-size:clamp(18px,5vw,23px);line-height:1.55}
.hero-art{display:flex;justify-content:center}
.hero-art img{width:min(100%,620px);filter:drop-shadow(0 24px 30px rgba(0,0,0,.28))}
.section{padding-block:32px}
.section-title{display:flex;align-items:center;justify-content:center;gap:20px;margin:0 0 24px;color:var(--gold);font-size:clamp(28px,7vw,36px);line-height:1.22;text-align:center;font-weight:650}
.section-title::before,.section-title::after{content:"";width:min(80px,12vw);height:1px;background:var(--gold)}
.lesson-grid,.three-grid{display:grid;gap:16px}
.card{position:relative;overflow:hidden;border:1px solid var(--line);border-radius:16px;background:linear-gradient(145deg,rgba(16,44,34,.97),rgba(8,31,23,.97));box-shadow:0 14px 30px rgba(0,0,0,.14)}
.lesson{padding:18px 16px 20px;text-align:center}
.lesson .number{position:absolute;z-index:2;top:14px;left:14px;display:grid;place-items:center;width:44px;height:44px;border:2px solid var(--gold);border-radius:50%;background:rgba(6,26,19,.82);color:var(--gold);font-size:24px}
.lesson img{width:100%;aspect-ratio:4/3;object-fit:contain;margin-bottom:4px}
.card h3{margin:8px 0 4px;font-size:20px;line-height:1.4;font-weight:600}
.card p{margin:0;color:var(--muted);font:400 15px/1.55 "Noto Sans",system-ui,sans-serif}
.mode-card{min-height:238px;padding:24px 18px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}
.mode-card .sphere-icon{width:92px;height:92px;object-fit:contain}
.mode-card .pair-icon{width:170px;height:86px;object-fit:contain}
.mode-card .line-icon{width:76px;height:76px;margin:9px}
.feature-card{min-height:190px;padding:22px;display:flex;align-items:center;gap:20px}
.feature-card>img{flex:0 0 72px;width:72px;max-height:80px;object-fit:contain}
.feature-card h3{color:var(--gold)}
footer{margin-top:40px;border-top:1px solid rgba(228,188,120,.48);background:rgba(4,19,14,.64)}
.footer-inner{min-height:116px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.footer-inner>img{width:144px}
@media(max-width:600px){.header-inner{align-items:flex-start;padding-block:9px;flex-direction:column;gap:2px}.header-inner nav{width:100%;overflow-x:auto}.header-inner nav a{padding-inline:8px;font-size:14px}.hero{padding-top:36px}.feature-card{min-height:0}.footer-inner{padding-block:24px;align-items:flex-start;flex-direction:column}.footer-inner nav{flex-wrap:wrap}}
@media(min-width:480px){.shell{width:min(calc(100% - 40px),1160px)}.lesson-grid{grid-template-columns:repeat(2,1fr)}.three-grid{grid-template-columns:repeat(2,1fr)}.three-grid>*:last-child{grid-column:1/-1}}
@media(min-width:768px){.shell{width:min(calc(100% - 64px),1160px)}.header-inner{min-height:72px}.brand img{width:190px}.hero{grid-template-columns:42fr 58fr;padding-block:54px 34px}.hero-art{order:2}.section{padding-block:48px}.three-grid{grid-template-columns:repeat(3,1fr)}.three-grid>*:last-child{grid-column:auto}.feature-card{display:block;text-align:center}.feature-card>img{margin:0 auto 12px}.footer-inner{min-height:128px}}
@media(min-width:1024px){.hero{padding-block:70px 42px}.section{padding-block:72px}.lesson-grid{grid-template-columns:repeat(4,1fr)}.lesson{padding-inline:14px}.feature-card{padding:26px 20px}.card{transition:border-color .18s ease,transform .18s ease}.card:hover{border-color:rgba(228,188,120,.58);transform:translateY(-2px)}}
@media(max-width:760px) and (min-resolution:1dppx){.section-title::before,.section-title::after{display:none}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.card{transition:none}}
@media(forced-colors:active){.card{border:1px solid CanvasText}.section-title::before,.section-title::after,.gold-rule{background:CanvasText}}
