/* "Step Into the Future" centre page — scoped styles (prefix: .sf-)
   Reuses the site's brand blue (#0096db) and the Roboto Slab font from base.html. */

.sf-page {
    --sf-primary: #0096db;
    --sf-primary-dark: #0987c2;
    --sf-primary-deep: #075e87;
    --sf-accent: #b08a3e;
    --sf-ink: #1e293b;
    --sf-muted: #64748b;
    --sf-line: #e2e8f0;
    --sf-bg-soft: #f4f8fb;
    --sf-radius: 16px;
    --sf-shadow: 0 10px 30px -12px rgba(2, 74, 110, .25);
    --sf-space: clamp(48px, 7vw, 96px);
    color: var(--sf-ink);
    overflow-x: hidden;
}

.sf-page .container {
    max-width: 1200px;
}

.sf-section {
    padding: var(--sf-space) 0;
}

.sf-section:nth-of-type(even) {
    background: var(--sf-bg-soft);
}

.sf-section--plain {
    background: #fff;
}

.sf-section__head {
    max-width: 780px;
    margin: 0 auto clamp(28px, 4vw, 44px);
    text-align: center;
    /* overrides the global `header { background-color: #5d5d5d }` from styles.css */
    background: transparent;
}

.sf-section__title {
    font-size: clamp(26px, 3.4vw, 40px);
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 12px;
    color: var(--sf-ink);
}

.sf-section__lead {
    color: var(--sf-muted);
    font-size: clamp(15px, 1.6vw, 18px);
    line-height: 1.65;
    margin: 0;
}

.sf-subtitle {
    font-size: clamp(20px, 2.4vw, 26px);
    font-weight: 700;
    margin: clamp(40px, 6vw, 64px) 0 8px;
    text-align: center;
    color: var(--sf-ink);
}

.sf-subtitle__note {
    text-align: center;
    color: var(--sf-muted);
    font-size: 15px;
    margin: 0 0 26px;
}

.sf-subtitle + .sf-table-wrap {
    margin-top: 22px;
}

/* ---------- Buttons ---------- */
.sf-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 24px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 15px;
    line-height: 1.2;
    text-decoration: none;
    border: 2px solid transparent;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
    cursor: pointer;
}

.sf-btn:hover {
    transform: translateY(-2px);
    text-decoration: none;
}

.sf-btn--primary {
    background: var(--sf-primary);
    color: #fff;
    box-shadow: 0 8px 20px -8px rgba(0, 150, 219, .8);
}

.sf-btn--primary:hover {
    background: var(--sf-primary-dark);
    color: #fff;
}

.sf-btn--ghost {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, .55);
}

.sf-btn--ghost:hover {
    background: rgba(255, 255, 255, .12);
    color: #fff;
    border-color: #fff;
}

.sf-btn--light {
    background: #fff;
    color: var(--sf-primary-deep);
    flex: none;
}

.sf-btn--light:hover {
    background: #fff;
    color: var(--sf-primary-dark);
}

/* ---------- Hero ---------- */
.sf-hero {
    position: relative;
    color: #fff;
    padding: clamp(48px, 8vw, 104px) 0 clamp(44px, 7vw, 84px);
    background:
        radial-gradient(120% 120% at 85% 0%, rgba(255, 255, 255, .16), transparent 55%),
        linear-gradient(135deg, var(--sf-primary) 0%, var(--sf-primary-dark) 45%, var(--sf-primary-deep) 100%);
}

.sf-hero__inner {
    position: relative;
    z-index: 1;
    max-width: 900px;
}

.sf-breadcrumb .breadcrumb {
    background: transparent;
    padding: 0;
    font-size: 14px;
    flex-wrap: wrap;
}

.sf-breadcrumb .breadcrumb-item,
.sf-breadcrumb .breadcrumb-item a,
.sf-breadcrumb .breadcrumb-item.active {
    color: rgba(255, 255, 255, .85);
}

.sf-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, .55);
}

.sf-hero__eyebrow {
    text-transform: uppercase;
    letter-spacing: .16em;
    font-size: 13px;
    font-weight: 600;
    opacity: .85;
    margin: 18px 0 10px;
}

.sf-hero__title {
    font-size: clamp(30px, 5vw, 54px);
    font-weight: 800;
    line-height: 1.12;
    margin: 0 0 20px;
    color: #fff;
}

.sf-hero__lead {
    color: rgba(255, 255, 255, .92);
    font-size: clamp(15px, 1.6vw, 18px);
    line-height: 1.7;
    max-width: 780px;
    margin: 0;
}

.sf-hero__tagline {
    font-size: clamp(16px, 2vw, 20px);
    font-style: italic;
    font-weight: 500;
    margin: 20px 0 28px;
    color: #fff;
}

