/* Index20 - Carta Inspired Theme (Strict Refinement) */
:root {
    /* Colors */
    --c-bg: #FFFFFF;
    --c-bg-alt: #F7F9FA;
    --c-bg-dark: #1A1F2C;
    --c-text-primary: #1A1F2C;
    --c-text-secondary: #5C6675;
    --c-text-secondary-light: #8b9dbd;
    --c-text-white: #FFFFFF;
    --c-text-white-dim: rgba(255, 255, 255, 0.7);
    --c-accent: #0055FF;
    /* Vibrant Blue */
    --c-accent-dark: #0044CC;
    --c-border: #E1E4E8;
    --c-grid-line: #E1E4E8;

    /* Typography */
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    /* Dimensions */
    --container-max: 1440px;
    --header-height: 80px;
    --grid-gap: 32px;
}

/* Base Reset */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    background-color: var(--c-bg);
    color: var(--c-text-primary);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

img.grayscale-img {
    filter: grayscale(100%);
    transition: filter 0.3s;
}

img.grayscale-img:hover {
    filter: grayscale(0%);
}

/* Utility Classes */
.font-serif {
    font-family: var(--font-serif);
}

.font-sans {
    font-family: var(--font-sans);
}

.font-mono {
    font-family: var(--font-mono);
}

.text-xs {
    font-size: 0.75rem;
}

.text-sm {
    font-size: 0.875rem;
}

.text-base {
    font-size: 1rem;
}

.text-lg {
    font-size: 1.125rem;
}

.text-xl {
    font-size: 1.5rem;
}

.text-2xl {
    font-size: 2rem;
}

.text-3xl {
    font-size: 2.5rem;
    letter-spacing: -0.02em;
}

.text-4xl {
    font-size: 3.5rem;
    letter-spacing: -0.03em;
}

.text-5xl {
    font-size: 4.5rem;
    letter-spacing: -0.04em;
    line-height: 1.1;
}

.text-accent {
    color: var(--c-accent);
}

.text-secondary {
    color: var(--c-text-secondary);
}

.text-white {
    color: var(--c-text-white);
}

.text-white-dim {
    color: var(--c-text-white-dim);
}

.text-secondary-light {
    color: var(--c-text-secondary-light);
}

.text-nowrap {
    white-space: nowrap;
}

.uppercase {
    text-transform: uppercase;
}

.tracking-wide {
    letter-spacing: 0.05em;
}

.font-bold {
    font-weight: 700;
}

.font-medium {
    font-weight: 500;
}

.display-block {
    display: block;
}

.mt-md {
    margin-top: 32px;
}

.mb-xs {
    margin-bottom: 8px;
}

.mb-sm {
    margin-bottom: 16px;
}

.mb-md {
    margin-bottom: 32px;
}

.mb-lg {
    margin-bottom: 64px;
}

.mb-xl {
    margin-bottom: 96px;
}

.max-w-600 {
    max-width: 600px;
}

.bg-subtle {
    background-color: var(--c-bg-alt);
}

.bg-dark {
    background-color: var(--c-bg-dark);
}

.border-b {
    border-bottom: 1px solid var(--c-border);
}

.border-t {
    border-top: 1px solid var(--c-border);
}

.border-right {
    border-right: 1px solid var(--c-border);
}

/* Layout System */
.container {
    width: 100%;
    margin: 0 auto;
    padding: 0 24px;
}

.container-wide {
    max-width: var(--container-max);
}

.grid-12 {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: var(--grid-gap);
}

.grid-bordered>* {
    border: 1px solid var(--c-border);
    margin-top: -1px;
    margin-left: -1px;
    /* Overlap borders */
}

.col-span-1 { grid-column: span 1; }
.col-span-2 { grid-column: span 2; }
.col-span-3 { grid-column: span 3; }
.col-span-4 { grid-column: span 4; }
.col-span-5 { grid-column: span 5; }
.col-span-6 { grid-column: span 6; }
.col-span-7 { grid-column: span 7; }
.col-span-8 { grid-column: span 8; }
.col-span-9 { grid-column: span 9; }
.col-span-10 { grid-column: span 10; }
.col-span-11 { grid-column: span 11; }
.col-span-12 { grid-column: span 12; }

.col-start-7 {
    grid-column-start: 7;
}

.col-start-3 {
    grid-column-start: 3;
}

.section {
    padding: 96px 0;
    position: relative;
}

.py-md {
    padding-top: 48px;
    padding-bottom: 48px;
}

.pr-lg {
    padding-right: 64px;
}

.pl-lg {
    padding-left: 64px;
}

.p-md {
    padding: 32px;
}

/* Components */
.btn {
    display: inline-flex;
    padding: 14px 28px;
    font-family: var(--font-mono);
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s;
    border: 1px solid transparent;
}

.btn-primary {
    background: var(--c-text-primary);
    color: white;
}

.btn-primary:hover {
    background: var(--c-accent);
}

.btn-outline {
    background: transparent;
    color: var(--c-text-primary);
    border: 1px solid var(--c-text-primary);
}

.btn-outline:hover {
    background: var(--c-text-primary);
    color: white;
}

/* Header */
.header {
    height: var(--header-height);
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--c-border);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo specific */
.logo {
    text-decoration: none;
    font-weight: 700;
    /* Ensure Bold */
}

/* Prevent hover color change on logos */
.logo:hover,
.logo:active,
.logo:focus {
    color: inherit !important;
    /* Force keep original color */
    opacity: 1;
}

/* Specific fix for footer logo white */
.footer .logo {
    color: white !important;
}

.footer .logo:hover {
    color: white !important;
}

/* Specific fix for header logo accent */
.header .logo {
    color: var(--c-accent) !important;
}

.header .logo:hover {
    color: var(--c-accent) !important;
}

.nav {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0.7;
    text-decoration: none;
    /* No underline */
}

.nav-link:hover {
    opacity: 1;
}

/* Logo specific */
.logo {
    text-decoration: none;
}

/* Hero Section */
.hero {
    padding-top: 80px;
    padding-bottom: 120px;
    overflow: hidden;
}

.hero-content {
    z-index: 2;
    position: relative;
}

.hero-cta-group {
    display: flex;
    align-items: center;
    gap: 24px;
}

.hero-visual {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Hero Card Stack Animation */
.card-stack {
    position: relative;
    height: 300px;
    /* Fixed height for stability */
    perspective: 1000px;
}

.hero-card {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    padding: 32px;
    border: 1px solid var(--c-border);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    transition: all 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
    pointer-events: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-card.active {
    opacity: 1;
    transform: translateY(0) scale(1);
    z-index: 10;
    pointer-events: auto;
}

/* Controls */
.hero-card-controls {
    margin-top: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 200px;
    /* Ensure space for counter */
}

.card-counter {
    white-space: nowrap;
}

.progress-bar {
    width: 100%;
    height: 2px;
    background: var(--c-border);
    overflow: hidden;
}

.progress-fill {
    width: 0%;
    height: 100%;
    background: var(--c-accent);
}

.hero-canvas-layer {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    opacity: 0.5;
    pointer-events: none;
}

/* Benchmarks Section (Horizontal Carousel) */
.benchmarks-carousel-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 24px 0;
    margin-top: 32px;
}

/* Gradient Masks to fade edges */
.benchmarks-carousel-wrapper::before,
.benchmarks-carousel-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 2;
    pointer-events: none;
}
.benchmarks-carousel-wrapper::before {
    left: 0;
    background: linear-gradient(to right, var(--c-bg-alt) 0%, transparent 100%);
}
.benchmarks-carousel-wrapper::after {
    right: 0;
    background: linear-gradient(to left, var(--c-bg-alt) 0%, transparent 100%);
}

