:root {
    /* Fonts */
    --font-sans: Lexend, BlinkMacSystemFont, Arial, -apple-system, sans-serif;

    /* Font sizing */
    --font-size-base: 14px;
    --font-size-logo: 5rem;
    --font-size-tagline: 2rem;

    /* Colors */
    --color-cream-bg: #faf9f7;
    --color-light-grey-bg: #f0f0f0;
    --color-dark-brown: #4a4a4a;
    --color-light-grey: #666;
    --color-light-grey-desat: #999;
    --color-error: #b52620;
}

.container {
    position: relative;
    min-height: 100vh;
    margin: 0;
    background-color: var(--color-cream-bg);
    display: flex;
    flex-direction: column;
}

.main-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.footer {
    width: 100%;
    padding: 1rem 0;
    font-family: var(--font-sans);
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}

.footer-links {
    display: flex;
    gap: 0.5rem;
}

.footer-links a {
    color: var(--color-dark-brown);
    text-decoration: none;
    font-size: 1rem;
}

.separator {
    color: var(--color-dark-brown);
}

/* Form styles */
form {
    font-family: var(--font-sans);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 300px;
}

input {
    font-family: var(--font-sans);
    background-color: var(--color-light-grey-bg);
    color: var(--color-light-grey);
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    box-sizing: border-box;
    text-align: center;
}

input::placeholder {
    color: var(--color-light-grey-desat);
}

input:focus {
    outline: none;
    box-shadow: 0 0 0 2px var(--color-light-grey);
}

button {
    font-family: var(--font-sans);
    padding: 12px;
    background-color: var(--color-dark-brown);
    color: white;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1rem;
    margin-top: 1rem;
}

.error {
    font-family: var(--font-sans);
    color: var(--color-error);
    text-align: center;
    margin-top: 1rem;
    display: none;
}

.logo {
    width: min(80%, 500px);
    height: auto;
    margin-bottom: 0.5rem;
}

.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    overflow-y: auto;
}

.overlay-content {
    position: relative;
    background-color: var(--color-cream-bg);
    width: 70%;
    max-width: 1000px;
    padding: 2rem;
    border-radius: 10px;
    font-family: var(--font-sans);
    color: var(--color-dark-brown);
    margin: 40px auto;
}

.close-button {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--color-dark-brown);
    cursor: pointer;
    margin: 0;
    padding: 0;
}

h2 {
    font-size: 1.8rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.3rem;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

p {
    margin-bottom: 1rem;
    line-height: 1.5;
}

ul {
    margin-bottom: 1.5rem;
}

li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}