/* ═══════════════════════════════════════════
   COLOR PALETTE — bridged to PROLIVING offer
   PROLIVING uses: Orange, Purple, Green
   Bridge: warm editorial + orange CTAs + green trust
   ═══════════════════════════════════════════ */
:root {
    --ink: #1a1a2e;
    --ink-light: #3d3d5c;
    --ink-muted: #6b6b8d;
    --bg: #fafaf8;
    --bg-warm: #f5f3ee;
    --bg-card: #ffffff;
    /* Trust green (matches PROLIVING's product green) */
    --trust: #2d7a4f;
    --trust-light: #e9f5ee;
    /* CTA orange (bridges to PROLIVING's orange headers) */
    --cta: #d4652a;
    --cta-hover: #b8541f;
    --cta-light: #fef4ee;
    /* Accent purple (subtle nod to PROLIVING's purple sections) */
    --accent-deep: #4a2d6e;
    --highlight: #c9553a;
    --highlight-light: #fef3f0;
    --border: #e2e0d8;
    --border-light: #eeedea;
    --gold: #b8941f;
    --gold-light: #fdf8e8;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --radius: 6px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }

/* ═══ BASE — 18px for 45-65 readability ═══ */
body { font-family: 'Libre Baskerville', Georgia, serif; background: var(--bg); color: var(--ink); line-height: 1.85; font-size: 18px; -webkit-font-smoothing: antialiased; }

.top-bar { background: var(--ink); color: rgba(255,255,255,0.6); font-family: 'DM Sans', sans-serif; font-size: 11px; letter-spacing: 0.5px; padding: 6px 0; text-align: center; text-transform: uppercase; }
.site-header { background: var(--bg-card); border-bottom: 3px solid var(--trust); padding: 16px 0; position: sticky; top: 0; z-index: 100; box-shadow: var(--shadow-sm); }
.header-inner { max-width: 900px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; }
.logo { font-family: 'DM Sans', sans-serif; font-weight: 700; font-size: 22px; color: var(--ink); text-decoration: none; display: flex; align-items: center; gap: 8px; }
.logo-img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.logo span { color: var(--trust); }
.nav-links { font-family: 'DM Sans', sans-serif; font-size: 13px; display: flex; gap: 20px; }
.nav-links a { color: var(--ink-muted); text-decoration: none; text-transform: uppercase; letter-spacing: 0.5px; }
.nav-links a:hover { color: var(--trust); }

.article-container { max-width: 720px; margin: 0 auto; padding: 40px 24px 80px; }
.category-tag { font-family: 'DM Sans', sans-serif; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: var(--trust); background: var(--trust-light); padding: 5px 14px; border-radius: 3px; display: inline-block; margin-bottom: 16px; }
.article-headline { font-size: 36px; line-height: 1.25; font-weight: 700; color: var(--ink); margin-bottom: 16px; letter-spacing: -0.5px; }
.article-subtitle { font-size: 20px; line-height: 1.5; font-style: italic; color: var(--ink-light); margin-bottom: 24px; font-weight: 400; }

.article-meta { font-family: 'DM Sans', sans-serif; font-size: 14px; color: var(--ink-muted); display: flex; align-items: center; gap: 16px; padding-bottom: 24px; border-bottom: 1px solid var(--border); margin-bottom: 32px; flex-wrap: wrap; }
.author-block { display: flex; align-items: center; gap: 10px; }
.author-avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.author-name { font-weight: 600; color: var(--ink); }
.meta-dot { color: var(--border); }
.peer-badge { background: var(--trust-light); color: var(--trust); padding: 3px 10px; border-radius: 3px; font-size: 12px; font-weight: 600; }

.readers-count { font-family: 'DM Sans', sans-serif; font-size: 13px; color: var(--highlight); background: var(--highlight-light); padding: 7px 16px; border-radius: 20px; display: inline-flex; align-items: center; gap: 6px; margin-bottom: 24px; }
.readers-dot { width: 7px; height: 7px; background: var(--highlight); border-radius: 50%; animation: blink 1.5s infinite; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.3} }

.share-bar { display: flex; align-items: center; gap: 12px; margin: 0 0 32px; font-family: 'DM Sans', sans-serif; font-size: 13px; color: var(--ink-muted); }
.share-btn { width: 34px; height: 34px; border-radius: 50%; background: var(--bg-warm); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 14px; color: var(--ink-muted); cursor: pointer; text-decoration: none; }

.hero-image img, .inline-image img, .product-image img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius); display: block; }
.hero-image { margin-bottom: 8px; }
.inline-image { margin: 32px 0 8px; }
.product-image { margin: 24px 0 8px; }
.image-caption, .inline-caption { font-family: 'DM Sans', sans-serif; font-size: 13px; color: var(--ink-muted); margin-bottom: 28px; font-style: italic; }

.article-body p { margin-bottom: 24px; color: var(--ink-light); }
.article-body p.first-p::first-letter { font-size: 62px; float: left; line-height: 0.8; margin: 4px 12px 0 0; color: var(--cta); font-weight: 700; }
.article-body strong { color: var(--ink); font-weight: 700; }
.article-body h2 { font-size: 24px; color: var(--ink); margin: 40px 0 16px; line-height: 1.35; padding-top: 16px; border-top: 1px solid var(--border-light); }

