.contact-page {
    background: #040212;
    color: #f5f6fc
}

.contact-page [hidden] {
    display: none !important
}

.contact-page .header {
    position: absolute;
    inset: 0 0 auto;
    height: 128px
}

.contact-page .brand {
    gap: 14px
}

.contact-page .brand>span:last-child {
    font-size: 22px;
    font-weight: 600;
    letter-spacing: 7px
}

.eclon-mark {
    display: block;
    position: relative;
    width: 26px;
    height: 32px;
    flex: none
}

.eclon-mark i {
    position: absolute;
    inset: 0;
    background: linear-gradient(145deg, #39e9ed, #079ddf)
}

.eclon-mark i:nth-child(1) {
    clip-path: polygon(0 22%, 55% 0, 100% 19%, 45% 43%, 0 65%)
}

.eclon-mark i:nth-child(2) {
    clip-path: polygon(0 22%, 45% 43%, 45% 80%, 0 100%);
    background: linear-gradient(#00c8e3, #464cfc)
}

.eclon-mark i:nth-child(3) {
    clip-path: polygon(45% 43%, 100% 63%, 45% 80%, 100% 85%, 45% 100%, 0 80%);
    background: linear-gradient(150deg, #12cff2 15%, #4d49ff 60%, #b957ff)
}

.contact-main {
    min-height: 100vh;
    padding: 216px 24px 140px;
    background: radial-gradient(ellipse 64% 35% at 1% 26%, #06465cc9, transparent 80%), radial-gradient(ellipse 53% 28% at 3% 45%, #36235bba, transparent 86%), radial-gradient(ellipse 36% 53% at 104% 96%, #23557fd9, transparent 83%), radial-gradient(ellipse 45% 35% at 27% 13%, #15334fc9, transparent 85%), linear-gradient(125deg, #0b0b23, #090319 55%, #080724)
}

.contact-heading {
    text-align: center
}

.contact-heading h1 {
    font-size: 56px;
    font-weight: 400;
    line-height: 68px;
    letter-spacing: -.04em
}

.contact-heading p {
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
    margin-top: 10px
}

.contact-intro {
    text-align: center;
    font-size: 20px;
    line-height: 40px;
    font-weight: 700;
    margin: 72px auto 32px;
    max-width: 1000px
}

.contact-panel {
    position: relative;
    width: min(100%, 780px);
    margin: auto;
    padding: 44px 48px 80px;
    border-radius: 44px;
    background: #101827;
    color: #bfc6d2
}

.required-note {
    position: absolute;
    top: 17px;
    right: 48px;
    font-size: 12px;
    line-height: 18px
}

.required-note span,
.required {
    color: #ff313e
}

.required {
    margin-left: 2px
}

.form-field+.form-field {
    margin-top: 26px
}

.form-field label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    line-height: 22px;
    margin-bottom: 7px
}

.form-field input,
.form-field select,
.form-field textarea {
    display: block;
    width: 100%;
    border: 1px solid #384151;
    border-radius: 8px;
    background: #181f2e;
    color: #eef1f8;
    font: inherit;
    font-size: 16px;
    line-height: 24px;
    outline: none;
    transition: border-color .2s, box-shadow .2s
}

.form-field input,
.form-field select {
    height: 50px;
    padding: 12px 17px
}

.form-field textarea {
    min-height: 220px;
    padding: 14px 17px;
    resize: vertical
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-color: #777dff;
    box-shadow: 0 0 0 3px #6867ee24
}

.form-field input:user-invalid,
.form-field textarea:user-invalid {
    border-color: #f57385
}

.form-field input:-webkit-autofill {
    -webkit-text-fill-color: #eef1f8;
    box-shadow: inset 0 0 0 1000px #181f2e
}

.select-wrap {
    position: relative
}

.select-wrap select {
    appearance: none;
    padding-right: 45px;
    color: #bfc6d2
}

.select-wrap:after {
    content: '';
    position: absolute;
    right: 23px;
    top: 19px;
    width: 9px;
    height: 9px;
    border-right: 2px solid #bdc5d2;
    border-bottom: 2px solid #bdc5d2;
    transform: rotate(45deg);
    pointer-events: none
}

.privacy-consent {
    margin-top: 26px;
    text-align: center
}

.privacy-consent>p {
    font-size: 12px;
    line-height: 22px
}

.consent-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 17px
}

.consent-row input {
    appearance: none;
    position: relative;
    flex: none;
    width: 24px;
    height: 24px;
    border: 1px solid #384151;
    border-radius: 8px;
    background: #181f2e;
    cursor: pointer;
    margin: 0
}

.consent-row input:checked {
    background: #6166f4;
    border-color: #8a8ffe
}

.consent-row input:checked:after {
    content: '';
    position: absolute;
    left: 8px;
    top: 4px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg)
}

.consent-row input:focus-visible {
    outline: 3px solid #a5b4fc;
    outline-offset: 4px
}

.consent-row label {
    font-size: 14px;
    line-height: 24px;
    font-weight: 700
}

.consent-row a {
    color: #6479ff;
    text-decoration: underline;
    text-underline-offset: 3px
}

.contact-action {
    display: flex;
    width: min(100%, 360px);
    min-height: 60px;
    margin: 46px auto 0;
    font-size: 16px
}

.contact-page .footer {
    min-height: 226px;
    background: #030212;
    padding: 80px 40px 80px 50px;
    gap: 32px
}

.contact-page .footer .brand {
    gap: 11px
}

.contact-page .footer .eclon-mark {
    width: 19px;
    height: 24px
}

.contact-page .footer .brand>span:last-child {
    font-size: 16px;
    letter-spacing: 5px
}

.contact-page .footer nav {
    gap: 44px;
    white-space: nowrap
}

.contact-page .footer small {
    font-size: 11px;
    color: #72788e
}

.contact-page .back-top {
    top: 50px;
    width: 34px;
    height: 34px;
    border: 1px solid #252539;
    border-radius: 50%;
    font-size: 22px;
    line-height: 1;
    display: grid;
    place-items: center
}

.contact-panel h2 {
    font-size: 26px;
    color: #f5f6fc;
    text-align: center;
    margin: 0 0 30px
}

.review-fields {
    margin: 0
}

.review-fields>div {
    padding: 18px 0;
    border-bottom: 1px solid #30394a
}

.review-fields dt {
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 8px
}

.review-fields dd {
    margin: 0;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    font-size: 16px;
    color: #f5f6fc
}

.review-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 32px
}

