/* =============================================================
 * Tiny LLM Studio · Marketing Site
 * Design system: black/white neutral + soft gradient accents,
 * Apple-ish typography, generous whitespace, dark mode by class.
 * ============================================================= */

:root {
  --bg: #ffffff;
  --bg-soft: #fafafa;
  --bg-elevated: #ffffff;
  --fg: #0a0a0a;
  --fg-soft: #404040;
  --fg-muted: #737373;
  --border: #e5e5e5;
  --border-strong: #d4d4d4;
  --accent: #171717;
  --accent-fg: #ffffff;
  --code-bg: #f5f5f5;
  --code-fg: #171717;
  --grad-1: #a78bfa;
  --grad-2: #ec4899;
  --grad-3: #f59e0b;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04), 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.06), 0 2px 4px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.08), 0 8px 16px rgba(0, 0, 0, 0.04);
  --shadow-glow: 0 0 0 1px rgba(0, 0, 0, 0.04), 0 12px 32px rgba(0, 0, 0, 0.08);
}

html.dark {
  --bg: #0a0a0a;
  --bg-soft: #050505;
  --bg-elevated: #131313;
  --fg: #fafafa;
  --fg-soft: #d4d4d4;
  --fg-muted: #737373;
  --border: #1f1f1f;
  --border-strong: #2a2a2a;
  --accent: #fafafa;
  --accent-fg: #0a0a0a;
  --code-bg: #131313;
  --code-fg: #e5e5e5;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.6), 0 1px 3px rgba(0, 0, 0, 0.5);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.5), 0 2px 4px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.6), 0 8px 16px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 0 1px rgba(255, 255, 255, 0.05), 0 12px 32px rgba(0, 0, 0, 0.6);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "PingFang SC",
    "Microsoft YaHei", "Helvetica Neue", sans-serif;
  font-feature-settings: "cv02", "cv03", "cv04", "cv11";
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  transition: background-color 0.2s ease, color 0.2s ease;
}

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

::selection {
  background: var(--fg);
  color: var(--bg);
}

/* ---------- layout ---------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

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

/* ---------- nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  background: color-mix(in srgb, var(--bg) 80%, transparent);
  border-bottom: 1px solid var(--border);
}

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

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.01em;
}

.nav-brand-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--grad-1), var(--grad-2));
  display: grid;
  place-items: center;
  color: white;
  font-weight: 800;
  font-size: 14px;
  box-shadow: var(--shadow-sm);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--fg-soft);
  border-radius: 8px;
  transition: background 0.15s ease, color 0.15s ease;
}

.nav-link:hover {
  background: var(--bg-soft);
  color: var(--fg);
}

.nav-link.active {
  color: var(--fg);
  background: var(--bg-soft);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.icon-btn {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg);
  cursor: pointer;
  color: var(--fg-soft);
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.icon-btn:hover {
  background: var(--bg-soft);
  color: var(--fg);
  border-color: var(--border-strong);
}

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

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .nav-links.mobile-open {
    display: flex;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 4px;
    padding: 12px 16px;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    align-items: stretch;
  }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.1s ease, background 0.15s ease, border-color 0.15s ease,
    color 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-fg);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: transparent;
  color: var(--fg);
  border-color: var(--border);
}

.btn-secondary:hover {
  border-color: var(--border-strong);
  background: var(--bg-soft);
}

.btn-lg {
  padding: 14px 24px;
  font-size: 15px;
  border-radius: 12px;
}

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

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding: 96px 0 80px;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.hero-bg::before,
.hero-bg::after {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.5;
}

.hero-bg::before {
  background: radial-gradient(circle, var(--grad-1), transparent 70%);
  top: -200px;
  left: -100px;
}

.hero-bg::after {
  background: radial-gradient(circle, var(--grad-2), transparent 70%);
  top: -150px;
  right: -150px;
}

html.dark .hero-bg::before,
html.dark .hero-bg::after {
  opacity: 0.25;
}

.hero-inner {
  position: relative;
  z-index: 1;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  font-size: 13px;
  font-weight: 500;
  color: var(--fg-soft);
  margin-bottom: 24px;
}

.hero-pill .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--grad-1), var(--grad-2));
}

.hero h1 {
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 24px;
}

.hero h1 .grad {
  background: linear-gradient(135deg, var(--grad-1), var(--grad-2) 50%, var(--grad-3));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p.lead {
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.6;
  color: var(--fg-soft);
  max-width: 720px;
  margin: 0 auto 36px;
}

.hero-cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 720px;
  margin: 0 auto;
}

.hero-stat {
  text-align: left;
}

.hero-stat .num {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--grad-1), var(--grad-2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-stat .label {
  font-size: 13px;
  color: var(--fg-muted);
  margin-top: 4px;
}

@media (max-width: 640px) {
  .hero {
    padding: 64px 0 48px;
  }
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-stat {
    text-align: center;
  }
}

/* ---------- sections ---------- */
section {
  padding: 80px 0;
  position: relative;
}

