/* ─── Aimata DSL Landing Page — style.css ──────────────────────────────────
   Premium dark marketing site with animated hero, glassmorphism cards,
   syntax anatomy diagram, and live demo embed.
   ───────────────────────────────────────────────────────────────────────── */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;600&display=swap');

/* ─── Design Tokens ──────────────────────────────────────────────────── */
:root {
  --bg: #08090e;
  --bg-surface: #0e1018;
  --bg-card: #111420;
  --bg-card-hover: #161929;
  --bg-input: #1a1d2e;
  --border: #1f2235;
  --border-bright: #2d3154;
  --border-glow: rgba(91,138,245,0.3);

  --text: #e8eaf6;
  --text-2: #9fa3c4;
  --text-3: #555878;

  --blue: #5b8af5;
  --blue-dim: #3d5fc4;
  --blue-glow: rgba(91,138,245,0.18);
  --cyan: #42c6d4;
  --purple: #9b7dff;
  --green: #3dd68c;
  --amber: #f5b942;
  --red: #f56565;

  /* DSL syntax colors */
  --s-tag: #5b8af5;
  --s-id: #f5b942;
  --s-cls: #42c6d4;
  --s-prop: #9b7dff;
  --s-val: #3dd68c;
  --s-pipe: #555878;
  --s-bracket: #3d4168;

  /* Code colors */
  --c-fn: #5b8af5;
  --c-param: #42c6d4;
  --c-type: #9b7dff;
  --c-str: #3dd68c;
  --c-import: #9b7dff;
  --c-kw: #f5b942;
  --c-comment: #555878;
  --c-tmpl: #42c6d4;

  --font: 'Inter', system-ui, sans-serif;
  --mono: 'JetBrains Mono', monospace;

  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-xl: 28px;

  --t: 220ms cubic-bezier(0.4,0,0.2,1);
  --t-slow: 400ms cubic-bezier(0.4,0,0.2,1);
}

/* ─── Reset & Base ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
code { font-family: var(--mono); }
img, svg { display: block; }

/* ─── Container ──────────────────────────────────────────────────── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* ─── Nav ────────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(8,9,14,0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1100px; margin: 0 auto; padding: 0 24px;
  height: 60px;
  display: flex; align-items: center; gap: 32px;
}
.nav-logo {
  display: flex; align-items: center; gap: 8px;
  font-size: 15px; letter-spacing: -0.3px;
  color: var(--text);
}
.nav-logo-icon {
  width: 28px; height: 28px;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
}
.nav-logo-icon.small { width: 20px; height: 20px; font-size: 10px; border-radius: 5px; }

.nav-links {
  display: flex; align-items: center; gap: 4px; margin-left: auto;
}
.nav-link {
  display: flex; align-items: center; gap: 6px;
  padding: 6px 12px;
  border-radius: var(--r-sm);
  font-size: 13px; font-weight: 500;
  color: var(--text-2);
  transition: color var(--t), background var(--t);
}
.nav-link:hover { color: var(--text); background: rgba(255,255,255,0.04); }
.nav-link-gh { margin-left: 4px; }
.nav-cta {
  margin-left: 8px;
  padding: 7px 16px;
  background: var(--blue);
  color: #fff;
  border-radius: var(--r-sm);
  font-size: 13px; font-weight: 600;
  transition: background var(--t), transform var(--t), box-shadow var(--t);
}
.nav-cta:hover { background: var(--blue-dim); transform: translateY(-1px); box-shadow: 0 4px 20px rgba(91,138,245,0.35); }

/* ─── Sections ─────────────────────────────────────────────────── */
.section { padding: 96px 0; }
.section-label { font-family: var(--mono); font-size: 12px; color: var(--blue); margin-bottom: 12px; letter-spacing: 0.5px; }
.section-title { font-size: clamp(28px, 4vw, 42px); font-weight: 800; letter-spacing: -1px; line-height: 1.1; margin-bottom: 16px; }
.section-sub { font-size: 17px; color: var(--text-2); line-height: 1.6; max-width: 540px; }

