<script setup lang="ts">
import { useTheme, useCopy } from '~/composables/useLanding'

definePageMeta({ layout: 'page' })

const t = useTheme()
const copy = useCopy()
const c = computed(() => copy.value.pages.roadmap)

useHead({ title: () => `${copy.value.pages.roadmap.label} · dezky` })
</script>

<template>
  <LandingPageHeader :label="c.label" :title="c.title" :intro="c.intro" />

  <LandingContainer pad="56px 64px 160px">
    <div :style="{ display: 'grid', gridTemplateColumns: 'repeat(3, 1fr)', gap: '0', border: `1px solid ${t.border}`, borderRadius: '4px', overflow: 'hidden' }">
      <div
        v-for="(col, i) in c.columns" :key="i"
        :style="{ padding: '32px 28px', borderLeft: i === 0 ? 'none' : `1px solid ${t.border}`, background: t.surface, minHeight: '260px' }"
      >
        <div :style="{ display: 'flex', alignItems: 'center', gap: '10px', marginBottom: '24px' }">
          <span :style="{ width: '6px', height: '6px', borderRadius: '999px', background: i === 0 ? t.signal : t.fgDim }" />
          <span :style="{ fontFamily: '\'JetBrains Mono\', monospace', fontSize: '11px', color: t.fgMuted, letterSpacing: '0.08em', textTransform: 'uppercase' }">{{ col[0] }}</span>
        </div>
        <div :style="{ display: 'flex', flexDirection: 'column', gap: '14px' }">
          <div
            v-for="(item, j) in col[1]" :key="j"
            :style="{ fontFamily: '\'Inter\', sans-serif', fontSize: '15px', lineHeight: 1.5, color: t.fg }"
          >{{ item }}</div>
        </div>
      </div>
    </div>
  </LandingContainer>
</template>
