/* ============================================
   SinoBio Access — Main Stylesheet v4.0 (Design System 2.0)
   ============================================
   Design principles:
   - Academic rigor, high trust, life science precision
   - High information density with crisp visual hierarchy
   - Fluid typography with multilingual / Cyrillic hyphenation
   - Mobile-first & touch-optimized (48px+ targets)
   - Zero heavyweight JS / Native CSS performance
   ============================================ */

:root {
    /* Full navy scale (Academic & Deep Trust) */
    --navy-50:  #F8FAFC;
    --navy-100: #F1F5F9;
    --navy-200: #E2E8F0;
    --navy-300: #CBD5E1;
    --navy-400: #94A3B8;
    --navy-500: #64748B;
    --navy-600: #475569;
    --navy-700: #334155;
    --navy-800: #1E293B;
    --navy-900: #0F172A;
    --navy-950: #070D1B;

    /* Bio-Teal & Emerald scale (Life Science & Evidence) */
    --teal-50:  #F0FDFA;
    --teal-100: #CCFBF1;
    --teal-200: #99F6E4;
    --teal-300: #5EEAD4;
    --teal-400: #2DD4BF;
    --teal-500: #14B8A6;
    --teal-600: #0D9488;
    --teal-700: #0F766E;
    --teal-800: #115E59;
    --teal-900: #134E4A;
    --teal-950: #042F2E;

    --emerald-50:  #ECFDF5;
    --emerald-100: #D1FAE5;
    --emerald-500: #10B981;
    --emerald-600: #059669;
    --emerald-700: #047857;

    /* Blue (Clinical links & technical actions) */
    --blue-50:  #EFF6FF;
    --blue-100: #DBEAFE;
    --blue-500: #3B82F6;
    --blue-600: #2563EB;
    --blue-700: #1D4ED8;
    --blue-800: #1E40AF;

    /* Accent & Warning (warm verification & discrepancy) */
    --amber-50:  #FFFBEB;
    --amber-100: #FEF3C7;
    --amber-500: #F59E0B;
    --amber-600: #D97706;
    --amber-700: #B45309;

    --red-50:  #FEF2F2;
    --red-100: #FEE2E2;
    --red-500: #EF4444;
    --red-600: #DC2626;
    --red-700: #B91C1C;
    --red-800: #991B1B;

    /* Surfaces & Glassmorphism */
    --surface:        #FAFAF9;
    --surface-alt:    #F5F6F8;
    --surface-warm:   #FDFCFA;
    --card:           #FFFFFF;
    --glass-bg:       rgba(255, 255, 255, 0.88);
    --glass-border:   rgba(226, 232, 240, 0.85);

    /* Text & Legibility */
    --text:   #1E293B;
    --muted:  #526071;
    --light:  #94A3B8;

    /* Borders */
    --border:      #E2E8F0;
    --border-dark: #CBD5E1;

    /* Evidence & Claim Grade Colors */
    --claim-manufacturer: #B7791F;
    --claim-supported:    #059669;
    --claim-conflict:     #B91C1C;
    --claim-pending:      #64748B;

    --grade-a-bg: #ECFDF5;
    --grade-a-text: #065F46;
    --grade-a-border: #A7F3D0;

    --grade-b-bg: #EFF6FF;
    --grade-b-text: #1E40AF;
    --grade-b-border: #BFDBFE;

    --grade-c-bg: #F8FAFC;
    --grade-c-text: #334155;
    --grade-c-border: #E2E8F0;

    /* Radius */
    --radius-sm: 6px;
    --radius:    10px;
    --radius-lg: 14px;
    --radius-xl: 20px;
    --radius-full: 999px;

    /* Diffused Multilayer Shadows */
    --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
    --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
    --shadow-md: 0 4px 10px -1px rgba(15, 23, 42, 0.07), 0 2px 5px -1px rgba(15, 23, 42, 0.04);
    --shadow-lg: 0 12px 20px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -2px rgba(15, 23, 42, 0.04);
    --shadow-xl: 0 20px 30px -5px rgba(15, 23, 42, 0.10), 0 10px 12px -5px rgba(15, 23, 42, 0.04);
    --shadow-glow: 0 0 24px rgba(13, 148, 136, 0.18);

    /* Layout */
    --max-width: 1200px;
    --max-width-narrow: 760px;
    --max-width-reading: 720px;
    --header-height: 70px;

    /* Transitions */
    --transition: 0.18s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    /* Gradients */
    --gradient-hero: linear-gradient(135deg, #070D1B 0%, #0F172A 45%, #0F766E 100%);
    --gradient-warm: linear-gradient(180deg, #FAFAF9 0%, #F5F6F8 100%);
    --gradient-card-hover: linear-gradient(180deg, #FFFFFF 0%, #FDFCFA 100%);
}

/* ============================================
   Reset & Base
   ============================================ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
                 "Helvetica Neue", "Noto Sans", Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.65;
    color: var(--text);
    background: var(--surface);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Multilingual / Cyrillic Hyphenation */
html[lang="ru"] body,
.lang-ru {
    hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
}

/* Reading Progress Bar */
#reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, var(--teal-500), var(--teal-300));
    z-index: 9999;
    transition: width 0.08s ease-out;
    pointer-events: none;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    color: var(--navy-900);
    letter-spacing: -0.02em;
}

h1 { font-size: 1.875rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.0625rem; }
h5 { font-size: 0.9375rem; }

a {
    color: var(--teal-700);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--teal-600);
    text-decoration: underline;
}

p { margin-bottom: 1rem; }

ul, ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

li { margin-bottom: 0.3rem; }

img {
    max-width: 100%;
    height: auto;
}

::selection {
    background: var(--teal-100);
    color: var(--teal-900);
}

.skip-link {
    position: absolute;
    top: -100px;
    left: 0;
    background: var(--navy-900);
    color: #fff;
    padding: 10px 20px;
    z-index: 1000;
    font-size: 0.875rem;
    border-radius: 0 0 var(--radius) 0;
    transition: top var(--transition);
}

.skip-link:focus {
    top: 0;
}

/* ============================================
   Layout
   ============================================ */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.container-narrow {
    max-width: var(--max-width-narrow);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 48px 0;
}

.section-alt {
    background: var(--surface-alt);
}

.section-head {
    margin-bottom: 28px;
    max-width: 680px;
}

.section-head h1,
.section-head h2 {
    margin-bottom: 10px;
}

.section-head h2::before {
    content: '';
    display: block;
    width: 36px;
    height: 3px;
    background: linear-gradient(90deg, var(--teal-500), var(--teal-400));
    border-radius: 2px;
    margin-bottom: 14px;
}

.section-head p {
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.6;
}

/* Grid */
.grid {
    display: grid;
    gap: 20px;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

.grid > * {
    min-width: 0;
}

@media (max-width: 768px) {
    .grid-2, .grid-3 {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   Header / Navigation
   ============================================ */
.site-header {
    background: var(--navy-900);
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.site-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--teal-500), var(--teal-400), var(--teal-600));
    z-index: 1;
}

.header-inner {
    display: flex;
    align-items: center;
    height: var(--header-height);
    gap: 16px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    flex-shrink: 0;
}

.brand:hover {
    text-decoration: none;
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--teal-600), var(--teal-700));
    color: #fff;
    font-weight: 800;
    font-size: 0.8125rem;
    border-radius: var(--radius-sm);
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(13, 148, 136, 0.3);
}

