:root {
  --bg: #f6f6f6;
  --ink: #101010;
  --muted: #5e5e5e;
  --card: #ffffff;
  --border: #101010;
  --shadow: rgba(0, 0, 0, 0.12);
  --radius: 18px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  padding: 0 20px calc(40px + env(safe-area-inset-bottom));
  font-family: "Space Grotesk", sans-serif;
  color: var(--ink);
  background: linear-gradient(140deg, #ffffff 0%, #f0f0f0 100%),
    repeating-linear-gradient(
      0deg,
      rgba(0, 0, 0, 0.04) 0,
      rgba(0, 0, 0, 0.04) 1px,
      transparent 1px,
      transparent 28px
    ),
    repeating-linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.04) 0,
      rgba(0, 0, 0, 0.04) 1px,
      transparent 1px,
      transparent 28px
    );
  background-blend-mode: normal, multiply, multiply;
  overflow-x: hidden;
}

.page {
  width: min(720px, 100%);
  display: flex;
  flex-direction: column;
  gap: 26px;
  margin: 0 auto;
}

.brand-strip {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  background: #000000;
  padding: 4px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0;
  box-shadow: none;
}

.brand-logo {
  height: clamp(92px, 16.1vw, 150px);
  width: auto;
  max-width: min(391px, 92vw);
  display: block;
}

.hero {
  width: 100%;
  max-width: none;
  margin: 0;
  display: grid;
  gap: 12px;
  text-align: center;
  justify-items: center;
}


.hero h1 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2rem, 3.2vw, 3rem);
  margin: 0;
}

.subtitle {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 520px;
}

.links {
  display: grid;
  gap: 14px;
}

.link-card {
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 16px 18px;
  text-decoration: none;
  color: var(--ink);
  display: grid;
  gap: 6px;
  transition: transform 0.2s ease, box-shadow 0.2s ease,
    background-color 0.2s ease, color 0.2s ease;
  box-shadow: 0 12px 20px -16px var(--shadow);
}

.link-title {
  font-size: 1.05rem;
  font-weight: 600;
}

.link-desc {
  font-size: 0.85rem;
  color: var(--muted);
}

.link-card:hover {
  transform: translateY(-2px);
  background: #111111;
  color: #ffffff;
  box-shadow: 0 16px 26px -18px rgba(0, 0, 0, 0.35);
}

.link-card:hover .link-desc {
  color: rgba(255, 255, 255, 0.75);
}

.link-card.highlight {
  background: #111111;
  color: #ffffff;
}

.link-card.highlight .link-desc {
  color: rgba(255, 255, 255, 0.75);
}

.link-card.highlight:hover {
  background: #1a1a1a;
}

.footer {
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}

.fade-up {
  opacity: 0;
  transform: translateY(14px);
  animation: fadeUp 0.6s ease forwards;
}

.hero.fade-up {
  animation-delay: 0.05s;
}

.links .link-card:nth-child(1) {
  animation-delay: 0.1s;
}

.links .link-card:nth-child(2) {
  animation-delay: 0.18s;
}

.links .link-card:nth-child(3) {
  animation-delay: 0.26s;
}

.links .link-card:nth-child(4) {
  animation-delay: 0.34s;
}

.footer.fade-up {
  animation-delay: 0.4s;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 720px) {
  .brand-strip {
    width: calc(100% + 40px);
    margin-left: -20px;
    margin-right: -20px;
  }

  .brand-logo {
    height: clamp(92px, 16.1vw, 150px);
  }

  .link-card {
    padding: 14px 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fade-up {
    opacity: 1;
    transform: none;
    animation: none;
  }
}
