@import url("https://fonts.googleapis.com/css2?family=Geist:wght@400;600;700&family=Manrope:wght@800&display=swap");

:root {
    --brand: oklch(0.27 0.05 245);
    --brand-deep: oklch(0.2 0.05 245);
    --brand-glow: oklch(0.42 0.09 215);
    --brand-tide: oklch(0.68 0.11 200);
    --on-brand: oklch(0.985 0.006 85);
    --on-brand-muted: oklch(0.985 0.006 85 / 0.78);
    --on-brand-faint: oklch(0.985 0.006 85 / 0.6);
    --font: Geist, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

html,
body {
    height: 100%;
    margin: 0;
}

body {
    background-color: var(--brand);
    color: var(--on-brand);
    font-family: var(--font);
    -webkit-font-smoothing: antialiased;
}

.landing-page {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(60rem 40rem at 15% -10%, var(--brand-glow) 0%, transparent 60%),
        radial-gradient(50rem 40rem at 110% 110%, var(--brand-deep) 0%, transparent 65%),
        var(--brand);
}

/* Oversized logo mark as a quiet background motif */
.landing-motif {
    position: absolute;
    right: -6rem;
    bottom: -8rem;
    width: min(42rem, 90vw);
    height: auto;
    opacity: 0.07;
    pointer-events: none;
}

.landing-header {
    display: flex;
    justify-content: flex-end;
    padding: 1.5rem;
    position: relative;
    z-index: 1;
}

.landing-login-button {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.6rem 1rem 0.6rem 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.12);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    box-shadow: 0 6px 20px -8px rgba(0, 0, 0, 0.25);
    color: var(--on-brand);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    line-height: 1;
    text-decoration: none;
    transition: background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.landing-login-button svg {
    width: 1rem;
    height: 1rem;
    transition: transform 0.2s;
}

.landing-login-button:hover,
.landing-login-button:focus-visible {
    background: var(--on-brand);
    border-color: var(--on-brand);
    color: var(--brand-deep);
    box-shadow: 0 10px 28px -10px rgba(0, 0, 0, 0.35);
}

.landing-login-button:hover svg,
.landing-login-button:focus-visible svg {
    transform: translateX(3px);
}

.landing-login-button:focus-visible {
    outline: 2px solid var(--on-brand);
    outline-offset: 3px;
}

.landing-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 1.75rem;
    padding: 2rem 1rem 4rem;
    position: relative;
    z-index: 1;
}





.landing-headline {
    margin: 0;
    max-width: 22ch;
    font-size: clamp(1.6rem, 4.5vw, 2.6rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    text-wrap: balance;
}

.landing-subline {
    margin: -0.5rem 0 0;
    max-width: 36rem;
    font-size: clamp(1rem, 2.2vw, 1.2rem);
    line-height: 1.55;
    color: var(--on-brand-muted);
    text-wrap: pretty;
}

.landing-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem 1.5rem;
    margin: 0 1.5rem;
    padding: 1.25rem 0 1.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.8rem;
    color: var(--on-brand-faint);
    position: relative;
    z-index: 1;
}

.landing-footer-parent {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: inherit;
    text-decoration: none;
    transition: color 0.15s;
}

.landing-footer-parent:hover,
.landing-footer-parent:focus-visible {
    color: var(--on-brand);
}

.landing-footer-parent img {
    height: 16px;
    display: block;
    filter: brightness(0) invert(1);
    opacity: 0.6;
    transition: opacity 0.15s;
}

.landing-footer-parent:hover img,
.landing-footer-parent:focus-visible img {
    opacity: 1;
}

@media (max-width: 576px) {
    .landing-header {
        padding: 1rem;
    }

    .landing-footer {
        margin: 0 1rem;
        justify-content: center;
    }
}

.landing-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.9rem;
    color: var(--on-brand);
}

.landing-logo-mark {
    width: clamp(3.5rem, 12vw, 5.5rem);
    height: auto;
}

.landing-logo-name {
    font: 800 clamp(2.6rem, 9vw, 4.4rem) / 1 Manrope, var(--font);
    letter-spacing: -0.03em;
}