.brand-name {
    font-size: 1.1875rem;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    letter-spacing: -0.02em;
}

.brand-accent {
    color: var(--teal-400);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    margin-left: auto;
}

.nav-toggle-bar {
    display: block;
    width: 24px;
    height: 2.5px;
    background: #fff;
    border-radius: 2px;
    transition: all var(--transition);
}

.primary-nav {
    margin-left: auto;
}

.primary-nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2px;
    align-items: center;
    flex-wrap: nowrap;
}

.primary-nav > ul > li {
    position: relative;
    flex-shrink: 0;
}

.primary-nav a {
    display: block;
    padding: 7px 10px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: var(--radius-sm);
    white-space: nowrap;
    transition: all var(--transition);
}

.primary-nav a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    text-decoration: none;
}

.primary-nav .has-children > a::after {
    content: ' \25BE';
    margin-left: 2px;
    font-size: 0.75rem;
    opacity: 0.6;
}

.sub-nav {
    display: none;
    position: absolute;
    top: calc(100% + 2px);
    left: 0;
    background: #0B132B;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6);
    min-width: 230px;
    padding: 6px;
    list-style: none;
    z-index: 10000;
}

.has-children:hover > .sub-nav,
.has-children:focus-within > .sub-nav {
    display: block;
}

.sub-nav li {
    position: static;
}

.sub-nav a {
    padding: 9px 12px;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.85);
    border-radius: var(--radius-sm);
    white-space: nowrap;
}

.sub-nav a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.market-switch {
    display: flex;
    align-items: center;
    gap: 2px;
    font-size: 0.8125rem;
    flex-shrink: 0;
    margin-left: 8px;
}

.market-switch a {
    color: rgba(255, 255, 255, 0.6);
    padding: 5px 8px;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    font-weight: 600;
    white-space: nowrap;
}

.market-switch a:hover {
    color: #fff;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.08);
}

.market-switch a[aria-current="true"] {
    color: var(--teal-400);
    background: rgba(45, 212, 191, 0.12);
}

.market-switch span {
    color: rgba(255, 255, 255, 0.2);
}

/* ============================================
   Navigation Breakpoint: <= 1200px
   ============================================ */
@media (max-width: 1200px) {
    .nav-toggle {
        display: flex;
    }

    .primary-nav {
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(11, 19, 43, 0.98);
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        padding: 24px;
        display: none;
        overflow-y: auto;
        z-index: 9998;
    }

    .primary-nav.open {
        display: block;
    }

    .primary-nav ul {
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
    }

    .primary-nav > ul > li {
        width: 100%;
    }

    .primary-nav a {
        padding: 12px 16px;
        font-size: 1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    }

    .sub-nav {
        position: static;
        display: block;
        background: rgba(255, 255, 255, 0.04);
        border: none;
        box-shadow: none;
        padding: 4px 0 4px 14px;
        min-width: 0;
        margin-top: 4px;
    }

    .sub-nav a {
        font-size: 0.875rem;
        padding: 10px 14px;
        border-bottom: none;
    }

    .market-switch {
        margin-left: 0;
    }
}

@media (max-width: 480px) {
    .brand-name {
        font-size: 1.0625rem;
    }
}

@media (max-width: 768px) {
    .market-switch {
        display: none;
    }

    .header-inner {
        flex-wrap: nowrap;
    }
}

/* ============================================
   Hero
   ============================================ */
.hero {
    background: var(--gradient-hero);
    color: #fff;
    padding: 56px 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(ellipse at top right, rgba(13, 148, 136, 0.12) 0%, transparent 60%);
    pointer-events: none;
}

