/* Fast Track landing page
   Everything is scoped under .ft so it will not leak into the host theme.
   Fonts: Barlow Condensed (600/700/800) and Inter (400/500/600/700). */

/* ---------- Base ---------- */
.ft {
    background: #0D0D0F;
    color: #F5F5F2;
    font-family: Inter, system-ui, sans-serif;
    font-size: 17px;
    line-height: 1.6;
}

.ft a:not(.ft-btn) {
    color: #FF8A47;
}

.ft a:not(.ft-btn):hover {
    color: #FFB080;
}

.ft input,
.ft select,
.ft textarea {
    font: inherit;
}

/* ---------- Shared pieces ---------- */
.ft-container {
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
}

.ft-band {
    background: #121215;
    border-top: 1px solid #26262C;
    border-bottom: 1px solid #26262C;
}

.ft-eyebrow {
    margin: 0 0 12px;
    color: #FF8A47;
    font-weight: 600;
    letter-spacing: 0.14em;
    font-size: 14px;
}

.ft-h2 {
    margin: 0;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: clamp(40px, 5vw, 60px);
    line-height: 1.02;
    color: #fff !important;
}

.ft-h2--md {
    font-size: clamp(36px, 4.4vw, 52px);
    line-height: 1.04;
}

.ft-text {
    margin: 0;
    color: #C9C9CF;
}

.ft-text--sm {
    font-size: 16px;
}

