/* Væringjar II / HOME-03: mission capability and model validity, home-only. */
body.strict-template-v1.modular-home-page{background:#050a07!important;min-height:100svh;display:flex;flex-direction:column;overflow-x:hidden;}
body.strict-template-v1.modular-home-page .site-header{flex-shrink:0;}
body.strict-template-v1.modular-home-page main.first-home{flex:1 0 auto;min-height:0;display:flex;flex-direction:column;justify-content:center;position:relative;isolation:isolate;}
body.strict-template-v1.modular-home-page main.first-home:before{content:"";position:absolute;inset:0;pointer-events:none;z-index:-1;background:radial-gradient(ellipse at 68% 35%,rgba(62,176,103,.085),transparent 52%);}
body.strict-template-v1.modular-home-page .first-home-hero{min-height:0!important;flex:1 1 auto;display:flex!important;align-items:center;padding:18px 0 10px!important;background:transparent!important;border:0!important;}
body.strict-template-v1.modular-home-page .first-hero-grid{max-width:1120px!important;width:100%;display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);align-items:center;gap:clamp(14px,2.5vw,38px);min-width:0;}
body.strict-template-v1.modular-home-page .first-hero-copy{min-width:0;padding:0 0 0 1px;}
body.strict-template-v1.modular-home-page .first-hero-copy .eyebrow{color:#9edaad!important;font-size:11px!important;letter-spacing:.14em;line-height:1.5;}
body.strict-template-v1.modular-home-page .first-hero-copy h1{max-width:12.5ch!important;font-family:var(--science-sans,system-ui)!important;letter-spacing:-.045em!important;font-size:clamp(43px,4.7vw,67px)!important;line-height:1.06!important;color:#f1fff4!important;font-weight:750!important;text-transform:none!important;margin:18px 0 19px!important;text-wrap:balance;hyphens:none!important;overflow-wrap:normal!important;}
body.strict-template-v1.modular-home-page .first-hero-copy .lead{font-size:clamp(16px,1.22vw,18px)!important;line-height:1.53!important;color:#bed7c5!important;max-width:47ch!important;margin:0!important;}
body.strict-template-v1.modular-home-page .first-home-actions{margin-top:24px;display:flex;flex-wrap:wrap;gap:11px;}
body.strict-template-v1.modular-home-page .first-home-actions a{display:inline-flex;align-items:center;justify-content:space-between;gap:18px;min-height:47px;padding:11px 17px;font-size:14px;line-height:1.25;font-weight:750;border-radius:2px;text-decoration:none!important;transition:background .2s,border-color .2s;}
body.strict-template-v1.modular-home-page .first-main-action{background:#a6ffc0!important;border:1px solid #a6ffc0!important;color:#061b0e!important;}
body.strict-template-v1.modular-home-page .first-main-action:hover{background:#d7ffdf!important;}
body.strict-template-v1.modular-home-page .first-secondary-action{background:rgba(5,15,8,.2)!important;border:1px solid rgba(164,255,192,.46)!important;color:#d9fbe0!important;}
body.strict-template-v1.modular-home-page .first-secondary-action:hover{background:rgba(117,255,150,.09)!important;}
body.strict-template-v1.modular-home-page .first-system-figure{min-width:0;width:100%;margin:0;position:relative;}
body.strict-template-v1.modular-home-page .first-system-figure:before{content:"";pointer-events:none;position:absolute;left:15%;right:15%;top:13%;bottom:12%;background:#43fa83;opacity:.055;filter:blur(50px);}
body.strict-template-v1.modular-home-page .first-system-figure img{display:block;width:100%;height:auto;object-fit:contain;border-radius:11px;border:1px solid rgba(109,225,141,.12);position:relative;}
body.strict-template-v1.modular-home-page .first-system-figure figcaption{margin:8px 0 0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:start;gap:8px;text-align:center;color:#9dc7aa;font-size:12px;line-height:1.35;font-weight:650;}
body.strict-template-v1.modular-home-page .first-routes{flex:0 0 auto;min-height:0;padding:11px 0 13px!important;border-top:1px solid rgba(91,171,109,.23);background:rgba(13,29,18,.5)!important;}
body.strict-template-v1.modular-home-page .first-routes .container{max-width:1120px!important;}
body.strict-template-v1.modular-home-page .first-routes-title{display:flex;gap:20px;align-items:baseline;justify-content:space-between;padding:0;border:0;}
body.strict-template-v1.modular-home-page .first-routes-kicker{color:#8ecaa0;font-size:10px;letter-spacing:.13em;font-weight:700;display:none;}
body.strict-template-v1.modular-home-page .first-routes-title h2{font-size:clamp(16px,1.5vw,20px)!important;letter-spacing:-.015em!important;font-weight:700!important;line-height:1.2!important;color:#edfff0!important;max-width:none!important;margin:0!important;}
body.strict-template-v1.modular-home-page .first-routes-title p{color:#a0baa7!important;font-size:13px!important;line-height:1.4!important;margin:0!important;max-width:none!important;}
body.strict-template-v1.modular-home-page .first-routes-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:10px;}
body.strict-template-v1.modular-home-page .first-route{display:flex;flex-direction:row;align-items:center;gap:12px;min-height:81px;padding:11px 13px;background:rgba(67,124,78,.055);border:1px solid rgba(104,192,119,.25);color:#e7f7e9!important;text-decoration:none!important;}
body.strict-template-v1.modular-home-page .first-route:hover{border-color:#8fdfa3;background:rgba(80,194,117,.085);}
body.strict-template-v1.modular-home-page .first-route-no{align-self:flex-start;margin:3px 0 0;flex:0 0 22px;font-size:11px;color:#80c991;font-weight:700;font-family:var(--science-mono,monospace);}
body.strict-template-v1.modular-home-page .first-route-text{min-width:0;display:flex;flex-direction:column;gap:4px;}
body.strict-template-v1.modular-home-page .first-route strong{font-size:15px;font-weight:750;line-height:1.25;color:#edfff1;letter-spacing:-.01em;margin:0;}
body.strict-template-v1.modular-home-page .first-route-description{font-size:12px;color:#aac6b0;line-height:1.3;}
body.strict-template-v1.modular-home-page .first-route-open{align-self:center;margin:0 0 0 auto;padding:0;color:#b5ffc9;font-size:20px;font-weight:400;}
body.strict-template-v1.modular-home-page .first-more{display:flex;align-items:center;gap:13px;margin-top:8px;font-size:12px;line-height:1.2;color:#86ae93;}
body.strict-template-v1.modular-home-page .first-more a{color:#9ae0aa;text-decoration:none;border-bottom:1px solid rgba(96,224,138,.3);padding-bottom:1px;}
body.strict-template-v1.modular-home-page .site-footer{flex:0 0 auto;min-height:36px;padding:7px max(20px,calc((100% - 1120px)/2))!important;display:flex;align-items:center;gap:16px;background:#040a06!important;border-top:1px solid rgba(96,168,110,.22)!important;position:relative;overflow:visible!important;}
body.strict-template-v1.modular-home-page .site-footer:before{display:none!important;}
body.strict-template-v1.modular-home-page .home-footer-disclosure{margin-right:auto;min-width:0;}
body.strict-template-v1.modular-home-page .home-footer-disclosure>summary{font-size:12px;line-height:1.4;cursor:pointer;color:#9cbea6;list-style:revert;}
body.strict-template-v1.modular-home-page .home-footer-disclosure[open] .footer-grid{position:absolute;z-index:110;left:max(20px,calc((100% - 1120px)/2));right:max(20px,calc((100% - 1120px)/2));bottom:calc(100% + 6px);display:grid!important;grid-template-columns:1.3fr 1fr 1fr!important;gap:24px;padding:24px;border:1px solid #3f7751;background:#07120b;box-shadow:0 0 0 100vmax rgba(0,0,0,.5);clip-path:inset(-110vmax -110vmax 0 -110vmax);}
body.strict-template-v1.modular-home-page .home-footer-disclosure:not([open]) .footer-grid{display:none!important;}
body.strict-template-v1.modular-home-page .site-footer>.footer-privacy{font-size:12px!important;margin:0;white-space:nowrap;color:#b3d9b9;}
body.strict-template-v1.modular-home-page a:focus-visible,body.strict-template-v1.modular-home-page summary:focus-visible{outline:2px solid #bdffcf!important;outline-offset:3px;}
body.strict-template-v1.modular-home-page main.first-home>section:not(.home-hero)::before{display:none!important;}
@media (min-width:900px) and (min-height:690px){body.strict-template-v1.modular-home-page main.first-home{height:calc(100svh - 109px);flex:1 0 auto;}body.strict-template-v1.modular-home-page .first-home-hero{max-height:none;}}
@media (max-height:790px) and (min-width:900px){body.strict-template-v1.modular-home-page .first-hero-copy h1{font-size:clamp(40px,4.2vw,58px)!important;margin:11px 0 13px!important;}body.strict-template-v1.modular-home-page .first-home-actions{margin-top:18px;}body.strict-template-v1.modular-home-page .first-routes{padding:9px 0!important;}body.strict-template-v1.modular-home-page .first-route{min-height:69px;padding:8px 11px;}body.strict-template-v1.modular-home-page .first-system-figure img{max-height:400px;}}
@media (max-width:899px){body.strict-template-v1.modular-home-page main.first-home{justify-content:flex-start;}body.strict-template-v1.modular-home-page .first-hero-grid{grid-template-columns:1fr;gap:23px;}body.strict-template-v1.modular-home-page .first-home-hero{padding:43px 0 24px!important;}body.strict-template-v1.modular-home-page .first-hero-copy h1{font-size:clamp(42px,6.2vw,58px)!important;max-width:18ch!important;}body.strict-template-v1.modular-home-page .first-system-figure{max-width:650px;margin:0 auto;}body.strict-template-v1.modular-home-page .first-system-figure img{max-height:430px;}body.strict-template-v1.modular-home-page .first-routes{padding:15px 0 18px!important;}body.strict-template-v1.modular-home-page .first-routes-title{display:block;}body.strict-template-v1.modular-home-page .first-routes-title p{margin-top:5px!important;}body.strict-template-v1.modular-home-page .first-route{min-height:94px;}body.strict-template-v1.modular-home-page .first-more{display:flex;gap:14px;margin-top:13px;font-size:12px;}body.strict-template-v1.modular-home-page .first-more a{color:#a2ebb6;}}
@media (max-width:620px){body.strict-template-v1.modular-home-page .first-home-hero{padding:30px 0 17px!important;}body.strict-template-v1.modular-home-page .first-hero-copy h1{font-size:clamp(37px,10vw,49px)!important;margin:15px 0!important;}body.strict-template-v1.modular-home-page .first-hero-copy .lead{font-size:16px!important;}body.strict-template-v1.modular-home-page .first-home-actions{gap:9px;margin-top:21px;}body.strict-template-v1.modular-home-page .first-home-actions a{flex:1 1 100%;}body.strict-template-v1.modular-home-page .first-route{min-height:75px;}body.strict-template-v1.modular-home-page .first-routes-grid{grid-template-columns:1fr;}body.strict-template-v1.modular-home-page .first-system-figure figcaption{font-size:11px;}body.strict-template-v1.modular-home-page .home-footer-disclosure[open] .footer-grid{grid-template-columns:1fr!important;}body.strict-template-v1.modular-home-page .site-footer{padding:10px 20px!important;}}
@media(prefers-reduced-motion:reduce){body.strict-template-v1.modular-home-page .first-home-actions a{transition:none!important;}}

@media(min-width:621px) and (max-width:899px){
body.strict-template-v1.modular-home-page .first-home-hero{padding:15px 0 8px!important;}
body.strict-template-v1.modular-home-page .first-hero-grid{gap:9px;}
body.strict-template-v1.modular-home-page .first-hero-copy h1{font-size:clamp(39px,5.4vw,45px)!important;margin:10px 0 10px!important;}
body.strict-template-v1.modular-home-page .first-hero-copy .lead{font-size:16px!important;line-height:1.45!important;}
body.strict-template-v1.modular-home-page .first-home-actions{margin-top:13px;}
body.strict-template-v1.modular-home-page .first-system-figure{max-width:490px;}
body.strict-template-v1.modular-home-page .first-system-figure figcaption{margin-top:5px;}
body.strict-template-v1.modular-home-page .first-routes{padding:9px 0 10px!important;}
body.strict-template-v1.modular-home-page .first-route{min-height:81px;}
body.strict-template-v1.modular-home-page .first-more{margin-top:8px;}
}
/* Ukrainian question must remain two balanced lines on large monitors. */
@media(min-width:900px){html[lang="uk"] body.strict-template-v1.modular-home-page .first-hero-copy h1{font-size:clamp(43px,4.1vw,59px)!important;max-width:17ch!important;}}

/* HOME-03: the model is not a decorative equation. Explicit legend makes it research orientation. */
body.strict-template-v1.modular-home-page .first-science-line{display:flex;align-items:baseline;flex-wrap:wrap;gap:8px 12px;max-width:56ch;margin:15px 0 0!important;color:#b6d9bf!important;font-size:12px!important;line-height:1.35!important;}
body.strict-template-v1.modular-home-page .science-expression{font-family:var(--science-sans,system-ui);font-variant-numeric:tabular-nums;font-size:16px;font-weight:750;white-space:nowrap;letter-spacing:.01em;color:#b8ffcb;}
body.strict-template-v1.modular-home-page .science-meaning{font-size:12px;color:#9dbca5;}
body.strict-template-v1.modular-home-page .first-system-figure img{background:#07120d;border-color:rgba(140,245,170,.25);box-shadow:0 12px 75px rgba(0,0,0,.16), inset 0 1px 0 rgba(158,255,188,.08);}
body.strict-template-v1.modular-home-page .first-system-figure figcaption{margin-top:10px;gap:9px;font-size:12px;color:#b3dbbc;}
body.strict-template-v1.modular-home-page .first-system-figure figcaption span{min-width:0;}
body.strict-template-v1.modular-home-page .first-hero-grid{grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);}
body.strict-template-v1.modular-home-page .first-routes-title h2{letter-spacing:-.02em!important;}
body.strict-template-v1.modular-home-page .first-route{border-color:rgba(132,217,148,.28);}
@media(max-height:790px) and (min-width:900px){body.strict-template-v1.modular-home-page .first-science-line{margin-top:9px!important;}}
@media(min-width:621px) and (max-width:899px){body.strict-template-v1.modular-home-page .first-science-line{margin-top:7px!important;}body.strict-template-v1.modular-home-page .first-hero-grid{grid-template-columns:1fr;}}
@media(max-width:620px){body.strict-template-v1.modular-home-page .first-science-line{margin-top:12px!important;}}

/* CASES-01: one additional route, while retaining HOME-02 screen constraint. */
body.strict-template-v1.modular-home-page .first-more{flex-wrap:wrap;}
body.strict-template-v1.modular-home-page .first-more a{white-space:nowrap;}

/* HOME-04 (2026-10-13): prominent destinations before a compact research-method strip. */
body.strict-template-v1.modular-home-page .first-routes-title h2{font-size:clamp(16px,1.5vw,20px)!important;}
body.strict-template-v1.modular-home-page .first-routes-grid{margin-top:9px;}
body.strict-template-v1.modular-home-page .first-route{min-height:68px;padding:9px 12px;gap:11px;}
body.strict-template-v1.modular-home-page .first-route strong{font-size:15px;}
body.strict-template-v1.modular-home-page .first-route-description{font-size:12px;line-height:1.3;}
body.strict-template-v1.modular-home-page .first-method{margin-top:9px;border-top:1px solid rgba(122,197,141,.13);padding-top:6px;}
body.strict-template-v1.modular-home-page .first-method-head{display:flex;justify-content:space-between;gap:12px;align-items:baseline;}
body.strict-template-v1.modular-home-page .first-method-head strong{font-weight:650;font-size:11px;color:#afd2b7;}
body.strict-template-v1.modular-home-page .first-method-head>span{font-size:10.5px;color:#789987;}
body.strict-template-v1.modular-home-page .first-method-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:5px;}
body.strict-template-v1.modular-home-page .first-method-link{display:flex;align-items:baseline;gap:7px;min-width:0;min-height:32px;padding:5px 8px;background:rgba(34,71,43,.08);border:1px solid rgba(104,161,117,.16);color:#bad5c1!important;text-decoration:none!important;transition:border-color .2s;}
body.strict-template-v1.modular-home-page .first-method-link:hover{border-color:rgba(143,223,163,.65);background:rgba(80,194,117,.05);}
body.strict-template-v1.modular-home-page .first-method-no{font-family:var(--science-mono,monospace);font-size:10px;color:#7fae89;flex:0 0 auto;}
body.strict-template-v1.modular-home-page .first-method-copy{display:flex;align-items:baseline;gap:7px;min-width:0;flex-wrap:wrap;}
body.strict-template-v1.modular-home-page .first-method-copy strong{font-weight:700;font-size:11.5px;white-space:nowrap;color:#c1e5ca;}
body.strict-template-v1.modular-home-page .first-method-detail{font-size:10.5px;line-height:1.25;color:#90af99;}
body.strict-template-v1.modular-home-page .first-method-arrow{font-size:13px;color:#a2d7b0;margin-left:auto;flex:0 0 auto;}
@media(max-height:790px) and (min-width:900px){
 body.strict-template-v1.modular-home-page .first-routes{padding:6px 0 7px!important;}
 body.strict-template-v1.modular-home-page .first-route{min-height:58px;padding:7px 9px;}
 body.strict-template-v1.modular-home-page .first-method{margin-top:6px;padding-top:5px;}
 body.strict-template-v1.modular-home-page .first-method-grid{margin-top:4px;}
 body.strict-template-v1.modular-home-page .first-method-link{padding:4px 7px;min-height:27px;}
}
@media(min-width:621px) and (max-width:899px){
 body.strict-template-v1.modular-home-page .first-route{min-height:67px;}
 body.strict-template-v1.modular-home-page .first-method-head>span{display:none;}
 body.strict-template-v1.modular-home-page .first-method-detail{font-size:10.5px;}
}
@media(max-width:620px){
 body.strict-template-v1.modular-home-page .first-route{min-height:70px;}
 body.strict-template-v1.modular-home-page .first-method-grid{grid-template-columns:1fr;gap:4px;}
 body.strict-template-v1.modular-home-page .first-method-head>span{display:none;}
 body.strict-template-v1.modular-home-page .first-method-copy{gap:10px;}
}
/* Keep the tablet layout within HOME-02 without suppressing descriptions. */
@media(min-width:621px) and (max-width:899px){
 body.strict-template-v1.modular-home-page .first-system-figure{max-width:442px;}
 body.strict-template-v1.modular-home-page .first-home-hero{padding:9px 0 5px!important;}
 body.strict-template-v1.modular-home-page .first-routes{padding:6px 0 6px!important;}
 body.strict-template-v1.modular-home-page .first-routes-grid{margin-top:7px;}
 body.strict-template-v1.modular-home-page .first-route{min-height:62px;padding:7px 8px;gap:6px;}
 body.strict-template-v1.modular-home-page .first-route-no{flex-basis:20px;}
 body.strict-template-v1.modular-home-page .first-route-description{font-size:11.5px;}
 body.strict-template-v1.modular-home-page .first-method{margin-top:6px;padding-top:5px;}
 body.strict-template-v1.modular-home-page .first-method-grid{margin-top:4px;}
 body.strict-template-v1.modular-home-page .first-method-link{padding:4px 6px;min-height:28px;}
}
/* Compact, but still readable: avoid sub-11px microcopy in the lower research strip. */
body.strict-template-v1.modular-home-page .first-method-head strong{font-size:12px;}
body.strict-template-v1.modular-home-page .first-method-head>span{font-size:11.5px;}
body.strict-template-v1.modular-home-page .first-method-no{font-size:11px;}
body.strict-template-v1.modular-home-page .first-method-copy strong{font-size:12px;}
body.strict-template-v1.modular-home-page .first-method-detail{font-size:11.5px;}
