:root {
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #07111f;
  color: #f4f7fb;
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 82% 18%, rgba(33, 224, 159, 0.18), transparent 28rem),
    linear-gradient(135deg, #07111f 0%, #0a1728 56%, #07131b 100%);
}

body::before {
  position: fixed;
  inset: 0;
  pointer-events: none;
  content: "";
  opacity: 0.2;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black, transparent 75%);
}

.shell {
  width: min(1120px, calc(100% - 40px));
  min-height: 100vh;
  margin: 0 auto;
  padding: 64px 0 36px;
  display: grid;
  grid-template-rows: 1fr auto auto;
  gap: 48px;
}

.hero {
  align-self: center;
  max-width: 820px;
}

.eyebrow {
  width: fit-content;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 13px;
  border: 1px solid rgba(80, 247, 187, 0.28);
  border-radius: 999px;
  background: rgba(28, 173, 123, 0.08);
  color: #8df6cf;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.08em;
}

.pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #42eca9;
  box-shadow: 0 0 0 5px rgba(66, 236, 169, 0.12), 0 0 22px rgba(66, 236, 169, 0.65);
}

.kicker {
  margin: 38px 0 14px;
  color: #75869c;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.24em;
}

h1 {
  margin: 0;
  font-size: clamp(56px, 10vw, 126px);
  font-weight: 680;
  line-height: 0.92;
  letter-spacing: -0.07em;
}

h1 span {
  color: #42eca9;
}

.intro {
  max-width: 600px;
  margin: 30px 0 0;
  color: #a9b5c5;
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.7;
}

.project-link {
  width: fit-content;
  margin-top: 28px;
  padding-bottom: 5px;
  display: inline-flex;
  gap: 12px;
  border-bottom: 1px solid rgba(66, 236, 169, 0.5);
  color: #d9fff1;
  font-size: 15px;
  font-weight: 650;
  text-decoration: none;
}

.project-link span {
  color: #42eca9;
  transition: transform 160ms ease;
}

.project-link:hover span,
.project-link:focus-visible span {
  transform: translateX(4px);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.metrics article {
  padding: 28px 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.metrics article + article {
  padding-left: 28px;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.metrics strong {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 620;
  letter-spacing: -0.04em;
}

.metrics small {
  color: #77889e;
  font-size: 0.45em;
  letter-spacing: 0;
}

.metrics span,
footer {
  color: #75869c;
  font-size: 13px;
}

footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  letter-spacing: 0.05em;
}

.mark {
  color: #42eca9;
  font-weight: 700;
  letter-spacing: 0.18em;
}

@media (max-width: 640px) {
  .shell {
    width: min(100% - 28px, 1120px);
    padding-top: 36px;
    gap: 32px;
  }

  .metrics {
    grid-template-columns: 1fr;
  }

  .metrics article {
    padding: 18px 0;
  }

  .metrics article + article {
    padding-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 0;
  }
}