.pull-quote { border-left: 4px solid var(--trust); padding: 20px 28px; margin: 36px 0; background: var(--trust-light); border-radius: 0 var(--radius) var(--radius) 0; }
.pull-quote p { font-size: 20px; font-style: italic; color: var(--trust); line-height: 1.6; margin-bottom: 8px !important; }
.pull-quote cite { font-family: 'DM Sans', sans-serif; font-size: 14px; color: var(--ink-muted); font-style: normal; }

.stat-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin: 36px 0; }
.stat-box { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; text-align: center; box-shadow: var(--shadow-sm); }
.stat-number { font-family: 'DM Sans', sans-serif; font-size: 38px; font-weight: 700; color: var(--cta); line-height: 1; margin-bottom: 8px; }
.stat-label { font-family: 'DM Sans', sans-serif; font-size: 14px; color: var(--ink-muted); line-height: 1.4; }

.highlight-box { background: var(--gold-light); border: 1px solid #e8d88a; border-radius: var(--radius); padding: 24px 28px; margin: 36px 0; }
.highlight-box .box-label { font-family: 'DM Sans', sans-serif; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.2px; color: var(--gold); margin-bottom: 12px; }
.highlight-box ul { list-style: none; padding: 0; }
.highlight-box li { font-family: 'Source Sans 3', sans-serif; font-size: 16px; color: var(--ink-light); padding: 10px 0 10px 28px; position: relative; border-bottom: 1px solid rgba(184,148,31,0.15); }
.highlight-box li:last-child { border-bottom: none; }
.highlight-box li::before { content: '✓'; position: absolute; left: 0; color: var(--trust); font-weight: 700; font-size: 18px; }

.testimonial-section { margin: 40px 0; }
.testimonial-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; margin-bottom: 16px; box-shadow: var(--shadow-sm); }
.testimonial-header { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.testimonial-avatar { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.testimonial-info { font-family: 'DM Sans', sans-serif; }
.testimonial-name { font-weight: 600; font-size: 16px; color: var(--ink); }
.testimonial-detail { font-size: 13px; color: var(--ink-muted); }
.testimonial-stars { color: var(--gold); font-size: 16px; margin-left: auto; letter-spacing: 2px; }
.testimonial-text { font-size: 16px; line-height: 1.75; color: var(--ink-light); font-style: italic; }
.testimonial-verified { font-family: 'DM Sans', sans-serif; font-size: 12px; color: var(--trust); margin-top: 10px; font-style: normal; }

/* ═══ CTA — Orange (bridges to PROLIVING) ═══ */
.mid-cta { background: var(--cta-light); border: 1px solid rgba(212,101,42,0.2); border-radius: var(--radius); padding: 24px; margin: 36px 0; text-align: center; }
.mid-cta p { font-family: 'DM Sans', sans-serif; font-size: 16px; color: var(--ink-light); margin-bottom: 14px !important; }
.mid-cta a { display: inline-block; background: var(--cta); color: white; font-family: 'DM Sans', sans-serif; font-size: 16px; font-weight: 700; padding: 14px 32px; border-radius: 8px; text-decoration: none; transition: all 0.3s ease; }
.mid-cta a:hover { background: var(--cta-hover); }

.cta-section { background: linear-gradient(135deg, var(--ink) 0%, var(--accent-deep) 100%); border-radius: 12px; padding: 44px 36px; margin: 48px 0 32px; text-align: center; position: relative; overflow: hidden; }
.cta-section::before { content: ''; position: absolute; top: -50%; right: -20%; width: 300px; height: 300px; background: radial-gradient(circle, rgba(212,101,42,0.12) 0%, transparent 70%); border-radius: 50%; }
.cta-badge { font-family: 'DM Sans', sans-serif; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: var(--gold); margin-bottom: 16px; }
.cta-heading { color: white; font-size: 28px; line-height: 1.3; margin-bottom: 14px; }
.cta-subtext { font-family: 'Source Sans 3', sans-serif; color: rgba(255,255,255,0.65); font-size: 17px; margin-bottom: 28px; line-height: 1.6; }
.cta-button { display: inline-block; background: linear-gradient(135deg, #e8732a 0%, var(--cta) 100%); color: white; font-family: 'DM Sans', sans-serif; font-size: 18px; font-weight: 700; padding: 18px 52px; border-radius: 8px; text-decoration: none; text-transform: uppercase; letter-spacing: 1px; box-shadow: 0 4px 20px rgba(212,101,42,0.35); transition: all 0.3s ease; position: relative; z-index: 2; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{box-shadow:0 4px 20px rgba(212,101,42,.35)} 50%{box-shadow:0 4px 30px rgba(212,101,42,.55)} }
.cta-button:hover { transform: translateY(-2px); box-shadow: 0 6px 28px rgba(212,101,42,0.45); }
.cta-disclaimer { font-family: 'DM Sans', sans-serif; font-size: 12px; color: rgba(255,255,255,0.4); margin-top: 16px; }

.urgency-bar { background: var(--highlight-light); border: 1px solid rgba(201,85,58,0.2); border-radius: var(--radius); padding: 14px 20px; margin: 24px 0; display: flex; align-items: center; gap: 12px; }
.urgency-icon { font-size: 22px; flex-shrink: 0; }
.urgency-text { font-family: 'DM Sans', sans-serif; font-size: 14px; color: var(--highlight); font-weight: 600; }

.editor-note { background: var(--bg-warm); border-left: 3px solid var(--cta); padding: 18px 22px; margin: 32px 0; font-family: 'DM Sans', sans-serif; font-size: 14px; color: var(--ink-muted); line-height: 1.6; }
.editor-note strong { color: var(--ink-light); }

/* ═══ STICKY CTA — larger for 45-65 fingers ═══ */
.sticky-cta { display: none; position: fixed; bottom: 0; left: 0; right: 0; background: var(--bg-card); border-top: 1px solid var(--border); padding: 14px 24px; z-index: 200; box-shadow: 0 -4px 20px rgba(0,0,0,0.1); }
.sticky-cta.visible { display: block; }
.sticky-cta a { display: block; background: linear-gradient(135deg, #e8732a 0%, var(--cta) 100%); color: white; font-family: 'DM Sans', sans-serif; font-size: 16px; font-weight: 700; padding: 16px; border-radius: 8px; text-decoration: none; text-align: center; text-transform: uppercase; letter-spacing: 0.5px; min-height: 56px; display: flex; align-items: center; justify-content: center; }
.sticky-cta .sticky-subtext { font-family: 'DM Sans', sans-serif; font-size: 12px; color: var(--ink-muted); text-align: center; margin-top: 4px; }

.progress-bar { position: fixed; top: 0; left: 0; height: 3px; background: var(--cta); z-index: 1000; transition: width 0.1s ease; width: 0%; }

/* ═══ FOOTER — real links to modals ═══ */
.site-footer { background: var(--ink); color: rgba(255,255,255,0.4); font-family: 'DM Sans', sans-serif; font-size: 13px; padding: 36px 24px; text-align: center; line-height: 1.8; }
.footer-links { margin-bottom: 8px; }
.footer-links a { color: rgba(255,255,255,0.5); text-decoration: none; margin: 0 12px; cursor: pointer; }
.footer-links a:hover { color: rgba(255,255,255,0.8); }
.footer-disclaimer { max-width: 620px; margin: 16px auto 0; font-size: 11px; line-height: 1.7; color: rgba(255,255,255,0.3); }
.footer-contact { color: rgba(255,255,255,0.45); margin-top: 12px; font-size: 12px; }

/* ═══ LEGAL MODAL ═══ */
.legal-overlay { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.6); z-index: 500; align-items: center; justify-content: center; padding: 24px; }
.legal-overlay.active { display: flex; }
.legal-modal { background: white; border-radius: 12px; max-width: 640px; width: 100%; max-height: 80vh; overflow-y: auto; padding: 36px; position: relative; }
.legal-modal h2 { font-size: 22px; margin-bottom: 16px; color: var(--ink); }
.legal-modal p { font-size: 14px; color: var(--ink-light); line-height: 1.8; margin-bottom: 12px; font-family: 'DM Sans', sans-serif; }
.legal-close { position: absolute; top: 16px; right: 20px; font-size: 24px; cursor: pointer; color: var(--ink-muted); background: none; border: none; font-family: sans-serif; }

/* ═══ MOBILE — optimized for 45-65 demo ═══ */
@media (max-width: 768px) {
    body { font-size: 19px; line-height: 1.9; }
    .article-headline { font-size: 28px; line-height: 1.3; }
    .article-subtitle { font-size: 18px; }
    .stat-row { grid-template-columns: 1fr; gap: 12px; }
    .stat-box { display: flex; align-items: center; gap: 16px; text-align: left; padding: 18px 20px; }
    .stat-number { font-size: 32px; margin-bottom: 0; min-width: 70px; }
    .stat-label { font-size: 15px; }
    .nav-links { display: none; }
    .cta-section { padding: 32px 22px; }
    .cta-heading { font-size: 24px; }
    .cta-button { font-size: 17px; padding: 18px 36px; width: 100%; }
    .article-container { padding: 28px 20px 130px; }
    .pull-quote { padding: 18px 20px; }
    .pull-quote p { font-size: 18px; }
    .testimonial-stars { display: none; }
    .testimonial-text { font-size: 17px; }
    .testimonial-name { font-size: 17px; }
    .article-body p.first-p::first-letter { font-size: 52px; }
    .highlight-box li { font-size: 17px; padding: 12px 0 12px 28px; }
    .mid-cta a { width: 100%; padding: 16px; font-size: 17px; min-height: 56px; }
    .article-meta { font-size: 14px; }
    .urgency-text { font-size: 15px; }
    .editor-note { font-size: 15px; }
    .image-caption, .inline-caption { font-size: 14px; }
}
