/* ==========================================================================
   TITAN PLUS — Premium Typography & Color System
   Loaded after titan-plus.css to normalize legacy-theme leakage and keep
   typography/colors consistent across the complete public homepage.
   ========================================================================== */

:root {
    --tp-ink: #171a1f;
    --tp-text: #4f555d;
    --tp-muted: #727880;
    --tp-subtle: #92979d;
    --tp-line: rgba(31, 35, 40, .10);
    --tp-gold: #a7772e;
    --tp-gold-2: #c89f4e;
    --tp-gold-soft: #f2e3bd;
    --tp-cream: #fbf8f2;
    --tp-cream-2: #f6f0e5;
    --tp-dark: #15181c;
    --tp-dark-2: #24292f;
    --tp-white: #ffffff;
    --tp-display: clamp(60px, 6.4vw, 94px);
    --tp-h2: clamp(40px, 4.5vw, 64px);
    --tp-h3: 20px;
    --tp-body-lg: 17px;
    --tp-body: 15px;
    --tp-small: 13px;
    --tp-label: 11px;
}

body.titan-site,
body.titan-site .titan-home {
    color: var(--tp-ink) !important;
    font-family: "Segoe UI Variable", "Segoe UI", Arial, Helvetica, sans-serif !important;
}

body.titan-site .titan-hero-copy h1,
body.titan-site .titan-section-heading h2,
body.titan-site .titan-risk-head h2,
body.titan-site .titan-cta-copy h2 {
    font-family: Georgia, "Times New Roman", serif !important;
    color: var(--tp-ink) !important;
    font-weight: 500 !important;
    letter-spacing: -.045em !important;
}

body.titan-site .titan-hero-copy h1 {
    font-size: var(--tp-display) !important;
    line-height: .93 !important;
}

body.titan-site .titan-section-heading h2,
body.titan-site .titan-risk-head h2 {
    font-size: var(--tp-h2) !important;
    line-height: 1.02 !important;
}

body.titan-site .titan-cta-copy h2 {
    font-size: clamp(42px, 5vw, 62px) !important;
    line-height: 1 !important;
}

body.titan-site .titan-hero-copy h1 span,
body.titan-site .titan-section-heading h2 span,
body.titan-site .titan-risk-head h2 span {
    color: var(--tp-gold) !important;
}

body.titan-site .titan-eyebrow,
body.titan-site .titan-section-no,
body.titan-site .titan-terminal-kicker,
body.titan-site .titan-program-card-head small,
body.titan-site .titan-plan-heading > span {
    color: var(--tp-gold) !important;
    font-family: "Segoe UI Variable", "Segoe UI", Arial, sans-serif !important;
    font-size: var(--tp-label) !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    letter-spacing: .16em !important;
    text-transform: uppercase !important;
}

body.titan-site .titan-hero-lead,
body.titan-site .titan-section-heading > p,
body.titan-site .titan-section-heading-split > p {
    color: var(--tp-text) !important;
    font-family: "Segoe UI Variable", "Segoe UI", Arial, sans-serif !important;
    font-size: var(--tp-body-lg) !important;
    font-weight: 400 !important;
    line-height: 1.75 !important;
}

body.titan-site .titan-hero-note,
body.titan-site .titan-inline-disclaimer p,
body.titan-site .titan-reference-banner span,
body.titan-site .titan-transparency-note p,
body.titan-site .titan-footer-risk p {
    color: var(--tp-muted) !important;
    font-size: var(--tp-small) !important;
    line-height: 1.7 !important;
}

body.titan-site .titan-brand-copy strong {
    color: var(--tp-ink) !important;
    font-size: 30px !important;
    font-weight: 700 !important;
    letter-spacing: -.045em !important;
}

body.titan-site .titan-brand-copy strong span {
    color: var(--tp-gold) !important;
    font-weight: 500 !important;
}

body.titan-site .titan-brand-copy small {
    color: #80796e !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    letter-spacing: .16em !important;
}

