/* Date.mw brand: colours, background and buttons shared by the landing page,
   auth pages and onboarding. Dark, calm, one accent gradient (pink → violet). */
:root {
    color-scheme: dark;
    --bg: #07070d;
    --surface: #101019;
    --surface-2: #171723;
    --field: #13131d;
    --line: rgba(255, 255, 255, .12);
    --line-strong: rgba(255, 255, 255, .22);
    --ink: #f4f4f8;
    --muted: #9a9ab2;
    --brand: #ff2d95;
    --brand-2: #8b5cf6;
    --grad: linear-gradient(135deg, #ff2d95 0%, #8b5cf6 100%);
    --ok: #34d399;
    --error: #ff6b81;
    --radius: 14px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    min-height: 100vh;
    color: var(--ink);
    background-color: var(--bg);
    background-image:
        radial-gradient(55vmax 55vmax at 0% 0%, rgba(139, 92, 246, .22), transparent 60%),
        radial-gradient(45vmax 45vmax at 100% 100%, rgba(255, 45, 149, .16), transparent 60%),
        radial-gradient(35vmax 35vmax at 90% 5%, rgba(37, 99, 235, .14), transparent 60%);
    background-attachment: fixed;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 15px;
    line-height: 1.45;
    -webkit-font-smoothing: antialiased;
}
a { color: var(--ink); }
:focus-visible { outline: 2px solid #c4b5fd; outline-offset: 2px; }
::selection { background: rgba(255, 45, 149, .35); }

.btn {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    width: 100%; height: 44px; padding: 0 20px;
    border-radius: 999px; border: 1px solid transparent;
    font: inherit; font-weight: 700; font-size: 15px; text-decoration: none;
    cursor: pointer; transition: filter .15s, background .15s, transform .1s;
}
.btn:active { transform: scale(.985); }
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--grad); color: #fff; }
.btn-primary:hover { filter: brightness(1.08); }
.btn-primary:disabled { filter: grayscale(.4) brightness(.6); cursor: default; }
.btn-white { background: #fff; color: #0b0b12; }
.btn-white:hover { background: #e9e9f0; }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-outline:hover { background: rgba(255, 255, 255, .06); }
.btn svg { flex: none; }

.spinner { width: 18px; height: 18px; border: 2px solid rgba(255,255,255,.35); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
