@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800;900&display=swap');

:root {
    --mq-yellow: #fac21b;
    --mq-black: #313531;
    --mq-card: rgba(49, 53, 49, 0.94);
    --mq-border: rgba(49, 53, 49, 0.28);
    --mq-text: rgba(255, 255, 255, 0.92);
    --mq-muted: rgba(255, 255, 255, 0.68);
}

* {
    box-sizing: border-box;
}

html,
body {
    height: 100%;
}

body {
    margin: 0;
    color: white;
    background:
        radial-gradient(900px 600px at 50% 20%, rgba(49, 53, 49, 0.18), rgba(49, 53, 49, 0)),
        linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0)),
        var(--mq-yellow);
    font-family: 'Nunito', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

.page {
    /* modern viewport units */
    min-height: 100dvh;
    /* fallbacks */
    min-height: 100svh;
    min-height: 100vh;

    display: grid;
    place-items: center;
    padding: clamp(20px, 5vw, 56px);
}

.card {
    width: min(800px, 90%);
    border-radius: 24px;
    border: 1px solid var(--mq-border);
    background: var(--mq-card);
    backdrop-filter: blur(10px);
    color: white;
    padding: clamp(30px, 4vw, 40px);
    box-shadow:
        0 18px 70px rgba(49, 53, 49, 0.35),
        0 0 0 1px rgba(255, 255, 255, 0.06) inset;
    text-align: center;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
    margin-bottom: 18px;
}

.logo {
    width: min(280px, 60vw);
    height: auto;
    display: block;
    margin-bottom: 1.5rem;
}

.headline {
    margin: 0 0 1rem 0;
    font-size: clamp(28px, 6vw, 64px);
    line-height: 1.1;
    letter-spacing: -0.02em;
    font-weight: 900;
    color: white;
}

@media (min-width: 640px) {
    .headline {
        white-space: nowrap;
    }
}

.subhead {
    margin: 0 auto;
    max-width: 40ch;
    color: white;
    font-size: clamp(16px, 1.8vw, 22px);
    line-height: 1.4;
    font-weight: 600;
}

.subhead strong {
    color: white;
    font-weight: 600;
}

.status {
    margin-top: 2rem;
}

.pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 36px;
    border-radius: 999px;
    font-weight: 900;
    font-size: 16px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--mq-black);
    background: var(--mq-yellow);
    box-shadow: none;
}

.waitlist-form {
    margin-top: 2.5rem;
}

.form-title {
    font-size: clamp(20px, 2.5vw, 28px);
    font-weight: 800;
    margin-bottom: 1.25rem;
    color: white;
}

.waitlist-form form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 450px;
    margin: 0 auto;
}

.waitlist-form input[type="email"] {
    padding: 0.875rem 1.25rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    font-size: 1rem;
    font-family: 'Nunito', sans-serif;
    background: rgba(255, 255, 255, 0.05);
    color: white;
    transition: all 0.2s ease;
}

.waitlist-form input[type="email"]::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.waitlist-form input[type="email"]:focus {
    outline: none;
    border-color: var(--mq-yellow);
    background: rgba(255, 255, 255, 0.08);
}

.waitlist-form button {
    padding: 0.875rem 1.75rem;
    background: var(--mq-yellow);
    color: var(--mq-black);
    font-weight: 900;
    font-family: 'Nunito', sans-serif;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.waitlist-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(250, 194, 27, 0.3);
}

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

@media (prefers-reduced-motion: reduce) {
    * {
        scroll-behavior: auto !important;
        transition: none !important;
        animation: none !important;
    }
}
