/* ============================================================
   legal-content.jsx — Source text for the five TLI legal pages.
   Pulled verbatim from TLI_Legal_Documents.docx (draft 17 Jun 2026).
   Block grammar (consumed by legal.jsx <LegalPage/>):
     ["h2",   "Section title"]        → numbered section heading + TOC entry
     ["h3",   "Sub-heading"]
     ["p",    "paragraph text"]
     ["ul",   ["item", "item", …]]
     ["table",{ headers:[…], rows:[[…],…] }]
     ["callout", "Title", "body text"]  → bordered emphasis block
   ============================================================ */
(function () {
  const PRIVACY = {
    slug: "privacy",
    label: "Privacy Policy",
    eyebrow: "Legal · Privacy",
    title: "Privacy Policy",
    effective: "17 June 2026",
    updated: "17 June 2026",
    intro:
      "This Privacy Policy explains how Mermeagar International Limited (\u201cwe\u201d, \u201cus\u201d, \u201cour\u201d, or \u201cThe Long Investor\u201d) collects, uses, shares and protects personal data when you visit thelonginvestortli.com, subscribe to our services, join our community, or otherwise interact with us. It is written to comply with the EU General Data Protection Regulation (GDPR). Please read it together with our Cookie Policy and Terms of Service.",
    blocks: [
      ["h2", "1. Who we are (data controller)"],
      ["p", "The controller responsible for your personal data is Mermeagar International Limited, 9 Yew Abbey, Tinure, Louth, Ireland, company number 770395. You can contact us about privacy at tli.team@thelonginvestortli.com. We have not appointed a Data Protection Officer; you can raise any data-protection question using these contact details."],

      ["h2", "2. Scope of this policy"],
      ["p", "This policy applies to personal data we process about visitors to our website, subscribers to our paid services, members of our community (including Patreon), recipients of our communications, and people who contact us. It does not apply to third-party services we link to or partner with \u2014 including Plus500 \u2014 which operate under their own privacy policies."],

      ["h2", "3. The personal data we collect"],
      ["h3", "Information you give us"],
      ["ul", [
        "Account & subscription data \u2014 name, email address, username, password (stored hashed), and your subscription status, when you create an account or buy a subscription.",
        "Payment data \u2014 payments are handled by our payment processor, Patreon. We do not store full card numbers; we receive limited details such as the last four digits, card type and transaction status.",
        "Community & Patreon data \u2014 if you join our Patreon or community, we (and Patreon) process your membership tier, comments and interactions.",
        "Communications \u2014 the content of messages you send us, for example by email or through Patreon, and your contact preferences.",
      ]],
      ["h3", "Information we collect automatically"],
      ["ul", [
        "Usage & device data \u2014 limited technical data such as IP address, browser and device type, and server logs needed to operate and secure the site. Any analytics cookies are set only with your consent (see our Cookie Policy).",
      ]],
      ["h3", "Information from third parties"],
      ["ul", [
        "Limited data from Patreon (which provides our membership and payment functions) and from platforms such as YouTube and other social networks where our content appears, for example aggregated audience statistics.",
      ]],

      ["h2", "4. How we use your data and our legal bases"],
      ["p", "Under the GDPR we must have a lawful basis for each use of your data. We rely on the following:"],
      ["table", {
        headers: ["Purpose", "Data used", "Legal basis (GDPR Art. 6)"],
        rows: [
          ["Provide and administer your account and paid subscriptions", "Account, subscription, payment", "Performance of a contract"],
          ["Process payments and prevent fraud", "Payment, account, usage", "Contract; legitimate interests"],
          ["Operate the community / Patreon", "Community, account", "Contract; legitimate interests"],
          ["Send service messages (e.g. billing, changes to terms)", "Account, contact", "Contract; legal obligation"],
          ["Send marketing emails and newsletters", "Contact, preferences", "Consent (you may withdraw any time)"],
          ["Measure and improve the site and content", "Usage, device", "Consent (for analytics cookies)"],
          ["Comply with tax, accounting and legal duties", "Account, payment", "Legal obligation"],
          ["Establish, exercise or defend legal claims", "As relevant", "Legitimate interests"],
        ],
      }],
      ["p", "Where we rely on legitimate interests, we have balanced those interests against your rights; you can ask us about this assessment."],

      ["h2", "5. Marketing communications"],
      ["p", "We communicate with members primarily through Patreon, and we do not currently operate a separate email marketing platform. Any messages we send are subject to Patreon\u2019s tools and your Patreon settings, where you can manage or opt out of non-essential messages. Opting out does not stop essential service messages (such as billing notices). If we introduce direct email marketing in future, we will rely on your consent and provide an unsubscribe option."],

      ["h2", "6. Sharing your data and our processors"],
      ["p", "We do not sell your personal data. We share it only with:"],
      ["ul", [
        "Service providers (processors) who act on our instructions \u2014 currently our hosting provider, Vercel, and Patreon, which provides our membership and payment functions. We do not currently use a separate email or analytics provider;",
        "Platforms you choose to use with us, such as Patreon and the social networks where our content appears;",
        "Professional advisers, authorities and acquirers where necessary to comply with the law, enforce our terms, or in connection with a business transfer.",
      ]],
      ["p", "We do not share your data with Plus500. If you choose to open an account with Plus500, you do so directly with that provider under its own terms and privacy policy."],

      ["h2", "7. International data transfers"],
      ["p", "Some of our providers are located outside the European Economic Area (for example in the United States). Where we transfer personal data outside the EEA, we rely on appropriate safeguards such as the European Commission\u2019s Standard Contractual Clauses or an adequacy decision. You can request more information using the contact details below."],

      ["h2", "8. How long we keep your data"],
      ["p", "We keep personal data only as long as necessary for the purposes above. Account and subscription data is kept for the life of your account and for a reasonable period afterwards; financial records are kept for the period required by tax and accounting law (typically several years); marketing data is kept until you opt out. Specific retention periods are available on request."],

      ["h2", "9. Security"],
      ["p", "We use appropriate technical and organisational measures to protect your data, including encryption in transit, access controls and the use of reputable processors. No method of transmission or storage is completely secure, so we cannot guarantee absolute security."],

      ["h2", "10. Your rights"],
      ["p", "Subject to the conditions in the GDPR, you have the right to:"],
      ["ul", [
        "access the personal data we hold about you;",
        "have inaccurate data corrected;",
        "have your data erased in certain circumstances;",
        "restrict or object to certain processing (including direct marketing);",
        "data portability for data you provided to us;",
        "withdraw consent at any time, without affecting processing already carried out.",
      ]],
      ["p", "To exercise any of these rights, contact us at tli.team@thelonginvestortli.com. We will respond within the time limits set by law. You also have the right to lodge a complaint with a supervisory authority \u2014 in particular in the EU country where you live or work. For us, the relevant authority is the Data Protection Commission (Ireland)."],

      ["h2", "11. Children"],
      ["p", "Our services are not directed at children. Because we deal with financial education and partner with a leveraged-products provider, the site and paid services are intended only for people aged 18 or over. We do not knowingly collect data from anyone under 18."],

      ["h2", "12. Third-party links and embedded content"],
      ["p", "Our site contains links to and content from third parties (for example YouTube videos, Patreon, social media, and Plus500). These third parties may collect data about you and operate under their own privacy policies, which we encourage you to read. We are not responsible for their practices."],

      ["h2", "13. Automated decision-making"],
      ["p", "We do not make decisions producing legal or similarly significant effects about you based solely on automated processing."],

      ["h2", "14. Changes to this policy"],
      ["p", "We may update this policy from time to time. We will post the updated version here and change the \u201cLast updated\u201d date; significant changes will be notified where appropriate."],

      ["h2", "15. Contact"],
      ["p", "Questions about this policy or your data: Mermeagar International Limited, tli.team@thelonginvestortli.com, 9 Yew Abbey, Tinure, Louth, Ireland."],
    ],
  };

  const TERMS = {
    slug: "terms",
    label: "Terms of Service",
    eyebrow: "Legal · Terms",
    title: "Terms of Service",
    effective: "17 June 2026",
    updated: "17 June 2026",
    intro:
      "These Terms of Service (\u201cTerms\u201d) govern your use of thelonginvestortli.com and the content, products and services offered by Mermeagar International Limited (\u201cwe\u201d, \u201cus\u201d, \u201cThe Long Investor\u201d). By using our website or services you agree to these Terms. If you do not agree, please do not use them.",
    blocks: [
      ["h2", "1. Who we are"],
      ["p", "The Long Investor is operated by Mermeagar International Limited, 9 Yew Abbey, Tinure, Louth, Ireland, company number 770395. You can contact us at tli.team@thelonginvestortli.com."],

      ["h2", "2. Eligibility"],
      ["p", "You must be at least 18 years old and able to enter into a binding contract to use our services. By using them, you confirm that you meet these requirements."],

      ["h2", "3. What we offer"],
      ["ul", [
        "Free content \u2014 educational videos and articles, including our YouTube channel.",
        "Paid memberships \u2014 the Long Investor membership, offered through Patreon in tiers. Depending on the tier, members get access to our technical-analysis charts and commentary, personal buy and sell alerts, a members\u2019 chat or Telegram group, chart requests, and, on higher tiers, portfolio assessment and one-to-one features.",
      ]],

      ["h2", "4. Educational purpose only \u2014 not financial advice"],
      ["p", "Everything we provide \u2014 including videos, articles, technical-analysis signals, and Elliott Wave and Fibonacci analysis \u2014 is for education and information only. It is not investment, financial, legal, tax or other professional advice, is not a personal recommendation, and is not an offer or solicitation to buy or sell any financial instrument. We do not act as your broker, adviser or fiduciary. You are solely responsible for your own decisions. Please also read our Disclaimer and Risk Disclosure, which form part of these Terms."],

      ["h2", "5. Your account"],
      ["p", "You are responsible for keeping your login details confidential and for all activity under your account. Tell us immediately if you suspect unauthorised use. We may suspend or close accounts that breach these Terms."],

      ["h2", "6. Memberships, billing and renewals"],
      ["p", "Our paid memberships are offered and billed through Patreon. By subscribing, you also enter into a contract with Patreon and agree to Patreon\u2019s terms, in addition to these Terms. The membership tiers and their current prices are:"],
      ["table", {
        headers: ["Tier", "Monthly (excl. VAT)", "Annual billing \u2014 15% off (excl. VAT)"],
        rows: [
          ["Access to all Technical Charts  (most popular)", "\u20ac38.00 / month", "\u20ac32.30 / month (billed \u20ac387.60 / year)"],
          ["Access to all Technical Charts PRO", "\u20ac80.50 / month", "\u20ac68.43 / month (billed \u20ac821.10 / year)"],
          ["The Executive Lounge", "\u20ac894.50 / month", "\u20ac760.33 / month (billed \u20ac9,123.90 / year)"],
        ],
      }],
      ["p", "Prices are shown excluding VAT, which is added where applicable. You can pay monthly or annually; annual billing is offered at a 15% discount on the monthly price. These are our current tiers and prices as of the effective date \u2014 the tiers, prices and benefits shown on our Patreon page apply and prevail if they ever differ from this document."],
      ["ul", [
        "Automatic renewal. Memberships renew automatically through Patreon at the end of each billing period (monthly or yearly), and your payment method is charged, until you cancel.",
        "Payment. Payments are handled by Patreon and its payment processors. You authorise the recurring charge to your chosen payment method.",
        "Price changes. We may change prices, tiers and benefits. We will give reasonable notice before a change applies to your renewal, and you may cancel if you do not accept it.",
        "Free trials. We do not currently offer free trials.",
      ]],

      ["h2", "7. Cancellation, refunds and your right of withdrawal"],
      ["p", "You can cancel at any time through your Patreon account. Cancellation stops future renewals, and you keep access until the end of the current paid period. Refunds are handled in accordance with Patreon\u2019s refund policy, as billing runs through Patreon and Patreon\u2019s billing model and timing apply."],
      ["p", "EU right of withdrawal. If you are a consumer in the EU, you normally have 14 days to withdraw from a distance contract. For digital content and services that begin immediately, you may be asked at checkout to (a) expressly consent to immediate access and (b) acknowledge that you lose your right of withdrawal once the service has been fully performed. Where you have consented in this way and we have begun providing the service, the 14-day right may no longer apply. Nothing here removes mandatory consumer rights you have under the law of your country of residence."],

      ["h2", "8. Acceptable use"],
      ["p", "You agree not to misuse our services. In particular you must not:"],
      ["ul", [
        "copy, resell, redistribute or publicly share our paid signals, content or community materials;",
        "share your account or login details with others;",
        "use our services unlawfully, or to harass, abuse or harm others;",
        "attempt to gain unauthorised access to, disrupt, or scrape our systems.",
      ]],

      ["h2", "9. Intellectual property"],
      ["p", "All content we provide \u2014 including videos, text, charts, graphics, signals, analysis, the TLI name and logo, and the look and feel of the site \u2014 is owned by us or our licensors and protected by intellectual-property laws. We grant you a limited, personal, non-transferable licence to access and use it for your own non-commercial use while your access is valid. You may not reproduce, distribute or create derivative works without our written permission."],

      ["h2", "10. Your content"],
      ["p", "If you post comments or other content through our services, you keep your rights in it but grant us a worldwide, royalty-free licence to use, display and distribute it in connection with our services. You are responsible for what you post and must have the right to post it. We may remove content that breaches these Terms."],

      ["h2", "11. Third-party services and affiliate relationships"],
      ["p", "Our services link to and reference third parties, including Plus500 (US futures). We have a commercial partnership with Plus500 and may be compensated (for example through a referral or marketing arrangement) when you sign up or trade through our links. This may create a conflict of interest, which we disclose openly. A reference or link is not an endorsement that a product is suitable for you, and the product may not be available in every country. Any account you open with Plus500 or another third party is a contract directly between you and that provider, under its terms; we are not a party to it and are not responsible for it. See our Risk Disclosure for more."],

      ["h2", "12. No warranties"],
      ["p", "Our services are provided \u201cas is\u201d and \u201cas available\u201d. To the fullest extent permitted by law, we make no warranties about the accuracy, completeness, reliability or profitability of our content or signals, or that the services will be uninterrupted or error-free."],

      ["h2", "13. Limitation of liability"],
      ["p", "To the fullest extent permitted by law, we are not liable for any trading or investment losses, or for indirect, incidental or consequential losses, arising from your use of our services or reliance on our content. Nothing in these Terms excludes or limits liability that cannot lawfully be excluded \u2014 including liability for death or personal injury caused by negligence, for fraud, or any mandatory consumer rights. Subject to that, our total liability to you is limited to the amount you paid us in the 12 months before the claim."],

      ["h2", "14. Indemnity"],
      ["p", "You agree to indemnify us against claims, losses and reasonable costs arising from your breach of these Terms or your misuse of our services, to the extent permitted by law."],

      ["h2", "15. Suspension and termination"],
      ["p", "We may suspend or terminate your access if you breach these Terms or if we stop offering a service. You may stop using the services at any time. Provisions that by their nature should survive termination (such as intellectual property, disclaimers and limitation of liability) will continue to apply."],

      ["h2", "16. Changes to the services and these Terms"],
      ["p", "We may update our services and these Terms. We will post the updated Terms with a new \u201cLast updated\u201d date and, for material changes, give notice where appropriate. Continued use after changes take effect means you accept them."],

      ["h2", "17. Governing law and disputes"],
      ["p", "These Terms are governed by the laws of Ireland, and disputes are subject to the courts of Ireland, without affecting any mandatory consumer protections of your country of residence. EU consumers can also use the European Commission\u2019s Online Dispute Resolution platform at ec.europa.eu/consumers/odr."],

      ["h2", "18. General"],
      ["p", "If any provision is found unenforceable, the rest remain in effect. We may assign these Terms in connection with a business transfer; you may not assign them without our consent. These Terms, together with the Privacy Policy, Cookie Policy, Disclaimer and Risk Disclosure, are the entire agreement between us regarding the services."],

      ["h2", "19. Contact"],
      ["p", "Mermeagar International Limited, 9 Yew Abbey, Tinure, Louth, Ireland, tli.team@thelonginvestortli.com."],
    ],
  };

  const COOKIES = {
    slug: "cookies",
    label: "Cookie Policy",
    eyebrow: "Legal · Cookies",
    title: "Cookie Policy",
    effective: "17 June 2026",
    updated: "17 June 2026",
    intro:
      "This Cookie Policy explains how Mermeagar International Limited uses cookies and similar technologies on thelonginvestortli.com. It should be read together with our Privacy Policy.",
    blocks: [
      ["h2", "1. What cookies are"],
      ["p", "Cookies are small text files stored on your device when you visit a website. We also use similar technologies such as pixels and local storage. Together they let the site work, remember your choices, and help us understand how the site is used."],

      ["h2", "2. Why we use them"],
      ["p", "We use strictly necessary cookies to make the site work and keep it secure. With your consent, we also use cookies to remember your preferences, to understand how the site is used (analytics), and to measure our marketing and partner referrals. You control all non-essential cookies through our consent banner, and we do not set them unless you accept them."],

      ["h2", "3. Categories of cookies"],
      ["table", {
        headers: ["Category", "Purpose", "Consent needed?"],
        rows: [
          ["Strictly necessary", "Core functions: security, sign-in, and operation of our hosting/CDN (Vercel)", "No \u2014 always active"],
          ["Preferences", "Remember choices such as language or layout", "Yes"],
          ["Analytics", "Understand how visitors use the site so we can improve it", "Yes"],
          ["Marketing / partner", "Measure campaigns and referrals from our partners", "Yes"],
        ],
      }],
      ["p", "Non-essential cookies are off by default and are set only after you accept them; you can change your choice at any time."],

      ["h2", "4. Third-party cookies"],
      ["p", "Some cookies are set by third parties whose content we embed \u2014 for example YouTube videos or Patreon. These are set only after you accept the relevant category through our consent banner, and they operate under the third party\u2019s own policy. Where we embed YouTube, we use its privacy-enhanced mode where available."],

      ["h2", "5. Your consent"],
      ["p", "When you first visit, we show a consent banner. Strictly necessary cookies are always active and do not require consent. Preference, analytics and marketing cookies are switched off by default and are set only after you accept them \u2014 you can accept all, reject all, or choose by category."],

      ["h2", "6. Managing and withdrawing consent"],
      ["p", "You can change or withdraw your choices at any time using the \u201cCookie settings\u201d link in our footer, which reopens the consent banner. You can also block or delete cookies in your browser settings, although some features may then not work properly."],

      ["h2", "7. \u201cDo Not Track\u201d"],
      ["p", "Some browsers can send a \u201cDo Not Track\u201d signal. There is no common industry standard for how websites should respond, and our site does not currently respond to these signals."],

      ["h2", "8. Changes"],
      ["p", "We may update this Cookie Policy from time to time and will post the updated version here with a new \u201cLast updated\u201d date."],

      ["h2", "9. Contact"],
      ["p", "Questions about cookies: tli.team@thelonginvestortli.com."],
    ],
  };

  const RISK = {
    slug: "risk",
    label: "Risk Disclosure",
    eyebrow: "Legal · Risk",
    title: "Risk Disclosure",
    effective: "17 June 2026",
    updated: "17 June 2026",
    intro:
      "This Risk Disclosure explains the main risks of the markets and products discussed by Mermeagar International Limited (\u201cThe Long Investor\u201d). It is not a complete statement of all risks. It forms part of our Terms of Service and should be read with our Disclaimer.",
    blocks: [
      ["callout", "Trading and investing put your capital at risk",
        "Trading with leverage involves risk and is not suitable for everyone. You can lose some or all of your money \u2014 and with some products more than your initial deposit. Always educate yourself, and seek independent professional advice, before making any decisions."],

      ["h2", "1. Capital is at risk"],
      ["p", "The value of investments can go down as well as up, and you may get back less than you invested. Past performance \u2014 including any results we show \u2014 is not a reliable indicator of future results."],

      ["h2", "2. We do not give personal advice"],
      ["p", "Our content, signals and analysis are educational and general. They do not take account of your personal circumstances, objectives or risk tolerance, and are not a personal recommendation. Whether any market, product or strategy is right for you is your decision."],

      ["h2", "3. Leveraged products carry heightened risk"],
      ["p", "We discuss leveraged and derivative products, and our partnership relates to US futures trading. Leverage means you control a large position with a relatively small deposit (margin). This magnifies both gains and losses. Key risks include:"],
      ["ul", [
        "Losses greater than your deposit \u2014 with futures you can lose more than the amount you put in and may be required to deposit additional funds;",
        "Margin calls and auto-liquidation \u2014 positions may be closed automatically if your margin runs low, possibly at a loss and at a bad time, and margin requirements can change;",
        "Volatility and gapping \u2014 prices can move sharply, and orders such as stops may not execute at your chosen level;",
        "Costs \u2014 commissions, exchange and clearing fees, and other charges reduce returns;",
        "No deposit-insurance against losses \u2014 US futures accounts are not covered by SIPC, and while a registered broker must hold customer funds in segregated accounts, that segregation is not insurance against trading losses. Availability, leverage and the protections that apply depend on the product, the provider and your country.",
      ]],

      ["h2", "4. Provider risk warnings apply"],
      ["p", "Trading futures involves a substantial risk of loss and is not suitable for everyone. Before opening an account you should read the provider\u2019s own risk-disclosure documents in full, together with the risk-disclosure statements required by the U.S. Commodity Futures Trading Commission (CFTC) and the National Futures Association (NFA). Our partner\u2019s US futures business is operated by a CFTC-registered Futures Commission Merchant and NFA member; its disclosures, not ours, govern your account."],

      ["h2", "5. Our partnership with Plus500"],
      ["p", "We have a commercial partnership relating to Plus500 (US futures), operated by Plus500US Financial Services LLC, a CFTC-registered Futures Commission Merchant and NFA member. We may be compensated when you open an account or trade through our links. This is a conflict of interest, which we disclose openly. Our partnership is not advice that this provider, or futures trading, is suitable for you. Any account you open is directly with Plus500 under its own terms, and Plus500 is responsible for its products and services \u2014 not us. Do your own research and read Plus500\u2019s own risk disclosures, and check whether the product is available to you."],

      ["h2", "6. Particular instruments"],
      ["p", "Some instruments we discuss \u2014 including cryptocurrencies, commodities (such as palladium), and options \u2014 can be especially volatile, illiquid or complex, and may carry additional risks. They are not suitable for all investors."],

      ["h2", "7. Tax and regulation"],
      ["p", "The tax treatment of investments depends on your individual circumstances and country, and rules can change. The products discussed may not be available or appropriate in every jurisdiction. You are responsible for complying with the laws and tax rules that apply to you."],

      ["h2", "8. No guarantee of accuracy or results"],
      ["p", "We aim for accuracy, but we do not guarantee that our analysis or signals are correct, complete or profitable. Markets are uncertain; no method, including technical analysis, Elliott Wave or Fibonacci, can predict the future reliably."],

      ["h2", "9. Seek independent advice"],
      ["p", "If you are unsure whether an investment or product is right for you, seek advice from an independent, suitably qualified and authorised financial adviser before acting."],

      ["h2", "10. Contact"],
      ["p", "Mermeagar International Limited, tli.team@thelonginvestortli.com."],
    ],
  };

  const DISCLAIMER = {
    slug: "disclaimer",
    label: "Disclaimer",
    eyebrow: "Legal · Disclaimer",
    title: "Disclaimer",
    effective: "17 June 2026",
    updated: "17 June 2026",
    intro:
      "This Disclaimer applies to all content provided by Mermeagar International Limited (\u201cThe Long Investor\u201d), including our website, YouTube channel, articles, technical-analysis signals and community. By using our content you accept this Disclaimer, which forms part of our Terms of Service.",
    blocks: [
      ["h2", "1. Education and information only"],
      ["p", "All our content is provided for general educational and informational purposes only. It reflects our opinions at the time of publication and may not be current."],

      ["h2", "2. Not professional advice"],
      ["p", "Nothing we provide is investment, financial, trading, legal, accounting or tax advice, and none of it is a personal recommendation. We are not your broker, adviser or fiduciary, and no advisory relationship is created by your use of our content. Always seek advice from a suitably qualified, independent and authorised professional before making decisions."],

      ["h2", "3. No offer or solicitation"],
      ["p", "Our content is not an offer or solicitation to buy or sell any security, financial instrument or product, and is not an invitation to engage in any trading strategy."],

      ["h2", "4. Accuracy and forward-looking statements"],
      ["p", "We do not guarantee that our content is accurate, complete or up to date, and we are not liable for errors or omissions. Any forward-looking statements, projections or analyses are inherently uncertain, and actual outcomes may differ materially."],

      ["h2", "5. Performance"],
      ["p", "Past performance is not a reliable indicator of future results. Any results we show \u2014 including any examples \u2014 are specific to the circumstances shown, may be hypothetical or illustrative, and are not a guarantee or forecast of your results."],

      ["h2", "6. Affiliate and sponsorship disclosure"],
      ["p", "We have commercial relationships and may earn compensation through them. In particular, we partner with Plus500 (US futures) and may be paid when you sign up or trade through our links; we also earn revenue from subscriptions, Patreon and similar sources. These relationships may create conflicts of interest, which we disclose. They do not change the educational nature of our content, and a reference or link is never an endorsement that a product is suitable for you."],

      ["h2", "7. Third-party content and links"],
      ["p", "We may reference or link to third-party content, products and websites. We do not control or endorse them and are not responsible for their content, accuracy or practices."],

      ["h2", "8. Testimonials"],
      ["p", "Any testimonials or member comments reflect individual experiences and are not representative of results you should expect."],

      ["h2", "9. Risk"],
      ["p", "Trading and investing carry significant risk, including the loss of capital. Leveraged products are higher-risk and not suitable for everyone. Please read our full Risk Disclosure before acting."],
      ["callout", "",
        "Trading with leverage involves risk and is not suitable for everyone. Always educate yourself before making any decisions."],

      ["h2", "10. Contact"],
      ["p", "Mermeagar International Limited, tli.team@thelonginvestortli.com."],
    ],
  };

  window.LEGAL_DOCS = {
    privacy: PRIVACY,
    terms: TERMS,
    cookies: COOKIES,
    risk: RISK,
    disclaimer: DISCLAIMER,
  };

  // Footer / cross-link order + file names. Single source of truth.
  window.LEGAL_INDEX = [
    { slug: "privacy",    label: "Privacy Policy",   file: "/privacy-policy" },
    { slug: "terms",      label: "Terms of Service", file: "/terms-of-service" },
    { slug: "cookies",    label: "Cookie Policy",    file: "/cookie-policy" },
    { slug: "risk",       label: "Risk Disclosure",  file: "/risk-disclosure" },
    { slug: "disclaimer", label: "Disclaimer",       file: "/disclaimer" },
  ];
})();
