:root {
  --bg: #ffffff;
  --bg-soft: #f7f7f9;
  --text: #18181b;
  --text-muted: #52525b;
  --text-faint: #a1a1aa;
  --border: #e4e4e7;
  --accent: #6366f1;
  --accent-soft: #eef2ff;
  --accent-dark: #4338ca;
  --radius: 16px;
  --max-width: 960px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.15s var(--ease);
}

a:hover {
  color: var(--accent-dark);
}

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 28px;
}

header.site-header {
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  z-index: 10;
}

header.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  font-weight: 700;
  font-size: 17px;
  color: var(--text);
}

.brand:hover {
  color: var(--text);
}

nav.site-nav {
  display: flex;
  gap: 24px;
  font-size: 14px;
  font-weight: 600;
}

nav.site-nav a {
  color: var(--text-muted);
}

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

main {
  padding-bottom: 96px;
}

/* Glow suave atrás do hero — mesma linguagem visual de páginas de produto de
   IA (LM Studio, Ollama, etc.): um gradiente radial discreto na cor de
   destaque, só pra tirar o "chapado" do fundo branco puro sem virar tema
   escuro. */
.hero {
  padding: 88px 0 56px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -220px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 500px;
  background: radial-gradient(ellipse at center, var(--accent-soft) 0%, rgba(238, 242, 255, 0) 70%);
  z-index: -1;
  pointer-events: none;
}

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 20px;
}

h1 {
  font-size: 56px;
  line-height: 1.05;
  margin: 0 0 20px;
  letter-spacing: -0.03em;
  font-weight: 700;
  max-width: 780px;
}

h2 {
  font-size: 30px;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
  font-weight: 700;
}

h3 {
  font-size: 17px;
  margin: 20px 0 8px;
  font-weight: 700;
}

p {
  color: var(--text-muted);
  margin: 0 0 14px;
}

.lede {
  font-size: 20px;
  line-height: 1.5;
  color: var(--text-muted);
  max-width: 620px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 12px;
  padding: 13px 22px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease), background 0.15s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--text);
  color: #ffffff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.btn-primary:hover {
  background: #000000;
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.btn-secondary {
  background: #ffffff;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: var(--bg-soft);
  border-color: #d4d4d8;
  color: var(--text);
  box-shadow: 0 6px 16px rgba(24, 24, 27, 0.08);
}

.btn-row {
  display: flex;
  gap: 12px;
  margin-top: 28px;
  flex-wrap: wrap;
}

/* Placeholder de screenshot — vira a imagem real automaticamente assim que
   um arquivo existir no caminho referenciado em background-image, sem
   precisar editar o HTML. Até lá, mostra só a cor de fundo + legenda. */
.shot {
  aspect-ratio: 16 / 10;
  background-color: #111827;
  background-size: cover;
  background-position: center;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  display: flex;
  align-items: flex-end;
  padding: 16px;
  margin: 32px 0;
  box-shadow: 0 24px 60px -20px rgba(24, 24, 27, 0.25);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.shot:hover {
  transform: translateY(-4px);
  box-shadow: 0 32px 70px -18px rgba(24, 24, 27, 0.3);
}

.shot-sm {
  aspect-ratio: 16 / 10;
}

.shot-label {
  background: rgba(0, 0, 0, 0.65);
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 11px;
  border-radius: 7px;
}

/* Seções de funcionalidade "estilo LM Studio": um título curto e direto +
   um parágrafo, empilhados com bastante respiro vertical, em vez de uma
   grade densa de cards — mais fácil de ler em blocos grandes. */
.feature-section {
  padding: 56px 0;
  border-top: 1px solid var(--border);
}

.feature-section .eyebrow {
  margin-bottom: 14px;
}

.feature-section h2 {
  max-width: 600px;
}

.feature-section .lede {
  font-size: 17px;
  max-width: 640px;
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
  margin-top: 32px;
}

.mini-grid h3 {
  margin-top: 0;
  font-size: 15px;
}

.mini-grid p {
  font-size: 14px;
  margin: 0;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin: 24px 0;
}

.card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  background: var(--bg);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s var(--ease);
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px -12px rgba(24, 24, 27, 0.14);
  border-color: #d4d4d8;
}

.card h3 {
  margin-top: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.card p {
  margin: 0;
  font-size: 14px;
}

.shot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin: 28px 0;
}

.shot-grid .shot {
  margin: 0;
}

.project-card {
  display: block;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  margin: 28px 0;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s var(--ease);
}

.project-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 20px 40px -16px rgba(99, 102, 241, 0.25);
}

.project-card .eyebrow {
  margin-bottom: 12px;
}

.project-card h2 {
  margin: 0 0 10px;
  color: var(--text);
}

.project-card p {
  margin: 0;
}

.tag-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.tag {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px 11px;
}

.post-list {
  list-style: none;
  padding: 0;
  margin: 24px 0;
}

.post-list li {
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.post-list li:last-child {
  border-bottom: none;
}

.post-date {
  font-size: 13px;
  color: var(--text-faint);
  font-weight: 600;
}

.post-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  display: block;
  margin-top: 2px;
}

.callout {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin: 24px 0;
  font-size: 14px;
  color: var(--text-muted);
}

.callout strong {
  color: var(--text);
}

footer.site-footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
  font-size: 13px;
  color: var(--text-faint);
}

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

footer.site-footer a {
  color: var(--text-faint);
}

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

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  background: var(--bg-soft);
  border-radius: 5px;
  padding: 1px 6px;
  font-size: 0.9em;
  color: var(--text);
}

@media (max-width: 640px) {
  h1 {
    font-size: 38px;
  }

  .hero {
    padding: 56px 0 40px;
  }

  .feature-section {
    padding: 40px 0;
  }
}