.hero-inner {
    position: relative;
    z-index: 1;
}

.hero-two-col {
    max-width: var(--max-width);
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 44px;
    align-items: center;
}

.hero-left {
    min-width: 0;
}

.hero-right {
    min-width: 0;
}

@media (max-width: 968px) {
    .hero-two-col {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

.hero-eyebrow {
    display: inline-block;
    color: var(--teal-400);
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    padding: 4px 12px;
    background: rgba(13, 148, 136, 0.1);
    border-radius: var(--radius-full);
}

.hero-title {
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1.2;
    color: #fff;
    margin-bottom: 20px;
    letter-spacing: -0.03em;
}

.hero-lead {
    font-size: 1.125rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.82);
    margin-bottom: 28px;
    max-width: 620px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .hero {
        padding: 40px 0;
    }

    .hero-title {
        font-size: 1.625rem;
    }

    .hero-lead {
        font-size: 1rem;
    }
}

/* ============================================
   Hero Media & SVG Graphics
   ============================================ */
.hero-media-col {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-svg-frame {
    width: 100%;
    max-width: 580px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.4), 0 0 30px rgba(20, 184, 166, 0.2);
    transition: transform var(--transition-slow), box-shadow var(--transition-slow);
}

.hero-svg-frame:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: 0 25px 50px -10px rgba(0, 0, 0, 0.5), 0 0 40px rgba(20, 184, 166, 0.3);
}

.hero-svg-img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: var(--radius-xl);
}

/* ============================================
   Trust Metrics & Science Verification Strip
   ============================================ */
.trust-stats-section {
    background: #0B132B;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 24px 0;
    color: #fff;
}

.trust-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.stat-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius);
    transition: background var(--transition), border-color var(--transition);
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(45, 212, 191, 0.3);
}

.stat-icon {
    font-size: 1.625rem;
    line-height: 1;
    flex-shrink: 0;
    margin-top: 2px;
}

.stat-val {
    display: block;
    font-size: 1.0625rem;
    font-weight: 700;
    color: #F8FAFC;
    line-height: 1.3;
    margin-bottom: 2px;
}

.stat-desc {
    font-size: 0.75rem;
    color: var(--navy-400);
    line-height: 1.4;
    margin: 0;
}

@media (max-width: 968px) {
    .trust-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
}

@media (max-width: 600px) {
    .trust-stats-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

/* ============================================
   Visual Feature Cards & Icons
   ============================================ */
.visual-feature-card {
    border-top: 3px solid transparent;
}

.visual-feature-card:hover {
    border-top-color: var(--teal-500);
}

.feature-icon-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: var(--radius);
    margin-bottom: 16px;
    font-size: 1.375rem;
}

.feature-icon-teal {
    background: var(--teal-50);
    border: 1px solid var(--teal-200);
}

.feature-icon-blue {
    background: var(--blue-50);
    border: 1px solid var(--blue-100);
}

.feature-icon-amber {
    background: var(--amber-50);
    border: 1px solid var(--amber-100);
}

/* ============================================
   Solution Cards with Header Icons
   ============================================ */
.solution-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.solution-card-icon {
    display: block;
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    transition: transform var(--transition);
}

.solution-card:hover .solution-card-icon {
    transform: scale(1.08) rotate(2deg);
}

/* ============================================
   Infographic Container
   ============================================ */
.infographic-container {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 16px;
    box-shadow: var(--shadow-sm);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.tb-infographic-img {
    display: block;
    width: 100%;
    min-width: 600px;
    height: auto;
    border-radius: var(--radius);
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-size: 0.9375rem;
    font-weight: 600;
    border: 1px solid transparent;
    border-radius: var(--radius);
    cursor: pointer;
    text-decoration: none;
    transition: all var(--transition);
    white-space: nowrap;
    min-height: 44px;
    letter-spacing: 0.01em;
}

.btn:hover {
    text-decoration: none;
    transform: translateY(-1px);
}

.btn:active {
    transform: translateY(0);
}

.btn-primary {
    background: linear-gradient(135deg, var(--teal-600), var(--teal-700));
    color: #fff;
    border-color: var(--teal-700);
    box-shadow: 0 2px 8px rgba(13, 148, 136, 0.25);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--teal-500), var(--teal-600));
    border-color: var(--teal-600);
    color: #fff;
    box-shadow: 0 4px 12px rgba(13, 148, 136, 0.35);
}

.btn-ghost {
    background: transparent;
    color: var(--teal-700);
    border-color: var(--teal-600);
}

.btn-ghost:hover {
    background: var(--teal-50);
    color: var(--teal-800);
}

.hero .btn-ghost {
    color: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.05);
}

.hero .btn-ghost:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.5);
    color: #fff;
}

.btn-sm {
    padding: 7px 16px;
    font-size: 0.8125rem;
    min-height: 34px;
}

/* ============================================
   Cards 2.0
   ============================================ */
.card-container {
    container-type: inline-size;
}

.card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition-slow),
                transform var(--transition-slow),
                border-color var(--transition-slow);
    height: 100%;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--teal-500), var(--teal-600));
    opacity: 0;
    transition: opacity var(--transition-slow);
}

.card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
    border-color: var(--teal-200);
}

.card:hover::before {
    opacity: 1;
}

.card-body {
    padding: 24px;
    flex-grow: 1;
}

.card-head-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.card-footer {
    padding: 14px 24px;
    background: var(--surface-alt);
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-size: 0.8125rem;
}

