.helpPage,
.helpPage * {
    box-sizing: border-box;
}

.helpPage {
    --help-blue: #2563eb;
    --help-blue-dark: #1d4ed8;
    --help-text: #172033;
    --help-muted: #64748b;
    --help-border: #e2e8f0;
    color: var(--help-text);
    background: #f8fafc;
    font-family: "Plus Jakarta Sans", "Inter", Arial, sans-serif;
    line-height: 1.7;
}

.helpContainer {
    width: min(1080px, calc(100% - 40px));
    margin: 0 auto;
}

.helpHero {
    padding: clamp(48px, 8vw, 92px) 0;
    background: #eff6ff;
    border-bottom: 1px solid #dbeafe;
}

.helpHeroLayout {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.8fr);
    align-items: center;
    gap: clamp(36px, 7vw, 88px);
}

.helpHeroCopy {
    max-width: 650px;
}

.helpEyebrow,
.helpQuickStartLabel {
    display: inline-flex;
    align-items: center;
    color: var(--help-blue);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.helpEyebrow {
    margin-bottom: 12px;
}

.helpHero h1 {
    max-width: 620px;
    margin: 0;
    font-size: clamp(2.25rem, 5.2vw, 3.65rem);
    font-weight: 800;
    letter-spacing: -0.055em;
    line-height: 1.08;
    text-wrap: balance;
}

.helpHeroCopy > p {
    max-width: 580px;
    margin: 20px 0 25px;
    color: #526176;
    font-size: clamp(1rem, 1.8vw, 1.12rem);
    line-height: 1.75;
}

.helpPrimaryLink,
.helpBottomCallout > a {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 18px;
    color: #ffffff;
    background: var(--help-blue);
    border-radius: 10px;
    font-size: 0.92rem;
    font-weight: 700;
    text-decoration: none;
    transition: background-color 160ms ease, transform 160ms ease;
}

.helpPrimaryLink:hover,
.helpBottomCallout > a:hover {
    color: #ffffff;
    background: var(--help-blue-dark);
    transform: translateY(-1px);
}

.helpPrimaryLink:focus-visible,
.helpBottomCallout > a:focus-visible,
.helpContents a:focus-visible,
.helpFaq summary:focus-visible {
    outline: 3px solid rgba(37, 99, 235, 0.32);
    outline-offset: 3px;
}

.helpQuickStart {
    padding: 25px;
    background: #ffffff;
    border: 1px solid #dbeafe;
    border-radius: 20px;
    box-shadow: 0 14px 36px rgba(30, 64, 175, 0.08);
}

.helpQuickStartLabel {
    margin-bottom: 17px;
    color: #64748b;
    letter-spacing: 0.07em;
}

.helpQuickStart ol {
    display: grid;
    gap: 18px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.helpQuickStart li {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    align-items: start;
    gap: 12px;
}

.helpQuickStart li > span {
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    color: var(--help-blue);
    background: #eff6ff;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 800;
}

.helpQuickStart li strong,
.helpQuickStart li small {
    display: block;
}

.helpQuickStart li strong {
    margin: 1px 0 2px;
    font-size: 0.94rem;
}

.helpQuickStart li small {
    color: var(--help-muted);
    font-size: 0.82rem;
    line-height: 1.5;
}

.helpBody {
    padding-top: 38px;
    padding-bottom: 76px;
}

.helpContents {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 48px;
    padding: 16px 18px;
    background: #ffffff;
    border: 1px solid var(--help-border);
    border-radius: 14px;
}

.helpContents strong {
    margin-right: 4px;
    color: var(--help-text);
    font-size: 0.83rem;
}

.helpContents a {
    padding: 6px 10px;
    color: #475569;
    background: #f8fafc;
    border: 1px solid #edf1f6;
    border-radius: 999px;
    font-size: 0.79rem;
    font-weight: 600;
    text-decoration: none;
}

.helpContents a:hover {
    color: var(--help-blue-dark);
    background: #eff6ff;
    border-color: #bfdbfe;
}

.helpSection {
    margin: 0 auto 54px;
    scroll-margin-top: 28px;
}

.helpSectionHeading {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    align-items: start;
    gap: 14px;
    margin-bottom: 19px;
}

.helpSectionHeading > span {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    color: var(--help-blue);
    background: #dbeafe;
    border-radius: 12px;
    font-size: 0.77rem;
    font-weight: 800;
}

.helpSectionHeading h2 {
    margin: 0;
    font-size: clamp(1.32rem, 2.4vw, 1.7rem);
    letter-spacing: -0.035em;
    line-height: 1.3;
}

.helpSectionHeading p {
    margin: 5px 0 0;
    color: var(--help-muted);
    font-size: 0.91rem;
}

.helpFaq {
    margin: 10px 0;
    overflow: clip;
    background: #ffffff;
    border: 1px solid var(--help-border);
    border-radius: 13px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.025);
    transition: border-color 160ms ease, box-shadow 160ms ease;
}

.helpFaq[open] {
    border-color: #bfdbfe;
    box-shadow: 0 8px 22px rgba(30, 64, 175, 0.06);
}

.helpFaq summary {
    position: relative;
    display: flex;
    min-height: 62px;
    align-items: center;
    padding: 16px 58px 16px 20px;
    color: var(--help-text);
    cursor: pointer;
    font-size: 0.98rem;
    font-weight: 700;
    line-height: 1.45;
    list-style: none;
}

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

.helpFaq summary::after {
    position: absolute;
    top: 50%;
    right: 19px;
    display: grid;
    width: 27px;
    height: 27px;
    place-items: center;
    color: var(--help-blue);
    background: #eff6ff;
    border-radius: 50%;
    content: "+";
    font-size: 1.2rem;
    font-weight: 500;
    transform: translateY(-50%);
}

.helpFaq[open] summary::after {
    content: "−";
}

.helpAnswer {
    padding: 0 20px 19px;
    color: #526176;
    font-size: 0.9rem;
    line-height: 1.75;
}

.helpAnswer p {
    margin: 0 0 11px;
}

.helpAnswer p:last-child {
    margin-bottom: 0;
}

.helpAnswer strong {
    color: #334155;
    font-weight: 700;
}

.helpBottomCallout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    margin-top: 18px;
    padding: 25px 28px;
    background: #eaf2ff;
    border: 1px solid #cfe0ff;
    border-radius: 16px;
}