body.titan-site .titan-nav a {
    color: #30343a !important;
    font-size: 14px !important;
    font-weight: 700 !important;
}

body.titan-site .titan-nav a:hover,
body.titan-site .titan-nav a.titan-nav-active {
    color: var(--tp-gold) !important;
}

body.titan-site .titan-btn {
    font-size: 14px !important;
    font-weight: 800 !important;
}

body.titan-site .titan-terminal-top strong {
    color: var(--tp-ink) !important;
    font-size: 32px !important;
    font-weight: 600 !important;
    letter-spacing: -.02em !important;
}

body.titan-site .titan-status-pill {
    color: #6f5528 !important;
    font-size: 11px !important;
    font-weight: 800 !important;
}

body.titan-site .titan-chart-signal {
    color: #f1d482 !important;
    font-size: 11px !important;
    font-weight: 800 !important;
}

body.titan-site .titan-terminal-flow strong {
    color: var(--tp-ink) !important;
    font-size: 13px !important;
    font-weight: 800 !important;
}

body.titan-site .titan-terminal-flow small {
    color: var(--tp-muted) !important;
    font-size: 11px !important;
}

body.titan-site .titan-terminal-flow > div > span {
    color: var(--tp-gold) !important;
    font-size: 11px !important;
    font-weight: 900 !important;
}

body.titan-site .titan-floating-card strong,
body.titan-site .titan-principles-strip strong {
    color: var(--tp-ink) !important;
    font-size: 14px !important;
    font-weight: 800 !important;
}

body.titan-site .titan-floating-card small,
body.titan-site .titan-principles-strip small {
    color: var(--tp-muted) !important;
    font-size: 12px !important;
    line-height: 1.5 !important;
}

body.titan-site .titan-pillar-card h3,
body.titan-site .titan-process-card h3,
body.titan-site .titan-engine-step h3,
body.titan-site .titan-program-card-head h3,
body.titan-site .titan-withdrawal-grid h3 {
    color: var(--tp-ink) !important;
    font-family: "Segoe UI Variable", "Segoe UI", Arial, sans-serif !important;
    font-size: var(--tp-h3) !important;
    font-weight: 750 !important;
    line-height: 1.25 !important;
    letter-spacing: -.015em !important;
}

body.titan-site .titan-pillar-card p,
body.titan-site .titan-process-card p,
body.titan-site .titan-engine-copy-grid p,
body.titan-site .titan-withdrawal-grid p,
body.titan-site .titan-faq-item p,
body.titan-site .titan-program-note,
body.titan-site .titan-unlock-note {
    color: var(--tp-text) !important;
    font-size: var(--tp-body) !important;
    font-weight: 400 !important;
    line-height: 1.7 !important;
}

body.titan-site .titan-process-card small {
    color: var(--tp-muted) !important;
    font-size: 12px !important;
    line-height: 1.55 !important;
}

body.titan-site .titan-pillar-card-dark h3,
body.titan-site .titan-process-card-dark h3,
body.titan-site .titan-program-card-dark h3,
body.titan-site .titan-engine-step-dark h3,
body.titan-site .titan-transparency-flow > div.active strong {
    color: #ffffff !important;
}

body.titan-site .titan-pillar-card-dark p,
body.titan-site .titan-process-card-dark p,
body.titan-site .titan-process-card-dark small,
body.titan-site .titan-program-card-dark .titan-program-note,
body.titan-site .titan-engine-step-dark p,
body.titan-site .titan-transparency-flow > div.active small {
    color: #c8cbd0 !important;
}

body.titan-site .titan-pillar-index {
    color: rgba(167, 119, 46, .56) !important;
    font-size: 30px !important;
    font-weight: 700 !important;
}

body.titan-site .titan-engine-step > span {
    color: var(--tp-gold) !important;
    font-size: 11px !important;
    font-weight: 900 !important;
}

body.titan-site .titan-engine-step > i {
    color: var(--tp-gold) !important;
}

