/* Harmonic London — lc-aeo-explained.css
   Shared stylesheet. Page-specific colour variables are set in a small
   :root block on each page. */

:root {
    --primary: #0a0e27; --accent: #d4af37; --accent-light: #e8cc6a;
    --text: #0a0e27; --text-light: #64748b; --text-muted: #94a3b8;
    --bg: #ffffff; --border: #e5e7eb; --gray-light: #f8f9fa;
    --cat: #6C5CE7; --cat-bg: rgba(108,92,231,0.07);
}
/* BASE CSS for Category 2: Marketing & Commercial Alignment — colour: #00B894 */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', system-ui, sans-serif; color: var(--text); line-height: 1.7; background: var(--bg); }
.breadcrumb { background: var(--primary); padding: 14px 0; }
.bc-inner { max-width: 1200px; margin: 0 auto; padding: 0 40px; display: flex; align-items: center; gap: 8px; font-family: 'JetBrains Mono', monospace; font-size: .75rem; color: rgba(255,255,255,.4); flex-wrap: wrap; }
.bc-inner a { color: rgba(255,255,255,.4); text-decoration: none; border: none; transition: color .2s; }
.bc-inner a:hover { color: rgba(255,255,255,.7); }
.bc-sep { color: rgba(255,255,255,.18); }
.bc-current { color: rgba(255,255,255,.65); }
.article-hero { background: var(--primary); padding: 72px 0 80px; position: relative; overflow: hidden; }
.article-hero::before { content: ''; position: absolute; top: -30%; right: -5%; width: 600px; height: 600px; background: radial-gradient(circle, rgba(0,184,148,.06) 0%, transparent 65%); border-radius: 50%; pointer-events: none; }
.article-hero::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(212,175,55,.25), transparent); }
.hero-inner { max-width: 800px; margin: 0 auto; padding: 0 40px; position: relative; z-index: 1; }
.article-category { display: inline-flex; align-items: center; gap: 8px; background: rgba(0,184,148,.1); border: 1px solid rgba(0,184,148,.2); padding: 6px 14px; margin-bottom: 24px; font-size: .75rem; font-weight: 700; color: #55efc4; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; border-bottom: none; }
.article-category::before { content: ''; width: 5px; height: 5px; background: currentColor; border-radius: 50%; }
.article-title { font-family: 'Playfair Display', serif; font-size: clamp(2rem, 4vw, 3.25rem); font-weight: 700; line-height: 1.15; letter-spacing: -.02em; color: #fff; margin-bottom: 20px; }
.article-title em { font-style: italic; color: #b2bec3; }
.article-standfirst { font-size: 1.125rem; font-weight: 300; color: rgba(255,255,255,.65); line-height: 1.75; margin-bottom: 32px; max-width: 680px; }
.article-meta { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.meta-item { font-size: .8125rem; color: rgba(255,255,255,.35); }
.meta-item strong { color: rgba(255,255,255,.55); font-weight: 500; }
.meta-sep { color: rgba(255,255,255,.12); }
.article-layout { max-width: 1200px; margin: 0 auto; padding: 64px 40px 96px; display: grid; grid-template-columns: 1fr 300px; gap: 80px; align-items: start; }
.article-body { min-width: 0; }
.toc { background: var(--gray-light); border: 1px solid var(--border); border-left: 3px solid var(--cat); padding: 24px 28px; margin-bottom: 48px; }
.toc-title { font-size: .6875rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--text-muted); margin-bottom: 14px; }
.toc-list { list-style: none; counter-reset: toc; display: flex; flex-direction: column; gap: 6px; }
.toc-list li { counter-increment: toc; display: flex; align-items: baseline; gap: 10px; font-size: .9375rem; }
.toc-list li::before { content: counter(toc, decimal-leading-zero); font-family: 'JetBrains Mono', monospace; font-size: .6875rem; color: var(--cat); font-weight: 700; flex-shrink: 0; }
.toc-list a { color: var(--text-light); text-decoration: none; border: none; font-weight: 400; transition: color .2s; }
.toc-list a:hover, .toc-list a.active { color: var(--cat); border: none; font-weight: 600; }
.article-body h2 { font-family: 'Playfair Display', serif; font-size: clamp(1.5rem, 2.5vw, 2rem); font-weight: 700; color: var(--primary); line-height: 1.2; letter-spacing: -.02em; margin: 56px 0 20px; padding-top: 8px; border-top: 2px solid var(--border); scroll-margin-top: 80px; }
.article-body h2:first-of-type { margin-top: 0; border-top: none; padding-top: 0; }
.article-body h3 { font-size: 1.25rem; font-weight: 700; color: var(--text); margin: 32px 0 12px; letter-spacing: -.01em; }
.article-body p { font-size: 1.0625rem; color: var(--text-light); line-height: 1.85; margin-bottom: 22px; }
.article-body p:first-of-type { font-size: 1.1875rem; color: var(--text); line-height: 1.75; }
.article-body strong { color: var(--text); font-weight: 600; }
.article-body a { color: var(--primary); font-weight: 600; border-bottom: 1px solid var(--border); transition: border-color .2s; }
.article-body a:hover { border-bottom-color: var(--primary); }
.article-body ul, .article-body ol { margin: 20px 0 28px; padding-left: 0; list-style: none; }
.article-body ul li, .article-body ol li { font-size: 1.0625rem; color: var(--text-light); line-height: 1.75; padding: 7px 0 7px 28px; border-bottom: 1px solid var(--gray-light); position: relative; }
.article-body ul li:last-child, .article-body ol li:last-child { border-bottom: none; }
.article-body ul li::before { content: ''; position: absolute; left: 0; top: 18px; width: 6px; height: 6px; background: var(--cat); }
.pullquote { border-left: 3px solid var(--cat); padding: 20px 28px; margin: 36px 0; background: var(--cat-bg); }
.pullquote p { font-family: 'Playfair Display', serif; font-size: 1.25rem !important; font-style: italic; color: var(--primary) !important; line-height: 1.6 !important; margin: 0 !important; }
.callout { background: var(--gray-light); border: 1px solid var(--border); padding: 24px 28px; margin: 32px 0; }
.callout-label { font-size: .6875rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--cat); margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.callout-label::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.callout p { font-size: .9375rem !important; color: var(--text-light) !important; margin: 0 !important; }
.stat-highlight { background: var(--primary); padding: 32px 36px; margin: 36px 0; display: flex; align-items: center; gap: 28px; }
.sh-number { font-family: 'Playfair Display', serif; font-size: 3.5rem; font-weight: 700; color: var(--accent); line-height: 1; flex-shrink: 0; letter-spacing: -.02em; }
.sh-text { font-size: 1rem; color: rgba(255,255,255,.65); line-height: 1.65; }
.sh-text strong { color: #fff !important; }
.soft-cta { border: 1px solid var(--border); border-left: 3px solid var(--accent); padding: 20px 24px; margin: 48px 0; display: flex; align-items: center; justify-content: space-between; gap: 24px; background: rgba(212,175,55,.03); }
.soft-cta-text { font-size: .9375rem; color: var(--text-light); line-height: 1.6; }
.soft-cta-text strong { color: var(--text); }
.soft-cta-btn { display: inline-flex; align-items: center; gap: 8px; background: var(--primary); color: white; padding: 10px 20px; font-size: .875rem; font-weight: 700; text-decoration: none; border: none; white-space: nowrap; transition: all .2s; flex-shrink: 0; }
.soft-cta-btn:hover { background: var(--accent); color: var(--primary); transform: translateY(-1px); border: none; }
.key-takeaways { background: var(--primary); padding: 36px; margin: 48px 0 0; }
.kt-title { font-family: 'Playfair Display', serif; font-size: 1.25rem; font-weight: 700; color: var(--accent); margin-bottom: 20px; display: flex; align-items: center; gap: 12px; }
.kt-title::after { content: ''; flex: 1; height: 1px; background: rgba(255,255,255,.08); }
.kt-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.kt-list li { font-size: .9375rem; color: rgba(255,255,255,.6); padding: 0 0 0 22px; position: relative; line-height: 1.65; }
.kt-list li::before { content: '→'; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.article-cta { background: var(--cat); padding: 36px; margin-top: 56px; }
.ac-eyebrow { font-size: .6875rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,.5); margin-bottom: 12px; }
.ac-title { font-family: 'Playfair Display', serif; font-size: 1.5rem; font-weight: 700; color: #fff; margin-bottom: 10px; line-height: 1.25; }
.ac-text { font-size: .9375rem; color: rgba(255,255,255,.85); line-height: 1.65; margin-bottom: 22px; }
.ac-btn { display: inline-flex; align-items: center; gap: 8px; background: #fff; color: var(--primary); padding: 13px 24px; font-size: .9375rem; font-weight: 700; text-decoration: none; border: none; transition: all .2s; }
.ac-btn:hover { background: var(--accent); color: var(--primary); transform: translateY(-2px); border: none; }
.faq-section { margin-top: 56px; }
.faq-section h2 { font-family: 'Playfair Display', serif; font-size: 1.75rem; font-weight: 700; color: var(--primary); margin-bottom: 28px; }
.faq-item { border: 1px solid var(--border); margin-bottom: 12px; }
.faq-q { font-size: 1rem; font-weight: 700; color: var(--primary); padding: 20px 24px; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px; transition: background .2s; }
.faq-q:hover { background: var(--gray-light); }
.faq-q::after { content: '+'; font-size: 1.25rem; font-weight: 400; color: var(--cat); flex-shrink: 0; }
.faq-item.open .faq-q::after { content: '−'; }
.faq-a { padding: 0 24px 20px; font-size: .9375rem; color: var(--text-light); line-height: 1.8; display: none; }
.faq-item.open .faq-a { display: block; }
.article-sidebar { position: sticky; top: 80px; display: flex; flex-direction: column; gap: 24px; }
.sidebar-card { background: var(--gray-light); border: 1px solid var(--border); padding: 22px; }
.sidebar-card-title { font-size: .6875rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--text-muted); margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.sidebar-card-title::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.related-article-link { display: flex; align-items: flex-start; padding: 12px 14px; background: #fff; border: 1px solid var(--border); text-decoration: none; color: var(--text); font-size: .875rem; font-weight: 500; line-height: 1.5; transition: all .2s; border-left: 3px solid transparent; margin-bottom: 2px; }
.related-article-link:hover { border-left-color: var(--cat); background: var(--cat-bg); border-bottom-color: var(--border); }
.service-link { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; background: #fff; border: 1px solid var(--border); text-decoration: none; color: var(--text); font-size: .875rem; font-weight: 600; transition: all .2s; border-left: 3px solid transparent; margin-bottom: 2px; }
.service-link:hover { border-left-color: var(--accent); background: rgba(212,175,55,.04); border-bottom-color: var(--border); }
.service-link-arrow { color: var(--text-muted); font-size: .75rem; }
.service-link:hover .service-link-arrow { color: var(--accent); }
.sidebar-cta { background: var(--primary); padding: 24px; }
.sc-title { font-family: 'Playfair Display', serif; font-size: 1.125rem; font-weight: 700; color: #fff; margin-bottom: 10px; line-height: 1.3; }
.sc-text { font-size: .875rem; color: rgba(255,255,255,.5); margin-bottom: 18px; line-height: 1.65; }
.sc-btn { display: flex; align-items: center; justify-content: space-between; background: var(--accent); color: var(--primary); padding: 13px 18px; font-size: .875rem; font-weight: 700; text-decoration: none; border: none; transition: all .2s; }
.sc-btn:hover { background: var(--accent-light); transform: translateY(-2px); border: none; }
.back-bar { background: var(--primary); padding: 20px 0; }
.back-bar-inner { max-width: 1200px; margin: 0 auto; padding: 0 40px; display: flex; align-items: center; justify-content: space-between; }
.back-link { display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,.5); font-size: .875rem; font-weight: 500; text-decoration: none; border: none; transition: color .2s; }
.back-link:hover { color: rgba(255,255,255,.85); border: none; }
.back-link::before { content: '←'; }
.share-label { font-size: .75rem; color: rgba(255,255,255,.3); font-family: 'JetBrains Mono', monospace; text-transform: uppercase; letter-spacing: .08em; }
.article-footer { background: var(--gray-light); border-top: 1px solid var(--border); padding: 72px 0; }
.af-inner { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.af-label { font-size: .6875rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--text-muted); margin-bottom: 28px; display: flex; align-items: center; gap: 12px; }
.af-label::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.af-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--border); border: 1px solid var(--border); }
.af-card { background: #fff; padding: 28px 24px; text-decoration: none; color: var(--text); display: flex; flex-direction: column; gap: 8px; transition: background .2s; position: relative; }
.af-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--cat); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.af-card:hover { background: var(--gray-light); border: none; }
.af-card:hover::before { transform: scaleX(1); }
.af-cat { font-size: .6875rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--cat); }
.af-card h3 { font-size: 1rem; font-weight: 700; color: var(--primary); line-height: 1.4; }
.af-card p { font-size: .8125rem; color: var(--text-light); line-height: 1.65; margin: 0; }
.af-arrow { color: var(--cat); font-size: .875rem; margin-top: 4px; opacity: 0; transition: opacity .2s; }
.af-card:hover .af-arrow { opacity: 1; }
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .5s, transform .5s; }
.reveal.visible { opacity: 1; transform: translateY(0); }
/* Data tables */
.data-table { border: 1px solid var(--border); overflow: hidden; margin: 32px 0; }
.dt-header { background: var(--primary); display: grid; }
.dt-hcell { padding: 12px 18px; font-size: .6875rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.45); }
.dt-hcell:first-child { color: rgba(255,255,255,.7); }
.dt-body { display: flex; flex-direction: column; gap: 1px; background: var(--border); }
.dt-row { display: grid; gap: 1px; background: var(--border); }
.dt-cell { background: white; padding: 12px 18px; font-size: .875rem; line-height: 1.6; }
.dt-cell:first-child { font-weight: 600; color: var(--text); }
.dt-cell:not(:first-child) { color: var(--text-light); }
/* Grid cards */
.card-grid { display: grid; gap: 2px; background: var(--border); border: 1px solid var(--border); margin: 32px 0; }
.grid-card { background: white; padding: 24px; transition: background .2s; }
.grid-card:hover { background: var(--gray-light); }
.gc-label { font-family: 'JetBrains Mono', monospace; font-size: .6875rem; font-weight: 700; color: var(--cat); margin-bottom: 8px; text-transform: uppercase; letter-spacing: .06em; }
.gc-title { font-size: 1rem; font-weight: 700; color: var(--primary); margin-bottom: 8px; }
.gc-desc { font-size: .875rem; color: var(--text-light); line-height: 1.65; margin: 0; }
/* Step stack */
.step-stack { display: flex; flex-direction: column; gap: 2px; margin: 32px 0; }
.step { border: 1px solid var(--border); overflow: hidden; transition: border-color .2s; display: grid; grid-template-columns: 56px 1fr; }
.step:hover { border-color: rgba(0,184,148,.3); }
.step-num { background: var(--primary); color: var(--accent); font-family: 'Playfair Display', serif; font-size: 1.75rem; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.step-body { padding: 18px 22px; background: white; }
.step-title { font-size: 1rem; font-weight: 700; color: var(--primary); margin-bottom: 5px; }
.step-desc { font-size: .875rem; color: var(--text-light); margin: 0; line-height: 1.65; }
@media (max-width: 1024px) { .article-layout { grid-template-columns: 1fr; gap: 48px; } .article-sidebar { position: static; } .af-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 768px) { .hero-inner, .article-layout, .af-inner, .back-bar-inner, .bc-inner { padding-left: 20px; padding-right: 20px; } .article-hero { padding: 48px 0 60px; } .article-title { font-size: 1.875rem; } .af-grid { grid-template-columns: 1fr; } .stat-highlight { flex-direction: column; gap: 12px; } .soft-cta { flex-direction: column; align-items: flex-start; } }

.aeo-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--border); border: 1px solid var(--border); margin: 32px 0; }
.ac-col { background: white; padding: 26px 22px; transition: background .2s; }
.ac-col:hover { background: var(--gray-light); }
.ac-badge { display: inline-flex; align-items: center; gap: 6px; font-size: .6875rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; padding: 4px 12px; border-radius: 100px; margin-bottom: 12px; }
.ac-badge.seo { background: rgba(9,132,227,.1); color: #0984E3; }
.ac-badge.aeo { background: rgba(108,92,231,.1); color: #6C5CE7; }
.ac-col h4 { font-size: .9375rem; font-weight: 700; color: var(--primary); margin-bottom: 8px; }
.ac-col p { font-size: .8125rem; color: var(--text-light); line-height: 1.65; margin: 0; }
.schema-types { display: grid; grid-template-columns: repeat(3,1fr); gap: 2px; background: var(--border); border: 1px solid var(--border); margin: 32px 0; }
.st-card { background: white; padding: 20px 18px; transition: background .2s; }
.st-card:hover { background: var(--gray-light); }
.st-name { font-family: 'JetBrains Mono', monospace; font-size: .75rem; font-weight: 700; color: var(--cat); margin-bottom: 6px; }
.st-title { font-size: .875rem; font-weight: 700; color: var(--primary); margin-bottom: 5px; }
.st-desc { font-size: .8125rem; color: var(--text-light); line-height: 1.6; margin: 0; }
@media (max-width: 768px) { .aeo-compare, .schema-types { grid-template-columns: 1fr; } }