.review-actions .button {
    min-width: 180px
}

.edit-button {
    background: transparent;
    border: 1px solid #626a82;
    border-radius: 50px;
    padding: 14px 32px
}

.form-status {
    font-size: 14px;
    line-height: 26px;
    margin-top: 26px;
    text-align: center
}

.form-status:empty {
    display: none
}

#contact-success {
    text-align: center;
    padding-block: 25px
}

#contact-success p {
    font-size: 16px;
    line-height: 30px
}

/* Compact, full-screen confirmation shown only after the server accepts mail. */
.contact-page.contact-complete-page {
    height: 100vh;
    height: 100dvh;
    min-height: 0;
    overflow: hidden;
    background: #050416
}

.contact-complete-page .header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 20;
}

.contact-complete-page .contact-main {
    box-sizing: border-box;
    display: grid;
    place-items: center;
    height: 100vh;
    height: 100dvh;
    min-height: 0;
    overflow: hidden;
    grid-template-rows: minmax(0, 1fr);
    padding: 128px 24px;
    background: radial-gradient(ellipse 46% 65% at 2% 51%, #10506dcc, transparent 78%), radial-gradient(ellipse 37% 48% at 29% 65%, #2a3767c9, transparent 85%), radial-gradient(ellipse 42% 38% at 32% 4%, #153653bd, transparent 82%), linear-gradient(110deg, #0b102b 0%, #080619 55%, #050416 100%);
}

.contact-complete-page .contact-heading,
.contact-complete-page .contact-intro,
.contact-complete-page .footer {
    display: none !important;
}

.contact-complete-page .contact-panel {
    box-sizing: border-box;
    display: grid;
    place-items: center;
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
    border-radius: 0;
    background: transparent;
    color: #f5f6fc;
}

.contact-complete-page #contact-success {
    padding: 0;
}

