/* v54.15.3 — theme tokens applied to TITAN XTRM public brand pages (not client demo templates, OBS, CD Studio or Admin). */
:root{--tx-bg:#070b14;--tx-bg2:#0b1220;--tx-panel:#111b2b;--tx-raised:#192437;--tx-text:#f5f6fb;--tx-muted:#9ca8ba;--tx-accent:#ebb45f;--tx-alt:#8fd9ed;--tx-hair:#ffffff1d;--tx-hero:linear-gradient(120deg,#070b14,#0d1929 58%,#090b18);--tx-on-accent:#171007;--tx-radius:22px}
body.tx-public-theme{background:var(--tx-bg);color:var(--tx-text)}
body.tx-public-theme :is(a,button,input,select,textarea):focus-visible{outline:3px solid var(--tx-accent);outline-offset:3px}
body.tx-public-theme :is(.eyebrow,.category){color:var(--tx-accent)}
body.tx-public-theme .section-head h2,body.tx-public-theme .section-title h2{color:var(--tx-text)}
body.tx-public-theme .section-head>p,body.tx-public-theme .section-title>p,body.tx-public-theme .description{color:var(--tx-muted)}
body.tx-public-theme .topbar,body.tx-public-theme .site-header{background:color-mix(in srgb,var(--tx-bg) 94%,transparent);border-color:var(--tx-hair);backdrop-filter:blur(20px)}
body.tx-public-theme .brand,body.tx-public-theme .brand-main{color:var(--tx-text)}
body.tx-public-theme .brand .gold,body.tx-public-theme .brand-main span{color:var(--tx-accent)}
body.tx-public-theme .back,body.tx-public-theme .nav nav a:not(.nav-cta){color:var(--tx-text);border-color:var(--tx-hair)}
body.tx-public-theme .hero{background:var(--tx-hero);color:var(--tx-text)}
body.tx-public-theme .hero h1,body.tx-public-theme .hero h1 :is(span,em){color:var(--tx-text)}
body.tx-public-theme .hero h1 span{color:var(--tx-accent)}
body.tx-public-theme .hero :is(.lead,.hero-desc,.hero-copy>p){color:var(--tx-muted)}
body.tx-public-theme .hero .eyebrow{color:var(--tx-accent)}
body.tx-public-theme .btn.primary,body.tx-public-theme .nav-cta,body.tx-public-theme .primary-card,body.tx-public-theme .launch{background:var(--tx-accent)!important;color:var(--tx-on-accent)!important;border-color:var(--tx-accent)!important}
body.tx-public-theme .btn.secondary{border-color:var(--tx-hair);color:var(--tx-text);background:var(--tx-panel)}
body.tx-public-theme .build-section,body.tx-public-theme .build-panel,body.tx-public-theme :is(.footer,.site-footer){background:var(--tx-bg2);color:var(--tx-text);border-color:var(--tx-hair)}
body.tx-public-theme :is(.footer,.site-footer) a{color:var(--tx-text)}
/* Apps & Web Applications */
body.tx-public-theme .projects{background:var(--tx-bg)}
body.tx-public-theme .project-card{background:var(--tx-panel);color:var(--tx-text);border-color:var(--tx-hair);border-radius:var(--tx-radius);box-shadow:0 18px 38px #0002}
body.tx-public-theme .project-card :is(h3,.project-names){color:var(--tx-text)}
body.tx-public-theme .project-card :is(.description,.catalog-status){color:var(--tx-muted)}
body.tx-public-theme .project-card .details{color:var(--tx-text);border-color:var(--tx-hair);background:var(--tx-raised)}
body.tx-public-theme .project-card .category{color:var(--tx-accent)}
body.tx-public-theme .project-card .badge:not(.live):not(.development):not(.soon){background:var(--tx-raised);color:var(--tx-text)}
body.tx-public-theme .quick-obs{color:var(--tx-accent);border-color:var(--tx-accent)}
/* Ready Website Catalog — keep embedded client previews untouched */
body.tx-public-theme .catalog-section,body.tx-public-theme .process-section,body.tx-public-theme .faq-section{background:var(--tx-bg)}
body.tx-public-theme .intro-strip,body.tx-public-theme .contact-section{background:var(--tx-bg2);border-color:var(--tx-hair)}
body.tx-public-theme .intro-grid div{border-color:var(--tx-hair);color:var(--tx-text)}
body.tx-public-theme .intro-grid span{color:var(--tx-muted)}
body.tx-public-theme .template-card{background:var(--tx-panel);border-color:var(--tx-hair);color:var(--tx-text);border-radius:var(--tx-radius);box-shadow:0 15px 40px #0002}
body.tx-public-theme .template-card .template-body h3{color:var(--tx-text)}
body.tx-public-theme .template-body>p{color:var(--tx-muted)}
body.tx-public-theme .template-body>small,body.tx-public-theme .design-offer-prices strong{color:var(--tx-accent)}
body.tx-public-theme .tag-row span{color:var(--tx-text);background:var(--tx-raised)}
body.tx-public-theme .search-box,body.tx-public-theme .filter{background:var(--tx-panel);border-color:var(--tx-hair);color:var(--tx-text)}
body.tx-public-theme .search-box input{color:var(--tx-text)}
body.tx-public-theme .search-box input::placeholder{color:var(--tx-muted)}
body.tx-public-theme .filter:is(:hover,.active){background:var(--tx-accent);color:var(--tx-on-accent)}
body.tx-public-theme .plans-section{background:var(--tx-bg2);color:var(--tx-text)}
body.tx-public-theme .plans-section .section-head p{color:var(--tx-muted)}
body.tx-public-theme .plan-card{background:var(--tx-panel);border-color:var(--tx-hair);color:var(--tx-text)}
body.tx-public-theme :is(.process-section,.faq-section) :is(article,details,.faq-item){border-color:var(--tx-hair)}
body.tx-public-theme .catalog-contact{background:var(--tx-panel);color:var(--tx-text);border-color:var(--tx-hair)}
body.tx-public-theme .catalog-contact p{color:var(--tx-muted)}
body.tx-public-theme .footer-grid a{color:var(--tx-text)}
body.tx-public-theme .modal-shell{background:var(--tx-panel);color:var(--tx-text)}
body.tx-public-theme .modal-info h2,body.tx-public-theme .modal-columns h4{color:var(--tx-text)}
body.tx-public-theme .modal-info>p,body.tx-public-theme .modal-columns li{color:var(--tx-muted)}
body.tx-public-theme .modal-info .eyebrow{color:var(--tx-accent)}
body.tx-public-theme .modal-actions .secondary{color:var(--tx-text);border-color:var(--tx-hair);background:var(--tx-raised)}
/* de_RENDERMASTER marketing portfolio */
body.tx-public-theme .showcase{background:var(--tx-bg);color:var(--tx-text)}
body.tx-public-theme .showcase .section-head :is(h2,p){color:var(--tx-text)}
body.tx-public-theme .showcase .section-head>p{color:var(--tx-muted)}
body.tx-public-theme .showcase .eyebrow{color:var(--tx-accent)}
body.tx-public-theme .video-card{border-color:var(--tx-hair)}
body.tx-public-theme .note{color:var(--tx-muted)}
/* TitanX Studio product page; presentation only, status unchanged */
body.tx-public-theme .stats-grid,body.tx-public-theme .feature-panel,body.tx-public-theme .studio-app-card{background:var(--tx-panel);border-color:var(--tx-hair);color:var(--tx-text)}
body.tx-public-theme .stat,body.tx-public-theme .feature{background:var(--tx-raised);border-color:var(--tx-hair)}
body.tx-public-theme .stat b,body.tx-public-theme .feature b,body.tx-public-theme .feature-panel h3,body.tx-public-theme .studio-app-card h3{color:var(--tx-text)}
body.tx-public-theme .stat span,body.tx-public-theme .feature span,body.tx-public-theme .studio-app-card p,body.tx-public-theme .section-head>p{color:var(--tx-muted)}
body.tx-public-theme .studio-app-pill{background:var(--tx-raised);color:var(--tx-text)}
body.tx-public-theme .dev-note,body.tx-public-theme .cta{background:var(--tx-panel);color:var(--tx-text);border:1px solid var(--tx-hair)}
body.tx-public-theme .cta p{color:var(--tx-muted)}
body.tx-public-theme .studio-app-action{background:var(--tx-accent);color:var(--tx-on-accent)}
/* Service/legal content: retain accessible reading contrast */
body.legal-page.tx-public-theme{background:var(--tx-bg);color:var(--tx-text)}
body.legal-page.tx-public-theme .legal-header,body.legal-page.tx-public-theme .legal-footer{background:var(--tx-bg2);color:var(--tx-text);border-color:var(--tx-hair)}
body.legal-page.tx-public-theme .legal-shell,body.legal-page.tx-public-theme .legal-shell section,body.legal-page.tx-public-theme .legal-contact{background:var(--tx-panel);border-color:var(--tx-hair);color:var(--tx-text)}
body.legal-page.tx-public-theme .legal-shell :is(h1,h2,p){color:var(--tx-text)}
body.legal-page.tx-public-theme .legal-updated,body.legal-page.tx-public-theme .legal-shell section p{color:var(--tx-muted)}
body.legal-page.tx-public-theme .legal-back{color:var(--tx-accent);border-color:var(--tx-hair)}
@media (prefers-reduced-motion:reduce){body.tx-public-theme *{scroll-behavior:auto}}
