/* ── Body override (only when landing page is active) ────── */
body:has(.landing-hero) {
    background-color: var(--bg);
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
body:has(.landing-hero) .container {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding-bottom: 0;
}

/* ── Hero ──────────────────────────────────────────────── */
.landing-hero {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: radial-gradient(ellipse at 60% 40%, var(--gradient-spot) 0%, var(--bg) 60%);
    /* Full-bleed: escape container max-width */
    width: 100vw;
    margin-left: calc(50% - 50vw);
    box-sizing: border-box;
    padding: clamp(40px, 8vw, 80px) clamp(16px, 5vw, 40px);
    text-align: center;
}

.landing-logo {
    font-family: var(--font-brand);
    font-size: clamp(40px, 14vw, 72px);
    color: var(--accent);
    line-height: 1;
    margin-bottom: 12px;
    word-break: break-word;
}

.landing-tagline {
    font-size: clamp(15px, 3vw, 20px);
    color: var(--text);
    margin-bottom: 8px;
    font-weight: 500;
}

.landing-sub {
    font-size: clamp(13px, 2vw, 15px);
    color: var(--text-muted);
    margin-bottom: 36px;
    max-width: 480px;
    line-height: 1.7;
}

.landing-url-form {
    width: 100%;
    max-width: 540px;
    margin-bottom: 20px;
}

.landing-signin-link {
    font-size: 13px;
    color: var(--text-muted);
}

.landing-signin-link a {
    color: var(--text-muted);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.landing-signin-link a:hover {
    color: var(--text);
}

/* ── Features row ──────────────────────────────────────── */
.landing-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    max-width: 900px;
    margin: 0 auto;
    padding: 32px 16px 24px;
}

.landing-feature {
    background-color: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    text-align: left;
}

.landing-feature-icon {
    font-size: 22px;
    margin-bottom: 12px;
    display: block;
}

.landing-feature-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 6px;
}

.landing-feature-desc {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.65;
}

/* ── Footer ─────────────────────────────────────────────── */
.landing-footer {
    border-top: 1px solid var(--border);
    padding: 0 16px 10px;
    text-align: center;
}

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 600px) {
    .landing-features {
        grid-template-columns: 1fr;
    }
}
