/* Owner-approved reference treatment for the homepage only. */
:root{color-scheme:dark;--ink:#eaf7ff;--muted:#a9c7d9;--accent:#29b3ee;--line:#a5d7f229;--gold:#6dcaff;--header-height:clamp(84px,6.1vw,112px)}
body.home-night{background:#01060d;color:#eaf7ff}
.home-night::before{background:radial-gradient(ellipse at 90% 6%,#06203a 0%,#010914 43%,#000 78%);filter:none}
.shell{width:min(1560px,calc(100% - clamp(40px,15.2vw,280px)))}
.topbar{background:linear-gradient(110deg,#020911,#03172a);border-bottom:1px solid #a5d7f23b;backdrop-filter:none;-webkit-backdrop-filter:none}
.nav{min-height:var(--header-height)}
.home-brand-crop{position:relative;display:block;width:clamp(190px,15.4vw,284px);aspect-ratio:284/82;overflow:hidden;mix-blend-mode:screen}
.home-brand-crop .site-logo{position:absolute;display:block;max-width:none;width:648.943662%;height:auto;left:-61.267606%;top:-24.390244%}
.account-actions{gap:16px}
.account-button,.login-button{min-height:48px;font-size:14px;padding:12px 22px;border-radius:22px}
.account-button{border-color:#bdd7ecb0;background:#07172980;color:#f0f7ff}
.account-button:hover{background:#10314b}
.login-button{border-color:#5bc7fb;background:linear-gradient(180deg,#54c1f5,#1ca5e5);color:#fff;box-shadow:inset 0 1px #ffffff40}
.login-button:hover{background:linear-gradient(180deg,#73cff9,#33b4ee)}
.hero{min-height:0;padding:0 0 66px;overflow:hidden;background:linear-gradient(90deg,#000 0%,#00040b 55%,#03172a 100%)}
.hero-stage{display:flex;align-items:center;min-height:clamp(590px,calc(100svh - var(--header-height)),840px);gap:0}
.hero-inner{position:relative;z-index:2;flex:0 0 54%;max-width:740px;padding:70px 0;text-shadow:none}
.hero-audience{margin-bottom:30px;color:#cceaf8;font-size:clamp(10px,.85vw,16px);letter-spacing:.085em;font-weight:450;line-height:1.6}
.hero h1{margin:0;font-size:inherit;line-height:1;letter-spacing:normal}
.reference-title{position:relative;display:block;width:min(100%,clamp(330px,28vw,515px));aspect-ratio:515/279;overflow:hidden}
.reference-title img{position:absolute;display:block;max-width:none;width:357.864078%;height:auto;left:-26.407767%;top:-94.623656%}
.screen-reader-text{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.pilot-caption{margin:24px 0 0;gap:20px;font-size:clamp(23px,1.85vw,34px);font-weight:300;color:#c7eafa}
.pilot-caption::before{width:43px;background:#a7d9ed}
.hero-aircraft{position:absolute;inset:auto;right:calc((100% - 100vw)/2);top:50%;transform:translateY(-50%);width:min(56vw,1080px);height:auto;aspect-ratio:973/739;min-height:0;background-image:url('home-night-reference-v1-582ac12e90.webp');background-size:189.414183% 115.426252%;background-position:right bottom;background-repeat:no-repeat;mask-image:linear-gradient(to right,transparent,#000 12%,#000);-webkit-mask-image:linear-gradient(to right,transparent,#000 12%,#000);z-index:0}
.hero-aircraft img{display:none}
.hero-actions{display:flex;align-items:center;gap:28px;margin-top:40px}
.start-learning{display:inline-flex;align-items:center;justify-content:center;gap:26px;min-height:62px;padding:14px 27px;border:1px solid #62d0ff;border-radius:18px;background:linear-gradient(180deg,#56c6f6,#12a5e5);font-size:clamp(17px,1.2vw,22px);font-weight:700;line-height:1.3;color:#032139;white-space:nowrap;box-shadow:inset 0 1px #ffffff50}
.start-learning:hover{background:linear-gradient(180deg,#80d8fc,#35b9ee)}
.start-learning svg{width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:1.8;flex:none}
.access-caption{padding-left:26px;border-left:1px solid #73c1e345;max-width:300px;font-size:13px;line-height:1.5;color:#d4efff}
.access-caption strong{display:inline-block;padding:4px 12px;border-radius:99px;background:#0a3b63;color:#fff;font-size:11px;letter-spacing:.025em}
.access-caption p{margin:7px 0 0}
.course-navigation{background:linear-gradient(135deg,#071b2cec,#09243be8);border-color:#a4d6f02b;box-shadow:0 18px 65px #0005;backdrop-filter:none;-webkit-backdrop-filter:none;scroll-margin-top:24px}
.course-entry{color:#eff8ff}
.course-entry:hover{background:#17395294}
.course-entry+.course-entry::before{background:linear-gradient(transparent,#7bbadb66,transparent)}
.course-entry svg{stroke:#b7e2ff}
.course-entry svg path[fill]{fill:#b7e2ff}
.course-entry .icon-solid{fill:#d54b47}.course-entry .icon-accent{stroke:#d54b47}
.course-entry small{color:#a9c7d9}.course-entry small b{color:#75d1fa}
.footer{background:linear-gradient(130deg,#04111d,#092132);border-top:1px solid #a4d6f024}
.access-dialog{color:#eaf7ff;background:#071b2b;border-color:#9bc7df45}
.access-dialog::backdrop{background:#000b}
.dialog-close{color:#eaf7ff;background:#102e45;border-color:#9bc7df45}
.access-dialog p,.access-form small{color:#b9d4e4}
.access-form input,.access-form textarea{background:#04101d;border-color:#88b4cd66;color:#fff}
.access-status a{color:#77d1fa}
@media(max-width:1050px){.shell{width:calc(100% - 64px)}.hero-inner{flex-basis:62%;padding:64px 0}.hero-audience{max-width:390px}.hero-actions{gap:18px;align-items:stretch;flex-direction:column}.start-learning{align-self:flex-start}.access-caption{border-left:0;padding:0;max-width:310px}.hero-aircraft{width:62vw}.hero-stage{min-height:680px}}
@media(max-width:620px){.shell{width:calc(100% - 32px)}.nav{padding:15px 0;gap:14px}.home-brand-crop{width:172px}.account-actions{gap:8px}.account-button,.login-button{font-size:12px;min-height:44px;padding:9px 12px;border-radius:17px}.hero-stage{display:flex;align-items:stretch;flex-direction:column;min-height:0;padding:0;gap:0}.hero-inner{max-width:none;padding:52px 0 0;flex:auto}.hero-audience{font-size:10px;margin-bottom:24px;max-width:100%;letter-spacing:.07em}.reference-title{width:min(100%,420px)}.pilot-caption{font-size:23px;margin-top:22px;gap:14px}.pilot-caption::before{width:30px}.hero-actions{margin-top:28px;gap:18px;flex-direction:column}.start-learning{width:100%;min-height:56px;font-size:18px;border-radius:15px}.access-caption{max-width:100%;font-size:13px}.access-caption p{margin-top:6px}.hero-aircraft{position:relative;inset:auto;transform:none;width:calc(100% + 32px);max-width:none;margin:18px -16px 0;aspect-ratio:973/739;height:auto;mask-image:linear-gradient(transparent,#000 13%,#000 85%,transparent);-webkit-mask-image:linear-gradient(transparent,#000 13%,#000 85%,transparent)}.hero{padding-bottom:42px}.course-navigation{padding:8px}.course-entry+.course-entry::before{background:#79b6d133}.footer-row{grid-template-columns:minmax(0,1fr)}.creator-card{max-width:100%}}
@media(max-width:400px){.account-actions{width:100%}.account-button{flex:1}.hero-inner{padding-top:38px}.home-brand-crop{width:180px}}

/* Approved compact footer: legal information left, original portrait and contacts right. */
.footer.compact-footer{padding:24px 0;background:linear-gradient(130deg,#04111d,#092132);border:0}.compact-footer .footer-row{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:20px 36px}.compact-footer .footer-legal{margin:0;padding:0;border:0;min-width:0;font-size:13px;line-height:1.65;color:#d2e3ec}.compact-footer .footer-legal p{margin:0 0 7px;max-width:80ch}.compact-footer .footer-legal a{min-height:36px;color:#a7d7f4}.compact-footer .footer-contact{justify-self:end;gap:14px;max-width:100%;border:0;background:none;box-shadow:none}.compact-footer .footer-contact img{width:84px;height:84px;flex:0 0 84px}.compact-footer .creator-card-text{display:flex;flex-direction:column;gap:0;min-width:0;font-size:14px}.compact-footer .creator-card-text a{display:flex;min-height:36px;color:#a7d7f4;overflow-wrap:anywhere}.compact-footer a:hover{color:#fff;text-decoration:underline}@media(max-width:760px){.compact-footer .footer-row{grid-template-columns:minmax(0,1fr);gap:20px}.compact-footer .footer-contact{justify-self:start}.footer.compact-footer{padding:22px 0}.compact-footer .footer-legal{font-size:12px}.compact-footer .footer-contact img{width:78px;height:78px;flex-basis:78px}.compact-footer .creator-card-text{font-size:13px}}

.compact-footer .creator-name{font-size:14px;font-weight:650;line-height:1.5;color:#eaf6ff;margin-bottom:3px}

/* Fourth owner-requested direction; retain the established navigation style. */
.course-navigation{grid-template-columns:repeat(4,minmax(0,1fr))}
.course-entry{min-width:0}.course-entry>span{overflow-wrap:normal}
@media(min-width:621px) and (max-width:1000px){.course-navigation{grid-template-columns:repeat(2,minmax(0,1fr))}.course-entry:nth-child(3)::before{display:none}.course-entry:nth-child(n+3){border-top:1px solid #79b6d133}}
@media(max-width:620px){.course-navigation{grid-template-columns:1fr}}

/* Three visible directions are centered after moving technical preparation. */
.course-navigation{grid-template-columns:repeat(3,minmax(0,1fr));justify-content:center}.course-entry[hidden]{display:none!important}.course-entry:nth-child(n){border-top:0}.course-entry:nth-child(3)::before{display:block}
@media(min-width:621px) and (max-width:1000px){.course-navigation{grid-template-columns:repeat(3,minmax(0,1fr))}.course-entry{padding-inline:8px}.course-entry>span{font-size:14px;letter-spacing:.02em}}
@media(max-width:620px){.course-navigation{grid-template-columns:1fr}.course-entry{align-items:center;justify-content:center;text-align:center}.course-entry>span{text-align:center;justify-content:center}.course-entry:nth-child(n)::before{display:none}}

.footer-contact .contact-platform{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:12px 24px;background:#176d88;color:#fff;border-radius:12px;text-decoration:none;font-weight:700}@media(max-width:700px){.footer-contact{padding-bottom:80px}}

/* Four main directions, restored by the owner. */
.course-navigation{grid-template-columns:repeat(4,minmax(0,1fr))}@media(min-width:621px) and (max-width:1000px){.course-navigation{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:620px){.course-navigation{grid-template-columns:1fr}}
