body {
    margin: 0;
    font-family: "Inter", sans-serif;
    background: #ffffff;
}

.container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px 20px; /* reduced padding so logo sits higher */
    text-align: center;
}

.logo-block {
    margin-top: 5px; /* much tighter */
}

.logo {
    max-width: 400px;
    height: auto;
}

.text-block {
    margin-top: 28px; /* slightly reduced for better spacing */
}

.text-block h1 {
    font-size: 26px;
    font-weight: 600;
    margin-bottom: 8px;
}

.tagline {
    font-size: 17px;
    color: #444;
}

.form-card {
    background: #fff;
    padding: 32px;
    border-radius: 12px;
    margin: 40px auto 0 auto;
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
    text-align: left;
    max-width: 460px;
}

/* LABELS */
.form-card label {
    display: block;
    margin-top: 12px;
    font-weight: 500;
    font-size: 15px;
}

/* INPUT + TEXTAREA (Fixes iOS zoom issue) */
.form-card input,
.form-card textarea {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #ccc;
    margin-top: 6px;
    font-size: 16px; /* prevents mobile zoom */
    font-family: "Inter", sans-serif;
}

/* TEXTAREA */
.form-card textarea {
    height: 120px;
    resize: vertical;
}

/* BUTTON */
button {
    width: 100%;
    margin-top: 20px;
    padding: 16px;
    background-color: #2369b2;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

button:hover {
    opacity: 0.88;
}

/* FOOTER LINKS */
.footer-links {
    margin-top: 30px;
}

.footer-links a {
    color: #2369b2;
    text-decoration: none;
    font-size: 14px;
    margin: 0 10px;
}

.footer-links a:hover {
    text-decoration: underline;
}

/* MOBILE BREAKPOINT */
@media (max-width: 600px) {

    .container {
        max-width: 100%;
        padding: 15px;
    }

    .logo {
        max-width: 260px; /* increase for better mobile visibility */
    }

    .text-block {
        margin-top: 22px;
    }

    .text-block h1 {
        font-size: 22px;
    }

    .tagline {
        font-size: 15px;
    }

    /* CENTER FIX — eliminates right-leaning form */
    .form-card {
        padding: 24px;
        margin-top: 30px;
        margin-left: auto;
        margin-right: auto;
        width: 100%;
        max-width: 460px;
        box-sizing: border-box;
    }

    .form-card * {
        box-sizing: border-box;
    }
}
