:root {
    color-scheme: light;
    --ink: #101828;
    --muted: #596579;
    --line: #d9e1ea;
    --surface: #ffffff;
    --surface-alt: #f4f7fb;
    --brand: #0b4b73;
    --brand-strong: #062b49;
    --accent: #c8eef0;
    --success: #147a55;
    --danger: #b42318;
    --shadow: 0 20px 60px rgba(16, 24, 40, 0.12);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-width: 320px;
    background: var(--surface);
    color: var(--ink);
    font-family: Inter, Arial, sans-serif;
    line-height: 1.5;
}

a {
    color: inherit;
    text-decoration: none;
}

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: max(18px, env(safe-area-inset-top)) 0 18px;
}

.brand {
    display: inline-flex;
    align-items: center;
    min-width: 0;
    color: var(--brand-strong);
    font-size: 1.05rem;
    font-weight: 800;
}

.brand-logo {
    display: block;
    width: auto;
    max-width: min(260px, 52vw);
    height: clamp(34px, 5vw, 46px);
    object-fit: contain;
}

.brand-fallback {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
}

nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
    color: var(--muted);
    font-size: 0.95rem;
    font-weight: 600;
}

nav a:hover {
    color: var(--brand);
}

main {
    overflow: hidden;
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
    gap: clamp(28px, 4vw, 64px);
    align-items: center;
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: clamp(42px, 7vw, 86px) 0 54px;
    scroll-margin-top: 18px;
}

.eyebrow {
    margin: 0 0 14px;
    color: var(--brand);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

h1,
h2 {
    margin: 0;
    color: var(--brand-strong);
    line-height: 1;
    letter-spacing: 0;
    overflow-wrap: anywhere;
}

h1 {
    max-width: 620px;
    font-size: clamp(3.2rem, 9vw, 7.6rem);
}

h2 {
    font-size: clamp(2.4rem, 5vw, 4.75rem);
}

.lead {
    max-width: 620px;
    margin: 24px 0 0;
    color: var(--muted);
    font-size: clamp(1rem, 1.3vw, 1.16rem);
}

.proof-points {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}

.proof-points span {
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 9px 14px;
    background: #ffffff;
    color: var(--brand-strong);
    font-size: 0.9rem;
    font-weight: 700;
}

.video-panel {
    min-width: 0;
}

.video-shell {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #111827;
    box-shadow: var(--shadow);
}

video,
.video-placeholder {
    width: 100%;
    height: 100%;
}

video {
    display: block;
    object-fit: cover;
}

.video-placeholder {
    display: grid;
    place-items: center;
    align-content: center;
    gap: 8px;
    padding: 28px;
    color: #ffffff;
    text-align: center;
    overflow-wrap: anywhere;
}

.video-placeholder span {
    color: rgba(255, 255, 255, 0.78);
}

.video-placeholder code {
    color: var(--accent);
}

.status-line {
    margin-top: 14px;
    color: var(--muted);
    font-size: 0.95rem;
    font-weight: 600;
}

.entry-section {
    display: grid;
    grid-template-columns: minmax(240px, 0.55fr) minmax(0, 1fr);
    gap: clamp(24px, 5vw, 72px);
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 62px 0 86px;
    border-top: 1px solid var(--line);
    scroll-margin-top: 18px;
}

.entry-form {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface-alt);
    padding: clamp(22px, 3vw, 34px);
}

.entry-form.locked {
    opacity: 0.7;
}

fieldset {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

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

label {
    display: grid;
    gap: 8px;
    color: var(--brand-strong);
    font-size: 0.92rem;
    font-weight: 800;
}

input {
    width: 100%;
    min-height: 48px;
    border: 1px solid #c7d1dd;
    border-radius: 6px;
    background: #ffffff;
    color: var(--ink);
    font: inherit;
    font-size: 1rem;
    font-weight: 500;
    padding: 12px 14px;
}

input:focus {
    border-color: var(--brand);
    outline: 3px solid rgba(11, 75, 115, 0.16);
}

.honeypot {
    position: absolute;
    left: -10000px;
}

button {
    min-height: 50px;
    margin-top: 22px;
    border: 0;
    border-radius: 6px;
    background: var(--brand-strong);
    color: #ffffff;
    cursor: pointer;
    font: inherit;
    font-weight: 800;
    padding: 13px 20px;
}

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

button:disabled,
fieldset:disabled button {
    cursor: not-allowed;
}

.form-message {
    min-height: 24px;
    margin: 16px 0 0;
    color: var(--muted);
    font-size: 0.95rem;
    font-weight: 700;
}

.submitted .form-message,
.status-line.complete {
    color: var(--success);
}

.site-footer {
    border-top: 1px solid var(--line);
    background: var(--brand-strong);
    color: rgba(255, 255, 255, 0.82);
    padding: 26px 20px;
    text-align: center;
}

.site-footer p {
    margin: 0;
}

[hidden] {
    display: none !important;
}

@media (max-width: 900px) {
    .hero,
    .entry-section {
        grid-template-columns: 1fr;
    }

    .hero {
        padding-top: 28px;
    }
}

@media (max-width: 640px) {
    .site-header {
        width: min(100% - 32px, 1180px);
        gap: 14px;
    }

    nav {
        gap: 8px;
        margin-left: auto;
        font-size: 0.9rem;
    }

    .hero,
    .entry-section {
        width: min(100% - 32px, 1180px);
    }

    h1 {
        font-size: clamp(2.5rem, 15vw, 4.1rem);
        line-height: 0.98;
    }

    h2 {
        font-size: clamp(2rem, 12vw, 3.1rem);
    }

    .lead {
        margin-top: 18px;
    }

    .proof-points {
        display: grid;
        grid-template-columns: 1fr;
        margin-top: 22px;
    }

    .proof-points span {
        width: 100%;
        border-radius: 6px;
    }

    .video-shell {
        box-shadow: 0 14px 36px rgba(16, 24, 40, 0.14);
    }

    .entry-section {
        gap: 20px;
        padding: 44px 0 64px;
    }

    .entry-form {
        padding: 20px;
    }

    .field-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    button {
        width: 100%;
    }
}

@media (max-width: 460px) {
    .site-header {
        align-items: stretch;
    }

    .brand {
        width: 100%;
    }

    .brand-logo {
        max-width: min(240px, 100%);
        height: 38px;
    }

    nav {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
        margin-left: 0;
    }

    nav a {
        border: 1px solid var(--line);
        border-radius: 6px;
        padding: 9px 10px;
        text-align: center;
    }

    .hero {
        padding-top: 20px;
        padding-bottom: 40px;
    }

    .video-placeholder {
        padding: 18px;
        font-size: 0.92rem;
    }

    .entry-form {
        padding: 18px;
    }
}
