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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    line-height: 1.6;
    color: #111;
    background: #fafafa;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

main {
    max-width: 480px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
}

h1 {
    font-family: 'Iowan Old Style', 'Palatino Linotype', 'URW Palladio L', P052, serif;
    font-size: 3rem;
    font-weight: 400;
    display: block;
    letter-spacing: -0.02em;
}

p {
    color: #6b7280;
    max-width: 480px;
    font-size: 1.0625rem;
    line-height: 1.7;
}

@media (max-width: 640px) {
    h1 {
        font-size: 2.25rem;
    }

    main {
        padding: 2rem 1.25rem;
    }
}

form {
    width: 100%;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 0.5rem;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: left;
}

label {
    font-size: 0.8125rem;
    font-weight: 500;
    color: #111;
    letter-spacing: 0.01em;
}

input,
select {
    padding: 0.875rem 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    background: white;
    transition: all 0.15s ease;
}

select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 3rem;
}

input:hover,
select:hover {
    border-color: #d1d5db;
}

input:focus,
select:focus {
    outline: none;
    border-color: #9ca3af;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
}

input::placeholder {
    color: #9ca3af;
}

.hidden {
    display: none;
}

#locationOther {
    margin-top: 0.5rem;
    animation: slideIn 0.2s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

button {
    padding: 0.875rem 1.5rem;
    background: #111;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s ease;
    margin-top: 0.25rem;
}

button:hover {
    background: #1f2937;
}

button:active {
    transform: translateY(1px);
}

button:disabled {
    background: #d1d5db;
    cursor: not-allowed;
    transform: none;
}

#form-message {
    text-align: center;
    font-size: 0.875rem;
    min-height: 1.25rem;
    font-weight: 500;
}

.events {
    width: 100%;
    max-width: 480px;
    margin-top: 2rem;
    padding-top: 2.5rem;
    border-top: 1px solid #e5e7eb;
}

.events h2 {
    font-family: 'Iowan Old Style', 'Palatino Linotype', 'URW Palladio L', P052, serif;
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 1.25rem;
    letter-spacing: -0.01em;
}

.event-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.event-item a {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.75rem;
    text-decoration: underline;
    text-decoration-color: transparent;
    color: #1a1aff;
    transition: text-decoration-color 0.15s ease;
}

.event-item a:hover {
    text-decoration-color: #1a1aff;
}

.event-item time {
    font-size: 0.9375rem;
}

.event-location {
    color: #6b7280;
    font-size: 0.9375rem;
}

footer {
    width: 100%;
    max-width: 480px;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e5e7eb;
}

footer p {
    font-size: 0.875rem;
    line-height: 1.6;
    color: #6b7280;
    margin-bottom: 0.75rem;
}

footer p:last-child {
    margin-bottom: 0;
}

footer .disclaimer {
    font-size: 0.8125rem;
    color: #9ca3af;
}
