/* =========================================================
   Intro Section — a centred heading with a lead paragraph.
   Reusable wherever a block of sections needs an opener.
   ========================================================= */

.intro-section {
    background-color: var(--color-ink-50);
}

.intro-section .intro-section-wrapper {
    gap: 14px;
    padding-block: var(--section-padding);
    text-align: center;
}

.intro-section .intro-section-wrapper .intro-section-text {
    max-width: 1050px;
}

.intro-section .intro-section-wrapper .intro-section-text p {
    font-size: var(--font-size-body-md);
    line-height: var(--line-height-prose-lg);
    color: var(--color-slate-700);
}

.intro-section .intro-section-wrapper .intro-section-text p:not(:last-child) {
    margin-bottom: 14px;
}

/* ---------- Surface variants ----------
   These come last on purpose. Each one matches the base rule above on
   specificity, so source order is what decides — put them earlier and
   the base colour wins and the dark band renders slate-on-teal. */

/* the closing restatement sits on white rather than the tint */
.intro-section-white {
    background-color: var(--color-white);
}

/* the same opener on the deep teal band. Used to introduce a subject
   rather than a block of sections: "What Is Database Source Control?",
   "Manual database access controls do not scale." */
.intro-section-dark {
    background-color: var(--color-heading);
}

.intro-section-dark .intro-section-wrapper h2 {
    color: var(--color-white);
}

.intro-section-dark .intro-section-wrapper .intro-section-text p {
    color: var(--color-teal-100);
}

.intro-section-dark .intro-section-wrapper .intro-section-text h3,
.intro-section-dark .intro-section-wrapper .intro-section-text .h3 {
    color: var(--color-white);
    margin: 14px 0 12px 0;
}

.intro-section .intro-section-wrapper .intro-section-text ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: var(--space-md);
}

.intro-section .intro-section-wrapper .intro-section-text ul li {
    color: var(--color-slate-700);
    display: flex;
    gap: 9px;
    font-size: var(--font-size-body-md);
    line-height: 1.55;
}

.intro-section .intro-section-wrapper .intro-section-text ul li::before {
    content: "";
    flex-shrink: 0;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--color-signal-500);
	margin-top:9px;
}

.intro-section-dark .intro-section-wrapper .intro-section-text ul li {
    color: var(--color-teal-100);
}

.intro-section-btn {
    margin-top: 4px;
}

.page-database-devops-value-journey .intro-section .intro-section-wrapper {
    align-items: flex-start;
    text-align: left;
    max-width: 811px;
    margin: 0 auto;
}

.page-success-stories .intro-section .intro-section-wrapper {
    background-color: var(--color-signal-50);
    border-radius: var(--radius-lg);
    padding: var(--space-xl) var(--space-md);
    border: 1px solid var(--color-border);
}

.page-success-stories .intro-section .intro-section-wrapper .intro-section-btn {
    margin-top: 22px;
}

.page-success-stories .intro-section.wrapper-newsletter .intro-section-wrapper {
    max-width: 700px;
    margin-inline: auto;
    padding: 22px;
    gap: 8px;
    background-color: #EFF7FA;
}

.page-success-stories .intro-section.wrapper-newsletter .intro-section-wrapper .h2 {
    font-size: 22px;
    font-weight: var(--font-weight-bold);
    line-height: 1.12;
    color: var(--color-teal-700);
}

.page-success-stories .intro-section.wrapper-newsletter .intro-section-wrapper p {
    font-size: var(--font-size-card-sm);
    line-height: 1.5;
}

.page-success-stories .intro-section.wrapper-newsletter .intro-section-wrapper .intro-section-inline-form {
    width: 100%;
}

.page-success-stories .intro-section.wrapper-newsletter .intro-section-wrapper form {
    margin-top: 8px;
    flex-direction: row !important;
    gap: var(--space-xs) !important;
    justify-content: center;
}

.page-success-stories .intro-section.wrapper-newsletter .intro-section-wrapper form .hs-form-field {
    max-width: 300px;
    width: 100%;
}

.page-success-stories .intro-section.wrapper-newsletter .intro-section-wrapper form .hs-form-field>label {
    display: none !important;
}

.page-success-stories .intro-section.wrapper-newsletter .intro-section-wrapper form .actions input[type="submit"] {
    margin: 0 !important;
    min-width: 124px !important;
    max-width: 124px;
    min-height: 44px !important;
    padding-inline: 6px !important;
}

@media (max-width:767px) {
    .intro-section .intro-section-wrapper {
        text-align: left;
        align-items: flex-start;
    }

    .page-success-stories .intro-section .intro-section-wrapper .intro-section-btn {
        margin-top: 10px;
    }

    .page-success-stories .intro-section.wrapper-newsletter .intro-section-wrapper form {
        flex-direction: column !important;
    }

    .page-success-stories .intro-section.wrapper-newsletter .intro-section-wrapper form .hs-form-field,
    .page-success-stories .intro-section.wrapper-newsletter .intro-section-wrapper form .actions input[type="submit"] {
        max-width: 100%;
    }
}