section.alt {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-head {
  text-align: center;
  margin-bottom: 56px;
}

.section-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--fg-muted);
  margin-bottom: 12px;
}

.section-head h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}

.section-head p {
  color: var(--fg-soft);
  max-width: 640px;
  margin: 0 auto;
  font-size: 17px;
}

/* ---------- feature grid ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  padding: 28px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-strong);
}

.feature-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--grad-1), var(--grad-2));
  color: white;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
}

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

.feature-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}

.feature-card p {
  font-size: 14px;
  color: var(--fg-soft);
  margin: 0;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- code blocks ---------- */
pre,
code {
  font-family: "JetBrains Mono", "SF Mono", Menlo, Consolas, "Courier New",
    monospace;
}

code {
  font-size: 13px;
  background: var(--code-bg);
  color: var(--code-fg);
  padding: 2px 6px;
  border-radius: 6px;
  border: 1px solid var(--border);
}

pre {
  position: relative;
  margin: 16px 0;
  padding: 18px 20px;
  background: var(--code-bg);
  color: var(--code-fg);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow-x: auto;
  font-size: 13px;
  line-height: 1.7;
}

pre code {
  background: transparent;
  border: none;
  padding: 0;
  font-size: inherit;
  color: inherit;
  white-space: pre;
}

.code-block {
  position: relative;
}

.copy-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: var(--bg);
  cursor: pointer;
  color: var(--fg-muted);
  opacity: 0;
  transition: opacity 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.code-block:hover .copy-btn {
  opacity: 1;
}

.copy-btn:hover {
  background: var(--bg-soft);
  color: var(--fg);
}

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

.copy-btn.copied {
  color: #22c55e;
  opacity: 1;
}

/* simple syntax tinting (for shell/yaml/python blocks) */
pre .tk-cmt {
  color: #6b7280;
  font-style: italic;
}
pre .tk-str {
  color: #16a34a;
}
pre .tk-kw {
  color: #c026d3;
  font-weight: 600;
}
pre .tk-num {
  color: #ea580c;
}
pre .tk-fn {
  color: #2563eb;
}
html.dark pre .tk-cmt {
  color: #737373;
}
html.dark pre .tk-str {
  color: #4ade80;
}
html.dark pre .tk-kw {
  color: #f0abfc;
}
html.dark pre .tk-num {
  color: #fb923c;
}
html.dark pre .tk-fn {
  color: #60a5fa;
}

/* ---------- specs table ---------- */
.specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: start;
}

.specs-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.specs-card-header {
  padding: 18px 24px;
  border-bottom: 1px solid var(--border);
  font-weight: 700;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.specs-card-header svg {
  width: 18px;
  height: 18px;
  color: var(--fg-muted);
}

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

.specs-table tr {
  border-bottom: 1px solid var(--border);
}

.specs-table tr:last-child {
  border-bottom: none;
}

.specs-table td {
  padding: 12px 24px;
  font-size: 14px;
}

.specs-table td:first-child {
  color: var(--fg-muted);
  width: 50%;
}

.specs-table td:last-child {
  font-weight: 600;
  text-align: right;
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
}

@media (max-width: 768px) {
  .specs {
    grid-template-columns: 1fr;
  }
}

/* ---------- pipeline ---------- */
.pipeline {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  position: relative;
  margin-top: 32px;
}

.pipeline-step {
  text-align: center;
  padding: 20px 12px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 12px;
  position: relative;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.pipeline-step:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.pipeline-step .num {
  display: inline-block;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--grad-1), var(--grad-2));
  color: white;
  font-size: 12px;
  font-weight: 700;
  line-height: 26px;
  margin-bottom: 10px;
}

