/* Design 09: call information first, sign-in opened from the banner. */
.content2:has(> .welcome-page) { padding: 15px; }
.welcome-page { container: welcome / inline-size; max-width: 1500px; min-width: 0; margin: 0 auto; }
.welcome-page * { box-sizing: border-box; }
.welcome-page [hidden] { display: none !important; }
.welcome-layout { display: grid; gap: 24px; }
.welcome-layout > * { min-width: 0; }
.welcome-page h2, .welcome-page h3, .welcome-page h4 { color: var(--heading); }
.welcome-intro {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: 270px;
    padding: clamp(28px,5vw,56px);
    border: 1px solid #34416e;
    border-radius: 8px;
    background: #1e2751 url('../img/background2.jpg') center 46% / cover no-repeat;
    color: #ffffff;
    box-shadow: inset 0 1px rgba(255,255,255,.12);
}
.welcome-intro::before {
    position: absolute;
    z-index: -1;
    inset: 0;
    background: linear-gradient(90deg,rgba(20,31,78,.74) 0%,rgba(24,36,84,.46) 52%,rgba(24,36,84,.14) 100%);
    content: '';
}
.welcome-eyebrow { margin: 0 0 14px; color: #c7d2fe; font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.welcome-intro h2 { margin: 0 0 16px; color: #ffffff; font-size: clamp(32px,4.3vw,48px); font-weight: 600; line-height: 1.08; letter-spacing: -.035em; }
.welcome-intro-copy { max-width: 58ch; color: #e3e7f5; font-size: 15px; line-height: 1.65; overflow-wrap: anywhere; }
.welcome-intro-copy p { margin: 0 0 10px; }
.welcome-intro-copy > :last-child { margin-bottom: 0; }
.welcome-intro-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.welcome-intro-actions a { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 10px 15px; border: 1px solid rgba(255,255,255,.62); border-radius: 5px; color: #ffffff; font-size: 13px; font-weight: 600; line-height: 1.4; text-decoration: none !important; }
.welcome-intro-actions a:hover { background: #eef1fb; color: #17234f; }
.welcome-intro-primary { background: #ffffff; color: #17234f !important; }
.welcome-intro-secondary { background: rgba(8,16,48,.38); }
.welcome-intro-actions svg { width: 16px; height: 16px; flex: 0 0 16px; margin-left: 8px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
[data-theme=dark][data-dark-palette=graphite] .welcome-intro { border-color: #52525b; background-color: #34343a; background-blend-mode: luminosity; }
[data-theme=dark][data-dark-palette=graphite] .welcome-intro::before { background: linear-gradient(90deg,rgba(39,39,42,.68) 0%,rgba(52,52,58,.42) 52%,rgba(52,52,58,.14) 100%); }
[data-theme=dark][data-dark-palette=graphite] .welcome-eyebrow { color: #d4d4d8; }
[data-theme=dark][data-dark-palette=graphite] .welcome-intro-copy { color: #e4e4e7; }
[data-theme=dark][data-dark-palette=graphite] .welcome-intro-actions a { border-color: #a1a1aa; }
[data-theme=dark][data-dark-palette=graphite] .welcome-intro-primary { background: #e4e4e7; color: #27272a !important; }
[data-theme=dark][data-dark-palette=graphite] .welcome-intro-secondary { background: rgba(39,39,42,.58); }
[data-theme=dark][data-dark-palette=graphite] .welcome-intro-actions a:hover { background: #fafafa; color: #27272a !important; }
.welcome-call { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); grid-template-areas: "heading heading" "summary countdown" "facts facts"; gap: 0 32px; padding: 26px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface); }
.welcome-call-heading { grid-area: heading; display: flex; align-items: start; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.welcome-call-heading h3 { display: flex; flex: 1; align-items: flex-start; gap: 10px; min-width: 0; margin: 0; font-size: 28px; line-height: 1.3; overflow-wrap: anywhere; }
.welcome-call-title-icon { width: 1.15em; height: 1.15em; flex: 0 0 1.15em; margin-top: .075em; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.welcome-call-heading h3 > span { min-width: 0; }
.welcome-call-status { flex-shrink: 0; min-height: 36px; padding: 7px 12px; font-size: 13px; }
.welcome-call-summary { grid-area: summary; display: flex; flex-direction: column; align-items: start; justify-content: space-between; gap: 20px; min-width: 0; }
.welcome-call-summary > div { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.welcome-action { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 9px 12px; border: 1px solid var(--border); background: var(--surface); color: var(--text); font: inherit; text-decoration: none !important; box-shadow: none; }
.welcome-action:hover { background: var(--hover); color: var(--hover-text); }
.welcome-action svg { width: 14px; height: 14px; flex: 0 0 14px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.welcome-call-summary > div p { margin: 0 0 12px; }
.welcome-call-summary > div p:last-child { margin-bottom: 0; }
.welcome-call-timing { grid-area: countdown; min-width: 0; padding: 16px; border: 1px solid var(--border); border-radius: 6px; background: var(--stripe); }
.welcome-submission-deadline { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 8px; margin-bottom: 16px; }
.welcome-submission-deadline > p { flex: 0 0 auto; max-width: 100%; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.welcome-submission-deadline > time { flex: 0 0 auto; max-width: 100%; margin-left: auto; text-align: right; font-size: 13px; font-weight: 600; line-height: 1.5; }
.welcome-countdown, .welcome-call-closed { min-width: 0; }
.welcome-call-closed h4 { margin: 0 0 12px; font-size: 16px; }
.welcome-call-closed > div { color: var(--muted); font-size: 13px; line-height: 1.6; overflow-wrap: anywhere; }
.welcome-call-closed p { margin: 0 0 12px; }
.welcome-call-closed p:last-child { margin-bottom: 0; }
.welcome-call-closed .welcome-action { margin-top: 16px; }
.welcome-countdown dl { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 8px; margin: 0; }
.welcome-countdown dl > div { display: flex; flex-direction: column-reverse; gap: 6px; padding: 12px 2px; border: 1px solid var(--border); border-radius: 4px; background: var(--surface); text-align: center; }
.welcome-countdown dt { color: var(--muted); font-size: 12px; }
.welcome-countdown dd { margin: 0; color: var(--heading); font-size: 36px; font-weight: 600; line-height: 1.15; font-variant-numeric: tabular-nums; }
.welcome-call-facts { grid-area: facts; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; margin: 20px 0 0; padding: 18px 0 0; border-top: 1px solid var(--border); }
.welcome-call-facts > div { min-width: 0; }
.welcome-long-term { justify-self: center; max-width: 100%; text-align: left; }
.welcome-fast-response { justify-self: end; max-width: 100%; text-align: left; }
.welcome-call-facts dt { color: var(--muted); font-size: 12px; line-height: 1.5; }
.welcome-call-facts dd { margin: 6px 0 0; font-size: 13px; font-weight: 600; line-height: 1.5; }
.welcome-deadline-date { display: inline; }
.welcome-deadline-time { display: inline; white-space: nowrap; }
.welcome-published-extra { overflow-wrap: anywhere; line-height: 1.6; }
.welcome-routes > h3, .welcome-guide > h3 { margin: 0 0 16px; font-size: 18px; }
.welcome-route-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
.welcome-route { padding: 20px; border: 1px solid var(--border); border-radius: 6px; background: var(--surface); }
.welcome-route-heading { display: flex; align-items: start; justify-content: space-between; flex-wrap: wrap; gap: 8px 12px; margin-bottom: 12px; }
.welcome-route h4 { margin: 0; font-size: 16px; }
.welcome-route-heading > span { padding: 4px 7px; border: 1px solid var(--border); border-radius: 4px; color: var(--muted); font-size: 12px; }
.welcome-route > div:last-child { font-size: 13px; line-height: 1.6; overflow-wrap: anywhere; }
.welcome-route ul { margin: 0; padding-left: 18px; }
.welcome-route li { margin: 0 0 8px; padding: 0; }
.welcome-route li:last-child { margin-bottom: 0; }
.welcome-guide ol { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.welcome-guide li { display: flex; align-items: start; gap: 10px; min-width: 0; margin: 0; padding: 16px; border: 1px solid var(--border); border-radius: 6px; background: var(--surface); }
.welcome-guide li > span { display: inline-flex; flex: 0 0 26px; align-items: center; justify-content: center; height: 26px; border: 1px solid var(--border); border-radius: 4px; color: var(--heading); }
.welcome-guide li > div { display: flex; flex: 1; flex-direction: column; align-self: stretch; min-width: 0; }
.welcome-guide h4 { margin: 0 0 6px; font-size: 13px; line-height: 1.4; }
.welcome-guide p { margin: 0 0 8px; line-height: 1.6; }
.welcome-guide-link { display: inline-flex; min-height: 24px; align-items: center; align-self: flex-start; gap: 6px; margin-top: auto; }
.welcome-guide-link svg { width: 14px; height: 14px; flex: 0 0 14px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.welcome-registration { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 16px; padding: 22px 24px; border: 1px solid var(--border); border-radius: 7px; background: var(--stripe); }
.welcome-registration h3 { margin: 0 0 6px; font-size: 16px; }
.welcome-registration p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.welcome-page :focus-visible { outline: 2px solid var(--link); outline-offset: 2px; }
@container welcome (max-width: 820px) {
    .welcome-call { display: block; }
    .welcome-call-summary { margin-bottom: 20px; justify-content: start; }
    .welcome-call-timing { margin: 20px 0; }
    .welcome-call-facts { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .welcome-fast-response { grid-column: 1 / -1; }
    .welcome-guide ol { grid-template-columns: minmax(0,1fr); }
    .welcome-guide-link { align-self: stretch; justify-content: space-between; min-height: 44px; padding: 8px 10px; border: 1px solid var(--border); text-decoration: none; }
    .welcome-guide-link:hover { background: var(--hover); color: var(--hover-text); }
}
@container welcome (max-width: 600px) {
    .welcome-intro { min-height: 0; padding: 26px 20px; }
    .welcome-intro::before { background: rgba(20,31,78,.7); }
    [data-theme=dark][data-dark-palette=graphite] .welcome-intro::before { background: rgba(39,39,42,.7); }
    .welcome-intro h2 { max-width: 13ch; font-size: clamp(30px,10vw,40px); }
    .welcome-intro-actions { flex-direction: column; align-items: stretch; }
    .welcome-intro-actions a { min-height: 44px; }
    .welcome-call { padding: 20px; }
    .welcome-call-heading h3 { font-size: 21px; }
    .welcome-route-list, .welcome-call-facts, .welcome-registration { grid-template-columns: minmax(0,1fr); }
    .welcome-long-term, .welcome-fast-response { justify-self: stretch; }
    .welcome-call-timing { padding: 12px; }
    .welcome-submission-deadline { flex-direction: column; align-items: center; gap: 4px; text-align: center; }
    .welcome-submission-deadline > p,
    .welcome-submission-deadline > time { display: block; max-width: 100%; margin: 0; text-align: center; }
    .welcome-countdown dl { gap: 6px; }
    .welcome-countdown dd { font-size: 24px; }
    .welcome-registration .welcome-action { justify-self: start; }
}
