/* Red / warm-white theme. Visual-only overrides; original grids/content/links retained. */
:root{
 --bg:#fff9f5;--bg-alt:#fff0ec;--bg-card:#fff;
 --text:#302428;--text-secondary:#5e454b;--text-muted:#735a60;
 --accent:#c6101b;--accent-hover:#a70b16;--accent-light:#ffe0dd;
 --gold:#8d5900;--success:#087a42;--border:#eacdd0;--border-light:#f2e0e1;
 --shadow:0 1px 4px rgba(125,16,30,.07);
 --shadow-md:0 8px 24px rgba(125,16,30,.11);
 --shadow-lg:0 14px 36px rgba(125,16,30,.14);
 --wp--preset--color--vivid-green-cyan:#c6101b;
}
body{background:#fff9f5;color:var(--text)}
.site-header{background:rgba(255,255,255,.97);border-top:3px solid #c6101b;border-bottom:1px solid #eadcdf;box-shadow:0 3px 12px rgba(85,16,27,.06)}
.header-logo,.header-logo span,.header-logo .site-title{color:#a70b16}
.header-nav a{color:#59444a}
.header-nav a.active,.header-nav a:hover{background:#c6101b;color:#fff}
.mobile-toggle{color:#a70b16}
.btn-primary,.wp-block-button__link{background:#c6101b;border-color:#c6101b;color:#fff}
.btn-primary:hover,.wp-block-button__link:hover{background:#a70b16;border-color:#a70b16;color:#fff}
.btn-outline{background:transparent;color:#b20d19;border-color:#b20d19}
.btn-outline:hover{background:#b20d19;color:#fff;border-color:#b20d19}
/* Explicit local text variables also cover inline styles referring to var(--text-muted). */
.hero,.hero-mint{
 --text:#fff;--text-secondary:#fff1ed;--text-muted:#fff1ed;
 --accent:#fff;--accent-hover:#fff;--accent-light:rgba(255,255,255,.14);
 background:linear-gradient(120deg,#a90b1b 0%,#df0807 57%,#c6101b 100%);
 color:#fff;
}
.hero h1,.hero h2,.hero h3,.hero p,.hero .entry-title,.hero .hero-desc,.hero .mint-eyebrow,.hero .breadcrumb,.hero .breadcrumb a,.hero .breadcrumb .current{color:#fff}
.hero .mint-eyebrow{background:rgba(255,255,255,.12);display:inline-block;border:1px solid rgba(255,255,255,.32);border-radius:100px;padding:6px 14px}
.hero .mint-logo{background:#fff;border-color:rgba(255,255,255,.7);box-shadow:0 8px 24px rgba(71,0,10,.22)}
.hero .btn-primary,.hero .wp-block-button__link{background:#fff;color:#b20d19;border-color:#fff;box-shadow:0 6px 18px rgba(75,0,5,.15)}
.hero .btn-primary:hover,.hero .wp-block-button__link:hover{background:#fff0ec;color:#8d0813;border-color:#fff0ec}
.hero .btn-outline{background:transparent;color:#fff;border-color:#fff}
.hero .btn-outline:hover{background:#fff;color:#a70b16}
.hero .stat-card{--text:#302428;--text-secondary:#5e454b;--text-muted:#735a60;--accent:#b20d19;--accent-hover:#a70b16;background:#fff;color:#302428;border-color:#f0d4d6}
.hero .stat-card .stat-num{color:#b20d19}.hero .stat-card .stat-label{color:#735a60}
/* Light surfaces: neutral dark copy, red accents. */
.about-section,.catalog-section,.community-section,.release-section{background:#fff0ec}
.mint-card{background:linear-gradient(180deg,#fff,#fff7f4)}
.feature-card,.mosaic-card,.mint-step,.qa-pair,.app-card,.app-list-item,.info-card,.release-card,.review-card,.community-card,.changelog-item,.screenshot-card{color:#302428}
.feature-card p,.review-location,.community-location,.info-row .label,.app-list-item-body .meta,.app-card-meta,.changelog-item .version-size{color:#735a60}
.app-card-name,.app-list-item-body h3,.qa-pair h3{color:#302428}
.mosaic-card h3,.feature-num,.release-version,.changelog-item .version-num{color:#b20d19}
.step-n,.release-badge{background:#c6101b;color:#fff}
.review-tags span,.section-header .badge{background:#ffe0dd;color:#a70b16}
.hash-box{background:#fff0ec;color:#5e454b}
/* Full-width closing CTA: white text, white/red buttons, no muted dark copy. */
.cta-section,.cta-mint{
 --text:#fff;--text-secondary:#fff1ed;--text-muted:#fff1ed;--accent:#fff;--accent-hover:#fff;
 background:linear-gradient(115deg,#a90b1b,#df0807 58%,#c6101b);color:#fff;
}
.cta-section h2,.cta-section p{color:#fff}
.cta-section .btn-primary,.cta-section .btn-outline{background:#fff;color:#b20d19;border-color:#fff}
.cta-section .btn-primary:hover,.cta-section .btn-outline:hover{background:#fff0ec;color:#8d0813;border-color:#fff0ec}
/* Footer variables are deliberately separate from light card colors. */
.site-footer{
 --text:#fff;--text-secondary:#fff1ed;--text-muted:#ffdfdf;
 --accent:#fff;--accent-hover:#fff;--border:rgba(255,255,255,.22);
 background:#74161d;color:#fff1ed;border-top:1px solid #8b2930;
}
.site-footer h2,.site-footer h3,.site-footer h4,.site-footer strong,.site-footer .footer-logo-link{color:#fff}
.site-footer p,.site-footer .footer-brand,.site-footer .footer-bottom{color:#ffdfdf}
.site-footer a,.site-footer .footer-col a{color:#fff1ed}
.site-footer a:hover,.site-footer .footer-col a:hover{color:#fff;text-decoration:underline;text-underline-offset:3px}
.site-footer .footer-bottom{border-color:rgba(255,255,255,.22)}
.scroll-top{background:#c6101b;color:#fff}.scroll-top:hover{background:#a70b16}
/* Keyboard focus remains visible on both light and dark surfaces. */
a:focus-visible,button:focus-visible{outline:3px solid #302428;outline-offset:4px}
.hero a:focus-visible,.cta-section a:focus-visible,.site-footer a:focus-visible{outline-color:#fff}
@media(max-width:768px){.header-nav{background:#fff;border-color:#eacdd0}.header-nav a{color:#59444a}.header-nav a:hover,.header-nav a.active{background:#c6101b;color:#fff}}
