@font-face {
    font-family: "Inter";
    src: url("../fonts/Inter-Variable-LatinExt.woff2") format("woff2");
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: "Inter";
    src: url("../fonts/Inter-Variable-Latin.woff2") format("woff2");
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    color-scheme: dark;
    --brand: #2563eb;
    --brand-dark: #1d4ed8;
    --navy: #0f172a;
    --ink: #0b1220;
    --muted: #475569;
    --line: #e7eaf1;
    --page: #0b1220;
    --header: #070c15;
    --panel: #0f1929;
    --field: #131f31;
    --text: #f8fafc;
    --text-soft: #cbd5e1;
    --text-muted: #94a3b8;
    --border: rgba(231, 234, 241, 0.22);
    --border-brand: rgba(37, 99, 235, 0.42);
    --error: #fecaca;
    --error-bg: rgba(127, 29, 29, 0.34);
    --success: #dbeafe;
    --success-bg: rgba(30, 64, 175, 0.3);
    --control-radius: 8px;
    --font: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

html {
    background: var(--page);
}

body {
    margin: 0;
    background: var(--page);
    color: var(--text);
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.5;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-underline-offset: 0.18em;
}

button,
input {
    font: inherit;
}

.brand-bar {
    display: flex;
    min-height: 68px;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(231, 234, 241, 0.1);
    background: var(--header);
}

.brand-lockup {
    color: var(--text);
    text-align: center;
    text-decoration: none;
}

.wordmark {
    font-size: 1.12rem;
    font-weight: 900;
    letter-spacing: -0.035em;
    line-height: 1;
}

.hero {
    min-height: calc(100dvh - 68px);
    background: var(--page);
}

.hero__layout {
    display: flex;
    width: min(100%, 1180px);
    flex-direction: column;
    gap: 2rem;
    margin: 0 auto;
    padding: 2rem 1.1rem 2.75rem;
}

.hero__message {
    display: grid;
    gap: 1.7rem;
}

.hero__copy {
    text-align: center;
}

.hero h1 {
    max-width: 18ch;
    margin: 0 auto;
    color: var(--text);
    font-size: clamp(2rem, 8.4vw, 3rem);
    font-weight: 900;
    letter-spacing: -0.035em;
    line-height: 1.06;
}

.hero h1 span {
    color: var(--brand);
}

.hero__intro {
    max-width: 34ch;
    margin: 1rem auto 0;
    color: var(--text-soft);
    font-size: clamp(1rem, 4.3vw, 1.12rem);
    line-height: 1.58;
}

.hero__photo {
    position: relative;
    width: 100%;
    max-width: 560px;
    aspect-ratio: 16 / 7.5;
    margin: 0 auto;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 2px;
    background: var(--navy);
}

.hero__photo::after {
    position: absolute;
    inset: 0;
    background: rgba(11, 18, 32, 0.28);
    content: "";
    pointer-events: none;
}

.hero__photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 42%;
    filter: saturate(0.58) brightness(0.72) contrast(1.06);
}

.form-shell {
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
    padding: 1.4rem;
    border: 1px solid var(--border-brand);
    border-radius: 2px;
    background: var(--panel);
}

.form-shell__heading {
    max-width: 460px;
    margin: 0 auto 1.35rem;
    text-align: center;
}

.form-shell__heading > p {
    margin: 0 0 0.2rem;
    color: var(--text-soft);
    font-size: 0.98rem;
    line-height: 1.4;
}