/* ─── Hero ────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 100px 0 80px;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.25;
}
.hero-glow-1 {
  width: 700px; height: 700px;
  background: radial-gradient(circle, var(--blue), transparent 70%);
  top: -200px; left: -100px;
  animation: glow-drift 8s ease-in-out infinite alternate;
}
.hero-glow-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, var(--purple), transparent 70%);
  bottom: -100px; right: 0;
  animation: glow-drift 10s ease-in-out infinite alternate-reverse;
}
@keyframes glow-drift {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(30px, 20px) scale(1.05); }
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(91,138,245,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(91,138,245,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 40%, transparent 100%);
}

.hero-inner { position: relative; z-index: 1; max-width: 1100px; margin: 0 auto; padding: 0 24px; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px;
  background: rgba(91,138,245,0.08);
  border: 1px solid rgba(91,138,245,0.25);
  border-radius: 20px;
  font-size: 12px; font-weight: 500; color: var(--blue);
  margin-bottom: 28px;
}
.badge-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  animation: pulse-badge 2s ease-in-out infinite;
}
@keyframes pulse-badge {
  0%,100% { box-shadow: 0 0 6px var(--green); }
  50% { box-shadow: 0 0 14px var(--green), 0 0 28px rgba(61,214,140,0.3); }
}

.hero-title {
  font-size: clamp(40px, 6vw, 76px);
  font-weight: 900;
  letter-spacing: -2.5px;
  line-height: 1.02;
  margin-bottom: 24px;
}
.gradient-text {
  background: linear-gradient(135deg, var(--blue) 0%, var(--purple) 50%, var(--cyan) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--text-2);
  line-height: 1.6;
  max-width: 580px;
  margin-bottom: 40px;
  font-weight: 400;
}

.hero-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 64px; }

.install-box {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-bright);
  border-radius: var(--r-sm);
  font-family: var(--mono);
  font-size: 14px;
  transition: border-color var(--t), box-shadow var(--t);
}
.install-box:hover { border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-glow); }
.install-prefix { color: var(--text-3); user-select: none; }
.install-cmd { color: var(--text); }
.install-copy {
  display: flex; align-items: center; justify-content: center;
  width: 28px; height: 28px;
  background: transparent;
  border: 1px solid var(--border-bright);
  border-radius: 5px;
  color: var(--text-3);
  cursor: pointer;
  transition: color var(--t), border-color var(--t), background var(--t);
}
.install-copy:hover { color: var(--blue); border-color: var(--blue); background: var(--blue-glow); }

.btn-primary {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 11px 22px;
  background: var(--blue);
  color: #fff;
  border-radius: var(--r-sm);
  font-size: 14px; font-weight: 600;
  transition: background var(--t), transform var(--t), box-shadow var(--t);
  border: none; cursor: pointer;
}
.btn-primary:hover { background: var(--blue-dim); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(91,138,245,0.4); }

.btn-outline {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 11px 22px;
  background: transparent;
  color: var(--text-2);
  border: 1px solid var(--border-bright);
  border-radius: var(--r-sm);
  font-size: 14px; font-weight: 600;
  transition: color var(--t), border-color var(--t), background var(--t);
}
.btn-outline:hover { color: var(--text); border-color: var(--blue); background: var(--blue-glow); }

.hero-stats {
  display: flex; align-items: center; gap: 0;
  flex-wrap: wrap;
}
.hero-stat { padding: 0 28px; text-align: center; }
.hero-stat:first-child { padding-left: 0; }
.stat-num { display: block; font-size: 26px; font-weight: 800; letter-spacing: -1px; color: var(--text); }
.stat-label { font-size: 12px; color: var(--text-3); margin-top: 2px; display: block; }
.hero-stat-sep { width: 1px; height: 36px; background: var(--border-bright); }

/* ─── Demo Section ────────────────────────────────────────────── */
.demo-section { background: linear-gradient(180deg, transparent, var(--bg-surface) 30%, var(--bg-surface) 70%, transparent); }

.demo-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0;
  align-items: stretch;
  margin-top: 48px;
  border: 1px solid var(--border-bright);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--bg-card);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 0 1px rgba(91,138,245,0.08);
  min-height: 340px;
}

