:root {
  --bg: #0a0b10;
  --bg-alt: #111318;
  --bg-card: #151822;
  --border: #1f2330;
  --text: #ffffff;
  --text-dim: #a0a8b8;
  --text-muted: #6b7280;
  --accent: #4a7dff;
  --accent-light: #e7f2ff;
  --accent-hover: #7ba0ff;
  --purple: #8b5cf6;
  --gradient: linear-gradient(90deg, #8b5cf6 0%, #4a7dff 100%);
  --header-bg: rgba(10, 11, 16, 0.85);
  --input-bg: #111318;
  --table-header-bg: #1a1d28;
  --pre-bg: #0f1117;
  --pre-text: #d1d5db;
  --code-bg: #1a1d28;
  --code-text: #a7c4ff;
  --dataset-bg: #151822;
  --stat-divider: 1px solid var(--border);
}

[data-theme="light"] {
  --bg: #ffffff;
  --bg-alt: #f2f8fe;
  --bg-card: #ffffff;
  --border: #e2e8f0;
  --text: #0a0b14;
  --text-dim: #475569;
  --text-muted: #94a3b8;
  --accent: #1f5bff;
  --accent-light: #e7f2ff;
  --accent-hover: #0553a5;
  --purple: #6627e3;
  --gradient: linear-gradient(90deg, #6627e3 0%, #1f5bff 100%);
  --header-bg: rgba(255, 255, 255, 0.9);
  --input-bg: #ffffff;
  --table-header-bg: #e7f2ff;
  --pre-bg: #0f1117;
  --pre-text: #d1d5db;
  --code-bg: #e7f2ff;
  --code-text: #0553a5;
  --dataset-bg: #ffffff;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }
.dataset-block[id] { scroll-margin-top: 88px; }

body {
  font-family: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
}

.container { max-width: 1360px; margin: 0 auto; padding: 0 24px; }

/* Header */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--header-bg);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

body { transition: background 0.25s, color 0.25s; }

.theme-toggle {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-dim);
  padding: 8px 10px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
  transition: border-color 0.2s, color 0.2s;
  margin-right: 12px;
}
.theme-toggle:hover { border-color: var(--accent); color: var(--accent); }
.nav-right { display: flex; align-items: center; }
.nav-right .btn { padding: 14px 28px; }
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  max-width: 1360px;
  margin: 0 auto;
}
.logo {
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.02em;
  color: var(--text);
  text-decoration: none;
}
.logo span { color: var(--accent); }
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }

.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: 500;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
  font-family: inherit;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-secondary { background: transparent; color: var(--text); border: 1px solid var(--border); }
.btn-secondary:hover { border-color: var(--accent); color: var(--accent-light); }
.btn-ghost { background: transparent; color: var(--accent); padding: 12px 8px; }
.btn-ghost:hover { color: var(--accent-hover); }

/* Sections */
section { padding: 100px 0; border-bottom: 1px solid var(--border); }
section:last-of-type { border-bottom: none; }
h1, h2, h3, h4 { font-weight: 500; letter-spacing: -0.02em; line-height: 1.15; }
h2 { font-size: 40px; margin-bottom: 16px; }
h3 { font-size: 24px; margin-bottom: 12px; }
h4 { font-size: 18px; margin-bottom: 8px; color: var(--text); }
p { color: var(--text-dim); margin-bottom: 16px; }
.eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 16px;
  display: block;
}
.section-lead { font-size: 18px; max-width: 780px; margin-bottom: 48px; }

/* Hero */
.hero { padding: 140px 0 120px; text-align: left; position: relative; overflow: hidden; }
.hero::before {
  content: '';
  position: absolute;
  top: -20%; right: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(102,39,227,0.08), transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -30%; left: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(31,91,255,0.08), transparent 70%);
  pointer-events: none;
}
.hero-content { position: relative; z-index: 1; }
.hero h1 {
  font-size: 64px;
  font-weight: 500;
  max-width: 900px;
  margin-bottom: 24px;
  letter-spacing: -0.03em;
}
.hero h1 .gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero p { font-size: 20px; max-width: 720px; margin-bottom: 16px; }
.hero-subhead {
  font-size: 22px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}