.helpBottomCallout strong {
    font-size: 1.08rem;
}

.helpBottomCallout p {
    margin: 4px 0 0;
    color: var(--help-muted);
    font-size: 0.88rem;
}

.helpBottomCallout > a {
    flex: 0 0 auto;
}

@media (max-width: 760px) {
    .helpHeroLayout {
        grid-template-columns: minmax(0, 1fr);
        gap: 30px;
    }

    .helpQuickStart {
        max-width: 560px;
    }

    .helpContents {
        margin-bottom: 38px;
    }
}

@media (max-width: 520px) {
    .helpContainer {
        width: min(100% - 32px, 1080px);
    }

    .helpHero {
        padding: 43px 0 38px;
    }

    .helpHeroCopy > p {
        margin: 15px 0 20px;
    }

    .helpQuickStart {
        padding: 20px;
    }

    .helpBody {
        padding-top: 24px;
        padding-bottom: 50px;
    }

    .helpContents {
        gap: 8px;
        margin-bottom: 34px;
        padding: 14px;
    }

    .helpContents strong {
        width: 100%;
    }

    .helpSection {
        margin-bottom: 40px;
    }

    .helpFaq summary {
        min-height: 58px;
        padding: 14px 50px 14px 15px;
        font-size: 0.91rem;
    }

    .helpFaq summary::after {
        right: 13px;
    }

    .helpAnswer {
        padding: 0 15px 16px;
        font-size: 0.86rem;
    }

    .helpBottomCallout {
        align-items: flex-start;
        flex-direction: column;
        padding: 21px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .helpPrimaryLink,
    .helpBottomCallout > a,
    .helpFaq {
        transition: none;
    }
}