.card-title {
    font-size: 1.125rem;
    margin-bottom: 10px;
    font-weight: 700;
    line-height: 1.35;
}

.card-title a {
    color: var(--navy-900);
    text-decoration: none;
}

.card-title a:hover {
    color: var(--teal-700);
    text-decoration: none;
}

.card-text {
    color: var(--muted);
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: 14px;
}

.card-meta {
    font-size: 0.8125rem;
    color: var(--muted);
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.card-tag {
    display: inline-block;
    font-size: 0.75rem;
    color: var(--teal-700);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.model-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--navy-700);
    background: var(--navy-100);
    padding: 2px 8px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--navy-200);
}

.card-link-action {
    color: var(--teal-700);
    font-weight: 600;
    font-size: 0.8125rem;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: gap var(--transition);
}

.card-link-action:hover {
    color: var(--teal-600);
    text-decoration: none;
    gap: 7px;
}

.card-subtext {
    color: var(--light);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card-list {
    list-style: none;
    padding: 0;
    margin: 12px 0;
}

.card-list li {
    padding: 6px 0;
    font-size: 0.875rem;
    color: var(--muted);
    border-bottom: 1px solid var(--border);
}

.card-list li:last-child {
    border-bottom: none;
}

/* ============================================
   Panels
   ============================================ */
.panel {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-xs);
}

.panel h2, .panel h3 {
    margin-bottom: 12px;
}

.panel-list {
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: panel;
}

.panel-list li {
    counter-increment: panel;
    padding: 14px 0 14px 40px;
    border-bottom: 1px solid var(--border);
    font-size: 0.9375rem;
    position: relative;
    line-height: 1.6;
}

.panel-list li::before {
    content: counter(panel);
    position: absolute;
    left: 0;
    top: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: var(--teal-50);
    color: var(--teal-700);
    font-weight: 700;
    font-size: 0.8125rem;
    border-radius: 50%;
    border: 1px solid var(--teal-200);
}

.panel-list li:last-child {
    border-bottom: none;
}

/* ============================================
   Claim & Evidence Badges 2.0
   ============================================ */
.claim-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 11px;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    white-space: nowrap;
    line-height: 1.4;
    letter-spacing: 0.01em;
}

.claim-icon {
    font-size: 0.75rem;
    line-height: 1;
}

.claim-grade-tag {
    font-weight: 800;
    margin-right: 4px;
    text-transform: uppercase;
}

.claim-manufacturer {
    background: rgba(183, 121, 31, 0.10);
    color: var(--claim-manufacturer);
    border: 1px solid rgba(183, 121, 31, 0.25);
}

.claim-supported {
    background: var(--emerald-50);
    color: var(--emerald-700);
    border: 1px solid var(--emerald-100);
}

.claim-conflict {
    background: var(--red-50);
    color: var(--red-700);
    border: 1px solid var(--red-100);
}

.claim-pending {
    background: var(--navy-100);
    color: var(--navy-700);
    border: 1px solid var(--navy-200);
}

.grade-a {
    background: var(--grade-a-bg);
    color: var(--grade-a-text);
    border: 1px solid var(--grade-a-border);
    font-weight: 700;
}

.grade-b {
    background: var(--grade-b-bg);
    color: var(--grade-b-text);
    border: 1px solid var(--grade-b-border);
    font-weight: 700;
}

.grade-c {
    background: var(--grade-c-bg);
    color: var(--grade-c-text);
    border: 1px solid var(--grade-c-border);
    font-weight: 600;
}

.grade-warn {
    background: var(--amber-50);
    color: var(--amber-700);
    border: 1px solid var(--amber-100);
    font-weight: 700;
}

.claim-note {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 20px;
    background: var(--surface-alt);
    border-radius: var(--radius);
    margin-bottom: 24px;
    border-left: 3px solid var(--teal-500);
}

.claim-note .claim-badge {
    flex-shrink: 0;
    margin-top: 2px;
}

.claim-note-text {
    font-size: 0.875rem;
    color: var(--muted);
    line-height: 1.55;
}

/* ============================================
   Data lists & Tables with Sticky Columns
   ============================================ */
.data-list {
    margin: 16px 0;
}

.data-list dt {
    font-weight: 600;
    color: var(--navy-700);
    font-size: 0.875rem;
    margin-top: 14px;
}

.data-list dd {
    margin: 4px 0 10px 0;
    color: var(--navy-600);
    font-size: 0.9375rem;
    line-height: 1.6;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
}

.data-list dd:last-child {
    border-bottom: none;
}

.table-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--card);
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.data-table th,
.data-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.data-table thead th {
    background: var(--navy-50);
    font-weight: 700;
    color: var(--navy-800);
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    border-bottom: 2px solid var(--border-dark);
}

.data-table tbody tr:hover {
    background: var(--teal-50);
}

.sticky-th {
    position: sticky;
    left: 0;
    background: var(--card);
    z-index: 2;
    box-shadow: 2px 0 4px rgba(15, 23, 42, 0.04);
}

thead .sticky-th {
    background: var(--navy-50);
}

.active-market-indicator {
    display: inline-block;
    font-size: 0.7rem;
    background: var(--teal-600);
    color: #fff;
    padding: 1px 6px;
    border-radius: var(--radius-sm);
    margin-left: 6px;
    font-weight: 600;
}

/* Status Badges inside Tables */
.table-badge {
    display: inline-block;
    padding: 3px 8px;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    white-space: nowrap;
}

