/* Core product Home. Organisation branding is isolated for reuse in portal layouts. */
.eclipse-home { --home-muted: #58697c; --home-link: #126bc5; margin: 0; min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; color: var(--bs-body-color); background: var(--bs-body-bg); }
[data-bs-theme="dark"] .eclipse-home { --home-muted: #afbdd0; --home-link: #7bb3ff; }
.eclipse-home [hidden] { display: none !important; }
.home-container { width: min(1180px, calc(100% - 4rem)); margin-inline: auto; }
.home-header { border-bottom: 1px solid var(--bs-border-color); }
.home-header__inner { min-height: 100px; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding-block: 1.25rem; }
.home-brand { display: inline-flex; gap: .75rem; align-items: center; color: var(--bs-heading-color); font-size: 1.5rem; font-weight: 600; letter-spacing: -.06em; white-space: nowrap; }
.home-brand:hover { color: var(--bs-heading-color); }
.home-brand__suffix { color: var(--bs-primary); font-weight: 700; }
.home-brand__mark { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--bs-primary); background: var(--bs-primary); box-shadow: inset -9px 2px 0 0 var(--bs-body-bg); flex-shrink: 0; }
.home-navigation ul { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: .5rem 1rem; list-style: none; padding: 0; margin: 0; }
.home-navigation a, .home-navigation button { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 44px; padding: .5rem .6rem; border: 0; border-radius: .5rem; background: transparent; color: var(--bs-heading-color); font: inherit; font-size: .85rem; text-decoration: none; }
.home-navigation a:hover, .home-navigation button:hover { background: var(--bs-tertiary-bg); }
.home-navigation .home-theme-toggle { width: 44px; height: 44px; padding: 0; border: 1px solid var(--bs-border-color); }
.home-navigation form { margin: 0; }
.home-main { flex: 1; padding-block: clamp(2.5rem, 6vw, 5.5rem) 3rem; }
.home-welcome { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: center; gap: clamp(2rem, 6vw, 5rem); }
.home-eyebrow { color: var(--home-muted); font-size: .7rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 600; margin-bottom: 1.1rem; }
.home-welcome h1 { color: var(--bs-heading-color); font-size: clamp(2.5rem, 4.6vw, 4.25rem); line-height: 1.1; letter-spacing: -.05em; font-weight: 600; margin: 0 0 1.5rem; }
.home-welcome h1 span { color: var(--bs-primary); }
.home-welcome__description { color: var(--bs-heading-color); font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.65; max-width: 32rem; margin-bottom: 1.2rem; }
.home-welcome__note { max-width: 29rem; font-size: .9rem; line-height: 1.8; color: var(--home-muted); margin-bottom: 0; }
.home-text-link { display: inline-flex; align-items: center; gap: .5rem; color: var(--home-link); font-size: .85rem; text-decoration: underline; text-underline-offset: .2em; margin-top: 1.25rem; }
.home-access { border: 1px solid var(--bs-border-color); border-radius: 1rem; background: var(--bs-card-bg, var(--bs-body-bg)); min-width: 0; }
.home-organisation { display: flex; align-items: center; gap: 1.25rem; padding: 1.75rem; border-bottom: 1px solid var(--bs-border-color); background: var(--bs-tertiary-bg); border-radius: 1rem 1rem 0 0; }
.home-organisation__logo { display: flex; align-items: center; justify-content: center; width: 192px; height: 104px; max-width: 100%; padding: .75rem; flex-shrink: 0; background: #fff; border: 1px solid var(--bs-border-color); border-radius: .5rem; }
.home-organisation__logo img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.home-organisation__identity { display: flex; flex-direction: column; min-width: 0; gap: .25rem; overflow-wrap: anywhere; }
.home-organisation .home-eyebrow { margin: 0 0 .2rem; font-size: .65rem; }
.home-organisation strong { color: var(--bs-heading-color); font-size: 1rem; font-weight: 600; }
.home-organisation__platform { color: var(--home-muted); font-size: .75rem; }
.home-access__content { padding: 1.75rem; }
.home-access h2 { font-size: 1.2rem; font-weight: 600; margin-bottom: .75rem; letter-spacing: -.025em; }
.home-access p { font-size: .85rem; line-height: 1.7; color: var(--home-muted); }
.home-access .home-access__action { display: flex; justify-content: space-between; align-items: center; gap: .75rem; padding: .9rem 1rem; margin-top: 1.5rem; min-height: 48px; font-size: .9rem; text-align: start; white-space: normal; border-radius: .5rem; }
.home-access .home-access__help { font-size: .75rem; margin: 1rem 0 0; }
.home-principles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; margin-top: clamp(3rem, 6vw, 5rem); border-top: 1px solid var(--bs-border-color); padding-top: 2rem; }
.home-principles__number { color: var(--bs-primary); font-size: .7rem; letter-spacing: .05em; }
.home-principles h2 { font-size: .95rem; font-weight: 600; margin: .75rem 0 .5rem; }
.home-principles p { font-size: .8rem; line-height: 1.75; color: var(--home-muted); margin: 0; max-width: 20rem; }
.home-footer { border-top: 1px solid var(--bs-border-color); padding-block: 1.5rem; }
.home-footer__inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .75rem 2rem; color: var(--home-muted); font-size: .7rem; }
.home-footer p { margin: 0; }
.home-footer a { color: var(--home-muted); text-decoration: underline; text-underline-offset: .2em; }
.home-test-notice { padding: .65rem 1rem; background: #a61d24; color: #fff; font-size: .8rem; font-weight: 600; text-align: center; }
.home-maintenance { border: 1px solid var(--bs-warning-border-subtle); background: var(--bs-warning-bg-subtle); color: var(--bs-heading-color); border-radius: .5rem; padding: 1rem; margin-bottom: 2rem; overflow-wrap: anywhere; }
.home-maintenance p { margin: .4rem 0 0; }
.home-skip { position: absolute; top: .5rem; left: 1rem; transform: translateY(-200%); padding: .75rem 1rem; background: var(--bs-body-bg); color: var(--bs-heading-color); z-index: 10; border: 1px solid var(--bs-primary); }
.home-skip:focus { transform: none; }
.eclipse-home a:focus-visible, .eclipse-home button:focus-visible { outline: 2px solid var(--bs-primary); outline-offset: 4px; }
.home-main:focus { outline: none; }
@media (max-width: 991.98px) { .home-welcome { grid-template-columns: minmax(0, 1fr); gap: 2rem; } .home-access { width: 100%; max-width: 36rem; } .home-welcome h1 br { display: none; } .home-welcome h1 span::after { content: ' '; } }
@media (max-width: 575.98px) {
    .home-container { width: calc(100% - 2rem); }
    .home-header__inner { min-height: auto; flex-wrap: wrap; gap: .75rem; padding-block: 1rem; }
    .home-brand { font-size: 1.35rem; }
    .home-navigation { width: 100%; }
    .home-navigation ul { justify-content: flex-start; gap: .5rem; }
    .home-organisation, .home-access__content { padding: 1.25rem; }
    .home-organisation { flex-wrap: wrap; gap: 1rem; }
    .home-organisation__logo { width: 160px; height: 88px; }
    .home-organisation__identity { flex: 1 1 120px; }
    .home-principles { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
    .home-footer__inner { align-items: flex-start; flex-direction: column; }
}
@media (forced-colors: active) { .home-brand__mark { background: CanvasText; border-color: CanvasText; } }

.home-text-link svg, .home-theme-toggle svg { width: 18px; height: 18px; flex-shrink: 0; }
/* Darker variant of the application blue keeps white CTA text readable. */
.eclipse-home .home-access__action { background-color: #126bc5; border-color: #126bc5; color: #fff; }
.eclipse-home .home-access__action:hover { background-color: #105bac; border-color: #105bac; color: #fff; }

.home-public-site { margin: 1.25rem 0 0; color: var(--home-muted); font-size: .8rem; line-height: 1.75; }
.home-public-site a { color: var(--home-link); text-decoration: underline; text-underline-offset: .2em; }
