:root {
    --bg-top: #050506;
    --bg-mid: #0d0d10;
    --bg-bottom: #020203;

    --card: #111114;
    --surface: #17171b;
    --surface-2: #202026;

    --crimson: #d31335;
    --crimson-bright: #ff3155;
    --crimson-soft: #ff8ca1;

    --text-primary: #ffffff;
    --text-secondary: #b6b6bf;
    --text-muted: #777782;

    --border: rgba(211, 19, 53, 0.24);
    --border-strong: rgba(255, 49, 85, 0.50);

    --container: 1180px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    overflow-x: hidden;

    background:
        radial-gradient(
            circle at 6% 7%,
            rgba(211, 19, 53, 0.20),
            transparent 29%
        ),
        radial-gradient(
            circle at 94% 38%,
            rgba(255, 49, 85, 0.09),
            transparent 34%
        ),
        linear-gradient(
            180deg,
            var(--bg-top),
            var(--bg-mid) 50%,
            var(--bg-bottom)
        );

    color: var(--text-primary);

    font-family:
        Inter,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    line-height: 1.7;
}

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

img {
    max-width: 100%;
}

.container {
    width: min(calc(100% - 40px), var(--container));
    margin-inline: auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    background: rgba(5, 5, 6, 0.88);
    border-bottom: 1px solid rgba(211, 19, 53, 0.14);
    backdrop-filter: blur(18px);
}

.header-content {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-logo {
    width: 56px;
    height: 56px;
    display: block;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-text strong,
.footer-brand strong {
    color: var(--crimson-bright);
    font-size: 20px;
}

.brand-text strong span,
.footer-brand strong span {
    color: var(--text-primary);
}

.brand-text small,
.footer-brand small {
    margin-top: 4px;
    color: var(--text-muted);
    font-size: 12px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 27px;
}

.main-nav a {
    position: relative;
    color: var(--text-secondary);
    font-size: 14px;
    transition: color 180ms ease;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--crimson-soft);
}

.main-nav a.active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -9px;
    height: 2px;
    border-radius: 20px;
    background: var(--crimson-bright);
}

.support-hero {
    padding: 65px 0 52px;
    border-bottom: 1px solid rgba(211, 19, 53, 0.09);
}

.support-hero-content {
    max-width: 880px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 28px;
    color: var(--text-secondary);
    font-size: 13px;

    transition:
        color 180ms ease,
        transform 180ms ease;
}

.back-link:hover {
    color: var(--crimson-soft);
    transform: translateX(-3px);
}

.back-link span {
    color: var(--crimson-bright);
    font-size: 18px;
}

.eyebrow,
.card-label {
    display: block;
    color: var(--crimson-bright);
    font-size: 12px;
    font-weight: 750;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.support-hero h1 {
    margin-top: 12px;
    font-size: clamp(44px, 6vw, 72px);
    line-height: 1;
    letter-spacing: -0.05em;
}

.hero-description {
    max-width: 750px;
    margin-top: 22px;
    color: var(--text-secondary);
    font-size: 17px;
    line-height: 1.75;
}

.support-email {
    display: inline-flex;
    margin-top: 25px;
    padding: 12px 16px;
    border-radius: 13px;
    border: 1px solid var(--border-strong);
    background:
        linear-gradient(
            135deg,
            var(--crimson),
            var(--crimson-bright)
        );
    color: white;
    font-size: 14px;
    font-weight: 750;
    box-shadow: 0 16px 38px rgba(211, 19, 53, 0.24);

    transition:
        transform 180ms ease,
        box-shadow 180ms ease;
}

.support-email:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 42px rgba(211, 19, 53, 0.30);
}

.support-section {
    padding: 55px 0 72px;
}

.support-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    align-items: start;
    gap: 26px;
}

.support-card,
.contact-card {
    border-radius: 25px;
    border: 1px solid var(--border);
    background:
        radial-gradient(
            circle at 100% 0%,
            rgba(211, 19, 53, 0.10),
            transparent 28%
        ),
        rgba(17, 17, 20, 0.96);
    box-shadow: 0 28px 65px rgba(0, 0, 0, 0.32);
}

