:root {
  --bg: #f5f5f7;
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --line: #d2d2d7;
  --card: rgba(255, 255, 255, 0.78);
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
  --radius-xl: 28px;
  --radius-lg: 20px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "SF Pro Display", "SF Pro Text", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
  background: linear-gradient(180deg, #ffffff 0%, var(--bg) 52%, #eef0f4 100%);
  color: var(--ink);
  min-height: 100vh;
}

.page-glow {
  position: fixed;
  z-index: -1;
  border-radius: 999px;
  filter: blur(80px);
  opacity: 0.55;
}

.page-glow-a {
  width: 340px;
  height: 340px;
  background: #d9ecff;
  top: 5%;
  right: -140px;
}

.page-glow-b {
  width: 360px;
  height: 360px;
  background: #fcead5;
  bottom: -60px;
  left: -140px;
}

.shell {
  width: min(1120px, calc(100vw - 2.4rem));
  margin: 1rem auto 2.5rem;
}

.top-nav {
  position: sticky;
  top: 1rem;
  z-index: 10;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
  padding: 0.55rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
}

.brand {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.top-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.top-actions a {
  text-decoration: none;
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 600;
  border: 1px solid #d8d8dd;
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
  background: #ffffff;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.top-actions a:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.top-actions a:last-child {
  background: #0071e3;
  border-color: #0071e3;
  color: #ffffff;
}

.hero {
  padding: 4.7rem 0 3.2rem;
  text-align: center;
}

.eyebrow {
  margin: 0;
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0071e3;
  font-weight: 600;
}

h1 {
  margin: 0.7rem auto 1rem;
  max-width: 880px;
  font-size: clamp(2.25rem, 6.8vw, 5.1rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 700;
}

.hero-copy {
  margin: 0 auto;
  max-width: 760px;
  font-size: clamp(1rem, 2.5vw, 1.26rem);
  color: var(--muted);
  line-height: 1.48;
}

.hero-meta {
  margin: 1rem 0 0;
  color: #515154;
  font-size: 0.95rem;
}

.section-block {
  margin-bottom: 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: var(--radius-xl);
  background: var(--card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
  padding: clamp(1.15rem, 2.8vw, 2rem);
  animation: rise 660ms ease both;
}

.section-block:nth-of-type(2) {
  animation-delay: 80ms;
}

.section-block:nth-of-type(3) {
  animation-delay: 140ms;
}

.section-block:nth-of-type(4) {
  animation-delay: 190ms;
}

h2 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.5rem, 4.4vw, 2.4rem);
  letter-spacing: -0.01em;
}

.grid {
  display: grid;
  gap: 0.8rem;
}

.cards {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.stats-grid {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.card {
  border: 1px solid #e5e5ea;
  border-radius: var(--radius-lg);
  background: #ffffff;
  padding: 1rem;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.card h3 {
  margin: 0;
  font-size: 1.2rem;
  letter-spacing: -0.01em;
}

.meta {
  margin: 0.35rem 0 0.8rem;
  color: #636366;
  font-size: 0.89rem;
}

.card ul {
  margin: 0;
  padding-left: 1rem;
}

.card li {
  margin: 0.5rem 0;
  color: #3a3a3c;
  line-height: 1.45;
}

.stat-card {
  text-align: center;
  background: linear-gradient(180deg, #ffffff 0%, #f8f9fb 100%);
}

.stat-value {
  margin: 0;
  font-size: clamp(1.8rem, 5vw, 2.9rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.stat-label {
  margin: 0.18rem 0 0;
  color: #636366;
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 600;
}

.stack-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.stack-chip {
  border: 1px solid #dadbe1;
  border-radius: 999px;
  background: #ffffff;
  color: #1d1d1f;
  padding: 0.45rem 0.8rem;
  font-size: 0.86rem;
  font-weight: 600;
}

.footer {
  padding: 1rem 0 0.2rem;
  text-align: center;
  color: #6e6e73;
  font-size: 0.9rem;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 700px) {
  .shell {
    width: min(1120px, calc(100vw - 1.2rem));
  }

  .top-nav {
    border-radius: 20px;
    padding: 0.7rem;
    align-items: flex-start;
    flex-direction: column;
  }

  .top-actions a {
    padding: 0.45rem 0.7rem;
  }

  .hero {
    text-align: left;
    padding: 2.6rem 0 2rem;
  }

  .hero-copy,
  h1 {
    max-width: none;
  }
}
