/* ============================================
   PEPTERA RESEARCH — Design System
   Emerald laboratory aesthetic
   ============================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

/* --- CSS Custom Properties --- */
:root {
    /* Colors */
    --color-bg: #f4f2eb;
    --color-bg-alt: #e7eee8;
    --color-surface: #fffef8;
    --color-surface-hover: #f7fbf7;
    --color-border: #cbd8ce;
    --color-text: #153128;
    --color-text-muted: #5d7369;
    --color-accent: #087357;
    --color-accent-hover: #04543f;
    --color-accent-green: #24a873;
    --color-white: #ffffff;
    --color-ink: #061d16;
    --color-emerald: #00513d;
    --color-emerald-deep: #00392c;
    --color-mint: #c9f1dc;
    --page-hero-bg:
        radial-gradient(circle at 68% 20%, rgba(53, 202, 141, 0.2), transparent 31%),
        radial-gradient(circle at 18% 84%, rgba(35, 148, 105, 0.28), transparent 35%),
        linear-gradient(128deg, #004b38 0%, #006147 48%, #003d2f 100%);
    --page-hero-art: url('/images/hero-science-lines.svg') right center / min(1000px, 70vw) auto no-repeat;
    --page-hero-art-opacity: 0.12;

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', 'Courier New', monospace;

    /* Font Sizes — fluid */
    --text-display: clamp(2.5rem, 5vw, 5rem);
    --text-h1: clamp(2rem, 4vw, 3.5rem);
    --text-h2: clamp(1.5rem, 3vw, 2.5rem);
    --text-h3: clamp(1.25rem, 2vw, 1.75rem);
    --text-body: clamp(1rem, 1.1vw, 1.125rem);
    --text-small: 0.875rem;
    --text-eyebrow: 0.75rem;

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;
    --space-4xl: 8rem;

    /* Layout */
    --container-max: 1240px;
    --container-pad: var(--space-lg);
    --header-height: 76px;

    /* Transitions */
    --ease-out: cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.3s var(--ease-out);

    /* Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-pill: 980px;
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-primary);
    font-size: var(--text-body);
    font-weight: 400;
    line-height: 1.7;
    color: var(--color-text);
    background-color: var(--color-bg);
    overflow-x: hidden;
}

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

a {
    color: var(--color-accent);
    text-decoration: none;
    transition: color var(--transition-base);
}

a:hover {
    color: var(--color-accent-hover);
}

ul, ol {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--color-white);
}

h1 { font-size: var(--text-h1); }
h2 { font-size: var(--text-h2); }
h3 { font-size: var(--text-h3); }

.text-display {
    font-size: var(--text-display);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.03em;
}

.text-eyebrow {
    font-size: var(--text-eyebrow);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--color-accent);
}

.text-muted {
    color: var(--color-text-muted);
}

.text-mono {
    font-family: var(--font-mono);
    font-size: var(--text-small);
}

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

.section {
    padding: var(--space-2xl) 0;
}

@media (min-width: 768px) {
    .section {
        padding: var(--space-3xl) 0;
    }
}

@media (min-width: 1024px) {
    .section {
        padding: var(--space-4xl) 0;
    }
}

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

.grid {
    display: grid;
    gap: var(--space-lg);
}

.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }

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

@media (min-width: 1024px) {
    .grid--3 { grid-template-columns: repeat(3, 1fr); }
}

/* --- Header / Navigation --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--header-height);
    display: flex;
    align-items: center;
    background: transparent;
    transition: background var(--transition-base), border-color var(--transition-base), backdrop-filter var(--transition-base);
    border-bottom: 1px solid transparent;
}

.header--scrolled {
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom-color: var(--color-border);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header__logo img {
    height: 28px;
    width: auto;
}

.nav {
    display: none;
    align-items: center;
    gap: var(--space-lg);
}

.nav a {
    font-size: var(--text-small);
    font-weight: 500;
    color: var(--color-text-muted);
    transition: color var(--transition-base);
    position: relative;
}

.nav a:hover,
.nav a.active {
    color: var(--color-white);
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-accent);
    transition: width var(--transition-base);
}

.nav a:hover::after,
.nav a.active::after {
    width: 100%;
}

@media (min-width: 768px) {
    .nav {
        display: flex;
    }
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    z-index: 1100;
}

.menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--color-text);
    transition: transform var(--transition-base), opacity var(--transition-base);
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

@media (min-width: 768px) {
    .menu-toggle {
        display: none;
    }
}

/* Mobile Nav Overlay */
.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.97);
    z-index: 1050;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-xl);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-base);
}

.mobile-nav.active {
    opacity: 1;
    pointer-events: all;
}

.mobile-nav a {
    font-size: var(--text-h2);
    font-weight: 600;
    color: var(--color-text);
    transition: color var(--transition-base);
}

.mobile-nav a:hover {
    color: var(--color-accent);
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: var(--text-small);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 14px 32px;
    border-radius: var(--radius-pill);
    transition: all var(--transition-base);
    white-space: nowrap;
}

.btn--primary {
    background: var(--color-accent);
    color: var(--color-white);
}

.btn--primary:hover {
    background: var(--color-accent-hover);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(41, 151, 255, 0.3);
}

.btn--secondary {
    background: transparent;
    color: var(--color-accent);
    border: 1px solid var(--color-accent);
}

.btn--secondary:hover {
    background: var(--color-accent);
    color: var(--color-white);
    transform: translateY(-2px);
}

.btn--ghost {
    background: transparent;
    color: var(--color-accent);
    padding: 0;
    text-transform: none;
    letter-spacing: 0;
    font-size: var(--text-body);
}

.btn--ghost::after {
    content: '→';
    transition: transform var(--transition-base);
}

.btn--ghost:hover::after {
    transform: translateX(4px);
}

.btn--ghost:hover {
    color: var(--color-accent-hover);
}

/* --- Hero --- */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    padding-top: var(--header-height);
    overflow: hidden;
}

.hero--short {
    min-height: 40vh;
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero__bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(0, 0, 0, 0.9) 0%,
        rgba(0, 0, 0, 0.6) 50%,
        rgba(0, 0, 0, 0.3) 100%
    );
}

.hero__content {
    position: relative;
    z-index: 1;
    max-width: 700px;
}

.hero__content .text-eyebrow {
    margin-bottom: var(--space-sm);
}

.hero__content h1 {
    margin-bottom: var(--space-md);
}

.hero__content p {
    font-size: clamp(1.05rem, 1.2vw, 1.25rem);
    color: var(--color-text-muted);
    margin-bottom: var(--space-lg);
    max-width: 550px;
    line-height: 1.8;
}

.hero__disclaimer {
    font-size: var(--text-eyebrow);
    font-weight: 600;
    color: var(--color-text-muted);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: var(--space-lg);
    opacity: 0.6;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

/* --- Cards --- */
.card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    transition: all var(--transition-base);
}

.card:hover {
    background: var(--color-surface-hover);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    border-color: rgba(41, 151, 255, 0.15);
}

/* Product Card */
.product-card {
    display: flex;
    flex-direction: column;
    text-align: center;
    overflow: hidden;
    padding: 0;
}

.product-card__image {
    position: relative;
    padding: var(--space-xl) var(--space-lg);
    background: linear-gradient(135deg, var(--color-surface) 0%, #0d0d0d 100%);
    overflow: hidden;
}

.product-card__image img {
    width: 100%;
    max-height: 280px;
    object-fit: contain;
    transition: transform 0.5s var(--ease-out);
}

.product-card:hover .product-card__image img {
    transform: scale(1.05);
}

.product-card__body {
    padding: var(--space-lg);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-card__eyebrow {
    font-size: var(--text-eyebrow);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-accent);
    margin-bottom: var(--space-xs);
}

.product-card__title {
    font-size: var(--text-h3);
    margin-bottom: var(--space-xs);
}

.product-card__meta {
    font-family: var(--font-mono);
    font-size: var(--text-small);
    color: var(--color-text-muted);
    margin-bottom: var(--space-sm);
}

.product-card__purity {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: var(--text-small);
    font-weight: 600;
    color: var(--color-accent-green);
    margin-bottom: var(--space-md);
}

.product-card__purity::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-accent-green);
}

