:root {
    --navy: #16273f;
    --navy-deep: #0e1c2f;
    --ink: #33404f;
    --muted: #6b7684;
    --orange: #e85b2a;
    --orange-deep: #e85b2a;
    --check: #3aa78f;
    --cream: #f7f3ec;
    --card-beige: #f6f1e9;
    --line: #e7e2d9;
    --line-cool: #e6e9ee;
    --radius-lg: 20px;
    --radius: 12px;
    --shadow: 0 8px 28px rgba(22, 39, 63, .08);
    --font-display: "Fraunces", Georgia, serif;
    --font-body: "Outfit", system-ui, -apple-system, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    font-family: var(--font-body);
    color: var(--ink);
    background: #fff;
    line-height: 1.6;
    font-size: 16.5px
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 34px
}

.skip-link {
    position: absolute;
    left: -999px;
    top: 0;
    background: var(--navy);
    color: #fff;
    padding: 10px 16px;
    z-index: 0
}

.skip-link:focus {
    left: 0
}

:focus-visible {
    outline: 3px solid var(--orange);
    outline-offset: 2px
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    font-weight: 600;
    border-radius: 10px;
    padding: 14px 26px;
    text-decoration: none;
    font-size: 16px;
    border: 1.5px solid transparent;
    cursor: pointer
}

.btn-orange {
    background: var(--orange);
    color: #fff
}

.btn-orange:hover {
    background: var(--orange-deep)
}

.btn-outline-light {
    border-color: #ffffff8f;
    color: #fff
}

.btn-outline-light:hover {
    background: #ffffff17
}

/* ===== TOP BAR + HEADER (placeholder — swap for shared Blade header partial) ===== */
.top-bar {
    background: var(--navy-deep);
    color: #fff;
    font-size: 14px;
    font-weight: 600
}

.top-bar .container {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 9px 34px;
    flex-wrap: wrap
}

.top-bar a {
    color: #fff;
    text-decoration: none
}

.top-bar .sep {
    color: #8fa0b5
}

.site-header {
    background: #fff;
    border-bottom: 1px solid var(--line-cool)
}

.site-header .container {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 16px 34px
}

.logo {
    display: flex;
    align-items: center;
    gap: 9px;
    text-decoration: none
}

.logo-mark {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 2.5px dashed var(--orange);
    display: flex;
    align-items: center;
    justify-content: center
}

.logo-mark::after {
    content: "";
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--orange)
}

.logo-text {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 25px;
    color: var(--navy)
}

.hdr-nav {
    display: flex;
    gap: 16px;
    flex: 1;
    flex-wrap: wrap
}

.hdr-nav a {
    color: var(--navy);
    text-decoration: none;
    font-weight: 600;
    font-size: 15.5px;
    padding: 9px 4px
}

.hdr-cta {
    display: flex;
    gap: 10px
}

.btn-hdr {
    padding: 11px 20px;
    font-size: 15px
}

.btn-hdr-outline {
    border: 1.5px solid #cdd4dc;
    color: var(--navy);
    background: #fff
}

/* ===== HERO ===== */
.hero {
    position: relative;
    color: #fff;
    padding: 60px 0 66px;
    background:
        linear-gradient(100deg, rgba(10, 20, 34, .92) 0%, rgba(14, 28, 47, .86) 45%, rgba(20, 36, 58, .8) 100%),
        repeating-linear-gradient(115deg, #182c47 0 26px, #14263e 26px 52px)
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(900px 400px at 80% 25%, rgba(232, 116, 59, .14), transparent 60%);
    pointer-events: none
}

.hero-inner {
    position: relative;
    z-index: 0;
    max-width: 900px
}

.breadcrumb {
    font-size: 14.5px;
    color: #c8d2de;
    margin-bottom: 18px
}

.breadcrumb a {
    color: #fff;
    font-weight: 600
}

.eyebrow {
    display: block;
    color: var(--orange);
    font-size: 13.5px;
    font-weight: 700;
    letter-spacing: 2.2px;
    text-transform: uppercase;
    margin-bottom: 14px
}

.hero h1 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(34px, 4.4vw, 50px);
    line-height: 1.1;
    margin-bottom: 18px
}

.hero p.lead {
    font-size: 18px;
    color: #e6ecf3;
    max-width: 66ch;
    margin-bottom: 24px
}

.hero-ctas {
    display: flex;
    gap: 16px;
    flex-wrap: wrap
}

/* ===== TABLE SECTION ===== */
.table-wrap {
    background: var(--cream);
    /* padding: 54px 0 66px */
}

.section-head {
    max-width: 900px;
    margin-bottom: 24px
}

.section-head h2 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(26px, 2.8vw, 34px);
    color: var(--navy);
    margin-bottom: 8px
}

.section-head p {
    color: var(--muted)
}

.jump {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 26px
}

.jump a {
    background: #fff;
    border: 1.5px solid var(--line);
    border-radius: 999px;
    padding: 10px 22px;
    font-weight: 600;
    color: var(--navy);
    text-decoration: none;
    font-size: 15px
}

