:root {
  --text: #171a21;
  --muted: #5f6875;
  --website: #171a21;
  --linkedin: #0a66c2;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text);
  background: #ffffff;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  position: relative;
}

.background {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.triangle {
  position: absolute;
  clip-path: polygon(0 0, 100% 0, 100% 100%);
  transform: translate(-50%, -50%) rotate(var(--start-angle));
  animation: rotateTriangle linear infinite;
  will-change: transform;
}

@keyframes rotateTriangle {
  from {
    transform: translate(-50%, -50%) rotate(var(--start-angle));
  }

  to {
    transform: translate(-50%, -50%) rotate(calc(var(--start-angle) + 360deg));
  }
}

main {
  flex: 1;
  display: grid;
  place-items: center;
  padding: 3rem 1.5rem;
  text-align: center;
}

.content {
  width: 100%;
  max-width: 42rem;
  transform: translateY(-1rem);
}

.logo {
  margin-bottom: 2.75rem;
}

.logo img {
  width: min(440px, 88vw);
  height: auto;
}

h1 {
  margin: 0 0 1.5rem;
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.045em;
}

.event-heading {
  font-weight: 500;
}

.event-title {
  display: block;
  margin-top: 0.4em;
  color: #5f6875;
  font-weight: 800;
  letter-spacing: -0.04em;
}

p {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--muted);
}

.links {
  margin-top: 3.5rem;
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.8rem 1.2rem;
  border-radius: 999px;
  color: #ffffff;
  text-decoration: none;
  font-weight: 650;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.button:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

.button:active {
  transform: translateY(0);
  opacity: 0.85;
}

.website {
  background: var(--website);
}

.linkedin {
  background: var(--linkedin);
}

a:focus-visible {
  outline: 3px solid #ffbf47;
  outline-offset: 3px;
}

footer {
  padding: 1.5rem;
  font-size: 0.875rem;
  color: #8a93a1;
  text-align: center;
}

@media (prefers-reduced-motion: reduce) {
  .triangle,
  .button {
    animation: none;
    transition: none;
  }

  .button:hover,
  .button:active {
    transform: none;
  }
}