*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', sans-serif;
    color: #001325;
    background: #fff;
    -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }
ul { list-style: none; }

.nav {
    display: none;
}
.nav__logo-container { display: flex; align-items: center; }
.nav__logo { height: 40px; }
.nav__login {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 600;
    color: #E80071;
    border: 1px solid rgba(0, 19, 37, 0.16);
    border-radius: 999px;
    padding: 8px 20px;
    line-height: 24px;
}
.nav__login img { width: 20px; height: 20px; }

.faq-page__header {
    position: sticky;
    top: 0;
    z-index: 2;
    background: #fff;
    border-bottom: 1px solid rgba(0,19,37,0.16);
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
}
.faq-page__back {
    width: 24px;
    height: 24px;
    padding: 0;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.faq-page__title {
    font-size: 16px;
    font-weight: 600;
    color: rgba(0,19,37,0.92);
    line-height: 24px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.faq-page__list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.faq-page__item {
    border-bottom: 1px solid rgba(0,19,37,0.08);
    margin: 0 20px;
}
.faq-page__item-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 0;
    font-size: 16px;
    font-weight: 500;
    color: rgba(0,19,37,0.92);
    text-align: left;
    line-height: 24px;
    letter-spacing: -0.1px;
    background: transparent;
    cursor: pointer;
}
.faq-page__item-chevron {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}
.faq-page__item-chevron svg {
    fill: none;
    stroke: rgba(0,19,37,0.72);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.faq-page__item.active .faq-page__item-chevron {
    transform: rotate(180deg);
}
.faq-page__item-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    font-size: 14px;
    line-height: 1.6;
    color: rgba(0,19,37,0.72);
}
.faq-page__item-answer-inner {
    padding-bottom: 16px;
}
.faq-page__item-answer-inner p {
    margin-bottom: 8px;
}
.faq-page__item-answer-inner p:last-child {
    margin-bottom: 0;
}
.faq-page__item-answer-inner ul {
    list-style: disc;
    padding-left: 20px;
    margin: 8px 0;
}
.faq-page__item-answer-inner ul li {
    margin-bottom: 4px;
}
.faq-page__item.active .faq-page__item-answer {
    max-height: 500px;
}

/* Desktop FAQ layout */
@media (min-width: 768px) {
    body {
        background: #f5f6f8;
        max-width: 1600px;
        margin: 0 auto;
    }
    .nav {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 16px 64px;
        background: #fff;
        box-shadow: 0 1px 0 0 #d3d9dd;
    }
    .faq-page__header {
        position: sticky;
        top: 0;
        max-width: 720px;
        margin: 48px auto 0;
        border: 1px solid rgba(0,19,37,0.16);
        border-radius: 12px 12px 0 0;
        background: #fff;
    }
    .faq-page__list {
        max-width: 720px;
        margin: 0 auto;
        border-left: 1px solid rgba(0,19,37,0.16);
        border-right: 1px solid rgba(0,19,37,0.16);
        border-bottom: 1px solid rgba(0,19,37,0.16);
        border-radius: 0 0 12px 12px;
        background: #fff;
    }
    .faq-page__item:last-child {
        border-bottom: none;
    }
}