.product-card__actions {
    margin-top: auto;
}

/* --- Purity Badge (detail page) --- */
.purity-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    background: rgba(48, 209, 88, 0.1);
    border: 1px solid rgba(48, 209, 88, 0.2);
    border-radius: var(--radius-pill);
    padding: 6px 16px;
    font-size: var(--text-small);
    font-weight: 600;
    color: var(--color-accent-green);
}

.purity-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-accent-green);
    animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

/* --- Spec Table --- */
.spec-table {
    width: 100%;
    border-collapse: collapse;
}

.spec-table tr {
    border-bottom: 1px solid var(--color-border);
}

.spec-table td {
    padding: var(--space-sm) 0;
    vertical-align: top;
}

.spec-table td:first-child {
    font-weight: 600;
    color: var(--color-text-muted);
    width: 40%;
    font-size: var(--text-small);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.spec-table td:last-child {
    font-family: var(--font-mono);
    color: var(--color-white);
}

/* --- Section Headers --- */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-2xl);
}

.section-header .text-eyebrow {
    margin-bottom: var(--space-sm);
}

.section-header h2 {
    margin-bottom: var(--space-md);
}

.section-header p {
    color: var(--color-text-muted);
    font-size: clamp(1rem, 1.1vw, 1.125rem);
    line-height: 1.8;
}

/* --- Quality Features --- */
.feature-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
}

.feature-item__icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(41, 151, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}

.feature-item__icon svg {
    width: 12px;
    height: 12px;
    fill: var(--color-accent);
}

/* --- CTA Section --- */
.cta-section {
    text-align: center;
    padding: var(--space-3xl) 0;
    border-top: 1px solid var(--color-border);
}

.cta-section h2 {
    margin-bottom: var(--space-md);
}

.cta-section p {
    color: var(--color-text-muted);
    max-width: 550px;
    margin: 0 auto var(--space-lg);
    line-height: 1.8;
}

/* --- Contact Form --- */
.form-group {
    margin-bottom: var(--space-md);
}

.form-group label {
    display: block;
    font-size: var(--text-small);
    font-weight: 600;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-xs);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 18px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    color: var(--color-text);
    font-family: var(--font-primary);
    font-size: var(--text-body);
    transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(41, 151, 255, 0.1);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--color-text-muted);
    opacity: 0.5;
}

.form-check {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
}

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

.form-check label {
    font-size: var(--text-small);
    color: var(--color-text-muted);
    line-height: 1.6;
    text-transform: none;
    letter-spacing: 0;
    font-weight: 400;
}

/* --- Blog / Insights Cards --- */
.insight-card {
    overflow: hidden;
    padding: 0;
}

.insight-card__image {
    height: 200px;
    overflow: hidden;
    background: linear-gradient(135deg, #0a1628 0%, #0d0d0d 100%);
}

.insight-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--ease-out);
}

.insight-card:hover .insight-card__image img {
    transform: scale(1.05);
}

.insight-card__body {
    padding: var(--space-lg);
}

.insight-card__date {
    font-size: var(--text-eyebrow);
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: var(--space-xs);
}

.insight-card__title {
    font-size: var(--text-h3);
    margin-bottom: var(--space-sm);
    transition: color var(--transition-base);
}

.insight-card:hover .insight-card__title {
    color: var(--color-accent);
}

.insight-card__excerpt {
    color: var(--color-text-muted);
    font-size: var(--text-small);
    line-height: 1.7;
    margin-bottom: var(--space-sm);
}

/* --- Footer --- */
.footer {
    background: var(--color-bg);
    border-top: 1px solid var(--color-border);
    padding: var(--space-3xl) 0 var(--space-lg);
}

.footer__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    margin-bottom: var(--space-2xl);
}

@media (min-width: 768px) {
    .footer__grid {
        grid-template-columns: 2fr 1fr 1fr;
    }
}

.footer__brand p {
    color: var(--color-text-muted);
    font-size: var(--text-small);
    line-height: 1.7;
    margin-top: var(--space-sm);
    max-width: 350px;
}

.footer__brand img {
    height: 24px;
}

.footer__heading {
    font-size: var(--text-small);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text);
    margin-bottom: var(--space-sm);
}

.footer__links {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.footer__links a {
    font-size: var(--text-small);
    color: var(--color-text-muted);
}

.footer__links a:hover {
    color: var(--color-white);
}

.footer__disclaimer {
    border-top: 1px solid var(--color-border);
    padding-top: var(--space-lg);
    margin-top: var(--space-lg);
}

.footer__disclaimer p {
    font-size: 0.7rem;
    color: var(--color-text-muted);
    line-height: 1.8;
    opacity: 0.6;
    max-width: 700px;
}

.footer__bottom {
    border-top: 1px solid var(--color-border);
    padding-top: var(--space-sm);
    margin-top: var(--space-lg);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-sm);
}

.footer__copyright {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    opacity: 0.5;
}

.footer__legal {
    display: flex;
    gap: var(--space-sm);
}

.footer__legal a {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    opacity: 0.5;
}

.footer__legal a:hover {
    opacity: 1;
    color: var(--color-white);
}

/* --- Scroll Animations --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* Institutional supply panel */
.institutional-panel {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.institutional-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background: url('/images/hero-science-lines.svg') right center / cover no-repeat;
    opacity: 0.075;
    pointer-events: none;
}

.institutional-panel > * {
    position: relative;
    z-index: 1;
}

.institutional-panel h2 {
    color: var(--color-white);
}

.institutional-panel .btn--secondary {
    color: var(--color-white);
    border-color: rgba(255, 255, 255, 0.48);
    background: transparent;
}

.institutional-panel .btn--secondary:hover {
    color: var(--color-ink);
    background: var(--color-white);
}

.footer__regulatory {
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.64);
    font-size: 0.66rem;
    line-height: 1.65;
}

.footer__regulatory p + p {
    margin-top: 0.65rem;
}

/* Account navigation and authentication screens */
.header__account-actions {
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 18px;
}

.header__account-create {
    color: rgba(255,255,255,.76);
    font-size: .82rem;
    font-weight: 600;
    white-space: nowrap;
}

.header__account-create:hover,
.header__account-create.active { color: var(--color-white); }

.account-main {
    position: relative;
    isolation: isolate;
    min-height: 100vh;
    padding-top: var(--header-height);
    background:
        linear-gradient(180deg, transparent 0 38%, var(--color-bg) 38% 100%),
        var(--page-hero-bg);
}

.account-main::before {
    content: '';
    position: absolute;
    inset: 0 0 62%;
    z-index: 0;
    background: var(--page-hero-art);
    opacity: var(--page-hero-art-opacity);
    pointer-events: none;
}