.benchmarks-track {
    display: flex;
    gap: 32px;
    width: max-content;
    animation: scrollLeftCards 80s linear infinite;
}

.benchmarks-track:hover {
    animation-play-state: paused;
}

@keyframes scrollLeftCards {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } /* Animates half distance since we double the items */
}

/* Updated Benchmark Card using similar aesthetics */
.benchmark-card {
    flex: 0 0 auto;
    width: 420px;
    background: white;
    border: 1px solid var(--c-border);
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 380px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    transition: transform 0.3s, box-shadow 0.3s;
}

.benchmark-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
}

.bm-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
}

.bm-company-name {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 600;
}

.bm-value {
    font-family: var(--font-mono);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--c-accent);
    line-height: 1;
}

.bm-meta {
    color: var(--c-text-secondary);
    font-family: var(--font-mono);
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    margin-bottom: 24px;
    display: block;
}

.bm-title {
    font-family: var(--font-sans);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 16px;
    line-height: 1.3;
}

/* Benchmark Highlight Text Inside Card */
.bm-highlight-box {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: auto;
    padding-top: 24px;
    border-top: 1px solid var(--c-border);
}

.bm-highlight-text {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--c-text-secondary);
    line-height: 1.5;
}

.bm-icon {
    font-size: 1.2rem;
    color: var(--c-accent);
}

.bm-location {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--c-text-secondary-light);
    text-transform: uppercase;
    margin-top: 16px;
    align-self: flex-start;
}

/* Marquee */
.marquee-container {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

.marquee-content {
    display: inline-block;
    animation: scrollLeft 40s linear infinite;
}

.partner-logo-img {
    height: 48px;
    width: auto;
    display: inline-block;
    filter: grayscale(100%);
    opacity: 0.5;
    margin-right: 80px;
    transition: all 0.3s;
}

.partner-logo-img {
    height: 48px;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.5;
    transition: all 0.3s;
}

.partner-logo-img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

.partner-logos-static {
    display: flex;
    flex-wrap: nowrap;
    /* Forced single line as requested */
    justify-content: space-between;
    gap: 16px;
    /* Reduced gap to fit all 8 */
    align-items: center;
    width: 100%;
}

.partner-link {
    flex-shrink: 1;
    /* Allow shrinking */
    display: flex;
    /* Remove inline-block spacing */
    justify-content: center;
    min-width: 0;
    /* Allow flex item to shrink below content size */
}

.partner-logos-static::-webkit-scrollbar {
    display: none;
}

/* Insight/Context Horizontal Layout */
.insight-row {
    display: flex;
    justify-content: space-between;
    gap: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--c-border);
    margin-top: 24px;
}

.insight-item {
    flex: 1;
}

/* Lead Magnet Horizontal */
.lead-magnet-horizontal {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 40px;
    border: 1px solid var(--c-border);
    background: white;
    /* Or slight off-white if needed, but white looks clean on subtle bg */
}

.section.bg-subtle .lead-magnet-horizontal {
    background: white;
}

.lm-left {
    min-width: 250px;
}

.lm-mid {
    flex-grow: 1;
    padding: 0 32px;
    border-left: 1px solid var(--c-border);
}

.lm-right {
    min-width: max-content;
}

@media (max-width: 768px) {
    .lead-magnet-horizontal {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }

    .lm-mid {
        padding: 0;
        border-left: none;
        border-top: 1px solid var(--c-border);
        padding-top: 16px;
        width: 100%;
    }

    .lm-right {
        width: 100%;
    }

    .lm-right .btn {
        width: 100%;
        justify-content: center;
    }
}

/* Model Text Offset & Tags */
.model-desc-col {
    margin-top: 64px;
}

/* Footer Redesign */
.bg-footer {
    background-color: #0B0E14;
    /* Darker than bg-dark (#1A1F2C) */
}

.wrap-mobile {
    flex-wrap: wrap;
    gap: 16px;
}

.model-tags-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.model-tag {
    font-family: var(--font-mono);
    font-size: 13px;
    /* Slightly smaller for tags looks cleaner */
    line-height: 1.4;
    padding: 6px 12px;
    border: 1px solid var(--c-border);
    border-radius: 99px;
    /* Pill shape */
    color: var(--c-text-secondary);
    background: transparent;
    transition: all 0.2s;
}

.model-tag:hover {
    border-color: var(--c-accent);
    color: var(--c-accent);
    background: rgba(0, 85, 255, 0.03);
}

/* Partner Profile Redesign */
.partner-photo-frame {
    position: relative;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.partner-photo {
    width: 100%;
    height: auto;
    display: block;
    position: relative;
    z-index: 1;
    filter: grayscale(100%) contrast(1.1);
    transition: all 0.5s ease;
}

.partner-photo-frame:hover .partner-photo {
    filter: grayscale(0%) contrast(1);
}

.photo-accent-border {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 1px solid var(--c-accent);
    opacity: 0;
    transform: translate(10px, 10px);
    transition: all 0.5s ease;
    z-index: 0;
}

.partner-photo-frame:hover .photo-accent-border {
    opacity: 1;
    transform: translate(8px, 8px);
}

.partner-brands-grid {
    display: flex;
    flex-wrap: nowrap;
    /* Force single line */
    gap: 16px;
    /* Reduce gap */
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 32px;
    overflow-x: auto;
    /* Safety scroll just in case */
    scrollbar-width: none;
}

.partner-brands-grid::-webkit-scrollbar {
    display: none;
}

.brand-logo {
    width: 60px;
    /* Smaller width */
    height: 32px;
    /* Smaller height */
    flex-shrink: 0;
    /* Prevent squashing */
    object-fit: contain;
    opacity: 0.7;
    filter: invert(1) brightness(1.5) grayscale(100%);
    /* Make white */
    transition: all 0.3s;
}

.brand-logo:hover {
    opacity: 1;
    filter: invert(1) brightness(1.5) grayscale(0%);
}

/* Protection Block Redesign */
.protection-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.protection-card {
    background: var(--c-subtle);
    padding: 24px;
    border: 1px solid var(--c-border);
    display: flex;
    align-items: flex-start;
    gap: 20px;
    transition: all 0.3s ease;
}

.protection-card:hover {
    border-color: var(--c-accent);
    transform: translateX(8px);
    background: white;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.card-icon-box {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border: 1px solid var(--c-border);
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.protection-card:hover .card-icon-box {
    border-color: var(--c-accent);
    color: var(--c-accent);
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(0, 85, 255, 0.2);
}

/* Strategic Session Dark */
/* Strategic Session Dark */
.session-features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media (min-width: 640px) {
    .session-features-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.session-feature-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 24px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    transition: all 0.3s ease;
}

.session-feature-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.3);
}

.feature-icon {
    color: var(--c-accent);
    font-weight: bold;
    font-size: 1.2rem;
    line-height: 1;
}

.feature-text {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
}

.session-format-card {
    background: linear-gradient(90deg, rgba(0, 85, 255, 0.1) 0%, rgba(0, 85, 255, 0.02) 100%);
    border-left: 4px solid var(--c-accent);
    padding: 24px 32px;
    margin-top: 32px;
}

.format-label {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--c-accent);
    letter-spacing: 0.05em;
    display: block;
    margin-bottom: 8px;
}

