/* FKBuffer — simplified product page */
:root {
  --bg: #0a0a0f;
  --surface: #12121a;
  --border: #2a2a3a;
  --text: #e8e8f0;
  --muted: #9898b0;
  --accent: #7c6af7;
  --accent-dim: #2a2050;
  --focus: #a78bfa;
  --context: #60a5fa;
  --font: "Inter", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

code { font-family: var(--mono); font-size: 0.9em; color: var(--accent); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: rgba(10, 10, 15, 0.9);
  backdrop-filter: blur(8px);
  z-index: 10;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
}
.logo__mark {
  font-family: var(--mono);
  font-size: 0.75rem;
  background: var(--accent-dim);
  color: var(--accent);
  padding: 0.2rem 0.45rem;
  border-radius: 4px;
}
.nav__actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { filter: brightness(1.1); }
.btn--secondary { border-color: var(--border); color: var(--text); }
.btn--secondary:hover { border-color: var(--accent); }
.btn--ghost { color: var(--muted); }
.btn--ghost:hover { color: var(--text); }
.btn--lg { padding: 0.75rem 1.25rem; font-size: 1rem; }

.hero {
  max-width: 960px;
  margin: 0 auto;
  padding: 4rem 1.5rem 3rem;
  text-align: center;
}
.eyebrow {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}
.accent { color: var(--accent); }
.lead {
  font-size: 1.125rem;
  color: var(--muted);
  max-width: 42rem;
  margin: 0 auto 2rem;
}
.hero__cta {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.diagram {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 0.75rem;
  align-items: stretch;
  text-align: left;
  max-width: 900px;
  margin: 0 auto;
}
@media (max-width: 768px) {
  .diagram { grid-template-columns: 1fr; }
  .diagram__arrow { text-align: center; transform: rotate(90deg); }
}
.diagram__col {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem;
}
.diagram__label {
  display: block;
  font-family: var(--mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 0.75rem;
}
.diagram__col ul { list-style: none; font-size: 0.85rem; }
.diagram__col li { padding: 0.25rem 0; border-bottom: 1px solid var(--border); }
.diagram__col li:last-child { border: none; }
.diagram__col .focus { color: var(--focus); }
.diagram__col .context { color: var(--context); }
.diagram__col .muted { color: var(--muted); }
.diagram__arrow {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  color: var(--accent);
}
.diagram__col--llm p { font-size: 0.85rem; color: var(--muted); margin-top: 0.5rem; }

.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  max-width: 960px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}
.pillars article {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
}
.pillars h2 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.pillars p { color: var(--muted); font-size: 0.95rem; }

.cta-band {
  text-align: center;
  padding: 3rem 1.5rem;
  background: linear-gradient(180deg, transparent, var(--accent-dim));
  border-top: 1px solid var(--border);
}
.cta-band h2 { margin-bottom: 0.5rem; }
.cta-band p { color: var(--muted); max-width: 32rem; margin: 0 auto 1.5rem; }

.footer {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  padding: 2rem;
  border-top: 1px solid var(--border);
  font-size: 0.875rem;
  color: var(--muted);
}
.footer a { color: var(--muted); text-decoration: none; }
.footer a:hover { color: var(--accent); }
