* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; padding-inline: max(24px, env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px)); background: radial-gradient(ellipse at 100% 0%, #112c3b 0%, transparent 60%), var(--bg); }
.welcome { width: min(100%, 840px); min-height: calc(100svh - var(--safe-top) - var(--safe-bottom) - 40px); margin: auto; display: flex; flex-direction: column; }
.welcome-header { padding-block: 8px 24px; }
.primary-logo { display: block; width: min(100%, 336px); height: auto; margin-left: -16px; }
.overline { margin: 0; font-size: 14px; color: var(--muted); }
.welcome-content { max-width: 520px; padding-block: 8px 32px; }
h1 { margin: 0 0 20px; font-size: clamp(30px, 7.8vw, 40px); font-weight: 700; letter-spacing: -.04em; line-height: 1.18; }
.intro { color: var(--muted); font-size: 16px; line-height: 1.55; margin: 0 0 28px; max-width: 430px; }
.session-status { min-height: 42px; font-size: 14px; color: var(--muted); line-height: 1.5; margin: 0 0 16px; }
a, button { -webkit-tap-highlight-color: transparent; }
.brand-primary, .brand-secondary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; width: 100%; padding: 16px 20px; border-radius: 14px; font: 600 16px Inter, sans-serif; text-decoration: none; cursor: pointer; }
.brand-primary { color: #071018; background: linear-gradient(135deg, #35F2C2, #18D8FF, #158BFF); border: 0; }
.brand-secondary { margin-top: 16px; color: var(--muted); background: transparent; border: 1px solid var(--border); justify-content: center; }
button:disabled { opacity: .6; cursor: wait; }
.footnote { margin: 14px 0 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.module-card { display: flex; align-items: center; gap: 16px; width: 100%; padding: 24px 20px; border: 1px solid var(--border); border-radius: 20px; background: var(--surface); color: var(--text); font: inherit; text-align: left; text-decoration: none; }
.module-card + .module-card { margin-top: 12px; }
button.module-card-disabled:disabled { opacity: .58; cursor: default; }
.module-symbol { display: grid; place-items: center; width: 48px; height: 48px; flex-shrink: 0; border-radius: 14px; background: #102E38; color: var(--accent); font-size: 32px; }
.module-card strong { font-size: 20px; font-weight: 600; }
.module-description { display: block; color: var(--muted); font-size: 14px; line-height: 1.5; margin-top: 6px; }
.module-arrow { margin-left: auto; color: var(--accent); font-size: 24px; }
.module-status { margin-left: auto; color: var(--muted); font-size: 13px; font-weight: 600; }
.welcome-footer { margin-top: auto; padding-top: 32px; font-size: 14px; color: var(--muted); }
@media (max-width: 379px) { .primary-logo { width: 96px; margin: 0 0 16px; } }
@media (min-width: 700px) { .welcome-header { padding-top: 32px; } .welcome-content { padding-top: 24px; } }
@media (prefers-reduced-motion: no-preference) { .module-card:not(.module-card-disabled), .brand-primary { transition: border-color .15s, filter .15s; } .module-card:not(.module-card-disabled):hover { border-color: var(--accent); } .brand-primary:hover { filter: brightness(1.08); } }
