:root {
    color-scheme: light;
    --navy: #10233f;
    --blue: #0099db;
    --link: #006f9f;
    --pale: #eef7fb;
    --line: #d8e6ef;
    --muted: #51657d;
    --gold: #c78605;
    font-family: "Segoe UI", Arial, sans-serif;
    color: var(--navy);
    background: var(--pale);
    font-synthesis: none;
}
* { box-sizing: border-box; }
body { margin: 0; border-top: 5px solid var(--navy); }
a { color: inherit; }
.wrap { width: min(1180px, calc(100% - 80px)); margin-inline: auto; }
.skip-link { position: absolute; top: -100px; left: 16px; padding: 12px 18px; background: white; z-index: 5; }
.skip-link:focus { top: 14px; }
a:focus-visible { outline: 3px solid var(--gold); outline-offset: 5px; }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 30px; border-bottom: 1px solid var(--line); }
.brand { display: flex; gap: 14px; align-items: center; text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 54px; height: 54px; background: var(--blue); border-bottom: 3px solid var(--gold); border-radius: 9px; font-size: 21px; font-weight: 800; flex-shrink: 0; }
.brand-name { font-size: 23px; font-weight: 720; letter-spacing: -.5px; }
.brand-name > span { display: block; margin-top: 4px; color: var(--muted); font-size: 12px; font-weight: 400; letter-spacing: .1px; }
.portal-label { display: flex; align-items: center; gap: 9px; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 1.4px; }
.portal-label > span { width: 6px; height: 6px; background: var(--blue); border-radius: 50%; }
.welcome { display: flex; align-items: flex-end; justify-content: space-between; gap: 48px; padding: 62px 0 53px; }
.eyebrow { margin: 0 0 18px; color: var(--link); font-size: 11px; font-weight: 750; letter-spacing: 2px; }
h1 { margin: 0; font-size: clamp(44px, 5vw, 66px); line-height: 1.08; letter-spacing: -2.5px; font-weight: 750; }
h1 > span { color: var(--link); }
.intro { margin: 25px 0 0; color: var(--muted); font-size: 16px; line-height: 1.75; }
.welcome-note { padding-bottom: 8px; flex-shrink: 0; }
.note-line { display: block; height: 3px; width: 38px; background: var(--gold); }
.welcome-note p { font-size: 21px; font-weight: 600; line-height: 1.4; letter-spacing: -.4px; margin: 18px 0 12px; }
.welcome-note > span:last-child { color: var(--muted); font-size: 12px; }
.section-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 17px; }
.section-heading h2 { font-size: 17px; margin: 0; letter-spacing: -.25px; }
.section-heading > span { color: var(--muted); font-size: 12px; }
.tool-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.tool-card { display: flex; flex-direction: column; background: white; border: 1px solid var(--line); border-radius: 14px; padding: 26px 26px 0; text-decoration: none; box-shadow: 0 4px 16px #10233f04; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.tool-card:hover { border-color: var(--blue); box-shadow: 0 10px 28px #10233f0d; transform: translateY(-3px); }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 28px; }
.tool-icon { display: grid; place-items: center; width: 46px; height: 46px; background: #e5f5fc; color: var(--link); border-radius: 10px; flex-shrink: 0; }
.tool-icon svg { width: 28px; height: 28px; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.tool-category { font-size: 9px; letter-spacing: 1.1px; font-weight: 700; color: var(--muted); text-align: right; }
.tool-card h3 { font-size: 25px; letter-spacing: -.8px; margin: 0 0 12px; }
.tool-card p { margin: 0 0 24px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.tool-details { display: flex; flex-wrap: wrap; gap: 7px; margin-top: auto; margin-bottom: 25px; }
.tool-details span { font-size: 10px; line-height: 1.5; padding: 5px 8px; border-radius: 4px; background: #f0f6fa; color: var(--muted); }
.card-action { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 20px 0; border-top: 1px solid var(--line); font-size: 14px; font-weight: 650; }
.action-arrow { font-size: 24px; font-weight: 400; line-height: 1; color: var(--link); transition: transform .18s ease; }
.tool-card:hover .action-arrow { transform: translateX(3px); }
.timesheet { background: var(--navy); border-color: var(--navy); color: white; }
.timesheet:hover { border-color: var(--blue); }
.timesheet .tool-icon { background: #234462; color: #6dd3ff; }
.timesheet .tool-category { color: #b4c9dc; }
.timesheet p { color: #c7d6e3; }
.timesheet .tool-details span { background: #243b55; color: #dae7f0; }
.timesheet .card-action { border-color: #3a4b63; }
.timesheet .action-arrow { color: #66d1ff; }
.intranet .tool-icon { color: #9b6802; background: #fff4dc; }
.sign-in-note { display: flex; align-items: center; gap: 13px; margin: 25px 0 40px; }
.sign-in-note svg { width: 20px; height: 20px; flex-shrink: 0; stroke: var(--muted); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.sign-in-note p { color: var(--muted); font-size: 12px; line-height: 1.65; margin: 0; }
.sign-in-note strong { color: var(--navy); font-weight: 600; }
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 0 30px; border-top: 1px solid var(--line); font-size: 11px; color: var(--muted); }
.site-footer p { margin: 0; line-height: 1.8; }
.footer-dot { padding: 0 9px; }
.site-footer a { text-decoration: none; line-height: 1.8; text-align: right; }
.site-footer a > span { color: var(--link); margin-left: 7px; font-weight: 600; }
.site-footer a:hover > span { text-decoration: underline; text-underline-offset: 3px; }
.not-found-page { display: flex; flex-direction: column; min-height: 100vh; }
.recovery { flex: 1; padding-block: 64px 56px; }
.recovery-hero { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: 70px; }
.recovery-art { position: relative; display: flex; align-items: center; justify-content: center; flex-direction: column; min-height: 340px; border-radius: 22px; background: var(--navy); overflow: hidden; }
.recovery-path { position: absolute; inset: 0; width: 100%; height: 100%; }
.recovery-number { position: relative; font-size: clamp(108px, 12vw, 164px); font-weight: 750; letter-spacing: -9px; line-height: 1; color: #fff; }
.recovery-number > span { color: #66d1ff; }
.recovery-caption { position: relative; margin-top: 28px; color: #c7d6e3; font-size: 13px; }
.recovery-copy h1 { font-size: clamp(36px, 4vw, 52px); letter-spacing: -1.7px; line-height: 1.12; }
.recovery-copy .intro { max-width: 420px; margin-top: 22px; }
.recovery-home { display: inline-flex; align-items: center; justify-content: center; gap: 12px; margin-top: 28px; padding: 15px 22px; border-radius: 8px; background: var(--blue); color: var(--navy); text-decoration: none; font-size: 15px; font-weight: 650; }
.recovery-home:hover { background: #0089c5; }
.recovery-home > span { font-size: 22px; line-height: 1; }
.recovery-tools { margin-top: 52px; padding-top: 26px; border-top: 1px solid var(--line); }
.recovery-tools h2 { font-size: 16px; margin: 0 0 18px; font-weight: 600; }
.recovery-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.recovery-links a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px; background: white; border: 1px solid var(--line); border-radius: 10px; text-decoration: none; font-size: 16px; font-weight: 650; }
.recovery-links a:hover { border-color: var(--blue); }
.recovery-links small { display: block; color: var(--muted); font-size: 12px; font-weight: 400; margin-top: 5px; }
.recovery-links a > span:last-child { color: var(--link); font-size: 23px; font-weight: 400; }
@media (max-width: 1000px) {
    .wrap { width: calc(100% - 48px); }
    .welcome { gap: 24px; padding: 48px 0 42px; }
    .welcome-note p { font-size: 18px; }
    .tool-grid { gap: 14px; }
    .tool-card { padding: 22px 20px 0; }
    .card-top { align-items: flex-start; flex-direction: column; gap: 14px; margin-bottom: 22px; }
    .tool-category { text-align: left; }
    .tool-card h3 { font-size: 23px; }
    .recovery-hero { gap: 36px; }
    .recovery-art { min-height: 310px; }
}
@media (max-width: 720px) {
    .wrap { width: calc(100% - 36px); }
    .site-header { padding-block: 22px; gap: 16px; }
    .brand-mark { width: 44px; height: 44px; font-size: 18px; border-radius: 7px; }
    .brand { gap: 10px; }
    .brand-name { font-size: 20px; }
    .brand-name > span { font-size: 10px; }
    .portal-label { font-size: 9px; letter-spacing: .6px; gap: 6px; }
    .welcome { padding: 42px 0 35px; }
    h1 { font-size: 46px; letter-spacing: -1.7px; }
    .intro { font-size: 15px; margin-top: 20px; }
    .welcome-note, .desktop-break, .section-heading > span { display: none; }
    .tool-grid { grid-template-columns: 1fr; gap: 16px; }
    .tool-card { padding: 24px 24px 0; }
    .card-top { flex-direction: row; align-items: center; gap: 12px; margin-bottom: 20px; }
    .tool-card h3 { font-size: 26px; }
    .tool-card p { margin-bottom: 20px; }
    .tool-details { margin-bottom: 22px; }
    .sign-in-note { align-items: flex-start; margin: 24px 0 32px; }
    .site-footer { align-items: flex-start; flex-direction: column; gap: 12px; }
    .site-footer a { text-align: left; }
    .site-footer a > span { display: block; margin-left: 0; }
    .recovery { padding-block: 28px 36px; }
    .recovery-hero { grid-template-columns: 1fr; gap: 30px; }
    .recovery-art { min-height: 200px; border-radius: 16px; }
    .recovery-number { font-size: 108px; letter-spacing: -6px; }
    .recovery-caption { margin-top: 16px; font-size: 12px; }
    .recovery-copy h1 { font-size: 40px; letter-spacing: -1.2px; }
    .recovery-copy .intro { margin-top: 18px; }
    .recovery-home { margin-top: 24px; }
    .recovery-tools { margin-top: 36px; }
    .recovery-links { grid-template-columns: 1fr; gap: 10px; }
}
@media (max-width: 380px) {
    .portal-label { display: none; }
    h1 { font-size: 40px; }
}
@media (prefers-reduced-motion: reduce) {
    .tool-card, .action-arrow { transition: none; }
    .tool-card:hover, .tool-card:hover .action-arrow { transform: none; }
}
