/* =========================================================
   Dr PreZiGen — Precision Oncology · Site stylesheet
   ========================================================= */
:root {
    --navy: #0a2a5c;
    --navy-2: #0d3270;
    --navy-deep: #061a3d;
    --teal: #0b7285;
    --teal-2: #0e8ca0;
    --teal-3: #13a8b8;
    --aqua: #22c4d4;
    --ink: #16243a;
    --body: #3d4c60;
    --muted: #6a798c;
    --line: #e1e9f1;
    --bg: #ffffff;
    --bg-soft: #f4f8fb;
    --bg-tint: #eef6f9;
    --c-teal: #0e8ca0;
    --c-teal-bg: #e3f4f6;
    --c-blue: #2f6fd6;
    --c-blue-bg: #e6effc;
    --c-orange: #e8812c;
    --c-orange-bg: #fdf0e3;
    --c-pink: #e04a6b;
    --c-pink-bg: #fde8ed;
    --c-purple: #8a4fd1;
    --c-purple-bg: #f1e9fb;
    --c-green: #239a68;
    --c-green-bg: #e3f5ec;
    --radius: 14px;
    --radius-sm: 10px;
    --shadow: 0 6px 24px rgba(10, 42, 92, 0.08);
    --shadow-lg: 0 18px 50px rgba(10, 42, 92, 0.14);
    --serif:
        'Libre Caslon Text', 'Libre Baskerville', Georgia, 'Times New Roman',
        serif;
    --sans:
        'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
    --script: 'Caveat', 'Segoe Script', 'Bradley Hand', cursive;
    --header-h: 76px;
}
*,
*::before,
*::after {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 12px);
}
a:focus-visible,
button:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
    outline: 3px solid var(--teal-2);
    outline-offset: 4px;
}
.skip-link {
    position: fixed;
    top: 12px;
    left: 16px;
    z-index: 120;
    padding: 12px 18px;
    border-radius: 8px;
    background: var(--navy);
    color: #fff;
    transform: translateY(-200%);
}
.skip-link:focus {
    transform: none;
}
html,
body {
    overflow-x: clip;
}
body {
    margin: 0;
    font-family: var(--sans);
    color: var(--body);
    background: var(--bg);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
img {
    max-width: 100%;
    display: block;
}
a {
    color: var(--teal);
    text-decoration: none;
}
h1,
h2,
h3,
h4 {
    color: var(--navy);
    margin: 0 0 0.5em;
    line-height: 1.15;
}
h1,
h2 {
    font-family: var(--serif);
    font-weight: 700;
    letter-spacing: -0.01em;
}
h1 {
    font-size: clamp(2.1rem, 3.9vw, 3.25rem);
}
h2 {
    font-size: clamp(1.65rem, 3vw, 2.3rem);
}
h3 {
    font-size: 1.12rem;
    font-weight: 650;
    font-family: var(--sans);
}
p {
    margin: 0 0 1em;
}
.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}
.ic {
    width: 1.25em;
    height: 1.25em;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex: none;
}
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
}
.accent {
    color: var(--teal-2);
}
.eyebrow {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--navy);
    margin-bottom: 14px;
}
.lead {
    font-size: 1.15rem;
    color: var(--body);
    max-width: 36em;
}
.section {
    padding: 72px 0;
}
.section-sm {
    padding: 48px 0;
}
.section-soft {
    background: var(--bg-soft);
}
.section-head {
    margin-bottom: 32px;
    max-width: 760px;
}
.section-head p {
    color: var(--muted);
    margin: 0;
}
.center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.98rem;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: 0.2s ease;
    font-family: inherit;
    line-height: 1.2;
    min-height: 44px;
    justify-content: center;
    text-align: center;
}
.btn .ic {
    width: 1.1em;
    height: 1.1em;
}
.btn-primary {
    background: linear-gradient(135deg, var(--teal) 0%, var(--teal-2) 100%);
    color: #fff;
    box-shadow: 0 6px 18px rgba(11, 114, 133, 0.28);
}
.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(11, 114, 133, 0.35);
}
.btn-outline {
    background: #fff;
    border-color: #c9d7e4;
    color: var(--navy);
}
.btn-outline:hover {
    border-color: var(--teal-2);
    color: var(--teal);
}
.btn-ghost-light {
    border-color: rgba(255, 255, 255, 0.6);
    color: #fff;
    background: transparent;
}
.btn-ghost-light:hover {
    background: rgba(255, 255, 255, 0.1);
}
.btn-white {
    background: #fff;
    color: var(--navy);
}
.btn-sm {
    padding: 9px 16px;
    font-size: 0.88rem;
}
.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--teal);
}
.link-arrow .ic {
    width: 1em;
    height: 1em;
    transition: transform 0.2s;
}
.link-arrow:hover .ic {
    transform: translateX(3px);
}
.btn-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

