@font-face {
    font-family: "Nexa";
    src: url("./webFonts/Nexa-Regular/font.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Nexa";
    src: url("./webFonts/Nexa-Bold/font.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Nexa";
    src: url("./webFonts/Nexa-Heavy/font.woff2") format("woff2");
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

:root {
    color-scheme: light;
    --navy: #02091b;
    --ink: #101828;
    --muted: #536174;
    --teal: #00c7b1;
    --teal-dark: #007f78;
    --line: #d7dde5;
    --surface: #ffffff;
    --danger: #b42318;
    --focus: #1671f1;
}

* { box-sizing: border-box; }

html {
    min-width: 320px;
    background: var(--navy);
}

body {
    margin: 0;
    color: var(--ink);
    font-family: "Nexa", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

button, input, select { font: inherit; }

.landing {
    min-height: 100svh;
    display: grid;
    grid-template-columns: minmax(540px, 43%) 1fr;
    background-color: var(--navy);
    background-image: url("../images/image-bg.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.lead-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    padding: 20px 26px;
}

.lead-card {
    width: min(100%, 600px);
    max-height: calc(100svh - 40px);
    overflow: auto;
    scrollbar-width: thin;
    padding: 26px 30px 18px;
    border: 1px solid rgba(255, 255, 255, 0.75);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 24px 70px rgba(0, 9, 32, 0.34);
    backdrop-filter: blur(12px);
}

.brand-row img {
    display: block;
    width: min(100%, 345px);
    height: auto;
}

.intro { margin: 20px 0 18px; }

.eyebrow {
    margin: 0 0 6px;
    color: var(--teal-dark);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

h1 {
    margin: 0;
    font-size: clamp(1.9rem, 2.7vw, 2.45rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.03em;
}

.intro > p:last-child,
.confirmation > p:last-of-type {
    max-width: 53ch;
    margin: 9px 0 0;
    color: var(--muted);
    font-size: 0.96rem;
    line-height: 1.48;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 14px;
}

.field { min-width: 0; }
.field-wide { grid-column: 1 / -1; }

.field label {
    display: block;
    margin: 0 0 5px;
    color: #344054;
    font-size: 0.78rem;
    font-weight: 700;
}

.field input,
.field select {
    width: 100%;
    height: 47px;
    padding: 0 13px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--surface);
    color: var(--ink);
    font-size: 1rem;
    outline: none;
    transition: border-color 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

.field select { cursor: pointer; }

.field input:hover,
.field select:hover { border-color: #98a2b3; }

.field input:focus-visible,
.field select:focus-visible,
.consent input:focus-visible,
button:focus-visible,
a:focus-visible {
    outline: 3px solid rgba(22, 113, 241, 0.24);
    outline-offset: 2px;
}

.field input:focus,
.field select:focus {
    border-color: var(--focus);
    box-shadow: 0 0 0 3px rgba(22, 113, 241, 0.12);
}

.field.is-invalid input,
.field.is-invalid select {
    border-color: var(--danger);
    background: #fffafa;
}

.field-error {
    display: block;
    min-height: 0;
    margin-top: 4px;
    color: var(--danger);
    font-size: 0.74rem;
    line-height: 1.25;
}

.field:not(.is-invalid) .field-error,
.consent-error:empty { display: none; }

.consent {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-top: 14px;
    color: #475467;
    cursor: pointer;
    font-size: 0.78rem;
    line-height: 1.4;
}

.consent input {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: var(--teal-dark);
}

.consent-error { margin-left: 28px; }

.form-status {
    min-height: 0;
    margin: 10px 0 0;
    color: var(--danger);
    font-size: 0.82rem;
    line-height: 1.35;
}

.form-status:empty { display: none; }

#submit-button,
.secondary-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 50px;
    margin-top: 16px;
    border: 0;
    border-radius: 12px;
    background: linear-gradient(135deg, #00bba8, #007f78);
    color: #fff;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 800;
    box-shadow: 0 10px 24px rgba(0, 127, 120, 0.22);
    transition: transform 150ms ease, box-shadow 150ms ease, opacity 150ms ease;
}

#submit-button:hover,
.secondary-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(0, 127, 120, 0.28);
}

#submit-button:disabled {
    cursor: wait;
    opacity: 0.72;
    transform: none;
}

.button-loader {
    display: none;
    width: 19px;
    height: 19px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 700ms linear infinite;
}

#submit-button.is-loading .button-label { display: none; }
#submit-button.is-loading .button-loader { display: block; }

.footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid #eaecf0;
    color: #667085;
    font-size: 0.72rem;
}

.footer nav { display: flex; gap: 8px; }

.footer a {
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    border-radius: 8px;
    background: #f2f4f7;
    transition: background 150ms ease, transform 150ms ease;
}

.footer a:hover {
    background: #e4e7ec;
    transform: translateY(-1px);
}

.footer img { display: block; }
.brand-story { min-width: 0; }
.mobile-proof { display: none; }

.confirmation {
    padding: 64px 4px 80px;
    text-align: center;
}

.confirmation-icon { margin-bottom: 20px; }

.confirmation-icon img {
    width: 80px;
    height: 80px;
}

.confirmation .eyebrow,
.confirmation > p:last-of-type {
    margin-left: auto;
    margin-right: auto;
}

.secondary-button {
    width: auto;
    min-height: 44px;
    padding: 0 22px;
    background: #eefbf9;
    color: var(--teal-dark);
    box-shadow: none;
}

.honeypot,
.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.noscript {
    position: fixed;
    inset: auto 16px 16px;
    z-index: 10;
    padding: 12px 16px;
    border-radius: 10px;
    background: #fff;
    color: var(--danger);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
    text-align: center;
}

@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 1100px) {
    .landing {
        grid-template-columns: 1fr;
        background-image:
            radial-gradient(circle at 15% 80%, rgba(0, 199, 177, 0.34), transparent 40%),
            linear-gradient(135deg, #02091b, #001a33 58%, #02091b);
    }

    .brand-story { display: none; }
}

@media (max-width: 1024px) {
    .lead-panel { padding: 18px; }
    .lead-card { padding: 24px; }
}

@media (min-width: 761px) and (max-height: 820px) {
    .lead-card { padding: 18px 24px 14px; }
    .brand-row img { width: 300px; }
    .intro { margin: 12px 0; }
    .eyebrow { font-size: 0.7rem; }
    h1 { font-size: 1.85rem; }

    .intro > p:last-child {
        margin-top: 6px;
        font-size: 0.86rem;
        line-height: 1.35;
    }

    .form-grid { gap: 8px 14px; }
    .field input, .field select { height: 42px; }
    .consent { margin-top: 9px; }
    #submit-button { min-height: 44px; margin-top: 10px; }
    .footer { margin-top: 10px; padding-top: 9px; }
}

@media (max-width: 760px) {
    .landing {
        display: block;
        min-height: 100svh;
        padding: 16px;
        background-image:
            linear-gradient(180deg, rgba(0, 15, 36, 0.88), rgba(0, 8, 26, 0.97)),
            url("../images/image-bg.png");
        background-position: 68% center;
    }

    .lead-panel { display: block; padding: 0; }

    .lead-card {
        width: 100%;
        max-height: none;
        overflow: visible;
        padding: 22px 20px 16px;
        border-radius: 20px;
    }

    .brand-row img { width: min(100%, 310px); }
    .intro { margin: 18px 0 15px; }

    .mobile-proof {
        display: grid;
        gap: 4px;
        margin: 0 0 16px;
        padding: 12px 14px;
        border-left: 3px solid var(--teal);
        border-radius: 8px;
        background: #eefbf9;
        color: #344054;
        font-size: 0.8rem;
        line-height: 1.35;
    }

    .mobile-proof span {
        color: var(--teal-dark);
        font-size: 0.7rem;
        font-weight: 800;
        letter-spacing: 0.08em;
        text-transform: uppercase;
    }

    .brand-story { display: none; }
}

@media (max-width: 520px) {
    .landing { padding: 10px; }

    .lead-card {
        padding: 20px 16px 15px;
        border-radius: 16px;
    }

    .form-grid { grid-template-columns: 1fr; }
    .field-wide { grid-column: auto; }

    .footer {
        align-items: flex-start;
        flex-direction: column-reverse;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
