.links-page {
  min-height: 100dvh;
  margin: 0;
  overflow-x: clip;
  color: #f5f1e8;
  background: #07090c;
}

.links-shell {
  position: relative;
  width: min(100% - 32px, 680px);
  margin: 0 auto;
  padding: clamp(42px, 8vw, 76px) 0 36px;
}

.links-network {
  position: absolute;
  top: 20px;
  right: 0;
  z-index: -1;
  width: 250px;
  color: rgba(246, 183, 62, 0.13);
}

.links-header {
  position: relative;
  padding: 0 0 36px;
  border-bottom: 1px solid #24303b;
}

.links-header::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  width: 96px;
  height: 2px;
  content: "";
  background: #f6b73e;
}

.links-brand {
  display: inline-flex;
  width: 220px;
  padding: 8px 0;
}

.links-brand img {
  display: block;
  width: 100%;
  height: auto;
}

.links-kicker {
  margin: 34px 0 14px;
  color: #f6b73e;
  font-family: var(--font-sub);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
}

.links-header h1 {
  max-width: 10ch;
  margin: 0;
  color: #f5f1e8;
  font-family: var(--font-display);
  font-size: clamp(46px, 10vw, 72px);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.035em;
}

.links-intro {
  max-width: 570px;
  margin: 24px 0 0;
  color: #aab5c0;
  font-family: var(--font-body);
  font-size: clamp(17px, 3vw, 20px);
  line-height: 1.55;
}

.links-list {
  display: grid;
  gap: 12px;
  padding: 28px 0 0;
}

.link-card {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 28px;
  gap: 16px;
  align-items: center;
  min-height: 92px;
  padding: 16px 18px;
  color: #f5f1e8;
  border: 1px solid #24303b;
  background: #10161d;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

.link-card:hover {
  transform: translateY(-2px);
  border-color: rgba(246, 183, 62, 0.68);
  background: #141c25;
}

.link-card:focus-visible {
  outline: 3px solid #f6b73e;
  outline-offset: 3px;
}

.link-card-primary {
  color: #07090c;
  border-color: #f6b73e;
  background: #f6b73e;
}

.link-card-primary:hover {
  border-color: #ffd36b;
  background: #ffd36b;
}

.link-card-featured {
  border-color: rgba(246, 183, 62, 0.5);
}

.link-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid currentColor;
}

.link-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.link-card-featured .link-icon svg {
  fill: currentColor;
  stroke: none;
}

.link-index {
  color: #f6b73e;
  font-family: var(--font-sub);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.link-copy {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.link-copy strong {
  color: inherit;
  font-family: var(--font-sub);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.2;
}

.link-copy span {
  color: #9aa8b5;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.35;
}

.link-card-primary .link-copy span {
  color: rgba(7, 9, 12, 0.76);
}

.link-arrow {
  justify-self: end;
  color: inherit;
  font-family: var(--font-sub);
  font-size: 23px;
  line-height: 1;
}

.links-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 0 4px;
  color: #778592;
  font-family: var(--font-sub);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
}

.links-divider::after {
  flex: 1;
  height: 1px;
  content: "";
  background: #24303b;
}

.links-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 36px;
  padding-top: 22px;
  color: #778592;
  border-top: 1px solid #24303b;
  font-family: var(--font-sub);
  font-size: 11px;
  letter-spacing: 0.14em;
}

.links-footer a {
  color: #f6b73e;
  text-decoration: none;
}

@media (max-width: 520px) {
  .links-shell {
    width: min(100% - 24px, 680px);
    padding-top: 30px;
  }

  .links-brand {
    width: 184px;
  }

  .links-network {
    top: 12px;
    right: 0;
    width: 180px;
    color: rgba(246, 183, 62, 0.1);
  }

  .links-kicker {
    margin-top: 28px;
  }

  .link-card {
    grid-template-columns: 38px minmax(0, 1fr) 22px;
    gap: 12px;
    min-height: 88px;
    padding: 15px 14px;
  }

  .link-icon {
    width: 38px;
    height: 38px;
  }

  .link-copy strong {
    font-size: 16px;
  }

  .links-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .link-card {
    transition: none;
  }

  .link-card:hover {
    transform: none;
  }
}
