.pwg-features {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: clamp(48px, 8vw, 96px) 0;
    background: var(--e-global-color-background);
    color: var(--e-global-color-afc46e9);
}

.pwg-features__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(20px, 6vw, 96px);
    box-sizing: border-box;
}

.pwg-features__title {
    margin: 0 0 clamp(32px, 5vw, 56px);
    font-family: var(--e-global-typography-accent-font-family);
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.01em;
    text-transform: uppercase;
}

.pwg-features__list {
    list-style: none;
    margin: 0;
    padding: 0;
    border-top: 1px solid var(--e-global-color-border);
}

.pwg-features__item {
    border-bottom: 1px solid var(--e-global-color-border);
}

.pwg-features__details > summary {
    list-style: none;
    cursor: pointer;
    outline: none;
}

.pwg-features__details > summary::-webkit-details-marker {
    display: none;
}

.pwg-features__details > summary::marker {
    display: none;
}

.pwg-features__summary {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: clamp(20px, 4vw, 48px);
    padding: clamp(22px, 3.5vw, 36px) 0;
    user-select: none;
    transition: color 0.2s ease;
}

.pwg-features__details > summary:focus-visible .pwg-features__name {
    color: var(--e-global-color-primary);
}

.pwg-features__summary:hover .pwg-features__name {
    color: var(--e-global-color-primary);
}

.pwg-features__index {
    font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
    font-size: clamp(0.8rem, 1.1vw, 0.95rem);
    font-weight: 500;
    letter-spacing: 0.08em;
    color: var(--e-global-color-text_light);
    min-width: 3ch;
}

.pwg-features__label {
    display: inline-flex;
    align-items: center;
    gap: clamp(12px, 1.5vw, 18px);
    min-width: 0;
}

.pwg-features__icon {
    width: clamp(28px, 3vw, 36px);
    height: clamp(28px, 3vw, 36px);
    object-fit: contain;
    flex-shrink: 0;
}

.pwg-features__name {
    margin: 0;
    font-family: var(--e-global-typography-accent-font-family);
    font-size: clamp(1.4rem, 2.6vw, 2.25rem);
    font-weight: 700;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: 0.01em;
    color: inherit;
    transition: color 0.2s ease;
}

.pwg-features__toggle {
    position: relative;
    width: clamp(22px, 2vw, 28px);
    height: clamp(22px, 2vw, 28px);
    flex-shrink: 0;
}

.pwg-features__toggle::before,
.pwg-features__toggle::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1.5px;
    background: currentColor;
    transform-origin: center;
}

.pwg-features__toggle::before {
    transform: translateY(-50%);
}

.pwg-features__toggle::after {
    transform: translateY(-50%) rotate(90deg);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.pwg-features__details[open] .pwg-features__toggle::after {
    transform: translateY(-50%) rotate(0deg);
}

.pwg-features__body {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(20px, 3vw, 40px);
    padding: 0 0 clamp(36px, 5vw, 60px);
    padding-left: clamp(0px, 7vw, 88px);
}

@media (min-width: 900px) {
    .pwg-features__body {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
        align-items: start;
    }
}

.pwg-features__description {
    font-size: clamp(0.95rem, 1.15vw, 1.0625rem);
    line-height: 1.65;
    color: var(--e-global-color-text);
}

.pwg-features__description p {
    margin: 0 0 1em;
}

.pwg-features__description p:last-child {
    margin-bottom: 0;
}

.pwg-features__media {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: 6px;
    overflow: hidden;
}

.pwg-features__video,
.pwg-features__media iframe,
.pwg-features__media embed,
.pwg-features__media object {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.pwg-features__video {
    object-fit: cover;
}

@media (prefers-reduced-motion: no-preference) {
    .pwg-features__details[open] .pwg-features__body > * {
        animation: pwg-features-reveal 0.4s ease both;
    }

    .pwg-features__details[open] .pwg-features__body > * + * {
        animation-delay: 0.06s;
    }
}

@keyframes pwg-features-reveal {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 600px) {
    .pwg-features__summary {
        gap: 14px;
    }

    .pwg-features__name {
        font-size: 1.25rem;
    }

    .pwg-features__icon {
        width: 24px;
        height: 24px;
    }

    .pwg-features__body {
        padding-left: 0;
    }
}
