* {
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    margin: 0;
    padding: 48px 20px;
    background: linear-gradient(135deg, #f3f8f5, #f5f7fa);
    color: #26332c;
    font-family: "Segoe UI", sans-serif;
}

.faq-page {
    width: min(760px, 100%);
    margin: 0 auto;
    padding: 40px;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.faq-header {
    margin-bottom: 28px;
}

.back-link {
    color: #26734d;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.back-link:hover,
.back-link:focus-visible {
    color: #1e5b3d;
    text-decoration: underline;
}

.eyebrow {
    margin: 32px 0 8px;
    color: #26734d;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

h1 {
    margin: 0;
    color: #1e5b3d;
    font-size: clamp(28px, 5vw, 36px);
}

.intro {
    margin: 12px 0 0;
    color: #59665f;
    line-height: 1.6;
}

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

.faq-list details {
    overflow: hidden;
    border: 1px solid #e3ebe5;
    border-radius: 10px;
    background: #fff;
}

.faq-list summary {
    position: relative;
    padding: 18px 48px 18px 18px;
    color: #244b35;
    cursor: pointer;
    font-weight: 650;
    line-height: 1.5;
    list-style: none;
}

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

.faq-list summary::after {
    position: absolute;
    top: 50%;
    right: 18px;
    color: #26734d;
    content: "+";
    font-size: 22px;
    transform: translateY(-50%);
}

.faq-list details[open] summary::after {
    content: "\2212";
}

.faq-list details[open] summary {
    border-bottom: 1px solid #e3ebe5;
}

.faq-list details p {
    margin: 0;
    padding: 16px 18px 18px;
    color: #59665f;
    line-height: 1.7;
}

.faq-footer {
    margin-top: 28px;
    text-align: center;
}

.login-button {
    display: inline-block;
    padding: 12px 22px;
    border-radius: 9px;
    background: #26734d;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.login-button:hover,
.login-button:focus-visible {
    background: #1e5b3d;
}

a:focus-visible,
summary:focus-visible {
    outline: 3px solid #d6b86a;
    outline-offset: 3px;
}

@media (max-width: 520px) {
    body {
        padding: 20px 12px;
    }

    .faq-page {
        padding: 26px 20px;
        border-radius: 14px;
    }

    .eyebrow {
        margin-top: 26px;
    }
}