.format-value {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    color: white;
}

.contact-box-dark {
    background: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-input-dark {
    width: 100%;
    padding: 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    transition: all 0.3s;
}

.form-input-dark:focus {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--c-accent);
    outline: none;
}

.contact-methods-wrapper {
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 640px) {
    .contact-methods-wrapper {
        grid-template-columns: repeat(3, 1fr);
    }
}

.contact-label {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--c-accent);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: block;
    margin-bottom: 8px;
}

.contact-link {
    color: white;
    font-size: 0.95rem;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 2px;
    transition: all 0.3s;
}

.contact-link:hover {
    color: var(--c-accent);
    border-color: var(--c-accent);
}

.border-white-10 {
    border-color: rgba(255, 255, 255, 0.1);
}

.border-t {
    border-top: 1px solid;
}

.border-b {
    border-bottom: 1px solid;
}

.text-white-dim {
    color: rgba(255, 255, 255, 0.6);
}

.hover-accent:hover {
    color: var(--c-accent);
}

.w-full {
    width: 100%;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.contact-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.gap-md {
    gap: 24px;
}


.pt-xl {
    padding-top: 96px;
}

.pb-xl {
    padding-bottom: 96px;
}

.gap-y-lg {
    row-gap: 64px;
}

/* Partner Profile Clean */
.partner-img-clean {
    position: relative;
    overflow: hidden;
    /* Clean image, no overlay */
}

.partner-ex-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 24px;
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.ex-logo-text {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    /* Small mono text */
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.4);
    /* Dimmed */
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 6px 10px;
}

/* FAQ Accordion */
.mx-auto {
    margin-left: auto;
    margin-right: auto;
}


.faq-item {
    border-bottom: 1px solid var(--c-border);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 32px 0;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: color 0.3s;
}

.faq-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    /* 24px */
    color: var(--c-text-primary);
    padding-right: 32px;
    line-height: 1.2;
}

.faq-question:hover .faq-title {
    color: var(--c-accent);
}

.faq-icon {
    font-size: 28px;
    font-weight: 300;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    color: var(--c-accent);
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.faq-body {
    padding-bottom: 40px;
    padding-top: 8px;
}

.faq-body p {
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--c-text-secondary);
    max-width: 90%;
}

.faq-cta-container {
    margin-top: 80px;
    padding-top: 32px;
    position: relative;
    z-index: 2;
    /* Ensure above expanded items if any overlap */
}

.hover-underline:hover {
    text-decoration: underline;
}

/* Lead Magnet Horizontal */

@keyframes scrollLeft {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    .insight-row {
        flex-direction: column;
        gap: 32px;
    }

    .partner-logos-static {
        justify-content: center;
    }
}

/* Comparison Table (Redesigned as Cards) */
.comparison-table {
    border: none;
    /* Remove outer border */
    gap: 32px;
    /* Explicit gap */
}

.comparison-col {
    padding: 48px;
    border-radius: 4px;
    height: 100%;
}

.comparison-col.left {
    background: white;
    border: 1px solid var(--c-border);
    border-right: 1px solid var(--c-border);
    /* Reset to stand alone */
}

.comparison-col.right {
    background: white;
    border: 2px solid var(--c-accent);
    /* Highlight */
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 85, 255, 0.1);
}

.comparison-list li {
    display: flex;
    justify-content: space-between;
    padding: 20px 0;
    border-bottom: 1px solid var(--c-border);
    font-family: var(--font-mono);
    font-size: 0.95rem;
}

.comparison-list li:last-child {
    border-bottom: none;
}

/* Roadmap Timeline */
.roadmap-timeline {
    position: relative;
}

.roadmap-timeline:before {
    content: '';
    position: absolute;
    top: 15px;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--c-border);
    z-index: 0;
}

.step-marker {
    width: 32px;
    height: 32px;
    background: var(--c-bg);
    border: 2px solid var(--c-text-primary);
    border-radius: 50%;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.step-marker.highlight {
    border-color: var(--c-accent);
}

/* Managing Partner Fix */
.partner-visual {
    position: relative;
    height: 100%;
    min-height: 400px;
}

.partner-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Ensure it doesn't cover text if it was absolute */
}

/* The layout in HTML is 6/6 cols. If text is covered, it might be due to negative margins or absolute positioning not seen. 
   I'll ensure the text column has high z-index and explicit background if needed.
   Looking at HTML (lines 350+): It's just a grid-12 with col-span-6. 
   If the image is "full width" or something, it might be the issue.
   I'll safeguard the text column.
*/
.partner-bio {
    position: relative;
    z-index: 10;
    background: white;
    /* Ensure readability */
}

/* Forms */
.form-input {
    width: 100%;
    padding: 16px;
    margin-bottom: 16px;
    background: white;
    border: 1px solid var(--c-border);
    font-family: var(--font-mono);
    font-size: 0.9rem;
    outline: none;
}

.form-input:focus {
    border-color: var(--c-text-primary);
}

/* Animation Utils */
.reveal-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal-up.active {
    opacity: 1;
    transform: translateY(0);
}

/* Eco Cards */
.eco-card {
    padding: 40px;
    background: white;
    transition: transform 0.3s ease;
}

/* Ecosystem Dark Mode Overrides */
#ecosystem.bg-dark .eco-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

#ecosystem.bg-dark .eco-card h4 {
    color: white;
}

#ecosystem.bg-dark .eco-card p {
    color: rgba(255, 255, 255, 0.6);
}

#ecosystem.bg-dark .eco-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--c-accent);
    transform: translateY(-5px);
}

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 1024px) {
    .grid-12 {
        grid-template-columns: repeat(2, 1fr);
    }

    .col-span-8,
    .col-span-6,
    .col-span-4,
    .col-span-3,
    .col-span-5,
    .col-span-7 {
        grid-column: span 2;
    }

    .benchmarks-container {
        grid-template-columns: 1fr;
        height: auto;
    }

    .bm-nav-list {
        height: 300px;
    }

    .header-actions,
    .nav {
        display: none;
    }
}

/* ==========================================================================
   8. FORMS & POPUPS (PREMIUM STYLES)
   ========================================================================== */

/* Lead Magnet Form */
.lm-form {
    display: flex;
    gap: 12px;
    align-items: center;
}

.lm-input {
    appearance: none;
    -webkit-appearance: none;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    /* Subtle border */
    border-radius: 6px;
    padding: 14px 20px;
    /* Generous padding */
    font-family: var(--font-mono);
    font-size: 0.9rem;
    width: 280px;
    /* Wide enough */
    color: var(--c-text-primary);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
    /* Subtle depth */
}

.lm-input:focus {
    outline: none;
    border-color: var(--c-accent);
    box-shadow: 0 4px 12px rgba(0, 85, 255, 0.15);
    /* Nice glow */
    transform: translateY(-1px);
    /* Tactile lift */
}

.lm-input::placeholder {
    color: var(--c-text-secondary);
    opacity: 0.7;
}

