// content-tiers.jsx — LIFE180 brand tokens + main pyramid content model.
// Config-driven per the master spec: nothing about tiers/streams is hardcoded
// into the components — they read from L180_DATA.

window.L180_BRAND = {
  cyan: "#1FC9E5",
  green: "#24CE62",
  navy: "#141415",
  navy2: "#0F0F10",
  ink: "#0A0A0B",
  // risk gradient (Conservative -> Aggressive)
  risk: ["#1FC9E5", "#24CE62", "#FBBF24", "#F97316", "#DC2626"],
  riskLabels: ["Conservative", "Conservative–Moderate", "Moderate", "Growth", "Aggressive"],
};

// Each tier: geometry (topW/botW for the trapezoid), positioning, tagline,
// and three streams. Each stream carries the three depth layers
// (website / funnel / agent) so the agent toggle can surface deeper content.
window.L180_TIERS = [
  {
    n: 5, name: "Tax & Legacy", positioning: "Efficiency, Protection & Heritage",
    tagline: "Build it, protect it, pass it on.",
    topW: 168, botW: 300,
    intro: "The M4 — the Millionaires' 4 Objectives: increase return, increase control, decrease risk, decrease tax exposure.",
    streams: [
      {
        name: "Tax Strategy", cta: "Run the Tax Diagnostic", funnelType: "diagnostic",
        one: "Stop donating to the IRS by accident — find the buckets quietly taxing your future.",
        website: "Three types of money, a 'tax bucket' diagnostic, and the most common mistakes — with a teaser snapshot PDF.",
        funnel: "Full tax-position diagnostic, Roth conversion ladder, asset-location strategy, income-shifting, DNA-specific considerations.",
        agent: "Custom tax-positioning analysis, multi-year projection modeling, CPA / tax-attorney coordination, and Tier 3 foundation-asset integration for tax-free income.",
      },
      {
        name: "Asset Protection", cta: "Map My Vulnerabilities", funnelType: "tool",
        one: "What you don't protect, you don't really own. See where you're exposed.",
        website: "What asset protection is and isn't, the basic toolbox, and a personal vulnerability map. Teaser PDF.",
        funnel: "State-specific exemptions, entity basics (LLC / S-corp / C-corp), layering, trust structures, and DNA-specific entity recommendations.",
        agent: "Custom roadmap, entity-formation strategy, attorney coordination, pre-litigation planning, and operating agreements.",
      },
      {
        name: "Estate & Legacy", cta: "Find My Legacy Gap", funnelType: "reflection",
        one: "Inheritance transfers money. Heritage transfers meaning. Build both.",
        website: "Inheritance vs. heritage, the basic toolbox (wills, trusts, beneficiaries, directives, POAs), and a legacy gap map.",
        funnel: "Revocable vs. irrevocable trusts, generation-skipping, beneficiary audits, spousal coordination, DNA-specific legacy considerations.",
        agent: "Full estate needs analysis, trust strategy, heritage planning (values transfer, family meetings, written legacy statements), and Legacy OS integration.",
      },
    ],
  },
  {
    n: 4, name: "Investor DNA", positioning: "How YOU Create Wealth", routing: true,
    tagline: "There is no universal best strategy — only what's aligned for YOU.",
    topW: 300, botW: 432,
    intro: "DNA tells you who you're wired to become. Current reality tells you what you need today. Strategy serves both.",
    streams: [
      {
        name: "The DNA Assessment", cta: "Discover My DNA", funnelType: "dna", isGateway: true,
        one: "The gateway. Find your primary DNA + secondary blend, then get routed to your path.",
        website: "A short signal-finder that hints at your wiring and points you toward the right path.",
        funnel: "The full DNA assessment — primary type, secondary blend, and your current operating reality.",
        agent: "Deep DNA profile saved to the Hub, with routing logic, lens-overlay playbooks, and conversation prompts for the agent.",
      },
      {
        name: "The $50K Self-Investment", cta: "See the Principle", funnelType: "reflection",
        one: "Before you deploy capital, become undeniably good at your path.",
        website: "Why the first and best investment is in your own capability — mentorship, training, certifications, deal flow.",
        funnel: "How to budget and sequence self-investment against your DNA path before scaling capital deployment.",
        agent: "Client-specific self-investment plan tied to their DNA path and opportunity pipeline.",
      },
      {
        name: "Reality Routing", cta: "Where Do I Live Today?", funnelType: "diagnostic",
        one: "DNA without matching reality? We serve you where you live — and honor where you're heading.",
        website: "How current circumstances shape the entry point, even when your DNA points somewhere bigger.",
        funnel: "Maps DNA against current reality into one of four paths and sets your sub-pyramid entry level.",
        agent: "Full path assignment with Path A–D logic, entry-level calibration, and foundation-asset framing for future leaps.",
      },
    ],
  },
  {
    n: 3, name: "Savings & Velocity", positioning: "Your Foundation Asset — Where Everything Gets Built",
    tagline: "The same dollar, doing more jobs.",
    topW: 432, botW: 564,
    intro: "Everyone needs the same foundation. What sits on top depends on your DNA.",
    streams: [
      {
        name: "The 6 Jobs of Money", cta: "See One Dollar, Six Jobs", funnelType: "tool",
        one: "Emergency, opportunity, volatility buffer, tax-free growth, protection, legacy — one dollar.",
        website: "Interactive: the same dollar doing one job traditionally vs. six jobs in a foundation asset, side by side.",
        funnel: "Each of the six jobs explored in depth and compared to its traditional single-job equivalent.",
        agent: "Client-specific modeling of the consolidation savings from making one dollar do six jobs.",
      },
      {
        name: "The Three Tests", cta: "Score My Accounts", funnelType: "diagnostic",
        one: "Liquidity, Use, Control. If you fail any one, it isn't really a foundation.",
        website: "A quick self-audit and visual scorecard across the three tests.",
        funnel: "Account-by-account review with education on how each test's relevance changes by life stage.",
        agent: "Full reposition strategy across accounts, with tax considerations.",
      },
      {
        name: "Velocity", cta: "Watch a Dollar Recycle", funnelType: "tool",
        one: "How often is your money working? One deploy vs. a recycled, 'and' asset.",
        website: "Interactive: one dollar deployed once vs. recycled — policy loans, collateralization, 'and' thinking.",
        funnel: "Velocity scenarios — RE downpayments, business capital, debt extinguishment — with mechanics education.",
        agent: "Custom velocity strategy tied to the client's DNA path and live opportunity pipeline.",
      },
    ],
  },
  {
    n: 2, name: "Foundational Floor", positioning: "Build the Floor Before the Ceiling",
    tagline: "Defense before offense.",
    topW: 564, botW: 696,
    intro: "You can't build wealth on a foundation that can be wiped out. Protect the engine before you push the gas.",
    streams: [
      {
        name: "Cash Flow Audit", cta: "Audit My Cash Flow", funnelType: "tool",
        one: "Find the money that's sleeping — and put it to work.",
        website: "Quick walkthrough: income, expenses, surplus/deficit, money working vs. sleeping. Visual breakdown + teaser PDF.",
        funnel: "Full cash-flow design, category-by-category review, leak-point identification, surplus deployment options.",
        agent: "HELM integration for ongoing tracking and optimization tied to the client's Tier 1 vision.",
      },
      {
        name: "Debt Alignment", cta: "Align My Debt", funnelType: "diagnostic",
        one: "Not all debt is bad. Sort yours into aligned, misaligned, neutral.",
        website: "Debt inventory with each item categorized aligned / misaligned / neutral, plus a summary report.",
        funnel: "Full debt analysis, payoff scenarios, restructuring, order-of-attention ranking, interest-cost projections.",
        agent: "Full restructuring strategy and modeling of debt-extinguishing scenarios using foundation assets.",
      },
      {
        name: "Protection Audit", cta: "Map My Gaps", funnelType: "diagnostic",
        one: "Life, disability, LTC, umbrella — a green / yellow / red gap map.",
        website: "Top protection categories, a short diagnostic per category, and a green/yellow/red gap map. Teaser PDF.",
        funnel: "Adds health/HSA strategy, business protection, coverage-adequacy modeling, and coverage-type education.",
        agent: "Full needs analysis using human-life-value methodology, carrier-specific recs, and underwriting pre-screening.",
      },
    ],
  },
  {
    n: 1, name: "Alignment Foundation", positioning: "Who Are You Becoming?",
    tagline: "Transformation precedes tactics.",
    topW: 696, botW: 828,
    intro: "Three streams, no fixed order — you gravitate to what pulls you in first.",
    streams: [
      {
        name: "Money Relationship", cta: "Take the Snapshot", funnelType: "diagnostic",
        one: "What's your real relationship with money? A short diagnostic + belief audit.",
        website: "A combined diagnostic + light belief audit + brief framing. Outputs a teaser 'Money Relationship Snapshot' PDF.",
        funnel: "Deeper diagnostic with a broader question set, expanded belief audit, scoring across dimensions.",
        agent: "Full 25–40 question assessment, deeper scoring, agent-facing report with conversation prompts, saved to the Hub.",
      },
      {
        name: "Vision & Values", cta: "Define My Vision", funnelType: "reflection",
        one: "What does 'enough' look like? Guided vision prompts + a values ranker.",
        website: "Guided vision prompts + values selector/ranker + brief framing. Outputs a 'Vision + Values Snapshot' PDF.",
        funnel: "Full vision and values exercise, lifestyle/legacy prompts, and 'what does enough look like.'",
        agent: "Full worksheet, a separate spousal version for alignment-gap comparison, and a written Vision Statement reviewed live.",
      },
      {
        name: "What's Holding You Back", cta: "Inventory My Beliefs", funnelType: "reflection",
        one: "'Debt is bad.' 'I missed my window.' Name the beliefs in the way.",
        website: "Short self-assessment + education on common limiting beliefs. Outputs a 'Belief Inventory' PDF.",
        funnel: "Full belief audit with an expanded education library.",
        agent: "Full belief audit, assignable education modules, and agent-side notes on how to address each belief.",
      },
    ],
  },
];
