/* ── Reset & Base ────────────────────────────────────────── */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg-body: #09090b;
  --bg-card: #18181b;
  --bg-code: #111113;
  --text-primary: #fafafa;
  --text-secondary: #a1a1aa;
  --text-tertiary: #71717a;
  --accent-start: #6366f1;
  --accent-end: #a855f7;
  --border: #27272a;
  --border-hover: #3f3f46;
  --radius: 12px;
  --font-sans: system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, 'Cascadia Code', 'Source Code Pro', Menlo, Consolas, 'DejaVu Sans Mono', monospace;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background: var(--bg-body);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img, svg {
  display: block;
  max-width: 100%;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

/* ── Typography ──────────────────────────────────────────── */
h1, h2, h3, h4 {
  line-height: 1.2;
  font-weight: 700;
}

h1 {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  letter-spacing: -0.02em;
}

h3 {
  font-size: clamp(1.125rem, 2vw, 1.375rem);
}

.gradient-text {
  background: linear-gradient(135deg, var(--accent-start), var(--accent-end));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-label {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-start);
  margin-bottom: 0.75rem;
}

/* ── Layout ──────────────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: 6rem 0;
}

/* ── Nav ─────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(9, 9, 11, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-logo {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
}

.nav-logo span {
  color: var(--accent-start);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.875rem;
  color: var(--text-secondary);
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--text-primary);
}

.nav-links .github-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.875rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.875rem;
  transition: border-color 0.2s, background 0.2s;
}

.nav-links .github-link:hover {
  border-color: var(--border-hover);
  background: var(--bg-card);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

.nav-hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 1px;
  transition: transform 0.3s, opacity 0.3s;
}

.nav-hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-hamburger.active span:nth-child(2) {
  opacity: 0;
}

.nav-hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── Hero ────────────────────────────────────────────────── */
.hero {
  padding-top: 10rem;
  padding-bottom: 6rem;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 1rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.8125rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.hero-badge .dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--text-tertiary);
}

.hero h1 {
  margin-bottom: 1.5rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto 1.5rem;
  line-height: 1.7;
}

.hero-stats {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: var(--text-tertiary);
  margin-bottom: 2.5rem;
}

.hero-stats strong {
  color: var(--text-secondary);
}

.hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  background: linear-gradient(135deg, var(--accent-start), var(--accent-end));
  color: #fff;
  font-weight: 600;
  font-size: 0.9375rem;
  border-radius: 10px;
  transition: opacity 0.2s, transform 0.2s;
}

.btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border: 1px solid var(--border);
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.9375rem;
  border-radius: 10px;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}

.btn-outline:hover {
  border-color: var(--border-hover);
  background: var(--bg-card);
  transform: translateY(-1px);
}

/* ── Terminal Card ───────────────────────────────────────── */
.terminal {
  max-width: 600px;
  margin: 0 auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  text-align: left;
}

.terminal-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0.75rem 1rem;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
}

.terminal-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.terminal-dot:nth-child(1) { background: #ef4444; }
.terminal-dot:nth-child(2) { background: #eab308; }
.terminal-dot:nth-child(3) { background: #22c55e; }

.terminal-title {
  flex: 1;
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-tertiary);
  font-family: var(--font-mono);
}

.terminal-body {
  padding: 1.25rem 1.5rem;
  background: var(--bg-code);
  font-family: var(--font-mono);
  font-size: 0.875rem;
  line-height: 1.8;
  position: relative;
}

.terminal-body .prompt {
  color: var(--text-tertiary);
  user-select: none;
}

.terminal-body .cmd {
  color: var(--text-primary);
}

.terminal-body .comment {
  color: var(--text-tertiary);
}

.copy-btn {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  padding: 0.375rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--bg-card);
  color: var(--text-tertiary);
  transition: color 0.2s, border-color 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.copy-btn:hover {
  color: var(--text-primary);
  border-color: var(--border-hover);
}

.copy-btn svg {
  width: 16px;
  height: 16px;
}

/* ── Cards (generic) ─────────────────────────────────────── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: border-color 0.2s, transform 0.2s;
}

.card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.card-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(99, 102, 241, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--accent-start);
}

.card-icon svg {
  width: 20px;
  height: 20px;
}

.card h3 {
  margin-bottom: 0.5rem;
}

.card p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* ── Grid layouts ────────────────────────────────────────── */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

/* ── Problem Section ─────────────────────────────────────── */
.problem-section .section-intro {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
}

.problem-section .section-intro h2 {
  margin-bottom: 1rem;
}

.problem-section .section-intro p {
  color: var(--text-secondary);
}

.problem-one-liner {
  text-align: center;
  margin-top: 2.5rem;
  font-size: 1.0625rem;
  color: var(--text-secondary);
  font-style: italic;
}

.problem-one-liner strong {
  color: var(--text-primary);
}

/* ── Story Section ───────────────────────────────────────── */
.story-section {
  text-align: center;
}

.story-card {
  max-width: 640px;
  margin: 0 auto 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: left;
}

.story-card .story-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.story-card .story-header svg {
  width: 20px;
  height: 20px;
  color: #22c55e;
}

.story-card .story-header span {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--text-secondary);
}

.story-card .stat-line {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  margin-bottom: 0.375rem;
  color: var(--text-secondary);
}

.story-card .stat-line strong {
  color: var(--text-primary);
}

.story-card .divider {
  height: 1px;
  background: var(--border);
  margin: 1rem 0;
}

.story-card .alert-title {
  font-weight: 700;
  color: #f59e0b;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
  font-family: var(--font-mono);
}

.story-card .alert-list {
  list-style: none;
  font-size: 0.8125rem;
  color: var(--text-secondary);
  font-family: var(--font-mono);
}

.story-card .alert-list li {
  padding: 0.25rem 0;
  padding-left: 1rem;
  position: relative;
}

.story-card .alert-list li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--text-tertiary);
}

