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

body {
    background: #0a0a0a;
    color: #f5f5f5;
    font-family: 'Space Grotesk', sans-serif;
}

a {
    color: #10b981;
    text-decoration: underline;
}

a:hover {
    text-decoration: underline;
}

/* ── Accent line ── */
.accent-line {
    position: fixed;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.accent-line::after {
    content: '';
    position: absolute;
    bottom: -20%;
    right: -10%;
    width: 1px;
    height: 140%;
    background: rgba(16, 185, 129, 0.15);
    transform: rotate(-30deg);
    transform-origin: bottom right;
}

/* ── Wordmark ── */
.wordmark {
    position: fixed;
    top: 32px;
    left: 40px;
    font-size: 20px;
    font-weight: 500;
    color: #8a8a8a;
    letter-spacing: -0.02em;
    z-index: 100;
    text-decoration: none;
}

.wordmark:hover {
    color: #f5f5f5;
    text-decoration: none;
}

/* ── Article layout ── */
.article-wrapper {
    max-width: 720px;
    margin: 0 auto;
    padding: 120px 24px 80px;
    position: relative;
    z-index: 1;
}

/* ── Article header ── */
.article-label {
    font-size: 13px;
    font-weight: 500;
    color: #10b981;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
}

.article-title {
    font-size: 52px;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.08;
    margin-bottom: 28px;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 14px;
    color: #8a8a8a;
    padding-bottom: 40px;
    border-bottom: 1px solid #1a1a1a;
    margin-bottom: 56px;
}

.article-meta .meta-author {
    color: #f5f5f5;
    font-weight: 500;
}

.meta-dot {
    width: 3px;
    height: 3px;
    background: #404040;
    border-radius: 50%;
}

/* ── Article body ── */
.article-body p {
    font-size: 18px;
    line-height: 1.75;
    color: #d4d4d4;
    margin-bottom: 28px;
}

.article-body h2 {
    font-size: 30px;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-top: 64px;
    margin-bottom: 24px;
    color: #f5f5f5;
}

.article-body h3 {
    font-size: 20px;
    font-weight: 700;
    margin-top: 40px;
    margin-bottom: 12px;
    color: #f5f5f5;
}

.article-body ul, .article-body ol {
    padding-left: 24px;
    margin-bottom: 28px;
}

.article-body li {
    font-size: 18px;
    line-height: 1.75;
    color: #d4d4d4;
    margin-bottom: 8px;
}

/* ── Definition block ── */
.definition-block {
    background: #111;
    border-left: 3px solid #10b981;
    border-radius: 0 8px 8px 0;
    padding: 28px 32px;
    margin: 40px 0 48px;
}

.definition-block .def-label {
    font-size: 11px;
    font-weight: 500;
    color: #10b981;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 12px;
}

.definition-block p {
    font-size: 17px;
    line-height: 1.65;
    color: #d4d4d4;
    margin-bottom: 0;
}

/* ── Stat callout ── */
.stat-callout {
    text-align: center;
    padding: 48px 24px;
    margin: 48px 0;
}

.stat-callout .stat-number {
    font-size: 72px;
    font-weight: 700;
    color: #10b981;
    line-height: 1;
    margin-bottom: 12px;
}

.stat-callout .stat-label {
    font-size: 16px;
    color: #8a8a8a;
    max-width: 420px;
    margin: 0 auto;
    line-height: 1.5;
}

/* ── Article figures ── */
.article-figure {
    margin: 2rem 0 2.5rem;
}

.article-figure img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    border: 1px solid #1a1a1a;
}

.article-figure figcaption {
    font-size: 0.8125rem;
    color: #737373;
    text-align: center;
    margin-top: 0.75rem;
    line-height: 1.5;
}

/* ── Technique cards ── */
.technique-list {
    display: grid;
    gap: 20px;
    margin: 32px 0 48px;
}

.technique-card {
    border: 1px solid #1a1a1a;
    border-radius: 8px;
    padding: 24px 28px;
}

.technique-card .technique-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
}

.technique-card .technique-stat {
    font-size: 22px;
    font-weight: 700;
    color: #10b981;
    white-space: nowrap;
}

.technique-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: #f5f5f5;
    margin: 0;
}

