/* ============================================================
   ROOT VARIABLES – UBWIRU AI
   ============================================================ */
:root {
    --primary-dark: #1a4a3a;
    --primary-emerald: #2d7a5a;
    --primary-blue: #162b57;
    --blue-bright: #3a7abe;
    --gold: #d4a843;
    --gold-light: #f0d080;
    --gold-dark: #b8922f;
    --dark-bg: #0d1f1a;
    --light-bg: #f5f8f6;
    --text-dark: #1a2a2a;
    --text-light: #f5f8f6;
    --white: #ffffff;
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
    --container-width: 1200px;
    --shadow: 0 10px 40px rgba(0,0,0,0.08);
    --shadow-hover: 0 20px 60px rgba(0,0,0,0.12);
    --radius: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body { font-family: var(--font-body); color: var(--text-dark); background: var(--white); line-height: 1.6; overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; height: auto; }
.container { max-width: var(--container-width); margin: 0 auto; padding: 0 20px; }

.btn { display: inline-flex; align-items: center; gap: 10px; padding: 12px 28px; border-radius: 8px; font-family: var(--font-body); font-weight: 600; font-size: 16px; transition: var(--transition); cursor: pointer; border: none; }
.btn-gold { background: var(--gold); color: var(--white); }
.btn-gold:hover { background: var(--gold-dark); transform: translateY(-2px); box-shadow: 0 8px 25px rgba(212,168,67,0.3); }
.btn-outline { background: transparent; color: var(--primary-dark); border: 2px solid var(--primary-dark); }
.btn-outline:hover { background: var(--primary-dark); color: var(--white); transform: translateY(-2px); }
.btn-outline-light { background: transparent; color: var(--white); border: 2px solid var(--white); }
.btn-outline-light:hover { background: var(--white); color: var(--primary-dark); transform: translateY(-2px); }
.btn-large { padding: 16px 36px; font-size: 18px; }
.btn-block { width: 100%; justify-content: center; }

.header { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; padding: 16px 0; transition: var(--transition); background: transparent; }

/* ===== Site Banner =====
   Sits ABOVE the fixed header, in normal document flow, at the very
   top of <body>. The header shifts down by exactly the banner's
   height (via body.has-banner), and body gets matching top padding so
   page content still starts in the same place relative to the header
   as it always did -- same relationship, just shifted down as a unit.
   Heights are fixed via CSS (not measured with JS) so this offset is
   always predictable: --site-banner-height covers both. */
:root { --site-banner-height: 48px; }
body.has-banner { padding-top: var(--site-banner-height); }
body.has-banner .header { top: var(--site-banner-height); }

.site-banner { position: relative; z-index: 1001; min-height: var(--site-banner-height); display: flex; align-items: center; }
.site-banner--gold { background: linear-gradient(135deg, var(--gold), var(--gold-light)); color: var(--dark-bg); }
.site-banner--green { background: linear-gradient(135deg, var(--primary-dark), var(--primary-emerald)); color: var(--white); }
.site-banner--neutral { background: var(--dark-bg); color: var(--white); }

.site-banner-inner { width: 100%; max-width: 1200px; margin: 0 auto; padding: 10px 50px 10px 20px; display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; text-align: center; font-size: 14px; position: relative; }
.site-banner-text { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: center; }
.site-banner-text strong { font-weight: 700; }
.site-banner-actions { display: flex; align-items: center; gap: 12px; }
.site-banner-btn { background: rgba(0,0,0,0.15); color: inherit; padding: 5px 14px; border-radius: 50px; font-size: 13px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.site-banner-btn:hover { background: rgba(0,0,0,0.25); }
.site-banner-close { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); background: none; border: none; color: inherit; font-size: 22px; line-height: 1; cursor: pointer; opacity: 0.7; padding: 4px; }
.site-banner-close:hover { opacity: 1; }

.header.scrolled { background: rgba(255,255,255,0.95); backdrop-filter: blur(10px); box-shadow: 0 2px 20px rgba(0,0,0,0.06); padding: 10px 0; }
.header-container { display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-heading); font-weight: 700; font-size: 24px; color: var(--white); }
.header.scrolled .logo { color: var(--primary-dark); }
.logo img { width: 40px; height: 40px; object-fit: contain; }
.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-title { white-space: nowrap; }
.logo-tagline { display: block; width: 100%; font-family: var(--font-body); font-weight: 500; font-size: 0.35em; letter-spacing: 0.3px; text-transform: uppercase; text-align: justify; text-align-last: justify; opacity: 0.75; white-space: nowrap; }
.navbar { display: flex; align-items: center; gap: 30px; }
.nav-menu { display: flex; gap: 30px; align-items: center; }
.nav-menu a { color: var(--white); font-weight: 500; font-size: 15px; transition: var(--transition); position: relative; }
.header.scrolled .nav-menu a { color: var(--text-dark); }
.nav-menu a:hover { color: var(--gold); }
.nav-menu a.active { color: var(--gold); }
.nav-menu a.nav-cta { background: var(--gold); color: var(--white); padding: 8px 20px; border-radius: 6px; }
.nav-menu a.nav-cta:hover { background: var(--gold-dark); color: var(--white); }
.desktop-cta { display: inline-flex; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.hamburger span { width: 25px; height: 3px; background: var(--white); border-radius: 3px; transition: var(--transition); }
.header.scrolled .hamburger span { background: var(--text-dark); }

.hero { background: linear-gradient(135deg, var(--dark-bg) 0%, var(--primary-dark) 50%, var(--primary-blue) 100%); min-height: 100vh; display: flex; align-items: center; position: relative; overflow: hidden; padding: 120px 0 80px; }
.hero-container { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(212,168,67,0.15); color: var(--gold); padding: 6px 16px; border-radius: 50px; font-size: 14px; font-weight: 500; margin-bottom: 20px; }
.hero-title { font-family: var(--font-heading); font-size: 56px; font-weight: 800; color: var(--white); line-height: 1.1; margin-bottom: 20px; }
.hero-title .highlight { background: linear-gradient(135deg, var(--gold), var(--gold-light)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-description { color: rgba(255,255,255,0.8); font-size: 18px; max-width: 540px; margin-bottom: 30px; }
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 50px; }
.hero-stats { display: flex; align-items: center; gap: 30px; }
.stat-item { text-align: center; }
.stat-number { display: block; font-family: var(--font-heading); font-size: 32px; font-weight: 700; color: var(--white); }
.stat-label { color: rgba(255,255,255,0.6); font-size: 14px; }
.stat-divider { width: 1px; height: 40px; background: rgba(255,255,255,0.15); }
.hero-image { position: relative; }
.hero-illustration { position: relative; display: flex; justify-content: center; align-items: center; }
.hero-illustration img { max-width: 100%; }
.floating-card { position: absolute; background: rgba(255,255,255,0.1); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.1); padding: 12px 18px; border-radius: 12px; display: flex; align-items: center; gap: 10px; color: var(--white); font-size: 14px; animation: float 3s ease-in-out infinite; }
.card-1 { top: 10%; right: 5%; animation-delay: 0s; }
.card-2 { bottom: 20%; left: 5%; animation-delay: 1.5s; }
.floating-card i { color: var(--gold); font-size: 18px; }
@keyframes float { 0%, 100% { transform: translateY(0px); } 50% { transform: translateY(-15px); } }
.hero-wave { position: absolute; bottom: -2px; left: 0; width: 100%; line-height: 0; }
.hero-wave svg { width: 100%; height: 60px; }

.trusted { padding: 60px 0; background: var(--light-bg); text-align: center; }
.trusted-label { color: var(--text-dark); opacity: 0.6; font-size: 14px; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 30px; }
.trusted-logos { display: flex; justify-content: center; align-items: center; gap: 50px; flex-wrap: wrap; }
.trusted-logos span { font-size: 18px; font-weight: 600; opacity: 0.4; color: var(--text-dark); }

.services, .testimonials, .faq, .pricing { padding: 80px 0; }
.how-it-works { padding: 80px 0; }
.section-header { text-align: center; max-width: 700px; margin: 0 auto 60px; }
.section-tag { display: inline-block; background: rgba(212,168,67,0.1); color: var(--gold-dark); padding: 4px 16px; border-radius: 50px; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px; }
.section-header h2 { font-family: var(--font-heading); font-size: 40px; font-weight: 700; color: var(--primary-dark); margin-bottom: 16px; }
.section-header p { color: rgba(26,42,42,0.7); font-size: 18px; }

/* ===== Product Screenshot + Lightbox (product detail pages) ===== */
.product-screenshot { max-width: 900px; margin: 0 auto 56px; }
.product-screenshot-btn { display: block; position: relative; width: 100%; padding: 0; border: none; background: none; cursor: zoom-in; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: var(--transition); }
.product-screenshot-btn:hover, .product-screenshot-btn:focus-visible { box-shadow: var(--shadow-hover); transform: translateY(-4px); }
.product-screenshot-btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.product-screenshot-btn img { display: block; width: 100%; height: auto; border-radius: var(--radius); border: 1px solid rgba(0,0,0,0.06); }
.product-screenshot-zoom { position: absolute; bottom: 14px; right: 14px; background: rgba(13,31,26,0.85); color: var(--white); font-size: 13px; font-weight: 600; padding: 8px 14px; border-radius: 20px; display: flex; align-items: center; gap: 8px; opacity: 0; transform: translateY(6px); transition: var(--transition); pointer-events: none; }
.product-screenshot-btn:hover .product-screenshot-zoom,
.product-screenshot-btn:focus-visible .product-screenshot-zoom { opacity: 1; transform: translateY(0); }

.product-lightbox { position: fixed; inset: 0; background: rgba(6,15,12,0.92); z-index: 5000; display: flex; align-items: center; justify-content: center; padding: 50px; opacity: 0; visibility: hidden; transition: opacity 0.25s ease, visibility 0.25s ease; }
.product-lightbox.is-open { opacity: 1; visibility: visible; }
.product-lightbox img { max-width: 100%; max-height: 100%; border-radius: 10px; box-shadow: 0 20px 60px rgba(0,0,0,0.5); }
.product-lightbox-close { position: fixed; top: 24px; right: 28px; width: 46px; height: 46px; border-radius: 50%; border: none; background: rgba(255,255,255,0.12); color: var(--white); font-size: 18px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: var(--transition); z-index: 5001; }
.product-lightbox-close:hover { background: rgba(255,255,255,0.24); }

@media (max-width: 768px) {
    .product-screenshot { margin: 0 auto 36px; }
    .product-screenshot-zoom { bottom: 10px; right: 10px; font-size: 12px; padding: 6px 12px; }
    .product-lightbox { padding: 20px 16px; }
    .product-lightbox-close { top: 14px; right: 14px; width: 40px; height: 40px; }
}

.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.service-card { background: var(--white); padding: 40px 30px; border-radius: var(--radius); box-shadow: var(--shadow); transition: var(--transition); border: 1px solid rgba(0,0,0,0.04); }
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); border-color: var(--gold); }
.service-icon { width: 60px; height: 60px; background: rgba(26,74,58,0.08); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 24px; color: var(--primary-dark); margin-bottom: 20px; }
.service-card h3 { font-family: var(--font-heading); font-size: 20px; font-weight: 600; margin-bottom: 10px; color: var(--text-dark); }
.service-card p { color: rgba(26,42,42,0.7); margin-bottom: 16px; font-size: 15px; }
.service-features li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: rgba(26,42,42,0.7); padding: 4px 0; }
.service-features li i { color: var(--primary-emerald); font-size: 12px; }
.service-link { display: inline-flex; align-items: center; gap: 8px; color: var(--primary-dark); font-weight: 600; margin-top: 16px; transition: var(--transition); }
.service-link:hover { color: var(--gold); gap: 12px; }

