:root {
  --bg: #000000;
  --text: #f5f5f5;
  --muted: #8a8a8a;
  --border: #1c1c1c;
  --gradient: linear-gradient(90deg, #7c5cff, #ff4d9d, #ffb347);
}

* {
  box-sizing: border-box;
  margin: 0;
}

html,
body {
  height: 100%;
}

body {
  background: var(--bg);
  color: var(--text);
  display: flex;
  flex-direction: column;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 40px;
}

.logo {
  color: var(--text);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-decoration: none;
}

nav {
  display: flex;
  gap: 32px;
}

nav a {
  color: var(--muted);
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: color 0.2s;
}

nav a:hover,
nav a[aria-current="page"] {
  color: var(--text);
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px;
}

/* Home */

.home {
  align-items: center;
  text-align: center;
}

.wordmark {
  position: relative;
  font-size: clamp(5rem, 22vw, 14rem);
  font-weight: 200;
  letter-spacing: -0.04em;
  line-height: 1;
}

/* Gradient shadow: a blurred gradient copy of the word behind the text */
.wordmark::before,
.wordmark::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transform: translateY(0.05em);
}

.wordmark::before {
  filter: blur(10px) brightness(1.3);
}

.wordmark::after {
  filter: blur(36px) brightness(1.5);
}

.home main,
main.home {
  isolation: isolate;
}

.tagline {
  color: var(--muted);
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  max-width: 520px;
  margin-top: 40px;
}

/* Inner pages */

.page {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
}

.page h1 {
  font-size: clamp(2.4rem, 7vw, 4.5rem);
  font-weight: 200;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 48px;
}

.page p {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 600px;
}

.list {
  list-style: none;
  padding: 0;
}

.list li {
  border-top: 1px solid var(--border);
  padding: 28px 0;
}

.list li:last-child {
  border-bottom: 1px solid var(--border);
}

.list h2 {
  font-size: 1.3rem;
  font-weight: 400;
  margin-bottom: 6px;
}

.email {
  display: inline-block;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: clamp(1.5rem, 5vw, 2.5rem);
  font-weight: 300;
  letter-spacing: -0.01em;
  margin-top: 32px;
  text-decoration: none;
}

.email:hover {
  opacity: 0.8;
}

.site-footer {
  color: #4a4a4a;
  font-size: 0.8rem;
  padding: 28px 40px;
}

@media (max-width: 520px) {
  .site-header,
  .site-footer {
    padding: 20px;
  }

  main {
    padding: 20px;
  }

  nav {
    gap: 18px;
  }
}
