:root {
    --ink: #202536;
    --muted: #646d79;
    --maroon: #762a3d;
    --maroon-dark: #541d2d;
    --navy: #25476c;
    --blush: #f4e8ea;
    --pale-blue: #eaf0f6;
    --dark-yellow: #d2a12d;
    --white: #fffdfa;
    --line: #d9dde5;
    --soft: #f5f3ef;
    --shadow: 0 18px 44px rgba(32, 37, 54, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    background: var(--white);
    font: 16px/1.6 Inter, Arial, sans-serif;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.container { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 30; padding: 8px 12px; color: var(--white); background: var(--ink); }
.skip-link:focus { left: 8px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.1; }
h1 { max-width: 850px; margin-bottom: 22px; font-size: clamp(2.45rem, 4.5vw, 4rem); letter-spacing: -.045em; }
h2 { margin-bottom: 18px; font-size: clamp(1.75rem, 3.4vw, 2.75rem); letter-spacing: -.035em; }
h3 { font-size: 1.2rem; }
.eyebrow { margin-bottom: 12px; color: var(--maroon); font-size: .78rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.site-header { position: sticky; top: 0; z-index: 10; background: var(--white); border-bottom: 1px solid var(--line); }
.nav-shell { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-mark { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 6px; color: var(--white); background: var(--maroon); font-weight: 800; }
.brand strong { display: block; }
.brand strong { font-size: 1rem; }
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav > a { padding: 10px 11px; border-radius: 5px; font-size: .85rem; font-weight: 650; white-space: nowrap; }
.site-nav > a:hover, .site-nav > a[aria-current="page"] { color: var(--maroon-dark); background: var(--blush); }
.nav-item { position: relative; display: flex; align-items: center; }
.nav-item > a, .nav-cta { padding: 10px 12px; border-radius: 5px; font-size: .9rem; font-weight: 650; }
.nav-item > a:hover, .nav-item > a[aria-current="page"] { color: var(--maroon-dark); background: var(--blush); }
.dropdown-toggle { width: 24px; height: 28px; position: relative; border: 0; background: transparent; cursor: pointer; }
.dropdown-toggle::after { content: ""; width: 7px; height: 7px; position: absolute; top: 8px; left: 7px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); }
.dropdown { min-width: 200px; position: absolute; top: 42px; left: 0; padding: 8px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); opacity: 0; visibility: hidden; }
.dropdown a { display: block; padding: 9px 10px; color: var(--muted); font-size: .9rem; }
.dropdown a:hover { color: var(--maroon-dark); background: var(--blush); }
.nav-item:hover .dropdown, .nav-item:focus-within .dropdown, .nav-item.is-open .dropdown { opacity: 1; visibility: visible; }
.nav-cta { margin-left: 6px; color: var(--white); background: var(--maroon); }
.nav-cta:hover, .button.primary:hover { background: var(--maroon-dark); }
.nav-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 5px; background: var(--white); cursor: pointer; }
.nav-toggle span { width: 18px; height: 2px; display: block; margin: 4px auto; background: var(--ink); }
.button { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; padding: 11px 18px; border: 1px solid transparent; border-radius: 5px; font-weight: 750; }
.button.primary { color: var(--white); background: var(--maroon); }
.button.secondary { color: var(--maroon-dark); border-color: var(--line); background: var(--white); }
.button.secondary:hover { background: var(--blush); }
.hero { background: var(--pale-blue); }
.hero-grid { min-height: 600px; display: grid; grid-template-columns: 1.04fr .96fr; gap: 48px; align-items: center; padding: 64px 0; }
.hero-lede { max-width: 690px; color: var(--muted); font-size: 1.12rem; }
.hero-benefits { display: grid; gap: 10px; padding: 0; margin: 28px 0 0; list-style: none; }
.hero-benefits li { position: relative; padding-left: 26px; font-weight: 700; }
.hero-benefits li::before { content: ""; width: 10px; height: 10px; position: absolute; top: .55em; left: 0; background: var(--dark-yellow); }
.hero-media { position: relative; min-height: 510px; }
.phone { width: 100%; border: 7px solid var(--ink); border-radius: 22px; background: var(--white); box-shadow: var(--shadow); }
.hero-media .phone { width: 48%; position: absolute; z-index: 1; top: 4px; left: 2%; }
.hero-patch { width: 70%; position: absolute; z-index: 2; right: 0; bottom: 18px; padding: 10px; margin: 0; background: var(--white); box-shadow: var(--shadow); }
.patch-crop { width: 100%; aspect-ratio: 1.24 / 1; overflow: hidden; background: #ffffff; }
.patch-crop img { width: 100%; height: 100%; object-fit: contain; object-position: center; }
.hero-patch figcaption { padding-top: 8px; color: var(--muted); font-size: .78rem; }
.section { padding: 78px 0; }
.intro-band { color: var(--white); background: var(--maroon); }
.intro-band .eyebrow, .cta-panel .eyebrow { color: var(--dark-yellow); }
.intro-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; }
.intro-content h2 { font-size: clamp(1.85rem, 3.2vw, 2.45rem); letter-spacing: -.03em; line-height: 1.18; margin-bottom: 16px; }
.intro-description { color: #f2e8eb; font-size: 1.05rem; line-height: 1.6; margin-bottom: 20px; }
.intro-highlights { display: grid; gap: 10px; padding: 0; margin: 0; list-style: none; }
.intro-highlights li { position: relative; padding-left: 24px; color: #fbf5f6; font-size: 0.95rem; font-weight: 550; }
.intro-highlights li::before { content: ""; width: 8px; height: 8px; position: absolute; top: .55em; left: 0; background: var(--dark-yellow); border-radius: 50%; }
.intro-evidence { display: flex; justify-content: center; }
.evidence-card { width: 100%; padding: 32px 28px; background: rgba(255, 253, 250, 0.08); border: 1px solid rgba(255, 253, 250, 0.22); border-radius: 12px; box-shadow: 0 12px 32px rgba(32, 10, 16, 0.25); backdrop-filter: blur(8px); }
.evidence-stat { font-size: clamp(3rem, 5vw, 4.2rem); font-weight: 800; line-height: 1; color: var(--dark-yellow); letter-spacing: -.04em; margin-bottom: 8px; }
.evidence-title { font-size: 1.22rem; font-weight: 750; color: var(--white); margin-bottom: 12px; letter-spacing: -.02em; }
.evidence-text { color: #f2e8eb; font-size: 0.96rem; line-height: 1.55; margin-bottom: 18px; }
.evidence-text strong { color: var(--white); }
.evidence-tag { display: inline-block; padding: 5px 12px; background: rgba(210, 161, 45, 0.2); border: 1px solid var(--dark-yellow); color: #ffea9f; border-radius: 999px; font-size: 0.76rem; font-weight: 750; letter-spacing: .05em; text-transform: uppercase; }
.split, .product-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: start; }
.rich-text { color: #f2e8eb; font-size: 1.08rem; }
.section-heading { max-width: 760px; margin-bottom: 32px; }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.feature-card, .study-grid article { padding: 22px; border: 1px solid var(--line); background: var(--white); }
.feature-grid-images .feature-card { padding: 0; overflow: hidden; }
.feature-grid-images .feature-card > img { width: 100%; height: 280px; object-fit: contain; object-position: center center; border-bottom: 1px solid var(--line); background: #f8fafc; padding: 6px; }
.feature-card-blank { width: 100%; height: 280px; background: #eaedf2; border-bottom: 1px solid var(--line); }
.feature-grid-images .feature-card:nth-child(1) > img { object-fit: contain; object-position: center center; }
.feature-grid-images .feature-card:nth-child(2) > img { object-fit: contain; object-position: center center; }
.feature-grid-images .feature-card > img[src$=".svg"] { object-fit: contain; object-position: center center; background: #f8fafc; padding: 8px 10px; }
.feature-card-copy { padding: 20px; }
.feature-card-copy .feature-icon { margin-bottom: 18px; }
.section-link { margin: 26px 0 0; }
.text-link { color: var(--maroon-dark); font-weight: 750; text-decoration: underline; text-underline-offset: 4px; }
.workflow-band { background: var(--pale-blue); }
.feature-icon { width: 40px; height: 40px; display: grid; place-items: center; margin-bottom: 22px; color: var(--maroon-dark); background: var(--blush); font-weight: 800; }
.benefit-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.benefit-grid article { padding: 24px; border: 1px solid var(--line); background: var(--white); }
.benefit-grid h3, .app-feature-grid h3 { margin-bottom: 10px; }
.benefit-grid p, .app-feature-grid p { margin-bottom: 0; color: var(--muted); }
.app-feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.app-feature-grid .content-card { min-height: 200px; }
.app-how-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 52px; align-items: center; }
.app-steps { display: grid; gap: 0; padding: 0; margin: 0; list-style: none; counter-reset: steps; }
.app-steps li { display: grid; grid-template-columns: 48px 1fr; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.app-steps li > span { color: var(--maroon); font-size: .85rem; font-weight: 800; }
.app-steps h3 { margin-bottom: 6px; font-size: 1.15rem; }
.app-steps p { margin: 0; color: var(--muted); }
.security-note { padding-top: 16px; border-top: 1px solid var(--line); font-size: .9rem; }
.feature-card p, .study-grid p, .product-copy p { margin-bottom: 0; color: var(--muted); }
.product-section { background: var(--soft); }
.product-grid { align-items: center; }
.check-list { padding: 0; margin: 24px 0 0; list-style: none; }
.check-list li { position: relative; padding: 11px 0 11px 30px; border-top: 1px solid var(--line); font-weight: 650; }
.check-list li::before { content: ""; width: 12px; height: 12px; position: absolute; top: 17px; left: 2px; background: var(--dark-yellow); }
.studies-band { background: var(--blush); }
.studies-group-header { margin-bottom: 16px; }
.studies-group-header h3 { font-size: 1.15rem; margin: 0; color: var(--ink); }
.group-badge { display: inline-block; padding: 3px 10px; border-radius: 4px; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 6px; }
.completed-badge { background: #dbeafe; color: #1e40af; }
.ongoing-badge { background: #fef3c7; color: #92400e; }
.study-grid { display: grid; gap: 16px; }
.study-grid-2 { grid-template-columns: repeat(2, 1fr); }
.study-grid-3 { grid-template-columns: repeat(3, 1fr); }
.study-card { min-width: 0; padding: 24px; background: var(--white); border: 1px solid #e0d2d3; border-radius: 8px; display: flex; flex-direction: column; }
.study-grid > .study-card > p { margin-bottom: 16px; }
.study-grid > .study-card > .study-footer-link { margin-top: auto; }
.ongoing-study-card .study-pill-row { min-height: 64px; align-items: flex-start; align-content: flex-start; }
.ongoing-study-card > h3 { min-height: 2.5em; }
.study-card h3 { font-size: 1.15rem; margin-bottom: 10px; color: var(--ink); line-height: 1.25; }
.study-card p { color: var(--muted); font-size: 0.92rem; line-height: 1.55; margin: 0; }
.study-pill-row { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.pill { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.02em; }
.pill-country { background: #edf2f7; color: var(--navy); border: 1px solid #cbd5e1; }
.pill-org { background: #e0e7ff; color: #3730a3; border: 1px solid #c7d2fe; }
.pill-status { background: #dcfce7; color: #166534; border: 1px solid #bbf7d0; }
.study-footer-link { margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--line); }
.study-more-link { color: var(--maroon); font-size: 0.85rem; font-weight: 750; }
.study-more-link:hover { text-decoration: underline; }
.studies-main-cta { margin-top: 36px; }
.cta-section { background: var(--white); }
.cta-panel { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 32px; color: var(--white); background: var(--maroon-dark); }
.cta-panel h2 { margin-bottom: 8px; }
.cta-panel p { margin-bottom: 0; color: #d9dde5; }
.cta-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; flex-shrink: 0; }
.site-footer { padding: 52px 0 22px; color: #d6dbe4; background: var(--ink); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 30px; }
.footer-brand { margin-bottom: 16px; color: var(--white); }
.site-footer h2 { margin-bottom: 12px; color: var(--white); font-size: .9rem; }
.site-footer p { max-width: 300px; color: #bbc3ce; font-size: .92rem; }
.site-footer a:not(.brand) { display: block; margin-bottom: 8px; color: #c7ced8; font-size: .9rem; }
.site-footer a:hover { color: var(--white); }
.footer-bottom { display: flex; justify-content: space-between; gap: 18px; margin-top: 34px; padding-top: 18px; border-top: 1px solid #41495a; color: #bbc3ce; font-size: .8rem; }
.page-hero { padding: 64px 0 48px; background: var(--pale-blue); }
.page-hero .hero-lede { max-width: 760px; }
.content-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.content-card { padding: 24px; border: 1px solid var(--line); background: var(--white); }
.content-card p:last-child { margin-bottom: 0; color: var(--muted); }
.content-card-wide { grid-column: 1 / -1; }
.study-sub-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 18px 0; }
.study-sub-box { padding: 16px; background: var(--soft); border: 1px solid var(--line); border-radius: 6px; }
.study-sub-box strong { display: block; font-size: 0.92rem; color: var(--ink); margin-bottom: 6px; }
.study-sub-box p { font-size: 0.85rem; color: var(--muted); margin: 0; line-height: 1.45; }
@media (max-width: 820px) {
    .study-sub-grid { grid-template-columns: 1fr; }
}
.step-number { color: var(--navy); font-size: .78rem; font-weight: 800; letter-spacing: .08em; }
.visual-figure { margin: 0; }
.visual-figure img { width: 100%; height: auto; }
.visual-figure figcaption { margin-top: 10px; color: var(--muted); font-size: .85rem; }
.patch-photo { padding: 16px; background: var(--soft); }
.patch-photo .patch-crop { width: min(100%, 620px); margin: 0 auto; aspect-ratio: 1.35 / 1; }
.smartpatch-features { overflow: hidden; background: var(--soft); }
.patch-feature-layout { display: grid; grid-template-columns: 1fr 1fr 1.05fr 1fr; grid-template-rows: auto auto; gap: 18px; align-items: stretch; }
.patch-feature { min-height: 245px; padding: 24px; border: 1px solid var(--line); background: var(--white); }
.patch-feature h3 { margin: 14px 0 12px; font-size: 1.3rem; }
.patch-feature ul { padding-left: 18px; margin: 0; color: var(--muted); font-size: .92rem; }
.patch-feature li + li { margin-top: 8px; }
.patch-feature-center { grid-column: 2 / 4; grid-row: 1 / 3; z-index: 1; align-self: center; padding: 18px; background: var(--white); box-shadow: var(--shadow); }
.patch-feature-center .patch-crop { aspect-ratio: 1.18 / 1; }
.patch-feature-center img { object-position: center; }
.patch-feature-center figcaption { font-size: .78rem; }
.patch-feature:nth-child(1) { grid-column: 1; grid-row: 1; }
.patch-feature:nth-child(2) { grid-column: 4; grid-row: 1; }
.patch-feature:nth-child(4) { grid-column: 1; grid-row: 2; }
.patch-feature:nth-child(5) { grid-column: 4; grid-row: 2; }
.challenge-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.challenge-list article { padding: 20px; background: var(--white); border: 1px solid var(--line); }
.challenge-list h3 { font-size: 1.05rem; }
.challenge-list p { margin: 0; color: var(--muted); }
.patent-panel { display: flex; justify-content: space-between; align-items: center; gap: 36px; padding: 32px; background: var(--pale-blue); }
.patent-panel h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.patent-panel p { max-width: 700px; margin-bottom: 0; color: var(--muted); }
.patent-panel .eyebrow { margin-bottom: 12px; color: var(--maroon); }
.patent-reference { flex: 0 0 265px; padding-left: 22px; border-left: 3px solid var(--dark-yellow); color: var(--ink) !important; font-weight: 750; }
.patent-reference span { color: var(--muted); font-size: .85rem; font-weight: 500; }

/* SmartPatch Redesign Styles */
.smartpatch-hero {
    padding: 64px 0 54px;
    background: var(--pale-blue);
}
.smartpatch-hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 48px;
    align-items: center;
}
.smartpatch-hero-content h1 {
    font-size: clamp(2.2rem, 3.8vw, 3.2rem);
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin: 12px 0 16px;
    color: var(--ink);
}
.smartpatch-hero-badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin: 14px 0 16px;
}
.smartpatch-hero-content .hero-lede {
    margin-bottom: 22px;
    color: var(--muted);
    font-size: 1.06rem;
    line-height: 1.55;
}
.smartpatch-hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 26px;
}
.smartpatch-hero-stats {
    display: flex;
    gap: 32px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
}
.smartpatch-hero-stats div strong {
    display: block;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--maroon);
    line-height: 1.1;
    letter-spacing: -0.02em;
}
.smartpatch-hero-stats div span {
    font-size: 0.76rem;
    color: var(--muted);
    font-weight: 650;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* SmartPatch Hero Product Showcase Card */
.smartpatch-hero-showcase {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 24px 24px 20px;
    box-shadow: 0 10px 32px rgba(32, 37, 54, 0.07);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}
.smartpatch-hero-card-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 16px;
}
.smartpatch-hero-card-header .device-tag {
    font-size: 0.74rem;
    font-weight: 750;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--maroon);
}
.smartpatch-hero-card-header .mylab-badge {
    font-size: 0.74rem;
    font-weight: 600;
    color: var(--muted);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.smartpatch-hero-card-header .mylab-badge::before {
    content: "";
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #047857;
}
.smartpatch-hero-img-wrap {
    width: 100%;
    max-width: 360px;
    aspect-ratio: 1.18 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    background: #fafbfc;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
}
.smartpatch-hero-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.smartpatch-hero-callouts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    width: 100%;
    margin-top: 16px;
}
.smartpatch-callout-pill {
    background: var(--soft);
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 8px 10px;
    font-size: 0.76rem;
    color: var(--ink);
    font-weight: 650;
    display: flex;
    align-items: center;
    gap: 7px;
}
.smartpatch-callout-pill svg {
    flex-shrink: 0;
    color: var(--maroon);
}
.smartpatch-hero-footer-strip {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid var(--line);
    width: 100%;
    text-align: center;
    font-size: 0.74rem;
    color: var(--muted);
    font-weight: 500;
}
.patch-feature-grid-6 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 24px;
}
.patch-feature-box {
    padding: 22px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}
.patch-feature-box .step-number {
    display: inline-block;
    margin-bottom: 8px;
}
.patch-feature-box h3 {
    font-size: 1.15rem;
    margin-bottom: 8px;
    color: var(--ink);
}
.patch-feature-box p {
    font-size: 0.9rem;
    color: var(--muted);
    line-height: 1.5;
    margin: 0;
}
.workflow-trio {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 24px;
}
.workflow-trio-card {
    padding: 24px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    border-top: 3px solid var(--maroon);
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}
.workflow-trio-card .stage-tag {
    font-size: 0.76rem;
    font-weight: 750;
    text-transform: uppercase;
    color: var(--maroon);
    letter-spacing: 0.05em;
    margin-bottom: 8px;
    display: block;
}
.workflow-trio-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}
.workflow-trio-card p {
    font-size: 0.92rem;
    color: var(--muted);
    line-height: 1.5;
    margin: 0;
}
.smartpatch-specs-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
    margin-top: 20px;
}
.smartpatch-specs-table th,
.smartpatch-specs-table td {
    padding: 14px 20px;
    border-bottom: 1px solid var(--line);
    font-size: 0.92rem;
    text-align: left;
}
.smartpatch-specs-table th {
    background: var(--soft);
    color: var(--ink);
    font-weight: 750;
    width: 32%;
}
.smartpatch-specs-table td {
    color: var(--muted);
}
.smartpatch-specs-table tr:last-child th,
.smartpatch-specs-table tr:last-child td {
    border-bottom: none;
}
@media (max-width: 820px) {
    .patch-feature-grid-6, .workflow-trio {
        grid-template-columns: 1fr;
    }
}
.touchpoints { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.touchpoint { min-height: 300px; display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; padding: 32px; }
.touchpoint.physical { background: var(--blush); }
.touchpoint.digital { background: var(--pale-blue); }
.touchpoint p { max-width: 470px; color: var(--muted); font-size: 1.08rem; }
.touchpoint a { border-bottom: 1px solid currentColor; font-weight: 700; }
.workflow-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; padding-top: 24px; border-top: 3px solid var(--maroon); }
.workflow-step { padding: 0 4px; display: flex; flex-direction: column; }
.workflow-step-media { width: 100%; max-width: 280px; aspect-ratio: 9 / 16; border-radius: 8px; overflow: hidden; border: 1px solid var(--line); background: #fff; margin: 0 auto 12px; box-shadow: 0 2px 8px rgba(0,0,0,0.05); }
.workflow-step-media img { width: 100%; height: 100%; object-fit: contain; object-position: top center; }
.workflow-step-media img[hidden] { display: none; }
.workflow-training-media { background: #e7f5e8; }
.workflow-training-controls { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 12px; }
.workflow-training-controls button { flex: 1; min-height: 44px; padding: 6px 4px; border: 1px solid var(--line); border-radius: 6px; background: var(--white); color: var(--ink); font-size: .72rem; font-weight: 700; cursor: pointer; }
.workflow-training-controls button[aria-pressed="true"] { background: var(--maroon); border-color: var(--maroon); color: #fff; }
.workflow-training-controls button:focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; }
.workflow-step span.workflow-step-num { display: inline-block; margin-bottom: 6px; color: var(--maroon); font-size: .82rem; font-weight: 800; }
.workflow-step h3 { font-size: 1.05rem; margin-bottom: 6px; }
.workflow-step p { color: var(--muted); font-size: 0.88rem; line-height: 1.45; margin: 0; }
.feature-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 26px; }
.feature-list article { padding: 18px; background: var(--soft); }
.feature-list h3 { margin-bottom: 8px; }
.feature-list p { margin: 0; color: var(--muted); }
.note { padding: 16px 18px; border-left: 4px solid var(--dark-yellow); background: #fff8e7; }
/* Contact & Commissioning Form Styles */
.contact-layout { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 40px; align-items: start; }
.form-card { padding: 36px; background: var(--white); border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 4px 20px rgba(0,0,0,0.03); }
.form-card h2 { font-size: 1.6rem; margin-bottom: 8px; color: var(--ink); }
.form-card > p { color: var(--muted); font-size: 0.95rem; margin-bottom: 24px; line-height: 1.5; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 0.86rem; font-weight: 700; color: var(--ink); }
.form-input, .form-select, .form-textarea {
    width: 100%;
    padding: 11px 13px;
    border: 1px solid var(--line);
    border-radius: 5px;
    font: inherit;
    font-size: 0.92rem;
    color: var(--ink);
    background: #fbfbfc;
    box-sizing: border-box;
    transition: border-color .15s, box-shadow .15s, background .15s;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
    outline: none;
    border-color: var(--maroon);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(118, 42, 61, 0.12);
}
.form-textarea { resize: vertical; min-height: 110px; }
.form-submit-btn { width: 100%; margin-top: 10px; cursor: pointer; border: 0; }
.form-alert { padding: 14px 16px; border-radius: 6px; font-size: 0.92rem; line-height: 1.5; margin-bottom: 22px; }
.form-alert-success { background: #dcfce7; border: 1px solid #86efac; color: #166534; }
.form-alert-error { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; }
.contact-sidebar { display: flex; flex-direction: column; gap: 20px; }
.info-card { padding: 26px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); }
.info-card h3 { font-size: 1.15rem; margin-bottom: 8px; color: var(--ink); }
.info-card p { color: var(--muted); font-size: 0.9rem; line-height: 1.55; margin: 0; }
.info-card ul { padding-left: 20px; margin: 10px 0 0; color: var(--muted); font-size: 0.88rem; }
.info-card li + li { margin-top: 6px; }
.partner-card { border-left: 4px solid var(--navy); background: #f8fafc; }
.partner-item { padding-bottom: 12px; margin-bottom: 12px; border-bottom: 1px solid var(--line); }
.partner-item:last-child { padding-bottom: 0; margin-bottom: 0; border-bottom: none; }
.partner-tag { font-size: 0.72rem; font-weight: 800; text-transform: uppercase; color: var(--navy); letter-spacing: 0.05em; display: inline-block; margin-bottom: 4px; }
.partner-name { font-size: 1.05rem; font-weight: 750; color: var(--ink); }
.contact-card { max-width: 760px; padding: 30px; border: 1px solid var(--line); background: var(--soft); }
.contact-card a:not(.button) { color: var(--maroon-dark); font-weight: 750; text-decoration: underline; }
.contact-note { margin: 22px 0 0; color: var(--muted); font-size: .9rem; }
/* Study Showcase / Carousel Section */
.study-showcase-section { background: var(--soft); padding: 78px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.showcase-header { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 24px; flex-wrap: wrap; }
.showcase-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.showcase-tab-btn {
    padding: 8px 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--white);
    color: var(--muted);
    font: inherit;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    transition: all .15s ease;
}
.showcase-tab-btn:hover { border-color: var(--navy); color: var(--navy); }
.showcase-tab-btn.is-active {
    background: var(--maroon);
    border-color: var(--maroon);
    color: var(--white);
}

.carousel-shell {
    position: relative;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(32, 37, 54, 0.05);
    overflow: hidden;
}

.study-slide {
    display: none;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 40px;
    padding: 38px;
    align-items: center;
}
.study-slide.is-active {
    display: grid;
    animation: fadeInSlide .25s ease-in-out;
}
@keyframes fadeInSlide {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

.study-slide-info h3 {
    font-size: 1.65rem;
    line-height: 1.2;
    margin: 12px 0 10px;
    color: var(--ink);
}
.study-slide-lede {
    color: var(--muted);
    font-size: 0.96rem;
    line-height: 1.55;
    margin-bottom: 22px;
}

.study-meta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 18px;
    background: var(--soft);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 18px;
    margin-bottom: 22px;
}
.meta-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.meta-icon {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 6px;
    background: var(--white);
    border: 1px solid var(--line);
    font-size: 0.95rem;
    flex-shrink: 0;
}
.meta-icon.meta-icon-outline {
    width: 24px;
    height: 24px;
    color: var(--maroon);
    background: transparent;
    border: 0;
    border-radius: 0;
    opacity: .8;
}
.meta-icon-outline svg { width: 18px; height: 18px; }
.meta-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 750;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--muted);
}
.meta-val {
    display: block;
    font-size: 0.86rem;
    font-weight: 650;
    color: var(--ink);
    line-height: 1.35;
}

.study-slide-preview {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.preview-frame {
    width: 100%;
    max-width: 320px;
    height: 480px;
    border-radius: 16px;
    overflow: hidden;
    border: 6px solid var(--ink);
    background: #f8fafc;
    box-shadow: 0 14px 28px rgba(0,0,0,0.12);
}
.preview-frame img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
    background: #f8fafc;
}
.preview-caption {
    font-size: 0.78rem;
    color: var(--muted);
    margin-top: 10px;
    text-align: center;
}

.carousel-nav-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 28px;
    background: #f8fafc;
    border-top: 1px solid var(--line);
}
.carousel-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--white);
    font: inherit;
    font-size: 0.86rem;
    font-weight: 700;
    color: var(--ink);
    cursor: pointer;
    transition: all .15s;
}
.carousel-btn:hover {
    background: var(--blush);
    border-color: var(--maroon);
    color: var(--maroon);
}
.carousel-indicators {
    display: flex;
    align-items: center;
    gap: 8px;
}
.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #cbd5e1;
    border: 0;
    padding: 0;
    cursor: pointer;
    transition: all .15s;
}
.carousel-dot.is-active {
    background: var(--maroon);
    transform: scale(1.25);
}
.carousel-counter {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--muted);
}

/* Platform Badges & Grid */
.platform-badge-group {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    flex-wrap: wrap;
}
.pill-platform {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #eff6ff;
    color: #1d4ed8;
    border: 1px solid #bfdbfe;
    font-size: 0.76rem;
    font-weight: 750;
    padding: 4px 11px;
    border-radius: 999px;
}
.pill-approval {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
    font-size: 0.76rem;
    font-weight: 750;
    padding: 4px 11px;
    border-radius: 999px;
}
.pill-patent {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #fffbeb;
    color: #b45309;
    border: 1px solid #fde68a;
    font-size: 0.76rem;
    font-weight: 750;
    padding: 4px 11px;
    border-radius: 999px;
}
.pill-icon {
    display: inline-block;
    flex-shrink: 0;
}

/* Worldwide Studies Credentials Strip */
.studies-credentials-strip {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 28px;
}
.studies-credential-card {
    padding: 20px 24px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}
.studies-credential-card .credential-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}
.studies-credential-card strong {
    font-size: 1.05rem;
    color: var(--ink);
}
.studies-credential-card p {
    font-size: 0.88rem;
    color: var(--muted);
    margin: 0;
    line-height: 1.45;
}
.platform-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 24px;
}
.platform-card {
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.platform-card h3 {
    font-size: 1.25rem;
    margin: 12px 0 8px;
    color: var(--ink);
}
.platform-card p {
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.55;
    margin-bottom: 16px;
}
.platform-card ul {
    padding-left: 20px;
    margin: 0;
    color: var(--muted);
    font-size: 0.88rem;
}
.platform-card li + li { margin-top: 6px; }
.app-reading-figure { max-width: 440px; margin: 0 auto; }
.reading-screen-crop { height: 430px; overflow: hidden; background: var(--white); }
.reading-screen-crop img { width: 100%; margin-top: -65%; }

/* Resource Center Styles */
.resource-filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 28px 0 36px;
}
.filter-btn {
    padding: 8px 16px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 0.88rem;
    font-weight: 650;
    color: var(--muted);
    cursor: pointer;
    transition: all 0.2s ease;
}
.filter-btn:hover {
    color: var(--maroon-dark);
    border-color: var(--maroon);
    background: var(--blush);
}
.filter-btn.is-active {
    background: var(--maroon);
    color: var(--white);
    border-color: var(--maroon);
}
.resource-group {
    margin-bottom: 48px;
}
.resource-group-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 14px;
    border-bottom: 2px solid var(--line);
    margin-bottom: 24px;
}
.resource-group-header h2 {
    font-size: 1.45rem;
    margin: 0;
    color: var(--ink);
}
.resource-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.resource-grid-2 {
    grid-template-columns: repeat(2, 1fr);
}
.resource-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.resource-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    border-color: #cbd5e1;
}
.resource-badge-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}
.pill-resource {
    font-size: 0.72rem;
    font-weight: 750;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 3px 9px;
    border-radius: 4px;
}
.pill-brochure { background: #e0f2fe; color: #0369a1; }
.pill-sop { background: #fef3c7; color: #92400e; }
.pill-study { background: #dcfce7; color: #15803d; }
.pill-toolkit { background: #f3e8ff; color: #7e22ce; }
.resource-card h3 {
    font-size: 1.15rem;
    margin: 0 0 10px;
    color: var(--ink);
    line-height: 1.3;
}
.resource-card p {
    font-size: 0.9rem;
    color: var(--muted);
    line-height: 1.55;
    margin-bottom: 18px;
    flex-grow: 1;
}
.resource-meta {
    font-size: 0.8rem;
    color: var(--muted);
    padding-top: 14px;
    border-top: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.resource-action-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.86rem;
    font-weight: 750;
    color: var(--maroon);
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.resource-action-link:hover {
    color: var(--maroon-dark);
}
/* Modal Viewer */
.resource-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(18, 20, 24, 0.65);
    backdrop-filter: blur(4px);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}
.resource-modal-overlay.is-open {
    opacity: 1;
    pointer-events: auto;
}
.resource-modal-content {
    background: var(--white);
    border-radius: 12px;
    width: min(100%, 640px);
    max-height: 90vh;
    overflow-y: auto;
    padding: 32px;
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.2);
    position: relative;
}
.modal-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #f1f5f9;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: grid;
    place-items: center;
    font-size: 1.2rem;
    color: var(--ink);
}
.modal-close-btn:hover {
    background: #e2e8f0;
}
/* App Walkthrough & UI Showcase */
.comparison-table-wrap {
    width: 100%;
    overflow-x: auto;
    margin-top: 24px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}
.comparison-table th,
.comparison-table td {
    padding: 16px 20px;
    border-bottom: 1px solid var(--line);
    font-size: 0.92rem;
    text-align: left;
    line-height: 1.45;
}
.comparison-table th {
    background: var(--soft);
    color: var(--ink);
    font-weight: 750;
}
.comparison-table th:first-child {
    width: 26%;
}
.comparison-table th:nth-child(2) {
    width: 37%;
    color: var(--muted);
}
.comparison-table th:nth-child(3) {
    width: 37%;
    color: var(--maroon);
    background: #fdf2f4;
}
.comparison-table td:nth-child(3) {
    background: #fffbfa;
    font-weight: 550;
    color: var(--ink);
}
.comparison-table tr:last-child td {
    border-bottom: none;
}
.ai-pipeline-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 24px;
}
.ai-pipeline-card {
    padding: 22px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
    border-top: 3px solid var(--maroon);
    display: flex;
    flex-direction: column;
}
.ai-pipeline-card .pipeline-num {
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--maroon);
    letter-spacing: 0.08em;
    margin-bottom: 8px;
}
.ai-pipeline-card h3 {
    font-size: 1.15rem;
    margin-bottom: 8px;
    color: var(--ink);
}
.ai-pipeline-card p {
    font-size: 0.88rem;
    color: var(--muted);
    line-height: 1.45;
    margin: 0;
}
.app-walkthrough-list {
    display: flex;
    flex-direction: column;
    gap: 36px;
    margin-top: 32px;
}
.app-walkthrough-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    padding: 32px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.03);
}
.app-walkthrough-item.reversed {
    direction: rtl;
}
.app-walkthrough-item.reversed > * {
    direction: ltr;
}
.app-walkthrough-media {
    width: 100%;
    max-height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    border-radius: 8px;
    overflow: hidden;
    padding: 16px;
    border: 1px solid var(--line);
}
.app-walkthrough-media img {
    max-height: 340px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.app-walkthrough-content h3 {
    font-size: 1.4rem;
    margin: 10px 0;
    color: var(--ink);
}
.app-walkthrough-content p {
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.55;
    margin-bottom: 14px;
}
.app-walkthrough-content ul {
    margin: 0;
    padding-left: 20px;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.5;
}
.app-walkthrough-content li + li {
    margin-top: 6px;
}

/* Studies Page Hero Visual & Layout */
.studies-hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 48px;
    align-items: center;
}
.studies-hero-stats {
    display: flex;
    gap: 32px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
}
.studies-hero-stats div strong {
    display: block;
    font-size: 1.55rem;
    font-weight: 800;
    color: var(--maroon);
    line-height: 1.1;
    letter-spacing: -0.02em;
}
.studies-hero-stats div span {
    font-size: 0.76rem;
    color: var(--muted);
    font-weight: 650;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* Studies Stack (One Below Other) */
.study-card-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-top: 28px;
}
.study-card-list > .study-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(32, 37, 54, 0.04);
    display: grid;
    grid-template-columns: 1.18fr 0.82fr;
    gap: 40px;
    padding: 36px 40px;
    align-items: center;
    overflow: hidden;
}
.study-card-info h3 {
    font-size: 1.45rem;
    margin: 10px 0;
    color: var(--ink);
}
.study-card-info .study-slide-lede {
    font-size: 0.96rem;
    color: var(--muted);
    line-height: 1.55;
    margin-bottom: 18px;
}

