/* ------------------------------------------------ hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #fff;
  overflow: hidden;
  background: var(--ink);
}
.hero canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero .scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(20, 20, 19, 0.55),
    rgba(20, 20, 19, 0.25) 45%,
    rgba(20, 20, 19, 0.8)
  );
}
.hero .wrap {
  position: relative;
  padding-bottom: 56px;
  padding-top: 128px;
}
.hero .meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 24px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 32px;
}
.hero h1 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2.6rem, 8vw, 6.5rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
  max-width: 18ch;
}
.hero .sub {
  margin-top: 32px;
  max-width: 36rem;
  font-size: 17px;
  color: rgba(255, 255, 255, 0.75);
}
.hero .ctas {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

/* 404 — centered variant (scoped so the landing hero is untouched) */
.error-hero {
  justify-content: center;
  text-align: center;
}
.error-hero .meta {
  justify-content: center;
}
.error-hero h1 {
  max-width: 24ch;
  margin-inline: auto;
}
.error-hero .sub {
  margin-inline: auto;
}
.error-hero .ctas {
  justify-content: center;
}
.hero .backed {
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}
.hero .backed-label {
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 18px;
  letter-spacing: 0.2em;
}
.backers {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px 40px;
}
.backers a {
  display: block;
}
.backers img {
  height: 26px;
  width: auto;
  display: block;
  opacity: 0.72;
  transition: opacity 0.2s ease;
}
.backers li:hover img {
  opacity: 1;
}
@media (max-width: 560px) {
  .backers {
    gap: 18px 28px;
  }
  .backers img {
    height: 21px;
  }
}

.btn {
  display: inline-block;
  padding: 14px 28px;
  /* normalize <button> elements so they render identically to <a> buttons */
  -webkit-appearance: none;
  appearance: none;
  border: 0;
  background: none;
  cursor: pointer;
  color: inherit;
  text-decoration: none;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: 0.2s;
}
.btn-solid {
  background: #fff;
  color: var(--ink);
}
.btn-solid:hover {
  background: rgba(255, 255, 255, 0.85);
}
.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: transparent;
  color: #fff;
}
.btn-ghost:hover {
  border-color: #fff;
}
.btn-paper {
  background: var(--paper);
  color: var(--ink);
}
.btn-paper:hover {
  background: rgba(244, 244, 242, 0.85);
}
