:root {
    --primary-blue: #2f6fd6;
    --headline-dark: #1f2933;
    --body-gray: #5f6c7b;
    --light-bg: #f8fafc;
    --card-border: #e5eaf0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: #ffffff;
    color: var(--headline-dark);
    line-height: 1.65;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 80px 20px;
}

h1 {
    font-size: 48px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    color: var(--headline-dark);
}

h1 span {
    color: var(--primary-blue);
}

.intro {
    text-align: center;
    font-size: 18px;
    color: var(--body-gray);
    max-width: 720px;
    margin: 0 auto 60px auto;
}

h2 {
    font-size: 28px;
    font-weight: 600;
    margin-top: 60px;
    margin-bottom: 20px;
    color: var(--headline-dark);
}

p {
    font-size: 16px;
    color: var(--body-gray);
    margin-bottom: 18px;
}

ul {
    margin: 20px 0;
    padding-left: 20px;
    color: var(--body-gray);
}

li {
    margin-bottom: 8px;
}

.highlight {
    font-weight: 600;
    color: var(--headline-dark);
}

.card {
    background: var(--light-bg);
    border: 1px solid var(--card-border);
    padding: 30px;
    border-radius: 12px;
    margin-top: 30px;
}

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

.faq-subtitle {
    max-width: 820px;
    margin: 0 auto 10px auto;
}

.accordion {
    margin-top: 26px;
}

.acc-item {
    border: 1px solid var(--card-border);
    border-radius: 12px;
    background: #fff;
    margin: 14px 0;
    overflow: hidden;
}

.acc-button {
    width: 100%;
    text-align: left;
    background: var(--light-bg);
    border: 0;
    padding: 16px 18px;
    cursor: pointer;
    color: var(--headline-dark);
    font-weight: 700;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.acc-button:focus {
    outline: 2px solid var(--primary-blue);
    outline-offset: 2px;
}

.acc-chevron {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    transition: transform 200ms ease;
    color: var(--headline-dark);
    opacity: 0.85;
}

.acc-item[data-open="true"] .acc-chevron {
    transform: rotate(180deg);
}

.acc-panel {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transform: translateY(-4px);
    transition: max-height 260ms ease, opacity 200ms ease, transform 200ms ease;
    will-change: max-height, opacity, transform;
    background: #fff;
}

.acc-panel-inner {
    padding: 16px 18px 18px 18px;
}

.acc-panel-inner p, .acc-panel-inner ul, .acc-panel-inner ol {
    margin: 0 0 12px 0;
}

.acc-panel-inner ul {
    padding-left: 20px;
}

.acc-panel-inner ol {
    padding-left: 18px;
}

.helpful {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid var(--card-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.helpful .label {
    color: var(--body-gray);
    font-size: 14px;
}

.vote {
    display: flex;
    align-items: center;
    gap: 10px;
}

.vote-btn {
    border: 1px solid var(--card-border);
    background: var(--light-bg);
    border-radius: 10px;
    padding: 8px 10px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--headline-dark);
    font-weight: 700;
    font-size: 13px;
    user-select: none;
    transition: transform 120ms ease, border-color 120ms ease, opacity 120ms ease;
}

.vote-btn:hover {
    border-color: #cdd6e1;
}

.vote-btn:active {
    transform: scale(0.98);
}

.vote-btn:focus {
    outline: 2px solid var(--primary-blue);
    outline-offset: 2px;
}

.vote-btn[disabled] {
    cursor: not-allowed;
    opacity: 0.6;
}

.vote-msg {
    color: var(--body-gray);
    font-size: 13px;
}

.icon {
    width: 18px;
    height: 18px;
    display: inline-block;
}

.section-title {
    margin-top: 54px;
    margin-bottom: 10px;
}

.section-note {
    margin-top: 0;
    max-width: 860px;
}

.note {
    font-size: 14px;
    color: var(--body-gray);
}

/* Keep the shared footer tagline readable on the FAQ page's dark footer bg. */
.footer-container .footer-section p.mb-3 {
    color: #fff;
}

@media (prefers-reduced-motion: reduce) {
    .acc-panel, .acc-chevron, .vote-btn {
        transition: none !important;
    }
}