/* Comparison Table Title with Maroon Icon */
.comp-row-title {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 750;
    color: var(--ink);
}
.comp-row-title svg {
    color: var(--maroon);
    flex-shrink: 0;
}

/* App Page Overlaid Hero Cards - Phone Frames */
.app-hero-showcase {
    position: relative;
    width: 100%;
    max-width: 530px;
    height: 440px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}
.app-card-stack {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.app-card-layer {
    position: absolute;
    width: 195px;
    height: 390px;
    background: #ffffff;
    border: 5px solid #1e293b;
    border-radius: 24px;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.app-card-layer img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    background: #ffffff;
}
.app-card-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 5;
    background: rgba(17, 24, 39, 0.88);
    backdrop-filter: blur(4px);
    color: #ffffff;
    font-size: 0.68rem;
    font-weight: 750;
    letter-spacing: 0.04em;
    padding: 3px 8px;
    border-radius: 999px;
    text-transform: uppercase;
}
.app-card-layer.card-left {
    left: 2%;
    transform: translateY(18px) rotate(-6deg);
    z-index: 2;
}
.app-card-layer.card-center {
    z-index: 4;
    width: 215px;
    height: 425px;
    border: 6px solid var(--maroon);
    border-radius: 26px;
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 22px 50px rgba(139, 21, 56, 0.22), 0 8px 24px rgba(0, 0, 0, 0.1);
}
.app-card-layer.card-right {
    right: 2%;
    transform: translateY(18px) rotate(6deg);
    z-index: 3;
}
.app-card-layer:hover {
    transform: translateY(-14px) scale(1.05) rotate(0deg) !important;
    z-index: 10 !important;
    box-shadow: 0 26px 55px rgba(0, 0, 0, 0.24) !important;
}

