// Lucy AI design tokens — institutional, editorial, calm

const COPY = {
  vn: {
    // Landing
    badge: "Giải pháp dành cho Nhà Đầu Tư Tinh Hoa",
    landingTitle: "Cấu Trúc\nDanh Mục\nChiến Lược",
    landingSub: "Đánh giá rủi ro, phân bổ tài sản và tối ưu tỷ suất lợi nhuận dựa trên bối cảnh vĩ mô Việt Nam.",
    cta: "Bắt Đầu Đánh Giá",
    ctaSub: "Chỉ mất 2 phút. Dữ liệu của anh/chị được bảo mật tuyệt đối.",
    feat1Title: "Chuyên gia CFA charterholder",
    feat1Body: "Chuyên thị trường VN",
    feat2Title: "Tối ưu hiệu quả",
    feat2Body: "So sánh với benchmark thị trường",
    feat3Title: "Kiểm toán độc lập",
    feat3Body: "Minh bạch hoàn toàn",
    // Contact
    contactKicker: "Bước 01",
    contactTitle: "Lucy AI\nxin chào",
    contactSub: "",
    nameLabel: "Họ và tên",
    namePh: "Nguyễn Văn A",
    phoneLabel: "Số điện thoại / Zalo",
    phonePh: "+84 ···· ··· ···",
    consent: "Tôi đồng ý với các điều khoản và điều kiện.",
    next: "Tiếp tục",
    back: "Quay lại",
    // Allocation
    allocKicker: "Bước 02 — Phân bổ tài sản",
    allocTitle: "Danh mục\nhiện tại",
    allocSub: "Kéo để chỉnh tỷ trọng. Tổng phải bằng 100%.",
    allocTotal: "Tổng tỷ trọng",
    allocLeft: "Còn lại",
    allocBalanced: "Đã cân bằng",
    bank: "Tiền gửi ngân hàng",
    realEstate: "Bất động sản",
    stocks: "Cổ phiếu",
    bonds: "Trái phiếu",
    gold: "Vàng & kim loại quý",
    crypto: "Tài sản số",
    cash: "Tiền mặt",
    // Goals
    goalsKicker: "Bước 03 — Mục tiêu",
    goalsTitle: "Mục tiêu\ntài chính",
    goalsSub: "Chọn 1 đến 3 mục tiêu quan trọng nhất với anh/chị.",
    goal1Title: "Tăng trưởng cao",
    goal1Body: "Chấp nhận biến động để tối đa hoá lợi nhuận dài hạn",
    goal2Title: "Bảo toàn vốn",
    goal2Body: "Ưu tiên giữ giá trị tài sản, chống lạm phát",
    goal3Title: "Thu nhập thụ động",
    goal3Body: "Dòng tiền ổn định từ cổ tức, lãi suất, cho thuê",
    goal4Title: "Hưu trí an nhàn",
    goal4Body: "Tích luỹ cho 20–30 năm về sau",
    goal5Title: "Tài chính cho con",
    goal5Body: "Học vấn, an cư, tài sản kế thừa",
    goal6Title: "Tự do tài chính",
    goal6Body: "Đạt mức không phụ thuộc thu nhập chủ động",
    selected: "Đã chọn",
    analyze: "Phân tích",
    // Processing
    procKicker: "Đang xử lý",
    procTitle: "Lucy đang\nphân tích",
    procSub: "Quá trình này thường mất 10–15 giây.",
    proc1: "Đọc dữ liệu phân bổ",
    proc2: "Đối chiếu với chỉ số thị trường",
    proc3: "Tính toán Điểm Hiệu Quả Tài Sản",
    proc4: "Soạn nhận định cá nhân hoá",
    // Report
    reportKicker: "Báo cáo cá nhân",
    reportTitle: "Điểm Hiệu Quả\nTài Sản",
    reportFor: "Báo cáo cho",
    overall: "Điểm tổng",
    overallLabel: "Điểm Hiệu Quả Tài Sản",
    grade: "Xếp loại",
    of100: "trên 100",
    inflation: "Chống lạm phát",
    diversification: "Đa dạng hoá",
    liquidity: "Thanh khoản",
    goalAlign: "Phù hợp mục tiêu",
    aiCommentary: "Nhận định từ Lucy",
    quote: "Danh mục của anh/chị đang nghiêng về tài sản phòng thủ. Cân nhắc tăng tỷ trọng cổ phiếu blue-chip lên 25–30% để cải thiện hiệu suất dài hạn mà không làm tăng đáng kể rủi ro.",
    benchmark: "So với benchmark",
    yourAlloc: "Phân bổ của anh/chị",
    suggested: "Đề xuất từ Lucy",
    actions: "Hành động đề xuất",
    action1: "Giảm tỷ trọng tiền gửi xuống 25%",
    action2: "Mở vị thế cổ phiếu blue-chip 25%",
    action3: "Bổ sung trái phiếu doanh nghiệp 10%",
    download: "Tải báo cáo PDF",
    consult: "Đặt lịch tư vấn",
    restart: "Làm lại",
    simTitle: "Mô phỏng tài sản sau 5 năm",
    simSub: "So sánh phương án hiện tại và phương án tối ưu bởi Lucy (giả định vốn 5 Tỷ VNĐ)",
    simCurrent: "Danh mục hiện tại",
    simLucy: "Phương án Lucy",
    simYear: "Năm",
    oppCostLabel: "Chi phí cơ hội bị bỏ lỡ",
    oppCostBody: "Nếu không tối ưu danh mục ngay hôm nay.",
    optimizeWithLucy: "Bạn Đang Bỏ Lỡ Điều Gì",
    deepKicker: "Phân tích chuyên sâu",
    deepTitle: "Lucy đang tối ưu\ndanh mục của anh/chị",
    deepSub: "Phân tích đa lớp dựa trên dữ liệu vĩ mô, lịch sử thị trường và mục tiêu cá nhân.",
    deep1: "Quét 142 chỉ số vĩ mô Việt Nam",
    deep2: "Đối chiếu 8.400 danh mục cùng phân khúc",
    deep3: "Mô phỏng Monte Carlo · 10.000 kịch bản",
    deep4: "Tối ưu Markowitz · biên hiệu quả",
    deep5: "Soạn báo cáo chuyên sâu",
    deepReportTitle: "Báo Cáo\nChuyên Sâu",
    deepReportKicker: "Phân tích đầy đủ — Lucy AI",
    metricStrengths: "Điểm mạnh",
    metricWeaknesses: "Điểm cần cải thiện",
    metricRisks: "Rủi ro phát hiện",
    sectionMacro: "Bối cảnh vĩ mô",
    sectionPortfolio: "Danh mục đề xuất",
    sectionRoadmap: "Lộ trình triển khai",
    sectionRisk: "Phân tích rủi ro",
    sectionDisclaimer: "Lưu ý quan trọng",
    macroBody: "GDP Việt Nam 2026 dự báo +6.4%. Lạm phát neo quanh 3.8%. Lãi suất điều hành đang trong chu kỳ giảm — môi trường thuận lợi cho cổ phiếu blue-chip và trái phiếu doanh nghiệp chất lượng cao.",
    disclaimerBody: "Báo cáo này mang tính tham khảo, không phải khuyến nghị đầu tư cá nhân. Dữ liệu thị trường có thể thay đổi. Lucy AI là công cụ hỗ trợ — quyết định đầu tư cuối cùng thuộc về anh/chị.",
    expRet: "Lợi nhuận kỳ vọng",
    expVol: "Biến động dự kiến",
    expSharpe: "Sharpe ratio",
    expMaxDD: "Mức giảm tối đa",
    yearLabel: "năm",
    perYearLabel: "/năm",
    bookConsult: "Đặt lịch tư vấn 1-1",
    sendReport: "Gửi báo cáo về Zalo",
  },
  en: {
    badge: "Built for Sophisticated Investors",
    landingTitle: "A Diagnostic\nfor Your\nWealth",
    landingSub: "Risk assessment, asset allocation and yield optimisation calibrated to Vietnam's macro context.",
    cta: "Begin Assessment",
    ctaSub: "Two minutes. Your data is held in strict confidence.",
    feat1Title: "Deep analysis",
    feat1Body: "Surface portfolio strengths and gaps",
    feat2Title: "Performance",
    feat2Body: "Benchmarked against the market",
    feat3Title: "Strategic guidance",
    feat3Body: "Allocation suggestions from Lucy",
    contactKicker: "Step 01 — Identity",
    contactTitle: "Before\nwe begin",
    contactSub: "Lucy will deliver your personalised report to your phone after completion.",
    nameLabel: "Full name",
    namePh: "Jane Nguyen",
    phoneLabel: "Phone / Zalo",
    phonePh: "+84 ···· ··· ···",
    consent: "I consent to Lucy using this data to generate a personalised report.",
    next: "Continue",
    back: "Back",
    allocKicker: "Step 02 — Allocation",
    allocTitle: "Current\nportfolio",
    allocSub: "Drag to adjust. The total must equal 100%.",
    allocTotal: "Total weight",
    allocLeft: "Remaining",
    allocBalanced: "Balanced",
    bank: "Bank deposits",
    realEstate: "Real estate",
    stocks: "Equities",
    bonds: "Bonds",
    gold: "Gold & precious metals",
    crypto: "Digital assets",
    cash: "Cash",
    goalsKicker: "Step 03 — Goals",
    goalsTitle: "Financial\nobjectives",
    goalsSub: "Pick the one to three goals that matter most to you.",
    goal1Title: "High growth",
    goal1Body: "Accept volatility to maximise long-term returns",
    goal2Title: "Preservation",
    goal2Body: "Hold value, defend against inflation",
    goal3Title: "Passive income",
    goal3Body: "Steady cash flow from dividends, interest, rent",
    goal4Title: "Comfortable retirement",
    goal4Body: "Compound for 20–30 years out",
    goal5Title: "For my children",
    goal5Body: "Education, housing, inheritance",
    goal6Title: "Financial freedom",
    goal6Body: "Be independent of active income",
    selected: "Selected",
    analyze: "Analyse",
    procKicker: "Processing",
    procTitle: "Lucy is\nanalysing",
    procSub: "This usually takes 10–15 seconds.",
    proc1: "Reading allocation data",
    proc2: "Comparing to market benchmarks",
    proc3: "Computing wealth score",
    proc4: "Drafting personalised commentary",
    reportKicker: "Personal report",
    reportTitle: "Portfolio\nDiagnostic",
    reportFor: "Prepared for",
    overall: "Overall",
    overallLabel: "Wealth health score",
    grade: "Grade",
    of100: "out of 100",
    inflation: "Inflation hedge",
    diversification: "Diversification",
    liquidity: "Liquidity",
    goalAlign: "Goal alignment",
    aiCommentary: "Lucy's commentary",
    quote: "Your portfolio leans defensive. Consider lifting blue-chip equity exposure to 25–30% to improve long-term performance without materially increasing risk.",
    benchmark: "Versus benchmark",
    yourAlloc: "Your allocation",
    suggested: "Lucy's suggestion",
    actions: "Recommended actions",
    action1: "Reduce bank deposits to 25%",
    action2: "Open blue-chip equity position 25%",
    action3: "Add corporate bonds 10%",
    download: "Download PDF report",
    consult: "Book a consultation",
    restart: "Start over",
    simTitle: "5-year asset simulation",
    simSub: "Compare your current path with Lucy's optimised path (assuming 5 Bn VND capital)",
    simCurrent: "Current portfolio",
    simLucy: "Lucy's path",
    simYear: "Year",
    oppCostLabel: "Opportunity cost foregone",
    oppCostBody: "If you don't optimise your portfolio today.",
    optimizeWithLucy: "Optimise with Lucy",
    deepKicker: "Deep analysis",
    deepTitle: "Lucy is optimising\nyour portfolio",
    deepSub: "Multi-layer analysis across macro data, market history and your personal objectives.",
    deep1: "Scanning 142 Vietnam macro indicators",
    deep2: "Benchmarking against 8,400 peer portfolios",
    deep3: "Monte Carlo simulation · 10,000 paths",
    deep4: "Markowitz optimisation · efficient frontier",
    deep5: "Drafting the deep report",
    deepReportTitle: "Deep\nReport",
    deepReportKicker: "Full analysis — Lucy AI",
    metricStrengths: "Strengths",
    metricWeaknesses: "To improve",
    metricRisks: "Risks detected",
    sectionMacro: "Macro context",
    sectionPortfolio: "Suggested portfolio",
    sectionRoadmap: "Implementation roadmap",
    sectionRisk: "Risk analysis",
    sectionDisclaimer: "Important notice",
    macroBody: "Vietnam GDP 2026 is projected at +6.4%. Inflation anchored near 3.8%. The policy rate is in a cutting cycle — a favourable environment for blue-chip equities and high-grade corporate bonds.",
    disclaimerBody: "This report is informational, not a personal investment recommendation. Market data may change. Lucy AI is a decision-support tool — the final call is yours.",
    expRet: "Expected return",
    expVol: "Expected volatility",
    expSharpe: "Sharpe ratio",
    expMaxDD: "Max drawdown",
    yearLabel: "yr",
    perYearLabel: "/yr",
    bookConsult: "Book a 1-1 consultation",
    sendReport: "Send report to Zalo",
  },
};

