/* ============================================================
   content-strategy-distribution.css — extracted from content-strategy-distribution.html
   ============================================================ */

:root {
            --brand: #991B2D;
            --brand-dark: #6E1320;
            --brand-tint: #FCEFEF;
            --ink: #1A1A1A;
            --ink-2: #4B4F58;
            --ink-3: #8A8A8A;
            --line: #E8E6E1;
            --line-2: #DCD9D1;
            --paper: #FFFFFF;
            --paper-2: #FAF8F4;
            --paper-3: #F4F1EA;
            --night: #1A1416;
            --night-2: #2A2125;
            --serif: 'Spectral', Georgia, 'Times New Roman', serif;
            --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
        }

        /* All page styles are scoped under .aipo-page wrapper to avoid bleeding into layouts/main.php navbar/footer. */
        .aipo-page,
        .aipo-page * { box-sizing: border-box; }
        .aipo-page {
            font-family: var(--sans);
            color: var(--ink);
            background: var(--paper);
            line-height: 1.7;
            font-weight: 400;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
        }
        .aipo-page h1, .aipo-page h2, .aipo-page h3, .aipo-page h4, .aipo-page h5, .aipo-page h6,
        .aipo-page p, .aipo-page ul, .aipo-page ol, .aipo-page figure, .aipo-page blockquote { margin: 0; padding: 0; }

        .aipo-page .container {
            max-width: 1180px;
            margin: 0 auto;
            padding: 0 32px;
        }
        .aipo-page .container-narrow {
            max-width: 880px;
            margin: 0 auto;
            padding: 0 32px;
        }

        /* ============ Eyebrow ============ */
        .eyebrow {
            display: inline-flex;
            align-items: center;
            gap: 12px;
            color: var(--brand);
            font-size: 13px;
            font-weight: 500;
            letter-spacing: 0.18em;
            text-transform: uppercase;
            margin-bottom: 28px;
        }
        .eyebrow::before {
            content: '';
            width: 28px;
            height: 1px;
            background: var(--brand);
        }
        .eyebrow.dark { color: rgba(255,255,255,0.6); }
        .eyebrow.dark::before { background: rgba(255,255,255,0.4); }

        /* ============ Hero ============ */
        .hero {
            padding: 130px 0 110px;
            background: var(--paper);
            position: relative;
        }
        .hero h1 {
            font-family: var(--serif);
            font-size: clamp(40px, 6vw, 70px);
            font-weight: 700;
            line-height: 1.18;
            letter-spacing: -0.01em;
            margin-bottom: 36px;
            color: var(--ink);
        }
        .hero h1 em {
            font-style: normal;
            color: var(--brand);
        }
        .hero .lead {
            font-size: clamp(17px, 1.4vw, 20px);
            color: var(--ink-2);
            max-width: 740px;
            line-height: 1.75;
            margin-bottom: 48px;
        }
        .cta-row {
            display: flex;
            align-items: center;
            gap: 20px;
            flex-wrap: wrap;
        }
        .btn-primary {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            padding: 18px 32px;
            background: var(--brand);
            color: white;
            text-decoration: none;
            font-size: 15px;
            font-weight: 500;
            border-radius: 4px;
            transition: all .25s;
        }
        .btn-primary:hover {
            background: var(--brand-dark);
            transform: translateY(-1px);
        }
        .btn-primary .arrow { transition: transform .25s; }
        .btn-primary:hover .arrow { transform: translateX(4px); }
        .btn-ghost {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 17px 28px;
            background: transparent;
            color: var(--ink);
            text-decoration: none;
            font-size: 15px;
            font-weight: 500;
            border: 1px solid var(--line-2);
            border-radius: 4px;
            transition: all .25s;
        }
        .btn-ghost:hover { border-color: var(--ink); }

        /* ============ Section base ============ */
        section.block {
            padding: 110px 0;
            border-top: 1px solid var(--line);
        }
        section.block.alt { background: var(--paper-2); }
        section.block.alt-warm { background: var(--paper-3); }

        h2.section-title {
            font-family: var(--serif);
            font-size: clamp(30px, 3.4vw, 44px);
            font-weight: 700;
            line-height: 1.25;
            letter-spacing: -0.005em;
            color: var(--ink);
            margin-bottom: 18px;
        }
        h2.section-title.dark { color: white; }
        .section-sub {
            font-size: 17px;
            color: var(--ink-2);
            margin-bottom: 56px;
            max-width: 720px;
            line-height: 1.7;
        }
        .section-sub.dark { color: rgba(255,255,255,0.7); }

        /* ============ Section 2: Thesis ============ */
        .thesis-body p {
            font-size: 17px;
            line-height: 1.85;
            color: var(--ink-2);
            margin-bottom: 24px;
        }
        .thesis-body p strong {
            color: var(--ink);
            font-weight: 500;
        }
        .thesis-body p.emphasis {
            font-family: var(--serif);
            font-size: 22px;
            line-height: 1.6;
            color: var(--ink);
            margin-top: 36px;
            font-weight: 500;
        }

        /* ============ Section 3: Failure cards ============ */
        .failure-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 28px;
        }
        .failure-card {
            background: var(--paper);
            border: 1px solid var(--line);
            border-top: 3px solid var(--brand);
            padding: 36px 32px;
            transition: transform .3s, box-shadow .3s;
        }
        .failure-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 14px 40px rgba(153,27,45,0.08);
        }
        .failure-num {
            font-family: var(--serif);
            font-size: 13px;
            color: var(--brand);
            letter-spacing: 0.16em;
            margin-bottom: 16px;
            font-weight: 500;
        }
        .failure-card h3 {
            font-family: var(--serif);
            font-size: 22px;
            font-weight: 700;
            color: var(--ink);
            margin-bottom: 16px;
            line-height: 1.4;
        }
        .failure-card p {
            font-size: 14.5px;
            line-height: 1.75;
            color: var(--ink-2);
        }

        /* ============ Section 4: Two-track ============ */
        .twotrack-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 0;
            border: 1px solid var(--line);
            margin-bottom: 36px;
        }
        .track {
            padding: 40px 36px;
            background: var(--paper);
            position: relative;
        }
        .track:first-child {
            border-right: 1px solid var(--line);
        }
        .track .role {
            font-family: var(--serif);
            font-size: 13px;
            color: var(--brand);
            letter-spacing: 0.16em;
            margin-bottom: 14px;
            font-weight: 500;
            text-transform: uppercase;
        }
        .track h3 {
            font-family: var(--serif);
            font-size: 26px;
            font-weight: 700;
            color: var(--ink);
            margin-bottom: 16px;
            line-height: 1.3;
        }
        .track .ai-says {
            font-family: var(--serif);
            font-size: 18px;
            font-weight: 500;
            color: var(--brand);
            margin-bottom: 20px;
            font-style: italic;
        }
        .track p {
            font-size: 15px;
            line-height: 1.75;
            color: var(--ink-2);
            margin-bottom: 14px;
        }
        .track ul {
            list-style: none;
            padding-left: 0;
            margin-top: 18px;
        }
        .track ul li {
            font-size: 14px;
            color: var(--ink-2);
            padding: 6px 0 6px 22px;
            position: relative;
            line-height: 1.7;
        }
        .track ul li::before {
            content: '';
            position: absolute;
            left: 0;
            top: 14px;
            width: 12px;
            height: 1px;
            background: var(--brand);
        }
        .triangulation-note {
            padding: 26px 30px;
            background: var(--paper);
            border-left: 3px solid var(--brand);
            font-family: var(--serif);
            font-size: 19px;
            color: var(--ink);
            line-height: 1.65;
        }

        /* ============ Section 5: Content Engine (Featured dark) ============ */
        .featured-engine {
            background: var(--night);
            color: white;
            padding: 130px 0;
            position: relative;
            overflow: hidden;
        }
        .featured-engine::before {
            content: '';
            position: absolute;
            top: 0; left: 0; right: 0; bottom: 0;
            background-image:
                radial-gradient(circle at 20% 30%, rgba(153,27,45,0.18) 0%, transparent 50%),
                radial-gradient(circle at 80% 70%, rgba(153,27,45,0.12) 0%, transparent 50%);
            pointer-events: none;
        }
        .featured-engine > .container { position: relative; z-index: 1; }
        .featured-engine .section-sub { color: rgba(255,255,255,0.72); margin-bottom: 50px; max-width: 760px; }

        .engine-svg-wrap {
            margin: 50px 0;
            padding: 30px 0;
        }
        .engine-svg-wrap svg {
            width: 100%;
            height: auto;
            display: block;
            max-width: 1000px;
            margin: 0 auto;
        }

        .engine-explain-grid {
            display: grid;
            grid-template-columns: repeat(5, 1fr);
            gap: 1px;
            background: rgba(255,255,255,0.08);
            border: 1px solid rgba(255,255,255,0.08);
            margin-top: 50px;
        }
        .engine-stage {
            background: var(--night-2);
            padding: 26px 22px;
        }
        .engine-stage .stage-num {
            font-family: var(--serif);
            font-size: 14px;
            color: rgba(255,255,255,0.4);
            letter-spacing: 0.12em;
            margin-bottom: 10px;
            font-weight: 500;
        }
        .engine-stage h4 {
            font-family: var(--serif);
            font-size: 16px;
            font-weight: 700;
            color: white;
            margin-bottom: 10px;
            line-height: 1.4;
        }
        .engine-stage p {
            font-size: 13px;
            line-height: 1.7;
            color: rgba(255,255,255,0.7);
        }

        .engine-closing {
            margin-top: 50px;
            padding: 32px 36px;
            border-left: 3px solid var(--brand);
            background: rgba(255,255,255,0.04);
            font-family: var(--serif);
            font-size: 19px;
            line-height: 1.7;
            color: white;
        }
        .engine-closing strong { color: #F4A6B0; font-weight: 500; }

        /* ============ Section 6: Pattern Library (Featured light) ============ */
        .ip-block {
            padding: 120px 0;
            border-top: 1px solid var(--line);
            background: linear-gradient(180deg, var(--paper-2) 0%, var(--paper) 100%);
        }
        .ip-header {
            display: flex;
            align-items: flex-end;
            justify-content: space-between;
            gap: 40px;
            margin-bottom: 56px;
            flex-wrap: wrap;
        }
        .ip-header-left { flex: 1; min-width: 300px; }
        .ip-header-stats {
            display: flex;
            gap: 36px;
            flex-shrink: 0;
        }
        .stat-block {
            text-align: right;
        }
        .stat-num {
            font-family: var(--serif);
            font-size: 36px;
            font-weight: 900;
            color: var(--brand);
            line-height: 1;
            margin-bottom: 6px;
        }
        .stat-label {
            font-size: 12px;
            color: var(--ink-3);
            letter-spacing: 0.06em;
        }
        .pattern-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 1px;
            background: var(--line);
            border: 1px solid var(--line);
        }
        .pattern-card {
            background: var(--paper);
            padding: 32px 30px;
            display: flex;
            flex-direction: column;
            gap: 14px;
        }
        .pattern-tag {
            display: inline-block;
            font-size: 11px;
            color: var(--brand);
            letter-spacing: 0.16em;
            text-transform: uppercase;
            font-weight: 500;
        }
        .pattern-card h4 {
            font-family: var(--serif);
            font-size: 19px;
            font-weight: 700;
            color: var(--ink);
            line-height: 1.4;
        }
        .pattern-card .insight {
            font-size: 14px;
            color: var(--ink-2);
            line-height: 1.7;
            font-style: italic;
            padding: 12px 16px;
            background: var(--paper-2);
            border-left: 2px solid var(--brand);
            margin: 4px 0;
        }
        .pattern-card .meaning {
            font-size: 13.5px;
            color: var(--ink-3);
            line-height: 1.7;
        }
        .pattern-card .meaning strong {
            color: var(--ink);
            font-weight: 500;
        }
        .pattern-closing {
            margin-top: 50px;
            text-align: center;
            font-family: var(--serif);
            font-size: 20px;
            color: var(--ink);
            line-height: 1.7;
            padding: 0 40px;
        }
        .pattern-closing strong { color: var(--brand); font-weight: 700; }

        /* ============ Section 7: Content Type Matrix ============ */
        .matrix-table {
            width: 100%;
            border-collapse: collapse;
            margin-top: 16px;
        }
        .matrix-table thead th {
            text-align: left;
            padding: 18px 20px;
            font-family: var(--sans);
            font-weight: 500;
            font-size: 12px;
            color: var(--ink-3);
            letter-spacing: 0.12em;
            text-transform: uppercase;
            border-bottom: 2px solid var(--ink);
        }
        .matrix-table tbody td {
            padding: 24px 20px;
            border-bottom: 1px solid var(--line);
            font-size: 14.5px;
            line-height: 1.7;
            vertical-align: top;
        }
        .matrix-table tbody tr:hover { background: var(--paper-2); }
        .matrix-table tbody td.ctype {
            font-family: var(--serif);
            font-weight: 700;
            font-size: 17px;
            color: var(--ink);
            width: 22%;
        }
        .matrix-table tbody td.scenario {
            color: var(--brand);
            font-style: italic;
            width: 30%;
        }
        .matrix-table tbody td.platforms {
            color: var(--ink-2);
            width: 48%;
        }

        /* ============ Section 8: Distribution ============ */
        .dist-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 36px;
            margin-top: 16px;
        }
        .dist-card {
            background: var(--paper);
            border: 1px solid var(--line);
            border-top: 3px solid var(--brand);
            padding: 40px 36px;
        }
        .dist-card .dist-tag {
            font-family: var(--serif);
            font-size: 13px;
            color: var(--brand);
            letter-spacing: 0.16em;
            margin-bottom: 14px;
            font-weight: 500;
            text-transform: uppercase;
        }
        .dist-card h3 {
            font-family: var(--serif);
            font-size: 24px;
            font-weight: 700;
            color: var(--ink);
            margin-bottom: 18px;
            line-height: 1.35;
        }
        .dist-card .scope {
            font-size: 14px;
            color: var(--ink-3);
            margin-bottom: 22px;
            line-height: 1.65;
        }
        .dist-tier {
            margin-bottom: 22px;
        }
        .dist-tier:last-child { margin-bottom: 0; }
        .dist-tier .tier-label {
            font-size: 12px;
            font-weight: 500;
            color: var(--ink);
            letter-spacing: 0.06em;
            margin-bottom: 10px;
        }
        .dist-tier .outlets {
            font-size: 14px;
            color: var(--ink-2);
            line-height: 1.85;
        }
        .dist-tier .outlets strong {
            color: var(--ink);
            font-weight: 500;
        }
        .dist-summary {
            margin-top: 36px;
            padding: 24px 28px;
            background: var(--paper);
            border-left: 3px solid var(--brand);
            font-family: var(--serif);
            font-size: 18px;
            color: var(--ink);
            line-height: 1.65;
        }

        /* ============ Section 9: Process ============ */
        .process-grid {
            display: grid;
            grid-template-columns: repeat(5, 1fr);
            gap: 0;
            margin-top: 16px;
            position: relative;
        }
        .process-step {
            padding: 32px 24px 32px 0;
            position: relative;
        }
        .process-step:not(:last-child)::after {
            content: '';
            position: absolute;
            top: 56px;
            right: 0;
            width: 1px;
            height: calc(100% - 56px);
            background: var(--line);
        }
        .process-num {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            border: 1.5px solid var(--brand);
            color: var(--brand);
            border-radius: 50%;
            font-family: var(--serif);
            font-weight: 700;
            font-size: 16px;
            margin-bottom: 22px;
        }
        .process-step h3 {
            font-family: var(--serif);
            font-size: 18px;
            font-weight: 700;
            color: var(--ink);
            margin-bottom: 12px;
            line-height: 1.4;
        }
        .process-step p {
            font-size: 14px;
            line-height: 1.7;
            color: var(--ink-2);
            padding-right: 16px;
        }

        /* ============ Section 10: Self-check ============ */
        .check-wrap {
            max-width: 760px;
            margin: 0 auto;
        }
        .check-list {
            list-style: none;
            border-top: 1px solid var(--line);
        }
        .check-item {
            display: flex;
            align-items: flex-start;
            gap: 20px;
            padding: 24px 4px;
            border-bottom: 1px solid var(--line);
            cursor: pointer;
            transition: background .2s;
            user-select: none;
        }
        .check-item:hover { background: rgba(153,27,45,0.025); }
        .check-input {
            appearance: none;
            -webkit-appearance: none;
            width: 22px;
            height: 22px;
            border: 1.5px solid var(--ink-3);
            border-radius: 4px;
            margin-top: 3px;
            flex-shrink: 0;
            cursor: pointer;
            position: relative;
            transition: all .2s;
        }
        .check-input:checked {
            background: var(--brand);
            border-color: var(--brand);
        }
        .check-input:checked::after {
            content: '';
            position: absolute;
            top: 4px;
            left: 7px;
            width: 5px;
            height: 10px;
            border: solid white;
            border-width: 0 2px 2px 0;
            transform: rotate(45deg);
        }
        .check-text {
            font-size: 16px;
            line-height: 1.7;
            color: var(--ink);
            flex: 1;
        }
        .check-num {
            font-family: var(--serif);
            font-size: 13px;
            color: var(--ink-3);
            margin-right: 6px;
            font-weight: 500;
        }
        .check-result {
            margin-top: 36px;
            padding: 28px 32px;
            background: var(--paper-2);
            border-left: 3px solid var(--brand);
            font-size: 16px;
            line-height: 1.7;
            color: var(--ink);
            transition: all .3s;
        }
        .check-result strong {
            font-family: var(--serif);
            font-weight: 700;
            color: var(--brand);
        }

        /* ============ Section 11: Final CTA ============ */
        .final-cta {
            text-align: center;
            padding: 130px 0;
            background: var(--paper-3);
            border-top: 1px solid var(--line);
        }
        .final-cta h2 {
            font-family: var(--serif);
            font-size: clamp(32px, 3.6vw, 48px);
            font-weight: 700;
            line-height: 1.25;
            color: var(--ink);
            margin-bottom: 22px;
        }
        .final-cta p {
            font-size: 17px;
            color: var(--ink-2);
            line-height: 1.7;
            max-width: 620px;
            margin: 0 auto 40px;
        }
        .final-cta .cta-row { justify-content: center; }
        .secondary-link {
            display: block;
            margin-top: 24px;
            font-size: 14px;
            color: var(--ink-3);
            text-decoration: none;
            transition: color .2s;
        }
        .secondary-link:hover { color: var(--brand); }

        /* ============ Responsive ============ */
        @media (max-width: 880px) {
            .hero { padding: 80px 0 70px; }
            section.block { padding: 70px 0; }
            .featured-engine { padding: 80px 0; }
            .ip-block { padding: 70px 0; }
            .final-cta { padding: 70px 0; }
            .failure-grid {
                grid-template-columns: 1fr;
                gap: 1px;
            }
            .twotrack-grid {
                grid-template-columns: 1fr;
            }
            .track:first-child {
                border-right: none;
                border-bottom: 1px solid var(--line);
            }
            .engine-explain-grid {
                grid-template-columns: 1fr;
            }
            .ip-header {
                flex-direction: column;
                align-items: flex-start;
            }
            .ip-header-stats {
                gap: 28px;
            }
            .stat-block { text-align: left; }
            .matrix-table thead th,
            .matrix-table tbody td {
                padding: 14px 12px;
                font-size: 13px;
            }
            .matrix-table tbody td.ctype { font-size: 15px; }
            .dist-grid {
                grid-template-columns: 1fr;
            }
            .process-grid {
                grid-template-columns: 1fr;
            }
            .process-step:not(:last-child)::after {
                top: auto;
                bottom: 0;
                left: 20px;
                right: auto;
                width: calc(100% - 40px);
                height: 1px;
            }
            .process-step { padding: 24px 0; border-bottom: 1px solid var(--line); }
            .process-step:last-child { border-bottom: none; }
        }