.ft-img {
    display: block;
    width: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.ft .ft-btn {
    display: inline-flex;
    align-items: center;
    box-sizing: border-box;
    min-height: 44px;
    padding: 15px 26px;
    border-radius: 6px;
    background: #FF6A1A;
    color: #0D0D0F;
    font-weight: 700;
    text-decoration: none;
}

.ft .ft-btn--sm {
    padding: 12px 20px;
    font-size: 15px;
}

.ft .ft-btn--ghost {
    background: none;
    border: 1px solid #4A4A52;
    color: #F5F5F2;
    font-weight: 600;
}

/* ---------- Header ---------- */
.ft-header {
    border-bottom: 1px solid #26262C;
}

.ft-header__inner {
    padding-top: 18px;
    padding-bottom: 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
    justify-content: space-between;
}

.ft-brand {
    display: flex;
    gap: 14px;
    align-items: center;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: 20px;
    letter-spacing: 0.08em;
}

.ft-brand__x {
    color: #FF6A1A;
}

/* ---------- Hero ---------- */
.ft-hero {
    padding-top: 88px;
    padding-bottom: 72px;
    display: flex;
    flex-wrap: wrap;
    gap: 48px;
    align-items: center;
}

.ft-hero__copy {
    flex: 999 1 520px;
    min-width: 0;
}

.ft-hero .ft-eyebrow {
    margin-bottom: 16px;
}

.ft-hero__title {
    margin: 0;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 800;
    font-size: clamp(64px, 10vw, 132px);
    line-height: 0.92;
    letter-spacing: 0.01em;
}

.ft-hero__tagline {
    margin: 20px 0 0;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 600;
    font-size: clamp(28px, 3.4vw, 40px);
    line-height: 1.1;
}

.ft-hero__lede {
    margin: 24px 0 0;
    max-width: 620px;
    color: #C9C9CF;
}

.ft-hero__actions {
    margin-top: 32px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.ft-hero__media {
    flex: 1 1 380px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ft-hero__media .ft-img {
    aspect-ratio: 3 / 2;
}

/* ---------- Stats ---------- */
.ft-stats {
    padding-top: 40px;
    padding-bottom: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 32px;
}

.ft-stat__num {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 800;
    font-size: 48px;
    line-height: 1;
}

.ft-stat__num--accent {
    color: #FF8A47;
}

.ft-stat__label {
    margin-top: 8px;
    color: #C9C9CF;
    font-size: 15px;
}

/* ---------- Why Fast Track ---------- */
.ft-why {
    padding-top: 96px;
    padding-bottom: 48px;
}

.ft-why .ft-h2 {
    max-width: 820px;
}

.ft-why .ft-text {
    margin-top: 24px;
    max-width: 760px;
}

/* ---------- Pillars (01-04 cards) ---------- */
.ft-pillars {
    padding-top: 24px;
    padding-bottom: 96px;
}

.ft-pillars__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.ft-card {
    background: #17171B;
    border: 1px solid #26262C;
    border-radius: 10px;
    padding: 32px;
}

.ft-card__num {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.14em;
    color: #FF8A47;
}

.ft-card__title {
    margin: 8px 0 12px;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: 32px;
    line-height: 1.05;
}

/* ---------- How it works ---------- */
.ft-how {
    padding-top: 96px;
    padding-bottom: 96px;
}

.ft-how .ft-h2 {
    margin-bottom: 48px;
}

.ft-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 28px;
}

.ft-step {
    border-top: 3px solid #FF6A1A;
    padding-top: 20px;
}

.ft-step__when {
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.1em;
    color: #A7A7AE;
}

.ft-step__title {
    margin: 6px 0 8px;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: 28px;
    color: #fff !important;
}

/* ---------- Pathway ---------- */
.ft-pathway {
    padding-top: 96px;
    padding-bottom: 96px;
}

.ft-pathway .ft-h2 {
    margin-bottom: 16px;
}

.ft-pathway .ft-text {
    margin-bottom: 32px;
    max-width: 720px;
}

.ft-pathway .ft-img {
    aspect-ratio: 21 / 9;
    object-position: center 60%;
    margin-bottom: 24px;
}

.ft-ladder {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: stretch;
}

.ft-rung {
    flex: 1 1 170px;
    background: #17171B;
    border: 1px solid #33333A;
    border-radius: 8px;
    padding: 20px;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: 24px;
    line-height: 1.1;
}

.ft-rung--current {
    background: #FF6A1A;
    border: 0;
    color: #0D0D0F;
}

.ft-rung__sub {
    font-family: Inter, sans-serif;
    font-weight: 600;
    font-size: 14px;
}

/* ---------- For families ---------- */
.ft-families {
    padding-bottom: 96px;
    display: flex;
    flex-wrap: wrap;
    gap: 48px;
    align-items: center;
}

.ft-families .ft-img {
    flex: 1 1 380px;
    min-width: 0;
    aspect-ratio: 4 / 5;
    object-position: center 30%;
}

.ft-families__copy {
    flex: 999 1 460px;
    min-width: 0;
}

.ft-families .ft-h2 {
    margin-bottom: 16px;
}

.ft-families .ft-text+.ft-text {
    margin-top: 16px;
}

/* ---------- Partner strip ---------- */
.ft-partners {
    border-top: 1px solid #26262C;
    border-bottom: 1px solid #26262C;
}

.ft-partners__inner {
    padding-top: 36px;
    padding-bottom: 36px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px 56px;
    align-items: center;
    justify-content: center;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: 26px;
    letter-spacing: 0.08em;
    color: #C9C9CF;
}

/* ---------- Two-column layout (FAQ, inquiry) ---------- */
.ft-split {
    padding-top: 96px;
    padding-bottom: 96px;
    display: flex;
    flex-wrap: wrap;
    gap: 56px;
}

.ft-split__aside {
    flex: 1 1 340px;
    min-width: 0;
}

.ft-split__main {
    flex: 999 1 560px;
    min-width: 0;
}

/* ---------- FAQ ---------- */
.ft-faq-list {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.ft-faq__q {
    margin: 0 0 6px;
    font-size: 19px;
    font-weight: 700;
    color: #fff !important;
}

/* ---------- Inquiry ---------- */
.ft-inquire {
    background: #121215;
    border-top: 1px solid #26262C;
}

.ft-inquire .ft-h2 {
    margin-bottom: 16px;
}

.ft-inquire__contact {
    margin: 24px 0 0;
    color: #A7A7AE;
    font-size: 15px;
}

.ft-thanks {
    background: #17171B;
    border: 1px solid #FF6A1A;
    border-radius: 10px;
    padding: 40px;
}

.ft-thanks__title {
    margin: 0 0 8px;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: 36px;
}

.ft-form {
    background: #17171B;
    border: 1px solid #26262C;
    border-radius: 10px;
    padding: 32px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px 20px;
}

.ft-form__full {
    grid-column: 1 / -1;
}

.ft-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
}

.ft-field input,
.ft-field select,
.ft-field textarea {
    background: #0D0D0F;
    color: #F5F5F2;
    border: 1px solid #3A3A42;
    border-radius: 6px;
    padding: 12px;
}

.ft-field input,
.ft-field select {
    min-height: 44px;
    box-sizing: border-box;
}

.ft-field textarea {
    resize: vertical;
}

.ft-fieldset {
    border: 1px solid #3A3A42;
    border-radius: 6px;
    padding: 14px 16px;
    margin: 0;
}

.ft-fieldset legend {
    font-size: 14px;
    font-weight: 600;
    padding: 0 6px;
}

.ft-checks {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 24px;
    font-size: 15px;
}

.ft-check {
    display: flex;
    gap: 8px;
    align-items: center;
    min-height: 44px;
}

.ft-consent {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 14px;
    color: #C9C9CF;
}

.ft-consent input {
    margin-top: 4px;
}

.ft-submit {
    background: #FF6A1A;
    color: #0D0D0F;
    border: 0;
    font-weight: 700;
    font-size: 16px;
    padding: 15px 28px;
    border-radius: 6px;
    min-height: 48px;
    cursor: pointer;
}

/* ---------- Footer ---------- */
.ft-footer {
    border-top: 1px solid #26262C;
}

.ft-footer__inner {
    padding-top: 32px;
    padding-bottom: 32px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px 32px;
    justify-content: space-between;
    color: #A7A7AE;
    font-size: 14px;
}

/* ============================================================
   Responsive
   The layout above is fluid (wrapping flex + auto-fit grids), so
   these rules only tune what happens once columns have stacked.
   ============================================================ */

/* Never let media or long words push the page sideways */
.ft {
    overflow-wrap: break-word;
}

.ft img,
.ft image {
    max-width: 100%;
    height: auto;
}

/* Logos carry an inline max-width, so cap them against the viewport too */
.ft-brand,
.ft-partners__inner {
    min-width: 0;
}

.ft-brand img,
.ft-brand image,
.ft-partners__inner img,
.ft-partners__inner image {
    max-width: min(324px, 100%) !important;
}

/* ---------- Tablet and below: two-column sections have stacked ---------- */
@media (max-width: 1000px) {

    /* Hero images sit side by side instead of two tall stacked blocks */
    .ft-hero {
        padding-top: 64px;
        padding-bottom: 56px;
        gap: 40px;
    }

    .ft-hero__media {
        flex: 1 1 100%;
        flex-direction: row;
    }

    .ft-hero__media .ft-img {
        flex: 1 1 0;
        min-width: 0;
    }

    /* A 4:5 portrait is far too tall at full width */
    .ft-families {
        gap: 32px;
    }

    .ft-families .ft-img {
        flex-basis: 100%;
        aspect-ratio: 16 / 10;
    }

    .ft-split {
        gap: 36px;
    }
}

/* ---------- Phones ---------- */
@media (max-width: 640px) {
    .ft {
        font-size: 16px;
    }

    .ft-container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .ft-eyebrow {
        font-size: 12px;
        letter-spacing: 0.12em;
    }

    .ft-h2 {
        font-size: 36px;
    }

    .ft-h2--md {
        font-size: 32px;
    }

    /* Header: logo left, compact button right, both shrink to fit */
    .ft-header__inner {
        padding-top: 12px;
        padding-bottom: 12px;
        flex-wrap: nowrap;
        gap: 12px;
    }

    .ft-brand {
        flex: 0 1 180px;
    }

    .ft .ft-header .ft-btn {
        flex: 0 0 auto;
        padding: 10px 14px;
        font-size: 14px;
        white-space: nowrap;
    }

    /* Hero */
    .ft-hero {
        padding-top: 40px;
        padding-bottom: 40px;
        gap: 32px;
    }

    .ft-hero__copy {
        flex-basis: 100%;
    }

    .ft-hero__title {
        font-size: clamp(52px, 17vw, 72px);
    }

    .ft-hero__tagline {
        margin-top: 12px;
        font-size: 26px;
    }

    .ft-hero__lede {
        margin-top: 16px;
    }

    .ft-hero__actions {
        margin-top: 24px;
        flex-direction: column;
    }

    .ft .ft-hero__actions .ft-btn {
        justify-content: center;
        text-align: center;
    }

    .ft-hero__media {
        gap: 8px;
    }

    /* Stats: 2 x 2 instead of four stacked rows */
    .ft-stats {
        padding-top: 32px;
        padding-bottom: 32px;
        grid-template-columns: 1fr 1fr;
        gap: 24px 20px;
    }

    .ft-stat__num {
        font-size: 40px;
    }

    .ft-stat__label {
        font-size: 14px;
    }

    /* Section spacing: 96px rhythm is too loose on a phone */
    .ft-why {
        padding-top: 56px;
        padding-bottom: 32px;
    }

    .ft-why .ft-text {
        margin-top: 16px;
    }

    .ft-pillars {
        padding-top: 0;
        padding-bottom: 56px;
    }

    .ft-pillars__grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .ft-card {
        padding: 24px;
    }

    .ft-card__title {
        font-size: 28px;
        color: #fff !important;
    }

    .ft-how {
        padding-top: 56px;
        padding-bottom: 56px;
    }

    .ft-how .ft-h2 {
        margin-bottom: 32px;
    }

    .ft-steps {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .ft-step {
        padding-top: 16px;
    }

    .ft-pathway {
        padding-top: 56px;
        padding-bottom: 56px;
    }

    .ft-pathway .ft-text {
        margin-bottom: 24px;
    }

    .ft-pathway .ft-img {
        aspect-ratio: 16 / 9;
        margin-bottom: 16px;
    }

    /* Ladder reads as a vertical list of steps */
    .ft-ladder {
        flex-direction: column;
        gap: 8px;
    }

    .ft-rung {
        flex: 0 0 auto;
        padding: 14px 16px;
        font-size: 22px;
    }

    .ft-families {
        padding-bottom: 56px;
        gap: 24px;
    }

    .ft-families .ft-img {
        aspect-ratio: 4 / 3;
    }

    .ft-partners__inner {
        padding-top: 28px;
        padding-bottom: 28px;
    }

    .ft-split {
        padding-top: 56px;
        padding-bottom: 56px;
        gap: 28px;
    }

    .ft-split__aside,
    .ft-split__main {
        flex-basis: 100%;
    }

    .ft-faq-list {
        gap: 22px;
    }

    .ft-faq__q {
        font-size: 18px;
    }

    /* Form: single column, 16px controls (prevents iOS focus zoom) */
    .ft-thanks {
        padding: 24px;
    }

    .ft-form {
        padding: 20px;
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .ft-field input,
    .ft-field select,
    .ft-field textarea {
        font-size: 16px;
        width: 100%;
        box-sizing: border-box;
    }

    .ft-fieldset {
        padding: 10px 14px;
        min-width: 0;
    }

    .ft-checks {
        flex-direction: column;
        gap: 0;
    }

    .ft-submit {
        width: 100%;
    }

    .ft-footer__inner {
        padding-top: 24px;
        padding-bottom: 24px;
        flex-direction: column;
        gap: 8px;
    }
}
