:root {
    color-scheme: dark;
    --bg: #06111f;
    --panel: #0c1a2c;
    --panel-strong: #102842;
    --line: rgba(164, 195, 230, 0.18);
    --text: #eef6ff;
    --muted: #a9bed5;
    --soft: #d5e6f7;
    --accent: #3fb6ff;
    --accent-strong: #73d1ff;
    --success: #59d99b;
    --danger: #ff7885;
    --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
}

* {
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    margin: 0;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at 18% 12%, rgba(63, 182, 255, 0.24), transparent 34rem),
        radial-gradient(circle at 88% 18%, rgba(89, 217, 155, 0.12), transparent 24rem),
        linear-gradient(135deg, #06111f 0%, #07182b 46%, #04101d 100%);
}

button,
input,
select,
textarea {
    font: inherit;
}

a {
    color: inherit;
}

.page-shell {
    width: min(1180px, calc(100% - 32px));
    min-height: 100vh;
    margin: 0 auto;
    padding: 32px 0;
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1fr);
    gap: 24px;
    align-items: stretch;
}

.intro-panel,
.form-panel {
    border: 1px solid var(--line);
    background: rgba(12, 26, 44, 0.84);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
}

.intro-panel {
    min-height: 640px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    border-radius: 18px;
    overflow: hidden;
    position: relative;
}

.intro-panel::after {
    content: "";
    position: absolute;
    inset: auto -20% -24% 10%;
    height: 320px;
    background: linear-gradient(135deg, rgba(63, 182, 255, 0.2), rgba(89, 217, 155, 0.08));
    transform: skewY(-8deg);
    pointer-events: none;
}

.topbar,
.hero-copy,
.trust-grid {
    position: relative;
    z-index: 1;
}

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    font-weight: 800;
    letter-spacing: 0;
}

.brand img {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.availability {
    padding: 8px 12px;
    border: 1px solid rgba(115, 209, 255, 0.28);
    border-radius: 999px;
    color: var(--accent-strong);
    font-size: 0.84rem;
    font-weight: 700;
    white-space: nowrap;
}

.hero-copy {
    max-width: 640px;
    padding: 112px 0 48px;
}

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

h1,
h2 {
    font-family: Sora, Inter, sans-serif;
    letter-spacing: 0;
}

h1 {
    margin: 0;
    font-size: clamp(2.5rem, 6vw, 5.7rem);
    line-height: 0.96;
}

h2 {
    margin: 0;
    font-size: clamp(1.75rem, 3vw, 2.65rem);
    line-height: 1.05;
}

.lead {
    max-width: 560px;
    margin: 24px 0 0;
    color: var(--soft);
    font-size: 1.08rem;
    line-height: 1.75;
}

.form-panel {
    padding: 34px;
    border-radius: 18px;
}

.form-heading {
    margin-bottom: 28px;
}

.contact-form {
    display: grid;
    gap: 18px;
}

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

.field {
    display: grid;
    gap: 8px;
}

.field span:first-child {
    color: var(--soft);
    font-weight: 700;
    font-size: 0.94rem;
}

input,
select,
textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: rgba(4, 16, 29, 0.86);
    color: var(--text);
    outline: none;
    transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

input,
select {
    min-height: 48px;
    padding: 0 14px;
}

textarea {
    min-height: 164px;
    padding: 14px;
    resize: vertical;
    line-height: 1.6;
}

input:focus,
select:focus,
textarea:focus {
    border-color: rgba(115, 209, 255, 0.78);
    box-shadow: 0 0 0 4px rgba(63, 182, 255, 0.12);
    background: rgba(5, 19, 34, 0.96);
}

input::placeholder,
textarea::placeholder {
    color: rgba(169, 190, 213, 0.62);
}

.field-meta {
    justify-self: end;
    color: var(--muted);
    font-size: 0.82rem;
}

.error {
    min-height: 18px;
    color: var(--danger);
    font-size: 0.82rem;
    line-height: 1.35;
}

#website {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.form-footer {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
}

.privacy-note {
    margin: 0;
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.5;
}

.submit-button {
    min-height: 50px;
    padding: 0 24px;
    border: 0;
    border-radius: 10px;
    color: #03101d;
    background: linear-gradient(135deg, var(--accent-strong), var(--success));
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 14px 28px rgba(63, 182, 255, 0.2);
}

.submit-button:disabled {
    cursor: not-allowed;
    opacity: 0.65;
    box-shadow: none;
}

.form-status {
    display: none;
    padding: 14px 16px;
    border-radius: 10px;
    border: 1px solid var(--line);
    line-height: 1.5;
}

.form-status.is-visible {
    display: block;
}

.form-status.is-success {
    border-color: rgba(89, 217, 155, 0.48);
    background: rgba(89, 217, 155, 0.12);
    color: #d8ffe9;
}

.form-status.is-error {
    border-color: rgba(255, 120, 133, 0.48);
    background: rgba(255, 120, 133, 0.11);
    color: #ffe0e4;
}

@media (max-width: 980px) {
    .page-shell {
        grid-template-columns: 1fr;
        padding: 20px 0;
    }

    .intro-panel {
        min-height: auto;
    }

    .hero-copy {
        padding: 54px 0 38px;
    }
}

@media (max-width: 720px) {
    .page-shell {
        width: min(100% - 20px, 1180px);
    }

    .intro-panel,
    .form-panel {
        border-radius: 14px;
        padding: 22px;
    }

    .topbar,
    .form-footer {
        align-items: flex-start;
        grid-template-columns: 1fr;
        flex-direction: column;
    }

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

    .submit-button {
        width: 100%;
    }
}