/* ---------- Header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}
.site-header .container {
    display: flex;
    align-items: center;
    gap: 24px;
    height: var(--header-h);
}
.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: none;
}
.brand-mark {
    height: 52px;
    width: auto;
}
.brand-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.brand-word {
    height: 23px;
    width: auto;
}
.brand-sub {
    font-size: 0.62rem;
    letter-spacing: 0.24em;
    color: var(--teal);
    font-weight: 600;
    padding-left: 2px;
}
.main-nav {
    margin-left: auto;
}
.main-nav > ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 4px;
}
.main-nav a,
.main-nav button.nav-link {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 10px 12px;
    font-size: 0.93rem;
    font-weight: 500;
    color: var(--ink);
    background: none;
    border: 0;
    cursor: pointer;
    font-family: inherit;
    position: relative;
}
.main-nav a:hover,
.main-nav button.nav-link:hover {
    color: var(--teal);
}
.main-nav .active > a,
.main-nav .active > button.nav-link {
    color: var(--teal);
}
.main-nav .active > a::after,
.main-nav .active > button.nav-link::after {
    content: '';
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 2px;
    height: 2px;
    border-radius: 2px;
    background: var(--teal-2);
}
.nav-link .ic {
    width: 14px;
    height: 14px;
    transition: transform 0.2s;
}
.has-drop {
    position: relative;
}
.dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: -12px;
    min-width: 320px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--shadow-lg);
    padding: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: 0.18s ease;
    list-style: none;
    margin: 0;
}
.has-drop:hover .dropdown,
.has-drop.open .dropdown {
    opacity: 1;
    visibility: visible;
    transform: none;
}
.has-drop:hover .nav-link .ic,
.has-drop.open .nav-link .ic {
    transform: rotate(180deg);
}
.dropdown a {
    display: flex !important;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 12px !important;
    border-radius: 10px;
}
.dropdown a:hover {
    background: var(--bg-soft);
}
.dropdown a::after {
    display: none;
}
.dropdown .chip {
    margin-top: 2px;
}
.dropdown strong {
    display: block;
    color: var(--navy);
    font-size: 0.92rem;
    font-weight: 600;
}
.dropdown small {
    display: block;
    color: var(--muted);
    font-size: 0.8rem;
    font-weight: 400;
    line-height: 1.35;
}
.dropdown li.is-current a {
    background: var(--bg-tint);
}
.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}
.icon-btn {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    border: 1px solid var(--line);
    background: #fff;
    display: grid;
    place-items: center;
    color: var(--navy);
    cursor: pointer;
}
.icon-btn:hover {
    border-color: var(--teal-2);
    color: var(--teal);
}
.nav-toggle {
    display: none;
}
.main-nav .nav-cta {
    display: none;
}

/* ---------- Icon chips ---------- */
.chip {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    flex: none;
    background: var(--c-teal-bg);
    color: var(--c-teal);
}
.chip .ic {
    width: 22px;
    height: 22px;
}
.chip-lg {
    width: 58px;
    height: 58px;
}
.chip-lg .ic {
    width: 28px;
    height: 28px;
}
.chip-sm {
    width: 34px;
    height: 34px;
}
.chip-sm .ic {
    width: 17px;
    height: 17px;
}
.chip.blue {
    background: var(--c-blue-bg);
    color: var(--c-blue);
}
.chip.orange {
    background: var(--c-orange-bg);
    color: var(--c-orange);
}
.chip.pink {
    background: var(--c-pink-bg);
    color: var(--c-pink);
}
.chip.purple {
    background: var(--c-purple-bg);
    color: var(--c-purple);
}
.chip.green {
    background: var(--c-green-bg);
    color: var(--c-green);
}
.chip.navy {
    background: #e4eaf5;
    color: var(--navy);
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #fbfdff 0%, #f2f8fb 100%);
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    align-items: stretch;
    min-height: 520px;
}
.hero-copy {
    padding: 72px 0 120px;
    position: relative;
    z-index: 2;
}
.hero-copy h1 {
    margin-bottom: 22px;
}
.hero-media {
    position: absolute;
    inset: 0 0 0 42%;
    z-index: 1;
}
.hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.page-professionals .hero-media img {
    object-position: 58% center;
}
.hero-media::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        #f7fbfd 0%,
        rgba(247, 251, 253, 0.75) 14%,
        rgba(247, 251, 253, 0) 42%
    );
    z-index: 1;
}
.hero-media::after {
    content: '';
    position: absolute;
    inset: auto 0 0 0;
    height: 30%;
    background: linear-gradient(0deg, rgba(242, 248, 251, 0.95), transparent);
    z-index: 1;
}
.script-quote {
    position: absolute;
    right: 4%;
    top: 14%;
    z-index: 3;
    font-family: var(--script);
    font-size: clamp(1.5rem, 2.4vw, 2.2rem);
    line-height: 1.15;
    color: var(--navy);
    transform: rotate(-6deg);
    text-align: left;
    text-shadow: 0 1px 10px rgba(255, 255, 255, 0.85);
}
.script-quote .ic {
    display: block;
    color: var(--teal-3);
    width: 30px;
    height: 30px;
    margin: 8px 0 0 auto;
}
.hero-dark .hero-media::before {
    background: linear-gradient(
        90deg,
        #f7fbfd 0%,
        rgba(247, 251, 253, 0.6) 18%,
        rgba(247, 251, 253, 0) 45%
    );
}

.feature-strip {
    position: relative;
    z-index: 5;
    margin-top: -64px;
}
.feature-strip .strip {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    display: grid;
    grid-template-columns: repeat(var(--n, 5), 1fr);
    border: 1px solid var(--line);
}
.feature-strip .item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 18px;
    font-size: 0.88rem;
    line-height: 1.3;
    color: var(--ink);
    font-weight: 500;
}
.feature-strip .item + .item {
    border-left: 1px solid var(--line);
}
.feature-strip .item small {
    display: block;
    color: var(--muted);
    font-weight: 400;
    font-size: 0.8rem;
    margin-top: 2px;
}

/* hero callout labels (science) */
.hero-label {
    position: absolute;
    z-index: 3;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(6px);
    border: 1px solid #dfe8f1;
    border-radius: 8px;
    padding: 6px 12px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--navy);
    line-height: 1.3;
    box-shadow: 0 4px 14px rgba(10, 42, 92, 0.12);
}
.hero-label small {
    display: block;
    font-weight: 400;
    color: var(--body);
    font-size: 0.74rem;
}
@media (max-width: 640px) {
    .hero-label {
        display: none;
    }
}

/* ---------- Dark feature panel ---------- */
.panel-dark {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: radial-gradient(
        120% 120% at 70% 40%,
        #123f86 0%,
        #0a2a5c 45%,
        #061a3d 100%
    );
    color: #d7e3f4;
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    min-height: 330px;
}
.panel-dark h2 {
    color: #fff;
}
.panel-dark .copy {
    padding: 48px 44px;
    position: relative;
    z-index: 2;
    align-self: center;
}
.panel-dark .visual {
    position: relative;
}
.panel-dark .visual img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    mask-image: linear-gradient(90deg, transparent 0%, #000 30%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 30%);
}
.panel-dark .pillars {
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 14px;
    z-index: 2;
    background: rgba(6, 26, 61, 0.62);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 16px;
    padding: 18px 20px;
}
.pillar {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
}
.pillar .chip {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(6px);
}
.pillar strong {
    display: block;
    font-size: 0.95rem;
}
.pillar small {
    display: block;
    color: #b8c9e2;
    font-size: 0.8rem;
}