.steps-grid { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: center; gap: 20px; }
.step { text-align: center; padding: 40px 30px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); transition: var(--transition); }
.step:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.step-number { font-family: var(--font-heading); font-size: 48px; font-weight: 800; color: rgba(26,74,58,0.08); margin-bottom: -20px; }
.step-icon { width: 70px; height: 70px; margin: 0 auto 16px; background: rgba(212,168,67,0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 28px; color: var(--gold); }
.step h3 { font-family: var(--font-heading); font-size: 20px; font-weight: 600; color: var(--text-dark); margin-bottom: 8px; }
.step p { color: rgba(26,42,42,0.7); font-size: 15px; }
.step-arrow { font-size: 24px; color: rgba(26,42,42,0.2); }

.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.testimonial-card { background: var(--white); padding: 30px; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid rgba(0,0,0,0.04); transition: var(--transition); }
.testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.testimonial-stars { color: var(--gold); margin-bottom: 12px; font-size: 14px; }
.testimonial-card p { font-size: 16px; line-height: 1.7; color: var(--text-dark); margin-bottom: 16px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.testimonial-author img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.testimonial-author strong { display: block; font-size: 15px; }
.testimonial-author span { font-size: 13px; color: rgba(26,42,42,0.6); }

.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; align-items: stretch; }
.home-tools-grid { grid-template-columns: repeat(3, 1fr); }
.blog-grid { grid-template-columns: repeat(3, 1fr); }
.pricing-card { background: var(--white); padding: 40px 30px; border-radius: var(--radius); box-shadow: var(--shadow); text-align: center; transition: var(--transition); position: relative; }
.pricing-card.featured { border: 2px solid var(--gold); transform: scale(1.02); }
.pricing-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.pricing-card.featured:hover { transform: scale(1.02) translateY(-5px); }
.pricing-badge { display: inline-block; padding: 4px 14px; border-radius: 50px; font-size: 12px; font-weight: 600; text-transform: uppercase; background: rgba(26,74,58,0.08); color: var(--primary-dark); margin-bottom: 16px; }
.pricing-badge.gold { background: var(--gold); color: var(--white); }
.pricing-card h3 { font-family: var(--font-heading); font-size: 24px; font-weight: 700; margin-bottom: 8px; }
.pricing-price { font-family: var(--font-heading); font-size: 44px; font-weight: 800; color: var(--primary-dark); margin-bottom: 20px; }
.pricing-price span { font-size: 16px; font-weight: 400; color: rgba(26,42,42,0.5); }
.pricing-features { text-align: left; margin-bottom: 30px; }
.pricing-features li { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-size: 15px; color: rgba(26,42,42,0.8); }
.pricing-features li i { font-size: 14px; }
.pricing-features li .fa-check { color: var(--primary-emerald); }
.pricing-features li .fa-times { color: #ccc; }

.faq-grid { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid rgba(0,0,0,0.06); padding: 8px 0; }
.faq-question { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 16px 0; background: none; border: none; cursor: pointer; font-family: var(--font-body); font-size: 18px; font-weight: 600; color: var(--text-dark); transition: var(--transition); }
.faq-question:hover { color: var(--primary-dark); }
.faq-question i { transition: var(--transition); color: var(--gold); }
.faq-item.active .faq-question i { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.4s ease; padding: 0 20px; }
.faq-item.active .faq-answer { max-height: 300px; padding: 0 20px 20px; }
.faq-answer p { color: rgba(26,42,42,0.7); font-size: 16px; line-height: 1.7; }

.cta-section { padding: 100px 0; background: linear-gradient(135deg, var(--primary-dark), var(--primary-blue)); }
.cta-content { text-align: center; color: var(--white); max-width: 700px; margin: 0 auto; }
.cta-content h2 { font-family: var(--font-heading); font-size: 40px; font-weight: 700; margin-bottom: 16px; }
.cta-content p { font-size: 18px; opacity: 0.8; margin-bottom: 30px; }
.cta-buttons { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

.footer { background: var(--dark-bg); padding: 60px 0 0; color: rgba(255,255,255,0.7); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.06); }
.footer-brand .logo { color: var(--white); font-size: 20px; margin-bottom: 12px; display: inline-flex; }
.footer-brand p { font-size: 15px; line-height: 1.7; margin-bottom: 20px; max-width: 300px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.06); display: flex; align-items: center; justify-content: center; transition: var(--transition); color: var(--white); }
.footer-social a:hover { background: var(--gold); transform: translateY(-2px); }
/* Bluesky isn't in Font Awesome 6.x (added later, in FA7 -- too big a
   version jump to risk against the ~50 other icon classes used sitewide),
   so this one icon is a CSS mask of a self-hosted SVG at /images/bluesky.svg
   -- kept local rather than pulled from a third-party CDN so the site's
   Content-Security-Policy img-src doesn't need to trust any new external
   domain. background-color:currentColor + mask makes it inherit color
   exactly like the fa-* glyphs do, so it still follows .footer-social a's
   color the same way the others do. Also used in the product-detail-body.php
   share row (.bluesky-icon-mask there is the same technique, kept local
   to that file since it's the only other place this icon appears). */
.footer-social .bluesky-icon-mask { display: inline-block; width: 17px; height: 17px; background-color: currentColor; -webkit-mask-image: url('/images/bluesky.svg'); mask-image: url('/images/bluesky.svg'); -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-position: center; mask-position: center; -webkit-mask-size: contain; mask-size: contain; }
.footer-links h4, .footer-contact h4 { color: var(--white); font-family: var(--font-heading); font-size: 18px; font-weight: 600; margin-bottom: 16px; }
.footer-links ul li, .footer-contact ul li { padding: 6px 0; font-size: 15px; transition: var(--transition); }
.footer-links ul li a:hover { color: var(--gold); }
.footer-contact ul li i { width: 20px; color: var(--gold); margin-right: 8px; }
.footer-bottom { padding: 20px 0; text-align: center; font-size: 14px; opacity: 0.6; }
.footer-bottom i { color: var(--gold); }

.chat-widget { position: fixed; bottom: 30px; right: 30px; z-index: 9999; }
.chat-toggle { width: 60px; height: 60px; border-radius: 50%; background: var(--primary-dark); color: var(--white); border: none; font-size: 24px; cursor: pointer; box-shadow: 0 10px 30px rgba(26,74,58,0.3); transition: var(--transition); position: relative; }
.chat-toggle:hover { transform: scale(1.05); box-shadow: 0 15px 40px rgba(26,74,58,0.4); }
.chat-badge { position: absolute; top: -4px; right: -4px; background: var(--gold); color: var(--white); font-size: 11px; font-weight: 700; width: 22px; height: 22px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.chat-container { position: absolute; bottom: 80px; right: 0; width: 380px; max-height: 600px; background: var(--white); border-radius: var(--radius); box-shadow: 0 20px 60px rgba(0,0,0,0.2); display: none; flex-direction: column; overflow: hidden; }
.chat-container.open { display: flex; }
.chat-header { padding: 16px 20px; background: var(--primary-dark); color: var(--white); display: flex; justify-content: space-between; align-items: center; }
.chat-header-info { display: flex; align-items: center; gap: 12px; }
.chat-header-info img { border-radius: 50%; }
.chat-header-info strong { display: block; font-size: 15px; }
.chat-header-info span { font-size: 12px; opacity: 0.7; }
.chat-close { background: none; border: none; color: var(--white); font-size: 20px; cursor: pointer; opacity: 0.7; transition: var(--transition); }
.chat-close:hover { opacity: 1; }
.chat-messages { flex: 1; padding: 16px 20px; overflow-y: auto; max-height: 350px; background: var(--light-bg); }
.chat-message { margin-bottom: 12px; display: flex; flex-direction: column; }
.chat-message.bot { align-items: flex-start; }
.chat-message.user { align-items: flex-end; }
.message-bubble { max-width: 85%; padding: 12px 16px; border-radius: 12px; font-size: 14px; line-height: 1.6; }
.chat-message.bot .message-bubble { background: var(--white); color: var(--text-dark); border-top-left-radius: 4px; }
.chat-message.user .message-bubble { background: var(--primary-dark); color: var(--white); border-top-right-radius: 4px; }
.message-time { font-size: 10px; opacity: 0.5; margin-top: 4px; }
.chat-quick-replies { display: flex; gap: 8px; padding: 8px 16px; flex-wrap: wrap; border-top: 1px solid rgba(0,0,0,0.06); }
.quick-reply { padding: 6px 14px; border-radius: 50px; border: 1px solid rgba(26,74,58,0.2); background: transparent; font-size: 12px; cursor: pointer; transition: var(--transition); color: var(--primary-dark); }
.quick-reply:hover { background: var(--primary-dark); color: var(--white); border-color: var(--primary-dark); }
.chat-input { display: flex; padding: 12px 16px; gap: 10px; border-top: 1px solid rgba(0,0,0,0.06); background: var(--white); }
.chat-input input { flex: 1; padding: 10px 14px; border: 1px solid rgba(0,0,0,0.08); border-radius: 8px; font-family: var(--font-body); font-size: 14px; outline: none; transition: var(--transition); }
.chat-input input:focus { border-color: var(--gold); }
.chat-input input:disabled { opacity: 0.5; cursor: not-allowed; }
.chat-input button { padding: 10px 16px; background: var(--gold); border: none; border-radius: 8px; color: var(--white); cursor: pointer; transition: var(--transition); }
.chat-input button:hover { background: var(--gold-dark); }
.chat-input button:disabled { opacity: 0.5; cursor: not-allowed; }
.chat-footer { padding: 8px 16px; font-size: 10px; text-align: center; color: rgba(26,42,42,0.4); border-top: 1px solid rgba(0,0,0,0.04); }
.chat-footer a { color: var(--primary-dark); text-decoration: underline; }

[data-aos] { pointer-events: none; }
[data-aos].aos-animate { pointer-events: auto; }

/* ============================================================
   RESPONSIVE GRID UTILITIES
   These replace inline grid-template-columns so mobile media
   queries in responsive.css can actually override them — inline
   styles can't be overridden by any external stylesheet rule.
   ============================================================ */
.two-col-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.three-col-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.four-col-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* ============================================================
   PAGE HERO TEXT COLOR — FIX
   .page-hero-content had no default text color at all, so it
   silently inherited the site's near-black body text color,
   which is unreadable against the dark green hero background.
   This makes white the permanent default for every current and
   future page — no more remembering an inline override per page.
   ============================================================ */
.page-hero-content,
.page-hero-content h1,
.page-hero-content p {
    color: var(--white);
}

/* ============================================================
   BLOG POST BODY — rendered from Markdown by render_markdown()
   in helpers.php. Scoped overrides for the global "* { margin:0 }"
   and "ul { list-style: none }" resets, which otherwise leave
   headings/lists in a blog post with no spacing or bullets.
   ============================================================ */
.blog-post-body h2,
.blog-post-body h3,
.blog-post-body h4 {
    font-family: var(--font-heading);
    color: var(--primary-dark);
    margin: 32px 0 14px;
    line-height: 1.3;
}
.blog-post-body h2 { font-size: 26px; }
.blog-post-body h3 { font-size: 21px; }
.blog-post-body h4 { font-size: 18px; }
.blog-post-body p { margin: 0 0 18px; }
.blog-post-body ul {
    list-style: disc;
    margin: 0 0 18px;
    padding-left: 24px;
}
.blog-post-body li { margin-bottom: 8px; }
.blog-post-body hr {
    border: none;
    border-top: 1px solid rgba(26,42,42,0.12);
    margin: 32px 0;
}
.blog-post-body code {
    background: var(--light-bg);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.9em;
}
.blog-post-body strong { color: var(--primary-dark); }
