@import url('https://fonts.googleapis.com/css2?family=Atkinson+Hyperlegible:wght@400&display=swap');

:root {
  --color-background: #000000;
  --color-text: #c4d0cd;
  --font-family-base: 'Atkinson Hyperlegible', sans-serif;
  --font-family-heading: 'Instrument Serif', serif;
  --container-width: 600px;
  --paragraph-space: 2rem;
  --title-space: 1rem;
}

::selection {
  background: rgba(255, 215, 0, 0.25);
  color: black;
}

body {
  background-color: var(--color-background);
  color: var(--color-text);
  font-family: var(--font-family-base);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, .title-1,
h2, .title-2,
h3, .title-3,
h4, .title-4,
h5, .title-5,
h6, .title-6 {
  font-family: var(--font-family-heading);
  font-style: italic;
  font-weight: 400;
  max-width: 768px;
  text-transform: none;
}

h1, .title-1 {
  font-size: 38px;
  line-height: 40px;
  letter-spacing: -0.003em;
}

h2, .title-2 {
  font-size: 32px;
  line-height: 40px;
  letter-spacing: -0.002em;
}

h3, .title-3 {
  font-size: 28px;
  line-height: 36px;
  letter-spacing: -0.001em;
}

h4, .title-4 {
  font-size: 24px;
  line-height: 36px;
  letter-spacing: -0.001em;
}

h5, .title-5 {
  font-size: 22px;
  line-height: 36px;
  letter-spacing: 0em;
}

h6, .title-6 {
  font-size: 18px;
  line-height: 32px;
  letter-spacing: 0em;
}

p, .max-w-text {
  max-width: 768px;
}

p, button, .body-1 {
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  letter-spacing: 0.001em;
}

label, figcaption, input, .body-2 {
  font-size: 12px;
  line-height: 20px;
  font-weight: 400;
  letter-spacing: 0.08em;
}

.tooltip {
  font-size: 10px;
  line-height: 16px;
  font-weight: 400;
  letter-spacing: 0.118em;
}

p.bold, span.bold,
.body-1.bold, .body-2.bold,
p .bold, span .bold,
.body-1 .bold, .body-2 .bold,
p strong, span strong,
.body-1 strong, .body-2 strong,
p b, span b,
.body-1 b, .body-2 b {
  font-weight: 700;
}

.space-text-above,
p+h1, p+h2, p+h3, p+h4, p+h5, p+h6,
h1+h2, h2+h3, h3+h4, h4+h5, h5+h6 {
  margin-top: var(--paragraph-space);
}

h1+p, h2+p, h3+p, h4+p, h5+p, h6+p {
  margin-top: var(--title-space);
}

p+p {
  margin-top: var(--title-space);
}

h1+p, h2+p, h3+p, h4+p, h5+p, h6+p,
.space-text-below {
  margin-bottom: var(--paragraph-space);
}

main {
  min-height: 100vh;
  display: grid;
  place-items: center;
}

.container {
  max-width: var(--container-width);
  padding: 20px;
}

.logo {
  display: block;
  width: 190px;
  height: auto;

  user-select: none;
  pointer-events: none;
  -webkit-user-drag: none;
}

.logo-webgl {
  width: 190px;
  height: 190px;
  margin-bottom: 1.5rem;
  margin-left: -2rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.about {
  margin-top: 2rem;
}

.social-media {
  margin-top: 3rem;
}

.social-icons {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 1rem;
}

.social-icons li {
  margin: 0;
}

.social-icons a {
  color: var(--color-text);
  text-decoration: none;
  transition: opacity 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-icons a:hover {
  opacity: 0.7;
}

.social-icons i {
  font-size: 1.3rem;
}

.fade-stagger {
  opacity: 0;
  transform: translateY(6px);
  transition-property: opacity, transform;
  transition-timing-function: cubic-bezier(0.33, 1, 0.68, 1);
  will-change: opacity, transform;
}

.fade-stagger.visible {
  opacity: 1;
  transform: translateY(0);
}

#timezone-message {
  font-style: italic;
  opacity: 0.8;
}

.status-dot {
  position: relative;
  padding-left: 1.2em;
  font-style: italic;
}

.status-dot::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 0.5em;
  height: 0.5em;
  background-color: #7CFC00;
  border-radius: 50%;
  box-shadow: 0 0 0 rgba(124, 252, 0, 0.4);
  animation: pulse-lux 2.5s cubic-bezier(0.33, 1, 0.68, 1) infinite;
}

@keyframes pulse-lux {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(124, 252, 0, 0.4);
  }

  50% {
    transform: scale(1.08);
    box-shadow: 0 0 8px 4px rgba(124, 252, 0, 0.2);
  }

  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(124, 252, 0, 0);
  }
}

.copy-email {
  font-style: italic;
  text-decoration: underline;
  color: #4168a6;
  cursor: pointer;
}

.no-margin {
  margin: 0;
}