.story-caption {
  max-width: 540px;
  margin: 0 auto;
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
}

/* ── Features Grid ───────────────────────────────────────── */
.features-section .section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.features-section .section-header h2 {
  margin-bottom: 0.75rem;
}

.features-section .section-header p {
  color: var(--text-secondary);
  max-width: 540px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

/* ── Agent Showcase ──────────────────────────────────────── */
.showcase-section .section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.showcase-section .section-header h2 {
  margin-bottom: 0.75rem;
}

.showcase-section .section-header p {
  color: var(--text-secondary);
  max-width: 540px;
  margin: 0 auto;
}

.showcase-wrapper {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 2rem;
  align-items: start;
}

.showcase-terminal {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.showcase-terminal .terminal-header {
  display: flex;
  align-items: center;
  padding: 0.75rem 1rem;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  gap: 6px;
}

.showcase-terminal .terminal-tab {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-tertiary);
  padding: 0.25rem 0.75rem;
  background: var(--bg-code);
  border-radius: 4px;
}

.showcase-code {
  padding: 1.5rem;
  background: var(--bg-code);
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  line-height: 1.7;
  overflow-x: auto;
  counter-reset: line;
}

.showcase-code .line {
  display: block;
  min-height: 1.7em;
}

.showcase-code .line::before {
  counter-increment: line;
  content: counter(line);
  display: inline-block;
  width: 2.5em;
  text-align: right;
  padding-right: 1em;
  color: var(--text-tertiary);
  user-select: none;
  opacity: 0.5;
}

/* Syntax highlighting */
.syn-key { color: #818cf8; }
.syn-str { color: #34d399; }
.syn-num { color: #f59e0b; }
.syn-comment { color: var(--text-tertiary); font-style: italic; }
.syn-heading { color: #f472b6; font-weight: 700; }
.syn-bool { color: #f97316; }
.syn-delim { color: var(--text-tertiary); }
.syn-bullet { color: #818cf8; }

.showcase-annotations {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-top: 3rem;
}

.annotation {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.875rem 1rem;
}

.annotation-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent-start);
  margin-bottom: 0.25rem;
}

.annotation p {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ── How It Works ────────────────────────────────────────── */
.how-section .section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.how-section .section-header h2 {
  margin-bottom: 0.75rem;
}

.how-section .section-header p {
  color: var(--text-secondary);
  max-width: 540px;
  margin: 0 auto;
}

.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: var(--border);
  z-index: 0;
}

.step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--accent-start);
}

.step-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: var(--accent-start);
}

.step-icon svg {
  width: 22px;
  height: 22px;
}

.step h3 {
  font-size: 1rem;
  margin-bottom: 0.375rem;
}

.step p {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ── Examples Section ────────────────────────────────────── */
.examples-section .section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.examples-section .section-header h2 {
  margin-bottom: 0.75rem;
}

.examples-section .section-header p {
  color: var(--text-secondary);
  max-width: 540px;
  margin: 0 auto;
}

.example-card h3 {
  margin-bottom: 0.5rem;
}

.example-card > p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  margin-bottom: 1rem;
}

.example-yaml {
  background: var(--bg-code);
  border-radius: 8px;
  padding: 1rem 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  line-height: 1.6;
  overflow-x: auto;
}

/* ── Comparison Table ────────────────────────────────────── */
.comparison-section .section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.comparison-section .section-header h2 {
  margin-bottom: 0.75rem;
}

.comparison-section .section-header p {
  color: var(--text-secondary);
  max-width: 540px;
  margin: 0 auto;
}

.comparison-table-wrapper {
  max-width: 800px;
  margin: 0 auto;
  overflow-x: auto;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.comparison-table th,
.comparison-table td {
  padding: 1rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.comparison-table th {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.comparison-table th:first-child {
  color: var(--text-tertiary);
}

.comparison-table td:first-child {
  color: var(--text-tertiary);
  font-weight: 500;
  font-size: 0.875rem;
}

.comparison-table td {
  color: var(--text-secondary);
}

.comparison-table .cx-col {
  color: var(--text-primary);
}

.comparison-tagline {
  text-align: center;
  margin-top: 2rem;
  color: var(--text-secondary);
  font-style: italic;
  font-size: 0.9375rem;
}

/* ── Quickstart ──────────────────────────────────────────── */
.quickstart-section .section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.quickstart-section .section-header h2 {
  margin-bottom: 0.75rem;
}

.quickstart-section .section-header p {
  color: var(--text-secondary);
  max-width: 540px;
  margin: 0 auto;
}

.quickstart-steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.qs-step {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.qs-step-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.qs-step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(99, 102, 241, 0.15);
  color: var(--accent-start);
  font-weight: 700;
  font-size: 0.8125rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.qs-step-header h3 {
  font-size: 0.9375rem;
}

.qs-code {
  background: var(--bg-code);
  border-radius: 8px;
  padding: 1rem 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  line-height: 1.7;
  position: relative;
  overflow-x: auto;
}

.qs-code .copy-btn {
  top: 0.5rem;
  right: 0.5rem;
}

.quickstart-link {
  text-align: center;
  margin-top: 2rem;
}

.quickstart-link a {
  color: var(--accent-start);
  font-weight: 500;
  transition: color 0.2s;
}

.quickstart-link a:hover {
  color: var(--accent-end);
}

/* ── CLI Commands ────────────────────────────────────────── */
.cli-section .section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.cli-section .section-header h2 {
  margin-bottom: 0.75rem;
}

.cli-section .section-header p {
  color: var(--text-secondary);
  max-width: 540px;
  margin: 0 auto;
}

.cli-table-wrapper {
  max-width: 800px;
  margin: 0 auto;
  overflow-x: auto;
}

.cli-table {
  width: 100%;
  border-collapse: collapse;
}

.cli-group-header td {
  padding: 1rem 1.25rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-tertiary);
  border-bottom: 1px solid var(--border);
}

.cli-table td {
  padding: 0.625rem 1.25rem;
  border-bottom: 1px solid rgba(39, 39, 42, 0.5);
}

.cli-table td:first-child {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--accent-start);
  white-space: nowrap;
  width: 240px;
}

.cli-table td:last-child {
  color: var(--text-secondary);
  font-size: 0.875rem;
}

/* ── Footer ──────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--border);
  padding: 3rem 0;
}

.footer .container {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 2rem;
  align-items: start;
}

.footer-brand h4 {
  font-family: var(--font-mono);
  margin-bottom: 0.375rem;
}

.footer-brand p {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.footer-links a {
  font-size: 0.875rem;
  color: var(--text-secondary);
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--text-primary);
}

.footer-right {
  text-align: right;
}

.footer-right p {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.footer-right .footer-thesis {
  font-size: 0.75rem;
  color: var(--text-tertiary);
  margin-top: 0.5rem;
  font-style: italic;
}

.footer-disclaimer {
  grid-column: 1 / -1;
  border-top: 1px solid var(--border);
  margin-top: 2rem;
  padding-top: 1.5rem;
  text-align: center;
}

.footer-disclaimer p {
  font-size: 0.75rem;
  color: var(--text-tertiary);
  line-height: 1.6;
  max-width: 640px;
  margin: 0 auto;
}

/* ── Animations ──────────────────────────────────────────── */
.fade-in-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .showcase-wrapper {
    grid-template-columns: 1fr;
  }

  .showcase-annotations {
    flex-direction: row;
    flex-wrap: wrap;
    padding-top: 0;
  }

  .annotation {
    flex: 1;
    min-width: 200px;
  }

  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }

  .steps::before {
    display: none;
  }
}

@media (max-width: 768px) {
  section {
    padding: 4rem 0;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(9, 9, 11, 0.95);
    backdrop-filter: blur(12px);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1rem;
    border-bottom: 1px solid var(--border);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-hamburger {
    display: flex;
  }

  .grid-3,
  .features-grid {
    grid-template-columns: 1fr;
  }

  .grid-2,
  .quickstart-steps {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .hero-ctas {
    flex-direction: column;
  }

  .btn-primary,
  .btn-outline {
    width: 100%;
    justify-content: center;
  }

  .footer .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-right {
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }

  .showcase-annotations {
    flex-direction: column;
  }

  .annotation {
    min-width: 0;
  }

  .comparison-table {
    font-size: 0.8125rem;
  }

  .comparison-table th,
  .comparison-table td {
    padding: 0.75rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  .hero {
    padding-top: 7rem;
  }

  .terminal-body {
    font-size: 0.75rem;
    padding: 1rem;
  }

  .showcase-code {
    font-size: 0.75rem;
    padding: 1rem;
  }
}