.demo-pane { display: flex; flex-direction: column; min-width: 0; }
.demo-pane-header {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px;
  background: var(--bg-input);
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.demo-pane-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.demo-pane-dot.blue { background: var(--blue); box-shadow: 0 0 6px var(--blue); }
.demo-pane-dot.cyan { background: var(--cyan); box-shadow: 0 0 6px var(--cyan); }
.demo-pane-label { font-size: 11px; font-weight: 600; letter-spacing: 0.5px; text-transform: uppercase; color: var(--text-3); }
.demo-tabs { display: flex; gap: 2px; margin-left: auto; }
.demo-tab {
  padding: 4px 10px;
  border: 1px solid transparent;
  border-radius: 5px;
  background: transparent;
  color: var(--text-3);
  font-family: var(--font);
  font-size: 11px; font-weight: 500;
  cursor: pointer;
  transition: var(--t);
}
.demo-tab:hover { color: var(--text-2); }
.demo-tab.active { background: rgba(91,138,245,0.12); border-color: rgba(91,138,245,0.3); color: var(--blue); }
.demo-ratio { margin-left: auto; font-size: 11px; font-family: var(--mono); color: var(--green); font-weight: 600; }

.demo-editor {
  flex: 1;
  padding: 16px;
  background: transparent;
  border: none;
  color: var(--text);
  font-family: var(--mono);
  font-size: 12.5px;
  line-height: 1.7;
  resize: none;
  outline: none;
  tab-size: 2;
}
.demo-editor::placeholder { color: var(--text-3); }
.demo-output { white-space: pre-wrap; word-break: break-all; overflow-y: auto; }

.demo-arrow {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 0 8px;
  gap: 6px;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  background: var(--bg-input);
  min-width: 60px;
}
.arrow-line { flex: 1; width: 1px; background: var(--border-bright); }
.arrow-label {
  writing-mode: vertical-lr;
  font-size: 10px; font-weight: 600; letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--blue);
  opacity: 0.7;
}

/* DSL syntax highlight classes */
.dsl-bracket { color: var(--s-bracket); }
.dsl-tag     { color: var(--s-tag); font-weight: 600; }
.dsl-id      { color: var(--s-id); }
.dsl-class   { color: var(--s-cls); }
.dsl-prop-key{ color: var(--s-prop); }
.dsl-prop-eq { color: var(--s-pipe); }
.dsl-prop-val{ color: var(--s-val); }
.dsl-pipe    { color: var(--s-pipe); }
.dsl-text    { color: var(--text); }

/* ─── Steps ────────────────────────────────────────────────────── */
.steps-grid {
  display: flex; align-items: center; gap: 16px;
  margin-top: 56px;
  flex-wrap: wrap;
}
.step-card {
  flex: 1; min-width: 220px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px;
  position: relative;
  overflow: hidden;
  transition: border-color var(--t), transform var(--t), box-shadow var(--t);
}
.step-card:hover { border-color: var(--border-bright); transform: translateY(-4px); box-shadow: 0 16px 48px rgba(0,0,0,0.4); }
.step-num { position: absolute; top: 20px; right: 20px; font-size: 48px; font-weight: 900; color: var(--border); line-height: 1; }
.step-icon { font-size: 28px; margin-bottom: 12px; }
.step-title { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.step-body { font-size: 14px; color: var(--text-2); line-height: 1.6; margin-bottom: 16px; }
.step-code {
  padding: 8px 12px;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  font-size: 11.5px; color: var(--cyan);
  word-break: break-all;
}
.step-connector {
  font-size: 24px; color: var(--text-3);
  flex-shrink: 0;
  align-self: center;
  padding-bottom: 32px;
}

/* ─── Syntax Anatomy ───────────────────────────────────────────── */
.syntax-section { background: linear-gradient(180deg, transparent, var(--bg-surface) 30%, var(--bg-surface) 70%, transparent); }

.syntax-anatomy {
  margin: 48px 0 40px;
  background: var(--bg-card);
  border: 1px solid var(--border-bright);
  border-radius: var(--r-lg);
  padding: 32px 24px 64px;
  position: relative;
  overflow: visible;
}

.anatomy-code {
  font-family: var(--mono);
  font-size: clamp(12px, 2vw, 18px);
  line-height: 1.5;
  word-break: break-all;
}

.at { display: inline; }
.at.tag { color: var(--s-tag); font-weight: 700; }
.at.id { color: var(--s-id); }
.at.cls { color: var(--s-cls); }
.at.props { color: var(--s-prop); }
.at.pipe { color: var(--s-pipe); }
.at.children { color: var(--text); }

.anatomy-labels { position: absolute; bottom: 8px; left: 24px; right: 24px; height: 40px; }
.anatomy-label {
  position: absolute;
  font-size: 10px; color: var(--text-3);
  display: flex; flex-direction: column; align-items: center;
  gap: 2px;
}
.al-line { width: 1px; height: 10px; background: var(--border-bright); }

.syntax-table-wrap { overflow-x: auto; margin-top: 8px; }
.syntax-table {
  width: 100%; border-collapse: collapse;
  font-size: 14px;
}
.syntax-table th {
  text-align: left; padding: 10px 16px;
  border-bottom: 1px solid var(--border-bright);
  color: var(--text-3); font-size: 11px; text-transform: uppercase; letter-spacing: 0.5px;
  font-weight: 600;
}
.syntax-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--text-2);
  vertical-align: middle;
}
.syntax-table td:first-child { color: var(--text); font-weight: 500; }
.syntax-table td code { color: var(--cyan); font-size: 12px; background: var(--bg-input); padding: 2px 6px; border-radius: 4px; }
.syntax-table tr:hover td { background: rgba(255,255,255,0.015); }

