:root {
    --ink: #1a2535;
    --white: #ffffff;
    --soft: #f4f8f8;
    --primary: #3dbfb8;
    --primary-dark: #2a9490;
    --primary-pale: #e4f6f5;
    --coral: #e07a8f;
    --lavender: #c4b5e0;
    --muted: #5a7070;
    --border: rgba(26, 37, 53, 0.1);
    --serif: 'DM Serif Display', Georgia, serif;
    --sans: 'Inter', system-ui, sans-serif;
    --radius: 1.25rem;
    --radius-sm: 0.625rem;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--sans);
    background: var(--soft);
    color: var(--ink);
    min-height: 100vh;
    min-height: 100dvh;
    margin: 0;
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

main {
    position: relative;
    z-index: 1;
    width: min(100%, 560px);
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    padding: 2.5rem 1.25rem;
    gap: 2rem;
}

a {
    color: inherit;
    text-decoration: none;
}

/* ── Blobs ── */
.bg {
    position: fixed;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.jelly {
    position: absolute;
    border-radius: 60% 40% 70% 30% / 50% 60% 40% 50%;
    animation: drift 14s ease-in-out infinite alternate;
}

.jelly-1 {
    width: 600px;
    height: 600px;
    background: var(--primary);
    opacity: 0.12;
    top: -180px;
    right: -120px;
    animation-duration: 18s;
}

.jelly-2 {
    width: 380px;
    height: 380px;
    background: var(--coral);
    opacity: 0.1;
    bottom: -80px;
    left: -80px;
    animation-duration: 22s;
    animation-delay: -6s;
}

.jelly-3 {
    width: 240px;
    height: 240px;
    background: var(--lavender);
    opacity: 0.14;
    bottom: 25%;
    right: 5%;
    animation-duration: 13s;
    animation-delay: -9s;
}

@keyframes drift {
    0% {
        transform: translate(0, 0) rotate(0deg) scale(1);
        border-radius: 60% 40% 70% 30% / 50% 60% 40% 50%;
    }

    33% {
        transform: translate(20px, -25px) rotate(5deg) scale(1.05);
        border-radius: 40% 60% 30% 70% / 60% 40% 60% 40%;
    }

    66% {
        transform: translate(-12px, 12px) rotate(-4deg) scale(0.96);
        border-radius: 70% 30% 50% 50% / 40% 60% 50% 60%;
    }

    100% {
        transform: translate(10px, -18px) rotate(7deg) scale(1.03);
        border-radius: 50% 50% 40% 60% / 55% 45% 55% 45%;
    }
}


/* ── Header ── */
.header {
    text-align: center;
}

.wordmark {
    font-family: var(--serif);
    font-size: clamp(2.8rem, 7vw, 5rem);
    font-weight: 400;
    letter-spacing: -0.03em;
    color: var(--ink);
    line-height: 1;
    margin-bottom: 1.25rem;
}

.wordmark em {
    font-style: italic;
    color: var(--primary);
}

.coming-soon-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary-pale);
    border: 1px solid rgba(61, 191, 184, 0.25);
    color: var(--primary-dark);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.35rem 0.9rem;
    border-radius: 2rem;
    margin-bottom: 1.5rem;
}

.coming-soon-badge .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary);
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {

    0%,
    100% {
        opacity: 0.4;
        transform: scale(0.8);
    }

    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

.tagline {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: var(--muted);
    font-weight: 300;
    line-height: 1.75;
    max-width: 480px;
    margin: 0 auto;
}

/* ── Divider ── */
.divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
    max-width: 480px;
}

.divider-line {
    flex: 1;
    height: 1px;
    background: var(--border);
}

.divider-text {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--muted);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
}

/* ── Form ── */
.form-wrap {
    width: 100%;
    max-width: 480px;
    background: var(--white);
    border-radius: var(--radius);
    padding: 2.5rem;
    box-shadow: 0 4px 32px rgba(26, 37, 53, 0.07);
}

.form-group {
    margin-bottom: 1.125rem;
}

.form-group label {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    color: var(--ink);
    margin-bottom: 0.35rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: var(--sans);
    font-size: 0.9rem;
    color: var(--ink);
    background: var(--soft);
    outline: none;
    appearance: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-pale);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-submit {
    width: 100%;
    padding: 0.9rem;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 2rem;
    font-family: var(--sans);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
    margin-top: 0.25rem;
}

.form-submit:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.form-note {
    font-size: 0.76rem;
    color: var(--muted);
    text-align: center;
    margin-top: 0.75rem;
}

/* ── Success ── */
#form-success {
    display: none;
    text-align: center;
    padding: 2rem;
}

#form-success .success-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--primary-pale);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
}

#form-success h3 {
    font-family: var(--serif);
    font-size: 1.4rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
}

#form-success p {
    font-size: 0.9rem;
    color: var(--muted);
}

/* ── Footer ── */
footer {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 1.5rem;
    font-size: 0.78rem;
    color: var(--muted);
    border-top: 1px solid var(--border);
}

footer a {
    color: var(--primary);
}

/* ── Responsive ── */
@media (max-width: 520px) {
    main {
        width: 100%;
        padding: 1.5rem 0.75rem;
        gap: 1.5rem;
    }

    .wordmark {
        font-size: clamp(2.2rem, 10vw, 3rem);
    }

    .divider {
        max-width: 100%;
    }

    .form-wrap {
        padding: 1.75rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

@media (prefers-reduced-motion: reduce) {

    .jelly,
    .dot {
        animation: none;
    }
}