.o4-support {
    --support-text: #20252b;
    --support-muted: #48525e;
    --support-link: #973d00;
    --support-line: #e1e5e9;
    width: min(1120px, calc(100% - 32px));
    margin: 24px auto 48px;
    color: var(--support-text);
    font-size: 15px;
    line-height: 1.55;
}

.o4-support-hero {
    padding: clamp(22px, 4vw, 48px);
    border: 1px solid #ffd8bd;
    border-radius: 16px;
    background: linear-gradient(115deg, #fff5ed, #ffdfc7);
}

.o4-support h1,
.o4-support h2 {
    color: var(--support-text);
    line-height: 1.2;
}

.o4-support h1 {
    margin: 0 0 8px;
    font-size: clamp(29px, 5vw, 48px);
}

.o4-support h2 {
    margin: 0 0 14px;
    font-size: clamp(20px, 3vw, 24px);
}

.o4-support p {
    margin: 0;
    color: var(--support-muted);
    font-size: 15px;
}

.o4-support-topics,
.o4-support-grid {
    display: grid;
    gap: 12px;
    margin-top: 16px;
}

.o4-support-topics {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.o4-support-topics a,
.o4-support-faq,
.o4-support-contact {
    padding: 16px;
    border: 1px solid var(--support-line);
    border-radius: 14px;
    background: #fff;
}

.o4-support-topics a {
    display: grid;
    align-content: start;
    gap: 4px;
    color: var(--support-text);
    text-decoration: none;
}

.o4-support-topics a:hover,
.o4-support-topics a:active {
    border-color: #d78d5c;
    background: #fff9f4;
}

.o4-support-topics i {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    margin-bottom: 4px;
    border-radius: 9px;
    background: #fff1e6;
    color: var(--support-link);
}

.o4-support-topics span {
    color: var(--support-muted);
    font-size: 13px;
}

.o4-support-grid {
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    align-items: start;
}

.o4-support-contact {
    background: #f7f8f9;
}

.o4-support-faq details {
    border-top: 1px solid var(--support-line);
}

.o4-support-faq summary {
    position: relative;
    min-height: 44px;
    padding: 10px 24px 10px 0;
    cursor: pointer;
    font-weight: 700;
    list-style: none;
}

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

.o4-support-faq summary::after {
    content: "";
    position: absolute;
    top: 17px;
    right: 4px;
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--support-link);
    border-bottom: 2px solid var(--support-link);
    transform: rotate(45deg);
}

.o4-support-faq details[open] summary::after {
    top: 21px;
    transform: rotate(225deg);
}

.o4-support-faq details p {
    padding: 0 0 14px 16px;
}

.o4-support-faq p a,
.o4-support-contact li a {
    color: var(--support-link);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.o4-support-contact ul {
    display: grid;
    gap: 3px;
    margin: 12px 0 0;
    padding: 0;
    list-style: none;
}

.o4-support-contact li a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    overflow-wrap: anywhere;
}

.o4-support .o4-support-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    margin-top: 14px;
    padding: 8px 14px;
    border-radius: 8px;
    background: var(--support-link);
    color: #fff;
    font-weight: 700;
    text-align: center;
}

.o4-support .o4-support-button:hover,
.o4-support .o4-support-button:active {
    background: #783100;
    color: #fff;
}

.o4-support :is(a, summary):focus-visible {
    outline: 2px solid var(--support-link);
    outline-offset: 3px;
}

@media (max-width: 760px) {
    .o4-support { margin: 16px auto 32px; }
    .o4-support-topics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .o4-support-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 380px) {
    .o4-support-topics a { padding: 12px; }
}
