.faq-page {
    min-height: 100vh;
    overflow-x: hidden;
    background:
        radial-gradient(circle at 12% 72%, rgba(91, 34, 150, 0.42), transparent 20rem),
        radial-gradient(circle at 82% 18%, rgba(255, 146, 120, 0.12), transparent 26rem),
        radial-gradient(circle at 50% 100%, rgba(42, 17, 82, 0.82), transparent 34rem),
        linear-gradient(180deg, #080510 0%, #0e0719 58%, #190c31 100%);
}

.faq-shell {
    position: relative;
    width: min(1380px, calc(100% - clamp(36px, 7vw, 132px)));
    margin: -10px auto 0;
    padding: clamp(58px, 5.8vw, 96px) 0 184px;
}

.faq-shell::before {
    content: "";
    position: absolute;
    inset: 0 -12vw;
    z-index: -1;
    pointer-events: none;
    background:
        linear-gradient(115deg, rgba(255, 146, 120, 0.08), transparent 32%),
        radial-gradient(ellipse at 76% 44%, rgba(195, 66, 255, 0.17), transparent 38%);
}

.faq-hero {
    display: grid;
    justify-items: center;
    text-align: center;
}

.faq-eyebrow {
    margin: 0;
    color: var(--accent);
    font-family: var(--font-pixel);
    font-size: clamp(0.62rem, 0.78vw, 0.86rem);
    line-height: 1.55;
    text-shadow: 0 0 16px rgba(255, 146, 120, 0.38);
}

.faq-hero h1 {
    margin: 12px 0 0;
    color: #fff;
    font-family: var(--font-pixel);
    font-size: clamp(3rem, 5vw, 5.35rem);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: 0;
    text-shadow: 0 8px 0 rgba(0, 0, 0, 0.35), 0 0 28px rgba(255, 255, 255, 0.08);
}

.faq-hero p {
    max-width: 760px;
    margin: 24px 0 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: clamp(1.05rem, 1.22vw, 1.3rem);
    font-weight: 750;
    line-height: 1.45;
}

.faq-layout {
    margin-top: clamp(42px, 4.8vw, 70px);
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(330px, 0.38fr);
    gap: clamp(24px, 3vw, 46px);
    align-items: start;
}

.faq-list {
    display: grid;
    gap: 16px;
}

.faq-list details,
.faq-card {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 22px;
    background:
        radial-gradient(circle at 18% 0, rgba(255, 146, 120, 0.1), transparent 16rem),
        linear-gradient(180deg, rgba(24, 13, 46, 0.96), rgba(16, 9, 31, 0.98));
    box-shadow: inset 0 0 0 1px rgba(255, 146, 120, 0.04), 0 20px 54px rgba(0, 0, 0, 0.26);
}

.faq-list details {
    min-width: 0;
    overflow: hidden;
}

.faq-list summary {
    min-width: 0;
    min-height: 78px;
    padding: 22px 26px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 16px;
    align-items: center;
    color: #fff;
    font-family: var(--font-pixel);
    font-size: clamp(0.82rem, 1vw, 1.08rem);
    line-height: 1.55;
    cursor: pointer;
    list-style: none;
}

.faq-list summary::-webkit-details-marker {
    display: none;
}

.faq-list summary span {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 2px solid rgba(255, 146, 120, 0.38);
    border-radius: 2px;
    background: linear-gradient(180deg, rgba(96, 45, 50, 0.72), rgba(42, 20, 35, 0.92));
    color: var(--accent);
    font-size: 0.62rem;
    box-shadow: inset 3px 3px 0 rgba(255, 196, 174, 0.12), inset -3px -3px 0 rgba(0, 0, 0, 0.28), 0 4px 0 rgba(10, 5, 14, 0.62);
}

.faq-list summary strong {
    display: block;
    min-width: 0;
    max-width: 100%;
    color: inherit;
    font: inherit;
    white-space: normal;
    overflow-wrap: anywhere;
}

.faq-list details[open] summary {
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.faq-list p {
    margin: 0;
    max-width: 100%;
    padding: 22px 28px 26px 86px;
    color: rgba(255, 255, 255, 0.76);
    font-size: 1.04rem;
    font-weight: 700;
    line-height: 1.5;
}

.faq-list strong {
    color: #fff;
    overflow-wrap: anywhere;
}

.faq-side {
    position: sticky;
    top: 128px;
    display: grid;
    gap: 18px;
}

.faq-card {
    padding: 26px;
}

.faq-card h2 {
    margin: 10px 0 14px;
    color: #fff;
    font-family: var(--font-pixel);
    font-size: clamp(1rem, 1.25vw, 1.38rem);
    font-weight: 400;
    line-height: 1.45;
}

.faq-card--ip h2 {
    font-size: clamp(0.86rem, 1.05vw, 1.16rem);
    overflow-wrap: anywhere;
}

.faq-card p {
    margin: 0;
    color: rgba(255, 255, 255, 0.74);
    font-weight: 700;
    line-height: 1.45;
}

.faq-card button,
.faq-card a {
    position: relative;
    min-height: 48px;
    margin-top: 22px;
    padding: 0 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #a96a61;
    border-radius: 2px;
    background: linear-gradient(180deg, #8f514f 0%, #6e3943 52%, #4a2534 100%);
    color: #fff6f0;
    font-weight: 900;
    line-height: 1;
    text-shadow: 0 2px 0 rgba(0, 0, 0, 0.48);
    box-shadow: inset 4px 4px 0 rgba(255, 194, 172, 0.18), inset -4px -4px 0 rgba(20, 8, 18, 0.48), 0 7px 0 #2a1320, 0 0 26px rgba(255, 146, 120, 0.18);
}

.faq-card button::before,
.faq-card a::before {
    content: "";
    position: absolute;
    left: 8px;
    right: 8px;
    top: 6px;
    height: 3px;
    background: rgba(255, 220, 203, 0.3);
}

.faq-card button:hover,
.faq-card a:hover {
    transform: translateY(-2px);
    filter: brightness(1.08);
}

.faq-card--status ul {
    margin: 16px 0 0;
    padding: 0;
    display: grid;
    gap: 12px;
    color: rgba(255, 255, 255, 0.82);
    font-weight: 800;
    list-style: none;
}

.faq-card--status li {
    position: relative;
    padding-left: 22px;
}

.faq-card--status li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.45em;
    width: 9px;
    height: 9px;
    background: #9cff77;
    box-shadow: 0 0 12px rgba(156, 255, 119, 0.45);
}

.faq-page .site-footer {
    margin-top: -112px;
}

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

    .faq-side {
        position: static;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .faq-side {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 680px) {
    html,
    body,
    .faq-page {
        max-width: 100%;
        overflow-x: hidden;
    }

    .faq-shell {
        width: auto;
        margin: 0 16px;
        padding: 44px 0 136px;
    }

    .faq-hero h1 {
        font-size: clamp(2.2rem, 13vw, 3.3rem);
    }

    .faq-hero p {
        width: min(100%, 304px);
        font-size: 0.94rem;
    }

    .faq-list summary {
        padding: 18px;
        gap: 12px;
        font-size: 0.64rem;
        grid-template-columns: 36px minmax(0, 1fr);
        overflow-wrap: anywhere;
    }

    .faq-list summary span {
        width: 36px;
        height: 36px;
    }

    .faq-list p {
        padding: 18px;
        font-size: 0.84rem;
        overflow-wrap: break-word;
    }

    .faq-card {
        border-radius: 20px;
    }
}