.lm-input:valid {
    border-color: rgba(0, 0, 0, 0.15);
    /* Slightly darker when filled */
}

.lm-btn {
    white-space: nowrap;
    height: 48px;
    /* Match input height roughly */
    display: flex;
    align-items: center;
    padding: 0 28px;
    font-size: 0.95rem;
    border-radius: 6px;
    /* Match input radius */
    cursor: pointer;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .lm-form {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }

    .lm-input {
        width: 100%;
    }

    .lm-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Custom Popup Overlay */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    /* Premium glass blur */
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.popup-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

/* Popup Card */
.popup-card {
    background: white;
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    max-width: 420px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    /* Deep shadow */
    transform: translateY(20px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.popup-overlay.active .popup-card {
    transform: translateY(0) scale(1);
}

.popup-icon {
    width: 56px;
    height: 56px;
    background: var(--c-accent);
    color: white;
    font-size: 28px;
    font-weight: bold;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 10px 20px rgba(0, 85, 255, 0.2);
}

.popup-title {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    margin-bottom: 12px;
    color: var(--c-text-primary);
}

.popup-message {
    font-size: 1rem;
    color: var(--c-text-secondary);
    margin-bottom: 32px;
    line-height: 1.5;
}

.popup-close {
    min-width: 120px;
}

.hidden {
    display: none !important;
}





/* --- OPEN.HTML SPECIFIC STYLES --- */
.w-full { width: 100%; }
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.align-items-center { align-items: center; }
.gap-lg { gap: 64px; }

.btn-outline {
    background: transparent;
    color: var(--c-text-primary);
    border: 1px solid var(--c-border);
}
.btn-outline:hover {
    border-color: var(--c-accent);
    color: var(--c-accent);
}

/* 3D CSS Animation Element */
.hero-3d-wrapper {
    width: 100%;
    height: 100%;
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1000px;
}
.cube-3d, .cube-inner {
    position: relative;
    transform-style: preserve-3d;
}
.cube-3d {
    width: 160px; height: 160px;
    animation: spinCube 20s infinite linear;
}
.cube-inner {
    width: 80px; height: 80px;
    position: absolute;
    top: 40px; left: 40px;
    animation: spinCubeReverse 15s infinite linear;
}
.cube-3d .face {
    position: absolute;
    width: 160px; height: 160px;
    border: 1px solid rgba(0, 85, 255, 0.4);
    background: rgba(0, 85, 255, 0.02);
    box-shadow: inset 0 0 20px rgba(0, 85, 255, 0.1);
}
.cube-inner .face {
    position: absolute;
    width: 80px; height: 80px;
    border: 1px solid var(--c-text-primary);
    background: transparent;
    opacity: 0.15;
}
/* Outer Faces Positioning */
.cube-3d .front  { transform: translateZ(80px); }
.cube-3d .back   { transform: rotateY(180deg) translateZ(80px); }
.cube-3d .right  { transform: rotateY(90deg) translateZ(80px); }
.cube-3d .left   { transform: rotateY(-90deg) translateZ(80px); }
.cube-3d .top    { transform: rotateX(90deg) translateZ(80px); }
.cube-3d .bottom { transform: rotateX(-90deg) translateZ(80px); }
/* Inner Faces Positioning */
.cube-inner .front  { transform: translateZ(40px); }
.cube-inner .back   { transform: rotateY(180deg) translateZ(40px); }
.cube-inner .right  { transform: rotateY(90deg) translateZ(40px); }
.cube-inner .left   { transform: rotateY(-90deg) translateZ(40px); }
.cube-inner .top    { transform: rotateX(90deg) translateZ(40px); }
.cube-inner .bottom { transform: rotateX(-90deg) translateZ(40px); }

@keyframes spinCube {
    0% { transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg); }
    100% { transform: rotateX(360deg) rotateY(360deg) rotateZ(180deg); }
}
@keyframes spinCubeReverse {
    0% { transform: rotateX(360deg) rotateY(0deg) rotateZ(360deg); }
    100% { transform: rotateX(0deg) rotateY(360deg) rotateZ(0deg); }
}

/* Tool Cards & SVG Icons */
.grid-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (max-width: 768px) { .grid-cards { grid-template-columns: 1fr; } }
.basic-card {
    padding: 32px; background: var(--c-bg); border: 1px solid var(--c-border);
    transition: transform 0.3s, border-color 0.3s;
}
.basic-card:hover { transform: translateY(-5px); border-color: var(--c-accent); }

.tool-card {
    padding: 40px; border: 1px solid var(--c-border); background: var(--c-bg);
    position: relative; overflow: hidden;
}
.tool-card::before {
    content: ''; position: absolute; top: 0; left: 0;
    width: 4px; height: 0%; background: var(--c-accent); transition: height 0.3s;
}
.tool-card:hover::before { height: 100%; }
.tool-icon { margin-bottom: 16px; }
.tool-icon svg { width: 36px; height: 36px; stroke: var(--c-accent); }

/* Schedule Details */
.schedule-list { display: flex; flex-direction: column; }
.schedule-item { padding: 32px 0; border-bottom: 1px solid var(--c-border); transition: padding-left 0.3s; }
.schedule-item:last-child { border-bottom: none; }
.schedule-item:hover { padding-left: 16px; }
.schedule-meta { display: flex; gap: 16px; margin-bottom: 12px; }
.schedule-meta .date { color: var(--c-text-primary); font-weight: 500; }
.schedule-meta .tag { color: var(--c-accent); }
.event-details svg { color: var(--c-accent); }

/* Forms */
.benefit-list { list-style: none; padding: 0; }
.benefit-list li {
    position: relative; padding-left: 24px; margin-bottom: 16px;
    font-size: 0.95rem; color: var(--c-text-secondary);
}
.benefit-list li::before { content: '→'; position: absolute; left: 0; top: 0; color: var(--c-accent); font-family: var(--font-mono); }
.benefit-list li strong {
    color: var(--c-text-primary); font-family: var(--font-mono);
    font-size: 0.85rem; text-transform: uppercase; display: block; margin-bottom: 4px;
}

.lead-form-card { background: var(--c-bg); border: 1px solid var(--c-border); padding: 48px; box-shadow: 0 10px 30px rgba(0,0,0,0.02); }
.form-group { margin-bottom: 24px; display: flex; flex-direction: column; gap: 8px; }
.form-input {
    padding: 14px 16px; border: 1px solid var(--c-border); font-family: var(--font-sans);
    font-size: 1rem; background: var(--c-bg-alt); transition: border-color 0.2s; outline: none; border-radius: 0;
}
.form-input:focus { border-color: var(--c-accent); background: var(--c-bg); }

/* Custom Checkboxes */
.checkbox-group { display: flex; flex-direction: column; gap: 8px; }
.checkbox-label { 
    display: flex; align-items: flex-start; gap: 10px; 
    font-size: 0.9rem; color: var(--c-text-secondary); cursor: pointer;
}
.checkbox-label input[type="checkbox"] { margin-top: 3px; accent-color: var(--c-accent); width: 16px; height: 16px; }
.checkbox-label:hover span { color: var(--c-text-primary); }

/* Form Validation & Notifications */
.form-input.is-invalid {
    border-color: #EF4444;
    background: rgba(239, 68, 68, 0.02);
}

.form-error-msg {
    color: #EF4444;
    font-size: 0.75rem;
    font-family: var(--font-mono);
    margin-top: -4px;
    margin-bottom: 8px;
    display: none;
    animation: fadeIn 0.3s ease;
}

.form-input.is-invalid + .form-error-msg {
    display: block;
}

/* Premium Toast Notification */
.toast-container {
    position: fixed;
    bottom: 32px;
    right: 32px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 16px;
    pointer-events: none;
}

.toast-message {
    background: rgba(26, 31, 44, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: white;
    padding: 16px 24px;
    border-radius: 6px;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 12px;
    transform: translateX(120%);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    pointer-events: auto;
    border-left: 4px solid var(--c-accent);
}

.toast-message.show {
    transform: translateX(0);
    opacity: 1;
}

.toast-message.success {
    border-left-color: #10B981;
}

.toast-message.error {
    border-left-color: #EF4444;
}

.toast-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    font-size: 14px;
    font-weight: bold;
}

.toast-message.success .toast-icon {
    background: rgba(16, 185, 129, 0.2);
    color: #10B981;
}

.toast-message.error .toast-icon {
    background: rgba(239, 68, 68, 0.2);
    color: #EF4444;
}

.toast-content {
    display: flex;
    flex-direction: column;
}

.toast-title {
    font-weight: 600;
    margin-bottom: 2px;
    font-size: 0.9rem;
}

.toast-desc {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 640px) {
    .toast-container {
        bottom: 24px;
        right: 24px;
        left: 24px;
    }
    .toast-message {
        width: 100%;
    }
}

/* Venture Animation Wrapper for open.html hero */
.venture-visual-wrapper {
    position: relative;
    width: 100%;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1000px;
}

.venture-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 85, 255, 0.15);
    padding: 24px;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 85, 255, 0.08);
    display: flex;
    flex-direction: column;
    min-width: 200px;
    animation: floatVertical 6s ease-in-out infinite alternate;
    z-index: 2;
}