/* ---------- Cards ---------- */
.grid {
    display: grid;
    gap: 22px;
}
.g-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.g-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
.g-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}
.g-5 {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}
.g-6 {
    grid-template-columns: repeat(6, minmax(0, 1fr));
}
.card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 2px 10px rgba(10, 42, 92, 0.04);
    transition: 0.22s ease;
    position: relative;
}
.card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}
.card-pad {
    padding: 24px;
}
.media-card {
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.media-card .media {
    height: 150px;
    overflow: hidden;
    background: var(--bg-tint);
}
.media-card .media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}
.media-card:hover .media img {
    transform: scale(1.04);
}
.media-card .body {
    padding: 30px 20px 22px;
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.media-card .body .chip {
    position: absolute;
    top: -24px;
    left: 18px;
    border: 3px solid #fff;
}
.media-card .for {
    font-size: 0.75rem;
    color: var(--muted);
    display: block;
}
.media-card h3 {
    font-family: var(--serif);
    font-size: 1.12rem;
    font-weight: 700;
    margin: 0 0 8px;
}
.media-card p {
    font-size: 0.9rem;
    color: var(--muted);
    flex: 1;
}
.service-grid .media {
    height: auto;
    aspect-ratio: 8 / 5;
}
.service-grid .body {
    padding: 32px 22px 24px;
}
.service-grid h3 {
    font-size: clamp(1.18rem, 1.5vw, 1.4rem);
    line-height: 1.25;
    text-wrap: balance;
    min-height: 2.5em;
}
.service-grid .link-arrow {
    padding-top: 10px;
    margin-top: auto;
}
.service-grid .card:focus-visible {
    border-color: var(--teal);
}
.round-arrow {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--navy);
    color: #fff;
    display: grid;
    place-items: center;
    margin-top: 6px;
}
.round-arrow .ic {
    width: 16px;
    height: 16px;
}

.tile {
    text-align: center;
    padding: 26px 16px;
}
.tile .chip {
    margin: 0 auto 14px;
}
.tile h3 {
    font-size: 0.98rem;
    margin-bottom: 6px;
}
.tile p {
    font-size: 0.85rem;
    color: var(--muted);
    margin: 0;
}

.row-card {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 20px;
}
.row-card h3 {
    margin-bottom: 4px;
    font-size: 1rem;
}
.row-card p {
    font-size: 0.88rem;
    color: var(--muted);
    margin: 0;
}

/* ---------- Stats / dark band ---------- */
.band {
    position: relative;
    color: #fff;
    overflow: hidden;
    background: #061a3d;
}
.band .bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.55;
}
.band::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(6, 26, 61, 0.94) 0%,
        rgba(6, 26, 61, 0.7) 45%,
        rgba(6, 26, 61, 0.45) 100%
    );
    z-index: 1;
}
.band .container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    align-items: center;
    gap: 40px;
    padding-top: 56px;
    padding-bottom: 56px;
}
.band h2 {
    color: #fff;
    font-size: clamp(1.6rem, 2.8vw, 2.2rem);
    margin: 0;
}
.band h2::after {
    content: '';
    display: block;
    width: 56px;
    height: 3px;
    background: var(--aqua);
    margin-top: 16px;
    border-radius: 2px;
}
.band p {
    color: #c9d7ea;
    margin: 12px 0 0;
}
.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    text-align: center;
}
.stat strong {
    display: block;
    font-family: var(--serif);
    font-size: clamp(1.5rem, 2.6vw, 2.1rem);
    color: #fff;
    font-weight: 700;
}
.stat span {
    font-size: 0.82rem;
    color: #b9cbe4;
}
.stat .chip {
    margin: 0 auto 10px;
    background: rgba(255, 255, 255, 0.08);
    border: 1.5px solid rgba(255, 255, 255, 0.55);
    color: #fff;
}

/* ---------- Steps ---------- */
.steps {
    display: grid;
    grid-template-columns: repeat(var(--n, 5), 1fr);
    gap: 0;
    position: relative;
}
.step {
    text-align: center;
    padding: 24px 14px;
    position: relative;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    margin: 0 10px;
}
.step .chip {
    margin: 0 auto 14px;
}
.step .num {
    position: absolute;
    top: 56px;
    left: 22px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--teal);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    display: grid;
    place-items: center;
}
.step h3 {
    font-size: 0.98rem;
    margin-bottom: 6px;
}
.step p {
    font-size: 0.84rem;
    color: var(--muted);
    margin: 0;
}
.step:not(:last-child)::after {
    content: '→';
    position: absolute;
    right: -17px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--teal-2);
    font-weight: 700;
    z-index: 2;
}
.flow {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: wrap;
}
.flow .f {
    flex: 1;
    min-width: 110px;
    text-align: center;
    position: relative;
}
.flow .f .chip {
    margin: 0 auto 10px;
}
.flow .f strong {
    display: block;
    font-size: 0.85rem;
    color: var(--ink);
    line-height: 1.3;
}
.flow .f:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 29px;
    left: calc(50% + 36px);
    right: calc(-50% + 36px);
    border-top: 2px dashed #b9d9e1;
}

.vsteps {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.vstep {
    display: grid;
    grid-template-columns: 30px 44px 1fr;
    gap: 14px;
    align-items: flex-start;
}
.vstep .n {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--navy);
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 0.8rem;
    font-weight: 700;
    margin-top: 8px;
}
.vstep strong {
    display: block;
    color: var(--ink);
    font-size: 0.97rem;
}
.vstep span {
    font-size: 0.86rem;
    color: var(--muted);
}

