/* --- Variables --- */
:root {
    /* Color Palette */
    --oxford-navy: #1B263B;
    --oxford-cream: #F8F5F0;
    --oxford-copper: #C26330;
    --oxford-copper-hover: #A04E22;

    /* Typography */
    --font-heading: 'Fraunces', 'Source Serif 4', 'Source Serif Pro', serif;
    --font-body: 'Atkinson Hyperlegible Next', Inter, system-ui, sans-serif;
}

.fraunces-font {
    font-family: "Fraunces", serif;
    font-optical-sizing: auto;
    font-weight: bold;
    font-style: normal;
    font-variation-settings: "SOFT" 20,
    "WONK" 0;
}

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

body {
    background-color: var(--oxford-cream);
    color: var(--oxford-navy);
    font-family: var(--font-body);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    text-align: center;
    padding: 2rem;
}

.container {
    max-width: 800px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* --- Header & Logo --- */
header {
    margin-bottom: 4rem;
}

.logo {
    max-width: 200px;
    height: auto;
}

/* --- Typography --- */
.announcement {
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    color: var(--oxford-copper);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

h1 {
    font-family: var(--font-heading);

    /* Turns off the "wonkiness" in the Fraunces variable font */
    font-variation-settings: "SOFT" 20,
        "WONK" 0;
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: var(--oxford-navy);
}

.subtitle {
    font-family: var(--font-heading);
    font-variation-settings: "SOFT" 20,
        "WONK" 0;
    font-size: 1.5rem;
    font-style: italic;
    color: var(--oxford-navy);
    opacity: 0.8;
    margin-bottom: 2.5rem;
}

.details p {
    font-size: 1.25rem;
    margin-bottom: 3.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* --- Waitlist Form --- */
.form-section {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
}

.waitlist-form {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 4rem;
    width: 100%;
    max-width: 450px;
}

input[type="email"] {
    padding: 1rem 1.5rem;
    font-size: 1rem;
    font-family: var(--font-body);
    border: 1.5px solid rgba(27, 38, 59, 0.2);
    border-radius: 4px;
    width: 100%;
    background-color: transparent;
    color: var(--oxford-navy);
    transition: border-color 0.2s ease;
}

input[type="email"]::placeholder {
    color: rgba(27, 38, 59, 0.5);
}

input[type="email"]:focus {
    outline: none;
    border-color: var(--oxford-navy);
}

button {
    background-color: var(--oxford-copper);
    color: var(--oxford-cream);
    border: none;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 700;
    font-family: var(--font-body);
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease;
}

button:hover {
    background-color: var(--oxford-copper-hover);
}

button:active {
    transform: scale(0.98);
}

/* --- Footer --- */
footer {
    font-size: 0.875rem;
    opacity: 0.6;
    margin-top: auto;
}

/* --- Mobile Responsiveness --- */
@media (max-width: 600px) {
    h1 {
        font-size: 2.5rem;
    }

    .subtitle {
        font-size: 1.2rem;
    }

    .details p {
        font-size: 1.1rem;
    }

    .waitlist-form {
        flex-direction: column;
        align-items: center;
    }

    button {
        width: 100%;
    }
}