.pipeline-step .title {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 4px;
}

.pipeline-step .desc {
  font-size: 12px;
  color: var(--fg-muted);
  line-height: 1.5;
}

@media (max-width: 900px) {
  .pipeline {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 540px) {
  .pipeline {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ---------- terminal mockup ---------- */
.terminal {
  background: #0a0a0a;
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  border: 1px solid #1f1f1f;
  overflow: hidden;
  max-width: 760px;
  margin: 32px auto 0;
  text-align: left;
}

.terminal-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: #131313;
  border-bottom: 1px solid #1f1f1f;
}

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

.terminal-bar .red {
  background: #ff5f57;
}
.terminal-bar .yellow {
  background: #febc2e;
}
.terminal-bar .green {
  background: #28c840;
}

.terminal-bar .title {
  margin-left: auto;
  margin-right: auto;
  font-size: 12px;
  color: #737373;
  font-family: "JetBrains Mono", monospace;
}

.terminal-body {
  padding: 20px 24px;
  font-family: "JetBrains Mono", "SF Mono", Menlo, monospace;
  font-size: 13px;
  line-height: 1.8;
  color: #e5e5e5;
}

.terminal-body .prompt {
  color: #4ade80;
}

.terminal-body .comment {
  color: #737373;
}

.terminal-body .out {
  color: #a3a3a3;
}

.terminal-body .hl {
  color: #f0abfc;
}

/* ---------- step cards (quickstart) ---------- */
.steps {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
  padding-left: 36px;
}

.steps::before {
  content: "";
  position: absolute;
  left: 13px;
  top: 16px;
  bottom: 16px;
  width: 2px;
  background: linear-gradient(to bottom, var(--grad-1), var(--grad-2), var(--border));
  opacity: 0.5;
}

.step {
  position: relative;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px 28px;
  box-shadow: var(--shadow-sm);
}

.step::before {
  content: counter(step-counter);
  counter-increment: step-counter;
  position: absolute;
  left: -36px;
  top: 22px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--grad-1), var(--grad-2));
  color: white;
  font-weight: 700;
  font-size: 13px;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-sm);
}

.steps {
  counter-reset: step-counter;
}

.step h3 {
  margin: 0 0 6px;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.step .step-desc {
  color: var(--fg-soft);
  font-size: 14px;
  margin: 0 0 14px;
}

.step pre {
  margin: 12px 0 0;
}

.step ul {
  margin: 12px 0 0;
  padding-left: 22px;
  color: var(--fg-soft);
  font-size: 14px;
}

.step ul li {
  margin: 4px 0;
}

/* ---------- doc layout ---------- */
.doc-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 48px;
  align-items: start;
  padding: 48px 0 96px;
}

.doc-sidebar {
  position: sticky;
  top: 88px;
  align-self: start;
  max-height: calc(100vh - 96px);
  overflow-y: auto;
  padding-right: 12px;
}

.doc-sidebar h4 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--fg-muted);
  margin: 24px 0 8px;
  font-weight: 700;
}

.doc-sidebar h4:first-child {
  margin-top: 0;
}