.hero .tagline {
  font-weight: 500;
  color: var(--text);
  border-left: 3px solid var(--accent);
  padding-left: 16px;
  margin-bottom: 40px;
  font-size: 18px;
}
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* Stats */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: 64px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stat {
  padding: 40px 32px;
  border-right: 1px solid var(--border);
  background: transparent;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.stat:last-child { border-right: none; }
.stat-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 500;
  order: 1;
}
.stat-num {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 56px;
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  order: 2;
}

/* Cards grid */
.card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.card-grid.three { grid-template-columns: repeat(3, 1fr); }

.lifecycle-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 48px;
}
.lifecycle-step {
  padding: 24px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.lifecycle-step .num {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 14px;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}
.lifecycle-step h4 { margin-bottom: 4px; }
.lifecycle-step p { font-size: 14px; margin-bottom: 0; }
@media (max-width: 1100px) {
  .lifecycle-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 700px) {
  .lifecycle-grid { grid-template-columns: 1fr; }
}
.card {
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-card);
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.card:hover { border-color: rgba(31, 91, 255, 0.3); box-shadow: 0 12px 32px rgba(31,91,255,0.08); }
.card h4 { color: var(--text); font-size: 18px; margin-bottom: 8px; }
.card ul { padding-left: 18px; margin: 12px 0 0; color: var(--text-dim); }
.card ul li { margin-bottom: 10px; line-height: 1.55; }
.card ul li:last-child { margin-bottom: 0; }
.card ul li strong { color: var(--text); font-weight: 500; }

.custom-cta { margin-top: 48px; text-align: left; }
.custom-cta .btn { padding: 14px 32px; font-size: 15px; }
.card p { font-size: 14px; color: var(--text-dim); margin: 0; }
.card .tag {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
  display: block;
}

/* Dataset block */
.dataset-block {
  position: relative;
  background: var(--dataset-bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px 36px 32px 44px;
  margin-bottom: 20px;
  overflow: hidden;
  transition: box-shadow 0.25s, transform 0.25s, border-color 0.25s;
}
.dataset-block::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--gradient);
  opacity: 0.9;
}
.dataset-block:hover {
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.08);
  border-color: rgba(31, 91, 255, 0.3);
}
.dataset-block h3 {
  font-size: 26px;
  margin-bottom: 20px;
  display: flex;
  align-items: baseline;
  gap: 16px;
  letter-spacing: -0.02em;
}
.dataset-block h3 .num {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 40px;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  flex-shrink: 0;
}
.dataset-block h4 {
  margin-top: 28px;
  margin-bottom: 10px;
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  position: relative;
  padding-bottom: 6px;
}
.dataset-block h4::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 32px; height: 2px;
  background: var(--gradient);
}
.dataset-block ul {
  list-style: none;
  padding: 0;
  color: var(--text-dim);
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 12px 0;
}
.dataset-block ul li {
  position: relative;
  padding-left: 22px;
  line-height: 1.6;
}
.dataset-block ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  width: 10px;
  height: 2px;
  background: var(--gradient);
  border-radius: 2px;
}
.dataset-block a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.dataset-block a:hover { border-bottom-color: var(--accent); }
.dataset-block .dataset-sample {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.dataset-block .dataset-sample a {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  letter-spacing: 0.02em;
  border-bottom: none;
}
.dataset-block .dataset-sample a:hover {
  color: var(--accent-hover);
}
.dataset-block strong { color: var(--text); font-weight: 600; }
.dataset-block em { color: var(--text-muted); font-style: italic; }
.dataset-tagline {
  font-size: 18px;
  font-weight: 500;
  color: var(--text);
  margin-top: -8px;
  margin-bottom: 20px;
  padding-left: 12px;
  border-left: 2px solid var(--accent);
}
.dataset-block p { color: var(--text-dim); }
.dataset-block table { background: var(--dataset-bg); border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }
.dataset-block th { background: var(--table-header-bg); }

/* Tables */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 14px;
}
th, td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
th {
  font-weight: 500;
  color: var(--text);
  background: var(--table-header-bg);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
td { color: var(--text-dim); }
td:first-child { color: var(--text); font-weight: 400; }

/* Language coverage grid */
.lang-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0 24px;
  background: var(--dataset-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 20px;
  margin: 20px 0 12px;
}
.lang-row {
  display: grid;
  grid-template-columns: 52px 1fr 36px;
  gap: 12px;
  align-items: center;
  padding: 10px 0;
  font-size: 14px;
  border-bottom: 1px solid var(--border);
}
.lang-name { color: var(--text); }
.lang-count { color: var(--text-dim); text-align: right; font-variant-numeric: tabular-nums; }
.lang-bar {
  display: block;
  height: 6px;
  background: var(--border);
  border-radius: 3px;
  overflow: hidden;
}
.lang-bar-fill {
  display: block;
  height: 100%;
  background: var(--accent);
  border-radius: 3px;
}
.lang-row:nth-child(n+10) { border-bottom: none; }

.lang-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 600;
  background: var(--table-header-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  margin: 0 0 20px;
}
.lang-total span:last-child { font-variant-numeric: tabular-nums; }

/* Challenge block */
.challenge {
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
}
.challenge:last-child { border-bottom: none; }
.challenge h4 {
  color: var(--text);
  font-size: 20px;
  margin-bottom: 12px;
}
.challenge .outcome {
  margin-top: 12px;
  padding-left: 16px;
  border-left: 3px solid var(--accent);
  color: var(--text);
}
.challenge .outcome strong { color: var(--accent); }

/* Dataset tabs (desktop filter) */
.ds-tabs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin: 24px 0 20px;
}
.ds-tab {
  position: relative;
  background: var(--dataset-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 18px 18px;
  text-align: left;
  cursor: pointer;
  color: var(--text);
  font-family: inherit;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.ds-tab::before {
  content: '';
  position: absolute;
  left: 0; top: 0; right: 0;
  height: 3px;
  background: var(--gradient);
  opacity: 0;
  transition: opacity 0.2s;
}
.ds-tab:hover {
  border-color: rgba(31, 91, 255, 0.3);
}
.ds-tab.active {
  border-color: var(--accent);
  box-shadow: 0 12px 32px rgba(31, 91, 255, 0.08);
}
.ds-tab.active::before { opacity: 1; }
.ds-tab-num {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 0.1em;
  font-weight: 500;
}
.ds-tab-title {
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  letter-spacing: -0.01em;
  line-height: 1.3;
}
.ds-tab-sub {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--border);
}
/* Datasets: all panels always visible; tabs become a sticky scrollspy nav on desktop only */
.ds-panel { display: block; }
.ds-tabs { display: none; }
#datasets { padding: 64px 0; }

@media (min-width: 1024px) {
  .ds-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 32px;
    align-items: start;
  }
  .ds-layout .ds-tabs {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin: 0;
    position: sticky;
    top: 88px;
    max-height: calc(100vh - 108px);
    overflow-y: auto;
  }
  .ds-layout .ds-tab {
    padding: 12px 14px 10px;
    gap: 2px;
    border-radius: 10px;
  }
  .ds-layout .ds-tab-num { font-size: 11px; }
  .ds-layout .ds-tab-title { font-size: 14px; line-height: 1.3; }
  .ds-layout .ds-tab-sub {
    font-size: 10px;
    padding-top: 6px;
    margin-top: 4px;
  }
  .ds-layout .ds-panels {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
  }
  .ds-layout .dataset-block { margin-bottom: 0; }
}

