/* ============================================
   X TOMORROW — Brand stylesheet
   Multi-asset investment company
   ============================================ */

:root {
    --bg: #f7f4ee;
    --bg-card: #ffffff;
    --bg-dark: #0d0f12;
    --text: #0d0f12;
    --text-muted: #5a5d63;
    --text-light: #8b8e94;
    --accent: #c2a157;       /* warm gold for finance/asset feel */
    --accent-dark: #8b7340;
    --border: rgba(13, 15, 18, 0.10);
    --border-strong: rgba(13, 15, 18, 0.18);
    --shadow-card: 0 1px 2px rgba(13,15,18,0.04), 0 8px 24px rgba(13,15,18,0.06);
    --serif: 'Fraunces', 'Times New Roman', serif;
    --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
    font-family: var(--sans);
    background: var(--bg);
    color: var(--text);
    font-size: 16px;
    line-height: 1.6;
    font-weight: 400;
}

a { color: var(--text); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent-dark); }

.container { max-width: 1280px; margin: 0 auto; padding: 0 32px; }
.container-narrow { max-width: 880px; margin: 0 auto; padding: 0 32px; }

/* ===== Navigation ===== */
.nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(247, 244, 238, 0.92);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid var(--border);
}
.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
}
.logo {
    display: inline-flex;
    align-items: center;
    color: var(--text);
}
.logo-img {
    height: 34px;
    width: auto;
    display: block;
}
/* Use class="logo-img logo-img--white" with WhiteLOGO.png on dark backgrounds */
.logo-img--white { /* hook in case CSS needs to flip; kept for clarity */ }

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
    list-style: none;
}
.nav-links a {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.3px;
    color: var(--text-muted);
}
.nav-links a:hover { color: var(--text); }
.nav-cta {
    background: var(--text);
    color: #ffffff !important;
    padding: 11px 22px;
    border-radius: 999px;
    transition: background 0.2s, transform 0.2s;
}
.nav-cta:hover { background: var(--accent-dark); transform: translateY(-1px); }

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 999px;
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 0.4px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.2s;
    font-family: var(--sans);
    line-height: 1;
    gap: 8px;
}
.btn-primary { background: var(--text); color: #ffffff; }
.btn-primary:hover { background: var(--accent-dark); color: #ffffff; transform: translateY(-1px); }
.btn-secondary { background: transparent; color: var(--text); border-color: var(--border-strong); }
.btn-secondary:hover { border-color: var(--text); }

/* ===== Hero ===== */
.hero {
    padding: 100px 0 80px;
}
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 28px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--accent-dark);
}
.hero-eyebrow::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
}

.display-xl {
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(48px, 7vw, 96px);
    line-height: 1.02;
    letter-spacing: -0.025em;
    margin-bottom: 32px;
    color: var(--text);
}
.display-lg {
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(40px, 5.5vw, 64px);
    line-height: 1.08;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
    color: var(--text);
}
.display-md {
    font-family: var(--serif);
    font-weight: 500;
    font-size: clamp(32px, 4vw, 44px);
    line-height: 1.15;
    letter-spacing: -0.015em;
    margin-bottom: 20px;
}
.display-sm {
    font-family: var(--serif);
    font-weight: 500;
    font-size: 28px;
    line-height: 1.2;
    letter-spacing: -0.01em;
    margin-bottom: 16px;
}
em {
    font-style: italic;
    font-weight: 400;
    color: var(--accent-dark);
}

.lede {
    font-size: 19px;
    line-height: 1.6;
    color: var(--text-muted);
    max-width: 720px;
    margin-bottom: 40px;
    font-weight: 400;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* ===== Sections ===== */
.section { padding: 96px 0; }
.section-dark {
    background: var(--bg-dark);
    color: #ffffff;
}
.section-dark .display-md,
.section-dark .display-lg,
.section-dark .display-xl { color: #ffffff; }
.section-dark em { color: var(--accent); }
.section-dark .lede { color: rgba(255,255,255,0.7); }

.eyebrow {
    display: inline-block;
    margin-bottom: 16px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--accent-dark);
}
.section-dark .eyebrow { color: var(--accent); }

/* ===== Asset class cards ===== */
.asset-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 48px;
}
.asset-card {
    padding: 36px 32px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 4px;
    transition: all 0.25s;
}
.asset-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
    border-color: var(--border-strong);
}
.asset-card-icon {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--accent-dark);
}
.asset-card-icon svg { width: 100%; height: 100%; }
.asset-card-title {
    font-family: var(--serif);
    font-size: 24px;
    font-weight: 500;
    letter-spacing: -0.01em;
    margin-bottom: 12px;
    color: var(--text);
}
.asset-card-body {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.65;
}

/* Section-dark variant */
.section-dark .asset-card {
    background: rgba(255,255,255,0.04);
    border-color: rgba(255,255,255,0.10);
}
.section-dark .asset-card-title { color: #ffffff; }
.section-dark .asset-card-body { color: rgba(255,255,255,0.65); }
.section-dark .asset-card-icon { color: var(--accent); }

/* ===== Pillars / 3-up rows ===== */
.pillars {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 56px;
    margin-top: 64px;
}
.pillar-num {
    font-family: var(--serif);
    font-style: italic;
    font-size: 28px;
    color: var(--accent-dark);
    margin-bottom: 16px;
}
.pillar-title {
    font-family: var(--serif);
    font-size: 22px;
    font-weight: 500;
    line-height: 1.3;
    margin-bottom: 12px;
}
.pillar-body {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.65;
}

/* ===== Stat cards (numbers) ===== */
.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 48px;
    margin-top: 64px;
    padding-top: 56px;
    border-top: 1px solid var(--border);
}
.section-dark .stats { border-top-color: rgba(255,255,255,0.10); }
.stat-num {
    font-family: var(--serif);
    font-size: 56px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
    color: var(--text);
}
.section-dark .stat-num { color: #ffffff; }
.stat-label {
    font-size: 13px;
    color: var(--text-muted);
    letter-spacing: 0.4px;
}
.section-dark .stat-label { color: rgba(255,255,255,0.6); }

/* ===== Footer ===== */
.footer {
    padding: 80px 0 40px;
    border-top: 1px solid var(--border);
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 56px;
}
.footer-brand .lede { font-size: 15px; margin-bottom: 24px; max-width: 380px; }
.footer-brand a[href^="mailto"],
.footer-brand a[href^="tel"] {
    color: var(--text);
    border-bottom: 1px solid rgba(13,15,18,0.18);
    transition: border-color 0.2s, color 0.2s;
}
.footer-brand a[href^="mailto"]:hover,
.footer-brand a[href^="tel"]:hover {
    color: var(--accent-dark);
    border-bottom-color: var(--accent);
}
.footer-col h4 {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 18px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a {
    color: var(--text-muted);
    font-size: 14px;
}
.footer-col a:hover { color: var(--text); }
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 32px;
    border-top: 1px solid var(--border);
    font-size: 12px;
    color: var(--text-light);
    letter-spacing: 0.3px;
}

@media (max-width: 768px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .nav-links { gap: 20px; }
    .nav-links a:not(.nav-cta) { display: none; }
    .container { padding: 0 24px; }
    .section { padding: 64px 0; }
    .hero { padding: 64px 0 56px; }
}

/* ===== Disclosure banner ===== */
.disclosure {
    padding: 28px 0;
    background: rgba(13,15,18,0.03);
    border-top: 1px solid var(--border);
    font-size: 12px;
    line-height: 1.6;
    color: var(--text-light);
}