.vc-1 {
    top: 5%;
    left: 10%;
    transform: translateZ(20px);
    animation-delay: 0s;
}

.vc-2 {
    top: 45%;
    right: 5%;
    transform: translateZ(60px);
    animation-delay: -2s;
}

.vc-3 {
    bottom: 5%;
    left: 20%;
    transform: translateZ(40px);
    background: rgba(0, 85, 255, 0.03);
    border: 1px solid rgba(0, 85, 255, 0.3);
    animation-delay: -4s;
}

.vc-tag {
    margin-bottom: 8px;
    font-weight: 600;
    letter-spacing: 0.05em;
    display: block;
}

.vc-title {
    color: var(--c-text-primary);
    margin-bottom: 12px;
    line-height: 1.3;
}

.vc-line {
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--c-accent), transparent);
    border-radius: 2px;
}

.vc-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 85, 255, 0.15) 0%, rgba(0, 85, 255, 0) 70%);
    border-radius: 50%;
    z-index: 1;
    animation: pulseGlow 4s ease-in-out infinite alternate;
}

@keyframes floatVertical {
    0% { transform: translateY(0px) translateZ(0); }
    100% { transform: translateY(-20px) translateZ(30px); }
}

@keyframes pulseGlow {
    0% { transform: translate(-50%, -50%) scale(0.8); opacity: 0.6; }
    100% { transform: translate(-50%, -50%) scale(1.2); opacity: 1; }
}

/* ----------------------------------------------------------------
   10. BLOG & KNOWLEDGE BASE
   ---------------------------------------------------------------- */

/* Filters */
.blog-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.blog-filter-btn {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    padding: 8px 16px;
    border: 1px solid var(--c-border);
    border-radius: 99px;
    background: white;
    color: var(--c-text-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
}

.blog-filter-btn:hover {
    border-color: var(--c-accent);
    color: var(--c-accent);
    background: rgba(0, 85, 255, 0.03);
}

.blog-filter-btn.active {
    background: var(--c-text-primary);
    border-color: var(--c-text-primary);
    color: white;
}

/* Blog Cards */
.blog-grid {
    margin-top: 32px;
}

.blog-card {
    display: block;
    border: 1px solid var(--c-border);
    background: white;
    border-radius: 4px;
    padding: 24px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.04);
}

.blog-card-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-card-link:hover .text-primary {
    color: var(--c-accent);
}

.blog-card-img-wrapper {
    width: 100%;
    margin-bottom: 24px;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid var(--c-border);
}

.blog-meta .bullet {
    margin: 0 4px;
    opacity: 0.5;
}

/* Sticky Sidebar Widget */
.sticky-widget {
    position: sticky;
    top: 100px; /* offset from header */
    border: 1px solid var(--c-border);
    border-radius: 4px;
    padding: 32px;
    background: white;
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
}

/* Responsive Overrides */
@media (max-width: 900px) {
    .blog-grid .col-span-6 {
        grid-column: span 12;
    }
}

/* Article Typography and Prose Details */
.article-content {
    font-size: 18px;
    line-height: 1.75;
    color: var(--c-text-primary);
}
.article-content p {
    margin-bottom: 1.5em;
}
.article-content h2 {
    font-family: var(--font-serif);
    font-size: 32px;
    color: var(--c-text-primary);
    margin-top: 2.5em;
    margin-bottom: 1em;
}
.article-content h3 {
    font-family: var(--font-serif);
    font-size: 24px;
    color: var(--c-text-primary);
    margin-top: 2em;
    margin-bottom: 1em;
}
.article-content ul, 
.article-content ol {
    margin-bottom: 1.5em;
    padding-left: 1.5em;
}
.article-content li {
    margin-bottom: 0.5em;
}
.article-content blockquote {
    margin: 2.5em 0;
    padding: 2em 2.5em;
    background-color: rgba(0, 85, 255, 0.03); /* subtle blue tint */
    border-left: 4px solid var(--c-accent);
    font-family: var(--font-serif);
    font-size: 20px;
    font-style: italic;
    color: var(--c-text-primary);
    border-radius: 0 8px 8px 0;
    line-height: 1.6;
}
.article-content blockquote span.author {
    display: block;
    margin-top: 1.5em;
    font-family: var(--font-mono);
    font-size: 14px;
    font-style: normal;
    color: var(--c-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ----------------------------------------------------------------
   11. ARTICLE PAGE COMPONENTS
   ---------------------------------------------------------------- */

/* Grid utility missing from base */
.col-start-5 { grid-column-start: 5; }

/* Article cover image */
.article-cover {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 2rem;
    display: block;
    background: var(--c-bg-alt);
}

/* Lead paragraph */
.article-content p.lead {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--c-text-primary);
    font-weight: 400;
    margin-bottom: 1.75rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--c-border);
}

/* Article data table */
.article-table-wrap {
    overflow-x: auto;
    margin: 1.5rem 0 2rem;
    border: 1px solid var(--c-border);
    border-radius: 0;
}
.article-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}
.article-table thead tr {
    background: var(--c-text-primary);
}
.article-table th {
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
    color: #fff;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    letter-spacing: 0.02em;
}
.article-table th.col-accent { color: rgba(255,255,255,0.65); }
.article-table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--c-border);
    vertical-align: top;
    color: var(--c-text-secondary);
}
.article-table tbody tr:last-child td { border-bottom: none; }
.article-table tbody tr:hover { background: var(--c-bg-alt); }
.article-table td.col-highlight {
    background: rgba(0, 85, 255, 0.04);
    color: var(--c-text-primary);
    font-weight: 500;
}