/* ---------- Lists ---------- */
.checklist {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.checklist li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 0.93rem;
    color: var(--ink);
}
.checklist .ic {
    color: var(--teal-2);
    margin-top: 2px;
    width: 18px;
    height: 18px;
}
.checklist.light li {
    color: #e6eef9;
}
.checklist.light .ic {
    color: var(--aqua);
}
.checklist.cols-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

/* ---------- Two-col blocks ---------- */
.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}
.split-60 {
    grid-template-columns: 1.35fr 1fr;
}
.split-40 {
    grid-template-columns: 1fr 1.35fr;
}
.img-round {
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow);
    position: relative;
}
.img-round img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.img-round .script-quote {
    top: auto;
    bottom: 12%;
    right: 6%;
    font-size: 1.6rem;
    color: #fff;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}

/* ---------- Tabs ---------- */
.tabs {
    display: flex;
    gap: 4px;
    border-bottom: 1px solid var(--line);
    overflow-x: auto;
    scrollbar-width: none;
}
.tabs button,
.tabs a {
    flex: 1;
    min-width: max-content;
    padding: 14px 18px;
    background: none;
    border: 0;
    border-bottom: 3px solid transparent;
    font: inherit;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.tabs a:hover {
    color: var(--teal);
}
.tabs button .n {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #dfe8f1;
    color: var(--muted);
    font-size: 0.72rem;
    display: grid;
    place-items: center;
}
.tabs button[aria-selected='true'],
.tabs a[aria-selected='true'] {
    color: var(--navy);
    border-bottom-color: var(--teal-2);
}
.tabs button[aria-selected='true'] .n {
    background: var(--teal);
    color: #fff;
}
.tab-panel {
    display: none;
    padding: 24px 0 0;
    animation: fade 0.3s ease;
}
.tab-panel.active {
    display: block;
}
@keyframes fade {
    from {
        opacity: 0;
        transform: translateY(4px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}
.audience-tabs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}
.audience-tabs button {
    padding: 18px 14px;
    border: 0;
    background: #fff;
    font: inherit;
    cursor: pointer;
    color: var(--teal);
    font-weight: 600;
    border-left: 1px solid var(--line);
}
.audience-tabs button:first-child {
    border-left: 0;
}
.audience-tabs button small {
    display: block;
    color: var(--muted);
    font-weight: 400;
    font-size: 0.8rem;
}
.audience-tabs button[aria-selected='true'] {
    background: var(--navy);
    color: #fff;
}
.audience-tabs button[aria-selected='true'] small {
    color: #c4d3ea;
}

/* ---------- Timeline ---------- */
.timeline {
    list-style: none;
    margin: 0;
    padding: 0 0 0 0;
    position: relative;
}
.timeline::before {
    content: '';
    position: absolute;
    left: 84px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: linear-gradient(var(--teal-3), #c4e7ec);
}
.timeline li {
    display: grid;
    grid-template-columns: 64px 40px 1fr;
    align-items: flex-start;
    gap: 0;
    padding: 12px 0;
}
.timeline .yr {
    font-weight: 700;
    color: var(--navy);
    font-size: 0.95rem;
    padding-top: 2px;
}
.timeline .dot {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #fff;
    border: 4px solid var(--teal-2);
    margin: 3px 0 0 11px;
    position: relative;
    z-index: 1;
}
.timeline p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--body);
}

/* ---------- Hallmarks ---------- */
.hallmarks {
    display: grid;
    grid-template-columns: 1fr 300px 1fr;
    gap: 28px;
    align-items: center;
}
.hallmarks ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.hallmarks li {
    display: flex;
    align-items: center;
    gap: 14px;
}
.hallmarks .left li {
    flex-direction: row-reverse;
    text-align: right;
}
.hallmarks strong {
    display: block;
    color: var(--navy);
    font-size: 0.92rem;
}
.hallmarks small {
    display: block;
    color: var(--muted);
    font-size: 0.8rem;
    line-height: 1.35;
}
.wheel {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    padding: 26px;
    background: conic-gradient(
        #1aa7b8 0 10%,
        #33b6a3 0 20%,
        #f0b341 0 30%,
        #ef8a3c 0 40%,
        #e85d5d 0 50%,
        #d65a96 0 60%,
        #9a62d6 0 70%,
        #6a78e0 0 80%,
        #3e8fe0 0 90%,
        #2aa1d4 0 100%
    );
    box-shadow: var(--shadow-lg);
    position: relative;
}
.wheel::before {
    content: '';
    position: absolute;
    inset: 22px;
    border-radius: 50%;
    background: #fff;
    opacity: 0.35;
}
.wheel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 6px solid #fff;
    position: relative;
}

/* ---------- Compare (normal vs cancer) ---------- */
.compare {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow);
}
.compare figure {
    margin: 0;
    position: relative;
    height: 240px;
}
.compare img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.compare figcaption {
    position: absolute;
    top: 14px;
    left: 16px;
    font-size: 0.85rem;
    color: var(--navy);
    font-weight: 600;
    line-height: 1.3;
    background: rgba(255, 255, 255, 0.82);
    padding: 8px 12px;
    border-radius: 8px;
}
.compare figcaption small {
    display: block;
    font-weight: 400;
    color: var(--body);
    font-size: 0.78rem;
}
.compare figure.bad figcaption {
    color: #b52a2a;
}
.compare .swap {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #fff;
    box-shadow: var(--shadow);
    display: grid;
    place-items: center;
    color: var(--c-blue);
    z-index: 2;
}

