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

html, body {
    height: 100%;
    overflow: hidden;
    background: #000;
    color: #fff;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.state {
    position: fixed;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100dvh;
    opacity: 0;
    visibility: hidden;
    transition: opacity 600ms ease, visibility 600ms ease;
}

.state.active {
    opacity: 1;
    visibility: visible;
}

.content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
    padding: 1.5rem;
    max-width: 480px;
    width: 100%;
}

.main-text {
    font-size: 24px;
    font-weight: 300;
    text-align: center;
    line-height: 1.6;
}

.btn-primary {
    background: transparent;
    border: 1px solid #fff;
    color: #fff;
    font-size: 16px;
    font-family: inherit;
    padding: 14px 48px;
    cursor: pointer;
    transition: border-color 300ms ease;
    -webkit-tap-highlight-color: transparent;
}

.btn-primary:hover {
    border-color: rgba(255, 255, 255, 0.6);
}

.subtext {
    font-size: 13px;
    color: #555;
    text-align: center;
    line-height: 1.6;
}

.email-form {
    width: 100%;
}

.form-row {
    display: flex;
    gap: 0;
}

#email-input {
    flex: 1;
    background: transparent;
    border: 1px solid #fff;
    color: #fff;
    font-size: 16px;
    font-family: inherit;
    padding: 14px 16px;
    outline: none;
    border-right: none;
    min-width: 0;
}

#email-input::placeholder {
    color: #555;
}

.btn-arrow {
    background: transparent;
    border: 1px solid #fff;
    color: #fff;
    font-size: 16px;
    font-family: inherit;
    padding: 14px 20px;
    cursor: pointer;
    transition: border-color 300ms ease;
    -webkit-tap-highlight-color: transparent;
    flex-shrink: 0;
}

.btn-arrow:hover {
    border-color: rgba(255, 255, 255, 0.6);
}

.micro-text {
    font-size: 12px;
    color: #555;
    text-align: center;
    line-height: 1.6;
}

.legal-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
    padding: 16px;
    font-size: 11px;
}

.legal-footer a {
    color: #333;
    text-decoration: none;
    transition: color 300ms ease;
}

.legal-footer a:hover {
    color: #555;
}

.legal-footer .dot {
    color: #333;
    margin: 0 6px;
}

@media (max-width: 480px) {
    .form-row {
        flex-direction: column;
    }

    #email-input {
        border-right: 1px solid #fff;
        border-bottom: none;
    }

    .btn-arrow {
        width: 100%;
    }
}
