@import "components/header.css";
@import "components/footer.css";

:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f8fafc;
  color: #111827;
}

* {
  box-sizing: border-box;
}

body {
  background: #f8fafc;
  color: #111827;
  margin: 0;
  min-height: 100vh;
}

.site-shell {
  margin: 0 auto;
  max-width: 960px;
  padding: 2rem 1.5rem 4rem;
}

a {
  color: #1d4ed8;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.eyebrow {
  color: #2563eb;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.hero {
  margin-bottom: 2.5rem;
}

.hero-copy {
  font-size: 1.1rem;
  max-width: 75ch;
  margin: 0.75rem 0 1.5rem;
}

.hero-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.button {
  display: inline-block;
  background: #2563eb;
  color: white;
  padding: 0.8rem 1.25rem;
  border-radius: 9999px;
  font-weight: 600;
}

.section-heading {
  margin-bottom: 1rem;
}

.post-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.post-card,
.post-detail,
.section-header {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  padding: 1.5rem;
}

.post-card h2,
.post-card h3,
.post-detail h1,
.section-header h1 {
  margin-top: 0;
}

.post-meta {
  color: #6b7280;
  font-size: 0.95rem;
  margin: 0.5rem 0 1rem;
}

.brand {
  margin-bottom: 1.25rem;
}

.brand-link {
  color: #111827;
  font-size: 1.35rem;
  font-weight: 800;
  text-decoration: none;
}

.brand-subtitle {
  margin: 0.35rem 0 0;
  color: #4b5563;
}

nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

nav a {
  color: #475569;
  font-weight: 600;
}

nav a.active,
nav a:hover {
  color: #111827;
}

footer {
  margin-top: 2rem;
}

footer p {
  margin: 0.35rem 0;
  color: #4b5563;
}

code {
  background: #f1f5f9;
  border-radius: 0.35rem;
  padding: 0.2rem 0.35rem;
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace;
}