.badge-success {
    background: var(--emerald-50);
    color: var(--emerald-700);
    border: 1px solid var(--emerald-100);
}

.badge-warning {
    background: var(--amber-50);
    color: var(--amber-700);
    border: 1px solid var(--amber-100);
}

.badge-muted {
    background: var(--navy-50);
    color: var(--navy-500);
    border: 1px solid var(--navy-200);
}

.badge-neutral {
    background: var(--blue-50);
    color: var(--blue-700);
    border: 1px solid var(--blue-100);
}

.market-status-table {
    font-size: 0.8125rem;
}

.market-status-table th,
.market-status-table td {
    padding: 10px 12px;
    white-space: nowrap;
}

.market-status-table tr.is-current {
    background: var(--teal-50);
    font-weight: 600;
}

/* ============================================
   Forms
   ============================================ */
.form {
    margin-bottom: 24px;
}

.form-field {
    margin-bottom: 18px;
}

.form-field label {
    display: block;
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--navy-800);
    margin-bottom: 6px;
}

.form-field .req {
    color: var(--claim-conflict);
}

.form-field input[type="text"],
.form-field input[type="email"],
.form-field input[type="url"],
.form-field input[type="tel"],
.form-field select,
.form-field textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid var(--border-dark);
    border-radius: var(--radius);
    font-size: 0.9375rem;
    font-family: inherit;
    color: var(--text);
    background: var(--card);
    transition: border-color var(--transition), box-shadow var(--transition);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--teal-500);
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.12);
}

.form-field textarea {
    resize: vertical;
    min-height: 80px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

@media (max-width: 600px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
}

.form-checkbox label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-weight: 400;
    font-size: 0.875rem;
    color: var(--text);
    cursor: pointer;
}

.form-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    flex-shrink: 0;
    accent-color: var(--teal-600);
}

.form-actions {
    margin-top: 24px;
}

.form-alert {
    padding: 12px 16px;
    background: rgba(180, 35, 24, 0.06);
    border: 1px solid rgba(180, 35, 24, 0.18);
    border-radius: var(--radius);
    font-size: 0.8125rem;
    color: var(--claim-conflict);
    margin-bottom: 16px;
}

.form-note {
    font-size: 0.8125rem;
    color: var(--muted);
    margin-top: 8px;
}

.form-inline {
    display: flex;
    gap: 8px;
    align-items: center;
}

.form-inline input[type="email"] {
    flex: 1;
    padding: 11px 14px;
    border: 1px solid var(--border-dark);
    border-radius: var(--radius);
    font-size: 0.9375rem;
}

.form-inline input:focus {
    outline: none;
    border-color: var(--teal-500);
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.12);
}

.form-inline-label {
    display: block;
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 8px;
    color: var(--navy-800);
}

.form-inline-mini {
    display: inline;
}

/* ============================================
   Workflow diagram (TB & IVD) 2.0
   ============================================ */
.workflow {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    margin-bottom: 28px;
    box-shadow: var(--shadow-sm);
}

.workflow-heading {
    font-size: 1.1875rem;
    margin-bottom: 20px;
    color: var(--navy-900);
    font-weight: 700;
}

.workflow-steps {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.grid-2 .workflow-steps {
    grid-template-columns: repeat(2, 1fr);
}

.grid-2 .workflow-arrow {
    display: none;
}

.workflow-step {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    padding: 20px 18px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    position: relative;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.workflow-step:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--teal-300);
}

.workflow-step-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 12px;
}

.workflow-code {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--teal-600), var(--teal-800));
    color: #fff;
    font-weight: 800;
    font-size: 0.8125rem;
    box-shadow: 0 2px 6px rgba(13, 148, 136, 0.25);
}

.workflow-badge {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--navy-600);
    background: var(--navy-100);
    padding: 2px 6px;
    border-radius: var(--radius-sm);
}

.workflow-step-title {
    font-weight: 700;
    font-size: 0.9375rem;
    color: var(--navy-900);
    margin-bottom: 6px;
    line-height: 1.35;
}

.workflow-step-desc {
    font-size: 0.8125rem;
    color: var(--muted);
    line-height: 1.5;
    margin-bottom: 10px;
}

.workflow-targets {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: auto;
    padding-top: 8px;
}

.target-pill {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    background: var(--teal-50);
    color: var(--teal-800);
    border: 1px solid var(--teal-200);
    padding: 1px 6px;
    border-radius: var(--radius-sm);
}

.workflow-arrow {
    position: absolute;
    right: -12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--teal-600);
    font-size: 1.25rem;
    font-weight: bold;
    z-index: 3;
}

@media (max-width: 900px) {
    .workflow-steps {
        grid-template-columns: repeat(2, 1fr);
    }
    .workflow-arrow {
        display: none;
    }
}

@media (max-width: 600px) {
    .workflow-steps {
        grid-template-columns: 1fr;
    }
    .workflow-step {
        padding: 16px;
    }
}

.workflow-note {
    font-size: 0.8125rem;
    color: var(--muted);
    padding: 14px 18px;
    background: var(--surface-alt);
    border-radius: var(--radius);
    border-left: 3px solid var(--claim-manufacturer);
    line-height: 1.55;
}

/* ============================================
   Detail layout
   ============================================ */
.detail-layout {
    margin: 32px 0;
}

.detail-block {
    margin: 32px 0;
    padding-top: 28px;
    border-top: 1px solid var(--border);
}