body.titan-site .titan-engine-step p {
    color: var(--tp-muted) !important;
    font-size: 13px !important;
    font-weight: 600 !important;
}

body.titan-site .titan-engine-step-dark > i {
    color: var(--tp-dark) !important;
}

body.titan-site .titan-process-top > span {
    color: var(--tp-gold) !important;
    font-family: Georgia, "Times New Roman", serif !important;
    font-size: 30px !important;
    font-weight: 500 !important;
}

body.titan-site .titan-reference-banner strong {
    color: var(--tp-ink) !important;
    font-size: 15px !important;
    font-weight: 800 !important;
}

body.titan-site .titan-plan-heading strong {
    color: var(--tp-ink) !important;
    font-family: Georgia, "Times New Roman", serif !important;
    font-size: 58px !important;
    font-weight: 500 !important;
    line-height: 1 !important;
}

body.titan-site .titan-plan-heading small {
    color: var(--tp-muted) !important;
    font-size: 13px !important;
}

body.titan-site .titan-plan-row span {
    color: var(--tp-muted) !important;
    font-size: 13px !important;
}

body.titan-site .titan-plan-row strong {
    color: var(--tp-ink) !important;
    font-size: 16px !important;
    font-weight: 800 !important;
}

body.titan-site .titan-plan-row small {
    color: var(--tp-subtle) !important;
    font-size: 11px !important;
}

body.titan-site .titan-plan-return {
    background: linear-gradient(145deg, var(--tp-dark) 0%, var(--tp-dark-2) 100%) !important;
    border-color: rgba(255,255,255,.06) !important;
}

body.titan-site .titan-plan-return span {
    color: #d9dbe0 !important;
    font-size: 11px !important;
    font-weight: 700 !important;
}

body.titan-site .titan-plan-return strong {
    color: #e4c56f !important;
    font-family: Georgia, "Times New Roman", serif !important;
    font-size: 34px !important;
    font-weight: 500 !important;
}

body.titan-site .titan-plan-return small {
    color: #b7bbc0 !important;
    font-size: 11px !important;
}

body.titan-site .titan-plan-footnote strong {
    color: var(--tp-ink) !important;
    font-size: 14px !important;
    font-weight: 800 !important;
}

body.titan-site .titan-plan-footnote small {
    color: var(--tp-muted) !important;
    font-size: 12px !important;
}

body.titan-site .titan-self-min span,
body.titan-site .titan-fee-split span,
body.titan-site .titan-split-bars span {
    color: var(--tp-text) !important;
    font-size: 13px !important;
    font-weight: 700 !important;
}

body.titan-site .titan-self-min strong {
    color: var(--tp-gold) !important;
    font-size: 48px !important;
}

body.titan-site .titan-self-levels strong {
    color: var(--tp-ink) !important;
    font-size: 14px !important;
    font-weight: 800 !important;
}

body.titan-site .titan-self-levels span {
    color: var(--tp-muted) !important;
    font-size: 12px !important;
    line-height: 1.55 !important;
}

body.titan-site .titan-self-levels .active strong {
    color: #f1d586 !important;
}

body.titan-site .titan-self-levels .active span {
    color: #c8cbd0 !important;
}

body.titan-site .titan-fee-split strong {
    font-size: 38px !important;
}

body.titan-site .titan-fee-split .community span,
body.titan-site .titan-fee-split .community small {
    color: #503b18 !important;
}

body.titan-site .titan-fee-split .company span,
body.titan-site .titan-fee-split .company small {
    color: #e3e5e7 !important;
}

body.titan-site .titan-fee-split small {
    font-size: 11px !important;
}

body.titan-site .titan-level-chips span {
    color: var(--tp-text) !important;
    font-size: 12px !important;
}

body.titan-site .titan-level-chips b {
    color: var(--tp-gold) !important;
    font-size: 11px !important;
    font-weight: 900 !important;
}

body.titan-site .titan-level-chips-dark span {
    color: #e5e7ea !important;
}

