.fastg-page {
    --fastg-blue: #5C86EE;
    --fastg-navy: #031B45;
    --fastg-mid-blue: #043F6D;
    --fastg-cyan: #06B0EF;
    --fastg-dark: #333333;
    --fastg-text: #111111;
    --fastg-muted: #5f6672;
    --fastg-light: #f4f4f4;
    --fastg-container: 1180px;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    color: var(--fastg-text);
    background: #fff;
}
.fastg-page *, .fastg-page *::before, .fastg-page *::after { box-sizing: border-box; }
.fastg-container {
    width: min(calc(100% - 48px), var(--fastg-container));
    max-width: var(--fastg-container);
    margin: 0 auto;
}
.fastg-page h1, .fastg-page h2, .fastg-page h3 {
    font-family: "canada-type-gibson", Gibson, Arial, sans-serif;
}
.fastg-page h2 { font-size: clamp(30px, 3vw, 44px); line-height: 1.06; letter-spacing: -0.02em; }
.fastg-page p, .fastg-page li { font-size: 18px; line-height: 1.6; }

/* HERO */
.fastg-hero {
    position: relative;
    color: #fff;
    padding: 80px 0 72px;
    background: radial-gradient(90.43% 87.19% at 50% 110%, #06B0EF 0%, #043F6D 64.62%, #031B45 100%) !important;
}
.fastg-breadcrumb-wrap {
    margin-bottom: 28px;
    font-size: 14px;
    line-height: 1.4;
}
.fastg-hero .fastg-breadcrumb-wrap,
.fastg-hero .fastg-breadcrumb-wrap span,
.fastg-hero .fastg-breadcrumb-wrap span[property="name"] {
    color: rgba(255,255,255,.9) !important;
}
.fastg-hero .fastg-breadcrumb-wrap a,
.fastg-hero .fastg-breadcrumb-wrap a:visited,
.fastg-hero .fastg-breadcrumb-wrap a:hover,
.fastg-hero .fastg-breadcrumb-wrap a:focus,
.fastg-hero .fastg-breadcrumb-wrap a:active,
.fastg-hero .fastg-breadcrumb-wrap a span {
    color: #fff !important;
    text-decoration: none !important;
    border: 0 !important;
    box-shadow: none !important;
}
.fastg-hero .fastg-breadcrumb-wrap .bcn-sep {
    color: #79ABFF !important;
    margin: 0 8px;
}
.fastg-hero-copy { text-align: center; max-width: 940px; margin: 0 auto; }
.fastg-title {
    margin: 0;
    color: #fff;
    font-size: clamp(46px, 5.2vw, 76px);
    line-height: 1.02;
    font-weight: 700;
    letter-spacing: -0.035em;
}
.fastg-subtitle {
    max-width: 760px;
    margin: 18px auto 0;
    color: rgba(255,255,255,.95);
    font-size: clamp(17px, 1.65vw, 23px) !important;
    line-height: 1.5 !important;
}
.fastg-facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 42px;
    max-width: 940px;
    margin: 58px auto 0;
}
.fastg-fact { text-align: center; position: relative; }
.fastg-fact + .fastg-fact::before {
    content: "→";
    position: absolute;
    left: -34px;
    top: 34%;
    color: rgba(255,255,255,.95);
    font-size: 28px;
}
.fastg-fact-icon { height: 74px; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.fastg-fact-icon img { width: auto; max-width: 86px; max-height: 74px; object-fit: contain; }
.fastg-fact-label { margin: 0 0 8px; color: #fff; font-size: 17px !important; line-height: 1.2 !important; }
.fastg-fact-text p { margin: 0; color: rgba(255,255,255,.9); font-size: 14px !important; line-height: 1.5 !important; }

/* SUBNAV — mirrors the primary FAST section navigation */
.fastg-subnav {
    width: 100%;
    background: #f7f7f7;
    border-bottom: 1px solid #d9dadd;
    position: relative;
    z-index: 50;
}
.fastg-subnav.fastg-subnav--fixed {
    position: fixed;
    left: 0;
    right: 0;
    top: var(--fastg-sticky-top, 0px);
    width: 100%;
    z-index: 9000;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    transform: none !important;
}
.fastg-subnav-placeholder {
    display: block;
    width: 100%;
    height: 0;
    margin: 0;
    padding: 0;
}
.fastg-subnav-placeholder.is-active {
    height: var(--fastg-subnav-height, 72px);
}

/* Keep anchored sections visible below the sticky site header + genotype submenu. */
.fastg-page section[id] {
    scroll-margin-top: var(--fastg-scroll-offset, 112px);
}
.fastg-subnav .fastg-subnav-inner {
    width: min(calc(100% - 64px), 1540px);
    max-width: 1540px;
    min-height: 72px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    gap: 48px;
}
.fastg-subnav a {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 72px;
    color: #575b64 !important;
    font-family: inherit;
    font-size: 18px;
    line-height: 1.2;
    font-weight: 400 !important;
    text-decoration: none !important;
    white-space: nowrap;
    border: 0 !important;
    box-shadow: none !important;
}
.fastg-subnav a::after {
    content: '';
    position: absolute;
    left: 0;
    right: 100%;
    bottom: 12px;
    height: 3px;
    background: #162e63;
    transition: right .2s ease;
}
.fastg-subnav a:first-child { color: #162e63 !important; }
.fastg-subnav a:first-child::after { right: 0; }
.fastg-subnav a:hover,
.fastg-subnav a:focus {
    color: #162e63 !important;
}
.fastg-subnav a:hover::after,
.fastg-subnav a:focus::after { right: 0; }

/* SHARED SECTIONS */
.fastg-section { padding: 76px 0; }
.fastg-split { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.05fr); gap: 56px; align-items: center; }
.fastg-split--right .fastg-media-card { order: 2; }
.fastg-split--right .fastg-copy { order: 1; }
.fastg-copy h2 { margin: 0 0 22px; color: #111; }
.fastg-copy p:first-of-type { margin-top: 0; }
.fastg-copy p:last-child { margin-bottom: 0; }
.fastg-single-column .fastg-copy { width: 100%; max-width: none; }
.fastg-single-column .fastg-copy > * { max-width: none; }
.fastg-media-card { width: 100%; min-height: 1px; }
.fastg-section-image { display: block; width: 100%; height: auto; }
.fastg-section-image--rounded { border-radius: 4px; box-shadow: 0 6px 18px rgba(0,0,0,.12); }
.fastg-video { position: relative; width: 100%; padding-top: 56.25%; overflow: hidden; background: #111; }
.fastg-video iframe { position: absolute; inset: 0; width: 100% !important; height: 100% !important; }

.fastg-simple { background: #353535; color: #fff; padding: 64px 0; text-align: center; }
.fastg-simple-inner { max-width: 820px; }
.fastg-simple h2 { margin: 0 0 18px; color: #fff; font-size: clamp(31px,3vw,42px); }
.fastg-simple p { margin: 0; color: rgba(255,255,255,.86); font-size: 16px; }

.fastg-section--meaning { background: #fff; }
.fastg-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 11px 18px;
    border: 2px solid var(--fastg-blue);
    background: var(--fastg-blue);
    color: #fff !important;
    text-decoration: none !important;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
}
.fastg-button--outline { background: transparent; color: #24324b !important; border-color: #24324b; }
.fastg-button--light { background: var(--fastg-blue); border-color: var(--fastg-blue); color: #fff !important; }
.fastg-button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.fastg-text-link { display: inline-block; color: #1c376e; font-weight: 700; text-decoration: none; margin-top: 12px; }

/* GENETIC COUNSELOR BANNER */
.fastg-testing {
    position: relative;
    background-color: #102b50;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    color: #fff;
    overflow: hidden;
    padding: 128px 0 112px;
}
.fastg-testing-inner {
    display: grid;
    grid-template-columns: minmax(420px, .72fr) minmax(0, 1.28fr);
    gap: 84px;
    align-items: center;
}
.fastg-testing-person {
    width: 100%;
}
.fastg-testing-image {
    display: block;
    width: 100%;
    aspect-ratio: 1.49 / 1;
    height: auto;
    object-fit: cover;
    object-position: center;
    border-radius: 28px;
}
.fastg-testing-copy {
    padding: 0;
    align-self: center;
}
.fastg-testing-copy h2 {
    color: #fff;
    margin: 0 0 24px;
    font-size: clamp(46px, 4.2vw, 66px);
    line-height: 1.02;
    letter-spacing: -0.025em;
    font-weight: 700;
}
.fastg-testing-copy p {
    max-width: 900px;
    margin: 0 0 28px;
    color: #fff;
    font-size: clamp(18px, 1.55vw, 27px);
    line-height: 1.55;
}
.fastg-testing-copy .fastg-button {
    min-height: 76px;
    padding: 18px 24px;
    font-size: clamp(18px, 1.35vw, 25px);
    line-height: 1.1;
    font-weight: 400;
}

/* FAMILY PLANNING */
.fastg-section--family { background: #f6f6f6; padding: 80px 0 90px; }
.fastg-center-heading { margin: 0 0 18px; text-align: center; }
.fastg-family-intro { max-width: 960px; margin: 0 auto 38px; text-align: center; }
.fastg-family-intro p { font-size: 16px; }
.fastg-family-card {
    max-width: 1050px;
    margin: 0 auto;
    padding: 30px 34px 28px;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 5px 20px rgba(0,0,0,.10);
}
.fastg-family-card h3 { margin: 0 0 20px; font-size: 22px; text-align: center; }
.fastg-family-table { display: table; width: 100%; border-collapse: collapse; }
.fastg-family-row { display: table-row; }
.fastg-family-cell { display: table-cell; width: 36%; vertical-align: top; padding: 17px 18px; border-top: 1px solid #d7d9dd; font-size: 14px; line-height: 1.45; }
.fastg-family-cell--label { width: 28%; padding-left: 0; font-weight: 600; }
.fastg-family-row--head .fastg-family-cell { padding-top: 6px; border-top: 0; color: #496184; font-size: 11px; text-transform: uppercase; text-align: center; font-weight: 700; }
.fastg-family-row--head .fastg-family-cell--label { text-align: left; }
.fastg-family-cell p { margin: 0; font-size: 14px; line-height: 1.45; }
.fastg-family-footnote p { margin: 12px 0 0; font-size: 12px; font-style: italic; color: #666; }
.fastg-family-followup { max-width: 980px; margin: 42px auto 0; text-align: center; }
.fastg-family-followup h3 { margin: 0 0 14px; font-size: 26px; }
.fastg-family-followup p { font-size: 15px; }
.fastg-family-followup figure { margin: 28px auto 0; }
.fastg-family-diagram { max-width: 780px; width: 100%; height: auto; }
.fastg-family-followup figcaption { margin-top: 10px; color: #666; font-size: 12px; }

/* OPTIONAL EXTRA */
.fastg-extra--light { background: #f6f6f6; }
.fastg-extra--dark { background: #333; color: #fff; }
.fastg-extra--dark .fastg-copy h2, .fastg-extra--dark .fastg-copy p { color: #fff; }

/* TRIALS */
.fastg-section--trials { background: #fff; }

/* SUPPORT CARDS */
.fastg-support { background: #f4f4f4; padding: 72px 0 82px; }
.fastg-support-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; margin-top: 34px; }
.fastg-support-card { position: relative; min-height: 320px; overflow: hidden; border-radius: 3px; box-shadow: 0 5px 15px rgba(0,0,0,.12); background: #222; }
.fastg-support-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fastg-support-overlay { position: absolute; inset: 0; background: linear-gradient(180deg,rgba(0,0,0,0) 30%,rgba(0,0,0,.78) 100%); }
.fastg-support-content { position: absolute; left: 24px; right: 24px; bottom: 24px; color: #fff; }
.fastg-support-content h3 { margin: 0 0 16px; color: #fff; font-size: 26px; line-height: 1.05; }
.fastg-card-button { display: inline-flex; border: 1px solid #fff; color: #fff !important; padding: 8px 12px; font-size: 12px; font-weight: 700; text-decoration: none !important; }

@media (max-width: 900px) {
    .fastg-hero { padding: 64px 0; }
    .fastg-facts { grid-template-columns: 1fr; gap: 28px; max-width: 620px; }
    .fastg-fact + .fastg-fact::before { display: none; }
    .fastg-split, .fastg-testing-inner { grid-template-columns: 1fr; gap: 36px; }
    .fastg-split--right .fastg-media-card, .fastg-split--right .fastg-copy { order: initial; }
    .fastg-testing { padding: 76px 0; }
    .fastg-testing-person { max-width: 620px; margin: 0 auto; }
    .fastg-testing-copy { text-align: center; }
    .fastg-testing-copy h2 { font-size: clamp(38px, 8vw, 52px); }
    .fastg-testing-copy p { margin-left: auto; margin-right: auto; font-size: 19px; }
    .fastg-testing-copy .fastg-button { min-height: 60px; font-size: 18px; }
    .fastg-support-grid { grid-template-columns: 1fr; }
    .fastg-support-card { min-height: 360px; }
}
@media (max-width: 680px) {
    .fastg-container { width: min(calc(100% - 32px), var(--fastg-container)); }
    .fastg-hero { padding: 46px 0 52px; }
    .fastg-breadcrumb-wrap { margin-bottom: 20px; }
    .fastg-title { font-size: clamp(40px,12vw,56px); }
    .fastg-subtitle { font-size: 17px !important; }
    .fastg-subnav .fastg-subnav-inner {
        width: 100%;
        min-height: 64px;
        justify-content: flex-start;
        gap: 30px;
        overflow-x: auto;
        padding: 0 24px;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }
    .fastg-subnav .fastg-subnav-inner::-webkit-scrollbar { display: none; }
    .fastg-subnav a { min-height: 64px; font-size: 17px; }
    .fastg-subnav a::after { bottom: 10px; }
    .fastg-section { padding: 56px 0; }
    .fastg-simple { padding: 48px 0; }
    .fastg-family-card { padding: 24px 18px; overflow-x: auto; }
    .fastg-family-table { min-width: 650px; }
    .fastg-testing { padding: 56px 0; }
    .fastg-testing-image { border-radius: 20px; }
    .fastg-testing-copy h2 { font-size: 38px; }
    .fastg-testing-copy p { font-size: 17px; line-height: 1.5; }
    .fastg-testing-copy .fastg-button { width: 100%; min-height: 56px; font-size: 17px; }
    .fastg-support { padding: 56px 0 64px; }
}


/* v1.0.9: Keep all genotype template paragraph copy at 18px. */
.fastg-page p {
    font-size: 18px !important;
}
