/* Public start page: styles are scoped to keep the application's Rain layout intact. */
body.drepsi-home {
    --home-blue: #406e8e;
    --home-blue-dark: #284d67;
    --home-ink: #243c4d;
    --home-muted: #536976;
    --home-line: #dce5eb;
    margin: 0;
    background: #f5f8fa;
    color: var(--home-ink);
    font-family: var(--font-family, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);
    font-size: 16px;
    line-height: 1.6;
}

.drepsi-home *, .drepsi-home *::before, .drepsi-home *::after { box-sizing: border-box; }
.drepsi-home a { color: var(--home-blue); text-decoration: none; }
.drepsi-home a:focus-visible, .drepsi-home input:focus-visible,
.drepsi-home button:focus-visible, .drepsi-home summary:focus-visible {
    outline: 3px solid #1479b8;
    outline-offset: 4px;
}
.drepsi-home h1, .drepsi-home h2, .drepsi-home h3, .drepsi-home p { margin: 0; }
.drepsi-home h1, .drepsi-home h2, .drepsi-home h3 { color: inherit; font-weight: 650; line-height: 1.2; }
.drepsi-home .home-container { width: calc(100% - 64px); max-width: 1160px; margin-inline: auto; }
.drepsi-home .home-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}
.drepsi-home .home-skip-link {
    position: fixed;
    top: 8px;
    left: 8px;
    z-index: 2000;
    padding: 12px 20px;
    background: white;
    border: 2px solid var(--home-blue);
    transform: translateY(-160%);
}
.drepsi-home .home-skip-link:focus { transform: translateY(0); }