.account-shell { position: relative; z-index: 1; padding: clamp(48px, 7vw, 94px) 0 var(--space-3xl); }
.account-layout { display: grid; grid-template-columns: minmax(0, .82fr) minmax(420px, 1fr); max-width: 1120px; margin: 0 auto; border-radius: 26px; overflow: hidden; box-shadow: 0 28px 80px rgba(0,35,26,.2); }
.account-intro { position: relative; padding: clamp(38px, 6vw, 68px); color: var(--color-white); background: radial-gradient(circle at 80% 15%, rgba(66,213,151,.24), transparent 34%), linear-gradient(145deg, #006147, #004b38); overflow: hidden; }
.account-intro::after { content: ""; position: absolute; width: 360px; height: 360px; right: -170px; bottom: -190px; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; }
.account-intro .text-eyebrow { color: var(--color-mint); }
.account-intro h1 { margin: 14px 0 20px; color: var(--color-white); font-size: clamp(2.5rem, 5vw, 4.4rem); letter-spacing: -.065em; line-height: .98; }
.account-intro p { color: rgba(255,255,255,.75); line-height: 1.8; }
.account-benefits { display: grid; gap: 14px; margin-top: 34px; padding: 0; list-style: none; }
.account-benefits li { position: relative; padding-left: 26px; color: rgba(255,255,255,.82); font-size: .92rem; }
.account-benefits li::before { content: "\2713"; position: absolute; left: 0; color: var(--color-mint); font-weight: 800; }
.account-card { padding: clamp(34px, 6vw, 66px); background: var(--color-surface); }
.account-card h2 { margin-bottom: 8px; }
.account-card__lead { margin-bottom: 30px; color: var(--color-text-muted); line-height: 1.7; }
.account-card .form-group { margin-bottom: 18px; }
.account-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.account-card input, .account-card select { background: var(--color-white); }
.account-submit { width: 100%; justify-content: center; margin-top: 8px; }
.account-switch { margin-top: 24px; color: var(--color-text-muted); text-align: center; font-size: .9rem; }
.account-switch a { font-weight: 700; }
.account-assurance { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--color-border); color: var(--color-text-muted); font-size: .78rem; line-height: 1.65; }
.account-status { display: none; margin-top: 18px; padding: 14px 16px; border: 1px solid rgba(8,115,87,.24); border-radius: var(--radius-sm); color: var(--color-text); background: var(--color-bg-alt); font-size: .86rem; line-height: 1.6; }
.account-status.is-visible { display: block; }

@media (max-width: 1050px) {
    .header__account-actions { display: none; }
}

@media (max-width: 820px) {
    .account-main { background: var(--color-bg); }
    .account-main::before { display: none; }
    .account-layout { grid-template-columns: 1fr; max-width: 660px; }
    .account-intro { padding: 42px 32px; }
    .account-benefits { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
    .account-shell { padding-top: 24px; }
    .account-layout { border-radius: 18px; }
    .account-intro, .account-card { padding: 32px 24px; }
    .account-form-row, .account-benefits { grid-template-columns: 1fr; }
}

/* Learning Center and homepage education */
.learning-hero {
    min-height: 520px;
    padding-top: calc(var(--header-height) + 88px);
    padding-bottom: 84px;
    display: flex;
    align-items: center;
    color: var(--color-white);
    background: var(--page-hero-bg);
}

.learning-hero__content { max-width: 850px; }
.learning-hero h1 { max-width: 780px; margin: 14px 0 24px; color: var(--color-white); }
.learning-hero p { max-width: 760px; color: rgba(255,255,255,.75); font-size: clamp(1rem, 1.6vw, 1.2rem); line-height: 1.75; }
.learning-hero .text-eyebrow { color: var(--color-mint); }
.learning-hero .btn--secondary { color: var(--color-white); border-color: rgba(255,255,255,.45); background: transparent; }
.learning-hero .btn--secondary:hover { color: var(--color-ink); background: var(--color-white); }
.learning-hero__actions, .section-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.learning-path { counter-reset: learning-step; display: grid; gap: 16px; }
.learning-step { counter-increment: learning-step; position: relative; padding: 28px 28px 28px 78px; }
.learning-step::before { content: counter(learning-step, decimal-leading-zero); position: absolute; left: 24px; top: 25px; color: var(--color-accent); font-family: var(--font-mono); font-weight: 700; }
.learning-step h3, .learning-card h3, .seo-info-card h3 { margin-bottom: 10px; }
.learning-step p, .learning-card p, .seo-info-card p { color: var(--color-text-muted); line-height: 1.75; }

.learning-card { display: flex; flex-direction: column; min-height: 100%; padding: 30px; }
.learning-card .text-eyebrow { margin-bottom: 12px; }
.learning-card__link { margin-top: auto; padding-top: 22px; color: var(--color-accent); font-weight: 700; }
.learning-card__link::after { content: " \2192"; }

.answer-block { padding: clamp(24px, 4vw, 42px); border-left: 4px solid var(--color-accent); background: var(--color-surface); box-shadow: var(--shadow-soft); }
.answer-block p { color: var(--color-text-muted); font-size: 1.06rem; line-height: 1.85; }

.faq-list { display: grid; gap: 14px; }
.faq-item { border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-surface); overflow: hidden; }
.faq-item summary { cursor: pointer; list-style: none; padding: 22px 58px 22px 24px; color: var(--color-text); font-weight: 700; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 24px; top: 18px; color: var(--color-accent); font-size: 1.45rem; }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item__answer { padding: 0 24px 24px; color: var(--color-text-muted); line-height: 1.8; }
.faq-item__answer a { font-weight: 600; }

.reading-list { display: grid; gap: 12px; }
.reading-link { display: flex; justify-content: space-between; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--color-border); color: var(--color-text); font-weight: 650; }
.reading-link span { color: var(--color-accent); }

.seo-info-card { padding: 28px; }
.institutional-panel { padding: clamp(30px, 5vw, 58px); border-radius: var(--radius-lg); color: var(--color-white); background: var(--color-emerald); }
.institutional-panel p { max-width: 760px; color: rgba(255,255,255,.76); line-height: 1.8; }
.institutional-panel .text-eyebrow { color: var(--color-mint); }

@media (min-width: 900px) {
    .learning-path { grid-template-columns: repeat(5, 1fr); }
    .learning-step { padding: 72px 22px 26px; }
    .learning-step::before { left: 22px; }
}

@media (min-width: 768px) and (max-width: 1050px) {
    .header .container { display: flex; justify-content: space-between; }
    .nav, .header__cta { display: none; }
    .menu-toggle { display: flex; }
}

@media (max-width: 767px) {
    .learning-hero { min-height: 460px; padding-top: calc(var(--header-height) + 62px); padding-bottom: 64px; }
    .learning-step { padding-left: 68px; }
    .reading-link { align-items: flex-start; }
}

/* --- Utility --- */
.text-center { text-align: center; }
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }

/* Split layout */
.split {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
    align-items: center;
}

@media (min-width: 768px) {
    .split {
        grid-template-columns: 1fr 1fr;
    }
}

/* About page commitment list */
.commitment-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.commitment-list li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    color: var(--color-text);
    line-height: 1.7;
}

.commitment-list li::before {
    content: '';
    flex-shrink: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-accent);
    margin-top: 8px;
}

/* Related products section */
.related-products {
    border-top: 1px solid var(--color-border);
}

/* ============================================
   2026 EMERALD BRAND SYSTEM
   Reference composition adapted for Peptera Research.
   ============================================ */

body {
    line-height: 1.6;
    background: var(--color-bg);
}

h1, h2, h3, h4, h5, h6 {
    color: var(--color-text);
    letter-spacing: -0.04em;
}

a {
    color: var(--color-accent);
}

a:hover {
    color: var(--color-accent-hover);
}

.text-display {
    font-size: clamp(3.25rem, 6.2vw, 6.35rem);
    font-weight: 600;
    line-height: 0.93;
    letter-spacing: -0.072em;
}

.text-eyebrow {
    color: var(--color-accent);
}

.header {
    height: var(--header-height);
    color: var(--color-white);
}

.header .container {
    max-width: none;
    padding-left: clamp(24px, 4.25vw, 72px);
    padding-right: clamp(24px, 4.25vw, 72px);
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
}

.header__logo {
    justify-self: start;
}

