/* ============================================================
   Public home page
   Colours come from theme.css - see the rules at the top of it.
   ============================================================ */

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: var(--font-family);
    background: var(--secondary-color);
    color: var(--on-secondary-color);
}

.page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */

.site-header {
    background: var(--surface-color);
    color: var(--text-color);
    border-bottom: 1px solid var(--border-color);
    padding: 20px 40px;
}

.logo {
    display: inline-block;
}

.logo img {
    display: block;
    height: 36px;
}

/* Main */

.main-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.hero {
    width: 100%;
    max-width: 700px;
    text-align: center;
}

.hero h1 {
    margin: 0 0 20px;
    font-size: 42px;
}

.hero p {
    max-width: 550px;
    margin: 0 auto 35px;
    font-size: 18px;
    line-height: 1.6;
    opacity: 0.8;
}

/* Buttons */

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.button {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
}

.button-primary {
    background: var(--primary-color);
    color: var(--on-primary-color);
}

.button-secondary {
    background: var(--surface-color);
    color: var(--text-color);
    border: 1px solid var(--input-border-color);
}

/* Footer */

.site-footer {
    text-align: center;
    padding: 20px;
    background: var(--surface-color);
    border-top: 1px solid var(--border-color);
}

.site-footer p {
    margin: 0;
    color: var(--muted-text-color);
    font-size: 13px;
}

.site-footer .site-footer-links {
    margin-bottom: 6px;
}

.site-footer-links a {
    color: var(--muted-text-color);
}

/* Mobile */

@media (max-width: 600px) {
    .site-header {
        padding: 18px 20px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero p {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .button {
        width: 220px;
    }
}