.detail-block:first-of-type {
    border-top: none;
    padding-top: 0;
}

/* CTA block */
.cta-block {
    background: var(--surface-alt);
    border-radius: var(--radius-lg);
    padding: 28px;
    text-align: center;
}

.cta-block h2 {
    margin-bottom: 16px;
}

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

.cta-actions .btn {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
}

@media (max-width: 768px) {
    .cta-actions {
        flex-direction: column;
    }
    .cta-actions .btn {
        width: 100%;
        justify-content: center;
    }
}

/* ============================================
   Breadcrumbs
   ============================================ */
.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    font-size: 0.8125rem;
    color: var(--muted);
    margin-bottom: 24px;
    padding: 10px 16px;
    background: var(--surface-alt);
    border-radius: var(--radius);
}

.breadcrumbs a {
    color: var(--teal-700);
    text-decoration: none;
    font-weight: 500;
}

.breadcrumbs a:hover,
.breadcrumbs a:focus {
    text-decoration: underline;
}

.breadcrumbs span[aria-hidden="true"] {
    color: var(--navy-300);
}

.breadcrumbs > span:last-child {
    color: var(--navy-700);
    font-weight: 500;
}

/* ============================================
   Prose (article body) — optimized for reading
   ============================================ */
.prose {
    max-width: var(--max-width-reading);
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--navy-800);
}

.prose h1, .prose h2, .prose h3 {
    margin-top: 1.6em;
    margin-bottom: 0.5em;
    scroll-margin-top: 90px;
}

.prose h1:first-child,
.prose h2:first-child,
.prose h3:first-child {
    margin-top: 0;
}

.prose h2 {
    font-size: 1.375rem;
    color: var(--navy-900);
    margin: 32px 0 14px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--teal-100);
}

.prose h3 {
    font-size: 1.1875rem;
    color: var(--navy-800);
    margin: 24px 0 10px;
}

.prose p {
    margin-bottom: 1.1rem;
    line-height: 1.8;
}

.prose ul, .prose ol {
    margin-bottom: 1.1rem;
    padding-left: 1.5rem;
}

.prose li {
    margin-bottom: 8px;
    line-height: 1.7;
}

.prose ul > li::marker {
    color: var(--teal-600);
}

.prose blockquote {
    border-left: 4px solid var(--teal-500);
    padding: 14px 20px;
    margin: 20px 0;
    background: var(--teal-50);
    border-radius: 0 var(--radius) var(--radius) 0;
    color: var(--navy-700);
    font-style: italic;
    font-size: 1rem;
}

.prose code {
    background: var(--navy-100);
    padding: 2px 7px;
    border-radius: var(--radius-sm);
    font-size: 0.875em;
    font-family: "SF Mono", "Fira Code", "Consolas", monospace;
    color: var(--navy-800);
}

.prose pre {
    background: var(--navy-900);
    color: #e2e8f0;
    padding: 18px 22px;
    border-radius: var(--radius);
    overflow-x: auto;
    margin: 20px 0;
    font-size: 0.875rem;
    line-height: 1.6;
}

.prose pre code {
    background: none;
    padding: 0;
    color: inherit;
}

.prose table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    font-size: 0.9375rem;
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.prose th {
    background: var(--navy-800);
    color: #fff;
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
    font-size: 0.875rem;
}

.prose th, .prose td {
    border: 1px solid var(--border);
}

.prose td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
}

.prose tr:nth-child(even) td {
    background: var(--navy-50);
}

.lead {
    font-size: 1.1875rem;
    color: var(--muted);
    line-height: 1.65;
}

/* ============================================
   Article header and meta
   ============================================ */
.article-header {
    margin-bottom: 28px;
}

.article-header h1 {
    font-size: 1.875rem;
    line-height: 1.25;
    color: var(--navy-900);
    margin-bottom: 12px;
    letter-spacing: -0.03em;
}

.article-header .lead {
    font-size: 1.125rem;
    color: var(--muted);
    line-height: 1.65;
    margin-bottom: 14px;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 0.8125rem;
    color: var(--light);
    margin-top: 10px;
}

.article-meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.article-footer {
    margin-top: 40px;
    padding-top: 28px;
    border-top: 1px solid var(--border);
}

/* ============================================
   Article table of contents
   ============================================ */
.article-toc {
    background: var(--surface-alt);
    border-radius: var(--radius-lg);
    padding: 20px 24px;
    margin-bottom: 28px;
    border-left: 4px solid var(--teal-500);
}

.toc-heading {
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--navy-600);
    margin-bottom: 14px;
    font-weight: 700;
}

.toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: toc;
}

.toc-list li {
    counter-increment: toc;
    padding: 5px 0;
}

.toc-list li::before {
    content: counter(toc) ".";
    color: var(--teal-600);
    font-weight: 700;
    margin-right: 10px;
}

.toc-list a {
    color: var(--navy-700);
    text-decoration: none;
    border-bottom: 1px dotted var(--navy-300);
    transition: color var(--transition);
}

.toc-list a:hover,
.toc-list a:focus {
    color: var(--teal-700);
    border-bottom-color: var(--teal-500);
}

/* ============================================
   Analytical cards
   ============================================ */
.analytical-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 28px 0;
}

.analytical-card {
    padding: 22px;
    background: var(--card);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition-slow), transform var(--transition-slow), border-color var(--transition-slow);
    position: relative;
    border-left: 4px solid var(--teal-500);
}

.analytical-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.analytical-problem {
    border-left-color: var(--amber-500);
}

