:root {
  --bg: #f5f5f7;
  --panel: #ffffff;
  --accent: #2563eb;
  --accent-soft: #e0edff;
  --text: #111827;
  --text-muted: #6b7280;
  --border: #e5e7eb;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

header {
  background: var(--panel);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 10;
}

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1rem;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
}

.site-title {
  font-weight: 700;
  font-size: 1.05rem;
}

.site-subtitle {
  font-size: 0.85rem;
  color: var(--text-muted);
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 0.75rem;
  font-size: 0.9rem;
}

nav a {
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
}

nav a:hover {
  background: var(--accent-soft);
  text-decoration: none;
}

nav a.active {
  background: var(--accent);
  color: #ffffff;
}

/* Hero / main intro */
.hero {
  padding: 2.5rem 1rem 2rem;
}

.hero-inner {
  background: var(--panel);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.05);
}

.hero h1 {
  margin-top: 0;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.hero p {
  color: var(--text-muted);
  max-width: 42rem;
}

.hero .buttons {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-block;
  padding: 0.6rem 1.1rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.9rem;
  cursor: pointer;
}

.btn-primary {
  background: var(--accent);
  color: #ffffff;
}

.btn-primary:hover {
  filter: brightness(1.05);
}

.btn-ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}

.btn-ghost:hover {
  background: var(--accent-soft);
}

/* Page layout */
main {
  padding: 0 1rem 3rem;
}

section {
  margin-top: 2rem;
}

section h2 {
  margin-bottom: 0.4rem;
  font-size: 1.4rem;
}

.section-intro {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

/* Simple grid / cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.card {
  background: var(--panel);
  border-radius: 0.8rem;
  padding: 1.1rem;
  border: 1px solid var(--border);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 0.4rem;
  font-size: 1.05rem;
}

.card p {
  margin: 0;
  color: var(--text-muted);
}

/* Simple tables / lists for people, etc. */
.item-list {
  display: grid;
  gap: 0.75rem;
}

.item {
  background: var(--panel);
  border-radius: 0.75rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--border);
}

.item-title {
  font-weight: 600;
}

.item-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Footer */
footer {
  border-top: 1px solid var(--border);
  padding: 1.5rem 1rem;
  background: #f9fafb;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
}

/* Responsive tweaks */
@media (max-width: 700px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
  }

  nav ul {
    flex-wrap: wrap;
  }
}