body.titan-site .titan-level-chips-dark b {
    color: #e4c56f !important;
}

body.titan-site .titan-split-bars strong {
    color: var(--tp-ink) !important;
    font-size: 13px !important;
    font-weight: 800 !important;
}

body.titan-site .titan-formula {
    color: #d9dde0 !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
}

body.titan-site .titan-formula b {
    color: #e4c56f !important;
}

body.titan-site .titan-unlock-list span {
    color: var(--tp-muted) !important;
    font-size: 11px !important;
}

body.titan-site .titan-unlock-list strong {
    color: var(--tp-ink) !important;
    font-size: 12px !important;
    font-weight: 800 !important;
}

body.titan-site .titan-unlock-list .active span {
    color: #c8cbd0 !important;
}

body.titan-site .titan-unlock-list .active strong {
    color: #f0d380 !important;
}

body.titan-site .titan-rank-heading h3,
body.titan-site .titan-ceiling-copy h3 {
    color: var(--tp-ink) !important;
    font-family: Georgia, "Times New Roman", serif !important;
    font-size: 34px !important;
    font-weight: 500 !important;
    line-height: 1.1 !important;
}

body.titan-site .titan-rank-heading p,
body.titan-site .titan-ceiling-copy p {
    color: var(--tp-text) !important;
    font-size: 14px !important;
    line-height: 1.7 !important;
}

body.titan-site .titan-rank-table th {
    color: #f3d985 !important;
    font-size: 12px !important;
    font-weight: 800 !important;
}

body.titan-site .titan-rank-table td {
    color: var(--tp-text) !important;
    font-size: 13px !important;
}

body.titan-site .titan-rank-table td:first-child {
    color: var(--tp-ink) !important;
}

body.titan-site .titan-rank-table td:last-child {
    color: var(--tp-gold) !important;
    font-size: 14px !important;
}

body.titan-site .titan-rank-table small {
    color: var(--tp-muted) !important;
    font-size: 11px !important;
}

body.titan-site .titan-ceiling-cards strong {
    color: var(--tp-gold) !important;
    font-size: 38px !important;
}

body.titan-site .titan-ceiling-cards span {
    color: var(--tp-text) !important;
    font-size: 12px !important;
    font-weight: 800 !important;
}

body.titan-site .titan-ceiling-cards .active strong,
body.titan-site .titan-ceiling-cards .active span {
    color: #ffffff !important;
}

body.titan-site .titan-ceiling-note {
    color: #c8cbd0 !important;
    font-size: 12px !important;
    line-height: 1.6 !important;
}

body.titan-site .titan-transparency-flow > div > span {
    color: var(--tp-gold) !important;
    font-size: 10px !important;
    font-weight: 900 !important;
}

body.titan-site .titan-transparency-flow strong {
    color: var(--tp-ink) !important;
    font-size: 14px !important;
    font-weight: 800 !important;
}

body.titan-site .titan-transparency-flow small {
    color: var(--tp-muted) !important;
    font-size: 12px !important;
}

body.titan-site .titan-withdrawal-grid article > strong {
    color: var(--tp-gold) !important;
    font-size: 32px !important;
    font-weight: 500 !important;
}

body.titan-site .titan-withdrawal-banner {
    color: #d9dde0 !important;
    font-size: 13px !important;
    line-height: 1.6 !important;
}

body.titan-site .titan-faq-item summary span {
    color: var(--tp-ink) !important;
        color: #ffffff !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    line-height: 1.45 !important;
}

body.titan-site .titan-risk-content p {
    color: var(--tp-text) !important;
    font-size: 14px !important;
    line-height: 1.75 !important;
}

body.titan-site .titan-risk-content strong {
    color: var(--tp-ink) !important;
}

body.titan-site .titan-risk-content .titan-risk-emphasis {
    color: var(--tp-ink) !important;
    color: #f9f9f9 !important;
    font-weight: 800 !important;
}