.success-plane {
    display: block;
    width: clamp(88px, 12vw, 132px);
    height: auto;
    margin: 0 auto clamp(20px, 3vh, 34px);
    object-fit: contain;
}

.contact-complete-page .contact-panel h2 {
    margin: 0 0 12px;
    color: #f8f8ff;
    font-size: clamp(22px, 2.3vw, 32px);
    line-height: 1.4;
    letter-spacing: .01em;
}

.contact-complete-page #contact-success p {
    margin: 0;
    color: #f1f1fa;
    font-size: clamp(14px, 1.3vw, 18px);
    line-height: 1.7;
    letter-spacing: .12em;
}

.contact-complete-page .contact-action {
    margin-top: clamp(24px, 4vh, 38px);
}

@media(max-width: 600px) {
    .contact-complete-page .contact-main {
        padding: 90px 20px;
    }

    .success-plane {
        width: clamp(76px, 22vw, 104px);
        margin-bottom: clamp(16px, 3vh, 26px);
    }

    .contact-complete-page .contact-panel h2 {
        font-size: 23px;
    }

    .contact-complete-page #contact-success p {
        font-size: 14px;
        letter-spacing: .08em;
    }

    .contact-complete-page .contact-action {
        margin-top: clamp(20px, 4vh, 30px);
    }
}

@media(max-width:1200px) {
    .contact-page .header nav {
        gap: 22px
    }

    .contact-page .footer {
        flex-wrap: wrap;
        justify-content: center
    }

    .contact-page .footer nav {
        gap: 24px
    }

    .contact-page .footer small {
        width: 100%;
        text-align: center
    }
}

@media(max-width:900px) {
    .contact-page .header nav {
        top: 0;
        gap: 0
    }

    .contact-page .header {
        padding-inline: 24px;
        gap: 20px
    }

    .contact-page .header-cta {
        margin-left: auto
    }

    .contact-page .menu-toggle {
        order: 3
    }

    .contact-main {
        padding-top: 190px
    }

    .contact-intro {
        font-size: 17px;
        line-height: 34px
    }

    .contact-intro br {
        display: none
    }

    .contact-panel {
        padding-inline: 36px
    }

    .required-note {
        right: 36px
    }
}

@media(max-width:600px) {
    .contact-page .header {
        height: 90px;
        padding-inline: 20px;
        gap: 14px
    }

    .contact-page .brand {
        gap: 8px
    }

    .contact-page .brand>span:last-child {
        font-size: 16px;
        letter-spacing: 4px
    }

    .contact-page .eclon-mark {
        width: 20px;
        height: 26px
    }

    .contact-page .header-cta {
        min-height: 36px;
        padding: 9px 12px;
        font-size: 10px
    }

    .contact-page .menu-toggle {
        width: 26px;
        flex: none
    }

    .contact-main {
        min-height: 0;
        padding: 155px 20px 80px
    }

    .contact-heading h1 {
        font-size: 44px;
        line-height: 54px
    }

    .contact-heading p {
        font-size: 14px;
        margin-top: 8px
    }

    .contact-intro {
        font-size: 14px;
        line-height: 28px;
        margin: 44px auto 28px;
        text-align: left;
        max-width: 360px
    }

    .contact-panel {
        border-radius: 24px;
        padding: 46px 22px 46px
    }

    .required-note {
        right: 22px;
        top: 17px;
        font-size: 11px
    }

    .form-field+.form-field {
        margin-top: 24px
    }

    .form-field label {
        font-size: 13px
    }

    .form-field textarea {
        min-height: 210px
    }

    .privacy-consent>p {
        font-size: 11px;
        line-height: 21px
    }

    .consent-row {
        gap: 10px
    }

    .consent-row label {
        font-size: 12px
    }

    .consent-row input {
        width: 23px;
        height: 23px
    }

    .contact-action {
        margin-top: 34px;
        min-height: 54px;
        font-size: 14px;
        padding-inline: 15px
    }

    .contact-page .footer {
        padding: 70px 20px 30px;
        gap: 25px
    }

    .contact-page .footer nav {
        justify-content: center;
        gap: 16px 24px;
        flex-wrap: wrap;
        font-size: 11px
    }

    .contact-page .footer small {
        font-size: 9px
    }

    .contact-page .footer .back-top {
        right: 20px;
        top: 20px
    }

    .contact-panel h2 {
        font-size: 22px
    }

    .review-actions {
        gap: 12px
    }

    .review-actions .button {
        min-width: 0;
        flex: 1;
        padding-inline: 18px
    }

    .edit-button {
        padding-inline: 22px
    }
}

