/* StudyOS public landing page */

.landing-page {
    overflow: hidden;
    position: relative;
    min-height: 100vh;
    background: #050505;
    color: #f5f5f5;
}

.landing-page::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(circle at center, black, transparent 75%);
}

.landing-nav {
    height: 76px;
    padding: 0 5.5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 5;
}

.landing-logo {
    color: #f5f5f5;
    text-decoration: none;
    font-size: 23px;
    font-weight: 800;
    letter-spacing: -1px;
}

.landing-logo span,
.landing-hero h1 span {
    color: #20c76a;
}

.landing-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.landing-link,
.landing-cta {
    border: 0;
    background: transparent;
    color: #f5f5f5;
    padding: 10px 13px;
    font-size: 13px;
    font-weight: 700;
}

.landing-link {
    color: #8b8b8b;
}

.landing-link:hover {
    color: #f5f5f5;
}

.landing-cta {
    border: 1px solid #303030;
    background: #0b0b0b;
    border-radius: 7px;
}

.landing-cta:hover {
    border-color: #f5f5f5;
}

.landing-main {
    min-height: calc(100vh - 76px);
    display: grid;
    place-items: center;
    position: relative;
    z-index: 2;
    padding: 40px 20px 100px;
}

.landing-hero {
    width: min(720px, 92vw);
    text-align: center;
}

.landing-kicker {
    color: #8b8b8b;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.landing-hero h1 {
    font-size: clamp(68px, 13vw, 150px);
    line-height: .9;
    letter-spacing: -7px;
    font-weight: 850;
}

.landing-description {
    max-width: 500px;
    margin: 28px auto 0;
    color: #8b8b8b;
    font-size: 16px;
    line-height: 1.7;
}

.landing-start {
    margin-top: 32px;
    border: 1px solid #f5f5f5;
    background: #f5f5f5;
    color: #050505;
    border-radius: 8px;
    padding: 13px 18px;
    font-size: 13px;
    font-weight: 800;
}

.landing-start span {
    margin-left: 7px;
}

.landing-start:hover {
    opacity: .88;
}

.landing-glow {
    position: fixed;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(32,199,106,.08), transparent 68%);
    filter: blur(12px);
    z-index: 0;
}

.landing-modal {
    position: fixed;
    inset: 0;
    z-index: 50;
}

.landing-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.7);
    backdrop-filter: blur(7px);
}

.landing-modal-card {
    position: relative;
    width: min(440px, calc(100% - 32px));
    margin: 12vh auto 0;
    padding: 30px;
    background: #0b0b0b;
    border: 1px solid #303030;
    box-shadow: 0 30px 100px rgba(0,0,0,.45);
}

.landing-modal-heading {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 26px;
}

.landing-modal-heading h2 {
    font-size: 25px;
    letter-spacing: -.7px;
}

.landing-modal-close {
    width: 32px;
    height: 32px;
    border: 0;
    background: transparent;
    color: #8b8b8b;
    font-size: 26px;
}

.landing-modal-card form {
    display: flex;
    flex-direction: column;
    gap: 17px;
}

.landing-modal-card label {
    display: flex;
    flex-direction: column;
    gap: 7px;
    color: #f5f5f5;
    font-size: 12px;
    font-weight: 700;
}

.landing-modal-card input {
    width: 100%;
    padding: 12px;
    border: 1px solid #303030;
    border-radius: 6px;
    background: #050505;
    color: #f5f5f5;
    outline: none;
}

.landing-modal-card input:focus {
    border-color: #20c76a;
}

.landing-form-submit {
    min-height: 44px;
    border: 1px solid #f5f5f5;
    background: #f5f5f5;
    color: #050505;
    border-radius: 7px;
    font-size: 13px;
    font-weight: 800;
}

.landing-note {
    margin-top: 18px;
    color: #8b8b8b;
    font-size: 11px;
    line-height: 1.6;
}

@media (max-width: 520px) {
    .landing-nav {
        padding: 0 5%;
    }

    .landing-actions {
        gap: 0;
    }

    .landing-link,
    .landing-cta {
        padding: 9px 8px;
    }

    .landing-hero h1 {
        letter-spacing: -4px;
    }

    .landing-description {
        font-size: 14px;
    }
}