/* ─── API Cards ────────────────────────────────────────────────── */
.api-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(480px, 1fr)); gap: 16px; margin-top: 48px; }
.api-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px;
  transition: border-color var(--t), transform var(--t);
}
.api-card:hover { border-color: var(--border-bright); transform: translateY(-2px); }
.api-sig {
  font-family: var(--mono);
  font-size: 12.5px;
  padding: 10px 14px;
  background: var(--bg-input);
  border-radius: var(--r-sm);
  margin-bottom: 14px;
  word-break: break-all;
  border: 1px solid var(--border);
}
.api-fn { color: var(--blue); }
.api-param { color: var(--cyan); }
.api-type { color: var(--purple); }
.api-desc { font-size: 14px; color: var(--text-2); line-height: 1.6; margin-bottom: 16px; }
.api-example pre {
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 14px;
  overflow-x: auto;
}
.api-example code { font-size: 12px; line-height: 1.8; }

/* Code syntax colors */
.c-fn      { color: var(--blue); }
.c-param   { color: var(--cyan); }
.c-type    { color: var(--purple); }
.c-str     { color: var(--green); }
.c-import  { color: var(--purple); }
.c-kw      { color: var(--amber); }
.c-comment { color: var(--text-3); font-style: italic; }
.c-tmpl    { color: var(--cyan); }

/* ─── Packages ─────────────────────────────────────────────────── */
.packages-section { background: linear-gradient(180deg, transparent, var(--bg-surface) 30%, var(--bg-surface) 70%, transparent); }