@media (min-width: 1440px) {
  .ds-layout { grid-template-columns: 300px 1fr; gap: 48px; }
}

/* Two-column split inside a dataset panel */
.ds-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 8px;
}
.ds-split > div > h4:first-child { margin-top: 0; }
@media (min-width: 1024px) {
  .ds-layout .ds-split {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .ds-layout .ds-split h4 { margin-top: 16px; }
  .ds-layout .ds-split > div > h4:first-child { margin-top: 0; }
  .ds-layout .ds-split ul { gap: 6px; margin: 10px 0; }
  .ds-layout .ds-split ul li { line-height: 1.5; }
  .ds-layout .ds-split ul li::before { top: 10px; }
  .ds-layout .ds-split > div > p:last-child { margin-bottom: 0; }
  .ds-layout .dataset-block .dataset-sample { margin-top: 18px; padding-top: 14px; }
  .ds-layout .ds-split .lang-grid {
    grid-template-columns: 1fr 1fr;
    padding: 6px 16px;
    gap: 0 20px;
  }
  .ds-layout .ds-split .lang-grid .lang-row {
    padding: 7px 0;
    grid-template-columns: 44px 1fr 32px;
    gap: 10px;
    font-size: 13px;
  }
  .ds-layout .ds-split .lang-grid .lang-row:nth-child(n+10) {
    border-bottom: 1px solid var(--border);
  }
  .ds-layout .ds-split .lang-grid .lang-row:nth-child(n+11),
  .ds-layout .ds-split .lang-grid .lang-row:nth-last-child(-n+2) {
    border-bottom: none;
  }
}

/* Compact metric grid (replaces Snapshot table in panel-01) */
.metric-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 14px 0 16px;
}
.metric {
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--dataset-bg);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.metric-num {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.1;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.metric-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.pricing-card {
  padding: 36px 32px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--dataset-bg);
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
  display: flex;
  flex-direction: column;
}
.pricing-card:hover { border-color: rgba(31, 91, 255, 0.3); box-shadow: 0 16px 40px rgba(31,91,255,0.08); }
.pricing-card.highlight {
  border-color: transparent;
  position: relative;
  background: var(--dataset-bg);
}
.pricing-card.highlight::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 13px;
  background: var(--gradient);
  z-index: -1;
}
.pricing-card.highlight::after {
  content: 'Most flexible';
  position: absolute;
  top: -12px; right: 24px;
  background: var(--gradient);
  color: #fff;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  border-radius: 4px;
}
.pricing-num {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 48px;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
  margin: 20px 0 16px;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.pricing-num span { font-size: 28px; }
.pricing-card p { color: var(--text-dim); margin-bottom: 20px; }
.pricing-card ul {
  list-style: none;
  padding: 0;
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pricing-card ul li {
  font-size: 14px;
  color: var(--text-dim);
  padding-left: 24px;
  position: relative;
}
.pricing-card ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 600;
}
.pricing-note { text-align: center; margin-top: 32px; color: var(--text-muted); font-size: 14px; }
.pricing-note a { color: var(--accent); text-decoration: none; border-bottom: 1px solid transparent; transition: border-color 0.2s; }
.pricing-note a:hover { border-bottom-color: var(--accent); }

/* About grid */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 48px;
}
.about-grid h4 {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 16px;
}
.about-grid p { font-size: 16px; line-height: 1.7; color: var(--text-dim); }

