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

body {
  font-family: "Mona Sans", "Mona Sans Fallback", -apple-system, sans-serif;
  line-height: 1.6;
  font-size: 1.05rem;
  color: #2c2c2c;
  background-color: #fafafa;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: #2c2c2c;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

a:hover {
  opacity: 0.6;
}

h1 {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

h2 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

p {
  color: #666;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.gradient,
.gradient-text {
  background: linear-gradient(120deg, #5b8cfa, #b14cff, #0bc6e3);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.wordmark {
  font-size: 1.05rem;
  font-weight: 650;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #4b5563;
  line-height: 1.1;
}

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

/* Header */
header {
  padding: 2rem 0;
  border-bottom: 1px solid #e0e0e0;
}

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

nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.95rem;
  color: #666;
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: #2c2c2c;
}

/* Main Content */
main {
  padding: 4rem 0;
  min-height: 60vh;
}

.content,
.intro {
  max-width: 760px;
  padding: 3rem 0;
}

.content h2 {
  margin-bottom: 2rem;
}

.intro-label {
  font-size: 0.95rem;
  color: #999;
  margin-bottom: 2rem;
  font-weight: 500;
}

.intro h2 {
  font-size: 2.8rem;
  line-height: 1.15;
  margin-bottom: 1.4rem;
}

.intro-text {
  font-size: 1.125rem;
  line-height: 1.7;
  color: #666;
  margin-bottom: 2rem;
}

.section-heading {
  font-size: 1.35rem;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
  color: #2c2c2c;
}

.stack {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.stack-item {
  padding: 1.25rem 1.2rem;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.04);
}

.item-top {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
  margin-bottom: 0.5rem;
}

.item-title {
  font-weight: 600;
  color: #2c2c2c;
  letter-spacing: -0.01em;
}

.eyebrow {
  font-size: 0.9rem;
  color: #8a8a8a;
  margin-bottom: 0.2rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.65rem;
  background: #f4f4f6;
  color: #555;
  border-radius: 999px;
  font-size: 0.85rem;
  border: 1px solid #e2e2e2;
  white-space: nowrap;
}

.pill-row {
  display: inline-flex;
  gap: 0.4rem;
  align-items: center;
  flex-wrap: wrap;
}

.pill-tag {
  background: #e9f1ff;
  color: #1f3f73;
  border-color: #d5e3ff;
  font-weight: 600;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.6rem;
}

.tag {
  padding: 0.35rem 0.6rem;
  background: #f7f7f9;
  border: 1px solid #e6e6e6;
  border-radius: 8px;
  font-size: 0.85rem;
  color: #555;
}

/* Footer */
footer {
  padding: 3rem 0 2rem;
  border-top: 1px solid #e0e0e0;
  font-size: 0.9rem;
  color: #999;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-content p {
  margin: 0;
  color: #999;
}

.social-row {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.social-icon {
  height: 18px;
  opacity: 0.5;
  transition: all 0.2s ease;
}

.social-icon:hover {
  opacity: 1;
  transform: translateY(-2px);
}

footer a {
  color: #666;
  transition: color 0.2s ease;
}

footer a:hover {
  color: #2c2c2c;
  opacity: 1;
}

/* Responsive */
@media (max-width: 768px) {
  header .container {
    flex-direction: column;
    gap: 1rem;
  }

  nav {
    flex-direction: column;
    gap: 1rem;
  }

  .nav-links {
    gap: 1rem;
  }

  .intro h2 {
    font-size: 2rem;
  }

  .intro-actions {
    flex-direction: column;
  }

  .intro-actions .btn {
    width: 100%;
    text-align: center;
  }

  .item-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
  }

  .pill-row {
    width: 100%;
    gap: 0.3rem;
  }

  .pill {
    padding: 0.3rem 0.55rem;
    font-size: 0.82rem;
  }

  .footer-content {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }
}

@media (max-width: 640px) {
  h2 {
    font-size: 1.75rem;
  }
}