.jump a:hover {
    border-color: var(--orange);
    color: var(--orange-deep)
}

.table-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: 0 2px 10px rgba(22, 39, 63, .04);
    overflow: hidden;
    margin-bottom: 34px
}

.table-scroll {
    overflow-x: auto
}

table.panels {
    width: 100%;
    border-collapse: collapse;
    min-width: 760px
}

table.panels caption {
    text-align: left;
    padding: 20px 26px 6px;
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    color: var(--navy)
}

table.panels caption span {
    display: block;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 400;
    color: var(--muted);
    margin-top: 2px
}

table.panels th {
    background: var(--navy);
    color: #fff;
    text-align: left;
    font-size: 13.5px;
    letter-spacing: .8px;
    text-transform: uppercase;
    padding: 13px 22px;
    font-weight: 700
}

table.panels td {
    padding: 15px 22px;
    border-top: 1px solid var(--line);
    vertical-align: top;
    font-size: 15.5px
}

table.panels tbody tr:nth-child(even) {
    background: #faf8f4
}

td.spec {
    font-weight: 700;
    color: var(--navy);
    white-space: nowrap;
    width: 150px
}

td.spec .s-note {
    display: block;
    font-weight: 400;
    font-size: 12.5px;
    color: var(--muted);
    white-space: normal
}

td.panel-name {
    font-weight: 700;
    color: var(--navy);
    width: 250px
}

td.panel-name .badge {
    display: inline-block;
    margin-left: 6px;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
    padding: 2px 8px;
    border-radius: 5px;
    vertical-align: 2px
}

.badge-dot {
    background: #eaf4ef;
    color: #2c7a5b
}

td.drugs em {
    font-style: normal;
    color: var(--orange-deep);
    font-weight: 600
}

td.drugs .v-note {
    display: block;
    font-size: 13px;
    color: var(--muted);
    margin-top: 5px
}

.tbd {
    color: var(--muted)
}

.legend {
    display: flex;
    gap: 22px;
    flex-wrap: wrap;
    font-size: 14px;
    color: var(--muted);
    margin-bottom: 8px
}

.legend em {
    font-style: normal;
    color: var(--orange-deep);
    font-weight: 600
}

/* ===== GLOSSARY + CALLOUT ===== */
.info-band {
    background: #fff;
    padding: 54px 0
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 26px;
    align-items: start
}

.info-card {
    background: var(--card-beige);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 26px 28px
}

.info-card h3 {
    font-size: 18px;
    color: var(--navy);
    font-weight: 700;
    margin-bottom: 10px
}

.info-card p {
    font-size: 15px;
    margin-bottom: 10px
}

.gloss {
    columns: 2;
    column-gap: 34px;
    font-size: 14.5px
}

.gloss div {
    break-inside: avoid;
    padding: 5px 0;
    border-bottom: 1px dashed var(--line)
}

.gloss strong {
    color: var(--navy)
}

.callout {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    background: #fdf3ec;
    border: 1px solid #f3d4bd;
    border-radius: var(--radius);
    padding: 20px 24px;
    margin-top: 26px
}

.callout svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    margin-top: 2px
}

.callout svg * {
    stroke: var(--orange);
    stroke-width: 2;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round
}

.callout p {
    margin: 0;
    font-size: 15px
}

.callout strong {
    color: var(--navy)
}

/* ===== CTA + FOOTER ===== */
.cta-band {
    background: var(--navy-deep);
    color: #fff;
    padding: 52px 0;
    text-align: center
}

.cta-band h2 {
    font-family: var(--font-display);
    font-size: clamp(26px, 3vw, 34px);
    margin-bottom: 12px
}

.cta-band p {
    color: #c8d2de;
    margin: 0 auto 26px;
    max-width: 62ch;
    font-size: 17px
}

.cta-band .btn-row {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap
}

.site-footer {
    background: var(--navy-deep);
    color: #b9c6d5;
    padding: 44px 0 22px;
    font-size: 14.5px
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1fr;
    gap: 30px;
    margin-bottom: 28px
}

.site-footer h4 {
    color: #fff;
    font-size: 15px;
    margin-bottom: 12px
}

.site-footer ul {
    list-style: none
}

.site-footer li {
    margin-bottom: 8px
}

.site-footer a {
    color: #b9c6d5;
    text-decoration: none
}

.site-footer a:hover {
    color: #fff
}

.footer-bottom {
    border-top: 1px solid #ffffff1a;
    padding-top: 16px;
    font-size: 13.5px;
    color: #8397ac
}

/* ===== MOBILE STICKY BAR (matches sitewide pattern; hidden on desktop) ===== */
.sticky-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 0;
    background: var(--navy-deep);
    border-top: 1px solid #ffffff22;
    padding: 9px 10px;
    gap: 8px
}

.sticky-bar a {
    flex: 1;
    text-align: center;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    color: #fff;
    border-radius: 9px;
    padding: 12px 4px
}

