/* The Onboarding FAQ is the shared reference for every landing page.
   Layout, cards, typography and motion belong here, never in page styles. */
.dx-faq {
    font-family: 'Outfit', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
}
.dx-faq, .dx-faq * { box-sizing: border-box; }
.dx-faq-container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}
.dx-faq {
    background: transparent;
    color: #0f172a;
    padding: 100px 0 120px;
    position: relative;
    border-top: 1px solid rgba(16, 185, 129, 0.15);
}

.dx-faq-badge-center {
    text-align: center;
    margin-bottom: 40px;
}


.dx-faq-grid {
    display: grid;
    grid-template-columns: 380px minmax(0, 1fr);
    gap: 56px;
    align-items: flex-start;
}

.dx-faq-intro {
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 110px;
    align-self: flex-start;
    text-align: left;
}

.dx-faq-title {
    font-family: 'Outfit', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1.15;
    color: #0f172a;
    letter-spacing: -1px;
    margin-bottom: 14px;
}

.dx-faq-title .dx-faq-title-serif {
    display: block;
    font-family: 'Instrument Serif', Georgia, serif;
    font-style: italic;
    font-weight: 400;
    font-size: 3.2rem;
    margin-top: 4px;
    background: linear-gradient(135deg, #0b2b20 0%, #10b981 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.dx-faq-description {
    font-family: 'Outfit', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 1rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 28px;
    max-width: 360px;
}

.dx-faq-support {
    background: #ffffff;
    border: 1px solid rgba(15, 57, 43, 0.1);
    border-radius: 16px;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 4px 16px rgba(15, 57, 43, 0.04);
}

.dx-faq-support-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: #e6f7f0;
    color: #0b2b20;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.dx-faq-support-text p {
    font-size: 0.82rem;
    color: #64748b;
    margin-bottom: 2px;
}

.dx-faq-login {
    font-size: 0.9rem;
    font-weight: 700;
    color: #0b2b20;
    text-decoration: none;
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
    font-family: inherit;
    cursor: pointer;
    text-align: left;
    transition: color 0.2s;
}

@media (hover: hover) and (pointer: fine) {
    .dx-faq-login:hover {
        color: #10b981;
    }
}

/* Accordion List */
.dx-faq-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
    text-align: left;
}

.dx-faq-item {
    background: #ffffff;
    border: 1px solid rgba(15, 57, 43, 0.1);
    border-radius: 16px;
    padding: 20px 24px;
    box-shadow: 0 2px 8px rgba(15, 57, 43, 0.03);
    cursor: pointer;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.dx-faq-item.active {
    border-color: rgba(16, 185, 129, 0.45);
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.09);
    background: linear-gradient(180deg, #f8fdfa 0%, #ffffff 100%);
}

.dx-faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    font-family: 'Outfit', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
    user-select: none;
    line-height: 1.35;
    background: transparent;
    border: none;
    padding: 0;
    width: 100%;
    text-align: left;
    cursor: pointer;
    transition: color 0.2s ease;
}

.dx-faq-item.active .dx-faq-question {
    color: #0b2b20;
}

.dx-faq-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #e6f7f0;
    color: #0b2b20;
    border: 1px solid rgba(16, 185, 129, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1;
    flex-shrink: 0;
    transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.dx-faq-item.active .dx-faq-icon {
    background: #0b2b20;
    color: #ffffff;
    border-color: #0b2b20;
}

.dx-faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.38s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 0;
}

.dx-faq-item.active .dx-faq-answer {
    grid-template-rows: 1fr;
}

.dx-faq-answer-inner {
    min-height: 0;
    overflow: hidden;
}

.dx-faq-answer-content p {
    font-family: 'Outfit', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 0.92rem;
    color: #475569;
    line-height: 1.68;
    margin: 0;
}

/* An answer that lists steps: each number sits in its own column so every
   point, and every wrapped line of it, starts at the same left edge. */
.dx-faq-steps {
    list-style: none;
    margin: 10px 0 0;
    padding: 0;
    display: grid;
    gap: 10px;
    font-family: 'Outfit', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 0.92rem;
    color: #475569;
    line-height: 1.68;
}

.dx-faq-steps li {
    display: grid;
    grid-template-columns: 1.6em minmax(0, 1fr);
    align-items: baseline;
}


.dx-faq-grid > *, .dx-faq-list, .dx-faq-item, .dx-faq-question-text {
    min-width: 0;
}
.dx-faq-question-text, .dx-faq-answer-content, .dx-faq-description, .dx-faq-support-text {
    overflow-wrap: anywhere;
}
.dx-faq-question { margin: 0; }
.dx-faq-question:active { scale: 1; }
.dx-faq-title { margin-top: 0; }
.dx-faq-answer-content {
    font-family: 'Outfit', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 0.92rem;
    font-weight: 400;
    color: #475569;
    line-height: 1.68;
}
.dx-faq-answer-content > :first-child {
    padding-top: 14px;
    margin-top: 14px;
    border-top: 1px solid rgba(15, 57, 43, 0.08);
}
.dx-faq-answer-content p + p { margin-top: 14px; }
.dx-faq-answer-content a { color: #059669; font-weight: 600; }
.dx-faq-answer-content .dx-faq-inline-link {
    color: #047857;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s ease;
}
.dx-faq-actions {
    margin-top: 16px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}
.dx-faq-answer-content .dx-faq-login-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #0b2b20;
    color: #ffffff;
    padding: 10px 22px;
    border-radius: 9999px;
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(11, 43, 32, 0.2);
    transition: background-color 0.2s ease, border-color 0.2s ease;
    border: none;
    font-family: inherit;
    cursor: pointer;
}
.dx-faq-bullets { margin: 12px 0 0; padding-left: 20px; }
.dx-faq-bullets li { padding-left: 4px; margin-bottom: 4px; }
.dx-faq-icon {
    transform-origin: 50% 50%;
    transform: rotate(0deg);
    scale: none;
    animation: none;
    transition: background-color 200ms cubic-bezier(0.23, 1, 0.32, 1),
        color 200ms cubic-bezier(0.23, 1, 0.32, 1),
        border-color 200ms cubic-bezier(0.23, 1, 0.32, 1),
        transform 280ms cubic-bezier(0.23, 1, 0.32, 1);
}
.dx-faq-item.active .dx-faq-icon { transform: rotate(180deg); }
.dx-faq-badge-center {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 24px;
    width: 100%;
}
.dx-faq-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #ffffff;
    border: 1.5px solid rgba(15, 57, 43, 0.14);
    border-radius: 9999px;
    padding: 7px 20px;
    font-family: 'Outfit', 'Plus Jakarta Sans', system-ui, sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #0b2b20;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    line-height: 1.2;
    text-transform: none;
}
.dx-faq-badge svg { color: #047857; stroke: #047857; width: 14px; height: 14px; flex-shrink: 0; }
@media (hover: hover) and (pointer: fine) {
    .dx-faq-item:not(.active) .dx-faq-question:hover .dx-faq-icon {
        border-color: rgba(16, 185, 129, 0.5);
        color: #047857;
    }
    .dx-faq-inline-link:hover { color: #0b2b20; }
    .dx-faq-answer-content .dx-faq-login-button:hover { background: #123d2f; color: #ffffff; }
}
@media (max-width: 1080px) {
    .dx-faq-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
    .dx-faq-intro { position: static !important; }
}
@media (prefers-reduced-motion: reduce) {
    .dx-faq-answer { transition: none; }
    .dx-faq-icon { transition: background-color 200ms ease, color 200ms ease, border-color 200ms ease; }
    .dx-faq-item.active .dx-faq-icon { transform: none; }
}