.header--scrolled {
    background: linear-gradient(128deg, rgba(0, 97, 71, 0.94) 0%, rgba(8, 115, 87, 0.94) 48%, rgba(0, 81, 61, 0.94) 100%);
    border-bottom-color: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.header--solid {
    background: linear-gradient(128deg, #006147 0%, #087357 48%, #00513d 100%);
    border-bottom-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 8px 28px rgba(0, 32, 24, 0.12);
}

.header__logo img {
    width: 124px;
    height: auto;
}

.nav {
    gap: clamp(1.15rem, 2vw, 2rem);
    justify-self: center;
}

.nav a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    font-weight: 500;
}

.nav a:hover,
.nav a.active {
    color: var(--color-white);
}

.nav a::after {
    background: var(--color-white);
}

.header__cta {
    justify-self: end;
    min-height: 38px;
    padding: 0 20px;
    border-radius: var(--radius-pill);
    color: var(--color-ink);
    background: var(--color-white);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.84rem;
    font-weight: 500;
}

.header__cta:hover {
    color: var(--color-ink);
    background: var(--color-mint);
}

.menu-toggle span {
    background: var(--color-white);
}

.mobile-nav {
    background: var(--color-emerald-deep);
}

.mobile-nav a {
    color: rgba(255, 255, 255, 0.78);
}

.mobile-nav a:hover,
.mobile-nav a.active {
    color: var(--color-white);
}

.mobile-nav .mobile-nav__cta {
    padding: 13px 22px;
    border-radius: var(--radius-pill);
    color: var(--color-ink);
    background: var(--color-white);
    font-size: 1rem;
}

.btn {
    min-height: 46px;
    padding: 12px 24px;
    font-size: 0.78rem;
    text-transform: none;
    letter-spacing: 0;
}

.btn--primary {
    background: var(--color-ink);
    color: var(--color-white);
}

.btn--primary:hover {
    background: var(--color-emerald);
    box-shadow: 0 12px 28px rgba(0, 57, 44, 0.2);
}

.btn--secondary {
    color: var(--color-emerald-deep);
    border-color: rgba(0, 57, 44, 0.32);
}

.btn--secondary:hover {
    color: var(--color-white);
    background: var(--color-emerald-deep);
}

.btn--ghost {
    color: var(--color-accent);
}

/* Shared subpage hero treatment */
.hero {
    min-height: 72vh;
    background: var(--page-hero-bg);
    color: var(--color-white);
}

.hero:not(.home-hero),
.learning-hero,
.catalog-hero {
    position: relative;
    isolation: isolate;
}

.hero:not(.home-hero)::after,
.learning-hero::after,
.catalog-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background: var(--page-hero-art);
    opacity: var(--page-hero-art-opacity);
    pointer-events: none;
}

.learning-hero > .container,
.catalog-hero > .container {
    position: relative;
    z-index: 1;
}

.hero--short {
    min-height: 430px;
    padding-top: calc(var(--header-height) + 44px);
    padding-bottom: 72px;
    background: var(--page-hero-bg) !important;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 96px 96px;
    mask-image: linear-gradient(to bottom, black, transparent 88%);
}

.hero__bg {
    opacity: 0.18;
    mix-blend-mode: luminosity;
}

.hero__bg::after {
    background: linear-gradient(90deg, rgba(0, 57, 44, 0.95), rgba(0, 74, 55, 0.72));
}

.hero__content h1,
.hero__content h2,
.hero__content h3,
.article-hero h1 {
    color: var(--color-white);
}

.hero__content p {
    color: rgba(255, 255, 255, 0.67);
}

.hero:not(.home-hero) .hero__content .text-eyebrow,
.article-hero .hero__content .text-eyebrow,
.term-hero .hero__content .text-eyebrow {
    color: var(--color-mint) !important;
}

.article-hero {
    background: var(--page-hero-bg) !important;
    overflow: visible !important;
    padding-bottom: 0 !important;
}

article {
    --article-image-overlap: min(25vw, 219px);
}

.article-hero-img {
    position: relative;
    z-index: 6;
    width: 100% !important;
    max-width: 780px !important;
    aspect-ratio: 16 / 9 !important;
    margin-bottom: calc(-1 * var(--article-image-overlap)) !important;
    border: 6px solid rgba(255, 255, 255, 0.9);
    border-radius: 20px !important;
    box-shadow: 0 28px 60px rgba(0, 39, 29, 0.22);
}

.article-hero-img img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

.article-hero + .section {
    padding-top: calc(var(--article-image-overlap) + var(--space-2xl)) !important;
}

.article-hero .breadcrumb,
.article-hero .breadcrumb a {
    color: rgba(255, 255, 255, 0.62) !important;
}

/* Homepage hero */
.home-hero {
    min-height: min(900px, 100svh);
    padding: calc(var(--header-height) + 42px) 0 72px;
    isolation: isolate;
    background:
        radial-gradient(circle at 68% 20%, rgba(53, 202, 141, 0.2), transparent 31%),
        radial-gradient(circle at 18% 84%, rgba(35, 148, 105, 0.28), transparent 35%),
        linear-gradient(128deg, #004b38 0%, #006147 48%, #003d2f 100%);
}

.home-hero::before {
    background-size: 112px 112px;
    opacity: 0.48;
}

.home-hero::after {
    display: none;
}

.home-hero__field,
.home-hero__field > span {
    position: absolute;
    pointer-events: none;
}

.home-hero__field {
    inset: 0;
    z-index: -1;
    overflow: hidden;
}

.home-hero__orbit {
    width: 720px;
    height: 720px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
}

.home-hero__orbit--one {
    top: -390px;
    left: -140px;
}

.home-hero__orbit--two {
    right: -300px;
    bottom: -440px;
}

.home-hero__science-lines {
    position: absolute;
    right: -5vw;
    top: -10%;
    width: 110vw;
    max-width: none;
    height: auto;
    opacity: 0.115;
    pointer-events: none;
    animation: science-field-float 22s ease-in-out infinite alternate;
}

@keyframes science-field-float {
    0% { transform: translate3d(0, -12px, 0) scale(1); }
    50% { transform: translate3d(-14px, 4px, 0) scale(1.012); }
    100% { transform: translate3d(8px, 16px, 0) scale(1.004); }
}

.home-hero__dna {
    position: absolute;
    right: clamp(-220px, -9vw, -100px);
    top: -36%;
    width: clamp(520px, 42vw, 720px);
    height: 172%;
    opacity: 0.105;
    transform: rotate(5deg);
    transform-origin: center;
    animation: dna-float 16s ease-in-out infinite alternate;
}

.home-hero__dna svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.dna__strand {
    fill: none;
    stroke: rgba(216, 255, 235, 0.9);
    stroke-width: 2.2;
    stroke-linecap: round;
    filter: drop-shadow(0 0 8px rgba(201, 241, 220, 0.35));
}

.dna__strand--a {
    stroke-dasharray: 8 5;
    animation: dna-travel 20s linear infinite;
}

.dna__strand--b {
    stroke: rgba(147, 224, 188, 0.9);
    stroke-dasharray: 4 7;
    animation: dna-travel-reverse 24s linear infinite;
}

.dna__rungs line {
    stroke: rgba(220, 255, 237, 0.65);
    stroke-width: 1.35;
    transform-box: fill-box;
    transform-origin: center;
    animation: dna-rung-pulse 7s ease-in-out infinite alternate;
}

.dna__rungs line:nth-child(2n) {
    animation-delay: -3.5s;
}

.dna__nodes circle {
    fill: var(--color-mint);
    filter: drop-shadow(0 0 6px rgba(201, 241, 220, 0.5));
}

@keyframes dna-float {
    0% { transform: translate3d(0, -22px, 0) rotate(3deg); }
    50% { transform: translate3d(-18px, 5px, 0) rotate(6deg); }
    100% { transform: translate3d(7px, 24px, 0) rotate(4deg); }
}

@keyframes dna-travel {
    to { stroke-dashoffset: -130; }
}

@keyframes dna-travel-reverse {
    to { stroke-dashoffset: 130; }
}

@keyframes dna-rung-pulse {
    from { opacity: 0.35; transform: scaleX(0.96); }
    to { opacity: 0.9; transform: scaleX(1.04); }
}

.home-hero__grain {
    inset: 0;
    opacity: 0.12;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.78' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");
    mix-blend-mode: soft-light;
}

.home-hero__container {
    position: relative;
    z-index: 2;
}

.home-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 0.88fr) minmax(480px, 1.12fr);
    align-items: center;
    gap: clamp(2rem, 5vw, 5rem);
    min-height: 610px;
}

.home-hero__content {
    max-width: 610px;
}

.home-hero__kicker {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 22px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.home-hero__kicker::before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--color-mint);
    box-shadow: 0 0 18px rgba(201, 241, 220, 0.75);
}