@media(max-width:360px) {
    .contact-page .header {
        gap: 10px
    }

    .contact-page .brand>span:last-child {
        font-size: 14px;
        letter-spacing: 3px
    }

    .contact-page .header-cta {
        font-size: 9px;
        padding-inline: 8px
    }

    .contact-panel {
        padding-inline: 18px
    }

    .consent-row label {
        font-size: 11px
    }
}

.contact-confirm-page .contact-main {
    padding-bottom: 120px
}

.contact-confirm-page .contact-intro {
    margin-top: 64px;
    margin-bottom: 32px
}

.contact-confirm-page .contact-panel {
    padding: 44px 48px 48px
}

.contact-confirm-page .review-fields>div {
    padding: 0;
    border: 0
}

.contact-confirm-page .review-fields>div+div {
    margin-top: 32px
}

.contact-confirm-page .review-fields dt {
    font-size: 14px;
    line-height: 22px;
    margin-bottom: 20px;
    font-weight: 700
}

.contact-confirm-page .review-fields dd {
    font-size: 16px;
    line-height: 30px;
    color: #bfc6d2;
    min-height: 30px
}

.contact-confirm-page .review-fields>div:last-child dd {
    margin-top: 28px
}

.contact-confirm-page .review-actions {
    margin-top: 48px;
    gap: 0
}

.contact-confirm-page .review-actions .button {
    width: auto;
    max-width: 100%;
    flex: 1;
    min-height: 60px;
    font-size: 16px
}

.contact-confirm-page .review-actions .button[aria-disabled=true] {
    cursor: default
}

#confirm-intro:focus {
    outline: none
}

@media(max-width:900px) {
    .contact-confirm-page .contact-panel {
        padding-inline: 36px
    }
}

@media(max-width:600px) {
    .contact-confirm-page .contact-main {
        min-height: 0;
        padding-bottom: 80px
    }

    .contact-confirm-page .contact-intro {
        margin-top: 44px;
        margin-bottom: 28px;
        text-align: center
    }

    .contact-confirm-page .contact-panel {
        padding: 46px 22px
    }

    .contact-confirm-page .review-fields>div+div {
        margin-top: 30px
    }

    .contact-confirm-page .review-fields dt {
        font-size: 13px;
        margin-bottom: 14px
    }

    .contact-confirm-page .review-fields>div:last-child dd {
        margin-top: 18px
    }

    .contact-confirm-page .review-fields dd {
        font-size: 15px;
        line-height: 28px
    }

    .contact-confirm-page .review-actions {
        margin-top: 36px
    }

    .contact-confirm-page .review-actions .button {
        min-height: 54px;
        font-size: 14px
    }
}

@media(prefers-reduced-motion:reduce) {
    .contact-page * {
        scroll-behavior: auto !important;
        transition: none !important
    }
}