.form-shell__heading h2 {
    margin: 0;
    color: var(--text);
    font-size: clamp(1.55rem, 6.4vw, 2rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.form-shell__heading > span {
    display: block;
    max-width: 46ch;
    margin: 0.65rem auto 0;
    color: var(--text-muted);
    font-size: 0.86rem;
    line-height: 1.5;
}

.notice {
    margin-bottom: 1rem;
    padding: 0.78rem 0.88rem;
    border: 1px solid;
    border-radius: var(--control-radius);
}

.notice strong {
    display: block;
    margin-bottom: 0.1rem;
}

.notice p {
    margin: 0;
    color: var(--text-soft);
    font-size: 0.86rem;
}

.notice--success {
    border-color: rgba(96, 165, 250, 0.5);
    background: var(--success-bg);
    color: var(--success);
}

.notice--error {
    border-color: rgba(254, 202, 202, 0.46);
    background: var(--error-bg);
    color: var(--error);
}

.lead-form {
    display: grid;
    gap: 0.86rem;
}

.field-grid {
    display: grid;
    gap: 0.86rem;
}

.field {
    display: grid;
    gap: 0.34rem;
    min-width: 0;
}

.field label {
    color: var(--text);
    font-size: 0.84rem;
    font-weight: 750;
}

.field input {
    width: 100%;
    min-width: 0;
    min-height: 50px;
    padding: 0.72rem 0.82rem;
    border: 1px solid var(--border);
    border-radius: var(--control-radius);
    outline: 0;
    background: var(--field);
    color: var(--text);
    caret-color: var(--brand);
    transition: border-color 140ms ease, background-color 140ms ease;
}

.field input:hover {
    border-color: rgba(231, 234, 241, 0.38);
}

.field input:focus {
    border-color: var(--brand);
    outline: 2px solid var(--brand);
    outline-offset: 2px;
}

.field input[aria-invalid="true"] {
    border-color: var(--error);
}

.field__error {
    display: block;
    color: var(--error);
    font-size: 0.75rem;
    line-height: 1.35;
}

.field__error:empty {
    display: none;
}

.consent {
    display: grid;
    grid-template-columns: 20px 1fr;
    gap: 0.65rem;
    align-items: start;
}

.consent input {
    width: 19px;
    height: 19px;
    margin: 0.16rem 0 0;
    accent-color: var(--brand);
}

.consent label {
    color: var(--text-soft);
    font-size: 0.76rem;
    line-height: 1.46;
}

.consent a {
    color: var(--text);
    font-weight: 750;
}

.consent__error {
    margin-top: -0.56rem;
    padding-left: 2.55rem;
}

.submit-button {
    display: inline-flex;
    width: 100%;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1rem;
    border: 1px solid transparent;
    border-radius: var(--control-radius);
    background: var(--brand);
    color: var(--text);
    cursor: pointer;
    font-size: 0.96rem;
    font-weight: 800;
    line-height: 1.15;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 140ms ease, transform 120ms ease;
}

.submit-button:hover {
    background: var(--brand-dark);
}

.submit-button:focus-visible {
    outline: 3px solid var(--text);
    outline-offset: 3px;
}

.submit-button:active {
    transform: translateY(1px);
}

.submit-button[aria-busy="true"] {
    cursor: wait;
    opacity: 0.78;
}

.privacy-note {
    max-width: 45ch;
    margin: 0 auto;
    color: var(--text-muted);
    font-size: 0.72rem;
    line-height: 1.45;
    text-align: center;
}

.honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.site-footer {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    align-items: center;
    padding: 1.25rem 1rem 1.5rem;
    border-top: 1px solid rgba(231, 234, 241, 0.1);
    background: var(--header);
    color: var(--text-muted);
    font-size: 0.78rem;
    text-align: center;
}

.site-footer > span {
    color: var(--text-soft);
    font-weight: 800;
}

.site-footer nav {
    display: flex;
    gap: 1rem;
}

.confirmation-page {
    min-height: 100dvh;
    background: var(--page);
}

.confirmation-main {
    display: grid;
    min-height: calc(100dvh - 68px);
    place-items: center;
    padding: 2rem 1.1rem;
}

.confirmation-card {
    width: min(100%, 580px);
    padding: clamp(1.5rem, 6vw, 2.7rem);
    border: 1px solid var(--border-brand);
    border-radius: 2px;
    background: var(--panel);
    text-align: center;
}

.confirmation-card h1 {
    margin: 0;
    font-size: clamp(1.9rem, 8vw, 3rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1.05;
}

.confirmation-card > p:not(.confirmation-card__label) {
    max-width: 50ch;
    margin: 1rem auto 0;
    color: var(--text-soft);
}

.confirmation-card__label {
    margin: 0 0 0.55rem;
    color: var(--text-muted);
    font-size: 0.78rem;
    font-weight: 750;
}

.confirmation-card__button {
    max-width: 230px;
    margin: 1.5rem auto 0;
}

@media (min-width: 360px) {
    .field-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 720px) {
    .brand-bar {
        min-height: 72px;
    }

    .hero {
        min-height: calc(100dvh - 72px);
    }

    .hero__layout {
        padding-inline: 2rem;
    }

    .site-footer {
        flex-direction: row;
        justify-content: space-between;
        padding-inline: max(2rem, calc((100vw - 1180px) / 2));
    }

    .confirmation-main {
        min-height: calc(100dvh - 72px);
    }
}

@media (min-width: 900px) {
    .hero__layout {
        display: grid;
        grid-template-columns: minmax(0, 0.92fr) minmax(480px, 1.08fr);
        gap: clamp(3rem, 5.5vw, 4.5rem);
        align-items: start;
        padding-top: 2.25rem;
        padding-bottom: 2.75rem;
    }

    .hero__message {
        gap: 1.8rem;
        padding-top: 1.4rem;
    }

    .hero__copy {
        text-align: left;
    }

    .hero h1 {
        max-width: 520px;
        margin: 0;
        font-size: clamp(2.65rem, 4vw, 3.25rem);
    }

    .hero__intro {
        max-width: 34ch;
        margin-right: 0;
        margin-left: 0;
        font-size: 1.06rem;
    }

    .hero__photo {
        max-width: 520px;
        margin: 0;
    }

    .form-shell {
        max-width: 560px;
        padding: 1.75rem;
    }

    .form-shell__heading {
        margin-bottom: 1.2rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
    }
}