.home-hero__content h1 {
    margin-bottom: 26px;
}

.home-hero__content p {
    max-width: 530px;
    margin-bottom: 28px;
    color: rgba(255, 255, 255, 0.66);
    font-size: clamp(0.95rem, 1.15vw, 1.08rem);
    line-height: 1.62;
}

.home-hero__cta {
    width: min(100%, 470px);
    min-height: 54px;
    padding: 6px 6px 6px 19px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: var(--radius-pill);
    background: rgba(0, 38, 29, 0.34);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.home-hero__cta > span {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.76rem;
}

.home-hero__cta a {
    min-height: 42px;
    padding: 0 19px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border-radius: var(--radius-pill);
    background: var(--color-white);
    color: var(--color-ink);
    font-size: 0.78rem;
    font-weight: 600;
}

.home-hero__cta a:hover {
    background: var(--color-mint);
    color: var(--color-ink);
}

.home-hero__visual {
    position: relative;
    min-height: 510px;
}

.analysis-card {
    position: absolute;
    z-index: 1;
    right: 0;
    top: 52px;
    width: min(100%, 610px);
    min-height: 390px;
    padding: 34px 36px 28px;
    color: var(--color-ink);
    background: #fbfcf8;
    border: 1px solid rgba(255, 255, 255, 0.78);
    border-radius: 18px 0 0 18px;
    box-shadow: 0 34px 70px rgba(0, 31, 23, 0.28);
    overflow: hidden;
}

.analysis-card::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: linear-gradient(rgba(0, 57, 44, 0.055) 1px, transparent 1px);
    background-size: 100% 44px;
}

.analysis-card__topline,
.analysis-card__metrics {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.analysis-card__topline {
    padding-left: 190px;
}

.analysis-card__label,
.analysis-card__topline strong,
.analysis-card__status {
    display: block;
}

.analysis-card__label {
    margin-bottom: 3px;
    color: #708078;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.analysis-card__topline strong {
    color: var(--color-ink);
    font-size: clamp(1.8rem, 3.2vw, 2.7rem);
    line-height: 1;
    letter-spacing: -0.05em;
}

.analysis-card__status {
    padding: 7px 11px;
    color: #087357;
    background: #dff5e9;
    border-radius: var(--radius-pill);
    font-size: 0.68rem;
    font-weight: 600;
}

.analysis-card__chart {
    position: relative;
    z-index: 2;
    height: 190px;
    margin: 18px -8px 6px;
}

.analysis-card__chart svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.analysis-card__area {
    fill: url(#chart-fill);
}

.analysis-card__line {
    fill: none;
    stroke: #087357;
    stroke-width: 2.2;
}

.analysis-card__chart circle {
    fill: #fbfcf8;
    stroke: #087357;
    stroke-width: 2;
}

.analysis-card__metrics {
    gap: 18px;
    padding-top: 17px;
    border-top: 1px solid #dde5df;
}

.analysis-card__metrics div {
    flex: 1;
}

.analysis-card__metrics span,
.analysis-card__metrics strong {
    display: block;
}

.analysis-card__metrics span {
    color: #77877f;
    font-size: 0.61rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.analysis-card__metrics strong {
    margin-top: 4px;
    color: var(--color-ink);
    font-size: 0.78rem;
}

.vial-stage {
    position: absolute;
    z-index: 3;
    left: -36px;
    top: 4px;
    width: 280px;
    height: 500px;
    overflow: hidden;
    background: #f5f2e9;
    border: 7px solid rgba(219, 229, 220, 0.95);
    border-radius: 26px;
    box-shadow: 0 30px 54px rgba(0, 25, 19, 0.36);
}

.vial-stage::after {
    content: '';
    position: absolute;
    left: 18%;
    right: 10%;
    bottom: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(0, 18, 14, 0.42);
    filter: blur(16px);
}

.vial-stage img {
    position: absolute;
    z-index: 2;
    width: 410px;
    max-width: none;
    left: 50%;
    top: 46%;
    transform: translate(-50%, -50%);
    mix-blend-mode: normal;
}

.vial-stage__badge {
    position: absolute;
    z-index: 4;
    left: 4px;
    bottom: 28px;
    padding: 10px 14px;
    color: var(--color-ink);
    background: var(--color-mint);
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: 700;
    box-shadow: 0 12px 24px rgba(0, 31, 23, 0.25);
}

.vial-stage__badge small {
    margin-left: 5px;
    color: #3e6255;
    font-weight: 500;
}

.batch-card {
    position: absolute;
    z-index: 4;
    right: 30px;
    bottom: 18px;
    min-width: 225px;
    padding: 13px 16px;
    display: flex;
    align-items: center;
    gap: 11px;
    color: var(--color-ink);
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.75);
    border-radius: 13px;
    box-shadow: 0 20px 40px rgba(0, 31, 23, 0.24);
}

.batch-card__icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--color-white);
    background: var(--color-accent);
    font-size: 0.78rem;
}

.batch-card strong,
.batch-card div span {
    display: block;
}

.batch-card strong {
    color: var(--color-ink);
    font-size: 0.74rem;
}

.batch-card div span {
    margin-top: 2px;
    color: #718079;
    font-size: 0.62rem;
}

/* Trust strip */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.trust-strip {
    position: relative;
    z-index: 5;
    padding: 34px 0;
    background: var(--color-bg-alt);
    border-bottom: 1px solid var(--color-border);
}

.trust-strip__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: center;
}

.trust-mark {
    min-height: 64px;
    padding: 0 clamp(18px, 2.2vw, 34px);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    border-right: 1px solid rgba(21, 49, 40, 0.13);
}

.trust-mark:first-child {
    padding-left: 0;
}

.trust-mark:last-child {
    padding-right: 0;
    border-right: 0;
}

.trust-mark__icon {
    flex: 0 0 auto;
    width: 43px;
    height: 43px;
    display: grid;
    place-items: center;
    color: var(--color-accent);
    border: 1px solid rgba(8, 115, 87, 0.22);
    border-radius: 50%;
    background: rgba(255, 254, 248, 0.62);
}

.trust-mark__icon svg {
    width: 27px;
    height: 27px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.trust-mark__copy,
.trust-mark__copy strong,
.trust-mark__copy small {
    display: block;
}

.trust-mark__copy strong {
    color: var(--color-text);
    font-size: clamp(0.72rem, 0.82vw, 0.82rem);
    font-weight: 650;
    line-height: 1.3;
}

.trust-mark__copy small {
    margin-top: 4px;
    color: var(--color-text-muted);
    font-size: clamp(0.61rem, 0.67vw, 0.69rem);
    line-height: 1.35;
}

@media (max-width: 960px) {
    .trust-strip__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 22px;
    }

    .trust-mark:nth-child(2) {
        border-right: 0;
    }

    .trust-mark:nth-child(3),
    .trust-mark:nth-child(4) {
        padding-top: 22px;
        border-top: 1px solid rgba(21, 49, 40, 0.13);
    }
}

@media (max-width: 560px) {
    .trust-strip {
        padding: 28px 0;
    }

    .trust-strip__grid {
        grid-template-columns: 1fr;
        row-gap: 0;
    }

    .trust-mark,
    .trust-mark:first-child,
    .trust-mark:last-child {
        justify-content: flex-start;
        padding: 16px 6px;
        border-top: 1px solid rgba(21, 49, 40, 0.11);
        border-right: 0;
    }

    .trust-mark:first-child {
        border-top: 0;
    }
}

/* Content surfaces */
.section {
    position: relative;
}

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

.section-header {
    max-width: 760px;
}

.section-header h2 {
    letter-spacing: -0.055em;
}

.card {
    background: var(--color-surface);
    border-color: var(--color-border);
    box-shadow: 0 14px 34px rgba(18, 52, 40, 0.055);
}

.card:hover {
    background: var(--color-surface-hover);
    border-color: rgba(8, 115, 87, 0.35);
    box-shadow: 0 24px 54px rgba(18, 52, 40, 0.12);
}

