.home-page{font-family:"Segoe UI",Tahoma,sans-serif;--home-ink:#102f46;--home-teal:#076365;--home-mint:#aeebca;--home-pale:#e9f6f3;color:var(--home-ink)}
.home-page [hidden]{display:none!important}.home-wrap,.home-nav{width:min(1180px,calc(100% - 2.5rem));margin-inline:auto}
.home-header{background:#fff;border-block-end:1px solid #deecea}.home-nav{min-height:76px;display:flex;align-items:center;gap:1.3rem;flex-wrap:wrap;padding-block:.65rem}
.home-nav .brand-logo{display:block;width:152px}.home-nav nav{display:flex;gap:1.25rem;align-items:center;margin-inline-end:auto}.home-nav a{color:inherit;font-weight:700;text-decoration:none}
.home-language{display:flex;gap:.35rem;align-items:center}.home-language label{margin:0;color:inherit}.home-language select{padding:.5rem;border:1px solid #bbd7d6;border-radius:.55rem;font:inherit}
.home-nav .home-login{border:1px solid #bcdad3;border-radius:999px;padding:.62rem 1.18rem}
.home-hero{background:radial-gradient(ellipse at 85% 25%,#187d76,transparent 60%),linear-gradient(125deg,#103d59,#075a60);color:white;padding-block:clamp(2.7rem,7vw,6rem) 1.45rem}
.home-lead{display:grid;grid-template-columns:1.02fr 1fr;gap:3rem;align-items:center;min-height:310px}
.home-lead h1{font-size:clamp(2.6rem,5.25vw,4.7rem);line-height:1.02;letter-spacing:-.04em;margin:0;max-width:13ch}
.home-lead p{font-size:clamp(1rem,1.65vw,1.25rem);line-height:1.55;max-width:46ch;margin:1.2rem 0 1.45rem}
.home-actions{display:flex;gap:1rem;align-items:center;flex-wrap:wrap}.home-actions a,.home-benefits a{color:#fff;text-decoration:none;font-weight:750}
.home-actions .home-cta{background:var(--home-mint);color:#103b39;padding:.8rem 1.35rem;border-radius:999px}
.home-books{position:relative;display:grid;place-items:center;min-height:310px;isolation:isolate}.home-books:before{content:"";position:absolute;width:80%;aspect-ratio:1.45;border-radius:48%;background:#82d9b52b;transform:rotate(-8deg)}
.home-book{--angle:0deg;--offset:0%;grid-area:1/1;width:clamp(110px,16vw,210px);aspect-ratio:.74;display:flex;flex-direction:column;justify-content:space-between;padding:1.1rem;border:1px solid #ffffff70;border-inline-start:8px solid #102f4640;border-radius:.5rem 1rem 1rem .5rem;color:#132c4c;background:linear-gradient(145deg,#fff0be,#eab55d);box-shadow:0 18px 36px #031f35a0;transform:translateX(var(--offset)) rotate(var(--angle));animation:home-float 5s ease-in-out infinite}
.home-book b{font-size:clamp(2.5rem,7vw,5.4rem)}.home-book span{font-size:clamp(.78rem,1.7vw,1.25rem);font-weight:800}
.home-book:nth-child(1){--angle:-13deg;--offset:-65%;background:linear-gradient(145deg,#d9f5ff,#79bdde);animation-delay:-2s}
.home-book:nth-child(2){--angle:13deg;--offset:65%;background:linear-gradient(145deg,#dcf6eb,#75cfaa);animation-delay:-1s}
@keyframes home-float{50%{transform:translate(var(--offset),-.7rem) rotate(var(--angle))}}
.home-benefits{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem;margin-top:3rem}.home-benefits a{border-radius:1rem;background:#ffffff24;padding:1rem 1.25rem}
.home-section,.home-features{padding-block:2.5rem}.home-section h2,.home-features h2{font-size:clamp(1.7rem,3.5vw,2.6rem);margin:0 0 .7rem}
.home-subject-line{display:flex;align-items:center;gap:.65rem}.home-subjects{display:flex;gap:.65rem;list-style:none;overflow:auto;scroll-snap-type:inline mandatory;margin:0;padding:.45rem .2rem;flex:1;min-width:0}
.home-subjects li{display:flex;align-items:center;gap:.55rem;flex:none;scroll-snap-align:start;padding:.8rem 1rem;background:var(--home-pale);border-radius:.8rem;font-weight:700}.home-subjects b{color:var(--home-teal)}
#home-next{border:0;background:#d4eee5;color:#124b48;border-radius:50%;width:44px;height:44px;font-size:1.5rem;cursor:pointer}
.home-features{display:grid;gap:2.7rem}.home-features section{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:clamp(1rem,6vw,5rem)}
.home-features section:nth-child(even) .home-demo{order:2}.home-features p{line-height:1.65}.home-features a{color:var(--home-teal);font-weight:750}.home-demo{min-height:185px;border-radius:1.4rem;background:linear-gradient(130deg,#d8eee9,#dce9ff);display:grid;align-content:center;justify-items:center;gap:.65rem;padding:1.5rem;color:#133753}
.home-demo div{background:white;border-radius:.7rem;padding:.5rem 1.4rem;font-size:1.45rem;font-weight:750;box-shadow:0 3px 14px #14374919}
.home-page .portal{width:min(1180px,100%);box-sizing:border-box}
html[data-theme=dark] .home-page{--home-pale:#192c39;--home-teal:#a9e7ce}.home-page .home-cta:hover,.home-page .home-login:hover{filter:brightness(.94)}
html[data-theme=dark] .home-header{background:#131b27;border-color:#35415c}html[data-theme=dark] .home-hero a:not(.home-cta){color:white}
@media(max-width:700px){.home-nav nav{order:3;width:100%;flex-wrap:wrap;gap:.7rem}.home-nav{gap:.7rem}.home-nav .brand-logo{width:120px}.home-lead,.home-features section{grid-template-columns:1fr;gap:1.15rem}.home-books{min-height:220px}.home-benefits{margin-top:1.5rem;gap:.4rem}.home-benefits a{padding:.65rem;font-size:.85rem}.home-features section:nth-child(even) .home-demo{order:0}}
@media(prefers-reduced-motion:reduce){.home-book{animation:none}}
.home-footer{border-block-start:1px solid #c2ddd7;background:var(--home-pale);padding-block:1.6rem 3.4rem}
.home-footer .home-wrap,.home-footer-languages{display:flex;gap:.65rem;align-items:center;flex-wrap:wrap}
.home-footer .home-wrap{justify-content:space-between}
.home-footer-languages button{border:1px solid #aacfc8;border-radius:999px;background:transparent;color:inherit;font:inherit;padding:.48rem .85rem;min-height:44px;cursor:pointer}
.home-footer-languages button[aria-pressed="true"]{background:#076365;color:#fff;border-color:#076365}
.home-footer-languages button:focus-visible{outline:2px solid #578bea;outline-offset:3px}
html[data-theme="dark"] .home-footer{border-color:#35415c}

.home-footer-social{display:flex;gap:.25rem .9rem;align-items:center;flex-wrap:wrap}
.home-footer-social a{color:inherit;display:inline-flex;align-items:center;min-height:44px;text-underline-offset:.18em}
.home-footer-social a:focus-visible{outline:2px solid #578bea;outline-offset:3px}
/* Three routes, one visual hierarchy. Illustrations are original SVG artwork. */
.home-three-routes .home-hero{padding-block:3.5rem 1.5rem}.home-three-routes .home-lead{grid-template-columns:1.05fr 1fr;gap:2rem;min-height:340px}.home-three-routes .home-lead h1{font-size:clamp(2.3rem,4.4vw,4.1rem);max-width:13ch;line-height:1.12}.home-three-routes .home-lead p{max-width:45ch;line-height:1.7}.home-world{position:relative;min-height:340px;isolation:isolate}.home-scene{position:absolute;width:66%;height:auto;filter:drop-shadow(0 18px 18px #062c3d30);animation:routeFloat 6s ease-in-out infinite}.scene-0{inset-inline-start:-1%;top:-1%;transform:rotate(-6deg)}.scene-1{inset-inline-end:-1%;top:25%;animation-delay:-2s;transform:rotate(6deg)}.scene-2{inset-inline-start:4%;bottom:-3%;width:59%;animation-delay:-4s;transform:rotate(-3deg)}
.route-section{padding-block:3.8rem 2rem}.route-heading{display:flex;gap:1.3rem;align-items:center;justify-content:space-between;margin-bottom:1.8rem}.route-heading h2{font-size:clamp(1.8rem,3vw,2.6rem);line-height:1.25;margin:0 0 .6rem}.route-heading p{margin:0;color:#506976;font-size:1.05rem}.route-heading button{flex-shrink:0;font:inherit;min-height:44px;border:1px solid #bcd2d3;background:white;color:#174f5a;border-radius:2rem;padding:.6rem 1rem;cursor:pointer}.route-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.35rem}.route-card{border:1px solid #d3e5df;border-radius:1.4rem;overflow:hidden;background:white;display:flex;flex-direction:column;box-shadow:0 10px 30px #103d5908;transition:transform .2s,box-shadow .2s}.route-card:hover{transform:translateY(-5px);box-shadow:0 18px 35px #103d5914}.route-card>img{display:block;width:100%;height:auto;aspect-ratio:1.6;object-fit:contain;background:#f4faf7;padding:.6rem}.route-secondary>img{background:#f3f5ff}.route-integration>img{background:#fff8ef}.route-copy{padding:1.4rem;display:flex;flex:1;flex-direction:column}.route-copy .route-range{font-size:.9rem;font-weight:650;color:#42665e;margin:0 0 .4rem}.route-copy h3{font-size:1.65rem;line-height:1.25;color:#133b49;margin:.25rem 0 .8rem}.route-copy>p:not(.route-range){font-size:1rem;line-height:1.75;margin:0 0 1.5rem;color:#45616d}.route-start{display:block;text-align:center;margin-top:auto;border:1px solid #b5d9ca;background:#dff3e9;border-radius:.75rem;padding:.85rem .75rem;font-weight:700;text-decoration:none;color:#075b51;line-height:1.45;min-height:48px}.route-secondary .route-start{background:#e8edff;color:#304da4;border-color:#cbd5fb}.route-integration .route-start{background:#fff0df;color:#985224;border-color:#ecd4b5}.route-coverage{font-size:.95rem;line-height:1.7;color:#5a6f77;margin:1.6rem 0 0;max-width:95ch}.show-public-home #start .portal-introduction{display:none}.show-public-home #start #portal-body{display:block}.show-public-home #start .portal-auth{max-width:500px;margin-inline:auto}.home-motion-off .home-scene{animation-play-state:paused!important}.home-motion-off .route-card{transition:none!important}a.route-start:focus-visible,#home-motion:focus-visible{outline:3px solid #e4ae3e;outline-offset:4px}
@keyframes routeFloat{0%,100%{translate:0 0}50%{translate:0 -12px}}
html[data-theme="dark"] .route-card{background:#121f2c;border-color:#2d4150}html[data-theme="dark"] .route-copy h3{color:#f0f5ff}html[data-theme="dark"] .route-copy>p,html[data-theme="dark"] .route-heading p,html[data-theme="dark"] .route-coverage{color:#bbcbd5}html[data-theme="dark"] .route-heading button{background:#172738;color:#d8ecec;border-color:#4a626d}
@media(max-width:850px){.home-three-routes .home-lead{grid-template-columns:1fr 1fr}.home-three-routes .home-lead h1{font-size:2.5rem}.route-grid{gap:.8rem}.route-copy{padding:1rem}.route-copy h3{font-size:1.35rem}.route-start{font-size:.95rem}.home-world{min-height:300px}}
@media(max-width:650px){.home-three-routes .home-lead{grid-template-columns:1fr;gap:.7rem}.home-three-routes .home-lead h1{max-width:18ch;font-size:2.4rem}.home-world{width:100%;max-width:420px;margin-inline:auto;min-height:290px}.home-three-routes .home-hero{padding-top:2.5rem}.route-grid{grid-template-columns:1fr;gap:1.2rem}.route-card>img{max-height:210px}.route-heading{align-items:flex-start;flex-direction:column}.route-copy{padding:1.4rem}.route-copy h3{font-size:1.65rem}.route-section{padding-top:2.5rem}.home-nav nav{gap:.8rem;flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){.home-scene{animation:none!important}.route-card{transition:none!important}.route-card:hover{transform:none}}
/* Keep the login page's decorative bubbles away from the public route cards. */
body.home-three-routes.show-public-home::before,body.home-three-routes.show-public-home::after{display:none!important}
html[data-theme="dark"] .route-primary a.route-start{color:#075b51!important}html[data-theme="dark"] .route-secondary a.route-start{color:#304da4!important}html[data-theme="dark"] .route-integration a.route-start{color:#985224!important}