/* Blog list */
.blog-list { display: flex; flex-direction: column; gap: 24px; margin-top: 32px; }
.blog-card {
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-card);
  text-decoration: none;
  color: inherit;
  display: block;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.blog-card:hover { border-color: rgba(31, 91, 255, 0.3); box-shadow: 0 12px 32px rgba(31,91,255,0.08); }
.blog-date {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  color: var(--accent);
  margin-bottom: 8px;
  display: block;
}
.blog-card h4 { font-size: 20px; margin-bottom: 8px; color: var(--text); }
.blog-card p { font-style: italic; color: var(--text-muted); margin: 0; font-size: 14px; }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 32px;
}
.contact-info p { color: var(--text-dim); margin-bottom: 8px; }
.contact-info strong { color: var(--text); }
.contact-info a { color: var(--accent); text-decoration: none; }
form { display: flex; flex-direction: column; gap: 12px; }
input, textarea {
  background: var(--input-bg);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 14px 16px;
  border-radius: 6px;
  font-family: inherit;
  font-size: 14px;
  transition: border-color 0.2s;
}
input::placeholder, textarea::placeholder { color: var(--text-muted); }
input:focus, textarea:focus { outline: none; border-color: var(--accent); }
textarea { min-height: 100px; resize: vertical; }
label.checkbox { font-size: 12px; color: var(--text-muted); display: flex; gap: 8px; align-items: flex-start; }
label.checkbox input { margin-top: 3px; }
.form-status { font-size: 13px; color: var(--text-dim); min-height: 1em; margin-top: 4px; }
.form-status[data-state="ok"] { color: var(--accent); }
.form-status[data-state="error"] { color: #ef4444; }
form button[disabled] { opacity: 0.6; cursor: not-allowed; }

/* Footer */
footer {
  padding: 40px 24px;
  border-top: 1px solid var(--border);
  text-align: center;
  color: var(--text-muted);
  font-size: 13px;
}

/* Article */
.article {
  max-width: 760px;
  margin: 0 auto;
  padding: 140px 24px 80px;
}
.article .read-time {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.article h1 { font-size: 44px; margin: 12px 0 24px; }
.article .subtitle { font-size: 18px; color: var(--text-dim); font-style: italic; margin-bottom: 48px; }
.article h2 { font-size: 28px; margin-top: 48px; margin-bottom: 16px; }
.article h3 { font-size: 20px; margin-top: 32px; margin-bottom: 12px; }
.article p, .article li { color: var(--text-dim); font-size: 16px; line-height: 1.75; }
.article ul, .article ol { padding-left: 0; margin-bottom: 20px; list-style: none; }
.article ol { counter-reset: olc; }
.article li { margin-bottom: 10px; padding-left: 26px; position: relative; }
.article ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 12px;
  height: 2px;
  background: var(--gradient);
  border-radius: 2px;
}
.article ol li {
  counter-increment: olc;
}
.article ol li::before {
  content: counter(olc);
  position: absolute;
  left: 0;
  top: 0;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  background: var(--code-bg);
  border-radius: 4px;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 4px;
}
.article li ul, .article li ol { margin-top: 8px; margin-bottom: 0; }
.article a { color: var(--accent); }
.article blockquote { border-left: 3px solid var(--accent); padding-left: 20px; margin: 24px 0; color: var(--text); font-style: italic; }
.article code {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  background: var(--code-bg);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--code-text);
}
.article pre {
  background: var(--pre-bg);
  padding: 20px;
  border-radius: 8px;
  overflow-x: auto;
  margin: 20px 0;
  border: 1px solid var(--border);
}
.article pre code { background: transparent; padding: 0; font-size: 13px; color: var(--pre-text); }
.article strong { color: var(--text); font-weight: 500; }
.back { display: inline-block; margin-bottom: 24px; color: var(--accent); text-decoration: none; font-size: 14px; }
.back:hover { text-decoration: underline; }

@media (max-width: 860px) {
  h2 { font-size: 32px; }
  .hero {
    min-height: calc(100svh - 72px);
    padding: 40px 0;
    display: flex;
    align-items: center;
  }
  .hero .container { width: 100%; }
  .hero h1 { font-size: 40px; }
  .hero p { font-size: 17px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--border); }
  .stat-num { font-size: 44px; }
  .card-grid, .card-grid.three { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  section { padding: 60px 0; }
  .dataset-block { padding: 28px 24px 28px 32px; }
  .pricing-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-subhead { font-size: 18px; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .dataset-block h3 { font-size: 22px; gap: 12px; }
  .dataset-block h3 .num { font-size: 30px; }
  .article h1 { font-size: 32px; }
  .lang-grid { grid-template-columns: repeat(2, 1fr); gap: 0 16px; padding: 8px 14px; }
  .lang-grid .lang-row { grid-template-columns: 44px 1fr 32px; gap: 8px; }
  .lang-grid .lang-row:nth-child(n+10) { border-bottom: 1px solid var(--border); }
  .lang-grid .lang-row:nth-child(n+11) { border-bottom: none; }
  .lang-total { padding: 12px 16px; }
}
