/* ============================================================
   FuelerLinx public site (868meknp3): Integrations page only.
   Ported from Integrations.dc.html. Section primitives (eyebrow, h2,
   lede, split, photo, tag, pills base) come from fx-site-home.css;
   shell and buttons from fx-site.css.
   ============================================================ */

/* ---------- Hero ---------- */

.fls-int-hero {
    position: relative;
    margin-top: calc(-1 * var(--fls-nav-h));
    padding-top: var(--fls-nav-h);
    background: var(--navy-900);
    overflow-x: clip;
}

.fls-int-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(110% 100% at 80% 0%, rgba(46, 110, 190, .32) 0%, rgba(11, 16, 32, 0) 60%);
}

.fls-int-hero-copy {
    position: relative;
    max-width: 860px;
    padding: clamp(56px, 7vw, 88px) var(--fls-gutter) clamp(48px, 6vw, 72px);
}

.fls-int-title {
    margin-top: 22px;
    font-size: clamp(36px, 4.6vw, 56px);
    line-height: 1.07;
    font-weight: 800;
    letter-spacing: -.03em;
    color: #FFFFFF;
}

.fls-int-lede {
    max-width: 620px;
    margin-top: 22px;
    font-size: 19px;
    line-height: 1.6;
    color: var(--navy-100);
}

/* ---------- Section cards (#integrations) ---------- */

.fls-int-overview {
    border-bottom: 1px solid var(--fls-rule);
}

.fls-int-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
    gap: 10px;
}

.fls-int-card,
.fls-int-card:focus {
    display: block;
    padding: 29px 25px 33px;
    background: #FFFFFF;
    border: 1px solid var(--fls-rule);
    border-radius: 8px;
    color: var(--gray-900);
}

.fls-int-card:hover {
    border-color: var(--brand-500);
    color: var(--brand-500);
}

.fls-int-card h3 {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 700;
    color: inherit;
}

.fls-int-card p {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
    color: var(--gray-600);
}

.fls-int-cards-foot {
    display: flex;
    flex-wrap: wrap;
    gap: 26px;
    margin-top: 28px;
    font-size: 15px;
}

.fls-int-cards-foot a,
.fls-int-cards-foot a:hover {
    font-weight: 700;
    color: var(--brand-500);
}

/* ---------- Shared heading sizes on this page ---------- */

.fls-int-h2 {
    max-width: 660px;
    font-size: clamp(30px, 3.8vw, 42px);
    line-height: 1.12;
}

.fls-int-h2-sm {
    max-width: 540px;
}

.fls-int-lede-lg {
    max-width: 680px;
    font-size: 17px;
}

/* ---------- Vendors ---------- */

.fls-int-sources {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
    gap: 32px 40px;
    margin-bottom: 48px;
}

.fls-int-source {
    padding-top: 22px;
    border-top: 2px solid var(--brand-500);
}

.fls-int-source h3,
.fls-int-planner h3 {
    margin-bottom: 10px;
    font-size: 18px;
    font-weight: 700;
    color: var(--gray-800);
}

.fls-int-planner h3 {
    margin-bottom: 8px;
}

.fls-int-source p,
.fls-int-planner p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--gray-600);
}

.fls-int-roster {
    padding-top: 36px;
    border-top: 1px solid var(--fls-rule);
}

/* Type and colour come from .fls-eyebrow. */
.fls-int-roster-label {
    margin-bottom: 8px;
}

.fls-int-roster-lede {
    max-width: 620px;
    margin-bottom: 24px;
    font-size: 15px;
    line-height: 1.6;
    color: var(--gray-600);
}

.fls-int-roster-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(168px, 100%), 1fr));
    gap: 10px 24px;
}

.fls-int-roster-grid li {
    font-size: 14.5px;
    line-height: 1.45;
    color: var(--gray-700);
}

/* ---------- Scheduling ---------- */

.fls-int-systems {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(190px, 100%), 1fr));
    gap: 8px;
}

.fls-int-systems li {
    padding: 17px 19px;
    background: #FFFFFF;
    border: 1px solid var(--fls-rule);
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    color: var(--navy-600);
}

.fls-int-note {
    max-width: 620px;
    margin-top: 24px;
    font-size: 15px;
    line-height: 1.6;
    color: var(--gray-600);
}

.fls-int-note a,
.fls-int-note a:hover {
    font-weight: 700;
    color: var(--brand-500);
}

/* Scheduling on the dark band (V2): light-on-dark lede, tiles and note. */
.fls-int-dark .fls-lede,
.fls-int-dark .fls-int-note {
    color: var(--navy-100);
}

.fls-int-dark .fls-int-systems li {
    background: rgba(255, 255, 255, .04);
    border-color: rgba(255, 255, 255, .12);
    color: #FFFFFF;
}

.fls-int-dark .fls-int-note a,
.fls-int-dark .fls-int-note a:hover {
    color: var(--brand-300);
}

/* ---------- Flight planning ---------- */

.fls-int-planning {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
    gap: 1px;
    background: var(--fls-rule);
    border: 1px solid var(--fls-rule);
}

.fls-int-planner {
    padding: 30px 28px 34px;
    background: #FFFFFF;
}

/* ---------- Accounting ---------- */

.fls-int-split {
    grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
    gap: clamp(40px, 5vw, 72px);
}

.fls-int-split .fls-h2 {
    margin-bottom: 16px;
}

.fls-int-body {
    max-width: 540px;
    margin: 0 0 26px;
    line-height: 1.65;
}

.fls-int-photo {
    min-height: clamp(280px, 30vw, 380px);
}

.fls-int-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.fls-int-pills li {
    padding: 9px 16px;
    border-radius: 999px;
    border: 1px solid var(--gray-300);
    background: #FFFFFF;
    font-size: 14.5px;
    font-weight: 600;
    color: var(--navy-600);
}

.fls-int-pills-dark li {
    border-color: rgba(255, 255, 255, .24);
    background: transparent;
    color: #FFFFFF;
}

/* ---------- Payment + single sign-on ---------- */

.fls-int-adjacent {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
    gap: clamp(36px, 5vw, 64px);
}

.fls-int-adjacent-title {
    margin: 14px 0;
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -.02em;
    color: #FFFFFF;
}

.fls-int-adjacent-text {
    max-width: 480px;
    margin-bottom: 22px;
    font-size: 16px;
    line-height: 1.6;
    color: var(--navy-100);
}

/* ---------- Partner CTA ---------- */

.fls-int-partner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 32px 48px;
}

.fls-int-partner-copy {
    flex: 1 1 420px;
}

.fls-int-partner-title {
    max-width: 560px;
    margin: 0 0 12px;
    font-size: clamp(28px, 3.4vw, 36px);
    line-height: 1.16;
}

.fls-int-partner-text {
    max-width: 560px;
    margin: 0;
    line-height: 1.6;
}
