:root {
    --ink: #091525;
    --navy: #07111f;
    --blue: #1665d8;
    --cyan: #50d8f5;
    --muted: #5b6c7f;
    --light: #eef4f8;
    --line: #d8e3eb;
    --max: 1180px
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 110px
}

body {
    margin: 0;
    color: var(--ink);
    background: #fff;
    font: 400 16px/1.65 "DM Sans", Arial, sans-serif
}

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

img {
    max-width: 100%
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 1rem;
    z-index: 100;
    padding: .7rem 1rem;
    background: #fff
}

.skip-link:focus {
    left: 1rem
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid rgba(9, 21, 37, .08);
    background: rgba(255, 255, 255, .94);
    backdrop-filter: blur(16px)
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: min(var(--max), calc(100% - 56px));
    min-height: 88px;
    margin: auto
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font: 700 1.08rem/1.05 "Space Grotesk", Arial, sans-serif
}

.brand img {
    width: 62px;
    height: 62px;
    object-fit: contain;
    filter: drop-shadow(0 5px 8px rgba(8, 45, 105, .18))
}

.brand small {
    display: block;
    margin-top: 5px;
    color: #718094;
    font: 500 .64rem "DM Sans", Arial, sans-serif;
    letter-spacing: .1em;
    text-transform: uppercase
}

.site-header nav {
    display: flex;
    align-items: center;
    gap: 30px;
    font-size: .9rem;
    font-weight: 600
}

.site-header nav a:hover {
    color: var(--blue)
}

.site-header .nav-button {
    padding: 12px 17px;
    border-radius: 9px;
    color: #fff;
    background: var(--blue)
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid var(--cyan);
    outline-offset: 3px
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 11px;
    margin: 0 0 19px;
    color: var(--blue);
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .17em;
    text-transform: uppercase
}

.eyebrow:before {
    width: 27px;
    height: 2px;
    background: currentColor;
    content: ""
}

.contact-hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    background: var(--navy)
}

.contact-hero:before {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px);
    background-size: 64px 64px;
    content: ""
}

.contact-hero__glow {
    position: absolute;
    top: -350px;
    right: -130px;
    width: 680px;
    height: 680px;
    border: 1px solid rgba(80, 216, 245, .18);
    border-radius: 50%;
    box-shadow: 0 0 0 95px rgba(80, 216, 245, .025), 0 0 0 190px rgba(80, 216, 245, .014)
}

.contact-hero__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 100px;
    align-items: end;
    width: min(var(--max), calc(100% - 56px));
    margin: auto;
    padding: 110px 0 105px
}

.contact-hero .eyebrow {
    color: var(--cyan)
}

.contact-hero h1 {
    margin: 0;
    font: 600 clamp(3.6rem, 6.5vw, 6.7rem)/.96 "Space Grotesk", Arial, sans-serif;
    letter-spacing: -.065em
}

.contact-hero h1 span {
    display: block;
    color: var(--cyan)
}

.contact-hero__inner>p {
    max-width: 480px;
    margin: 0 0 10px;
    color: #b9c8da;
    font-size: 1.17rem
}

.contact-section {
    padding: 110px 28px;
    background: var(--light)
}

.contact-grid {
    display: grid;
    grid-template-columns: .78fr 1.22fr;
    gap: 85px;
    width: min(var(--max), 100%);
    margin: auto
}

.contact-details h2,
.form-panel h2,
.contact-expectations h2 {
    margin: 0;
    font: 600 clamp(2.5rem, 4vw, 4rem)/1.04 "Space Grotesk", Arial, sans-serif;
    letter-spacing: -.05em
}

.contact-details .intro {
    margin: 25px 0 38px;
    color: var(--muted);
    font-size: 1.02rem
}

.contact-methods {
    border-top: 1px solid #c4d2dc
}

.contact-methods article {
    padding: 25px 0;
    border-bottom: 1px solid #c4d2dc
}

.contact-methods article>span {
    display: block;
    margin-bottom: 7px;
    color: var(--blue);
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .13em;
    text-transform: uppercase
}

.contact-methods h3 {
    margin: 0;
    font: 600 1.17rem "Space Grotesk", Arial, sans-serif
}

.contact-methods p,
.contact-methods address {
    margin: 7px 0 0;
    color: var(--muted);
    font-size: .9rem;
    font-style: normal
}

.form-panel {
    padding: 45px;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 26px 70px rgba(27, 55, 84, .1)
}

.form-panel__heading {
    margin-bottom: 31px
}

.form-panel__heading h2 {
    font-size: clamp(2rem, 3.5vw, 3.2rem)
}

.form-panel__heading>p:not(.eyebrow) {
    margin: 10px 0 0;
    color: var(--muted);
    font-size: .9rem
}

.field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px
}

.field {
    margin-bottom: 21px
}

.field label {
    display: block;
    margin-bottom: 7px;
    color: #25384d;
    font-size: .82rem;
    font-weight: 700
}

.field input,
.field select,
.field textarea {
    display: block;
    width: 100%;
    border: 1px solid #becdd8;
    border-radius: 9px;
    background: #fff;
    color: var(--ink);
    font: 400 .95rem "DM Sans", Arial, sans-serif
}