/* TOC sidebar */
.article-toc {
    border-left: 2px solid var(--c-border);
    padding-left: 16px;
}
.article-toc h4 {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--c-text-secondary);
    margin-bottom: 16px;
}
.article-toc ul { list-style: none; padding: 0; }
.article-toc li { margin-bottom: 10px; line-height: 1; }
.article-toc a {
    font-family: var(--font-mono);
    font-size: 0.77rem;
    color: var(--c-text-secondary);
    text-decoration: none;
    transition: color 0.15s;
}
.article-toc a:hover { color: var(--c-accent); }

/* Breadcrumbs */
.breadcrumbs a {
    color: var(--c-text-secondary);
    text-decoration: none;
    transition: color 0.15s;
}
.breadcrumbs a:hover { color: var(--c-accent); }

/* Mid-article dark CTA block */
.article-cta-dark {
    position: relative;
    background: var(--c-bg-dark);
    border: 1px solid rgba(0, 85, 255, 0.2);
    border-radius: 0;
    padding: 40px;
    margin: 3rem 0;
    overflow: hidden;
    color: #fff;
}
.article-cta-dark::after {
    content: '';
    position: absolute;
    top: -50px; right: -50px;
    width: 220px; height: 220px;
    background: radial-gradient(circle, rgba(0, 85, 255, 0.15) 0%, transparent 70%);
    pointer-events: none;
}
.article-cta-dark .cta-label {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--c-accent);
    background: rgba(0, 85, 255, 0.1);
    padding: 4px 10px;
    margin-bottom: 14px;
}
.article-cta-dark h3 {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 600;
    color: #fff;
    line-height: 1.25;
    margin: 0 0 14px;
}
.article-cta-dark p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.75;
    margin-bottom: 24px;
}
.article-cta-dark p strong { color: #fff; font-weight: 600; }
.cta-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}
.btn-cta-primary {
    background: var(--c-accent);
    color: #fff;
    padding: 13px 26px;
    text-decoration: none;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: 500;
    transition: background 0.2s, transform 0.15s;
    display: inline-block;
    white-space: nowrap;
    border: 1px solid transparent;
}
.btn-cta-primary:hover { background: var(--c-accent-dark); transform: translateY(-1px); }
.btn-cta-ghost {
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.85);
    padding: 13px 26px;
    text-decoration: none;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: 500;
    transition: border-color 0.2s, background 0.2s;
    display: inline-block;
    white-space: nowrap;
}
.btn-cta-ghost:hover {
    border-color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
}

/* Conclusion / scale CTA block */
.article-cta-scale {
    display: flex;
    gap: 28px;
    align-items: flex-start;
    background: var(--c-bg-dark);
    padding: 36px 40px;
    margin: 2.5rem 0;
    flex-wrap: wrap;
    border-left: 4px solid var(--c-accent);
}
.cta-scale-icon-box {
    width: 48px;
    height: 48px;
    background: rgba(0, 85, 255, 0.1);
    border: 1px solid rgba(0, 85, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.cta-scale-icon-box svg {
    width: 22px;
    height: 22px;
    stroke: var(--c-accent);
    fill: none;
    stroke-width: 1.75;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.cta-scale-body { flex: 1; min-width: 200px; }
.cta-scale-body h3 {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    color: #fff;
    line-height: 1.35;
    margin-bottom: 8px;
}
.cta-scale-body p {
    font-size: 0.875rem;
    color: var(--c-text-white-dim);
    line-height: 1.7;
    margin-bottom: 18px;
}
.cta-scale-body p a { color: var(--c-accent); text-decoration: none; }
.cta-scale-body p a:hover { text-decoration: underline; }
.cta-scale-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.btn-social {
    color: #fff;
    padding: 9px 18px;
    text-decoration: none;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 500;
    transition: opacity 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.btn-social:hover { opacity: 0.82; border-color: rgba(255,255,255,0.5); }
.btn-social svg {
    width: 14px; height: 14px;
    stroke: currentColor; fill: none;
    stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round;
}

/* Sources / references block */
.article-sources {
    margin-top: 2.5rem;
    padding: 24px 28px;
    background: var(--c-bg-alt);
    border: 1px solid var(--c-border);
}
.article-sources h4 {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--c-text-secondary-light);
    margin-bottom: 14px;
}
.article-sources ol { padding-left: 18px; margin: 0; }
.article-sources li {
    font-size: 0.825rem;
    color: var(--c-text-secondary);
    margin-bottom: 8px;
    line-height: 1.55;
}
.article-sources li em { color: var(--c-text-primary); font-style: italic; }

/* Author E-E-A-T card */
.author-eeat-card {
    margin-top: 3rem;
    padding: 32px;
    border: 1px solid var(--c-border);
    background: var(--c-bg-alt);
}
.author-eeat-inner {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}
.author-photo {
    width: 96px;
    height: 96px;
    object-fit: cover;
    flex-shrink: 0;
    background: var(--c-border);
    border-radius: 0;
    filter: grayscale(20%);
}
.author-info { flex: 1; min-width: 0; }
.author-info h3 {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    color: var(--c-text-primary);
    margin-bottom: 4px;
}
.author-role-tag {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--c-accent);
    margin-bottom: 12px;
    display: block;
}
.author-info p {
    font-size: 0.875rem;
    color: var(--c-text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
}
.author-social {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}
.author-social .s-social {
    color: var(--c-text-primary);
    border: 1px solid var(--c-border);
    padding: 7px 14px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 500;
    text-decoration: none;
    transition: border-color 0.2s, color 0.2s, background 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.author-social .s-social:hover {
    border-color: var(--c-accent);
    color: var(--c-accent);
    background: rgba(0, 85, 255, 0.03);
}
.author-social .s-social svg {
    width: 13px; height: 13px;
    stroke: currentColor; fill: none;
    stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round;
}
.author-social .s-linkedin {
    margin-left: auto;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--c-text-secondary-light);
    text-decoration: none;
    transition: color 0.2s;
}
.author-social .s-linkedin:hover { color: var(--c-text-primary); }

/* Related articles */
.article-related {
    margin-top: 3.5rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--c-border);
}
.article-related h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--c-text-primary);
    margin-bottom: 1.5rem;
}
.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.related-card {
    background: #fff;
    border: 1px solid var(--c-border);
    padding: 20px;
    text-decoration: none;
    display: block;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.related-card:hover {
    border-color: var(--c-accent);
    box-shadow: 0 8px 24px rgba(0, 85, 255, 0.07);
    transform: translateY(-2px);
}
.related-card .r-cat {
    font-family: var(--font-mono);
    font-size: 0.63rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--c-accent);
    margin-bottom: 8px;
    display: block;
}
.related-card h4 {
    font-family: var(--font-serif);
    font-size: 0.97rem;
    color: var(--c-text-primary);
    line-height: 1.4;
    margin-bottom: 10px;
}
.related-card .r-meta {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--c-text-secondary-light);
}

