.support-application {
    min-height: 100vh;
}

.support-application-hero {
    display: grid;
    min-height: 100svh;
    padding:
        calc(var(--header-height) + 76px)
        var(--page-padding)
        70px;
    grid-template-columns:
        110px
        minmax(0, 1fr)
        minmax(290px, 390px);
    gap: clamp(45px, 6vw, 100px);
}

.support-application-hero-index {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 7px 0;
    color: var(--text-faint);
    font-size: 9px;
    letter-spacing: 0.16em;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
}

.support-application-hero-content {
    display: flex;
    max-width: 980px;
    flex-direction: column;
    justify-content: center;
}

.support-application-hero h1 {
    max-width: 980px;
    margin: 30px 0 42px;
    font-size: clamp(54px, 7vw, 112px);
    font-weight: 500;
    letter-spacing: -0.067em;
    line-height: 0.98;
}

.support-application-hero h1 em,
.support-success-panel h1 em {
    background: var(--gradient);
    background-clip: text;
    color: transparent;
    font-style: normal;
}

.support-application-hero-copy {
    max-width: 650px;
    margin: 0;
    padding-top: 34px;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    font-size: clamp(14px, 1.3vw, 17px);
    line-height: 1.85;
}

.support-application-requirements {
    align-self: end;
    margin: 0;
    border-top: 1px solid var(--border-strong);
    border-bottom: 1px solid var(--border-strong);
}

.support-application-requirements div {
    display: flex;
    min-height: 72px;
    padding: 0 18px;
    align-items: center;
    justify-content: space-between;
}

.support-application-requirements div + div {
    border-top: 1px solid var(--border);
}

