:root {
  color-scheme: dark;
  color: #111;
  background: #f7f7f5;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
}

.container {
  width: min(1200px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  background: #1a1a1a;
  color: #fff;
  padding: 1rem 0;
}

.site-header .brand h1 {
  margin: 0;
  font-size: 1.75rem;
}

.site-header .brand p {
  margin: 0.35rem 0 0;
  color: #c7c7c7;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: flex-end;
  align-items: center;
}

.site-nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

.hero {
  background: linear-gradient(180deg, #1f2937 0%, #111827 100%);
  color: #fff;
  padding: 5rem 0;
}

.hero-content {
  display: grid;
  gap: 1rem;
}

.hero h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.25rem);
}

.hero p {
  max-width: 720px;
  color: #d1d5db;
}

.button {
  display: inline-block;
  padding: 0.9rem 1.75rem;
  background: #f97316;
  color: #fff;
  text-decoration: none;
  border-radius: 999px;
  font-weight: 700;
}

.section-light,
.footer {
  padding: 4rem 0;
}

.section-dark {
  background: #111827;
  color: #e5e7eb;
  padding: 4rem 0;
}

.section-light h3,
.section-dark h3,
.footer h3 {
  margin-top: 0;
  font-size: 2rem;
}

.cards {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-top: 2rem;
}

.card,
.project-item {
  background: #fff;
  border-radius: 16px;
  padding: 1.75rem;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
}

.section-dark .project-item {
  background: #1f2937;
}

.project-list {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
}

.project-item h4,
.card h4 {
  margin-top: 0;
}

.section-light p,
.section-dark p {
  color: inherit;
}

.footer {
  background: #111827;
  color: #f8fafc;
}

.footer-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.footer p {
  margin: 0.5rem 0 0;
  color: #cbd5e1;
}

@media (max-width: 720px) {
  .site-header .container,
  .hero-content,
  .footer-grid {
    display: grid;
    gap: 1rem;
  }

  .site-nav {
    justify-content: start;
  }
}
