:root {
  --bg: #0b1020;
  --bg-alt: #11182d;
  --card: #151e36;
  --border: #263354;
  --text: #f1f5f9;
  --muted: #94a3b8;
  --primary: #38bdf8;
  --primary-dark: #0284c7;
  --accent: #a78bfa;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

code {
  background: rgba(56, 189, 248, 0.12);
  color: #bae6fd;
  padding: 0.12rem 0.38rem;
  border-radius: 4px;
  font-size: 0.9em;
}

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

.nav-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

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

.brand span {
  color: var(--muted);
  font-weight: 400;
  margin-left: 0.4rem;
  font-size: 0.92rem;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-size: 0.94rem;
}

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

nav a:hover {
  color: var(--text);
  text-decoration: none;
}

.hero {
  padding: 4.5rem 0 3.75rem;
  border-bottom: 1px solid var(--border);
  background: radial-gradient(circle at top right, rgba(56, 189, 248, 0.14), transparent 45%),
              radial-gradient(circle at bottom left, rgba(167, 139, 250, 0.12), transparent 45%);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.85rem;
}

.hero h1 {
  font-size: clamp(1.9rem, 4vw, 2.85rem);
  line-height: 1.2;
  max-width: 860px;
  margin-bottom: 1.1rem;
}

.lead {
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 780px;
  margin-bottom: 1.85rem;
}

.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.68rem 1.2rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.94rem;
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--primary);
  color: #08101f;
}

.btn-secondary {
  background: var(--accent);
  color: #0f0a24;
}

.btn-outline {
  border: 1px solid var(--border);
  color: var(--text);
  background: rgba(21, 30, 54, 0.65);
}

.btn-outline:hover {
  border-color: var(--primary);
}

.section {
  padding: 4rem 0;
}

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

.section-head {
  margin-bottom: 2.2rem;
}

.section-head h2 {
  font-size: 1.75rem;
  margin-bottom: 0.45rem;
}

.section-head p {
  color: var(--muted);
  max-width: 720px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 1.35rem;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.badge {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.14);
  color: #cbd5e1;
}

.badge-accent {
  background: rgba(56, 189, 248, 0.16);
  color: var(--primary);
}

.card h3 {
  font-size: 1.18rem;
  line-height: 1.35;
}

.card p {
  color: var(--muted);
  font-size: 0.95rem;
  flex: 1;
}

.card-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  padding-top: 0.35rem;
}

.link-pill {
  font-size: 0.84rem;
  font-weight: 600;
  padding: 0.38rem 0.8rem;
  border-radius: 6px;
  border: 1px solid var(--border);
  color: var(--text);
}

.link-pill.primary {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: #ffffff;
}

.link-pill:hover {
  border-color: var(--primary);
  text-decoration: none;
}

.repo-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.repo-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.repo-item h3 {
  font-size: 1.06rem;
  margin-bottom: 0.25rem;
}

.repo-item p {
  color: var(--muted);
  font-size: 0.93rem;
  max-width: 760px;
}

.hire-banner {
  background: linear-gradient(135deg, #151e36 0%, #1b2548 100%);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 2.2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

.hire-banner h2 {
  font-size: 1.45rem;
  margin-bottom: 0.45rem;
}

.hire-banner p {
  color: var(--muted);
  max-width: 680px;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.footer-links {
  display: flex;
  gap: 1.2rem;
}