.sticky-bar .s-call {
    background: #ffffff16
}

.sticky-bar .s-order {
    background: var(--orange)
}

.sticky-bar .s-price {
    border: 1.5px solid #ffffff5e
}

/* ===== RESPONSIVE ===== */
@media(max-width:1100px) {
    .hdr-nav {
        display: none
    }
}

/* Keep the shared five-column footer balanced on this wide data page. */
@media(min-width:1181px) {
    html body footer .guest-footer-grid {
        grid-template-columns: minmax(290px, 1.3fr) minmax(180px, .9fr) minmax(210px, 1fr) minmax(150px, .75fr) minmax(220px, 1fr);
        gap: clamp(24px, 2.5vw, 48px);
        max-width: 1400px
    }

    html body footer .footer-brand .footer-links a {
        white-space: nowrap
    }

    html body footer .fbot {
        max-width: 1400px
    }
}

@media(max-width:760px) {
    .container {
        padding: 0 16px
    }

    .top-bar .container {
        font-size: 13px;
        gap: 6px
    }

    .info-grid {
        grid-template-columns: 1fr
    }

    .gloss {
        columns: 1
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr
    }

    .hero {
        padding: 44px 0 50px
    }

    .hero p.lead {
        font-size: 16.5px
    }

    .hero-ctas .btn {
        width: 100%
    }

    .jump {
        gap: 8px
    }

    .jump a {
        flex: 1;
        text-align: center;
        padding: 11px 10px;
        font-size: 14px
    }

    .legend {
        flex-direction: column;
        gap: 6px
    }

    .cta-band .btn-row {
        flex-direction: column;
        align-items: stretch
    }

    /* --- Tables transform into stacked cards: no sideways scrolling --- */
    table.panels {
        min-width: 0
    }

    table.panels thead {
        position: absolute;
        left: -9999px;
        top: -9999px
    }

    /* hidden visually, kept for screen readers */
    table.panels,
    table.panels tbody,
    table.panels tr,
    table.panels td {
        display: block;
        width: 100%
    }

    table.panels caption {
        padding: 18px 18px 4px;
        font-size: 19px
    }

    table.panels caption span {
        font-size: 13px
    }

    table.panels tbody tr {
        border-top: 1px solid var(--line);
        padding: 14px 18px 15px
    }

    table.panels tbody tr:nth-child(even) {
        background: #faf8f4
    }

    td.spec {
        display: none
    }

    /* specimen + detection window live in each table's caption on mobile */
    table.panels td {
        border-top: 0;
        padding: 0
    }

    td.panel-name {
        width: auto;
        font-size: 16.5px;
        padding-bottom: 4px
    }

    td.drugs {
        font-size: 14.5px;
        line-height: 1.65
    }

    td.drugs::before {
        content: "Drugs included: ";
        font-weight: 700;
        color: var(--navy);
        font-size: 12px;
        letter-spacing: .6px;
        text-transform: uppercase;
        display: block;
        margin-bottom: 2px
    }

    td.drugs .v-note {
        font-size: 12.5px
    }

    .sticky-bar {
        display: flex
    }

    body {
        padding-bottom: 62px
    }
}

@media(max-width:560px) {
    .hdr-cta .btn-hdr-outline {
        display: none
    }

    /* hide Login on small phones; Order a Test stays */
    .site-header .container {
        padding: 12px 16px
    }

    .logo-text {
        font-size: 22px
    }

    .logo-mark {
        width: 32px;
        height: 32px
    }
}

/* Match the shared layout's mobile/tablet breakpoint. */
@media(max-width:900px) {
    .table-wrap > .sec-inner {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        padding-inline: 16px
    }

    .table-wrap .jump {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        width: 100%
    }

    .table-wrap .jump a {
        min-width: 0;
        padding: 11px 8px;
        white-space: normal
    }

    .table-wrap .table-card,
    .table-wrap .table-scroll {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        overflow: hidden
    }

    .table-wrap table.panels {
        min-width: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        table-layout: auto
    }

    .table-wrap table.panels thead {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0
    }

    .table-wrap table.panels,
    .table-wrap table.panels tbody,
    .table-wrap table.panels tr,
    .table-wrap table.panels td {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important
    }

    .table-wrap table.panels caption {
        display: block;
        width: 100%;
        max-width: 100%;
        padding: 18px 18px 10px;
        line-height: 1.35
    }

    .table-wrap table.panels caption span {
        max-width: none;
        line-height: 1.55
    }

    .table-wrap table.panels tbody tr {
        padding: 14px 18px 15px
    }

    .table-wrap table.panels td {
        border-top: 0;
        padding: 0;
        overflow-wrap: anywhere
    }

    .table-wrap table.panels td.spec {
        display: none !important
    }

    .table-wrap table.panels td.panel-name {
        width: 100% !important;
        padding-bottom: 5px
    }

    .table-wrap table.panels td.drugs {
        line-height: 1.6
    }
}