.field input,
.field select {
    height: 50px;
    padding: 0 14px
}

.field textarea {
    min-height: 160px;
    padding: 13px 14px;
    resize: vertical
}

.field input:hover,
.field select:hover,
.field textarea:hover {
    border-color: #8ea4b4
}

.field small {
    display: block;
    margin-top: 7px;
    color: #6b7b8c;
    font-size: .75rem
}

.check-field {
    display: grid;
    grid-template-columns: 20px 1fr;
    gap: 10px;
    align-items: start;
    margin: 4px 0 25px
}

.check-field input {
    width: 18px;
    height: 18px;
    margin: 3px 0 0;
    accent-color: var(--blue)
}

.check-field label {
    color: #536578;
    font-size: .82rem
}

.check-field a {
    color: var(--blue);
    font-weight: 700;
    text-decoration: underline
}

.submit-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    min-height: 52px;
    padding: 0 22px;
    border: 0;
    border-radius: 9px;
    color: #fff;
    background: var(--blue);
    font: 700 .94rem "DM Sans", Arial, sans-serif;
    cursor: pointer;
    transition: transform .2s, box-shadow .2s
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 13px 30px rgba(22, 101, 216, .26)
}

.trap {
    position: absolute;
    left: -9999px
}

.form-message {
    margin: 0 0 27px;
    padding: 18px 20px;
    border-radius: 10px;
    font-size: .9rem
}

.form-message strong {
    font-family: "Space Grotesk", Arial, sans-serif
}

.form-message p {
    margin: 6px 0 0
}

.form-message ul {
    margin: 8px 0 0;
    padding-left: 20px
}

.form-message--success {
    border: 1px solid #87d2b0;
    background: #ebfaf3;
    color: #155f40
}

.form-message--error {
    border: 1px solid #e6aaa5;
    background: #fff0ef;
    color: #822b23
}

.contact-expectations {
    padding: 105px 28px;
    background: #fff
}

.contact-expectations__inner {
    display: grid;
    grid-template-columns: 1fr 1.45fr;
    gap: 85px;
    width: min(var(--max), 100%);
    margin: auto
}

.contact-expectations ol {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--line)
}

.contact-expectations li {
    padding: 25px 22px;
    border-right: 1px solid var(--line)
}

.contact-expectations li:first-child {
    padding-left: 0
}

.contact-expectations li:last-child {
    border-right: 0
}

.contact-expectations li>span {
    color: var(--blue);
    font: 700 .7rem "Space Grotesk", Arial, sans-serif
}

.contact-expectations h3 {
    margin: 22px 0 8px;
    font: 600 1.12rem "Space Grotesk", Arial, sans-serif
}

.contact-expectations li p {
    margin: 0;
    color: var(--muted);
    font-size: .86rem
}

.site-footer {
    padding: 35px 28px;
    color: #fff;
    background: #050c16
}

.site-footer__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
    width: min(var(--max), 100%);
    margin: auto
}

.brand--footer img {
    width: 56px;
    height: 56px
}

.site-footer p {
    color: #8999aa;
    font-size: .84rem
}

.footer-links {
    display: flex;
    gap: 22px;
    color: #a6b2bf;
    font-size: .84rem
}

.footer-links .active {
    color: #fff
}

@media(max-width:960px) {
    .site-header nav a:not(.nav-button) {
        display: none
    }

    .contact-hero__inner {
        grid-template-columns: 1fr;
        gap: 32px
    }

    .contact-grid,
    .contact-expectations__inner {
        grid-template-columns: 1fr
    }

    .contact-details {
        max-width: 700px
    }

    .contact-expectations ol {
        max-width: 760px
    }
}

@media(max-width:650px) {
    .site-header__inner {
        width: calc(100% - 40px);
        min-height: 76px
    }

    .brand img {
        width: 52px;
        height: 52px
    }

    .brand>span {
        font-size: .98rem
    }

    .site-header .nav-button {
        padding: 10px 12px;
        font-size: .78rem
    }

    .contact-hero__inner {
        width: calc(100% - 40px);
        padding: 75px 0 72px
    }

    .contact-hero h1 {
        font-size: 3.35rem
    }

    .contact-section {
        padding: 72px 20px
    }

    .contact-grid {
        gap: 55px
    }

    .form-panel {
        padding: 28px 20px
    }

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

    .submit-button {
        width: 100%
    }

    .contact-expectations {
        padding: 75px 20px
    }

    .contact-expectations ol {
        grid-template-columns: 1fr
    }

    .contact-expectations li,
    .contact-expectations li:first-child {
        padding: 24px 0;
        border-right: 0;
        border-bottom: 1px solid var(--line)
    }

    .site-footer__inner {
        align-items: flex-start;
        flex-direction: column
    }

    .footer-links {
        flex-wrap: wrap
    }
}

@media(prefers-reduced-motion:reduce) {
    html {
        scroll-behavior: auto
    }

    .submit-button {
        transition: none
    }
}