.product-card {
    text-align: left;
    border-radius: 20px;
}

.product-card__image {
    padding: 18px;
    background:
        radial-gradient(circle at 50% 45%, rgba(38, 151, 111, 0.08), transparent 48%),
        #f5f2e9;
}

.product-card__image img {
    max-height: 320px;
    mix-blend-mode: normal;
}

.product-card__body {
    padding: 25px 26px 28px;
}

.product-card__title,
.insight-card__title {
    color: var(--color-text);
}

.product-card__eyebrow,
.product-card__purity,
.insight-card:hover .insight-card__title {
    color: var(--color-accent);
}

.product-card__purity::before {
    background: var(--color-accent);
}

.insight-card__image {
    background: var(--color-emerald-deep);
}

.purity-badge,
.key-takeaways {
    background: rgba(8, 115, 87, 0.08) !important;
    border-color: rgba(8, 115, 87, 0.18) !important;
}

.spec-table,
.toc,
.callout-box,
.bottom-line,
.related-card,
.cta-block,
.term-definition,
.term-fact,
.term-toc,
.related-term-card {
    background: var(--color-surface) !important;
    border-color: var(--color-border) !important;
}

.related-card:hover,
.related-term-card:hover {
    background: var(--color-surface-hover) !important;
    border-color: rgba(8, 115, 87, 0.32) !important;
}

.data-table th,
.data-table td,
.spec-table td {
    border-color: var(--color-border) !important;
}

/* Product detail pages */
#product-detail {
    min-height: 86vh;
    background:
        radial-gradient(circle at 12% 10%, rgba(8, 115, 87, 0.07), transparent 28%),
        var(--color-bg);
}

#product-detail .split {
    align-items: center;
    gap: clamp(2.5rem, 6vw, 6rem);
}

#product-detail .split > div:first-child .card {
    padding: clamp(1.5rem, 4vw, 3.5rem) !important;
    background:
        radial-gradient(circle at 50% 42%, rgba(35, 169, 116, 0.07), transparent 48%),
        #f5f2e9 !important;
    border-color: rgba(8, 115, 87, 0.22);
    border-radius: 24px;
    box-shadow: 0 28px 58px rgba(18, 52, 40, 0.16);
}

#product-detail .split > div:first-child .card img {
    width: min(100%, 480px);
    margin: 0 auto;
    mix-blend-mode: normal;
}

#product-detail h1 {
    font-size: clamp(3rem, 5vw, 5.25rem);
    letter-spacing: -0.065em;
}

#product-detail .spec-table {
    border: 1px solid var(--color-border);
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 16px;
    background: var(--color-surface);
    overflow: hidden;
    box-shadow: 0 14px 32px rgba(18, 52, 40, 0.06);
}

#product-detail .spec-table tr:last-child {
    border-bottom: 0;
}

#product-detail .spec-table td {
    padding: 15px 18px;
}

#product-detail .spec-table td:first-child {
    width: 35%;
    color: var(--color-text-muted);
}

#product-detail .spec-table td:last-child {
    color: var(--color-text) !important;
    font-size: 0.82rem;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

@media (max-width: 767px) {
    #product-detail {
        padding-top: calc(var(--header-height) + var(--space-xl)) !important;
    }

    #product-detail .split {
        gap: var(--space-xl);
    }

    #product-detail .spec-table td {
        display: block;
        width: 100% !important;
        padding: 11px 16px;
    }

    #product-detail .spec-table td:first-child {
        padding-bottom: 2px;
        border-bottom: 0 !important;
    }

    #product-detail .spec-table td:last-child {
        padding-top: 2px;
        padding-bottom: 14px;
    }
}

.article-body p,
.article-body li,
.term-content p,
.term-content li {
    color: var(--color-text-muted) !important;
}

.article-body strong,
.article-body h2,
.article-body h3,
.term-content strong,
.term-content h2,
.term-content h3,
.related-card__title {
    color: var(--color-text) !important;
}

.term-hero {
    background: var(--page-hero-bg) !important;
}

.term-definition strong,
.term-body strong,
.term-fact__value {
    color: var(--color-text) !important;
}

.term-toc a:hover,
.term-breadcrumb a:hover {
    color: var(--color-accent-hover) !important;
}

.glossary-item__term {
    color: var(--color-text) !important;
}

.glossary-item a:hover .glossary-item__term,
.glossary-item a:focus-visible .glossary-item__term {
    color: var(--color-accent) !important;
}

.cta-section {
    border-color: var(--color-border);
}

.form-group input,
.form-group textarea,
.form-group select {
    background: var(--color-surface);
    border-color: var(--color-border);
    color: var(--color-text);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    box-shadow: 0 0 0 3px rgba(8, 115, 87, 0.12);
}

.footer {
    position: relative;
    isolation: isolate;
    color: rgba(255, 255, 255, 0.72);
    background: var(--page-hero-bg);
    border-top-color: rgba(255, 255, 255, 0.14);
}

.footer::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background: var(--page-hero-art);
    opacity: 0.04;
    pointer-events: none;
}

.footer > .container {
    position: relative;
    z-index: 1;
}

.footer__heading {
    color: var(--color-white);
}

.footer__brand p,
.footer__links a,
.footer__disclaimer p,
.footer__copyright,
.footer__legal a {
    color: rgba(255, 255, 255, 0.7);
}

.footer__copyright,
.footer__legal a { opacity: 0.78; }

.footer__links a:hover,
.footer__legal a:hover {
    color: var(--color-white);
}

.footer__disclaimer,
.footer__bottom {
    border-color: rgba(255, 255, 255, 0.14);
}

.commitment-list li {
    color: var(--color-text);
}

.commitment-list li::before {
    background: var(--color-accent);
}

@media (max-width: 1099px) {
    .home-hero {
        min-height: 850px;
    }

    .home-hero__grid {
        grid-template-columns: minmax(0, 0.9fr) minmax(390px, 1.1fr);
        gap: 2rem;
    }

    .home-hero__visual {
        min-height: 470px;
    }

    .analysis-card {
        right: -54px;
        width: 520px;
    }

    .analysis-card__topline {
        padding-left: 160px;
    }

    .vial-stage {
        left: -30px;
        width: 240px;
    }
}

@media (max-width: 899px) {
    .home-hero {
        min-height: auto;
        padding-top: calc(var(--header-height) + 76px);
        padding-bottom: 120px;
    }

    .home-hero__grid {
        grid-template-columns: 1fr;
        gap: 42px;
        min-height: 0;
    }

    .home-hero__content {
        max-width: 650px;
    }

    .home-hero__visual {
        width: min(100%, 680px);
        min-height: 470px;
        margin-left: auto;
    }

    .analysis-card {
        right: 0;
        width: 88%;
    }

    .vial-stage {
        left: 0;
    }

}

@media (max-width: 767px) {
    :root {
        --container-pad: 20px;
        --header-height: 68px;
    }

    .header__logo img {
        width: 116px;
    }

    .text-display {
        font-size: clamp(2.9rem, 12.7vw, 3.85rem);
        line-height: 0.94;
    }

    .hero--short {
        min-height: 390px;
        padding-top: calc(var(--header-height) + 54px);
        padding-bottom: 60px;
    }

    .home-hero {
        padding-top: calc(var(--header-height) + 58px);
        padding-bottom: 98px;
    }

    .home-hero::after {
        width: 86%;
        height: 58px;
    }

    .home-hero__kicker {
        margin-bottom: 18px;
    }

    .home-hero__content h1 {
        margin-bottom: 22px;
    }

    .home-hero__content p {
        max-width: 92%;
        font-size: 0.94rem;
    }

    .home-hero__cta {
        min-height: 52px;
        padding-left: 16px;
    }

    .home-hero__cta > span {
        max-width: 120px;
        line-height: 1.2;
    }

    .home-hero__visual {
        min-height: 390px;
        margin-top: 0;
    }

    .analysis-card {
        top: 36px;
        right: -42px;
        width: calc(100% + 4px);
        min-height: 310px;
        padding: 24px 22px 20px 96px;
        border-radius: 14px 0 0 14px;
    }

    .analysis-card__topline {
        padding-left: 0;
    }

    .analysis-card__chart {
        height: 130px;
        margin-top: 12px;
    }

    .analysis-card__metrics {
        gap: 8px;
        padding-top: 12px;
    }

    .analysis-card__metrics span {
        display: none;
    }

    .analysis-card__metrics strong {
        font-size: 0.64rem;
    }

    .vial-stage {
        left: -34px;
        top: 0;
        width: 190px;
        height: 385px;
    }

    .vial-stage img {
        width: 320px;
    }

    .vial-stage__badge {
        left: 20px;
        bottom: 14px;
    }

    .batch-card {
        right: 4px;
        bottom: 3px;
        min-width: 190px;
    }

    .section-header {
        text-align: left;
        margin-left: 0;
    }

    .product-card__image img {
        max-height: 280px;
    }
}

