:root {
    --fc-paper: #f3eee4;
    --fc-cream: #fffaf1;
    --fc-ink: #171820;
    --fc-muted: #6d685f;
    --fc-blue: #1d3866;
    --fc-red: #ab4f45;
    --fc-line: rgb(23 24 32 / 15%);
    --fc-display: "Fraunces", Georgia, serif;
    --fc-ui: "DM Sans", -apple-system, BlinkMacSystemFont, sans-serif;
}

* { box-sizing: border-box; }
body {
    min-height: 100vh;
    margin: 0;
    background:
        radial-gradient(circle at 7% 12%, rgb(171 79 69 / 9%), transparent 28rem),
        radial-gradient(circle at 93% 4%, rgb(29 56 102 / 11%), transparent 32rem),
        var(--fc-paper);
    color: var(--fc-ink);
    font-family: var(--fc-ui);
    -webkit-font-smoothing: antialiased;
}

.fc-shell {
    width: min(720px, calc(100% - 32px));
    margin-inline: auto;
    padding: clamp(28px, 5vw, 52px) 0 70px;
}

.fc-eyebrow {
    margin: 0;
    color: var(--fc-red);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.fc-form-card h1 {
    margin: 14px 0 0;
    font-family: var(--fc-display);
    font-size: clamp(42px, 6vw, 62px);
    font-weight: 560;
    letter-spacing: -.05em;
    line-height: .98;
}

.fc-lead {
    margin: 12px 0 0;
    color: var(--fc-muted);
    font-size: 12px;
    line-height: 1.5;
}

.fc-form-card {
    padding: clamp(26px, 4vw, 42px);
    border: 1px solid var(--fc-ink);
    border-radius: 24px;
    background: rgb(255 250 241 / 88%);
    box-shadow: 8px 9px 0 var(--fc-ink);
}

.fc-success h2 {
    margin: 13px 0 0;
    font-family: var(--fc-display);
    font-size: clamp(34px, 4vw, 48px);
    font-weight: 560;
    letter-spacing: -.04em;
    line-height: 1;
}

#founder-community-form {
    display: grid;
    gap: 17px;
    margin-top: 25px;
}

#founder-community-form label { display: grid; gap: 5px; }
#founder-community-form label > span {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-size: 12px;
    font-weight: 750;
}

#founder-community-form label b,
#founder-community-form label span small {
    color: var(--fc-red);
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .09em;
    text-transform: uppercase;
}

#founder-community-form label span small { color: var(--fc-muted); }
#founder-community-form label > small {
    color: var(--fc-muted);
    font-size: 9px;
    font-weight: 650;
    line-height: 1.2;
}

#founder-community-form input {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid rgb(23 24 32 / 22%);
    border-radius: 12px;
    outline: none;
    background: white;
    color: var(--fc-ink);
    font: inherit;
    font-size: 14px;
}

#founder-community-form input:focus {
    border-color: var(--fc-blue);
    box-shadow: 0 0 0 3px rgb(29 56 102 / 12%);
}

#founder-community-form input[aria-invalid="true"] {
    border-color: var(--fc-red);
}

.fc-consent {
    margin: -2px 0 0;
    color: var(--fc-muted);
    font-size: 9px;
    line-height: 1.5;
}

.fc-error {
    margin: -5px 0 0;
    color: #8e3029;
    font-size: 11px;
    font-weight: 700;
}

#founder-community-form button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    width: 100%;
    padding: 14px 18px;
    border: 0;
    border-radius: 999px;
    background: var(--fc-blue);
    color: white;
    cursor: pointer;
    font: inherit;
    font-size: 13px;
    font-weight: 800;
}

#founder-community-form button:hover { background: #142a50; }
#founder-community-form button:disabled { cursor: wait; opacity: .65; }

.fc-success {
    padding: 45px 10px 20px;
    text-align: center;
}

.fc-success > span {
    display: grid;
    width: 58px;
    height: 58px;
    margin: 0 auto;
    place-items: center;
    border-radius: 50%;
    background: var(--fc-blue);
    color: white;
    font-size: 26px;
}

.fc-success p {
    max-width: 360px;
    margin: 18px auto 0;
    color: var(--fc-muted);
    font-size: 13px;
    line-height: 1.6;
}

.fc-success a {
    display: inline-block;
    margin-top: 25px;
    color: var(--fc-blue);
    font-size: 12px;
    font-weight: 800;
}

@media (max-width: 520px) {
    .fc-shell { width: min(100% - 24px, 720px); padding-top: 18px; }
    .fc-form-card h1 { font-size: 42px; }
    .fc-form-card { padding: 25px 18px; box-shadow: 5px 6px 0 var(--fc-ink); }
}