// Accent palettes — preserve gold; option B from question is curated palette
const ACCENTS = {
  classic:  { name: "Editorial gold", primary: "#C8A84B", primarySoft: "rgba(200,168,75,0.12)", primaryGlow: "rgba(200,168,75,0.25)", chart: ["#C8A84B", "#6B8E9E", "#A66B5C", "#7A8471", "#3A4556", "#8B7BA3"] },
  ivory:    { name: "Ivory", primary: "#E8DCB8", primarySoft: "rgba(232,220,184,0.14)", primaryGlow: "rgba(232,220,184,0.2)", chart: ["#E8DCB8", "#94A8B4", "#B89888", "#8FA38F", "#5A6878", "#A89BB8"] },
  copper:   { name: "Copper", primary: "#B8825A", primarySoft: "rgba(184,130,90,0.12)", primaryGlow: "rgba(184,130,90,0.25)", chart: ["#B8825A", "#6B8E9E", "#7A8471", "#A66B5C", "#3A4556", "#8B7BA3"] },
  sage:     { name: "Sage", primary: "#8FA88E", primarySoft: "rgba(143,168,142,0.14)", primaryGlow: "rgba(143,168,142,0.25)", chart: ["#8FA88E", "#C8A84B", "#6B8E9E", "#A66B5C", "#3A4556", "#8B7BA3"] },
};