@media (max-width: 420px) {
    .home-hero__cta > span {
        display: none;
    }

    .home-hero__cta {
        width: fit-content;
        padding-left: 6px;
    }

    .home-hero__visual {
        min-height: 370px;
    }

    .analysis-card {
        right: -52px;
        padding-left: 80px;
    }

    .vial-stage {
        left: -48px;
    }

    .batch-card {
        min-width: 176px;
        padding: 10px 12px;
    }
}

@media (max-width: 767px) {
    .header .container {
        padding-left: var(--container-pad);
        padding-right: var(--container-pad);
        display: flex;
        justify-content: space-between;
    }

    .header__cta {
        display: none;
    }

    .home-hero__dna {
        right: -180px;
        top: -14%;
        width: 360px;
        height: 132%;
        opacity: 0.065;
    }

    .article-hero-img {
        border-width: 4px;
        border-radius: 14px !important;
    }

    .article-hero + .section {
        padding-top: calc(var(--article-image-overlap) + var(--space-xl)) !important;
    }

    .home-hero__science-lines {
        right: -62vw;
        top: -4%;
        width: 180vw;
        opacity: 0.07;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-hero__dna,
    .home-hero__science-lines,
    .home-hero__dna * {
        animation: none !important;
    }
}

/* Refined product detail experience */
.product-hero#product-detail {
    min-height: auto;
    padding: calc(var(--header-height) + clamp(40px, 5vw, 72px)) 0 clamp(72px, 8vw, 112px);
    background:
        radial-gradient(circle at 8% 16%, rgba(36, 168, 115, 0.12), transparent 28%),
        radial-gradient(circle at 92% 82%, rgba(8, 115, 87, 0.06), transparent 25%),
        var(--color-bg);
}

.product-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: clamp(30px, 4vw, 52px);
    color: var(--color-text-muted);
    font-size: 0.78rem;
    font-weight: 600;
}

.product-breadcrumb a { color: var(--color-accent); }
.product-breadcrumb span[aria-hidden="true"] { opacity: 0.45; }

.product-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
    align-items: start;
    gap: clamp(44px, 7vw, 96px);
}

.product-gallery { position: sticky; top: calc(var(--header-height) + 28px); }

.product-visual {
    position: relative;
    padding: clamp(14px, 2vw, 22px);
    border: 1px solid rgba(8, 115, 87, 0.18);
    border-radius: 30px;
    background: linear-gradient(145deg, #fffef9, #edf2eb);
    box-shadow: 0 30px 72px rgba(15, 55, 41, 0.14);
    overflow: hidden;
}

.product-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(255,255,255,0.62), transparent 38%);
    pointer-events: none;
}

.product-visual img {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 20px;
    object-fit: cover;
}

.product-assurance {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin: 18px 10px 0;
    padding-top: 18px;
    border-top: 1px solid var(--color-border);
}

.product-assurance > div {
    padding: 0 14px;
    border-right: 1px solid var(--color-border);
}

.product-assurance > div:first-child { padding-left: 0; }
.product-assurance > div:last-child { padding-right: 0; border-right: 0; }
.product-assurance strong, .product-assurance span { display: block; }
.product-assurance strong { color: var(--color-text); font-size: 0.76rem; }
.product-assurance span { margin-top: 3px; color: var(--color-text-muted); font-size: 0.66rem; }

.product-summary { padding-top: 6px; }
.product-summary .text-eyebrow { margin-bottom: 12px; }

.product-summary h1 {
    margin: 0;
    color: var(--color-text);
    font-size: clamp(3.8rem, 6vw, 6rem) !important;
    line-height: 0.94;
    letter-spacing: -0.075em;
}

.product-subtitle {
    margin-top: 18px;
    color: var(--color-text);
    font-size: clamp(1.05rem, 1.7vw, 1.28rem);
    font-weight: 600;
}

.product-lead {
    max-width: 650px;
    margin-top: 16px;
    color: var(--color-text-muted);
    font-size: 0.98rem;
    line-height: 1.75;
}

.product-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 24px 0;
}

.product-format-badge {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 6px 13px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-pill);
    color: var(--color-text);
    background: rgba(255,255,255,0.58);
    font-size: 0.72rem;
    font-weight: 700;
}

.product-spec-card {
    border: 1px solid var(--color-border);
    border-radius: 20px;
    background: var(--color-surface);
    box-shadow: 0 18px 42px rgba(18, 52, 40, 0.07);
    overflow: hidden;
}

.product-spec-card__header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 20px;
    padding: 17px 20px;
    border-bottom: 1px solid var(--color-border);
    background: rgba(231, 238, 232, 0.54);
}

.product-spec-card__header span { color: var(--color-text); font-size: 0.78rem; font-weight: 800; }
.product-spec-card__header small { color: var(--color-text-muted); font-size: 0.64rem; }

.product-hero .spec-table {
    margin: 0;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
}

.product-hero .spec-table td { padding: 12px 20px !important; }
.product-hero .spec-table td:first-child { width: 34%; color: var(--color-text-muted); font-size: 0.68rem; }
.product-hero .spec-table td:last-child { color: var(--color-text) !important; font-size: 0.76rem; line-height: 1.55; }

.product-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
    margin-top: 24px;
}

.product-text-link { color: var(--color-accent); font-size: 0.78rem; font-weight: 700; }
.product-restriction { margin-top: 16px; color: var(--color-text-muted); font-size: 0.68rem; }

.product-purchase-note {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px;
    margin-top: 14px;
    color: var(--color-text-muted);
    font-size: 0.72rem;
}

.secure-portal-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 8px;
    color: var(--color-accent);
    border: 1px solid rgba(8, 115, 87, 0.22);
    border-radius: var(--radius-pill);
    background: rgba(201, 241, 220, 0.36);
    font-size: 0.62rem;
    font-weight: 750;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.secure-portal-badge svg {
    width: 12px;
    height: 12px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.product-information {
    border-top: 1px solid var(--color-border);
    background: var(--color-bg-alt);
}

.product-information__header { max-width: 780px; margin-bottom: clamp(38px, 5vw, 60px); }
.product-information__header h2 { margin: 10px 0 16px; font-size: clamp(2.4rem, 4vw, 4rem); }
.product-information__header p { color: var(--color-text-muted); font-size: 1rem; line-height: 1.75; }

.product-information__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
    gap: 24px;
}

.product-description-card,
.product-detail-card {
    padding: clamp(28px, 4vw, 44px);
    border: 1px solid var(--color-border);
    border-radius: 22px;
    background: var(--color-surface);
    box-shadow: 0 16px 38px rgba(18, 52, 40, 0.05);
}

.product-description-card h3,
.product-detail-card h3 { margin-bottom: 18px; font-size: 1.35rem; }
.product-description-card p { color: var(--color-text-muted); line-height: 1.85; }
.product-description-card p + p { margin-top: 18px; }