.analytical-solution {
    border-left-color: var(--teal-600);
}

.analytical-boundary {
    border-left-color: var(--emerald-600);
}

.analytical-gap {
    border-left-color: var(--blue-600);
}

.analytical-card h3 {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--navy-800);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.analytical-card .card-icon {
    font-size: 1.125rem;
    line-height: 1;
}

.analytical-card p {
    font-size: 0.875rem;
    color: var(--muted);
    margin-bottom: 0;
    line-height: 1.6;
}

@media (max-width: 600px) {
    .analytical-cards {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   Evidence status bar
   ============================================ */
.evidence-status-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    padding: 14px 22px;
    background: var(--surface-alt);
    border-radius: var(--radius);
    border-left: 4px solid var(--teal-500);
    margin-bottom: 28px;
    font-size: 0.8125rem;
    align-items: center;
}

.evidence-status-bar strong {
    color: var(--navy-800);
}

.evidence-status-bar .status-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

/* ============================================
   Warning / conflict boxes
   ============================================ */
.discrepancy-warning {
    background: #FEF3C7;
    border: 1px solid #FDE68A;
    border-left: 4px solid #F59E0B;
    border-radius: var(--radius);
    padding: 16px 20px;
    margin: 24px 0;
    font-size: 0.875rem;
    color: #92400E;
    line-height: 1.6;
}

.discrepancy-warning strong {
    color: #78350F;
}

.warning-box {
    padding: 16px 20px;
    background: #FEF3C7;
    border: 1px solid #FDE68A;
    border-left: 4px solid #F59E0B;
    border-radius: var(--radius);
    margin: 16px 0;
    font-size: 0.875rem;
}

.warning-box strong {
    color: #92400E;
}

.conflict-box {
    padding: 16px 20px;
    background: #FEE2E2;
    border: 1px solid #FECACA;
    border-left: 4px solid #EF4444;
    border-radius: var(--radius);
    margin: 16px 0;
    font-size: 0.875rem;
}

.conflict-box strong {
    color: #991B1B;
}

/* ============================================
   Source list
   ============================================ */
.source-list {
    margin: 32px 0;
    padding: 24px;
    background: var(--surface-alt);
    border-radius: var(--radius-lg);
}

.source-list h2 {
    font-size: 1.3125rem;
    color: var(--navy-800);
    margin-bottom: 8px;
}

.source-note {
    font-size: 0.8125rem;
    color: var(--muted);
    margin-bottom: 18px;
}

.source-items {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.source-items li {
    display: grid;
    grid-template-columns: 180px auto 1fr;
    gap: 12px;
    align-items: start;
    padding: 14px 18px;
    background: #fff;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.source-type {
    font-weight: 700;
    font-size: 0.8125rem;
    color: var(--navy-700);
}

.source-status {
    display: inline-flex;
    align-items: center;
}

.source-desc {
    font-size: 0.8125rem;
    color: var(--navy-600);
    line-height: 1.55;
}

@media (max-width: 768px) {
    .source-items li {
        grid-template-columns: 1fr;
        gap: 6px;
    }
}

/* ============================================
   Product Hero Visual Card
   ============================================ */
.product-hero-card {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 28px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
}

.product-hero-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--teal-500), var(--blue-600));
}

.product-hero-icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    min-width: 80px;
    background: var(--surface-alt);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
}

.product-hero-info {
    flex-grow: 1;
}

.product-hero-tags {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.product-hero-title {
    font-size: 1.625rem;
    font-weight: 800;
    color: var(--navy-900);
    margin-bottom: 6px;
    line-height: 1.25;
}

.product-hero-mfg {
    font-size: 0.875rem;
    color: var(--muted);
    margin: 0;
}

@media (max-width: 600px) {
    .product-hero-card {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
        gap: 16px;
    }
    .product-hero-title {
        font-size: 1.375rem;
    }
}

/* ============================================
   Checklist
   ============================================ */
.checklist {
    list-style: none;
    padding: 0;
    margin: 12px 0 24px;
}

.checklist li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.9375rem;
}

.checklist li:last-child {
    border-bottom: none;
}

.checklist input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    flex-shrink: 0;
    accent-color: var(--teal-600);
}

/* ============================================
   Document list
   ============================================ */
.doc-list {
    list-style: none;
    padding: 0;
    margin: 12px 0;
}

.doc-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    flex-wrap: wrap;
    gap: 8px;
}

.doc-list li:last-child {
    border-bottom: none;
}

.doc-title {
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--navy-800);
}

.doc-meta {
    font-size: 0.8125rem;
    color: var(--muted);
}

/* ============================================
   Professional disclaimer
   ============================================ */
.pro-disclaimer {
    background: var(--surface-alt);
    border: 1px solid var(--border);
    border-left: 4px solid var(--claim-pending);
    border-radius: var(--radius);
    padding: 22px;
    margin-top: 32px;
}

.pro-disclaimer h3 {
    font-size: 1rem;
    margin-bottom: 8px;
    color: var(--navy-800);
}

.pro-disclaimer p {
    font-size: 0.875rem;
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: 0;
}

/* ============================================
   Market selector / cards
   ============================================ */
.market-selector {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.market-selector .card {
    flex: 1;
    min-width: 200px;
}

.market-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 28px 0;
}

.market-card {
    display: flex;
    flex-direction: column;
    padding: 24px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    text-decoration: none;
    transition: all var(--transition-slow);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.market-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.market-card-flag {
    font-size: 1.5rem;
    line-height: 1;
}

.market-card-badge {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--teal-800);
    background: var(--teal-50);
    border: 1px solid var(--teal-200);
    padding: 2px 8px;
    border-radius: var(--radius-full);
}