.sf-hero__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

/* ---------- Quick facts ---------- */
.sf-facts {
    background: var(--sf-primary-deep);
    padding: 0;
}

.sf-facts__grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.sf-fact {
    padding: 26px 18px;
    text-align: center;
    color: #fff;
    border-left: 1px solid rgba(255, 255, 255, .14);
}

.sf-fact:first-child {
    border-left: none;
}

.sf-fact__value {
    display: block;
    font-size: clamp(24px, 3.2vw, 36px);
    font-weight: 800;
    line-height: 1.1;
}

.sf-fact__label {
    display: block;
    margin-top: 6px;
    font-size: 13px;
    line-height: 1.45;
    color: rgba(255, 255, 255, .8);
}

/* ---------- Panel ---------- */
.sf-panel {
    background: #fff;
    border: 1px solid var(--sf-line);
    border-left: 5px solid var(--sf-primary);
    border-radius: var(--sf-radius);
    padding: clamp(24px, 4vw, 40px);
    box-shadow: var(--sf-shadow);
    max-width: 960px;
    margin: 0 auto;
}

.sf-panel__text {
    margin: 0;
    color: var(--sf-muted);
    font-size: 16px;
    line-height: 1.75;
}

/* ---------- Task cards ---------- */
.sf-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 24px;
}

.sf-card {
    background: #fff;
    border: 1px solid var(--sf-line);
    border-radius: var(--sf-radius);
    padding: 30px 26px;
    box-shadow: var(--sf-shadow);
    transition: transform .18s ease, box-shadow .18s ease;
}

.sf-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px -16px rgba(2, 74, 110, .35);
}

.sf-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 14px;
    font-size: 22px;
    color: #fff;
    margin-bottom: 18px;
    background: linear-gradient(135deg, var(--sf-primary), var(--sf-primary-dark));
}

.sf-card__title {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 10px;
    line-height: 1.35;
}

.sf-card__text {
    color: var(--sf-muted);
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

/* ---------- Tracks (3 opportunities) ---------- */
.sf-tracks {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 24px;
}

.sf-track {
    position: relative;
    background: #fff;
    border: 1px solid var(--sf-line);
    border-radius: var(--sf-radius);
    padding: 34px 28px 30px;
    box-shadow: var(--sf-shadow);
    overflow: hidden;
}

.sf-track::after {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 5px;
    background: linear-gradient(90deg, var(--sf-primary), var(--sf-primary-deep));
}

.sf-track__num {
    display: inline-block;
    font-size: 34px;
    font-weight: 800;
    line-height: 1;
    color: rgba(0, 150, 219, .25);
    margin-bottom: 12px;
}

.sf-track__title {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 12px;
}

.sf-track__text {
    color: var(--sf-muted);
    font-size: 15px;
    line-height: 1.7;
    margin: 0;
}

.sf-track__list {
    list-style: none;
    margin: 18px 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sf-track__list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    line-height: 1.55;
    color: var(--sf-ink);
}

.sf-track__list i {
    flex: none;
    margin-top: 3px;
    width: 18px;
    text-align: center;
    color: var(--sf-primary);
}

/* ---------- Steps ---------- */
.sf-steps {
    list-style: none;
    margin: 0 auto;
    padding: 0;
    max-width: 860px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sf-step {
    display: flex;
    gap: 22px;
    background: #fff;
    border: 1px solid var(--sf-line);
    border-radius: var(--sf-radius);
    padding: 24px 26px;
    box-shadow: var(--sf-shadow);
}

.sf-step__num {
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, var(--sf-primary), var(--sf-primary-dark));
}

.sf-step__title {
    font-size: 18px;
    font-weight: 700;
    margin: 4px 0 8px;
}

.sf-step__text {
    color: var(--sf-muted);
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

/* ---------- Rate note ---------- */
.sf-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    max-width: 760px;
    margin: 0 auto clamp(28px, 4vw, 40px);
    padding: 16px 24px;
    border-radius: 999px;
    background: rgba(0, 150, 219, .08);
    border: 1px solid rgba(0, 150, 219, .22);
    color: var(--sf-primary-deep);
    font-weight: 600;
    font-size: 15px;
    line-height: 1.5;
    text-align: center;
}

.sf-note i {
    flex: none;
}

/* ---------- Product cards ---------- */
.sf-products {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.sf-product {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--sf-line);
    border-radius: var(--sf-radius);
    padding: 0 0 26px;
    box-shadow: var(--sf-shadow);
    overflow: hidden;
    transition: transform .18s ease, box-shadow .18s ease;
}

.sf-product:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px -16px rgba(2, 74, 110, .35);
}