@media (max-width: 980px) {
    .nav-toggle { display: block; }
    .site-nav { position: absolute; top: 76px; left: 20px; right: 20px; display: none; padding: 12px; background: var(--white); border: 1px solid var(--line); }
    .site-nav.is-open { display: block; }
    .site-nav > a { display: block; }
    .nav-item { display: flex; flex-wrap: wrap; }
    .nav-item > a { flex: 1; }
    .dropdown { position: static; display: none; width: 100%; box-shadow: none; opacity: 1; visibility: visible; }
    .nav-item.is-open .dropdown { display: block; }
    .nav-cta { display: inline-block; margin: 8px 0 0; }
    .hero-grid, .split, .product-grid, .intro-grid, .contact-layout, .form-row { grid-template-columns: 1fr; }
    .hero-grid { gap: 28px; }
    .hero-media { width: min(100%, 650px); min-height: 520px; margin: 0 auto; }
    .feature-grid { grid-template-columns: repeat(2, 1fr); }
    .benefit-grid, .app-feature-grid { grid-template-columns: repeat(2, 1fr); }
    .app-how-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .workflow-steps { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .study-grid-2, .study-grid-3 { grid-template-columns: 1fr; }
    .ongoing-study-card .study-pill-row, .ongoing-study-card > h3 { min-height: 0; }
    .study-slide { grid-template-columns: 1fr; gap: 24px; padding: 24px; }
    .study-meta-grid { grid-template-columns: 1fr; }
    .platform-grid { grid-template-columns: 1fr; }
    .resource-grid { grid-template-columns: repeat(2, 1fr); }
    .resource-grid-2 { grid-template-columns: 1fr; }
    .ai-pipeline-grid { grid-template-columns: repeat(2, 1fr); }
    .app-walkthrough-item { grid-template-columns: 1fr; gap: 24px; padding: 22px; }
    .app-walkthrough-item.reversed { direction: ltr; }
    .preview-frame { max-width: 100%; height: 440px; }
    .studies-hero-grid { grid-template-columns: 1fr; gap: 32px; }
    .smartpatch-hero-grid { grid-template-columns: 1fr; gap: 36px; }
    .smartpatch-hero-showcase { max-width: 500px; margin: 0 auto; width: 100%; }
    .study-card-list > .study-card { grid-template-columns: 1fr; gap: 24px; padding: 24px; }
    .app-hero-showcase { height: 400px; max-width: 460px; margin-top: 24px; }
    .app-card-layer { width: 165px; height: 330px; }
    .app-card-layer.card-center { width: 185px; height: 365px; }
}
@media (max-width: 640px) {
    .container { width: min(100% - 28px, 1160px); }
    .nav-shell { min-height: 68px; }
    .site-nav { top: 68px; left: 14px; right: 14px; }
    .hero-grid { min-height: 0; padding: 48px 0; }
    h1 { font-size: 2.5rem; }
    .signal-row, .feature-grid, .study-grid, .study-grid-2, .study-grid-3, .content-grid, .footer-grid, .touchpoints, .feature-list, .workflow-steps, .benefit-grid, .app-feature-grid, .resource-grid, .resource-grid-2, .ai-pipeline-grid { grid-template-columns: 1fr; }
    .app-walkthrough-media { max-height: 300px; padding: 12px; }
    .study-card, .study-card-list > .study-card { padding: 18px; }
    .studies-hero-stats { flex-wrap: wrap; gap: 18px; }
    .smartpatch-hero-stats { flex-wrap: wrap; gap: 18px; }
    .smartpatch-hero-callouts { grid-template-columns: 1fr; }
    .app-hero-showcase { height: 330px; max-width: 310px; }
    .app-card-layer { width: 135px; height: 270px; border-width: 3px; border-radius: 16px; }
    .app-card-layer.card-center { width: 150px; height: 295px; border-width: 4px; border-radius: 18px; }
    .app-card-layer.card-left { left: 0%; transform: translateY(14px) rotate(-4deg); }
    .app-card-layer.card-right { right: 0%; transform: translateY(14px) rotate(4deg); }
    .hero-media { min-height: 390px; }
    .hero-media .phone { width: 47%; }
    .hero-patch { width: 73%; bottom: 12px; }
    .feature-grid-images .feature-card > img, .feature-card-blank { height: 280px; }
    .feature-grid-images .feature-card > img[src$=".svg"] { height: 220px; padding: 6px 8px; }
    .studies-credentials-strip { grid-template-columns: 1fr; }
    .patch-feature-layout { grid-template-columns: 1fr 1fr; }
    .patch-feature { min-height: 0; padding: 18px; }
    .patch-feature-center { grid-column: 1 / 3; grid-row: 2; }
    .patch-feature:nth-child(1) { grid-column: 1; grid-row: 1; }
    .patch-feature:nth-child(2) { grid-column: 2; grid-row: 1; }
    .patch-feature:nth-child(4) { grid-column: 1; grid-row: 3; }
    .patch-feature:nth-child(5) { grid-column: 2; grid-row: 3; }
    .challenge-list { grid-template-columns: 1fr; }
    .patent-panel { align-items: flex-start; flex-direction: column; padding: 24px; }
    .patent-reference { flex: auto; }
    .reading-screen-crop { height: 360px; }
    .section { padding: 58px 0; }
    .cta-panel { align-items: flex-start; flex-direction: column; padding: 24px; }
    .form-card { padding: 20px 18px; }
    .footer-bottom { flex-direction: column; }
}