// Theme tokens
const THEMES = {
  dark: {
    bg: "#0B0F19",
    bgElev: "#11172A",
    bgElev2: "#172040",
    surface: "rgba(255,255,255,0.03)",
    surfaceStrong: "rgba(255,255,255,0.06)",
    border: "rgba(255,255,255,0.08)",
    borderStrong: "rgba(255,255,255,0.14)",
    text: "#F4F2EC",
    textDim: "#94A3B8",
    textMute: "#62748E",
    statusBar: true,
    grain: "rgba(255,255,255,0.015)",
  },
  light: {
    bg: "#F5F1E8",          // warm paper
    bgElev: "#FBF8F0",
    bgElev2: "#FFFEFB",
    surface: "rgba(11,15,25,0.025)",
    surfaceStrong: "rgba(11,15,25,0.05)",
    border: "rgba(11,15,25,0.08)",
    borderStrong: "rgba(11,15,25,0.16)",
    text: "#0B0F19",
    textDim: "#45556C",
    textMute: "#62748E",
    statusBar: false,
    grain: "rgba(11,15,25,0.02)",
  },
};

const FONTS = {
  fraunces: "'Fraunces', 'Times New Roman', serif",
  instrument: "'Instrument Serif', 'Times New Roman', serif",
  playfair: "'Playfair Display', 'Times New Roman', serif",
  dmserif: "'DM Serif Display', 'Times New Roman', serif",
  ui: "'Inter', -apple-system, system-ui, sans-serif",
};

Object.assign(window, { COPY, ACCENTS, THEMES, FONTS });