.technique-card p {
    font-size: 15px;
    color: #a3a3a3;
    line-height: 1.6;
    margin-bottom: 0;
}

.technique-card .technique-cite {
    font-size: 13px;
    color: #525252;
    margin-top: 10px;
}

.technique-card .technique-cite a {
    color: #525252;
}

.technique-card .technique-cite a:hover {
    color: #10b981;
}

/* ── Research citations ── */
.citations-list {
    display: grid;
    gap: 16px;
    margin: 32px 0 48px;
}

.citation-card {
    border: 1px solid #1a1a1a;
    border-radius: 8px;
    padding: 20px 24px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
    align-items: center;
}

.citation-card .citation-title {
    font-size: 15px;
    font-weight: 500;
    color: #f5f5f5;
    margin-bottom: 4px;
}

.citation-card .citation-meta {
    font-size: 13px;
    color: #737373;
}

.citation-card .citation-stat {
    font-size: 20px;
    font-weight: 700;
    color: #10b981;
    text-align: right;
    white-space: nowrap;
}

.citation-card .citation-stat-label {
    font-size: 11px;
    color: #525252;
    text-align: right;
}

/* ── Comparison table ── */
.comparison-wrapper {
    overflow-x: auto;
    margin: 32px 0 48px;
    border-radius: 8px;
    border: 1px solid #1a1a1a;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    min-width: 640px;
}

.comparison-table thead th {
    text-align: center;
    font-size: 12px;
    font-weight: 500;
    color: #737373;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 14px 16px;
    border-bottom: 1px solid #1a1a1a;
    white-space: nowrap;
}

.comparison-table thead th:first-child {
    text-align: left;
}

.comparison-table tbody tr:last-child td {
    border-bottom: none;
}

.comparison-table tbody td {
    padding: 14px 16px;
    border-bottom: 1px solid #111;
    text-align: center;
    color: #737373;
}

.comparison-table tbody td:first-child {
    text-align: left;
    color: #d4d4d4;
    font-weight: 500;
}

.comparison-table .row-leanlm td {
    background: rgba(16, 185, 129, 0.04);
}

.comparison-table .row-leanlm td:first-child {
    color: #10b981;
}

.check {
    color: #10b981;
    font-size: 16px;
}

.dash {
    color: #2a2a2a;
}

.partial {
    color: #f59e0b;
    font-size: 12px;
    font-weight: 500;
}

.table-note {
    font-size: 13px;
    color: #525252;
    margin-top: 12px;
}

/* ── CTA section ── */
.article-cta {
    margin-top: 80px;
    padding: 48px 40px;
    border: 1px solid #10b981;
    border-radius: 8px;
    text-align: center;
}

.article-cta .cta-label {
    font-size: 13px;
    font-weight: 500;
    color: #10b981;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
}

.article-cta h2 {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
    margin-top: 0;
}