.sf-product--wide {
    grid-column: 1 / -1;
}

@media (min-width: 992px) {
    .sf-products {
        grid-template-columns: repeat(2, 1fr);
    }
}

.sf-product__head {
    padding: 26px 26px 22px;
    background: linear-gradient(135deg, var(--sf-primary) 0%, var(--sf-primary-deep) 100%);
    color: #fff;
}

.sf-product__title {
    font-size: 21px;
    font-weight: 700;
    margin: 0 0 8px;
    color: #fff;
}

.sf-product__for {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
    color: rgba(255, 255, 255, .88);
}

.sf-product__specs {
    list-style: none;
    margin: 0;
    padding: 6px 26px 0;
}

.sf-product__specs li {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    padding: 13px 0;
    border-bottom: 1px dashed var(--sf-line);
}

.sf-product__spec-label {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--sf-muted);
    flex: none;
}

.sf-product__spec-value {
    font-size: 15px;
    font-weight: 700;
    color: var(--sf-primary-deep);
    text-align: right;
}

.sf-product__reqs {
    list-style: none;
    margin: 18px 0 auto;
    padding: 0 26px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sf-product__reqs li {
    position: relative;
    padding-left: 26px;
    font-size: 14px;
    line-height: 1.6;
    color: var(--sf-muted);
}

.sf-product__reqs li::before {
    content: "\f00c"; /* fa-check */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 1px;
    font-size: 12px;
    color: var(--sf-primary);
}

.sf-product__reqs--check li::before {
    content: "\f005"; /* fa-star */
    color: var(--sf-accent);
}

.sf-product__msg {
    margin: 18px 26px auto;
    padding: 14px 18px;
    border-radius: 12px;
    background: var(--sf-bg-soft);
    color: var(--sf-ink);
    font-size: 14px;
    line-height: 1.65;
}

/* ---------- Comparison table ---------- */
.sf-table-wrap {
    background: #fff;
    border: 1px solid var(--sf-line);
    border-radius: var(--sf-radius);
    box-shadow: var(--sf-shadow);
    overflow: auto;
}

.sf-table {
    /* overrides global `table { display:block; overflow-x:scroll; margin:1rem auto; max-width:100vw }` */
    display: table;
    width: 100%;
    margin: 0;
    max-width: none;
    overflow-x: visible;
    border-collapse: separate;
    border-spacing: 0;
}

.sf-table thead th {
    background: #f8fafc;
    color: var(--sf-muted);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    text-align: left;
    padding: 16px 20px;
    border-bottom: 2px solid var(--sf-line);
    white-space: nowrap;
}

.sf-table tbody td,
.sf-table tbody th {
    padding: 15px 20px;
    border-bottom: 1px solid var(--sf-line);
    font-size: 15px;
    font-weight: 400;
    line-height: 1.5;
    vertical-align: top;
    text-align: left;
}

.sf-row__name {
    font-weight: 700;
    color: var(--sf-ink);
    white-space: normal;
}

.sf-table__num {
    color: var(--sf-primary-dark);
    font-weight: 700;
    white-space: nowrap;
}

.sf-row:hover td,
.sf-row:hover th {
    background: var(--sf-bg-soft);
}

.sf-row:last-child td,
.sf-row:last-child th {
    border-bottom: none;
}

.sf-more {
    margin: 28px 0 0;
    text-align: center;
}

/* ---------- Flyer inside a product card ---------- */
.sf-product__flyer {
    display: block;
    /* auto top margin pushes the flyer + button to the bottom of the card,
       so they line up across a row of different-length cards */
    margin: 22px 26px 0;
    border: 1px solid var(--sf-line);
    border-radius: 12px;
    overflow: hidden;
    background: var(--sf-bg-soft);
    text-decoration: none;
    transition: border-color .18s ease, box-shadow .18s ease;
}

.sf-product__flyer:hover {
    border-color: var(--sf-primary);
    box-shadow: 0 10px 26px -14px rgba(2, 74, 110, .45);
    text-decoration: none;
}

.sf-product__flyer img {
    display: block;
    width: 100%;
    height: auto;
    background: #fff;
}

.sf-product__flyer-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 14px;
    border-top: 1px solid var(--sf-line);
    font-size: 13px;
    font-weight: 600;
    color: var(--sf-primary-dark);
}

.sf-product__flyer:hover .sf-product__flyer-hint {
    color: var(--sf-primary-deep);
}

