/* Pexo Labs pre-lander
   Same tokens as the pexolabs.com theme (style.css :root), trimmed to what
   this one page uses. */

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

:root {
    --pl-bg-primary: #ffffff;
    --pl-bg-secondary: #f5f7fa;
    --pl-accent: #1e3a6e;
    --pl-accent-hover: #163057;
    --pl-accent-dim: rgba(30, 58, 110, 0.08);
    --pl-text: #1a1a2e;
    --pl-text-muted: #5a6578;
    --pl-text-dim: #8896a6;
    --pl-border: #e2e8f0;
    --pl-border-light: #d1d9e6;
    --pl-green: #059669;
    --pl-radius: 8px;
    --pl-radius-lg: 12px;
    --pl-radius-xl: 16px;
    --pl-shadow: 0 2px 16px rgba(30, 58, 110, 0.08);
    --pl-shadow-lg: 0 8px 32px rgba(30, 58, 110, 0.12);
    --pl-transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --pl-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --pl-max-width: 1280px;
}

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }

body {
    font-family: var(--pl-font);
    background: var(--pl-bg-secondary);
    color: var(--pl-text);
    line-height: 1.6;
    font-size: 16px;
    overflow-x: clip;
}

a { color: var(--pl-accent); text-decoration: none; transition: color var(--pl-transition); }
a:hover { color: var(--pl-accent-hover); }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; color: var(--pl-text); }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
h3 { font-size: clamp(1.1rem, 2.2vw, 1.35rem); }
:focus-visible { outline: 2px solid var(--pl-accent); outline-offset: 3px; }

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