/* bg-white utility */
.bg-white { background-color: #fff; }

/* Article page responsive */
@media (max-width: 900px) {
    .related-grid { grid-template-columns: 1fr 1fr; }
    .article-cta-dark, .article-cta-scale { padding: 24px 20px; }
}
@media (max-width: 768px) {
    .col-span-3.desktop-only { display: none !important; }
    .col-span-8.col-start-5 { grid-column: 1 / -1 !important; }
    .related-grid { grid-template-columns: 1fr; }
    .author-eeat-inner { flex-direction: column; }
    .author-social .s-linkedin { margin-left: 0; }
    .article-cover { height: 240px; }
}

/* ============================================================
   NEW COMPONENTS — appended 2026-03-26
   ============================================================ */

/* --- Reading Progress Bar --- */
.reading-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: var(--c-accent);
    z-index: 2000;
    transition: width 0.1s linear;
    pointer-events: none;
}

/* --- Article Hero Image --- */
.article-hero-img-wrap {
    width: 100%;
    border-radius: 0;
    overflow: hidden;
}
.article-hero-img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
}

/* --- Article Meta Row --- */
.article-meta-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 20px;
    border-top: 1px solid var(--c-border);
    flex-wrap: wrap;
}
.article-meta-avatar {
    width: 40px;
    height: 40px;
    border-radius: 2px;
    object-fit: cover;
    flex-shrink: 0;
    background: var(--c-bg-alt);
    filter: grayscale(15%);
}
.article-meta-info {
    flex: 1;
    min-width: 140px;
}
.reading-time-badge {
    display: inline-block;
    background: var(--c-bg-alt);
    border: 1px solid var(--c-border);
    color: var(--c-text-secondary);
    font-family: var(--font-mono);
    font-size: 0.72rem;
    padding: 2px 8px;
    border-radius: 99px;
}

/* --- Share Buttons --- */
.share-buttons {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-left: auto;
}
.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 7px 12px;
    border: 1px solid var(--c-border);
    background: transparent;
    color: var(--c-text-secondary);
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.18s;
    border-radius: 2px;
    white-space: nowrap;
    line-height: 1;
}
.share-btn:hover {
    border-color: var(--c-accent);
    color: var(--c-accent);
    background: rgba(0,85,255,0.04);
}
.share-btn--telegram:hover { border-color: #0088cc; color: #0088cc; }
.share-btn--whatsapp:hover { border-color: #25D366; color: #25D366; }
.share-btn--linkedin:hover { border-color: #0a66c2; color: #0a66c2; }
.share-btn--vk:hover { border-color: #4a76a8; color: #4a76a8; }
.share-btn--x:hover { border-color: #000; color: #000; }
.share-btn--fb:hover { border-color: #1877f2; color: #1877f2; }
.share-btn--email:hover { border-color: #555; color: #555; }
.share-btn--copy:hover { border-color: var(--c-accent); color: var(--c-accent); }
.share-btn-label { display: none; }

@media (min-width: 1024px) {
    .share-btn-label { display: inline; }
}

/* --- TOC Sidebar (sticky, active highlighting) --- */
.article-toc-sidebar {
    position: sticky;
    top: calc(var(--header-height) + 24px);
}
.article-toc {
    border: 1px solid var(--c-border);
    padding: 24px 20px;
    background: var(--c-bg-alt);
}
.toc-title {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--c-text-secondary);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--c-border);
}
.toc-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.toc-list li a,
.article-toc ul li a {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--c-text-secondary);
    text-decoration: none;
    display: block;
    padding: 5px 0 5px 12px;
    border-left: 2px solid transparent;
    transition: all 0.18s;
    line-height: 1.4;
}
.toc-list li a:hover,
.article-toc ul li a:hover {
    color: var(--c-accent);
    border-left-color: var(--c-accent);
}
.toc-list li a.is-active,
.article-toc ul li a.is-active {
    color: var(--c-accent);
    border-left-color: var(--c-accent);
    font-weight: 600;
}

/* --- Sticky CTA --- */
.cta-sticky {
    position: fixed;
    bottom: -120px;
    left: 0;
    right: 0;
    background: var(--c-text-primary);
    color: white;
    padding: 16px 24px;
    z-index: 900;
    transition: bottom 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    box-shadow: 0 -4px 24px rgba(0,0,0,0.18);
}
.cta-sticky.cta-sticky--visible {
    bottom: 0;
}
.cta-sticky-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}
.cta-sticky-text {
    flex: 1;
    min-width: 200px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.cta-sticky-text strong {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: white;
}
.cta-sticky-sub {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: rgba(255,255,255,0.6);
}
.cta-sticky-btn {
    flex-shrink: 0;
    background: var(--c-accent);
    color: white;
    border-color: var(--c-accent);
    min-height: 44px;
    min-width: 44px;
}
.cta-sticky-btn:hover { background: #0044CC; border-color: #0044CC; }
.cta-sticky-close {
    background: transparent;
    border: none;
    color: rgba(255,255,255,0.5);
    font-size: 1.1rem;
    cursor: pointer;
    padding: 8px;
    min-height: 44px;
    min-width: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.18s;
    flex-shrink: 0;
}
.cta-sticky-close:hover { color: white; }

/* --- Author E-E-A-T Block --- */
.author-eeat-card {
    border: 1px solid var(--c-border);
    padding: 32px;
    margin-top: 48px;
    background: var(--c-bg-alt);
}
.author-eeat-inner {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}
.author-photo {
    width: 80px;
    height: 80px;
    border-radius: 2px;
    object-fit: cover;
    flex-shrink: 0;
    filter: grayscale(15%);
}
.author-info { flex: 1; }
.author-info h3 {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    margin-bottom: 4px;
    color: var(--c-text-primary);
}
.author-role-tag {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--c-text-secondary-light);
    display: block;
    margin-bottom: 12px;
}
.author-info p {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    color: var(--c-text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
}
.author-social {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
.s-social, .s-linkedin {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border: 1px solid var(--c-border);
    color: var(--c-text-secondary);
    text-decoration: none;
    transition: all 0.18s;
    border-radius: 2px;
    min-height: 36px;
}
.s-social:hover, .s-linkedin:hover {
    border-color: var(--c-accent);
    color: var(--c-accent);
}
.s-social svg, .s-linkedin svg { flex-shrink: 0; }

/* --- Mid-Article CTA --- */
.cta-mid {
    background: #0A0E1A;
    color: #fff;
    border-left: 4px solid var(--c-accent);
    padding: 36px;
    margin: 40px 0;
    position: relative;
    overflow: hidden;
}
.cta-mid--open {
    background: var(--c-bg-alt);
    color: var(--c-text-primary);
    border-left: 3px solid var(--c-accent);
    padding: 24px 28px;
}
.cta-mid__label {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--c-accent);
    display: block;
    margin-bottom: 12px;
}
.cta-mid h3 {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    color: #fff;
    margin: 0 0 12px;
}
.cta-mid--open h3 { color: var(--c-text-primary); }
.cta-mid p {
    color: rgba(255,255,255,0.75);
    font-size: 0.95rem;
    margin: 0 0 24px;
    line-height: 1.6;
}
.cta-mid--open p { color: var(--c-text-secondary); }
.cta-mid__actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.cta-mid__btn-primary {
    background: var(--c-accent);
    color: #fff;
    padding: 12px 24px;
    text-decoration: none;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    transition: opacity 0.2s;
    display: inline-block;
}
.cta-mid__btn-primary:hover { opacity: 0.85; }
.cta-mid__btn-ghost {
    border: 1px solid rgba(255,255,255,0.3);
    color: rgba(255,255,255,0.8);
    padding: 12px 24px;
    text-decoration: none;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    transition: border-color 0.2s;
    display: inline-block;
}
.cta-mid__btn-ghost:hover { border-color: rgba(255,255,255,0.6); }

/* --- Related Articles Grid --- */
.article-related {
    margin-top: 48px;
    padding-top: 40px;
    border-top: 1px solid var(--c-border);
}
.article-related h3 {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    margin-bottom: 24px;
    color: var(--c-text-primary);
}
.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.related-card {
    display: block;
    border: 1px solid var(--c-border);
    padding: 20px;
    text-decoration: none;
    background: white;
    transition: all 0.22s;
    color: var(--c-text-primary);
}
.related-card:hover {
    border-color: var(--c-accent);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.07);
}
.related-card .r-cat {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--c-accent);
    display: block;
    margin-bottom: 8px;
}
.related-card h4 {
    font-family: var(--font-serif);
    font-size: 1rem;
    line-height: 1.4;
    color: var(--c-text-primary);
    margin-bottom: 10px;
}
.related-card .r-meta {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--c-text-secondary-light);
}

/* --- FAQ Accordion --- */
.faq-accordion {
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 0;
}
.faq-item {
    border: 1px solid var(--c-border);
    border-top: none;
}
.faq-item:first-child { border-top: 1px solid var(--c-border); }
.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 18px 24px;
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 600;
    color: var(--c-text-primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    text-align: left;
    transition: background 0.18s;
    min-height: 44px;
}
.faq-question:hover { background: var(--c-bg-alt); }
.faq-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--c-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--c-text-secondary);
    transition: all 0.22s;
}
.faq-item.is-open .faq-icon {
    background: var(--c-accent);
    color: white;
    transform: rotate(45deg);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.25s;
    padding: 0 24px;
}
.faq-item.is-open .faq-answer {
    max-height: 800px;
    padding: 0 24px 20px;
}
.faq-answer p {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--c-text-secondary);
    line-height: 1.7;
}