/* ---------- Path / explore tiles ---------- */
.path {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 28px;
}
.path .p {
    position: relative;
}
.path .p:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -22px;
    top: 118px;
    width: 16px;
    height: 16px;
    border-top: 2.5px solid var(--teal-2);
    border-right: 2.5px solid var(--teal-2);
    transform: rotate(45deg);
}
.path .p .h {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 650;
    color: var(--ink);
    margin-bottom: 10px;
    font-size: 0.95rem;
}
.path .p .h b {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--teal);
    color: #fff;
    font-size: 0.78rem;
    display: grid;
    place-items: center;
}
.path .p img {
    border-radius: 10px;
    height: 130px;
    width: 100%;
    object-fit: cover;
    box-shadow: 0 4px 14px rgba(10, 42, 92, 0.1);
}
.path .p small {
    display: block;
    text-align: center;
    color: var(--muted);
    margin-top: 10px;
    font-size: 0.84rem;
    line-height: 1.4;
}
.explore {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 14px;
}
.explore a {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    transition: 0.2s;
}
.explore a:hover,
.explore a.on {
    border-color: var(--teal-2);
    box-shadow: 0 0 0 2px var(--teal-2) inset;
}
.explore a.on {
    background: var(--teal);
}
.explore a.on strong,
.explore a.on small {
    color: #fff;
}
.explore .t {
    padding: 12px 14px 10px;
    flex: 1;
}
.explore strong {
    display: block;
    color: var(--navy);
    font-size: 0.9rem;
}
.explore small {
    color: var(--muted);
    font-size: 0.78rem;
}
.explore img {
    height: 96px;
    width: 100%;
    object-fit: cover;
}

/* ---------- FAQ ---------- */
.faq {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.faq details {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 0;
    transition: 0.2s;
}
.faq details[open] {
    box-shadow: var(--shadow);
}
.faq summary {
    list-style: none;
    cursor: pointer;
    padding: 18px;
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 12px;
    align-items: center;
    font-weight: 600;
    color: var(--navy);
    font-size: 0.92rem;
    position: relative;
    padding-bottom: 36px;
}
.faq summary::-webkit-details-marker {
    display: none;
}
.faq summary::after {
    content: '+';
    position: absolute;
    right: 16px;
    bottom: 8px;
    font-size: 1.4rem;
    color: var(--navy);
    font-weight: 400;
}
.faq details[open] summary::after {
    content: '−';
}
.faq details p {
    padding: 0 18px 18px;
    margin: 0;
    font-size: 0.88rem;
    color: var(--body);
}
.faq details:nth-child(1) {
    background: #f6f1fd;
}
.faq details:nth-child(2) {
    background: #fef6ec;
}
.faq details:nth-child(3) {
    background: #fcf0f6;
}
.faq details:nth-child(4) {
    background: #eff7f5;
}

/* ---------- Testimonials ---------- */
.carousel {
    position: relative;
}
.carousel .track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc(50% - 10px);
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding: 4px;
}
.carousel .track::-webkit-scrollbar {
    display: none;
}
.quote-card {
    scroll-snap-align: start;
    display: grid;
    grid-template-columns: 96px 1fr;
    gap: 18px;
    padding: 18px;
    align-items: center;
}
.quote-card img {
    width: 96px;
    height: 96px;
    border-radius: 12px;
    object-fit: cover;
}
.quote-card blockquote {
    margin: 0;
    font-family: var(--serif);
    font-style: italic;
    color: var(--ink);
    font-size: 0.98rem;
    line-height: 1.5;
}
.quote-card cite {
    display: block;
    margin-top: 10px;
    font-style: normal;
    color: var(--muted);
    font-size: 0.82rem;
}
.tag-illustrative {
    display: inline-block;
    font-size: 0.68rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--muted);
    border: 1px dashed #b8c6d4;
    border-radius: 4px;
    padding: 1px 6px;
    margin-top: 6px;
}
.car-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    display: grid;
    place-items: center;
    cursor: pointer;
    color: var(--navy);
    z-index: 2;
}
.car-btn.prev {
    left: -16px;
}
.car-btn.next {
    right: -16px;
}
.dots {
    display: flex;
    gap: 6px;
    justify-content: center;
    margin-top: 14px;
}
.dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #c9d7e4;
}
.dots span.on {
    background: var(--navy);
}

/* ---------- Report ---------- */
.report-card {
    background: linear-gradient(160deg, #f3f9fc, #e9f3f8);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 26px;
    position: relative;
    overflow: hidden;
}
.report-card h3 {
    font-family: var(--serif);
    font-size: 1.25rem;
    font-weight: 700;
}
.report-thumb {
    position: relative;
    display: block;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 14px 34px rgba(10, 42, 92, 0.2);
    transform: rotate(3deg);
    background: #fff;
    border: 1px solid #dbe5ee;
    transition: 0.3s;
}
.report-thumb:hover {
    transform: rotate(0) scale(1.02);
}
.report-thumb img {
    width: 100%;
}
.report-thumb .zoom {
    position: absolute;
    right: 10px;
    bottom: 10px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--navy);
    color: #fff;
    display: grid;
    place-items: center;
}
.report-split {
    display: grid;
    grid-template-columns: 1fr 180px;
    gap: 22px;
    align-items: center;
}
.report-split.wide {
    grid-template-columns: 1fr 220px;
}
.report-viewer {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    padding: 14px;
    position: relative;
}
.report-viewer img {
    width: 100%;
    border-radius: 6px;
    cursor: zoom-in;
}
.report-zoom {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    border-radius: 6px;
    background: none;
    cursor: zoom-in;
}
.report-toc {
    position: sticky;
    top: calc(var(--header-h) + 20px);
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.report-toc .row-card {
    padding: 16px;
}
.watermark {
    position: absolute;
    top: 22px;
    right: 22px;
    background: var(--navy);
    color: #fff;
    font-size: 0.7rem;
    letter-spacing: 0.14em;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 6px;
}

/* ---------- AI + human ---------- */
.dual {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 18px;
    align-items: start;
}
.dual .plus {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--c-teal-bg);
    color: var(--teal);
    display: grid;
    place-items: center;
    margin-top: 8px;
}
.dual h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.98rem;
    color: var(--navy);
    margin-bottom: 14px;
}

/* ---------- Test types ---------- */
.tests .media-card .media {
    height: 110px;
}
.tests .media-card .body {
    padding: 14px 14px 16px;
}
.tests h3 {
    font-family: var(--sans) !important;
    font-size: 0.92rem !important;
}
.tests p {
    font-size: 0.8rem;
}