/* Header and persistent language/login controls. */
.drepsi-home .home-header { background: #fff; border-bottom: 1px solid var(--home-line); }
.drepsi-home .home-header-inner { display: flex; align-items: center; gap: 28px; min-height: 100px; }
.drepsi-home .home-brand { display: flex; align-items: center; gap: 16px; margin-right: auto; color: var(--home-ink); }
.drepsi-home .home-brand img { flex-shrink: 0; }
.drepsi-home .home-brand-copy { display: flex; flex-direction: column; }
.drepsi-home .home-brand-name { font-size: 30px; font-weight: 750; letter-spacing: -1px; line-height: 1.2; }
.drepsi-home .home-brand-name > span { color: var(--home-blue); font-weight: 400; }
.drepsi-home .home-brand-authority { margin-top: 4px; color: var(--home-muted); font-size: 11px; }
.drepsi-home .home-desktop-nav, .drepsi-home .home-header-actions, .drepsi-home .home-language {
    display: flex;
    align-items: center;
    gap: 24px;
}
.drepsi-home .home-desktop-nav a { padding-block: 12px; color: var(--home-ink); font-size: 14px; white-space: nowrap; }
.drepsi-home .home-desktop-nav a:hover, .drepsi-home .home-footer a:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}
.drepsi-home .home-desktop-nav .pi { margin-left: 4px; font-size: 11px; }
.drepsi-home .home-header-actions { gap: 20px; }
.drepsi-home .home-language { gap: 2px; margin: 0; }
.drepsi-home .home-language-button {
    width: 36px;
    min-height: 44px;
    padding: 0;
    border: 0;
    border-bottom: 2px solid transparent;
    border-radius: 0;
    background: transparent;
    color: var(--home-muted);
    font: inherit;
    font-size: 13px;
    cursor: pointer;
}
.drepsi-home .home-language-button:hover, .drepsi-home .home-language-button.is-active {
    border-bottom-color: var(--home-blue);
    color: var(--home-blue-dark);
    font-weight: 700;
}
.drepsi-home .home-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    min-height: 46px;
    padding: 11px 20px;
    border: 1px solid transparent;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
    transition: background-color 150ms ease, border-color 150ms ease;
}
.drepsi-home .home-button-primary { background: var(--home-blue); color: #fff; }
.drepsi-home .home-button-primary:hover { background: var(--home-blue-dark); }
.drepsi-home .home-mobile-menu { display: none; }

/* Existing water photograph and Drepsi mascot. */
.drepsi-home .home-hero {
    overflow: hidden;
    background-color: var(--home-blue-dark);
    background-image: linear-gradient(100deg, rgba(28, 60, 81, .96) 0%, rgba(40, 77, 103, .88) 48%, rgba(64, 110, 142, .46) 100%),
        url("/drepsi/javax.faces.resource/images/puddle_1920.jpg.xhtml?ln=iww-layout");
    background-position: center, center 58%;
    background-size: cover;
    color: #fff;
}
.drepsi-home .home-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
    align-items: center;
    gap: 40px;
    padding-block: 44px;
    min-height: 400px;
}
.drepsi-home .home-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 1.7px; line-height: 1.5; text-transform: uppercase; }
.drepsi-home .home-hero .home-eyebrow { margin-bottom: 16px; color: #d0e4f1; }
.drepsi-home .home-hero h1 { font-size: clamp(34px, 4vw, 52px); letter-spacing: -1.6px; line-height: 1.1; }
.drepsi-home .home-hero h1 span { display: block; color: #bcdff4; }
.drepsi-home .home-hero-description { max-width: 600px; margin-top: 20px; color: #edf4f8; font-size: 16px; line-height: 1.7; }
.drepsi-home .home-hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 28px; margin-top: 28px; }
.drepsi-home .home-button-white { background: #fff; color: var(--home-blue-dark); }
.drepsi-home .home-button-white:hover { background: #deedf6; }
.drepsi-home .home-hero-discover { display: inline-flex; align-items: center; gap: 12px; min-height: 46px; color: #fff; font-size: 14px; }
.drepsi-home .home-hero-discover:hover { text-decoration: underline; text-underline-offset: 5px; }
.drepsi-home .home-hero a:focus-visible { outline-color: #fff; }
.drepsi-home .home-hero-visual { position: relative; display: grid; place-items: center; }
.drepsi-home .home-hero-orbit {
    position: absolute;
    width: 310px;
    height: 310px;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 50%;
    background: rgba(194, 226, 245, .09);
    box-shadow: 0 0 0 32px rgba(209, 235, 251, .04), 0 0 0 64px rgba(209, 235, 251, .03);
}
.drepsi-home .home-mascot { position: relative; width: 320px; max-width: 100%; height: auto; filter: drop-shadow(0 14px 18px rgba(12, 36, 54, .2)); }

/* Four equally weighted modules. */
.drepsi-home .home-modules { padding-block: 48px 36px; scroll-margin-top: 24px; }
.drepsi-home .home-section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 28px; }
.drepsi-home .home-section-heading .home-eyebrow { margin-bottom: 8px; color: var(--home-blue); }
.drepsi-home .home-section-heading h2 { font-size: 28px; letter-spacing: -.6px; }
.drepsi-home .home-section-heading > p { flex-shrink: 0; max-width: 275px; color: var(--home-muted); font-size: 14px; }
.drepsi-home .home-module-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.drepsi-home .home-module-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    border: 1px solid var(--home-line);
    border-radius: 4px;
    background: #fff;
    box-shadow: 0 2px 4px rgba(36, 60, 77, .025);
    scroll-margin-top: 24px;
    transition: border-color 150ms ease, box-shadow 150ms ease;
}
.drepsi-home .home-module-card:hover, .drepsi-home .home-module-card:focus-within {
    border-color: #91b1c7;
    box-shadow: 0 6px 20px rgba(36, 60, 77, .07);
}
.drepsi-home .home-card-content { flex: 1; padding: 28px 32px 24px; }
.drepsi-home .home-card-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.drepsi-home .home-module-icon, .drepsi-home .home-wsp-icon {
    display: grid;
    flex-shrink: 0;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 4px;
    background: #edf4f8;
    color: var(--home-blue);
}
.drepsi-home .home-module-icon .pi { font-size: 24px; }
.drepsi-home .home-module-number { color: #5b7282; font-size: 13px; font-variant-numeric: tabular-nums; letter-spacing: 1px; }
.drepsi-home .home-module-card h3 { font-size: 24px; letter-spacing: -.4px; overflow-wrap: anywhere; }
.drepsi-home .home-module-description { margin-top: 12px; color: var(--home-muted); line-height: 1.65; }
.drepsi-home .home-feature-list { display: grid; gap: 5px; margin: 20px 0 0; padding: 0; list-style: none; font-size: 14px; }
.drepsi-home .home-feature-list li { position: relative; padding-left: 22px; }
.drepsi-home .home-feature-list li::before {
    position: absolute;
    left: 2px;
    top: 7px;
    width: 6px;
    height: 10px;
    border-right: 1.5px solid var(--home-blue);
    border-bottom: 1.5px solid var(--home-blue);
    content: "";
    transform: rotate(45deg);
}
.drepsi-home .home-module-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 58px;
    padding: 16px 32px;
    border-top: 1px solid #e8eef2;
    border-radius: 0 0 4px 4px;
    color: var(--home-blue-dark);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
}
.drepsi-home .home-module-link:hover { background: #f0f6fa; }
.drepsi-home .home-module-link .pi { flex-shrink: 0; }

/* Complementary external service and institutional footer. */
.drepsi-home .home-wsp { padding-bottom: 48px; }
.drepsi-home .home-wsp-panel {
    --home-wsp-accent: #f6ae2d; /* Accent from the LuxWSP landing page. */
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 30px 32px;
    border: 1px solid #f1d29a;
    border-left: 4px solid var(--home-wsp-accent);
    border-radius: 4px;
    background: #fff7e8;
}
.drepsi-home .home-wsp-icon { width: 56px; height: 56px; background: #fce7bd; color: #795014; }
.drepsi-home .home-wsp-icon .pi { font-size: 28px; }
.drepsi-home .home-wsp-copy { flex: 1; }
.drepsi-home .home-wsp-copy .home-eyebrow { margin-bottom: 6px; color: #795014; }
.drepsi-home .home-wsp-copy h2 { font-size: 23px; }
.drepsi-home .home-wsp-copy > p:last-child { max-width: 650px; margin-top: 8px; color: var(--home-muted); font-size: 14px; }
.drepsi-home .home-button-wsp {
    flex-shrink: 0;
    border-color: var(--home-wsp-accent);
    background: var(--home-wsp-accent);
    color: #3b2b12;
}
.drepsi-home .home-button-wsp:hover { border-color: #e99c16; background: #e99c16; }
.drepsi-home .home-footer { border-top: 1px solid var(--home-line); background: #fff; }
.drepsi-home .home-footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px 32px; padding-block: 24px; color: var(--home-muted); font-size: 12px; }
.drepsi-home .home-footer nav { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.drepsi-home .home-footer a { display: inline-block; padding-block: 8px; color: var(--home-muted); }
body.drepsi-home .home-cookie-dialog { max-width: calc(100% - 32px); margin-bottom: 16px; }
body.drepsi-home .home-cookie-dialog p { margin: 0 0 20px; font-size: 16px; line-height: 1.6; }

@media (max-width: 1000px) {
    .drepsi-home .home-section-heading { display: block; }
    .drepsi-home .home-section-heading > p { max-width: none; margin-top: 12px; }
    .drepsi-home .home-header-inner { gap: 20px; }
    .drepsi-home .home-brand-authority { max-width: 160px; }
    .drepsi-home .home-desktop-nav { gap: 16px; }
    .drepsi-home .home-header-actions { gap: 12px; }
    .drepsi-home .home-hero-inner { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 24px; }
    .drepsi-home .home-hero-orbit { width: 230px; height: 230px; }
    .drepsi-home .home-wsp-panel { flex-wrap: wrap; }
    .drepsi-home .home-wsp-panel .home-button { margin-left: 80px; }
}

@media (max-width: 800px) {
    .drepsi-home .home-header-inner { flex-wrap: wrap; gap: 8px 16px; padding-block: 16px 0; }
    .drepsi-home .home-desktop-nav { display: none; }
    .drepsi-home .home-mobile-menu { display: block; width: 100%; border-top: 1px solid var(--home-line); font-size: 14px; }
    .drepsi-home .home-mobile-menu summary { display: flex; align-items: center; gap: 8px; min-height: 44px; cursor: pointer; list-style: none; }
    .drepsi-home .home-mobile-menu summary::-webkit-details-marker { display: none; }
    .drepsi-home .home-mobile-menu nav { display: grid; padding-bottom: 8px; }
    .drepsi-home .home-mobile-menu nav a { padding-block: 12px; }
    .drepsi-home .home-card-content { padding: 24px; }
    .drepsi-home .home-module-link { padding-inline: 24px; }
}

@media (max-width: 600px) {
    .drepsi-home .home-container { width: calc(100% - 40px); }
    .drepsi-home .home-brand { gap: 10px; }
    .drepsi-home .home-brand-name { font-size: 27px; }
    .drepsi-home .home-brand-authority { max-width: 180px; font-size: 10px; }
    .drepsi-home .home-header-actions { flex-wrap: wrap; }
    .drepsi-home .home-header-actions .home-button { padding-inline: 12px; }
    .drepsi-home .home-header-actions .home-button .pi { display: none; }
    .drepsi-home .home-hero-inner { grid-template-columns: minmax(0, 1fr); gap: 24px; padding-block: 36px 24px; }
    .drepsi-home .home-hero h1 { font-size: 38px; letter-spacing: -1px; }
    .drepsi-home .home-hero-description { margin-top: 16px; }
    .drepsi-home .home-hero-actions { gap: 12px 20px; margin-top: 24px; }
    .drepsi-home .home-mascot { width: 160px; }
    .drepsi-home .home-hero-orbit { width: 145px; height: 145px; box-shadow: 0 0 0 18px rgba(209, 235, 251, .04); }
    .drepsi-home .home-modules { padding-top: 32px; }
    .drepsi-home .home-section-heading h2 { font-size: 26px; }
    .drepsi-home .home-module-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
    .drepsi-home .home-module-card h3 { font-size: 23px; }
    .drepsi-home .home-wsp-panel { gap: 16px; padding: 24px; }
    .drepsi-home .home-wsp-icon { width: 44px; height: 44px; }
    .drepsi-home .home-wsp-copy { flex-basis: calc(100% - 60px); }
    .drepsi-home .home-wsp-panel .home-button { margin-left: 0; }
    .drepsi-home .home-footer nav { gap: 4px 20px; }
}

@media (max-width: 420px) {
    .drepsi-home .home-header-actions { justify-content: space-between; width: 100%; }
    .drepsi-home .home-hero h1 { font-size: 34px; }
}

@media (prefers-reduced-motion: reduce) {
    .drepsi-home .home-button, .drepsi-home .home-module-card { transition: none; }
}
