/* Sign-in page: a banner carousel above, the sign-in card below it, a short how-it-works strip under that. */
html, body { height: auto; min-height: 100%; }
.lg-wrap { min-height: 100vh; display: flex; flex-direction: column; }
.lg-hero { position: relative; height: clamp(230px, 34vh, 320px); overflow: hidden; border-bottom: 1px solid var(--line); background: var(--card); }
.lg-hero .slide { position: absolute; inset: 0; opacity: 0; transition: opacity .8s ease; }
.lg-hero .slide.on { opacity: 1; }
.lg-hero .art { position: absolute; inset: 0; background-repeat: no-repeat; background-size: 120% auto; background-position: 50% 31%; }
.lg-hero .slide::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, var(--bg) 0%, color-mix(in srgb, var(--bg) 82%, transparent) 40%, transparent 85%); }
.lg-hero .text { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; top: 0; max-width: 1100px; margin: 0 auto; padding: 0 24px; display: flex; flex-direction: column; justify-content: center; gap: 6px; padding-bottom: 36px; }
.lg-hero h2 { font-size: clamp(22px, 3.4vw, 32px); color: var(--accent); max-width: 520px; }
.lg-hero p { font-size: 16px; line-height: 1.5; color: var(--text2); max-width: 460px; }
.lg-brand { position: absolute; z-index: 4; left: 0; right: 0; top: 0; max-width: 1100px; margin: 0 auto; padding: 14px 24px; color: var(--accent); pointer-events: none; }
.lg-dots { position: absolute; z-index: 4; right: 16px; bottom: 8px; display: flex; gap: 2px; }
.lg-dots button { width: 28px; height: 28px; padding: 0; border: 0; background: transparent; display: flex; align-items: center; justify-content: center; }
.lg-dots button::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--muted); opacity: .55; }
.lg-dots button[aria-current="true"]::before { background: var(--accent); opacity: 1; }
.lg-main { flex: 1 1 auto; display: flex; flex-direction: column; align-items: center; gap: 28px; padding: 0 16px 28px; }
.lg-card { width: 100%; max-width: 420px; margin-top: 28px; padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.lg-card h1 { font-size: 24px; }
.lg-or { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 13px; }
.lg-or::before, .lg-or::after { content: ''; flex: 1 1 0; height: 1px; background: var(--line); }
.lg-social { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; border-radius: 10px; border: 1px solid var(--line); background: var(--panel); color: var(--text); text-decoration: none; font-size: 15px; }
.lg-social:hover { border-color: var(--accent); }
.lg-social svg { width: 20px; height: 20px; flex: 0 0 auto; }
.lg-hero .slide.steps::after { background: linear-gradient(90deg, var(--bg) 0%, color-mix(in srgb, var(--bg) 90%, transparent) 62%, color-mix(in srgb, var(--bg) 35%, transparent) 100%); }
.lg-hero .slide.steps .text { max-width: 1100px; }
.lg-stepsrow { list-style: none; margin: 8px 0 0; padding: 0 0 28px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; max-width: 900px; }
.lg-stepsrow li { display: flex; gap: 12px; align-items: flex-start; }
.lg-stepsrow .n { flex: 0 0 28px; height: 28px; border-radius: 50%; background: var(--accent); color: var(--onAccent); font-weight: 800; display: flex; align-items: center; justify-content: center; }
.lg-stepsrow b { display: block; margin-bottom: 2px; color: var(--text); } .lg-stepsrow span:not(.n) { font-size: 13px; color: var(--text2); line-height: 1.45; }
.lg-foot { text-align: center; font-size: 12px; color: var(--muted); line-height: 1.5; max-width: 640px; }
@media (max-width: 700px) { .lg-stepsrow { grid-template-columns: 1fr; gap: 8px; padding-bottom: 24px; } .lg-stepsrow span:not(.n) { display: none; } .lg-hero { height: 240px; } .lg-hero .text { padding: 0 16px; } .lg-hero p { font-size: 14px; max-width: 78%; } .lg-hero h2 { max-width: 80%; } .lg-hero .art { background-position-y: 27%; } }
@media (prefers-reduced-motion: reduce) { .lg-hero .slide { transition: none; } }
.lg-hero .slide.steps .text { justify-content: flex-start; padding-top: 58px; }
@media (max-width: 700px) { .lg-hero .slide.steps .text { padding-top: 54px; gap: 4px; } .lg-hero .slide.steps h2 { font-size: 20px; } }