/* ---------- Focus areas ---------- */
.focus {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}
.focus div {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 16px 8px;
    text-align: center;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--ink);
}
.focus .chip {
    margin: 0 auto 8px;
}

/* ---------- CTA band ---------- */
.cta {
    position: relative;
    overflow: hidden;
    background: radial-gradient(
        120% 140% at 80% 10%,
        #123f86 0%,
        #0a2a5c 45%,
        #061a3d 100%
    );
    color: #d5e1f2;
}
.cta .container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 0.9fr 1.3fr;
    gap: 40px;
    align-items: center;
    min-height: 300px;
}
.cta .cta-img {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    height: 100%;
    width: 38%;
    object-fit: cover;
    mask-image: linear-gradient(90deg, #000 55%, transparent);
    -webkit-mask-image: linear-gradient(90deg, #000 55%, transparent);
    opacity: 0.9;
}
.cta.img-right .cta-img {
    left: auto;
    right: 0;
    width: 42%;
    mask-image: linear-gradient(270deg, #000 55%, transparent);
    -webkit-mask-image: linear-gradient(270deg, #000 55%, transparent);
}
.cta h2 {
    color: #fff;
}
.cta .eyebrow {
    color: #9fd3dd;
}
.cta .values {
    display: flex;
    gap: 26px;
    margin-top: 22px;
    flex-wrap: wrap;
}
.cta .values div {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.82rem;
    color: #fff;
    line-height: 1.3;
}
.cta .values small {
    display: block;
    color: #a9bcd8;
}
.cta .values .chip {
    background: transparent;
    border: 1.5px solid rgba(255, 255, 255, 0.55);
    color: #fff;
}

/* ---------- Footer ---------- */
.site-footer {
    background: #04142f;
    color: #9fb1cb;
    font-size: 0.9rem;
}
.site-footer .top {
    display: grid;
    grid-template-columns: 1.4fr repeat(3, 1fr);
    gap: 40px;
    padding: 56px 0 36px;
}
.site-footer h4 {
    color: #fff;
    font-size: 0.95rem;
    margin-bottom: 14px;
}
.site-footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 9px;
}
.site-footer a {
    color: #b9c8dd;
}
.site-footer a:hover {
    color: #fff;
}
.f-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}
.f-brand img.m {
    height: 54px;
}
.f-brand img.w {
    height: 24px;
}
.site-footer .bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 0.8rem;
}
.disclaimer {
    font-size: 0.78rem;
    color: #7f93b1;
    max-width: 760px;
}

/* ---------- Modal ---------- */
.modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(6, 26, 61, 0.6);
    backdrop-filter: blur(4px);
}
.modal.open {
    display: flex;
}
.modal-box {
    background: #fff;
    border-radius: 18px;
    max-width: 560px;
    width: 100%;
    max-height: calc(100dvh - 40px);
    overflow: auto;
    padding: 30px;
    position: relative;
    box-shadow: var(--shadow-lg);
}
.modal-box h2 {
    font-size: 1.6rem;
}
.modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
}
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.form-grid .full {
    grid-column: 1/-1;
}
.field label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 6px;
}
.field input,
.field select,
.field textarea {
    width: 100%;
    padding: 11px 13px;
    border: 1px solid #cfdae6;
    border-radius: 9px;
    font: inherit;
    font-size: 1rem;
    color: var(--ink);
    background: #fff;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: 2px solid rgba(14, 140, 160, 0.35);
    border-color: var(--teal-2);
}
.form-note {
    font-size: 0.78rem;
    color: var(--muted);
    margin-top: 12px;
}
.alert {
    padding: 12px 16px;
    border-radius: 10px;
    margin: 14px 0;
    font-size: 0.9rem;
}
.alert-ok {
    background: var(--c-green-bg);
    color: #17603f;
}
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 110;
    background: rgba(4, 20, 47, 0.92);
    display: none;
    overflow: auto;
    padding: 30px;
    cursor: zoom-out;
}
.lightbox.open {
    display: block;
}
.lightbox img {
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
    border-radius: 8px;
}
.lightbox-close {
    position: sticky;
    top: 0;
    margin: 0 0 16px auto;
    z-index: 1;
}

/* ---------- Example (patients) ---------- */
.example {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 28px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 26px;
    box-shadow: var(--shadow);
}
.example select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #cfdae6;
    border-radius: 9px;
    font: inherit;
    color: var(--navy);
    font-weight: 600;
    margin: 16px 0 18px;
    background: #fff;
}
.ex-body {
    display: grid;
    grid-template-columns: 200px 1fr 1fr;
    gap: 20px;
}
.ex-body img {
    border-radius: 10px;
    height: 150px;
    width: 100%;
    object-fit: cover;
}
.ex-body .cap {
    font-size: 0.78rem;
    color: var(--muted);
    margin-top: 6px;
}
.ex-help {
    background: var(--bg-soft);
    border-radius: 12px;
    padding: 16px;
}
.ex-help h4 {
    display: flex;
    gap: 8px;
    align-items: center;
    font-size: 0.95rem;
}
.ex-help p {
    font-size: 0.86rem;
    margin: 0;
}

