:root {
  color-scheme: dark;
  --background: #000000;
  --foreground: #f5f5f5;
  --muted: #9ca3af;
  --border: #1a1a1a;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  background-color: var(--background);
  color: var(--foreground);
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
  position: relative;
  overflow: hidden;
}

.grid-bg {
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image:
    linear-gradient(rgba(255, 255, 255, 1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 1) 1px, transparent 1px);
  background-size: 60px 60px;
}

.fade-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(to bottom, rgb(0, 0, 0) 0%, rgb(0, 0, 0) 50%, transparent 100%);
}

.brand {
  text-align: center;
  margin-bottom: 64px;
  position: relative;
  z-index: 1;
}

.brand-logo {
  width: 300px;
  height: auto;
  max-width: 80vw;
  display: block;
  margin: 0 auto;
}

.brand-tagline {
  margin-top: 16px;
  color: var(--muted);
  font-size: 1.125rem;
  letter-spacing: 0.02em;
}

.link-cards {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  max-width: 672px;
  position: relative;
  z-index: 1;
}

.card-link {
  text-decoration: none;
  color: inherit;
  flex: 1;
}

.card {
  background: #000000;
  border: 1px solid var(--border);
  padding: 32px;
  transition: transform 0.2s ease;
}

.card-link:hover .card {
  transform: translateY(-2px);
}

.card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.card-icon {
  width: 32px;
  height: 32px;
  color: var(--foreground);
}

.card-title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
}

.card-text {
  margin: 0;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.6;
}

.card-cta {
  margin-top: 24px;
  display: flex;
  align-items: center;
  font-size: 0.875rem;
  color: var(--muted);
}

.card-arrow {
  width: 16px;
  height: 16px;
  margin-right: 8px;
  transform: rotate(-45deg);
  transition: transform 0.2s ease;
}

.card-link:hover .card-arrow {
  transform: translate(2px, -2px) rotate(-45deg);
}

.footer {
  margin-top: 80px;
  color: var(--muted);
  font-size: 0.875rem;
  position: relative;
  z-index: 1;
}

@media (min-width: 640px) {
  .link-cards {
    flex-direction: row;
  }

  .brand-tagline {
    font-size: 1.25rem;
  }
}