.pkg-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; margin-top: 48px; }
.pkg-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px;
  transition: border-color var(--t), transform var(--t), box-shadow var(--t);
}
.pkg-card:hover { border-color: var(--border-bright); transform: translateY(-3px); box-shadow: 0 12px 40px rgba(0,0,0,0.4); }
.pkg-card-featured {
  border-color: rgba(91,138,245,0.35);
  background: linear-gradient(135deg, rgba(91,138,245,0.06), var(--bg-card));
  box-shadow: 0 0 40px rgba(91,138,245,0.08), inset 0 0 0 1px rgba(91,138,245,0.1);
}
.pkg-card-featured:hover { border-color: var(--blue); box-shadow: 0 0 60px rgba(91,138,245,0.15), inset 0 0 0 1px rgba(91,138,245,0.2); }
.pkg-header { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.pkg-icon { font-size: 24px; flex-shrink: 0; }
.pkg-name { font-family: var(--mono); font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: 4px; }
.pkg-status { font-size: 11px; font-weight: 500; }
.pkg-status-live { color: var(--green); }
.pkg-status-soon { color: var(--text-3); }
.pkg-desc { font-size: 13.5px; color: var(--text-2); line-height: 1.6; margin-bottom: 16px; }
.pkg-install {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 12px;
  background: var(--bg-input);
  border: 1px solid var(--border-bright);
  border-radius: var(--r-sm);
  font-family: var(--mono); font-size: 12px; color: var(--text);
  margin-bottom: 14px;
}
.pkg-copy {
  margin-left: auto;
  background: none; border: none;
  color: var(--text-3); cursor: pointer;
  font-size: 13px;
  transition: color var(--t);
  padding: 0 4px;
}
.pkg-copy:hover { color: var(--blue); }
.pkg-features { display: flex; flex-wrap: wrap; gap: 6px; }
.pkg-features span { font-size: 11.5px; color: var(--text-2); background: var(--bg-input); padding: 3px 8px; border-radius: 4px; }

/* ─── Use Cases ─────────────────────────────────────────────────── */
.uc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; margin-top: 48px; }
.uc-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px;
  transition: border-color var(--t), transform var(--t);
}
.uc-card:hover { border-color: var(--border-bright); transform: translateY(-3px); }
.uc-icon { font-size: 28px; margin-bottom: 12px; }
.uc-title { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.uc-body { font-size: 14px; color: var(--text-2); line-height: 1.6; margin-bottom: 16px; }
.uc-code {
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 14px;
  font-size: 12px;
  overflow-x: auto;
}
.uc-code code { line-height: 1.8; }

/* ─── CTA ───────────────────────────────────────────────────────── */
.cta-section { padding-bottom: 120px; }
.cta-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid rgba(91,138,245,0.25);
  border-radius: var(--r-xl);
  padding: 64px;
  text-align: center;
  overflow: hidden;
}
.cta-glow {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(91,138,245,0.12), transparent 70%);
  pointer-events: none;
}
.cta-title { font-size: clamp(28px, 4vw, 48px); font-weight: 900; letter-spacing: -1.5px; margin-bottom: 12px; }
.cta-sub { font-size: 17px; color: var(--text-2); margin-bottom: 32px; }
.cta-actions { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; margin-bottom: 24px; }
.cta-install {
  font-family: var(--mono); font-size: 13px; color: var(--text-3);
  background: var(--bg-input);
  display: inline-block; padding: 8px 20px; border-radius: var(--r-sm);
}

/* ─── Footer ────────────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
}
.footer-inner {
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
}
.footer-brand {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 500;
}
.footer-version { font-family: var(--mono); font-size: 11px; color: var(--text-3); }
.footer-links { display: flex; gap: 4px; margin-left: auto; }
.footer-link {
  padding: 6px 10px;
  font-size: 13px; color: var(--text-3);
  border-radius: var(--r-sm);
  transition: color var(--t), background var(--t);
}
.footer-link:hover { color: var(--text-2); background: rgba(255,255,255,0.04); }
.footer-copy { font-size: 12px; color: var(--text-3); }

/* ─── Scrollbar ─────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border-bright); border-radius: 3px; }

/* ─── Responsive ────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .nav-links { gap: 2px; }
  .nav-link:not(.nav-cta):not(.nav-link-gh) { display: none; }
  .hero { padding: 90px 0 60px; min-height: auto; }
  .hero-stats { gap: 0; }
  .hero-stat { padding: 0 16px; }
  .steps-grid { flex-direction: column; }
  .step-connector { transform: rotate(90deg); padding: 0; align-self: auto; }
  .api-grid { grid-template-columns: 1fr; }
  .cta-card { padding: 40px 24px; }
  .anatomy-labels { display: none; }
  .syntax-anatomy { padding-bottom: 28px; }
  .demo-grid { grid-template-columns: 1fr; grid-template-rows: auto auto auto; }
  .demo-arrow { flex-direction: row; padding: 8px; border: none; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); min-width: unset; min-height: 40px; }
  .arrow-line { flex: 1; height: 1px; width: auto; }
  .arrow-label { writing-mode: unset; }
}