body.titan-site .titan-risk-foot {
    color: #d5d9dd !important;
    font-size: 12px !important;
    line-height: 1.6 !important;
}

body.titan-site .titan-cta-copy .titan-section-no {
    color: #e0c16b !important;
}

body.titan-site .titan-cta-copy h2 {
    color: #ffffff !important;
}

body.titan-site .titan-cta-copy p {
    color: #c9cdd1 !important;
    font-size: 15px !important;
    line-height: 1.7 !important;
}

body.titan-site .titan-footer-brand-col > p {
    color: var(--tp-text) !important;
    font-size: 14px !important;
    line-height: 1.75 !important;
}

body.titan-site .titan-footer-pill-row span {
    color: #765822 !important;
    font-size: 10px !important;
    font-weight: 800 !important;
}

body.titan-site .titan-footer-links h3 {
    color: var(--tp-ink) !important;
    font-size: 12px !important;
    font-weight: 900 !important;
}

body.titan-site .titan-footer-links a {
    color: var(--tp-text) !important;
    font-size: 13px !important;
    line-height: 1.5 !important;
}

body.titan-site .titan-footer-bottom {
    color: var(--tp-muted) !important;
    font-size: 12px !important;
}

body.titan-site .titan-footer-bottom em {
    color: var(--tp-subtle) !important;
}

body.titan-site .titan-pillar-card:not(.titan-pillar-card-dark),
body.titan-site .titan-process-card:not(.titan-process-card-dark),
body.titan-site .titan-program-card:not(.titan-program-card-dark),
body.titan-site .titan-plan-card,
body.titan-site .titan-withdrawal-grid article,
body.titan-site .titan-faq-item,
body.titan-site .titan-risk-card {
    color: var(--tp-ink) !important;
}

body.titan-site .titan-home p,
body.titan-site .titan-home small,
body.titan-site .titan-home span,
body.titan-site .titan-home strong,
body.titan-site .titan-home h1,
body.titan-site .titan-home h2,
body.titan-site .titan-home h3,
body.titan-site .titan-home h4 {
    opacity: 1;
}

@media (max-width: 992px) {
    :root {
        --tp-display: clamp(54px, 8vw, 78px);
        --tp-h2: clamp(38px, 6vw, 56px);
    }
}

@media (max-width: 768px) {
    :root {
        --tp-display: clamp(46px, 12vw, 66px);
        --tp-h2: clamp(34px, 9vw, 48px);
        --tp-h3: 18px;
        --tp-body-lg: 16px;
        --tp-body: 14px;
        --tp-small: 12px;
    }

    body.titan-site .titan-brand-copy strong {
        font-size: 23px !important;
    }

    body.titan-site .titan-plan-heading strong {
        font-size: 50px !important;
    }

    body.titan-site .titan-rank-heading h3,
    body.titan-site .titan-ceiling-copy h3 {
        font-size: 30px !important;
    }
}

@media (max-width: 480px) {
    :root {
        --tp-display: clamp(40px, 12.5vw, 54px);
        --tp-h2: clamp(31px, 9.5vw, 42px);
        --tp-h3: 17px;
        --tp-body-lg: 15px;
        --tp-body: 14px;
    }

    body.titan-site .titan-terminal-top strong {
        font-size: 25px !important;
    }

    body.titan-site .titan-plan-heading strong {
        font-size: 46px !important;
    }

    body.titan-site .titan-footer-links a {
        font-size: 13px !important;
    }
}

/* Layout compensation for the larger, normalized type scale */
body.titan-site .titan-process-card {
    min-height: 340px !important;
    display: flex !important;
    flex-direction: column !important;
}

body.titan-site .titan-process-card .titan-process-top {
    margin-bottom: 36px !important;
}

body.titan-site .titan-process-card small {
    position: static !important;
    display: block !important;
    margin-top: auto !important;
    padding-top: 18px !important;
}

body.titan-site .titan-engine-step {
    min-height: 168px !important;
    padding: 20px 14px !important;
}

