/* Editorial homepage. Course tokens supply the material; this file only owns its layout. */
html{scroll-behavior:smooth}
.home-page :is(.home-hero,.home-editorial-section,#home-title){scroll-margin-top:104px}
.home-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.home-skip{position:fixed;z-index:10000;top:12px;left:16px;transform:translateY(-160%);padding:12px 18px;border:2px solid var(--ecg-ui-focus);border-radius:8px;background:var(--ecg-ui-bg);color:var(--ecg-ui-text)}
.home-skip:focus{transform:none}
.home-page .home-eyebrow{display:flex;align-items:center;gap:10px;margin:0;color:var(--ecg-ui-silver);font:650 11px/1.5 'Segoe UI',Arial,sans-serif;letter-spacing:.13em}
.home-hero{position:relative;display:grid;grid-template-columns:minmax(0,.94fr) minmax(0,1.06fr);align-items:center;isolation:isolate;min-height:450px;padding-block:20px 32px}
.home-hero__copy{position:relative;z-index:1;min-width:0;padding-block:16px}
.home-hero .home-eyebrow>span{width:20px;height:2px;flex-shrink:0;background:var(--ecg-ui-brand)}
.home-page .home-hero h1{margin:23px 0 19px;max-width:19ch;color:var(--ecg-ui-silver-bright);font:700 clamp(35px,3.5vw,49px)/1.14 'Segoe UI',Arial,sans-serif;letter-spacing:-.04em;text-align:left;text-shadow:none;text-transform:none}
.home-hero h1>span{color:var(--ecg-ui-text)}
.home-page .home-hero__description{max-width:40ch;margin:0;color:var(--ecg-ui-muted);font:17px/1.7 'Segoe UI',Arial,sans-serif}
.home-hero__actions{display:flex;align-items:center;flex-wrap:wrap;gap:14px 22px;margin-top:27px}
.home-page .home-action{min-height:54px}

.home-page .home-quiet-link{display:inline-flex;align-items:center;justify-content:center;gap:11px;min-height:44px;padding:6px 0;color:var(--ecg-ui-silver);font:600 14px/1.4 'Segoe UI',Arial,sans-serif;text-decoration:none;touch-action:manipulation}
.home-page :is(.home-action,.home-quiet-link,.home-course-go) svg{width:20px;height:20px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.home-hero__scene{position:relative;width:116%;margin-left:-10%;pointer-events:none;-webkit-mask-image:linear-gradient(90deg,transparent,#000 18%,#000 93%,transparent);mask-image:linear-gradient(90deg,transparent,#000 18%,#000 93%,transparent)}
.home-hero__scene img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:contain;image-rendering:auto;filter:saturate(.72)}
.home-hero__scene::after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,var(--ecg-ui-bg),transparent 22%,transparent 70%,var(--ecg-ui-bg));pointer-events:none}
.home-editorial-section{margin-top:12px;padding-top:27px;border-top:1px solid rgb(var(--ecg-ui-silver-rgb) / 25%)}
.home-section-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 0 22px}
.home-page .home-section-heading h2{margin:7px 0 0;color:var(--ecg-ui-silver-bright);font:650 25px/1.3 'Segoe UI',Arial,sans-serif;letter-spacing:-.025em;text-shadow:none}
.home-course-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:20px}
.home-course-card{display:flex;flex-direction:column;align-items:center;gap:22px;min-width:0;padding:23px;border:1px solid #899cbb47;border-top-color:var(--ecg-ui-line-strong);border-bottom:4px solid #080e19;border-radius:15px;background:var(--ecg-ui-action-bg);box-shadow:inset 0 1px #eef5ff12,0 3px #050b13,0 8px 16px #0003;color:var(--ecg-ui-text);text-decoration:none;text-align:center;touch-action:manipulation;transition:transform .25s ease,border-color .3s ease,box-shadow .3s ease}
.home-course-card:only-child{display:grid;grid-template-columns:176px minmax(0,1fr) 198px}
.home-course-art{display:grid;place-items:center;grid-template-rows:minmax(0,1fr);width:176px;max-width:100%;height:150px;padding:16px;box-sizing:border-box;border:1px solid #7084a128;border-top-color:#050b1680;border-radius:11px;background:var(--ecg-ui-inset-bg);box-shadow:inset 0 3px 9px #0006,0 1px #dee8ff12}
.home-course-art img{width:100%;height:100%;min-height:0;object-fit:contain;image-rendering:pixelated}
.home-course-copy{min-width:0}
.home-tier{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-height:26px;padding:4px 12px;border:1px solid var(--ecg-ui-line-strong);border-radius:5px;font:750 10px/1.5 'Segoe UI',Arial,sans-serif;letter-spacing:.14em}
.home-tier--silver{background:linear-gradient(115deg,#c3cdd7,#e0e6ec 55%,#afbdcb);color:#1b2938;box-shadow:inset 0 1px 3px #08142130}
.home-page .home-course-copy h3{margin:11px 0 7px;color:var(--ecg-ui-silver-bright);font:650 23px/1.3 'Segoe UI',Arial,sans-serif;letter-spacing:-.025em}
.home-page .home-course-copy p{max-width:46ch;margin:0 auto;color:var(--ecg-ui-muted);font:15px/1.6 'Segoe UI',Arial,sans-serif}
.home-course-models{display:block;margin-top:12px;color:var(--ecg-ui-silver);font:600 11px/1.5 'Segoe UI',Arial,sans-serif;letter-spacing:.045em}
.home-course-entry{display:flex;flex-direction:column;gap:11px;align-items:center;justify-content:center;min-width:0;width:100%}
.home-course-go{display:flex;align-items:center;justify-content:center;gap:13px;width:100%;min-height:48px;padding:10px;box-sizing:border-box;border:1px solid #7084a140;border-top-color:#050b1680;border-radius:8px;background:#0c152470;box-shadow:inset 0 2px 6px #0005,0 1px #dee8ff0a;color:var(--ecg-ui-silver-bright);font:650 14px/1.4 'Segoe UI',Arial,sans-serif}
.home-course-entry>span:last-child{font:13px/1.6 'Segoe UI',Arial,sans-serif;color:var(--ecg-ui-muted)}
.home-page .home-guide-note{display:flex;align-items:center;gap:9px;margin:18px 0 0;color:var(--ecg-ui-muted);font:13px/1.6 'Segoe UI',Arial,sans-serif}
.home-guide-note>span{display:grid;place-items:center;flex:0 0 17px;width:17px;height:17px;border:1px solid var(--ecg-ui-border-soft);border-radius:50%;font-size:11px;color:var(--ecg-ui-silver)}
.home-tools{margin-top:36px}
.home-tool-layout{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1fr) minmax(170px,.65fr);align-items:center;gap:30px}
.home-tool-scene{overflow:hidden;border-radius:12px;background:var(--ecg-ui-inset-bg);box-shadow:inset 0 2px 7px #0005}
.home-tool-scene img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:contain;image-rendering:auto}
.home-tool-copy{min-width:0}
.home-tool-type{color:var(--ecg-ui-silver);font:650 10px/1.5 'Segoe UI',Arial,sans-serif;letter-spacing:.09em}
.home-page .home-tool-copy h3{margin:8px 0 9px;color:var(--ecg-ui-silver-bright);font:650 26px/1.3 'Segoe UI',Arial,sans-serif;letter-spacing:.015em}
.home-page .home-tool-copy>p{margin:0;color:var(--ecg-ui-muted);font:15px/1.65 'Segoe UI',Arial,sans-serif}
.home-tool-facts{display:flex;flex-wrap:wrap;gap:5px 15px;margin:13px 0 19px;font:13px/1.6 'Segoe UI',Arial,sans-serif;color:var(--ecg-ui-silver)}
.home-tool-facts>span::before{content:'·';margin-right:7px;color:var(--ecg-ui-accent-soft)}
.home-tool-note{align-self:stretch;display:flex;flex-direction:column;justify-content:center;gap:10px;padding:18px;border:1px solid #7084a128;border-top-color:#050b1680;border-radius:11px;background:#0c15244d;box-shadow:inset 0 2px 7px #0005,0 1px #dee8ff0a;color:var(--ecg-ui-silver)}
.home-tool-symbol svg{width:27px;height:27px;fill:none;stroke:var(--ecg-ui-silver);stroke-width:1.3;stroke-linecap:round;stroke-linejoin:round}
.home-tool-note strong{font:650 14px/1.5 'Segoe UI',Arial,sans-serif}
.home-page .home-tool-note p{margin:0;color:var(--ecg-ui-muted);font:14px/1.6 'Segoe UI',Arial,sans-serif}
.home-page :is(.home-action,.home-quiet-link,.home-course-card):focus-visible{outline:2px solid var(--ecg-ui-focus);outline-offset:5px}
.home-page :is(#home-title,.home-tools):focus:not(:focus-visible){outline:none}
@media(hover:hover){
 .home-page .home-action:hover{transform:translateY(-2px);filter:brightness(1.1);border-color:var(--ecg-ui-accent-soft)}
 .home-page .home-quiet-link:hover{color:var(--ecg-ui-accent-soft);text-decoration:underline;text-underline-offset:4px}
 .home-course-card:hover{transform:translateY(-2px);border-color:var(--ecg-ui-accent-soft);box-shadow:inset 0 1px #eef5ff20,0 3px #050b13,0 8px 24px var(--ecg-ui-accent-shadow)}
 .home-course-card:hover .home-course-go{color:var(--ecg-ui-accent-soft)}
}
.home-page .home-action:active,.home-course-card:active{transform:translateY(1px)}
@media(max-width:1000px){
 .home-hero{min-height:380px;grid-template-columns:1fr 1fr}
 .home-page .home-hero h1{font-size:36px}
 .home-hero__scene{width:110%;margin-left:-7%}
 .home-course-card:only-child{grid-template-columns:142px minmax(0,1fr) 170px;gap:18px;padding:20px}
 .home-course-art{width:142px;height:142px;padding:12px}
 .home-page .home-course-copy h3{font-size:21px}
 .home-tool-layout{grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:25px}
 .home-tool-note{grid-column:1/-1;display:grid;grid-template-columns:27px auto minmax(0,1fr);align-items:center;gap:13px;padding:14px 17px}
}
@media(max-width:700px){
 .home-hero{display:flex;flex-direction:column;align-items:stretch;gap:0;min-height:0;padding:6px 0 10px}
 .home-hero__copy{padding:0}
 .home-page .home-hero h1{font-size:clamp(29px,7.9vw,40px);margin:19px 0 15px;line-height:1.18;max-width:none;letter-spacing:-.035em}
 .home-page .home-hero__description{font-size:16px;line-height:1.65;max-width:36ch}
 .home-hero__actions{margin-top:21px;gap:9px 18px}
 .home-page .home-hero__actions .home-action{min-height:54px}
 .home-page .home-quiet-link{font-size:14px}
 .home-hero__scene{width:100%;max-width:400px;margin:5px auto 0;-webkit-mask-image:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent);mask-image:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent)}
 .home-editorial-section{margin-top:0;padding-top:23px}
 .home-section-heading{align-items:flex-start;flex-direction:column;gap:8px;margin-bottom:17px}
 .home-page .home-section-heading h2{font-size:22px;line-height:1.35;max-width:25ch}
 .home-course-card:only-child{display:flex;flex-direction:column;padding:20px 17px;gap:17px}
 .home-course-art{width:172px;height:135px;padding:13px}
 .home-page .home-course-copy h3{font-size:22px}
 .home-tier{min-height:27px;font-size:11px}
 .home-course-entry{gap:12px}.home-course-go{min-height:50px}
 .home-course-entry>span:last-child{font-size:14px}
 .home-page .home-guide-note{align-items:flex-start;font-size:14px;margin-top:16px}.home-guide-note>span{margin-top:3px}
 .home-tools{margin-top:30px}
 .home-tool-layout{grid-template-columns:minmax(0,1fr);gap:23px}
 .home-tool-scene{width:min(100%,360px);margin-inline:auto}
 .home-tool-copy{text-align:center}
 .home-page .home-tool-copy h3{font-size:25px}
 .home-tool-facts{justify-content:center}
 .home-tool-copy .home-action{min-height:54px}
 .home-tool-note{display:grid;grid-template-columns:27px 1fr;gap:8px 13px;padding:16px}
 .home-tool-note p{grid-column:2}
 .home-page .home-tool-note p{font-size:15px}
}
@media(max-width:370px){.home-page .home-hero .home-eyebrow{font-size:10px;letter-spacing:.08em}.home-hero__actions{display:grid;grid-template-columns:1fr;gap:4px}.home-hero__actions .home-quiet-link{justify-self:center}.home-course-card:only-child{padding-inline:14px}.home-page .home-section-heading h2{font-size:21px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.home-page :is(.home-action,.home-course-card){transition:none;transform:none!important}}
