/* Help Center Task page. */

.hc-task {
    padding-block: var(--spacing-5xl) var(--spacing-11xl);
}

.hc-task__header {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
    margin-block-end: var(--spacing-5xl);
}

.hc-task__title {
    margin: 0;
    font-size: var(--font-size-7xl);
    font-weight: var(--font-weight-bold);
    line-height: var(--line-height-7xl);
    color: var(--color-text-primary);
}

.hc-task__summary {
    margin: 0;
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-regular);
    line-height: var(--line-height-lg);
    color: var(--color-text-default);
    white-space: pre-line;
}

.hc-task__video {
    margin-block-end: var(--spacing-5xl);
}

.hc-task__section {
    margin-block-end: var(--spacing-5xl);
}

.hc-task__section-title {
    margin: 0 0 var(--spacing-lg);
    font-size: var(--font-size-3xl);
    font-weight: var(--font-weight-bold);
    line-height: var(--line-height-3xl);
    color: var(--color-text-default);
}

.hc-task__step {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
    margin-block-end: var(--spacing-5xl);
}

    .hc-task__step:last-child {
        margin-block-end: 0;
    }

/* Figma Semi Bold/2xl: 20px / 600 / 32px, text/default */
.hc-task__step-title {
    margin: 0;
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-semibold);
    line-height: var(--line-height-2xl);
    letter-spacing: 0;
    color: var(--color-text-default);
    overflow-wrap: anywhere;
}

.hc-task__body {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl);
}

/* Task body copy is 16px in design; global .hc-richtext stays 14px elsewhere. */
.hc-task .hc-richtext {
    font-size: var(--font-size-lg);
    line-height: var(--line-height-lg);
}

.hc-task__main > .hc-article-nav {
    margin-block-start: var(--spacing-7xl);
}

@media (max-width: 768px) {
    .hc-task {
        padding-block: var(--spacing-xl) var(--spacing-5xl);
    }

    .hc-task__title {
        font-size: var(--font-size-6xl);
        line-height: var(--line-height-6xl);
    }
}