/* --- Hamburger Button (mobile nav) --- */
.hamburger-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    cursor: pointer;
    gap: 5px;
    padding: 8px;
    flex-shrink: 0;
}
.hamburger-btn span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--c-text-primary);
    transition: all 0.22s cubic-bezier(0.2,0.8,0.2,1);
    transform-origin: center;
}
.hamburger-btn.is-open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger-btn.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger-btn.is-open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* --- Mobile Menu --- */
.mobile-menu {
    display: none;
    flex-direction: column;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--c-border);
    padding: 16px 24px;
    gap: 4px;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.35s ease, padding 0.25s;
}
.mobile-menu.is-open {
    display: flex;
    max-height: 400px;
    padding: 16px 24px;
}
.mobile-nav-link {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--c-text-primary);
    text-decoration: none;
    padding: 12px 8px;
    border-bottom: 1px solid var(--c-border);
    display: block;
    min-height: 44px;
    display: flex;
    align-items: center;
    transition: color 0.18s;
}
.mobile-nav-link:last-child { border-bottom: none; }
.mobile-nav-link:hover { color: var(--c-accent); }

/* --- Breadcrumbs --- */
.breadcrumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 2px;
    margin-bottom: 32px;
}
.breadcrumbs a {
    color: var(--c-text-secondary);
    text-decoration: none;
    transition: color 0.18s;
}
.breadcrumbs a:hover { color: var(--c-accent); }
.breadcrumb-sep {
    color: var(--c-border);
    margin: 0 4px;
}

/* --- Blog Category Filter --- */
.blog-filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 32px;
    align-items: center;
}
.blog-filter-btn {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 8px 16px;
    border: 1px solid var(--c-border);
    background: transparent;
    color: var(--c-text-secondary);
    cursor: pointer;
    transition: all 0.18s;
    border-radius: 2px;
    min-height: 36px;
}
.blog-filter-btn:hover {
    border-color: var(--c-accent);
    color: var(--c-accent);
}
.blog-filter-btn.is-active {
    background: var(--c-text-primary);
    color: white;
    border-color: var(--c-text-primary);
}
.blog-filter-count {
    font-size: 0.65rem;
    background: var(--c-bg-alt);
    color: var(--c-text-secondary-light);
    border-radius: 99px;
    padding: 1px 6px;
    margin-left: 4px;
    display: inline-block;
}

/* Article card hidden by filter */
.blog-card[hidden] { display: none !important; }

/* mt/pt utilities */
.mt-xl { margin-top: 80px; }

/* col-start-4 */
.col-start-4 { grid-column-start: 4; }

/* --- Responsive: mobile for article --- */
@media (max-width: 900px) {
    .related-grid { grid-template-columns: 1fr 1fr; }
    .share-buttons { margin-left: 0; margin-top: 12px; width: 100%; }
}
@media (max-width: 768px) {
    .hamburger-btn { display: flex; }
    .desktop-only { display: none !important; }
    .col-span-9.col-start-4 { grid-column: 1 / -1 !important; }
    .article-hero-img { height: 220px; }
    .article-meta-row { gap: 10px; }
    .related-grid { grid-template-columns: 1fr; }
    .author-eeat-inner { flex-direction: column; }
    .cta-sticky-inner { gap: 12px; }
    .text-4xl { font-size: 2rem; }
    .text-5xl { font-size: 2.5rem; }
}
@media (max-width: 480px) {
    .article-meta-row { flex-direction: column; align-items: flex-start; }
    .share-buttons { gap: 6px; }
    .share-btn-label { display: none !important; }
    .section { padding: 48px 0; }
    .article-toc { display: none; }
}

/* --- Ensure no horizontal overflow at 320px --- */
html, body {
    overflow-x: hidden;
}
img, video, canvas { max-width: 100%; }

/* ── Article page specific ─────────────────────────────────────────────────── */

/* Related articles section (generated by pipeline) */
.related-articles {
    margin: 48px 0 32px;
    padding-top: 40px;
    border-top: 1px solid var(--c-border);
}
.related-articles h3 {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    color: var(--c-text-primary);
    margin-bottom: 20px;
}
.related-card__title {
    font-family: var(--font-serif);
    font-size: 0.95rem;
    color: var(--c-text-primary);
    margin: 0 0 8px;
    line-height: 1.4;
}
.related-card__desc {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    color: var(--c-text-secondary);
    line-height: 1.5;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Sources block supports both ol and ul */
.article-sources ul {
    padding-left: 18px;
    margin: 0;
}
.article-sources ul li {
    font-size: 0.825rem;
    color: var(--c-text-secondary);
    margin-bottom: 8px;
    line-height: 1.55;
}
.article-sources a {
    color: var(--c-accent);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s;
}
.article-sources a:hover { border-bottom-color: var(--c-accent); }

/* FAQ section title */
.faq-section {
    scroll-margin-top: 100px;
    margin-top: 48px;
}
.faq-section__title {
    margin: 0 0 20px;
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--c-text-primary);
}

/* Article content images */
.article-figure {
    margin: 32px 0;
    text-align: center;
}
.article-img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
    display: inline-block;
}

/* CSS cache-friendly: 1-year cache via Vercel headers (vercel.json) */
