:root {
    --bg: #f3f5f8;
    --card: #fff;
    --text: #18212c;
    --muted: #6a7583;
    --line: #dde3ea;
    --blue: #275fd0;
    --blue-dark: #19428e;
    --blue-soft: #eef3ff;
    --green: #19734a;
    --green-soft: #edf8f2;
    --yellow: #fff7d9;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Arial,
        sans-serif;
}

input,
select,
textarea,
button {
    font: inherit;
}

.shell {
    width:
        min(
            1120px,
            calc(100% - 36px)
        );
    margin: auto;
}

.topbar {
    background: white;
    border-bottom:
        1px solid
        var(--line);
}

.topbar-inner {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: flex;
    gap: 12px;
    align-items: center;
}

.brand-symbol {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: #17202d;
    color: white;
    display: grid;
    place-items: center;
    font-size: 12px;
    font-weight: 800;
}

.brand strong {
    display: block;
    letter-spacing: .05em;
    font-size: 14px;
}

.brand span {
    display: block;
    margin-top: 3px;
    color: var(--muted);
    font-size: 11px;
}

.payroll-link {
    text-decoration: none;
    color: var(--blue);
    font-size: 13px;
    font-weight: bold;
}

.hero {
    color: white;
    padding:
        75px
        0;
    background:
        linear-gradient(
            140deg,
            #111923,
            #17315d 62%,
            #2658ae
        );
}

.hero-grid {
    display: grid;
    grid-template-columns:
        1.5fr
        .65fr;
    gap: 55px;
    align-items: end;
}

.eyebrow {
    font-size: 11px;
    letter-spacing: .15em;
    font-weight: bold;
    opacity: .7;
}

.hero h1 {
    font-size:
        clamp(
            42px,
            7vw,
            74px
        );
    line-height: .97;
    margin:
        12px
        0
        20px;
    letter-spacing: -.04em;
}

.hero-copy {
    font-size: 18px;
    line-height: 1.6;
    max-width: 620px;
    color:
        rgba(
            255,
            255,
            255,
            .76
        );
}

.security-box {
    margin-top: 28px;
    max-width: 650px;
    display: flex;
    gap: 13px;
    padding: 16px;
    border-radius: 13px;
    background:
        rgba(
            255,
            255,
            255,
            .07
        );
    border:
        1px solid
        rgba(
            255,
            255,
            255,
            .13
        );
}

.security-check {
    width: 30px;
    height: 30px;
    flex: 0 0 auto;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background:
        rgba(
            255,
            255,
            255,
            .12
        );
}

.security-box strong {
    font-size: 13px;
}

.security-box p {
    margin:
        5px
        0
        0;
    font-size: 12px;
    line-height: 1.55;
    color:
        rgba(
            255,
            255,
            255,
            .67
        );
}

.hero-card {
    background: white;
    color: var(--text);
    border-radius: 19px;
    padding: 27px;
}

.hero-card span {
    color: var(--muted);
    font-size: 11px;
}

.hero-card strong {
    display: block;
    margin-top: 7px;
    font-size: 24px;
}

.hero-card p {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.55;
}

.form-shell {
    padding:
        50px
        0
        80px;
}

.form-section {
    background: white;
    border:
        1px solid
        var(--line);
    border-radius: 19px;
    padding: 29px;
    margin-bottom: 17px;
}

.section-heading {
    display: flex;
    gap: 15px;
    margin-bottom: 26px;
}

.section-number {
    width: 34px;
    height: 34px;
    flex: 0 0 auto;
    border-radius: 9px;
    display: grid;
    place-items: center;
    background: var(--blue-soft);
    color: var(--blue);
    font-weight: bold;
    font-size: 12px;
}

.section-heading h2 {
    margin:
        1px
        0
        5px;
    font-size: 20px;
}

.section-heading p {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
}

.grid {
    display: grid;
    gap:
        18px
        20px;
}

.grid.two {
    grid-template-columns:
        repeat(
            2,
            minmax(0, 1fr)
        );
}

.grid.three {
    grid-template-columns:
        repeat(
            3,
            minmax(0, 1fr)
        );
}

label {
    display: flex;
    flex-direction: column;
    gap: 7px;
    font-size: 13px;
    font-weight: 700;
}

label small {
    color: var(--muted);
    font-weight: normal;
}

.wide {
    grid-column:
        1 / -1;
}

input,
select,
textarea {
    width: 100%;
    padding:
        13px
        14px;
    border:
        1px solid
        #ced7e1;
    border-radius: 10px;
    outline: none;
    background: white;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--blue);
    box-shadow:
        0 0 0 3px
        rgba(
            39,
            95,
            208,
            .10
        );
}

textarea {
    resize: vertical;
}

.privacy-note {
    margin-top: 18px;
    background: var(--green-soft);
    color: #3a5a49;
    padding: 13px 15px;
    border-radius: 10px;
    font-size: 12px;
}

.privacy-note strong {
    color: var(--green);
}

.tax-section {
    border-color: #e6dbac;
}

.tax-warning {
    background: var(--yellow);
    padding: 18px;
    border-radius: 12px;
    margin-bottom: 23px;
}

.tax-warning > strong {
    display: block;
}

.tax-warning p {
    font-size: 13px;
    line-height: 1.55;
}

.confirmation-card {
    background: white;
    border:
        1px solid
        var(--line);
    border-radius: 17px;
    padding: 21px;
}

.confirmation {
    display: grid;
    grid-template-columns:
        auto
        1fr;
    gap: 12px;
    line-height: 1.55;
    font-size: 12px;
}

.confirmation input {
    width: auto;
    margin-top: 4px;
}

.confirmation strong {
    display: block;
    color: var(--text);
}

.submit-row {
    margin-top: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.submit-row p {
    margin:
        4px
        0
        0;
    color: var(--muted);
    font-size: 12px;
}

.submit-row button {
    border: 0;
    background: var(--blue);
    color: white;
    font-weight: bold;
    padding:
        14px
        22px;
    border-radius: 10px;
}

.honeypot {
    position: absolute;
    left: -99999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

footer {
    background: white;
    border-top:
        1px solid
        var(--line);
}

.footer-inner {
    min-height: 72px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--muted);
    font-size: 11px;
}

.success-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 25px;
}

.success-card {
    width:
        min(
            600px,
            100%
        );
    background: white;
    border-radius: 20px;
    padding: 42px;
}

.success-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--green-soft);
    color: var(--green);
    font-size: 25px;
}

.success-card h1 {
    margin-bottom: 0;
}

.success-card h2 {
    margin-top: 5px;
}

.success-card p {
    color: var(--muted);
    line-height: 1.6;
}

.success-warning {
    background: var(--yellow);
    padding: 14px;
    border-radius: 10px;
}

.success-link {
    display: inline-block;
    margin-top: 18px;
    color: var(--blue);
}

@media (
    max-width: 760px
) {

    .hero {
        padding:
            50px
            0;
    }

    .hero-grid,
    .grid.two,
    .grid.three {
        grid-template-columns:
            1fr;
    }

    .submit-row {
        flex-direction: column;
        align-items: stretch;
        gap: 18px;
    }

    .submit-row button {
        width: 100%;
    }

    .footer-inner {
        flex-direction: column;
        justify-content: center;
        gap: 4px;
    }
}