.sf-product--wide .sf-product__flyer {
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.sf-product__footer {
    margin: 20px 26px 0;
}

.sf-btn--sm {
    padding: 10px 20px;
    font-size: 14px;
}

/* ---------- Benefits ---------- */
.sf-benefits {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.sf-benefit {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #fff;
    border: 1px solid var(--sf-line);
    border-radius: 14px;
    padding: 22px 24px;
    box-shadow: var(--sf-shadow);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.45;
}

.sf-benefit i {
    flex: none;
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 18px;
    color: var(--sf-primary-deep);
    background: rgba(0, 150, 219, .12);
}

/* ---------- Conclusion CTA ---------- */
.sf-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 28px;
    background: linear-gradient(135deg, var(--sf-primary) 0%, var(--sf-primary-deep) 100%);
    color: #fff;
    border-radius: 22px;
    padding: clamp(30px, 5vw, 52px);
    box-shadow: var(--sf-shadow);
}

.sf-cta__body {
    flex: 1 1 520px;
}

.sf-cta__title {
    font-size: clamp(22px, 3vw, 32px);
    font-weight: 700;
    margin: 0 0 14px;
    color: #fff;
}

.sf-cta__text {
    color: rgba(255, 255, 255, .92);
    font-size: 16px;
    line-height: 1.75;
    margin: 0;
}

.sf-cta__slogan {
    margin: 16px 0 0;
    font-size: clamp(16px, 2vw, 19px);
    font-weight: 700;
    font-style: italic;
    color: #fff;
}

/* ---------- Contacts ---------- */
.sf-contacts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.sf-contact-card {
    background: #fff;
    border: 1px solid var(--sf-line);
    border-radius: var(--sf-radius);
    padding: 30px;
    box-shadow: var(--sf-shadow);
}

.sf-contact-card__title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 19px;
    font-weight: 700;
    margin: 0 0 18px;
    color: var(--sf-ink);
}

.sf-contact-card__title i {
    color: var(--sf-primary);
}

.sf-contact-card__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.sf-contact-card__list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    font-size: 15px;
    line-height: 1.55;
    color: var(--sf-ink);
}

.sf-contact-card__list i {
    flex: none;
    color: var(--sf-primary);
    margin-top: 4px;
    width: 20px;
    text-align: center;
}

.sf-contact-card__list a {
    color: var(--sf-primary-dark);
    font-weight: 600;
    text-decoration: none;
    word-break: break-word;
}

.sf-contact-card__list a:hover {
    text-decoration: underline;
}

.sf-contact-card__list small {
    color: var(--sf-muted);
    font-size: 13px;
}

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
    .sf-facts__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .sf-fact:nth-child(odd) {
        border-left: none;
    }

    .sf-fact:nth-child(n + 3) {
        border-top: 1px solid rgba(255, 255, 255, .14);
    }
}

@media (max-width: 768px) {
    /* the comparison table turns into cards */
    .sf-table-wrap {
        border: none;
        box-shadow: none;
        background: transparent;
        overflow: visible;
    }

    .sf-table thead {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        white-space: nowrap;
    }

    .sf-table,
    .sf-table tbody {
        display: block;
        width: 100%;
    }

    .sf-table tbody .sf-row {
        display: block;
        background: #fff;
        border: 1px solid var(--sf-line);
        border-radius: 14px;
        box-shadow: var(--sf-shadow);
        padding: 8px 16px;
        margin-bottom: 14px;
    }

    .sf-table tbody td,
    .sf-table tbody th {
        display: flex;
        justify-content: space-between;
        align-items: baseline;
        gap: 16px;
        text-align: right;
        border-bottom: 1px solid var(--sf-line);
        padding: 11px 0;
        white-space: normal;
    }

    .sf-table tbody .sf-row td:last-child {
        border-bottom: none;
    }

    .sf-table tbody td::before,
    .sf-table tbody th::before {
        content: attr(data-label);
        font-size: 12px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: .04em;
        color: var(--sf-muted);
        text-align: left;
        flex: none;
    }

    .sf-row__name {
        text-align: right;
    }

    .sf-cta {
        flex-direction: column;
        align-items: flex-start;
    }

    .sf-step {
        gap: 16px;
        padding: 20px;
    }
}

@media (max-width: 575px) {
    .sf-facts__grid {
        grid-template-columns: 1fr;
    }

    .sf-fact {
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, .14);
        padding: 20px 16px;
    }

    .sf-fact:first-child {
        border-top: none;
    }

    .sf-product__specs li {
        flex-direction: column;
        gap: 4px;
    }

    .sf-product__spec-value {
        text-align: left;
    }

    .sf-benefit {
        font-size: 15px;
    }
}

@media (max-width: 400px) {
    .sf-page .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .sf-btn {
        width: 100%;
        justify-content: center;
    }

    .sf-hero__cta {
        width: 100%;
    }
}