.article-cta p {
    font-size: 16px;
    color: #a3a3a3;
    margin-bottom: 32px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.cta-form-wrapper {
    display: flex;
    gap: 0;
    max-width: 480px;
    margin: 0 auto;
}

.cta-email-input {
    flex: 1;
    padding: 14px 18px;
    font-size: 15px;
    font-weight: 500;
    color: #f5f5f5;
    background: transparent;
    border: 1px solid #333;
    border-right: none;
    border-radius: 4px 0 0 4px;
    outline: none;
    font-family: inherit;
    transition: border-color 0.2s;
}

.cta-email-input::placeholder { color: #525252; }

.cta-email-input:focus {
    border-color: #10b981;
    box-shadow: 0 0 0 1px rgba(16, 185, 129, 0.3);
}

.cta-email-input.input--error { border-color: #ef4444; }
.cta-email-input.input--valid { border-color: #10b981; }

.cta-submit-btn {
    padding: 14px 24px;
    font-size: 15px;
    font-weight: 500;
    color: #0a0a0a;
    background: #10b981;
    border: 1px solid #10b981;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
    font-family: inherit;
}

.cta-submit-btn:hover { background: #059669; border-color: #059669; }

.cta-submit-btn:disabled { opacity: 0.6; cursor: not-allowed; }

.cta-success {
    font-size: 18px;
    font-weight: 500;
    color: #10b981;
    display: none;
}

.cta-error {
    font-size: 14px;
    color: #ef4444;
    margin-top: 10px;
    display: none;
}

.cta-privacy {
    font-size: 13px;
    color: #525252;
    margin-top: 12px;
}

/* ── Footer ── */
.article-footer {
    border-top: 1px solid #1a1a1a;
    margin-top: 80px;
    padding: 40px 0 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.author-block .author-name {
    font-size: 15px;
    font-weight: 700;
    color: #f5f5f5;
    margin-bottom: 2px;
}

.author-block .author-role {
    font-size: 13px;
    color: #737373;
}

.author-block .author-bio {
    font-size: 13px;
    color: #737373;
    margin-top: 8px;
    line-height: 1.6;
    max-width: 520px;
}

.back-link {
    font-size: 14px;
    color: #737373;
}

.back-link:hover {
    color: #10b981;
    text-decoration: none;
}

/* ── Production case studies ── */
.case-studies-list {
    display: grid;
    gap: 16px;
    margin: 32px 0 48px;
}

.case-study-card {
    border: 1px solid #1a1a1a;
    border-radius: 8px;
    padding: 22px 28px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 16px;
    align-items: start;
}

.case-study-card .cs-company {
    font-size: 15px;
    font-weight: 700;
    color: #f5f5f5;
    margin-bottom: 4px;
}

.case-study-card .cs-task {
    font-size: 13px;
    color: #737373;
    margin-bottom: 8px;
}

.case-study-card .cs-result {
    font-size: 14px;
    color: #d4d4d4;
    line-height: 1.55;
}

.case-study-card .cs-result a {
    color: #525252;
    font-size: 13px;
}

.case-study-card .cs-result a:hover {
    color: #10b981;
}

.case-study-card .cs-stat {
    font-size: 26px;
    font-weight: 700;
    color: #10b981;
    text-align: right;
    white-space: nowrap;
}

.case-study-card .cs-stat-label {
    font-size: 11px;
    color: #525252;
    text-align: right;
    margin-top: 2px;
}

@media (max-width: 640px) {
    .case-study-card {
        grid-template-columns: 1fr;
        padding: 18px 20px;
    }
    .case-study-card .cs-stat {
        text-align: left;
    }
}

/* ── Blockquote ── */
blockquote {
    border-left: 2px solid #10b981;
    padding: 4px 0 4px 24px;
    margin: 36px 0;
}

blockquote p {
    font-size: 20px;
    color: #a3a3a3;
    font-style: italic;
    line-height: 1.65;
    margin-bottom: 0;
}

/* ── Related posts ── */
.related-posts {
    margin-top: 64px;
    padding-top: 40px;
    border-top: 1px solid #1a1a1a;
}

.related-posts h2 {
    font-size: 20px;
    font-weight: 700;
    color: #f5f5f5;
    margin-bottom: 24px;
}

.related-list {
    display: grid;
    gap: 12px;
}

.related-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border: 1px solid #1a1a1a;
    border-radius: 8px;
    text-decoration: none;
    color: #d4d4d4;
    font-size: 15px;
    font-weight: 500;
    transition: border-color 0.2s, color 0.2s;
}

.related-item:hover {
    border-color: #10b981;
    color: #f5f5f5;
    text-decoration: none;
}

.related-item::before {
    content: '→';
    color: #10b981;
    font-size: 14px;
    flex-shrink: 0;
}

/* ── Responsive ── */
@media (max-width: 640px) {
    .article-title {
        font-size: 36px;
    }

    .wordmark {
        top: 20px;
        left: 20px;
    }

    .article-wrapper {
        padding-top: 80px;
    }

    .article-meta {
        flex-wrap: wrap;
        gap: 10px;
    }

    .citation-card {
        grid-template-columns: 1fr;
    }

    .citation-card .citation-stat {
        text-align: left;
    }

    .article-cta {
        padding: 32px 20px;
    }

    .cta-form-wrapper {
        flex-direction: column;
    }

    .cta-email-input {
        border-right: 1px solid #333;
        border-bottom: none;
        border-radius: 4px 4px 0 0;
    }

    .cta-submit-btn {
        border-radius: 0 0 4px 4px;
    }

    .article-footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .stat-callout .stat-number {
        font-size: 56px;
    }
}
