/* R4.6: decorative modality overview and four real prediction routes. */
#home-page .home-content{max-width:1200px;margin:0 auto;padding:64px 4% 76px;box-sizing:border-box}
#home-page .home-content h2{font-size:clamp(30px,3vw,40px);letter-spacing:-1.2px;line-height:1.16;margin:0 0 30px}
#home-page .modality-showcase{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px}
#home-page .modality-overview{min-width:0;padding:0 28px 0 0;border-right:1px solid #d6dccf}#home-page .modality-overview:last-child{padding-right:0;border-right:0}
#home-page .modality-overview h3{font-size:21px;font-weight:650;margin:20px 0 7px;letter-spacing:-.3px}#home-page .modality-overview p{font-size:16px;line-height:1.6;margin:0;color:#526559}
#home-page .modality-drawing{height:132px;display:flex;align-items:center;gap:12px;min-width:0;background:#eef2e7;border-radius:5px;padding:16px;box-sizing:border-box}
#home-page .basic-drawing>img{width:68px;flex:none}#home-page .basic-lines{display:grid;gap:8px;width:100%}#home-page .basic-lines span{display:block;border-bottom:1px solid #c5d1bc;padding:0 0 5px;font-size:12px;line-height:1.3;color:#385d4c}
#home-page .spectrum-drawing svg{width:100%;height:100%;overflow:visible}#home-page .spectrum-axis{fill:none;stroke:#a4b59b;stroke-width:1.2}#home-page .spectrum-fill{fill:#cedec3;opacity:.8}#home-page .spectrum-line{fill:none;stroke:#315b4c;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round}
#home-page .metabolic-drawing>img{width:58px;flex:none}#home-page .metabolic-matrix{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:4px;flex:1;min-width:0}#home-page .metabolic-matrix i{display:block;aspect-ratio:1;background:#cedcc5;border-radius:1px}#home-page .metabolic-matrix i:nth-child(3n){background:#6d8e70}#home-page .metabolic-matrix i:nth-child(5n){background:#a7b99b}#home-page .metabolic-matrix i:nth-child(7n){background:#e0c6aa}
#home-page .home-route-section{margin-top:66px}#home-page .home-routes{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
#home-page .home-route{position:relative;display:flex;flex-direction:column;align-items:flex-start;text-decoration:none;border:1px solid #bdcbb6;border-radius:10px;background:#fffefa;padding:22px 20px;min-height:218px;box-sizing:border-box;color:#244d46;transition:transform .18s ease,background .18s ease,border-color .18s ease}#home-page .home-route:hover{transform:translateY(-3px);border-color:#708b6d;background:#f2f6ec}#home-page .home-route:focus-visible{outline:2px solid #8b5d40;outline-offset:4px}
#home-page .home-route>img{width:62px;height:62px;margin-bottom:17px}#home-page .route-arrow{position:absolute;top:22px;right:20px;font-size:22px;line-height:1}#home-page .home-route h3{font:650 17px/1.4 var(--sans);letter-spacing:-.3px;min-height:48px;margin:0 0 8px}#home-page .route-caption{font-size:14px;line-height:1.5;color:#526559;margin-top:auto}
#home-page .home-example-strip{display:flex;align-items:center;gap:22px;padding:26px 30px;margin:34px 0;background:#eee6d8;border-radius:10px;border:1px solid #ded3c0}#home-page .home-example-strip h2{font-size:30px;margin:0 0 13px}#home-page .example-drawing{width:66px;height:66px;flex:none}#home-page .home-example-strip>.button{margin-left:auto;white-space:nowrap;flex:none}#home-page .home-example-downloads{display:flex;gap:18px;flex-wrap:wrap;font-size:14px}#home-page .home-example-downloads a{text-underline-offset:4px}
#home-page .home-companions{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:24px}#home-page .home-companions>section{padding:30px;border:1px solid #d1d9c9;border-radius:10px;min-width:0;background:#f0f4e9}#home-page .home-companions h2{font-size:32px;line-height:1.18;margin:0 0 12px}#home-page .home-companions p{font-size:16px;line-height:1.6;color:#526559;margin:0 0 22px}#home-page .home-self-check>img{width:55px;height:55px;margin:0 0 16px}#home-page .home-self-check>.button{margin-top:4px}#home-page .home-ask{background:#e4ecdc!important}
#home-page .home-question-prompts{display:flex;gap:9px;flex-wrap:wrap;margin:0 0 18px}#home-page .home-question-prompts button{font:500 14px/1.4 var(--sans);padding:8px 12px;background:#f7faf2;border:1px solid #aebfa4;border-radius:5px;color:#244d46;cursor:pointer;min-height:40px}#home-page .home-question-prompts button:hover{background:#d4e2c9}
#home-page #home-ask-form{display:block;margin:0;padding:0;border:0;background:none;max-width:none}#home-page .home-question-row{display:flex;align-items:stretch;gap:12px}#home-page #home-question{box-sizing:border-box;flex:1;min-width:0;width:0;margin:0;padding:12px;border:1px solid #a1b09a;border-radius:6px;background:#fffefa;color:#244d46;font:16px/1.5 var(--sans);min-height:86px;max-height:180px;resize:vertical}#home-page #home-ask-submit{padding:12px 18px;font-size:16px;flex:none;align-self:stretch}#home-page #home-ask-submit:disabled{opacity:.55;cursor:default;transform:none}#home-page #home-ask-status{font-size:14px;margin:10px 0 0}#home-page #home-ask-status:empty{display:none}#home-page .home-question-prompts button:focus-visible,#home-page #home-question:focus-visible{outline:2px solid #8b5d40;outline-offset:3px}
@media(max-width:1050px){#home-page .home-routes{grid-template-columns:repeat(2,minmax(0,1fr))}#home-page .modality-showcase{gap:20px}#home-page .modality-overview{padding-right:18px}#home-page .basic-drawing{padding:12px;gap:6px}#home-page .basic-drawing>img{width:45px}#home-page .metabolic-drawing>img{width:42px}#home-page .metabolic-matrix{gap:3px}}
@media(max-width:760px){#home-page .home-content{padding:40px 5% 44px}#home-page .home-content h2{font-size:32px;margin-bottom:24px}#home-page .modality-showcase{grid-template-columns:1fr;gap:24px}#home-page .modality-overview{display:grid;grid-template-columns:128px minmax(0,1fr);column-gap:18px;align-items:center;padding:0 0 24px;border-right:0;border-bottom:1px solid #d6dccf}#home-page .modality-overview:last-child{padding:0;border-bottom:0}#home-page .modality-drawing{grid-row:1/3;height:112px;padding:10px}#home-page .modality-overview h3{font-size:20px;margin:0 0 8px;align-self:end}#home-page .modality-overview p{font-size:15px;align-self:start}#home-page .basic-drawing>img{width:38px}#home-page .basic-lines span{font-size:9px;line-height:1.2}#home-page .spectrum-drawing svg{min-width:0}#home-page .metabolic-drawing{gap:5px}#home-page .metabolic-drawing>img{display:none}#home-page .home-route-section{margin-top:42px}#home-page .home-routes{gap:12px}#home-page .home-route{min-height:218px;padding:18px 14px}#home-page .route-arrow{top:18px;right:14px}#home-page .home-route>img{width:52px;height:52px;margin-bottom:15px}#home-page .home-route h3{font-size:16px;min-height:68px}#home-page .route-caption{font-size:13px}#home-page .home-example-strip{gap:16px;flex-wrap:wrap;padding:22px;margin:26px 0}#home-page .home-example-strip h2{font-size:28px;margin-bottom:12px}#home-page .example-drawing{width:48px;height:48px}#home-page .home-example-strip>.button{width:100%;margin:4px 0 0}#home-page .home-example-downloads{gap:12px;font-size:13px}#home-page .home-companions{grid-template-columns:1fr;gap:18px}#home-page .home-companions>section{padding:24px}#home-page .home-companions h2{font-size:30px}#home-page .home-question-row{gap:8px}#home-page #home-ask-submit{padding:10px 14px}#home-page .home-self-check>img{width:48px;height:48px;margin-bottom:14px}}
@media(max-width:360px){#home-page .modality-overview{grid-template-columns:108px minmax(0,1fr);gap:12px}#home-page .home-routes{grid-template-columns:1fr}#home-page .home-route{min-height:0}#home-page .home-route h3{min-height:0}#home-page .home-companions>section{padding:20px}}
@media(prefers-reduced-motion:reduce){#home-page .home-route{transition:none}#home-page .home-route:hover{transform:none}}

@media(max-width:760px){#home-page .basic-lines span{font-size:0;height:10px;padding:0;border:0;border-radius:2px;background:#c9d8bf}#home-page .basic-lines span:nth-child(2){width:82%}#home-page .basic-lines span:nth-child(3){width:64%}}

/* Keep the schematic matrix inside its drawing, and align the companion headings. */
#home-page .metabolic-matrix{height:100%;width:136px;flex:0 1 136px;grid-template-rows:repeat(6,minmax(0,1fr));max-width:100%}#home-page .metabolic-matrix i{height:100%;min-height:0;aspect-ratio:auto}
#home-page .home-companions>section{display:flex;flex-direction:column;align-items:flex-start}#home-page .home-companion-heading{display:flex;align-items:center;gap:12px;min-height:46px;margin:0 0 16px;width:100%}#home-page .home-companion-heading>img{width:42px;height:42px;flex:none}#home-page .home-companions .home-companion-heading h2{font-size:30px;margin:0;letter-spacing:-1px}#home-page .home-self-check>.button{margin-top:auto}#home-page #home-ask-form{width:100%}
@media(max-width:760px){#home-page .metabolic-matrix{width:100%;flex:1;height:100%}#home-page .home-companion-heading{gap:10px}#home-page .home-companions .home-companion-heading h2{font-size:27px}#home-page .home-companion-heading>img{width:36px;height:36px}#home-page .home-self-check>.button{margin-top:0}}