.doc-sidebar a {
  display: block;
  padding: 6px 12px;
  margin: 1px 0;
  border-radius: 8px;
  color: var(--fg-soft);
  font-size: 13px;
  border-left: 2px solid transparent;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.doc-sidebar a:hover {
  background: var(--bg-soft);
  color: var(--fg);
}

.doc-sidebar a.active {
  color: var(--fg);
  background: var(--bg-soft);
  border-left-color: var(--grad-2);
  font-weight: 600;
}

.doc-content {
  min-width: 0;
}

.doc-content h1 {
  font-size: 36px;
  letter-spacing: -0.02em;
  font-weight: 800;
  margin: 0 0 12px;
}

.doc-content h2 {
  font-size: 26px;
  letter-spacing: -0.01em;
  font-weight: 800;
  margin: 56px 0 20px;
  padding-top: 8px;
  scroll-margin-top: 88px;
}

.doc-content h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 32px 0 10px;
  scroll-margin-top: 88px;
}

.doc-content p {
  color: var(--fg-soft);
  line-height: 1.75;
  margin: 12px 0;
}

.doc-content a {
  color: var(--fg);
  border-bottom: 1px solid var(--border-strong);
  transition: border-color 0.15s ease;
}

.doc-content a:hover {
  border-bottom-color: var(--fg);
}

.doc-content ul,
.doc-content ol {
  color: var(--fg-soft);
  line-height: 1.75;
  padding-left: 24px;
}

.doc-content ul li,
.doc-content ol li {
  margin: 4px 0;
}

.doc-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.doc-content table th {
  background: var(--bg-soft);
  text-align: left;
  padding: 12px 16px;
  font-weight: 700;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}

.doc-content table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--fg-soft);
  vertical-align: top;
}

.doc-content table tr:last-child td {
  border-bottom: none;
}

.doc-content blockquote {
  border-left: 3px solid var(--grad-2);
  padding: 4px 0 4px 16px;
  margin: 16px 0;
  color: var(--fg-soft);
  background: var(--bg-soft);
  border-radius: 0 8px 8px 0;
}

.doc-content blockquote p {
  margin: 8px 0;
}

.doc-content hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 48px 0;
}

.callout {
  display: flex;
  gap: 14px;
  padding: 16px 20px;
  border-radius: 12px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  margin: 16px 0;
}

.callout svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}

.callout.tip {
  border-color: rgba(34, 197, 94, 0.3);
  background: color-mix(in srgb, #22c55e 8%, var(--bg));
}
.callout.tip svg {
  color: #16a34a;
}
.callout.warn {
  border-color: rgba(245, 158, 11, 0.3);
  background: color-mix(in srgb, #f59e0b 8%, var(--bg));
}
.callout.warn svg {
  color: #d97706;
}
.callout.note svg {
  color: var(--fg-muted);
}

.callout > div {
  font-size: 14px;
  color: var(--fg-soft);
  line-height: 1.65;
}

.callout > div strong {
  color: var(--fg);
}

@media (max-width: 1024px) {
  .doc-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .doc-sidebar {
    position: relative;
    top: 0;
    max-height: none;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 24px;
  }
}

/* ---------- callout / cta block ---------- */
.cta-block {
  margin: 40px 0;
  padding: 48px 56px;
  border-radius: 24px;
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--grad-1) 15%, var(--bg-elevated)),
    color-mix(in srgb, var(--grad-2) 15%, var(--bg-elevated))
  );
  border: 1px solid var(--border);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-block h2 {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}

.cta-block p {
  font-size: 16px;
  color: var(--fg-soft);
  max-width: 560px;
  margin: 0 auto 24px;
}

.cta-block .hero-cta {
  margin-bottom: 0;
}

/* ---------- footer ---------- */
.footer {
  border-top: 1px solid var(--border);
  padding: 48px 0;
  font-size: 13px;
  color: var(--fg-muted);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer a {
  color: var(--fg-soft);
}

.footer a:hover {
  color: var(--fg);
}

.footer-links {
  display: flex;
  gap: 20px;
}

/* ---------- misc utilities ---------- */
.mono {
  font-family: "JetBrains Mono", "SF Mono", Menlo, monospace;
  font-size: 13px;
}

.kbd {
  display: inline-block;
  padding: 2px 8px;
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-weight: 600;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-bottom-width: 2px;
  border-radius: 6px;
  color: var(--fg-soft);
}

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