:root {
    color-scheme: light;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #17213a;
    background: #f5f7fb;
}

* { box-sizing: border-box; }

body {
    min-height: 100vh;
    margin: 0;
    display: flex;
    flex-direction: column;
    font-size: 1.125rem;
    line-height: 1.5;
}

.site-header {
    background: #fff;
    border-bottom: 1px solid #dfe4ef;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    max-width: 70rem;
    margin: 0 auto;
    padding: 1rem clamp(1rem, 4vw, 2rem);
}

.brand {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    max-width: 100%;
    color: #17213a;
    font-size: 1.25rem;
    font-weight: 700;
    text-decoration: none;
}

.brand img { width: auto; height: 4rem; max-width: 100%; object-fit: contain; flex-shrink: 0; }
.brand-location { display: block; color: #46546d; font-size: 1rem; font-weight: 400; }
.language-switch { display: flex; gap: .5rem; flex-wrap: wrap; margin-left: auto; }
.language-switch button { display: inline-flex; align-items: center; gap: .4rem; min-height: 3rem; padding: .5rem .75rem; border: 2px solid #c5cde0; border-radius: .6rem; background: #fff; color: #17213a; font: inherit; font-size: 1rem; font-weight: 700; cursor: pointer; }
.language-switch button:hover { border-color: #5146ca; background: #f9f9ff; }
.language-switch button[aria-pressed="true"] { border-color: #3930a3; color: #fff; background: #3930a3; }
.language-icon { font-size: 1.2rem; line-height: 1; }
.portal-main { flex: 1; width: 100%; padding: 2rem 1rem 3rem; }
.portal-content { max-width: 48rem; margin: 0 auto; }
.intro { margin: 1rem 0 2rem; }
.eyebrow { color: #3930a3; font-weight: 700; margin: 0 0 .5rem; }
h1 { margin: 0; font-size: clamp(2rem, 5vw, 2.75rem); line-height: 1.2; }
.intro > p:last-child, .message-card > p:not(.eyebrow) { color: #46546d; margin: .75rem 0 0; font-size: 1.25rem; }
.choices { display: grid; gap: 1rem; }

.choice {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-height: 6rem;
    padding: 1.25rem 1.5rem;
    color: #17213a;
    background: #fff;
    border: 2px solid #dce2f0;
    border-radius: 1rem;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(27, 38, 70, .06);
}

.choice:hover { border-color: #5146ca; background: #f9f9ff; }
.choice-copy { display: grid; gap: .25rem; min-width: 0; }
.choice-title { font-size: 1.3rem; font-weight: 700; line-height: 1.3; }
.choice-description { color: #46546d; font-size: 1.05rem; }
.choice-arrow { margin-left: auto; color: #3930a3; font-size: 1.75rem; line-height: 1; }
.choice-icon { display: grid; place-items: center; flex: 0 0 3.5rem; height: 3.5rem; border-radius: .75rem; background: #edebff; color: #3930a3; }
.choice-icon svg { width: 1.9rem; height: 1.9rem; }

.back-link {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    min-height: 3rem;
    color: #3930a3;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: .2em;
}

.message-card { margin-top: 1rem; padding: clamp(1.5rem, 5vw, 2.5rem); background: #fff; border: 1px solid #dce2f0; border-radius: 1rem; }
.primary-link { display: inline-flex; align-items: center; justify-content: center; min-height: 3.5rem; margin-top: 2rem; padding: .8rem 1.25rem; border-radius: .6rem; color: #fff; background: #3930a3; font-weight: 700; text-decoration: none; }
.primary-link:hover { background: #282078; }
a:focus-visible, button:focus-visible { outline: 3px solid #ae5800; outline-offset: 4px; }
.site-footer { padding: 1.5rem 1rem; color: #46546d; text-align: center; font-size: 1rem; }

@media (min-width: 48rem) {
    .portal-main { padding-top: 3rem; }
    .intro { margin-bottom: 2.5rem; }
}

@media (max-width: 24rem) {
    .choice { padding: 1rem; }
    .choice-icon { flex-basis: 3rem; height: 3rem; }
    .choice-title { font-size: 1.15rem; }
}

