/* Multitudes landing page — styles
   Locked to BRAND.md v0.2 (2026-05-13)
   - Sans wordmark (Inter), Fraunces serif for hero/section headings
   - Primary calm blue #5d86d6, cream #F5F5F5, charcoal text #3A3A3A
   - Mobile-first, max-width 960px on desktop
*/

:root {
    --primary: #5d86d6;
    --primary-dark: #4a6fb8;
    --primary-light: #7a9ee0;
    --cream: #F5F5F5;
    --cream-warm: #FAF7F0;
    --charcoal: #3A3A3A;
    --white: #FFFFFF;
    --sage: #8B9D83;
    --golden: #E6B17E;
    --dusty-rose: #D4A5A5;
    --text-secondary: #5C6370;
    --text-light: #8B92A1;
    --border: #E5E7EB;
    --gradient-warm: linear-gradient(to bottom left, #fbffdf, #b8c9dd 80%);

    --font-serif: 'Fraunces', Georgia, 'Times New Roman', serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, 'Segoe UI', Roboto, sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background-color: var(--cream);
    color: var(--charcoal);
    font-size: 17px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ============ WORDMARK (footer only) ============ */
.wordmark {
    font-family: var(--font-sans);
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.875rem;
    color: var(--charcoal);
}

/* ============ HERO ============ */
.hero {
    padding: 2.5rem 0 5rem;
    text-align: center;
}

.hero-logo {
    max-width: 320px;
    width: 100%;
    height: auto;
    margin: 0 auto 2.5rem;
    display: block;
}

.hero-tagline {
    margin-bottom: 2.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.5em;
}

.hero-line-1 {
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 2.25rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--charcoal);
}

.hero-line-2 {
    font-family: var(--font-sans);
    font-weight: 400;
    font-size: 1.125rem;
    line-height: 1.5;
    color: var(--text-secondary);
    font-style: italic;
    max-width: 28rem;
    margin: 0 auto;
}

/* ============ WAITLIST FORM ============ */
.waitlist-form {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    max-width: 440px;
    margin: 0 auto;
}

.waitlist-form input[type="email"] {
    padding: 0.875rem 1rem;
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    background: var(--white);
    color: var(--charcoal);
    transition: border-color 0.15s ease;
}

.waitlist-form input[type="email"]:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(93, 134, 214, 0.12);
}

.waitlist-form input[type="email"]::placeholder {
    color: var(--text-light);
}

.waitlist-form button {
    padding: 0.875rem 1.5rem;
    background-color: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.waitlist-form button:hover {
    background-color: var(--primary-dark);
}

.waitlist-form button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.honeypot {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
}

.waitlist-privacy {
    font-size: 0.8125rem;
    color: var(--text-light);
    margin-top: 1rem;
    text-align: center;
}

.waitlist-status {
    margin-top: 1.25rem;
    padding: 0;
    text-align: center;
    font-size: 0.9375rem;
    min-height: 1.25rem;
}

.waitlist-status.success {
    color: #166534;
    padding: 0.75rem 1rem;
    background: #dcfce7;
    border-radius: 8px;
}

.waitlist-status.error {
    color: #991b1b;
    padding: 0.75rem 1rem;
    background: #fed7d7;
    border-radius: 8px;
}

/* ============ SECTIONS ============ */
section {
    padding: 4.5rem 0;
}

.eyebrow {
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--primary);
    text-align: center;
    margin-bottom: 0.875rem;
}

.section-heading {
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 2rem;
    line-height: 1.15;
    letter-spacing: -0.015em;
    margin-bottom: 1.5rem;
    text-align: center;
    color: var(--charcoal);
}

.section-intro {
    font-size: 1.0625rem;
    line-height: 1.65;
    text-align: center;
    max-width: 38rem;
    margin: 0 auto 3rem;
    color: var(--text-secondary);
}

.section-body {
    font-size: 1.0625rem;
    line-height: 1.7;
    max-width: 38rem;
    margin: 0 auto 1.25rem;
    color: var(--text-secondary);
}

.section-body--center {
    text-align: center;
}

.section-body strong {
    color: var(--charcoal);
    font-weight: 600;
}

/* ============ PHASES ============ */
.phases {
    background: var(--white);
}

.phase-grid {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-top: 1rem;
}