.market-card:hover,
.market-card:focus {
    border-color: var(--teal-300);
    box-shadow: var(--shadow-lg);
    text-decoration: none;
    transform: translateY(-3px);
}

.market-card.active {
    border-color: var(--teal-600);
    background: linear-gradient(180deg, #FFFFFF 0%, var(--teal-50) 100%);
    box-shadow: 0 0 0 2px var(--teal-600), var(--shadow-md);
}

.market-card h3 {
    font-size: 1.1875rem;
    margin-bottom: 8px;
    color: var(--navy-900);
    font-weight: 700;
}

.market-card p {
    font-size: 0.875rem;
    color: var(--muted);
    margin-bottom: 16px;
    line-height: 1.55;
    flex-grow: 1;
}

.market-card-action {
    display: inline-flex;
    align-items: center;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--teal-700);
    transition: color var(--transition);
    margin-top: auto;
}

.market-card:hover .market-card-action {
    color: var(--teal-600);
}

.market-card.active .market-card-action {
    color: var(--emerald-700);
    font-weight: 700;
}

@media (max-width: 768px) {
    .market-cards {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   Flash messages
   ============================================ */
.flash {
    padding: 14px 22px;
    font-size: 0.9375rem;
    border-bottom: 1px solid transparent;
}

.flash-success {
    background: rgba(36, 122, 82, 0.08);
    color: var(--claim-supported);
    border-bottom-color: rgba(36, 122, 82, 0.2);
}

.flash-error {
    background: rgba(180, 35, 24, 0.08);
    color: var(--claim-conflict);
    border-bottom-color: rgba(180, 35, 24, 0.2);
}

.flash-info {
    background: rgba(37, 99, 235, 0.08);
    color: var(--blue-600);
    border-bottom-color: rgba(37, 99, 235, 0.2);
}

/* ============================================
   Empty state
   ============================================ */
.empty-state {
    text-align: center;
    padding: 56px 20px;
    color: var(--muted);
    font-size: 0.9375rem;
}

/* ============================================
   Contact layout
   ============================================ */
.contact-layout {
    align-items: flex-start;
}

/* ============================================
   Related content
   ============================================ */
.related-content {
    margin: 40px 0 20px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.related-content h2 {
    font-size: 1.3125rem;
    margin-bottom: 18px;
}

.related-content .card-title {
    font-size: 0.9375rem;
}

.related-content .card-text {
    font-size: 0.8125rem;
    color: var(--muted);
}

/* ============================================
   Footer
   ============================================ */
.site-footer {
    background: var(--navy-900);
    color: rgba(255, 255, 255, 0.65);
    padding: 48px 0 0;
    margin-top: 48px;
}

.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 2fr;
    gap: 32px;
    padding-bottom: 32px;
}

@media (max-width: 768px) {
    .footer-inner {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}

.footer-brand .brand-name {
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: #fff;
}

.footer-tagline {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.55;
}

.footer-nav h2 {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 14px;
    font-weight: 700;
}

.footer-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav li {
    margin-bottom: 8px;
}

.footer-nav a {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.875rem;
    text-decoration: none;
    transition: color var(--transition);
}

.footer-nav a:hover {
    color: #fff;
}

.footer-disclaimer p {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.4);
    line-height: 1.55;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 18px 24px;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.35);
    margin: 0;
}

/* ============================================
   Error page
   ============================================ */
.error-page {
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 48px 24px;
}

.error-page h1 {
    font-size: 3.5rem;
    color: var(--navy-900);
    margin-bottom: 16px;
    letter-spacing: -0.04em;
}

.error-page p {
    font-size: 1.125rem;
    color: var(--muted);
    margin-bottom: 24px;
}

/* ============================================
   Main content
   ============================================ */
.site-main {
    min-height: calc(100vh - var(--header-height) - 300px);
}

/* ============================================
   Responsive adjustments
   ============================================ */
@media (max-width: 600px) {
    h1 { font-size: 1.5rem; }
    h2 { font-size: 1.25rem; }
    h3 { font-size: 1.0625rem; }

    .section {
        padding: 32px 0;
    }

    .container {
        padding: 0 16px;
    }

    .container-narrow {
        padding: 0 16px;
    }

    .card-body, .panel {
        padding: 18px;
    }

    .btn {
        width: 100%;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .article-header h1 {
        font-size: 1.5rem;
    }

    .hero-title {
        font-size: 1.375rem;
    }

    .section-head h2::before {
        width: 28px;
    }

    .form-inline {
        flex-direction: column;
        gap: 10px;
        align-items: stretch;
    }
}

@media (max-width: 360px) {
    .container {
        padding: 0 12px;
    }

    body {
        font-size: 0.9375rem;
    }
}

/* Word breaking for long URLs/text */
h1, h2, h3, h4, h5, h6, p, li, a, span, dd, dt {
    overflow-wrap: anywhere;
    word-break: break-word;
}

/* ============================================
   Print styles
   ============================================ */
@media print {
    .site-header, .site-footer, .nav-toggle, .market-switch,
    .subscribe-form, .contact-form, .requirement-form,
    .form-actions, .btn {
        display: none !important;
    }

    body {
        background: #fff;
        color: #000;
    }

    .card, .panel {
        border: 1px solid #ccc;
        box-shadow: none;
    }
}