.support-card {
    padding: 26px;
}

.support-card .card-label {
    margin-bottom: 17px;
}

details {
    border-top: 1px solid rgba(211, 19, 53, 0.10);
}

details:last-child {
    border-bottom: 1px solid rgba(211, 19, 53, 0.10);
}

summary {
    position: relative;
    padding: 19px 42px 19px 0;
    color: var(--text-primary);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
}

summary::-webkit-details-marker {
    display: none;
}

summary::after {
    content: "+";
    position: absolute;
    right: 4px;
    top: 17px;
    width: 27px;
    height: 27px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--crimson-bright);
    font-size: 18px;
    line-height: 1;
}

details[open] summary::after {
    content: "−";
}

details p {
    max-width: 760px;
    padding: 0 42px 20px 0;
    color: var(--text-secondary);
    font-size: 14px;
}

details strong {
    color: var(--crimson-soft);
}

.contact-card {
    position: sticky;
    top: 106px;
    padding: 25px;
}

.contact-card h2 {
    margin-top: 9px;
    font-size: 28px;
    line-height: 1.15;
    letter-spacing: -0.03em;
}

.contact-card > p {
    margin-top: 13px;
    color: var(--text-secondary);
    font-size: 14px;
}

.contact-button {
    width: 100%;
    min-height: 48px;
    display: grid;
    place-items: center;
    margin-top: 21px;
    border-radius: 14px;
    background:
        linear-gradient(
            135deg,
            var(--crimson),
            var(--crimson-bright)
        );
    color: white;
    font-size: 14px;
    font-weight: 750;
}

.contact-data {
    display: flex;
    flex-direction: column;
    margin-top: 15px;
    padding: 13px 14px;
    border-radius: 13px;
    background: var(--surface);
}

.contact-data span {
    color: var(--text-muted);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.contact-data strong {
    margin-top: 3px;
    color: var(--text-primary);
    font-size: 13px;
}

.privacy-link {
    display: inline-flex;
    margin-top: 17px;
    color: var(--crimson-soft);
    font-size: 13px;
    font-weight: 700;
}

.site-footer {
    border-top: 1px solid rgba(211, 19, 53, 0.11);
    background: rgba(2, 2, 3, 0.84);
}

.footer-content {
    min-height: 108px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 30px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 9px;
    justify-self: start;
}

.footer-brand img {
    width: 48px;
    height: 48px;
    display: block;
}

.footer-brand > div {
    display: flex;
    flex-direction: column;
}

.footer-brand small {
    font-size: 10px;
}

.copyright {
    justify-self: center;
    color: var(--text-muted);
    font-size: 11px;
    text-align: center;
    white-space: nowrap;
}

.footer-links {
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 12px;
    transition: color 180ms ease;
}

.footer-links a:hover {
    color: var(--crimson-soft);
}

@media (max-width: 900px) {
    .support-layout {
        grid-template-columns: 1fr;
    }

    .contact-card {
        position: static;
    }
}

@media (max-width: 700px) {
    .main-nav {
        display: none;
    }

    .header-content {
        min-height: 70px;
    }

    .brand-logo {
        width: 50px;
        height: 50px;
    }

    .support-hero {
        padding: 45px 0 40px;
    }

    .support-hero h1 {
        font-size: 43px;
    }

    .hero-description {
        font-size: 15px;
    }

    .support-section {
        padding: 38px 0 55px;
    }

    .support-card,
    .contact-card {
        border-radius: 21px;
    }

    .support-card {
        padding: 20px;
    }

    .footer-content {
        min-height: auto;
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 15px;
        padding: 25px 0;
    }

    .footer-brand,
    .copyright,
    .footer-links {
        justify-self: center;
    }
}

@media (max-width: 480px) {
    .container {
        width: min(calc(100% - 28px), var(--container));
    }

    .support-hero h1 {
        font-size: 37px;
    }

    .support-email {
        width: 100%;
        justify-content: center;
    }

    summary {
        font-size: 14px;
    }

    details p {
        padding-right: 0;
    }
}