.phase {
    background: var(--cream-warm);
    padding: 2rem 1.75rem;
    border-radius: 16px;
    border: 1px solid var(--border);
}

.phase h3 {
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 1.375rem;
    margin-bottom: 0.75rem;
    color: var(--charcoal);
    letter-spacing: -0.01em;
}

.phase p {
    line-height: 1.65;
    color: var(--text-secondary);
    font-size: 1rem;
}

/* ============ MEET HUXLEY ============ */
.huxley {
    background: var(--cream);
}

.huxley-intro {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    max-width: 56rem;
    margin: 0 auto;
}

.huxley-portrait {
    width: 200px;
    height: 200px;
    object-fit: contain;
    flex-shrink: 0;
    border-radius: 50%;
}

.huxley-body {
    text-align: center;
}

.huxley-body p {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
}

.huxley-body p:last-child {
    margin-bottom: 0;
}

/* ============ FEATURES ============ */
.features-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 38rem;
    margin: 0 auto;
}

.features-list li {
    padding-left: 1.75rem;
    position: relative;
    line-height: 1.65;
    font-size: 1.0625rem;
    color: var(--text-secondary);
}

.features-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.65em;
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
}

/* ============ APPROACH ============ */
.approach {
    background: var(--white);
}

.whitman {
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 1.5rem;
    line-height: 1.3;
    text-align: center;
    padding: 2rem 2.5rem;
    border-left: 3px solid var(--golden);
    background: rgba(230, 177, 126, 0.08);
    max-width: 32rem;
    margin: 2.5rem auto 0;
    border-radius: 0 12px 12px 0;
    letter-spacing: -0.01em;
    color: var(--charcoal);
}

.whitman p {
    font-style: italic;
}

.whitman cite {
    display: block;
    margin-top: 0.875rem;
    font-style: normal;
    font-weight: 400;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    color: var(--text-secondary);
}

/* ============ HONEST ============ */
.honest {
    background: var(--cream);
}

/* ============ FINAL CTA ============ */
.final-cta {
    background: var(--gradient-warm);
    text-align: center;
    padding: 5rem 0;
}

.final-cta .section-heading {
    color: var(--charcoal);
}

.final-cta .waitlist-form {
    margin-top: 2rem;
}

/* ============ FOOTER ============ */
.site-footer {
    background: var(--charcoal);
    color: var(--cream);
    padding: 3rem 0 1.5rem;
}

.site-footer .wordmark {
    color: var(--cream);
    display: inline-block;
    margin-bottom: 0.625rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.25rem;
    margin-bottom: 2rem;
}

.footer-brand p {
    font-size: 0.875rem;
    color: #B0B0B0;
    line-height: 1.55;
}

.footer-links h4 {
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.875rem;
    color: var(--cream);
}

.footer-links a {
    display: block;
    color: #B0B0B0;
    text-decoration: none;
    font-size: 0.9375rem;
    margin-bottom: 0.5rem;
    transition: color 0.15s ease;
}

.footer-links a:hover {
    color: var(--cream);
}

.footer-meta {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid #4a4a4a;
    font-size: 0.8125rem;
    color: #9CA3AF;
}

/* ============ DESKTOP ============ */
@media (min-width: 768px) {
    body { font-size: 18px; }

    .container {
        max-width: 960px;
        padding: 0 2rem;
    }

    section { padding: 6rem 0; }

    .hero { padding: 3rem 0 7rem; }
    .hero-logo { max-width: 380px; }
    .hero-line-1 { font-size: 3.5rem; }
    .hero-line-2 { font-size: 1.375rem; }

    .section-heading { font-size: 2.625rem; }

    .phase-grid {
        flex-direction: row;
        gap: 1.5rem;
    }
    .phase { flex: 1; }

    .huxley-intro {
        flex-direction: row;
        align-items: center;
        gap: 3rem;
    }
    .huxley-portrait {
        width: 260px;
        height: 260px;
    }
    .huxley-body {
        text-align: left;
    }

    .waitlist-form {
        flex-direction: row;
    }
    .waitlist-form input[type="email"] { flex: 1; }
    .waitlist-form button { flex-shrink: 0; }

    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1.5fr;
        gap: 2.5rem;
    }
}

@media (min-width: 1024px) {
    .hero-line-1 { font-size: 4rem; }
    .section-heading { font-size: 3rem; }
}