.support-application-requirements dt {
    color: var(--text-faint);
    font-size: 8px;
    font-weight: 600;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.support-application-requirements dd {
    margin: 0;
    color: #d6d4dc;
    font-size: 12px;
    font-weight: 500;
}

.support-application-form-section {
    display: grid;
    padding:
        140px
        var(--page-padding)
        150px;
    grid-template-columns:
        minmax(280px, 0.7fr)
        minmax(580px, 1.3fr);
    gap: clamp(70px, 9vw, 160px);
    border-top: 1px solid var(--border-strong);
}

.support-application-sidebar {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    align-self: start;
}

.support-application-sidebar > .section-number {
    padding-top: 5px;
    color: var(--purple);
}

.support-application-sidebar > div {
    grid-column: 2;
}

.support-application-sidebar h2 {
    margin: 22px 0 26px;
    font-size: clamp(42px, 4.7vw, 68px);
    font-weight: 500;
    letter-spacing: -0.06em;
    line-height: 1.05;
}

.support-application-sidebar > div > p:last-child {
    max-width: 470px;
    margin: 0;
    color: var(--text-muted);
    font-size: 13px;
    line-height: 1.85;
}

.support-application-sidebar ol {
    margin: 55px 0 0;
    padding: 0;
    grid-column: 2;
    border-top: 1px solid var(--border);
    list-style: none;
    counter-reset: support-sections;
}

.support-application-sidebar li {
    display: flex;
    min-height: 47px;
    align-items: center;
    border-bottom: 1px solid var(--border);
    color: var(--text-faint);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    counter-increment: support-sections;
}

.support-application-sidebar li::before {
    width: 34px;
    color: var(--purple);
    content: "0" counter(support-sections);
}

.support-application-form-container {
    min-width: 0;
}

.support-form-error {
    display: flex;
    gap: 17px;
    margin-bottom: 32px;
    padding: 20px 22px;
    border: 1px solid rgba(248, 113, 113, 0.34);
    background: rgba(127, 29, 29, 0.12);
}

.support-form-error iconify-icon {
    flex: 0 0 auto;
    margin-top: 2px;
    color: #f87171;
    font-size: 22px;
}

.support-form-error strong,
.support-form-error p {
    margin: 0;
}

.support-form-error strong {
    color: #fecaca;
    font-size: 12px;
    font-weight: 600;
}

.support-form-error p {
    margin-top: 6px;
    color: #c9a8a8;
    font-size: 11px;
    line-height: 1.7;
}

.support-form {
    border: 1px solid var(--border-strong);
    background: rgba(14, 14, 21, 0.84);
    box-shadow:
        0 40px 100px rgba(0, 0, 0, 0.28),
        0 0 90px rgba(111, 58, 255, 0.055);
}

.support-form-group {
    min-width: 0;
    margin: 0;
    padding: 38px;
    border: 0;
}

.support-form-group + .support-form-group {
    border-top: 1px solid var(--border-strong);
}

.support-form-group legend {
    display: flex;
    width: 100%;
    gap: 20px;
    padding: 0 0 31px;
    align-items: flex-start;
}

.support-form-group legend > span:first-child {
    flex: 0 0 auto;
    width: 30px;
    padding-top: 2px;
    color: var(--purple);
    font-size: 9px;
    font-weight: 600;
}

.support-form-group legend > span:last-child {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.support-form-group legend strong {
    color: var(--text);
    font-size: 15px;
    font-weight: 500;
}

.support-form-group legend small {
    color: var(--text-faint);
    font-size: 9px;
    letter-spacing: 0.04em;
}

.support-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 25px;
}

.support-form-stack {
    display: grid;
    gap: 28px;
}

.support-field {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.support-field-wide {
    grid-column: 1 / -1;
}

.support-field > span {
    margin-bottom: 10px;
    color: #cfced5;
    font-size: 10px;
    font-weight: 500;
    line-height: 1.55;
}

.support-field input,
.support-field select,
.support-field textarea {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 0;
    outline: 0;
    background: rgba(7, 7, 11, 0.72);
    color: var(--text);
    font-family: inherit;
    font-size: 12px;
    transition:
        border-color 170ms ease,
        background-color 170ms ease,
        box-shadow 170ms ease;
}

.support-field input,
.support-field select {
    min-height: 48px;
    padding: 0 14px;
}

.support-field textarea {
    min-height: 130px;
    padding: 14px;
    line-height: 1.75;
    resize: vertical;
}

.support-field select {
    appearance: none;
    background-image:
        linear-gradient(
            45deg,
            transparent 50%,
            var(--text-faint) 50%
        ),
        linear-gradient(
            135deg,
            var(--text-faint) 50%,
            transparent 50%
        );
    background-position:
        calc(100% - 18px) 20px,
        calc(100% - 13px) 20px;
    background-repeat: no-repeat;
    background-size: 5px 5px, 5px 5px;
    cursor: pointer;
}

.support-field input::placeholder,
.support-field textarea::placeholder {
    color: #4d4b56;
}

.support-field input:hover,
.support-field select:hover,
.support-field textarea:hover {
    border-color: rgba(255, 255, 255, 0.18);
}

.support-field input:focus,
.support-field select:focus,
.support-field textarea:focus {
    border-color: rgba(139, 92, 246, 0.72);
    background: rgba(10, 10, 16, 0.92);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.09);
}

.support-field input:invalid:not(:placeholder-shown),
.support-field textarea:invalid:not(:placeholder-shown) {
    border-color: rgba(248, 113, 113, 0.42);
}

.support-field small {
    display: flex;
    min-height: 17px;
    margin-top: 8px;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    color: var(--text-faint);
    font-size: 8px;
    line-height: 1.6;
}

.support-field small [data-character-count] {
    margin-left: auto;
    color: #777481;
    font-variant-numeric: tabular-nums;
}

.support-field small [data-character-count].is-near-limit {
    color: #fbbf24;
}

.support-field small [data-character-count].is-at-limit {
    color: #f87171;
}

.support-form-confirmation {
    padding: 33px 38px;
    border-top: 1px solid var(--border-strong);
    background:
        linear-gradient(
            90deg,
            rgba(96, 165, 250, 0.025),
            transparent 42%
        ),
        linear-gradient(
            270deg,
            rgba(139, 92, 246, 0.045),
            transparent 48%
        );
}

.support-form-confirmation label {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    cursor: pointer;
}

.support-form-confirmation input {
    width: 16px;
    height: 16px;
    margin: 2px 0 0;
    flex: 0 0 auto;
    accent-color: var(--purple);
}

.support-form-confirmation label span {
    color: #c7c5cd;
    font-size: 10px;
    line-height: 1.75;
}

.support-form-confirmation > p {
    margin: 17px 0 0 30px;
    color: var(--text-faint);
    font-size: 8px;
    line-height: 1.7;
}

.support-form-submit {
    display: flex;
    width: 100%;
    min-height: 68px;
    padding: 0 38px;
    border: 0;
    border-top: 1px solid var(--border-strong);
    background: rgba(139, 92, 246, 0.055);
    color: var(--text);
    align-items: center;
    justify-content: space-between;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition:
        background-color 180ms ease,
        color 180ms ease;
}

.support-form-submit iconify-icon {
    color: var(--purple);
    font-size: 21px;
    transition: transform 180ms ease;
}

.support-form-submit:hover:not(:disabled) {
    background: rgba(139, 92, 246, 0.11);
}

.support-form-submit:hover:not(:disabled) iconify-icon {
    transform: translate(3px, -3px);
}

.support-form-submit:disabled {
    color: var(--text-faint);
    cursor: wait;
}

.support-form-submit.is-submitting iconify-icon {
    animation: support-form-spin 900ms linear infinite;
}

.support-honeypot {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.support-application-closed {
    display: flex;
    min-height: 560px;
    padding: 55px;
    border: 1px solid var(--border-strong);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    background:
        radial-gradient(
            circle at 100% 100%,
            rgba(139, 92, 246, 0.13),
            transparent 47%
        ),
        rgba(14, 14, 21, 0.84);
}

.support-application-closed > iconify-icon {
    margin-bottom: 40px;
    color: var(--purple);
    font-size: 45px;
}

.support-application-closed h2 {
    max-width: 680px;
    margin: 25px 0;
    font-size: clamp(38px, 4vw, 58px);
    font-weight: 500;
    letter-spacing: -0.055em;
    line-height: 1.08;
}

.support-application-closed > p:not(.eyebrow) {
    max-width: 570px;
    margin: 0 0 40px;
    color: var(--text-muted);
    font-size: 13px;
    line-height: 1.85;
}

.support-application-success {
    min-height: 100svh;
    padding:
        calc(var(--header-height) + 90px)
        var(--page-padding)
        100px;
}

.support-success-panel {
    position: relative;
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
    padding: 70px;
    border: 1px solid var(--border-strong);
    overflow: hidden;
    background:
        radial-gradient(
            circle at 100% 0%,
            rgba(96, 165, 250, 0.08),
            transparent 31%
        ),
        radial-gradient(
            circle at 90% 100%,
            rgba(139, 92, 246, 0.13),
            transparent 38%
        ),
        rgba(14, 14, 21, 0.84);
    box-shadow:
        0 40px 100px rgba(0, 0, 0, 0.3),
        0 0 90px rgba(111, 58, 255, 0.06);
}

.support-success-status {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #9bcbb4;
    font-size: 8px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.support-success-status span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #7ee2a8;
    box-shadow: 0 0 12px rgba(126, 226, 168, 0.65);
}

.support-success-icon {
    position: absolute;
    top: 65px;
    right: 70px;
    color: #7ee2a8;
    font-size: 52px;
}

.support-success-panel > .eyebrow {
    margin-top: 75px;
}

.support-success-panel h1 {
    max-width: 850px;
    margin: 28px 0 35px;
    font-size: clamp(54px, 6.5vw, 92px);
    font-weight: 500;
    letter-spacing: -0.067em;
    line-height: 0.98;
}

.support-success-copy {
    max-width: 690px;
    margin: 0;
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.85;
}

.support-success-reference {
    display: flex;
    margin: 55px 0 70px;
    padding: 22px 0;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.support-success-reference span {
    color: var(--text-faint);
    font-size: 8px;
    font-weight: 600;
    letter-spacing: 0.14em;
}

.support-success-reference strong {
    color: #c7b9ff;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
}

.support-success-next {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.support-success-next article {
    min-height: 190px;
    padding: 27px;
}

.support-success-next article + article {
    border-left: 1px solid var(--border);
}

.support-success-next article > span {
    color: var(--purple);
    font-size: 9px;
    font-weight: 600;
}

.support-success-next h2 {
    margin: 32px 0 13px;
    font-size: 14px;
    font-weight: 500;
}

.support-success-next p {
    margin: 0;
    color: var(--text-muted);
    font-size: 10px;
    line-height: 1.75;
}

.support-success-actions {
    display: flex;
    margin-top: 52px;
    align-items: center;
    flex-wrap: wrap;
    gap: 32px;
}

@keyframes support-form-spin {
    to {
        transform: rotate(360deg);
    }
}