/* ---------- Situations ---------- */
.situ {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
.situ a {
    position: relative;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    border-radius: var(--radius);
    overflow: hidden;
    min-height: 150px;
    border: 1px solid var(--line);
    transition: 0.2s;
}
.situ a:hover {
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}
.situ .t {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.situ h3 {
    font-family: var(--serif);
    font-size: 1.2rem;
    font-weight: 700;
    display: flex;
    gap: 10px;
    align-items: center;
    margin: 0;
}
.situ p {
    font-size: 0.86rem;
    color: var(--body);
    margin: 0;
    flex: 1;
}
.situ img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.situ a:nth-child(1) {
    background: linear-gradient(120deg, #fff4e8, #fdf8f2);
}
.situ a:nth-child(2) {
    background: linear-gradient(120deg, #e9f1fb, #f5f9fd);
}
.situ a:nth-child(3) {
    background: linear-gradient(120deg, #e7f3f7, #f3f9fb);
}

/* ---------- Reveal ---------- */
.reveal {
    opacity: 1;
}
.has-reveal .reveal {
    opacity: 0;
    transform: translateY(16px);
    transition:
        opacity 0.6s ease,
        transform 0.6s ease;
}
.has-reveal .reveal.in {
    opacity: 1;
    transform: none;
}
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    .has-reveal .reveal {
        opacity: 1;
        transform: none;
    }
    * {
        transition: none !important;
        animation: none !important;
    }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1180px) {
    .main-nav a,
    .main-nav button.nav-link {
        padding: 10px 8px;
        font-size: 0.88rem;
    }
    .header-actions .btn {
        padding: 10px 14px;
    }
    .g-6 {
        grid-template-columns: repeat(3, 1fr);
    }
    .explore {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 1024px) {
    :root {
        --header-h: 68px;
    }
    .site-header {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background: #fff;
    }
    .nav-toggle {
        display: grid;
    }
    .header-actions {
        margin-left: auto;
    }
    .site-header .container {
        gap: 12px;
    }
    .main-nav .nav-cta {
        display: block;
        border: 0 !important;
        padding-top: 20px;
    }
    .main-nav .nav-cta a {
        justify-content: center !important;
        color: #fff !important;
        padding: 14px !important;
    }
    .main-nav {
        position: fixed;
        top: var(--header-h);
        left: 0;
        right: 0;
        height: calc(100dvh - var(--header-h));
        background: #fff;
        padding: 12px 20px 40px;
        overflow: auto;
        transform: translateX(100%);
        visibility: hidden;
        transition:
            transform 0.25s ease,
            visibility 0.25s;
        margin: 0;
        overscroll-behavior: contain;
    }
    body.nav-open .main-nav {
        transform: none;
        visibility: visible;
    }
    body.nav-open {
        overflow: hidden;
    }
    .main-nav > ul {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }
    .main-nav > ul > li {
        border-bottom: 1px solid var(--line);
    }
    .main-nav a,
    .main-nav button.nav-link {
        padding: 16px 4px;
        font-size: 1rem;
        width: 100%;
        justify-content: space-between;
    }
    .main-nav .active > a::after,
    .main-nav .active > button.nav-link::after {
        display: none;
    }
    .dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: 0;
        padding: 0 0 10px;
        display: none;
        min-width: 0;
    }
    .has-drop:hover .dropdown {
        display: none;
    }
    .has-drop.open .dropdown {
        display: block;
    }
    .header-actions .btn,
    .header-actions .icon-btn.hide-sm {
        display: none;
    }
    .hero-grid {
        grid-template-columns: 1fr;
        min-height: 0;
    }
    .hero-copy {
        padding: 48px 0 32px;
    }
    .hero-media {
        position: relative;
        inset: auto;
        height: 340px;
        margin: 0;
    }
    .hero-media::before {
        background: linear-gradient(
            180deg,
            #f7fbfd 0%,
            rgba(247, 251, 253, 0) 30%
        );
    }
    .feature-strip {
        margin-top: -30px;
    }
    .feature-strip .strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .feature-strip .item + .item {
        border-left: 0;
    }
    .feature-strip .item {
        border-top: 1px solid var(--line);
    }
    .feature-strip .item:nth-child(-n + 2) {
        border-top: 0;
    }
    .feature-strip .item:nth-child(2n) {
        border-left: 1px solid var(--line);
    }
    .feature-strip .item:last-child:nth-child(odd) {
        grid-column: 1 / -1;
    }
    .g-4,
    .g-5 {
        grid-template-columns: repeat(2, 1fr);
    }
    .g-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    .split,
    .split-60,
    .split-40 {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .panel-dark {
        grid-template-columns: 1fr;
    }
    .panel-dark .visual {
        min-height: 300px;
        height: auto;
    }
    .panel-dark .visual img {
        mask-image: linear-gradient(180deg, transparent, #000 30%);
        -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%);
    }
    .steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    .step {
        margin: 0;
    }
    .step:not(:last-child)::after {
        display: none;
    }
    .band .container,
    .cta .container {
        grid-template-columns: 1fr;
    }
    .cta .cta-img {
        width: 100%;
        opacity: 0.25;
        mask-image: none;
        -webkit-mask-image: none;
    }
    .hallmarks {
        grid-template-columns: 1fr;
    }
    .hallmarks .left li {
        flex-direction: row;
        text-align: left;
    }
    .wheel {
        margin: 0 auto;
        order: -1;
    }
    .path {
        grid-template-columns: repeat(2, 1fr);
    }
    .path .p::after {
        display: none;
    }
    .faq {
        grid-template-columns: repeat(2, 1fr);
    }
    .situ {
        grid-template-columns: 1fr;
    }
    .example {
        grid-template-columns: 1fr;
    }
    .ex-body {
        grid-template-columns: 1fr 1fr;
    }
    .site-footer .top {
        grid-template-columns: 1fr 1fr;
    }
    .dual {
        grid-template-columns: 1fr;
    }
    .dual .plus {
        margin: 0 auto;
    }
    .audience-tabs {
        grid-template-columns: repeat(2, 1fr);
    }
    .report-toc {
        position: static;
    }
}
@media (max-width: 640px) {
    .container {
        padding: 0 16px;
    }
    .hero-media {
        height: auto;
        aspect-ratio: 4 / 3;
        max-height: 340px;
    }
    .hero-media > img {
        position: absolute;
        inset: 0;
    }
    .hero-copy,
    .hero-copy[style] {
        padding: 34px 0 28px !important;
    }
    .hero-copy h1 {
        font-size: clamp(2rem, 8.2vw, 2.65rem);
        line-height: 1.16;
        margin-bottom: 18px;
    }
    .hero .lead {
        font-size: 1rem;
        line-height: 1.65;
        margin-bottom: 0;
    }
    .eyebrow {
        font-size: 0.69rem;
        letter-spacing: 0.12em;
        line-height: 1.5;
        margin-bottom: 12px;
    }
    .hero .btn-row {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
        margin-top: 22px;
    }
    .btn {
        max-width: 100%;
        min-height: 48px;
        padding: 13px 18px;
        font-size: 0.93rem;
    }
    .btn-row {
        gap: 10px;
    }
    .btn-row > .btn {
        flex: 1 1 220px;
    }
    .section {
        padding: 52px 0;
    }
    .section-head {
        margin-bottom: 24px;
    }
    .section-head h2 {
        font-size: 1.8rem;
    }
    .brand-mark {
        height: 44px;
    }
    .brand-word {
        height: 19px;
    }
    .brand-sub {
        font-size: 0.55rem;
    }
    .g-2,
    .g-3,
    .g-4,
    .g-5,
    .g-6 {
        grid-template-columns: 1fr;
    }
    .feature-strip .strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        box-shadow: none;
    }
    .feature-strip {
        margin-top: 0;
        padding-top: 16px;
        background: var(--bg-soft);
    }
    .feature-strip .item {
        padding: 14px 12px;
        gap: 10px;
        font-size: 0.77rem;
        line-height: 1.4;
    }
    .feature-strip .chip {
        width: 32px;
        height: 32px;
    }
    .feature-strip .chip .ic {
        width: 18px;
        height: 18px;
    }
    .service-grid {
        gap: 20px;
    }
    .service-grid .media {
        aspect-ratio: 16 / 10;
    }
    .service-grid .body {
        padding: 32px 22px 24px;
    }
    .service-grid h3 {
        font-size: 1.45rem;
        text-wrap: initial;
        min-height: 0;
    }
    .page-home .script-quote {
        left: 20px;
        right: auto;
        top: auto;
        bottom: 22px;
    }
    .tests h3 {
        overflow-wrap: break-word;
    }
    .service-grid p {
        font-size: 0.95rem;
    }
    .panel-dark .copy {
        padding: 30px 24px 20px;
    }
    .panel-dark .visual {
        min-height: 0;
        padding: 32px 20px 24px;
    }
    .panel-dark .pillars {
        position: relative;
        top: auto;
        right: auto;
        transform: none;
        padding: 16px;
        gap: 12px;
    }
    .panel-dark .visual img {
        opacity: 0.55;
    }
    .card-pad,
    .report-card,
    .example {
        padding: 22px;
    }
    .report-thumb {
        margin: 0 auto;
    }
    .tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        scroll-snap-type: x proximity;
    }
    .tabs > * {
        flex-shrink: 0;
        min-height: 44px;
        scroll-snap-align: start;
    }
    .modal {
        padding: 12px;
    }
    .modal-box {
        padding: 28px 20px 22px;
        max-height: calc(100dvh - 24px);
        overscroll-behavior: contain;
    }
    .modal-box h2 {
        max-width: calc(100% - 32px);
    }
    .modal-close {
        right: 10px;
        top: 10px;
    }
    .form-grid .btn {
        width: 100%;
    }
    .lightbox {
        padding: 16px;
    }
    .stats {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 24px;
    }
    .steps {
        grid-template-columns: 1fr;
    }
    .explore {
        grid-template-columns: repeat(2, 1fr);
    }
    .path {
        grid-template-columns: 1fr;
    }
    .faq {
        grid-template-columns: 1fr;
    }
    .focus {
        grid-template-columns: repeat(2, 1fr);
    }
    .carousel .track {
        grid-auto-columns: 100%;
    }
    .quote-card {
        grid-template-columns: 72px 1fr;
    }
    .quote-card img {
        width: 72px;
        height: 72px;
    }
    .compare {
        grid-template-columns: 1fr;
    }
    .compare .swap {
        display: none;
    }
    .ex-body {
        grid-template-columns: 1fr;
    }
    .report-split,
    .report-split.wide {
        grid-template-columns: 1fr;
    }
    .report-thumb {
        max-width: 200px;
    }
    .checklist.cols-2 {
        grid-template-columns: 1fr;
    }
    .site-footer .top {
        grid-template-columns: 1fr;
    }
    .form-grid {
        grid-template-columns: 1fr;
    }
    .flow .f:not(:last-child)::after {
        display: none;
    }
    .script-quote {
        font-size: 1.35rem;
    }
    .audience-tabs {
        grid-template-columns: 1fr;
    }
    .car-btn {
        display: none;
    }
}
.grid > * {
    min-width: 0;
}
.flow-3 {
    row-gap: 22px;
}
.flow-3 .f {
    flex: 0 0 calc(33.333% - 6px);
}
.flow-3 .f:nth-child(3n)::after {
    display: none;
}
@media (max-width: 1024px) {
    .grid[style*='grid-template-columns'] {
        grid-template-columns: 1fr !important;
    }
}
@media (max-width: 640px) {
    .card[style*='grid-template-columns'] {
        grid-template-columns: 1fr !important;
    }
    .card[style*='grid-template-columns'] > img {
        height: 200px !important;
        width: 100%;
    }
    .flow-3 .f {
        flex: 0 0 calc(50% - 4px);
        min-width: 0;
    }
    .flow-3 .f::after {
        display: none;
    }
    .grid.g-4[style*='gap'] {
        grid-template-columns: repeat(2, 1fr);
    }
    .tests.g-5 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Legal and payment pages (added for the Laravel app) */
.legal-body h2 {
    font-size: 1.4rem;
    margin: 36px 0 12px;
}
.legal-body ul {
    padding-left: 1.2em;
}
.legal-body li {
    margin-bottom: 6px;
}
.legal-body a {
    color: var(--teal);
    text-decoration: underline;
}
.price-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}
.price-card .price {
    font-family: var(--serif);
    font-size: 2rem;
    color: var(--navy);
    margin: auto 0 4px;
    padding-top: 18px;
}