body.titan-site .titan-transparency-flow > div {
    min-height: 150px !important;
    padding: 24px 14px 18px !important;
}

body.titan-site .titan-level-chips span {
    min-height: 50px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 3px !important;
}

body.titan-site .titan-unlock-list > div {
    min-height: 102px !important;
}

body.titan-site .titan-plan-row {
    min-height: 54px !important;
}

body.titan-site .titan-footer-links {
    row-gap: 24px !important;
}

@media (max-width: 768px) {
    body.titan-site .titan-process-card {
        min-height: 300px !important;
    }
    body.titan-site .titan-engine-step {
        min-height: 150px !important;
    }
}

/* ========================================================================== 
   HERO LEGACY-CSS CONFLICT FIX
   The live project still loads old HomeST/Nakamoto styles. Some of those
   selectors can force #home/section backgrounds to dark. Keep this block LAST.
   ========================================================================== */
body.titan-site main#home.titan-home {
    background: #ffffff !important;
    color: var(--tp-ink) !important;
}

body.titan-site main#home.titan-home > section.titan-hero,
body.titan-site .titan-home > section.titan-hero,
body.titan-site section.titan-hero {
    position: relative !important;
    display: block !important;
    min-height: calc(100vh - 92px) !important;
    overflow: hidden !important;
    color: var(--tp-ink) !important;
    background:
        radial-gradient(circle at 84% 16%, rgba(205, 169, 86, .18) 0%, rgba(205, 169, 86, 0) 28%),
        radial-gradient(circle at 8% 86%, rgba(190, 143, 55, .08) 0%, rgba(190, 143, 55, 0) 30%),
        linear-gradient(180deg, #fffefb 0%, #fbf7ef 100%) !important;
}

/* Make sure the decorative layers never become a black overlay. */
body.titan-site .titan-hero .titan-hero-grid {
    background-color: transparent !important;
    background-image:
        linear-gradient(rgba(150, 112, 42, .055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(150, 112, 42, .055) 1px, transparent 1px) !important;
    opacity: .28 !important;
    pointer-events: none !important;
}

body.titan-site .titan-hero .titan-hero-orb {
    background: transparent !important;
    border-color: rgba(167, 119, 46, .14) !important;
    pointer-events: none !important;
}

/* Failsafe against old animation/reveal rules hiding the whole hero content. */
body.titan-site .titan-hero [data-titan-reveal],
body.titan-site .titan-hero .titan-hero-copy,
body.titan-site .titan-hero .titan-hero-visual,
body.titan-site .titan-hero .titan-principles-strip {
    visibility: visible !important;
    opacity: 1 !important;
    transform: none !important;
}

body.titan-site .titan-hero .titan-hero-shell,
body.titan-site .titan-hero .titan-principles-strip {
    position: relative !important;
    z-index: 5 !important;
}

body.titan-site .titan-hero .titan-hero-copy h1 {
    color: var(--tp-ink) !important;
}

body.titan-site .titan-hero .titan-hero-copy h1 span {
    color: var(--tp-gold) !important;
}

body.titan-site .titan-hero .titan-hero-lead {
    color: var(--tp-text) !important;
}

body.titan-site .titan-hero .titan-hero-note {
    color: var(--tp-muted) !important;
}

body.titan-site .titan-hero .titan-terminal-card {
    background: linear-gradient(180deg, rgba(255,255,255,.98) 0%, rgba(250,246,237,.98) 100%) !important;
    color: var(--tp-ink) !important;
}

body.titan-site .titan-hero .titan-principles-strip {
    background: linear-gradient(180deg, rgba(255,255,255,.98) 0%, rgba(249,244,233,.98) 100%) !important;
    color: var(--tp-ink) !important;
}

@media (max-width: 992px) {
    body.titan-site main#home.titan-home > section.titan-hero,
    body.titan-site section.titan-hero {
        min-height: auto !important;
    }
}
