/* eslint-disable */
/* i18n.jsx — copy tree + lang context. ES is default (rioplatense).
   Glean-style: minimal text, visuals do the work. */

const COPY = {
  es: {
    links: {
      app: 'https://app.teramot.com/',
      call: 'https://calendar.google.com/calendar/appointments/schedules/AcZssZ33FnFB6C77TpwVa_Q_2dGDqIKtScwvYgM6v-zdmIwIQc9wfCIqyWIONocFwe5XwbWnsxJajgUE'
    },
    callCta: 'Agendar llamada',
    nav: {
      product: 'Producto',
      pricing: 'Precios',
      specialists: 'Para especialistas',
      tutorials: 'Tutoriales',
      docs: 'Docs',
      book: 'Agendar',
      start: 'Empezar gratis'
    },
    hero: {
      headlinePre: 'Hacé que la IA',
      headlineHighlight: 'entienda tu empresa',
      headlineBridge: 'y piense cómo',
      capabilities: [
        'vender más.',
        'bajar costos.',
        'retener clientes.',
        'liberar capital.',
        'ser más rentable.',
        'predecir la demanda.'
      ],
      srCapabilities: 'vender más, bajar costos, retener clientes, liberar stock, descubrir tu producto más rentable, anticipar lo que viene.',
      sub: 'Teramot es la capa que conecta cualquier modelo de IA — ',
      subHighlight: 'Claude, ChatGPT o Gemini',
      subPost: ' — con los datos reales de tu empresa. En menos de una hora. Sin equipo técnico.',
      ctaPrimary: 'Empezar gratis',
      ctaSecondary: 'Ver cómo funciona'
    },
    proof: {
      label: 'Empresas que confían en Teramot',
      more: '+50 más',
      logos: ['Northwind', 'Cobalt', 'Vega', 'Helios', 'Mercato']
    },
    features: {
      h2: 'Una sola plataforma.',
      h2em: 'Seis preguntas que ahora tienen respuesta.',
      sub: 'Hacé clic en cualquier escenario para ver cómo Teramot conecta a tu modelo favorito con tus datos.'
    },
    how: {
      h2html: 'Una hora.',
      steps: [
        { title: 'Conectás', body: 'ERP, CRM, base de datos.', tag: 'Auto-detectado' },
        { title: 'Teramot entiende', body: 'La infraestructura se arma sola.', tag: 'Sin intervención' },
        { title: 'Tu IA conoce todo', body: 'Claude, ChatGPT, Gemini.', tag: 'Cualquier modelo' }
      ]
    },
    effort: {
      h2html: 'El resultado, sin el proyecto. <em>No pagues lo que se hace solo.</em>',
      compareLeft: { head: 'El proyecto tradicional', items: [
        'Meses de implementación',
        'Equipo de 5–10 personas',
        'Costos impredecibles',
        'Depende de IT'
      ]},
      compareRight: { head: 'Con Teramot', items: [
        'En una hora',
        'Sin equipo técnico',
        'Precio claro',
        'La plataforma trabaja sola'
      ]},
      footer: 'Vos conectás. Teramot hace el resto.'
    },
    security: {
      h2html: 'Tus datos son tuyos. <em>Siempre.</em>',
      cardTitle: 'SOC 2 Type II',
      cardSub: 'El estándar Fortune 500.',
      optTitle1: 'Tu AWS',
      optBody1: 'Los datos no salen de tu entorno.',
      optTitle2: 'SaaS cifrado',
      optBody2: 'Nunca se usan para entrenar modelos.'
    },
    audience: {
      h2html: 'Para líderes que ya usan IA.',
      chips: ['CEOs', 'Gerentes Generales', 'Líderes de Innovación', 'Early adopters de IA']
    },
    press: {
      title: 'Prensa',
      more: 'Ver toda la cobertura'
    },
    cta: {
      line1: 'Tus datos ya están.',
      line2: 'Solo falta conectarlos.',
      button: 'Empezar gratis',
      meta: ['SOC 2 Certified', 'Sin tarjeta', 'Listo en 1 hora']
    },
    pricing: {
      heroEyebrow: 'Precios',
      heroH1: 'Precio claro. Sin sorpresas.',
      heroSub: 'Una capa que conecta cualquier modelo de IA con los datos reales de tu empresa. Pagás por lo que usás, no por consultoría.',
      mostPopular: 'Más elegido',
      perMonth: 'por mes',
      custom: 'Precio a medida',
      includes: 'Esto incluye:',
      tiers: [
        { name: 'Free', tagline: 'Probalo gratis. Sin tarjeta, con tus datos reales.', price: '0', priceSuffix: 'por mes', billed: '', cta: 'Empezar', highlight: false,
          features: ['2 usuarios', '5 Gold Tables', '37 GB Almacenamiento', '370 GB/mes Procesamiento', 'MCP Connector'] },
        { name: 'Starter', tagline: 'Para empresas medianas que quieren optimizar su negocio con una IA realmente útil, conectada a sus datos.', price: '399', priceSuffix: 'por mes', billed: '', cta: 'Empezar', highlight: true,
          features: ['5 usuarios', '20 Gold Tables', '150 GB Almacenamiento', '1.500 GB/mes Procesamiento', 'Sesión de onboarding', 'MCP Connector'] },
        { name: 'Professional', tagline: 'Para empresas que quieren una IA que realmente trabaje para ellas — con toda la complejidad de sus datos y sistemas.', price: '1999', priceSuffix: 'por mes', billed: '', cta: 'Empezar', highlight: false,
          features: ['15 usuarios', '120 Gold Tables', '900 GB Almacenamiento', '9.000 GB/mes Procesamiento', 'Clínica de implementación incluida', 'Sesión de onboarding', 'MCP Connector'] },
        { name: 'Enterprise', tagline: 'Para organizaciones con requisitos de seguridad y escala propios.', price: 'custom', priceSuffix: '', billed: '', cta: 'Agendar llamada', highlight: false,
          features: ['Usuarios ilimitados', 'Gold Tables a medida', 'Almacenamiento a medida', 'Procesamiento a medida', 'Clínica de implementación incluida', 'Sesión de onboarding', 'MCP Connector'] }
      ],
      concepts: {
        h2: 'Conceptos clave',
        items: [
          { title: 'Gold Tables',
            body: 'Tablas listas para el negocio con transformaciones, agregaciones y cálculos aplicados. Son tus datasets finales listos para análisis — como customer_360, sales_summary o monthly_revenue.' },
          { title: 'Data Sources',
            body: 'Las tablas de datos en bruto a las que Teramot se conecta desde tus bases de datos, ERPs, CRMs y APIs. Cada tabla de un sistema fuente cuenta como un data source.' },
          { title: 'Almacenamiento',
            body: 'El volumen total de datos almacenados en tu Data Lakehouse administrado. Incluye tanto los datos en bruto ingeridos como las Gold Tables transformadas.' },
          { title: 'Procesamiento',
            body: 'El volumen de datos transformados y consultados cada mes. Incluye ejecuciones de pipelines ETL, transformaciones entre las capas Bronze→Silver→Gold, y ejecución de queries.' },
          { title: 'Prompt Generator',
            body: 'Un asistente potenciado por IA que te ayuda a describir tus necesidades de datos en lenguaje natural. Sugiere transformaciones, identifica problemas de calidad y genera las instrucciones que impulsan tus pipelines automatizados.' }
        ]
      },
      compare: {
        h2: 'Compará en detalle.',
        cols: ['Free', 'Starter', 'Professional', 'Enterprise'],
        groups: [
          { label: 'Capacidad', rows: [
              ['Gold Tables', '5', '20', '120', 'Custom'],
              ['Almacenamiento', '37 GB', '150 GB', '900 GB', 'Custom'],
              ['Procesamiento / mes', '370 GB', '1.500 GB', '9.000 GB', 'Custom'],
              ['Data Sources', 'Ilimitados', 'Ilimitados', 'Ilimitados', 'Ilimitados']
          ]},
          { label: 'IA y conectividad', rows: [
              ['MCP Connector', '✓', '✓', '✓', '✓'],
              ['Claude, ChatGPT, Gemini', '✓', '✓', '✓', '✓'],
              ['Prompt Generator', '✓', '✓', '✓', '✓'],
              ['Conectores custom', '—', '—', '—', '✓']
          ]},
          { label: 'Equipo', rows: [
              ['Usuarios', '1', '5', '25', 'Ilimitados'],
              ['Roles y permisos', '—', '✓', '✓', '✓'],
              ['SSO + SAML', '—', '—', '—', '✓']
          ]},
          { label: 'Seguridad', rows: [
              ['SOC 2 Type II', '✓', '✓', '✓', '✓'],
              ['Cifrado end-to-end', '✓', '✓', '✓', '✓'],
              ['Despliegue en tu AWS', '—', '—', '—', '✓'],
              ['Auditoría de actividad', '—', '✓', '✓', '✓'],
              ['DPA personalizado', '—', '—', '—', '✓']
          ]},
          { label: 'Soporte', rows: [
              ['Onboarding session', '—', '✓', '✓', '✓'],
              ['Email', '✓', '✓', '✓', '✓'],
              ['Prioritario 24/5', '—', '—', '✓', '✓'],
              ['CSM dedicado', '—', '—', '—', '✓'],
              ['SLA 99,9%', '—', '—', '—', '✓']
          ]}
        ]
      },
      addon: {
        h2: '¿Necesitás algo a medida?',
        sub: 'Conectores propios, modelos privados, despliegue on-premise — nuestro equipo lo arma con vos.',
        cta: 'Hablar con ventas'
      },
      faq: {
        h2: 'Preguntas frecuentes',
        items: [
          { q: '¿Mis datos salen de mi empresa?',
            a: 'No. En los planes Starter y Professional, los datos viajan cifrados a nuestro entorno y nunca se usan para entrenar modelos. En Enterprise podés desplegar Teramot dentro de tu propio AWS — los datos no salen de tu perímetro.' },
          { q: '¿Necesito un equipo técnico?',
            a: 'No. Teramot detecta y entiende tus sistemas solo. La conexión inicial promedio es de 40 minutos.' },
          { q: '¿Con qué modelos de IA funciona?',
            a: 'Claude (Anthropic), ChatGPT (OpenAI) y Gemini (Google) de forma nativa vía MCP, además de cualquier modelo compatible con el protocolo.' },
          { q: '¿Qué pasa si me paso de Storage o Processing?',
            a: 'Te avisamos antes de cobrar overage. Podés subir de plan o ajustar uso. Sin sorpresas.' },
          { q: '¿Puedo cambiar de plan?',
            a: 'Sí, en cualquier momento. Si bajás de plan, conservás el resto del período pagado.' }
        ]
      },
      finalCta: {
        h2: 'Empezá hoy.',
        sub: 'Conectá tu primera fuente en menos de una hora.',
        button: 'Empezar gratis'
      }
    },
    specialists: {
      heroEyebrow: 'For Data Specialists',
      heroH1: 'Infraestructura de datos.',
      heroH1Em: 'Hecha para analistas de datos.',
      heroSub: 'Conectá tus bases de datos. Teramot escribe SQL listo para producción, construye pipelines ETL solos, y deja todos tus datos accesibles desde Claude, ChatGPT o Gemini vía MCP.',
      heroStat: '10× más rápido que la ingeniería de datos tradicional.',
      ctaPrimary: 'Empezar gratis',
      ctaSecondary: 'Leer la documentación',

      capabilities: {
        h2: 'Lo que hace Teramot por vos.',
        sub: 'La capa que reemplaza meses de trabajo de data engineering.',
        items: [
          { icon: 'ph-code', title: 'Generación de SQL con IA',
            body: 'Describí lo que necesitás en lenguaje natural. Teramot devuelve queries optimizadas, listas para producción, contra tu schema real.' },
          { icon: 'ph-stack', title: 'Pipelines ETL automáticos',
            body: 'Bronze → Silver → Gold construido y mantenido por IA. Schema evolution, validación, lineage — todo solo.' },
          { icon: 'ph-plugs', title: 'Servidor MCP nativo',
            body: 'Claude, ChatGPT, Gemini y cualquier modelo MCP-compatible acceden a tus tablas vía Model Context Protocol.' },
          { icon: 'ph-cylinder', title: 'Data Lakehouse gestionado',
            body: 'Almacenamiento sobre tu AWS o el nuestro. Iceberg + Parquet, escalable, sin que mantengas nada.' }
        ]
      },

      architecture: {
        h2: 'La arquitectura.',
        sub: 'Tres capas. Un solo lugar para que tu IA entienda todo.',
        layers: [
          { tag: 'Bronze', title: 'Datos crudos', body: 'Ingestión incremental desde tus fuentes. Datos crudos, fieles al original, versionados.' },
          { tag: 'Silver', title: 'Limpios y unidos', body: 'Validación, deduplicación, joins entre sistemas. Esquemas estables.' },
          { tag: 'Gold', title: 'Listos para el negocio', body: 'Tablas listas para análisis — customer_360, sales_summary, monthly_revenue. Calculadas y mantenidas.' }
        ]
      },

      sql: {
        h2: 'SQL de nivel producción. Desde lenguaje natural.',
        sub: 'Sin nadie copiando queries de un Slack. Teramot conoce tu esquema, tus joins, tus KPIs.',
        prompt: '¿Cuál es el LTV de los clientes que entraron por LinkedIn en los últimos 12 meses, segmentado por industria?',
        sqlLines: [
          'WITH linkedin_customers AS (',
          '  SELECT c.customer_id, c.industry, c.acquired_at',
          '  FROM gold.customer_360 c',
          "  WHERE c.acquisition_channel = 'linkedin'",
          "    AND c.acquired_at >= NOW() - INTERVAL '12 months'",
          '),',
          'ltv_per_customer AS (',
          '  SELECT lc.customer_id, lc.industry,',
          '    SUM(t.amount) AS lifetime_value',
          '  FROM linkedin_customers lc',
          '  JOIN gold.transactions t USING (customer_id)',
          '  GROUP BY 1, 2',
          ')',
          'SELECT industry,',
          '  ROUND(AVG(lifetime_value), 2) AS avg_ltv,',
          '  COUNT(*) AS customers',
          'FROM ltv_per_customer',
          'GROUP BY 1',
          'ORDER BY avg_ltv DESC;'
        ]
      },

      integrations: {
        h2: 'Se conecta a lo que ya tenés.',
        sub: 'Bases de datos, warehouses, SaaS — todo lo común, listo para usar.',
        groups: [
          { label: 'Bases de datos', items: ['PostgreSQL', 'MySQL', 'SQL Server', 'MongoDB', 'Oracle'] },
          { label: 'Warehouses', items: ['Snowflake', 'BigQuery', 'Redshift', 'Databricks', 'Athena'] },
          { label: 'SaaS', items: ['Salesforce', 'HubSpot', 'Stripe', 'Shopify', 'Google Sheets'] },
          { label: 'AI / MCP', items: ['Claude', 'ChatGPT', 'Gemini', 'Cursor', 'MCP estándar'] }
        ]
      },

      specs: {
        h2: 'Specs que importan.',
        items: [
          { icon: 'ph-shield-check', title: 'SOC 2 Type II', body: 'Auditado. Renovado anualmente.' },
          { icon: 'ph-cloud', title: 'Tu AWS o el nuestro', body: 'Despliegue en tu propia cuenta, con tus controles y tu peering.' },
          { icon: 'ph-key', title: 'SSO + SAML', body: 'Identidad corporativa. Sin proliferación de usuarios.' },
          { icon: 'ph-clock-counter-clockwise', title: 'Registro de auditoría', body: 'Quién consultó qué tabla, cuándo, desde qué cliente.' },
          { icon: 'ph-file-text', title: 'DPA personalizado', body: 'Anexo de procesamiento de datos a medida.' },
          { icon: 'ph-gauge', title: 'SLA 99,9 %', body: 'Garantía de uptime en planes Enterprise.' }
        ]
      },

      cta: {
        h2: 'Reemplazá meses de ingeniería de datos con una sola conexión.',
        sub: 'Conectá tu primera base en menos de una hora.',
        primary: 'Empezar gratis',
        secondary: 'Leer la documentación'
      }
    },

    tutorials: {
      heroEyebrow: 'Tutoriales',
      heroH1: 'Aprendé Teramot en minutos.',
      heroSub: 'Demos cortas, paso a paso. Cliqueables, sin cuenta, sin instalar nada. Recorré a tu ritmo.',
      durationLabel: 'min',
      embedPending: 'Demo en preparación',
      embedPendingSub: 'Reemplázame con la URL de embed de Arcade.',
      items: [
        {
          id: 'first-source',
          number: '01',
          arcadeSrc: 'https://demo.arcade.software/ME2Xn3QLWweOaBZj9rrU?embed&embed_mobile=tab&embed_desktop=inline&show_copy_link=true',
          title: 'Crear nuevo proyecto',
          lede: 'Arrancá desde cero: nombre, fuente de datos y primera conexión. En menos de lo que toma un café.'
        },
        {
          id: 'ask-mcp',
          number: '02',
          arcadeSrc: 'https://demo.arcade.software/sEPo9awM11WnJwd5gp6r?embed&embed_mobile=tab&embed_desktop=inline&show_copy_link=true',
          title: 'Crear tus tablas vía MCP',
          lede: 'Describí en lenguaje natural lo que necesitás y Teramot arma las tablas — directo desde Claude o ChatGPT.'
        }
      ],
      finalCta: {
        text: '¿No encontrás el tutorial que necesitás?',
        sub: 'Contános qué querrías aprender. Grabamos uno y te lo mandamos.',
        btn: 'Pedir un tutorial'
      }
    },

    footer: {
      links: [
        { label: 'Nuestra Misión', href: 'mission.html' },
        { label: 'LinkedIn', href: 'https://www.linkedin.com/company/teramot/', external: true },
        { label: 'Política de Privacidad', href: 'https://teramot-documentation.s3.us-east-1.amazonaws.com/public/Teramot+-+Website+Privacy+Policy+1.1.pdf', external: true },
        { label: 'Términos de Uso del Sitio Web', href: 'https://teramot-documentation.s3.us-east-1.amazonaws.com/public/Teramot+Website+Terms+of+Use.pdf', external: true }
      ],
      copy: '© ' + new Date().getFullYear() + ' Teramot. Todos los derechos reservados.'
    },

    mission: {
      eyebrow: 'Sobre nosotros',
      h1: 'Nuestra misión',
      pillars: [
        {
          label: 'Propósito',
          quote: 'Impulsar mejores decisiones basadas en evidencia y dar forma a un mundo más inteligente.',
          body: 'En Teramot creemos que las mejores decisiones son las que se construyen sobre evidencia y datos sólidos. Nuestro propósito guía todo lo que hacemos: empoderar a las organizaciones para tomar mejores decisiones, respaldadas por análisis integral e insights.'
        },
        {
          label: 'Misión',
          quote: 'Transformar datos crudos en insights accionables, dando a las empresas la autonomía de decidir más rápido y mejor con IA.',
          body: 'Nuestra misión es directa: tomamos datos crudos y complejos y los transformamos en insights claros y accionables. Apalancando IA, las empresas alcanzan un nuevo nivel de autonomía en la toma de decisiones — más rápidas, más inteligentes, con más confianza.'
        },
        {
          label: 'Visión',
          quote: 'Un mundo más inteligente donde cada decisión esté potenciada sin esfuerzo por toda la evidencia disponible.',
          body: 'Imaginamos un futuro donde las empresas ya no luchen con silos de datos, donde sistemas inteligentes recolecten y procesen automáticamente toda la información relevante, y donde quienes toman decisiones tengan acceso inmediato a los insights que necesitan. Al hacer que la toma de decisiones basada en evidencia sea sencilla, construimos un mundo más inteligente y eficiente.'
        }
      ],
      joinTitle: 'Unite a nuestra misión',
      joinBody: 'Siempre estamos buscando socios, clientes y miembros de equipo que compartan nuestra pasión por la toma de decisiones basadas en datos y quieran ayudarnos a construir un futuro más inteligente.',
      ctaPrimary: 'Empezar gratis'
    }
  },

  en: {
    links: {
      app: 'https://app.teramot.com/',
      call: 'https://calendar.google.com/calendar/appointments/schedules/AcZssZ33FnFB6C77TpwVa_Q_2dGDqIKtScwvYgM6v-zdmIwIQc9wfCIqyWIONocFwe5XwbWnsxJajgUE'
    },
    callCta: 'Book a call',
    nav: {
      product: 'Product',
      pricing: 'Pricing',
      specialists: 'For Specialists',
      tutorials: 'Tutorials',
      docs: 'Docs',
      book: 'Book a call',
      start: 'Start for free'
    },
    hero: {
      headlinePre: 'Make AI',
      headlineHighlight: 'understand your business',
      headlineBridge: 'and figure out how to',
      capabilities: [
        'sell more.',
        'cut costs.',
        'retain customers.',
        'free up capital.',
        'be more profitable.',
        'predict demand.'
      ],
      srCapabilities: "sell more, cut costs, keep customers, free up inventory, find your most profitable product, see what's coming.",
      sub: 'Teramot is the layer that connects any AI model — ',
      subHighlight: 'Claude, ChatGPT, or Gemini',
      subPost: " \u2014 to your company's real data. In under an hour. No technical team needed.",
      ctaPrimary: 'Start for free',
      ctaSecondary: 'See how it works'
    },
    proof: {
      label: 'Trusted by leading organizations',
      logos: ['Northwind', 'Cobalt', 'Vega', 'Helios', 'Mercato'],
      more: '+50 more',
    },
    features: {
      h2: 'One platform.',
      h2em: 'Six questions, finally answered.',
      sub: 'Click any scenario to see how Teramot connects your favorite model to your data.'
    },
    how: {
      h2html: 'One hour.',
      steps: [
        { title: 'You connect', body: 'ERP, CRM, database.', tag: 'Auto-detected' },
        { title: 'Teramot understands', body: 'Infrastructure builds itself.', tag: 'Hands-off' },
        { title: 'Your AI has the answers', body: 'Claude, ChatGPT, Gemini.', tag: 'Any model' }
      ]
    },
    effort: {
      h2html: 'The outcome \u2014 without the project. <em>Don\u2019t pay for what runs itself.</em>',
      compareLeft: { head: 'The traditional approach', items: [
        'Months to implement',
        'Teams of 5–10',
        'Unpredictable costs',
        'Bottlenecked by IT'
      ]},
      compareRight: { head: 'With Teramot', items: [
        'Up in an hour',
        'No technical team',
        'Clear pricing',
        'The platform runs itself'
      ]},
      footer: 'You connect. Teramot does the rest.'
    },
    security: {
      h2html: 'Your data is yours. <em>Always.</em>',
      cardTitle: 'SOC 2 Type II',
      cardSub: 'The Fortune 500 standard.',
      optTitle1: 'Your AWS',
      optBody1: 'Data never leaves your environment.',
      optTitle2: 'Encrypted SaaS',
      optBody2: 'Never used to train any model.'
    },
    audience: {
      h2html: 'For leaders who already use AI.',
      chips: ['CEOs', 'General Managers', 'Heads of Innovation', 'AI early adopters']
    },
    press: {
      title: 'Press',
      more: 'See all coverage'
    },
    cta: {
      line1: 'Your data is already there.',
      line2: 'You just need to connect it.',
      button: 'Start for free',
      meta: ['SOC 2 Certified', 'No credit card', 'Ready in 1 hour']
    },
    pricing: {
      heroEyebrow: 'Pricing',
      heroH1: 'Clear pricing. No surprises.',
      heroSub: "One layer that connects any AI model to your company's real data. You pay for what you use, not for consulting.",
      mostPopular: 'Most popular',
      perMonth: 'per month',
      custom: 'Custom pricing',
      includes: 'This includes:',
      tiers: [
        { name: 'Free', tagline: 'Try it free. No card, with your real data.', price: '0', priceSuffix: 'per month', billed: '', cta: 'Start for free', highlight: false,
          features: ['2 users', '5 Gold Tables', '37 GB Storage', '370 GB/mo Processing', 'MCP Connector'] },
        { name: 'Starter', tagline: 'For mid-size companies that want to optimize their business with a truly useful AI connected to their data.', price: '399', priceSuffix: 'per month', billed: '', cta: 'Start for free', highlight: true,
          features: ['5 users', '20 Gold Tables', '150 GB Storage', '1,500 GB/mo Processing', 'Onboarding session', 'MCP Connector'] },
        { name: 'Professional', tagline: 'For enterprises that want AI working for them — across every system, every data source, no shortcuts.', price: '1999', priceSuffix: 'per month', billed: '', cta: 'Start for free', highlight: false,
          features: ['15 users', '120 Gold Tables', '900 GB Storage', '9,000 GB/mo Processing', 'Implementation clinic included', 'Onboarding session', 'MCP Connector'] },
        { name: 'Enterprise', tagline: 'For organizations with custom security and scale requirements.', price: 'custom', priceSuffix: '', billed: '', cta: 'Schedule a call', highlight: false,
          features: ['Unlimited users', 'Custom Gold Tables', 'Custom Storage', 'Custom Processing', 'Implementation clinic included', 'Onboarding session', 'MCP Connector'] }
      ],
      concepts: {
        h2: 'Key concepts',
        items: [
          { title: 'Gold Tables',
            body: 'Business-ready tables with transformations, aggregations, and calculations applied. They are your final datasets ready for analysis — like customer_360, sales_summary or monthly_revenue.' },
          { title: 'Data Sources',
            body: 'The raw data tables Teramot connects to from your databases, ERPs, CRMs and APIs. Each table from a source system counts as one data source.' },
          { title: 'Storage',
            body: 'The total volume of data stored in your managed Data Lakehouse. Includes both ingested raw data and transformed Gold Tables.' },
          { title: 'Processing',
            body: 'The volume of data transformed and queried each month. Includes ETL pipeline runs, transformations between Bronze→Silver→Gold layers, and query execution.' },
          { title: 'Prompt Generator',
            body: 'An AI-powered assistant that helps you describe your data needs in natural language. Suggests transformations, identifies quality issues, and generates the instructions that drive your automated pipelines.' }
        ]
      },
      compare: {
        h2: 'Compare in detail.',
        cols: ['Free', 'Starter', 'Professional', 'Enterprise'],
        groups: [
          { label: 'Capacity', rows: [
              ['Gold Tables', '5', '20', '120', 'Custom'],
              ['Storage', '37 GB', '150 GB', '900 GB', 'Custom'],
              ['Processing / mo', '370 GB', '1,500 GB', '9,000 GB', 'Custom'],
              ['Data Sources', 'Unlimited', 'Unlimited', 'Unlimited', 'Unlimited']
          ]},
          { label: 'AI & connectivity', rows: [
              ['MCP Connector', '✓', '✓', '✓', '✓'],
              ['Claude, ChatGPT, Gemini', '✓', '✓', '✓', '✓'],
              ['Prompt Generator', '✓', '✓', '✓', '✓'],
              ['Custom connectors', '—', '—', '—', '✓']
          ]},
          { label: 'Team', rows: [
              ['Users', '1', '5', '25', 'Unlimited'],
              ['Roles & permissions', '—', '✓', '✓', '✓'],
              ['SSO + SAML', '—', '—', '—', '✓']
          ]},
          { label: 'Security', rows: [
              ['SOC 2 Type II', '✓', '✓', '✓', '✓'],
              ['End-to-end encryption', '✓', '✓', '✓', '✓'],
              ['Deploy on your AWS', '—', '—', '—', '✓'],
              ['Activity audit log', '—', '✓', '✓', '✓'],
              ['Custom DPA', '—', '—', '—', '✓']
          ]},
          { label: 'Support', rows: [
              ['Onboarding session', '✓', '✓', '✓', '✓'],
              ['Email', '✓', '✓', '✓', '✓'],
              ['Priority 24/5', '—', '—', '✓', '✓'],
              ['Dedicated CSM', '—', '—', '—', '✓'],
              ['99.9% SLA', '—', '—', '—', '✓']
          ]}
        ]
      },
      addon: {
        h2: 'Need something custom?',
        sub: 'Custom connectors, private models, on-premise deployment — our team builds it with you.',
        cta: 'Talk to sales'
      },
      faq: {
        h2: 'Frequently asked questions',
        items: [
          { q: 'Does my data leave my company?',
            a: 'No. On Starter and Professional plans, data is encrypted in transit to our environment and is never used to train models. On Enterprise you can deploy Teramot inside your own AWS account — your data never leaves your perimeter.' },
          { q: 'Do I need a technical team?',
            a: 'No. Teramot detects and understands your systems on its own. Initial setup averages 40 minutes.' },
          { q: 'Which AI models does it work with?',
            a: 'Claude (Anthropic), ChatGPT (OpenAI) and Gemini (Google) natively via MCP, plus any model that supports the protocol.' },
          { q: 'What if I exceed Storage or Processing?',
            a: "We'll warn you before billing any overage. You can upgrade or adjust usage. No surprises." },
          { q: 'Can I change plans?',
            a: "Yes, anytime. If you downgrade, you keep what's left of the prepaid period." }
        ]
      },
      finalCta: {
        h2: 'Start today.',
        sub: 'Connect your first source in under an hour.',
        button: 'Start for free'
      }
    },
    specialists: {
      heroEyebrow: 'For Data Specialists',
      heroH1: 'Data Infrastructure.',
      heroH1Em: 'Built for data analysts.',
      heroSub: 'Connect your databases. Teramot writes production-ready SQL, builds ETL pipelines on its own, and makes all your data accessible to Claude, ChatGPT, or Gemini via MCP.',
      heroStat: '10× faster than traditional data engineering.',
      ctaPrimary: 'Start for free',
      ctaSecondary: 'Read the docs',

      capabilities: {
        h2: 'What Teramot does for you.',
        sub: 'The layer that replaces months of data engineering.',
        items: [
          { icon: 'ph-code', title: 'AI SQL generation',
            body: 'Describe what you need in plain language. Teramot returns optimized, production-ready queries against your actual schema.' },
          { icon: 'ph-stack', title: 'Automated ETL pipelines',
            body: 'Bronze → Silver → Gold built and maintained by AI. Schema evolution, validation, lineage — all handled.' },
          { icon: 'ph-plugs', title: 'Native MCP server',
            body: 'Claude, ChatGPT, Gemini, and any MCP-compatible model access your tables via the Model Context Protocol.' },
          { icon: 'ph-cylinder', title: 'Managed Data Lakehouse',
            body: 'Storage on your AWS or ours. Iceberg + Parquet, scalable, nothing to maintain.' }
        ]
      },

      architecture: {
        h2: 'The architecture.',
        sub: 'Three layers. One place for your AI to understand everything.',
        layers: [
          { tag: 'Bronze', title: 'Raw data', body: 'Incremental ingestion from your sources. Raw data, faithful to the original, versioned.' },
          { tag: 'Silver', title: 'Cleaned & joined', body: 'Validation, deduplication, joins across systems. Stable schemas.' },
          { tag: 'Gold', title: 'Business-ready', body: 'Tables ready for analysis — customer_360, sales_summary, monthly_revenue. Calculated and maintained.' }
        ]
      },

      sql: {
        h2: 'Production-grade SQL. From plain language.',
        sub: 'No more copy-pasting queries from a Slack thread. Teramot knows your schema, your joins, your KPIs.',
        prompt: 'What is the LTV of customers acquired through LinkedIn in the last 12 months, segmented by industry?',
        sqlLines: [
          'WITH linkedin_customers AS (',
          '  SELECT c.customer_id, c.industry, c.acquired_at',
          '  FROM gold.customer_360 c',
          "  WHERE c.acquisition_channel = 'linkedin'",
          "    AND c.acquired_at >= NOW() - INTERVAL '12 months'",
          '),',
          'ltv_per_customer AS (',
          '  SELECT lc.customer_id, lc.industry,',
          '    SUM(t.amount) AS lifetime_value',
          '  FROM linkedin_customers lc',
          '  JOIN gold.transactions t USING (customer_id)',
          '  GROUP BY 1, 2',
          ')',
          'SELECT industry,',
          '  ROUND(AVG(lifetime_value), 2) AS avg_ltv,',
          '  COUNT(*) AS customers',
          'FROM ltv_per_customer',
          'GROUP BY 1',
          'ORDER BY avg_ltv DESC;'
        ]
      },

      integrations: {
        h2: 'Connects to what you already have.',
        sub: 'Databases, warehouses, SaaS — all the major ones, ready out of the box.',
        groups: [
          { label: 'Databases', items: ['PostgreSQL', 'MySQL', 'SQL Server', 'MongoDB', 'Oracle'] },
          { label: 'Warehouses', items: ['Snowflake', 'BigQuery', 'Redshift', 'Databricks', 'Athena'] },
          { label: 'SaaS', items: ['Salesforce', 'HubSpot', 'Stripe', 'Shopify', 'Google Sheets'] },
          { label: 'AI / MCP', items: ['Claude', 'ChatGPT', 'Gemini', 'Cursor', 'MCP standard'] }
        ]
      },

      specs: {
        h2: 'Specs that matter.',
        items: [
          { icon: 'ph-shield-check', title: 'SOC 2 Type II', body: 'Audited. Renewed annually.' },
          { icon: 'ph-cloud', title: 'Your AWS or ours', body: 'Deploy in your own account, with your controls and your peering.' },
          { icon: 'ph-key', title: 'SSO + SAML', body: 'Corporate identity. No user sprawl.' },
          { icon: 'ph-clock-counter-clockwise', title: 'Audit log', body: 'Who queried which table, when, from which client.' },
          { icon: 'ph-file-text', title: 'Custom DPA', body: 'Tailored data processing agreement.' },
          { icon: 'ph-gauge', title: '99.9% SLA', body: 'Uptime guarantee on Enterprise plans.' }
        ]
      },

      cta: {
        h2: 'Replace months of data engineering with one connection.',
        sub: 'Connect your first database in under an hour.',
        primary: 'Start for free',
        secondary: 'Read the docs'
      }
    },

    tutorials: {
      heroEyebrow: 'Tutorials',
      heroH1: 'Learn Teramot in minutes.',
      heroSub: 'Short, step-by-step demos. Clickable, no sign-up, nothing to install. Go at your own pace.',
      durationLabel: 'min',
      embedPending: 'Demo coming soon',
      embedPendingSub: 'Swap me with your Arcade embed URL.',
      items: [
        {
          id: 'first-source',
          number: '01',
          arcadeSrc: 'https://demo.arcade.software/ME2Xn3QLWweOaBZj9rrU?embed&embed_mobile=tab&embed_desktop=inline&show_copy_link=true',
          title: 'Create a new project',
          lede: 'Start from scratch: name, data source, and first connection. Faster than your morning coffee.'
        },
        {
          id: 'ask-mcp',
          number: '02',
          arcadeSrc: 'https://demo.arcade.software/sEPo9awM11WnJwd5gp6r?embed&embed_mobile=tab&embed_desktop=inline&show_copy_link=true',
          title: 'Set up your tables via MCP',
          lede: 'Describe what you need in plain language and Teramot builds the tables — right from Claude or ChatGPT.'
        }
      ],
      finalCta: {
        text: 'Can’t find the tutorial you need?',
        sub: "Tell us what you'd like to learn. We'll record one and send it over.",
        btn: 'Request a tutorial'
      }
    },

    footer: {
      links: [
        { label: 'Our Mission', href: 'mission.html' },
        { label: 'LinkedIn', href: 'https://www.linkedin.com/company/teramot/', external: true },
        { label: 'Privacy Policy', href: 'https://teramot-documentation.s3.us-east-1.amazonaws.com/public/Teramot+-+Website+Privacy+Policy+1.1.pdf', external: true },
        { label: 'Website Terms of Use', href: 'https://teramot-documentation.s3.us-east-1.amazonaws.com/public/Teramot+Website+Terms+of+Use.pdf', external: true }
      ],
      copy: '© ' + new Date().getFullYear() + ' Teramot. All rights reserved.'
    },

    mission: {
      eyebrow: 'About',
      h1: 'Our Mission',
      pillars: [
        {
          label: 'Purpose',
          quote: 'To drive better, evidence-based decisions and shape a smarter world.',
          body: 'At Teramot, we believe that the best decisions are those built on solid evidence and data. Our purpose drives everything we do — empowering organizations to make better decisions backed by comprehensive analysis and insights.'
        },
        {
          label: 'Mission',
          quote: 'To transform raw data into actionable insights, empowering businesses to make faster and better decisions with AI-driven autonomy.',
          body: 'Our mission is straightforward: we take complex, raw data and transform it into clear, actionable insights. By leveraging AI, businesses reach a new level of decision-making autonomy — making smarter decisions faster and with greater confidence.'
        },
        {
          label: 'Vision',
          quote: 'To create a smarter world where every decision is effortlessly powered by all available evidence.',
          body: "We envision a future where companies no longer struggle with data silos, where intelligent systems automatically gather and process all relevant information, and where decision-makers have immediate access to the insights they need. By making evidence-based decision-making effortless, we're building a smarter, more efficient world."
        }
      ],
      joinTitle: 'Join us in our mission',
      joinBody: "We're always looking for partners, clients, and team members who share our passion for data-driven decision making and want to help shape a smarter future.",
      ctaPrimary: 'Start for free'
    }
  }
};

const LangContext = React.createContext(null);

function LangProvider({ children }) {
  const [lang, setLang] = React.useState(() => {
    try {
      const stored = localStorage.getItem('tm-lang');
      if (stored === 'es' || stored === 'en') return stored;
    } catch (e) {}
    return 'es';
  });
  const change = (next) => {
    setLang(next);
    try { localStorage.setItem('tm-lang', next); } catch (e) {}
    document.documentElement.lang = next;
  };
  React.useEffect(() => { document.documentElement.lang = lang; }, [lang]);
  const value = { lang, setLang: change, c: COPY[lang] };
  return <LangContext.Provider value={value}>{children}</LangContext.Provider>;
}

function useLang() { return React.useContext(LangContext); }

Object.assign(window, { COPY, LangContext, LangProvider, useLang });