/* ===== TICKER ===== */
.ticker {
    display: flex; align-items: center;
    background: var(--pl-accent); color: #fff;
    font-size: 13px; font-weight: 600; height: 36px;
    overflow: hidden; white-space: nowrap;
}
.ticker:hover { color: #fff; }
.ticker__track { display: flex; gap: 48px; animation: marquee 30s linear infinite; }
.ticker__track span { display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0; }
.ticker__track span::before { content: '•'; opacity: 0.5; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ===== HEADER ===== */
.site-header {
    position: sticky; top: 0; z-index: 1000;
    background: var(--pl-bg-primary);
    border-bottom: 1px solid var(--pl-border);
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.06);
    padding: 12px 0;
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.site-logo__mark { width: 40px; height: 40px; }
.site-logo__wordmark { height: 40px; width: auto; margin-left: 2px; }

.main-nav ul { list-style: none; display: flex; gap: 28px; align-items: center; }
.main-nav a { color: var(--pl-text-muted); font-size: 14px; font-weight: 500; position: relative; padding: 4px 0; }
.main-nav a::after { content: ''; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px; background: var(--pl-accent); transition: width var(--pl-transition); }
.main-nav a:hover { color: var(--pl-text); }
.main-nav a:hover::after { width: 100%; }
.menu-mobile-only { display: none; }

.header-actions { display: flex; align-items: center; gap: 12px; }
.btn-header { padding: 11px 20px; font-size: 14px; }
.mobile-toggle { display: none; background: none; border: none; color: var(--pl-text); cursor: pointer; padding: 8px; line-height: 0; }

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 14px 28px; border-radius: var(--pl-radius);
    font-family: var(--pl-font); font-size: 15px; font-weight: 600; white-space: nowrap;
    border: none; cursor: pointer; transition: all var(--pl-transition);
}
.btn-primary { background: var(--pl-accent); color: #fff; }
.btn-primary:hover { background: var(--pl-accent-hover); color: #fff; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(30, 58, 110, 0.25); }
.btn-outline { background: #fff; color: var(--pl-accent); border: 2px solid var(--pl-accent); }
.btn-outline:hover { background: #eef2f7; transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--pl-accent); }
.btn-light:hover { background: #eef2f7; color: var(--pl-accent); transform: translateY(-2px); }
.btn-outline-light { background: transparent; color: #fff; border: 2px solid rgba(255, 255, 255, 0.6); }
.btn-outline-light:hover { border-color: #fff; color: #fff; transform: translateY(-2px); }

/* ===== HERO (same treatment as the pexolabs.com homepage) ===== */
.hero {
    position: relative; overflow: hidden;
    padding: 100px 0 0;
    background: #1e3a6e url('img/hero-rays.jpg') center / cover no-repeat;
}
.hero .container {
    position: relative; z-index: 1;
    display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
    min-height: 600px; padding-bottom: 100px;
}
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(30, 58, 110, 0.08); border: 1px solid var(--pl-accent); color: var(--pl-accent);
    padding: 8px 16px; border-radius: 50px; font-size: 13px; font-weight: 600; letter-spacing: 0.5px;
    margin-bottom: 24px;
}
.hero h1 { color: var(--pl-accent); margin-bottom: 20px; letter-spacing: -1px; }
.hero-description { font-size: 17px; line-height: 1.7; color: var(--pl-accent); font-weight: 500; max-width: 520px; margin-bottom: 32px; }
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-ctas--center { justify-content: center; }
.hero-points { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 28px; font-size: 13.5px; font-weight: 600; color: var(--pl-accent); }
.hero-points li { display: inline-flex; align-items: center; gap: 7px; }
.hero-points li::before { content: ''; width: 6px; height: 11px; border: solid var(--pl-green); border-width: 0 2px 2px 0; transform: rotate(45deg); margin: 0 3px 3px 0; }

.hero-images {
    position: absolute; right: 0; bottom: 0; width: 60%;
    display: flex; justify-content: flex-end; align-items: flex-end; pointer-events: none;
}
.hero-vials { width: 100%; max-width: 780px; height: auto; filter: drop-shadow(0 24px 40px rgba(15, 23, 42, 0.28)); }

/* ===== TRUST BADGES ===== */
.trust-badges { background: var(--pl-bg-primary); border-top: 1px solid var(--pl-border); border-bottom: 1px solid var(--pl-border); padding: 32px 0; }
.trust-badges .container { display: flex; justify-content: center; gap: 48px; flex-wrap: wrap; }
.trust-badge { display: flex; align-items: center; gap: 12px; color: var(--pl-text-muted); font-size: 14px; font-weight: 500; }
.trust-badge__icon { width: 40px; height: 40px; flex-shrink: 0; }
.trust-badge__icon img { width: 40px; height: 40px; object-fit: contain; pointer-events: none; }
.trust-badge strong { display: block; color: var(--pl-text); font-size: 15px; }

/* ===== SECTIONS ===== */
.section { padding: 80px 0; }
.section--alt { background: var(--pl-bg-primary); }
.section-header { text-align: center; margin-bottom: 48px; }
.section-header p { color: var(--pl-text-muted); font-size: 17px; margin: 12px auto 0; max-width: 600px; }
.section-eyebrow { display: inline-block; color: var(--pl-accent); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 12px; }
.section-cta { text-align: center; margin-top: 36px; }

/* ===== PROCESS STEPS ===== */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; max-width: 1000px; margin: 0 auto; counter-reset: step; }
.step { position: relative; background: var(--pl-bg-primary); border: 1px solid var(--pl-border); border-radius: var(--pl-radius-lg); padding: 28px 24px 26px; box-shadow: var(--pl-shadow); }
.step__num { width: 44px; height: 44px; border-radius: 50%; background: var(--pl-accent); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 800; margin-bottom: 16px; }
.step h3 { margin-bottom: 8px; }
.step p { font-size: 14px; line-height: 1.6; color: var(--pl-text-muted); }
/* connector between step cards on desktop */
.step + .step::before { content: ''; position: absolute; left: -24px; top: 50px; width: 24px; height: 2px; background: var(--pl-border-light); }

/* ===== CATALOG ===== */
.catalog-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.catalog-card {
    display: flex; flex-direction: column;
    background: var(--pl-bg-secondary); border: 1px solid var(--pl-border); border-radius: var(--pl-radius-lg);
    padding: 28px 24px; color: inherit; transition: border-color var(--pl-transition), box-shadow var(--pl-transition);
}
.catalog-card:hover { border-color: var(--pl-accent); box-shadow: var(--pl-shadow-lg); color: inherit; }
.catalog-card h3 { margin-bottom: 10px; }
.catalog-card p { flex: 1; font-size: 14px; line-height: 1.6; color: var(--pl-text-muted); margin-bottom: 18px; }
.catalog-card__link { font-size: 14px; font-weight: 700; color: var(--pl-accent); text-decoration: underline; text-underline-offset: 3px; }
.catalog-note { text-align: center; font-size: 13px; color: var(--pl-text-dim); margin-top: 24px; }

/* ===== COA ===== */
.coa-layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.coa-copy h2 { margin-bottom: 16px; }
.coa-copy > p { color: var(--pl-text-muted); font-size: 16.5px; line-height: 1.7; margin-bottom: 20px; }
.check-list { list-style: none; margin-bottom: 28px; }
.check-list li { position: relative; padding: 7px 0 7px 28px; font-size: 15px; color: var(--pl-text); }
.check-list li::before { content: ''; position: absolute; left: 6px; top: 11px; width: 6px; height: 11px; border: solid var(--pl-green); border-width: 0 2px 2px 0; transform: rotate(45deg); }

.coa-search label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 8px; }
.coa-search__row { display: flex; gap: 8px; }
.coa-search input {
    flex: 1; min-width: 0; height: 50px; padding: 0 16px;
    border: 1.5px solid var(--pl-border-light); border-radius: var(--pl-radius); background: #fff;
    font-family: var(--pl-font); font-size: 16px; color: var(--pl-text);
}
.coa-search input:focus { outline: none; border-color: var(--pl-accent); box-shadow: 0 0 0 3px rgba(30, 58, 110, 0.12); }
.coa-search .btn { padding: 0 22px; height: 50px; }
.coa-search small { display: block; margin-top: 8px; font-size: 12.5px; color: var(--pl-text-dim); }

.coa-card { background: var(--pl-bg-primary); border: 1px solid var(--pl-border); border-radius: var(--pl-radius-xl); box-shadow: var(--pl-shadow-lg); overflow: hidden; }
.coa-card__head { padding: 20px 24px; border-bottom: 1px solid var(--pl-border); background: var(--pl-accent); color: #fff; }
.coa-card__head strong { display: block; font-size: 17px; font-weight: 800; }
.coa-card__head span { font-size: 13px; opacity: 0.8; }
.coa-card__tests { list-style: none; }
.coa-card__tests li { display: grid; grid-template-columns: 1fr 1.2fr auto; gap: 12px; align-items: center; padding: 14px 24px; border-bottom: 1px solid var(--pl-border); font-size: 14px; }
.coa-card__test { font-weight: 700; color: var(--pl-text); }
.coa-card__method { color: var(--pl-text-muted); }
.coa-card__status { font-size: 12px; font-weight: 700; color: var(--pl-green); background: rgba(5, 150, 105, 0.1); padding: 4px 10px; border-radius: 50px; }
.coa-card__link { display: block; padding: 16px 24px; text-align: center; font-size: 14px; font-weight: 700; background: var(--pl-bg-secondary); }

/* ===== QUALITY ===== */
.quality-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 32px; }
.quality-stat { text-align: center; }
.quality-stat__number { font-size: 2.5rem; font-weight: 800; color: var(--pl-accent); line-height: 1; margin-bottom: 4px; }
.quality-stat__label { font-size: 13px; color: var(--pl-text-muted); }
.quality-tabs { margin-top: 40px; }
.quality-tabs__nav { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.quality-tabs__nav button {
    background: var(--pl-bg-primary); border: 1px solid var(--pl-border); color: var(--pl-text-muted);
    padding: 8px 16px; border-radius: var(--pl-radius); font-family: var(--pl-font); font-size: 13px; font-weight: 600; cursor: pointer;
    transition: all var(--pl-transition);
}
.quality-tabs__nav button.active, .quality-tabs__nav button:hover { background: var(--pl-accent-dim); border-color: var(--pl-accent); color: var(--pl-accent); }
.quality-tab__content { display: none; background: var(--pl-bg-secondary); border: 1px solid var(--pl-border); border-radius: var(--pl-radius-lg); padding: 32px; }
.quality-tab__content.active { display: block; }
.quality-tab__content h4 { font-size: 18px; margin-bottom: 8px; }
.tab-subtitle { color: var(--pl-accent); font-size: 13px; font-weight: 600; margin-bottom: 16px; }
.quality-tab__content p { color: var(--pl-text-muted); line-height: 1.7; }
.tab-callout { background: #fff; border-left: 3px solid var(--pl-accent); padding: 16px 20px; margin-top: 16px; border-radius: 0 var(--pl-radius) var(--pl-radius) 0; color: var(--pl-text-muted); }
.tab-callout strong { color: var(--pl-text); }

/* ===== COMPLIANCE ===== */
.compliance { max-width: 820px; margin: 0 auto; background: var(--pl-bg-primary); border: 1px solid var(--pl-border); border-left: 4px solid var(--pl-accent); border-radius: var(--pl-radius-lg); padding: 36px 40px; }
.compliance h2 { font-size: 1.5rem; margin-bottom: 14px; }
.compliance p { color: var(--pl-text-muted); font-size: 14.5px; line-height: 1.75; margin-bottom: 14px; }
.compliance__link { font-weight: 700; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }

/* ===== FAQ ===== */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border: 1px solid var(--pl-border); border-radius: var(--pl-radius-lg); margin-bottom: 12px; overflow: hidden; background: var(--pl-bg-secondary); }
.faq-item__question {
    width: 100%; background: none; border: none; color: var(--pl-text);
    padding: 20px 24px; font-family: var(--pl-font); font-size: 15px; font-weight: 600; text-align: left; cursor: pointer;
    display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-item__question:hover { background: #eef1f6; }
.faq-item__question::after { content: '+'; font-size: 20px; color: var(--pl-accent); flex-shrink: 0; }
.faq-item.active .faq-item__question::after { content: '−'; }
.faq-item__answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-item__answer p { padding: 0 24px 20px; color: var(--pl-text-muted); line-height: 1.7; font-size: 14px; }

/* ===== CLOSING CTA ===== */
.cta-section { background: linear-gradient(135deg, #1e3a6e 0%, #163057 50%, #0f2440 100%); padding: 80px 0; text-align: center; }
.cta-section h2 { color: #fff; margin-bottom: 16px; }
.cta-section p { color: rgba(255, 255, 255, 0.7); font-size: 17px; margin-bottom: 32px; }

/* ===== FOOTER ===== */
.site-footer { background: #111827; }
.footer-main { padding: 60px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; }
.footer-logo-img { width: 190px; height: auto; margin-bottom: 18px; pointer-events: none; }
.footer-brand p { color: #9ca3af; font-size: 14px; line-height: 1.7; max-width: 300px; }
.footer-col h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 1.5px; color: #6b7280; margin-bottom: 16px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: #9ca3af; font-size: 14px; }
.footer-col a:hover { color: #fff; }
.footer-disclaimer { background: #0a0e1a; border-top: 1px solid #2a3040; padding: 28px 0; }
.footer-disclaimer p { max-width: 900px; margin: 0 auto; color: #9ca3af; font-size: 12.5px; line-height: 1.8; }
.footer-disclaimer strong { color: #fff; }
.footer-bottom { border-top: 1px solid #2a3040; padding: 24px 0; }
.footer-bottom .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 16px; }
.footer-bottom p { color: #6b7280; font-size: 13px; }

/* ===== MOBILE STICKY CTA ===== */
.sticky-cta {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 900;
    display: none; align-items: center; gap: 12px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: #fff; border-top: 1px solid var(--pl-border); box-shadow: 0 -6px 20px rgba(15, 23, 42, 0.1);
    transform: translateY(100%); transition: transform 0.25s ease;
}
.sticky-cta.is-visible { transform: none; }
.sticky-cta__btn { flex: 1; display: flex; align-items: center; justify-content: center; height: 48px; border-radius: 12px; background: var(--pl-accent); color: #fff; font-size: 15px; font-weight: 800; }
.sticky-cta__btn:hover { color: #fff; }
.sticky-cta span { font-size: 11px; color: var(--pl-text-dim); text-align: right; line-height: 1.2; max-width: 80px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero .container { grid-template-columns: 1fr; min-height: 0; gap: 16px; padding-bottom: 0; }
    .hero-images { position: static; width: 100%; justify-content: center; margin-top: 8px; }
    .hero-vials { max-width: 480px; }
    .steps { grid-template-columns: repeat(2, 1fr); }
    .step + .step::before { display: none; }
    .catalog-grid { grid-template-columns: repeat(2, 1fr); }
    .coa-layout { grid-template-columns: 1fr; gap: 36px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
    .main-nav ul { display: none; }
    .mobile-toggle { display: block; }
    .btn-header { display: none; }
    .menu-mobile-only { display: list-item; }
    .site-logo__wordmark { height: 32px; }

    .main-nav.active::before { content: ''; position: fixed; inset: 0; background: rgba(0, 0, 0, 0.4); z-index: 1001; }
    .main-nav.active ul {
        display: flex; flex-direction: column; gap: 0;
        position: fixed; top: 0; right: 0; width: 280px; height: 100%;
        background: #fff; z-index: 1002; padding: 80px 24px 24px; overflow-y: auto;
        box-shadow: -8px 0 40px rgba(0, 0, 0, 0.15);
    }
    .main-nav.active a { display: block; font-size: 16px; padding: 14px 0; border-bottom: 1px solid var(--pl-border); color: var(--pl-text); }
    .main-nav.active a::after { display: none; }
    .main-nav.active .menu-mobile-only a { color: var(--pl-accent); font-weight: 700; border-bottom: none; }
    .mobile-toggle { position: relative; z-index: 1003; }

    .hero { padding-top: 56px; }
    .hero-vials { max-width: 380px; }
    .section { padding: 48px 0; }
    .trust-badges .container { flex-direction: column; align-items: center; gap: 20px; }
    .trust-badge { width: 260px; }
    .steps, .catalog-grid { grid-template-columns: 1fr; }
    .coa-card__tests li { grid-template-columns: 1fr auto; }
    .coa-card__method { grid-column: 1 / -1; font-size: 13px; margin-top: -8px; }
    .compliance { padding: 26px 22px; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom .container { flex-direction: column; text-align: center; }
    .hero-ctas { flex-direction: column; }
    .hero-ctas .btn { width: 100%; }
    .sticky-cta { display: flex; }
    body.sticky-cta-visible { padding-bottom: 72px; }
}