.product-detail-card { color: var(--color-white); background: var(--color-emerald); }
.product-detail-card h3 { color: var(--color-white); }
.product-detail-list > div { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.13); }
.product-detail-list > div:first-child { padding-top: 0; }
.product-detail-list > div:last-child { padding-bottom: 0; border-bottom: 0; }
.product-detail-list dt { color: var(--color-mint); font-size: 0.65rem; font-weight: 800; letter-spacing: 0.07em; text-transform: uppercase; }
.product-detail-list dd { margin-top: 5px; color: rgba(255,255,255,0.78); font-size: 0.82rem; line-height: 1.55; }

.product-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 24px;
}

.product-feature { padding: 26px 28px; border-top: 2px solid var(--color-accent); background: rgba(255,255,255,0.38); }
.product-feature > span { color: var(--color-accent); font-family: var(--font-mono); font-size: 0.67rem; font-weight: 800; }
.product-feature h3 { margin: 15px 0 9px; font-size: 1rem; }
.product-feature p { color: var(--color-text-muted); font-size: 0.78rem; line-height: 1.7; }

.related-products .section-header p { max-width: 560px; color: var(--color-text-muted); }

@media (max-width: 900px) {
    .product-layout { grid-template-columns: 1fr; }
    .product-gallery { position: static; max-width: 680px; }
    .product-information__grid { grid-template-columns: 1fr; }
    .product-feature-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
    .product-hero#product-detail { padding-top: calc(var(--header-height) + 28px) !important; }
    .product-breadcrumb { margin-bottom: 24px; }
    .product-layout { gap: 38px; }
    .product-visual { padding: 10px; border-radius: 20px; }
    .product-visual img { border-radius: 14px; }
    .product-assurance { margin-left: 0; margin-right: 0; }
    .product-assurance > div { padding: 0 8px; }
    .product-assurance strong { font-size: 0.68rem; }
    .product-assurance span { font-size: 0.58rem; }
    .product-summary h1 { font-size: clamp(3.2rem, 18vw, 4.6rem) !important; }
    .product-spec-card__header { display: block; }
    .product-spec-card__header small { display: block; margin-top: 4px; }
    .product-hero .spec-table td { display: block; width: 100% !important; padding-left: 16px !important; padding-right: 16px !important; }
    .product-hero .spec-table td:first-child { padding-bottom: 2px !important; }
    .product-hero .spec-table td:last-child { padding-top: 2px !important; padding-bottom: 13px !important; }
    .product-actions { align-items: flex-start; flex-direction: column; }
    .product-description-card, .product-detail-card { border-radius: 18px; }
}

/* Catalog categories and expanded inventory */
.catalog-hero {
    overflow: hidden;
    padding: calc(var(--header-height) + clamp(56px, 7vw, 96px)) 0 clamp(60px, 7vw, 88px);
    color: var(--color-white);
    background: var(--page-hero-bg);
}

.catalog-hero .container { max-width: 1120px; }
.catalog-hero .text-eyebrow { color: var(--color-mint); }
.catalog-hero h1 { max-width: 900px; margin: 12px 0 18px; color: var(--color-white); font-size: clamp(3.2rem, 6vw, 6rem); line-height: 0.95; }
.catalog-hero p { max-width: 700px; color: rgba(255,255,255,0.7); font-size: 1.02rem; line-height: 1.75; }
.catalog-section { background: var(--color-bg); }

.catalog-layout {
    display: grid;
    grid-template-columns: 238px minmax(0, 1fr);
    align-items: start;
    gap: clamp(36px, 5vw, 68px);
}

.catalog-results { min-width: 0; max-width: 100%; }

.catalog-sidebar { position: sticky; top: calc(var(--header-height) + 26px); }
.catalog-sidebar__heading { margin-bottom: 14px; color: var(--color-text); font-size: 0.76rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.catalog-category-nav { display: grid; }

.catalog-category-nav a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-bottom: 1px solid var(--color-border);
    color: var(--color-text-muted);
    font-size: 0.82rem;
    font-weight: 600;
}

.catalog-category-nav a:first-child { border-top: 1px solid var(--color-border); }
.catalog-category-nav a:hover { color: var(--color-accent); padding-left: 18px; }
.catalog-category-nav a.active { border-color: var(--color-emerald); color: var(--color-white); background: var(--color-emerald); }
.catalog-category-nav a.active + a { border-top-color: transparent; }
.catalog-category-nav small { min-width: 25px; color: inherit; font-size: 0.65rem; text-align: right; opacity: 0.68; }

.catalog-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 24px;
    margin-bottom: 34px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--color-border);
}

.catalog-toolbar h2 { margin-top: 6px; font-size: clamp(2rem, 3vw, 3rem); }
.catalog-search { width: min(100%, 310px); }
.catalog-search input { width: 100%; min-height: 46px; padding: 0 18px; border: 1px solid var(--color-border); border-radius: var(--radius-pill); color: var(--color-text); background: var(--color-surface); font: inherit; font-size: 0.82rem; outline: none; }
.catalog-search input:focus { border-color: var(--color-accent); box-shadow: 0 0 0 3px rgba(8,115,87,0.1); }

.catalog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.catalog-product-card { min-width: 0; }
.catalog-product-card[hidden] { display: none !important; }
.catalog-product-card .product-card__image { min-height: 0; aspect-ratio: 1; }
.catalog-product-card .product-card__image img { width: 100%; height: 100%; object-fit: cover; }
.catalog-product-card .product-card__body { padding: 22px; }
.catalog-product-card .product-card__title { margin: 7px 0 6px; font-size: clamp(1.45rem, 2.2vw, 2rem); }
.product-card__categories { display: block; min-height: 2.8em; color: var(--color-text-muted); font-size: 0.67rem; line-height: 1.45; }
.product-card__specs { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 16px; }
.product-card__specs span { padding: 5px 9px; border: 1px solid var(--color-border); border-radius: var(--radius-pill); color: var(--color-text-muted); background: rgba(255,255,255,0.42); font-size: 0.61rem; font-weight: 700; }
.catalog-empty { padding: 70px 20px; color: var(--color-text-muted); text-align: center; }
.catalog-mobile-menu { display: none; }
.catalog-mobile-categories { display: none; }

.product-research-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    margin-top: 24px;
    border: 1px solid var(--color-border);
    background: var(--color-border);
}

.product-research-item { min-height: 130px; padding: 24px; background: var(--color-surface); }
.product-research-item span { color: var(--color-accent); font-family: var(--font-mono); font-size: 0.64rem; font-weight: 800; }
.product-research-item p { margin-top: 22px; color: var(--color-text); font-size: 0.82rem; font-weight: 700; line-height: 1.55; }

.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }

@media (max-width: 1120px) {
    .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .product-research-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
    .catalog-layout { display: block; }
    .catalog-layout > .catalog-sidebar,
    .catalog-layout > .catalog-mobile-categories { display: none; }
    .catalog-mobile-menu { display: block; margin-bottom: 28px; }
    .catalog-mobile-menu > .catalog-sidebar { display: none; }
    .catalog-mobile-menu .catalog-mobile-categories { display: block; border: 1px solid var(--color-border); border-radius: 14px; background: var(--color-surface); overflow: hidden; }
    .catalog-mobile-categories summary { cursor: pointer; padding: 16px 18px; color: var(--color-text); font-size: 0.82rem; font-weight: 800; }
    .catalog-mobile-categories .catalog-category-nav { padding: 0 12px 12px; }
    .catalog-toolbar { align-items: stretch; flex-direction: column; }
    .catalog-search { width: 100%; max-width: none; }
}

@media (max-width: 560px) {
    .catalog-hero { padding-top: calc(var(--header-height) + 46px); }
    .catalog-hero h1 { font-size: clamp(2.55rem, 12vw, 3.25rem); overflow-wrap: anywhere; }
    .catalog-grid { grid-template-columns: 1fr; }
    .catalog-product-card { width: 100%; max-width: 100%; }
    .catalog-product-card .product-card__image { aspect-ratio: 1.08; }
    .product-research-grid { grid-template-columns: 1fr; }
    .product-research-item { min-height: 0; }
}
