:root {
    --base-purple: #2d005e;
    --base-input: #c2c1d1;
    --base-white: #ffffff;
    --font: 'Segoe UI Light', 'Segoe UI', 'Selawik', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    min-height: 100vh;
    min-height: 100dvh;
    background: var(--base-purple);
    color: var(--base-white);
    font-family: var(--font);
    font-weight: 300;
    display: flex;
    justify-content: center;
    align-items: center;
    -webkit-font-smoothing: antialiased;
}

.screen {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: min(1050px, 92vw);
    margin-left: 12vw;
}

.container-login, .container-share { flex: 0 1 680px; min-width: 0; }

.kicker { font-size: 0.95rem; margin: 0 0 10px; letter-spacing: 0.5px; color: var(--accent-color, #fff); }

h1 {
    font-weight: 300;
    font-size: 3.5rem;
    letter-spacing: -1px;
    line-height: 1.1;
    margin: 0 0 46px;
    color: var(--accent-color, var(--base-white));
    overflow-wrap: anywhere;
}

.sub { font-size: 1.05rem; margin: -30px 0 34px; opacity: 0.8; }

.form-group { display: flex; margin-bottom: 12px; align-items: center; }
label { width: 150px; font-size: 1rem; flex-shrink: 0; }

input {
    width: 250px;
    height: 30px;
    border: none;
    border-radius: 0;
    padding: 0 6px;
    font-family: inherit;
    font-size: 16px;
    background: var(--base-input);
    color: #111;
    -webkit-appearance: none;
}
input:focus { outline: 2px solid #fff; background: #fff; }

.error { min-height: 1.4em; margin: 16px 0 0 150px; font-size: 1rem; color: #ffb4c8; font-weight: 400; }

.go-btn {
    background: transparent;
    color: white;
    border: 0;
    line-height: 0;
    cursor: pointer;
    padding: 20px 10px;
    transition: transform 0.15s ease, opacity 0.2s ease;
    text-decoration: none;
    flex-shrink: 0;
}
.go-btn .arrow { width: 170px; height: auto; display: block; overflow: visible; }
.go-btn .arrow.down { transform: rotate(90deg); width: 130px; }
.go-btn:hover { transform: translateX(8px); }
.go-btn:active { transform: translateX(14px) scale(0.97); }
.go-btn.busy { opacity: 0.4; animation: nudge 0.9s ease-in-out infinite; }
.go-btn:disabled { cursor: default; }
@keyframes nudge { 50% { transform: translateX(14px); } }

/* share page bits */
.meta { font-size: 1.1rem; opacity: 0.8; margin: -30px 0 30px; }
.bar { height: 4px; background: rgba(255,255,255,0.25); width: min(420px, 100%); margin: 6px 0 12px; }
.bar i { display: block; height: 100%; width: 0; background: #fff; transition: width 0.4s ease; }
.waiting-dots i {
    display: inline-block; width: 6px; height: 6px; background: #fff; margin-right: 6px;
    animation: blink 1.2s infinite;
}
.waiting-dots i:nth-child(2) { animation-delay: 0.2s; }
.waiting-dots i:nth-child(3) { animation-delay: 0.4s; }
@keyframes blink { 0%, 100% { opacity: 0.2; } 50% { opacity: 1; } }
.small { font-size: 0.9rem; opacity: 0.7; }

@media (max-width: 700px) {
    .screen { flex-direction: column; align-items: flex-start; margin: 0; padding: 40px 24px; }
    h1 { font-size: 2.6rem; margin-bottom: 34px; }
    .form-group { flex-direction: column; align-items: flex-start; gap: 6px; }
    label { width: auto; }
    input { width: min(320px, 86vw); height: 36px; }
    .error { margin-left: 0; }
    .go-btn { align-self: flex-end; }
    .go-btn .arrow { width: 96px; }
    .go-btn .arrow.down { width: 80px; }
}
