@font-face {
  font-family: 'Matter SQ';
  src: url('Matter SQ Regular.woff2') format('woff2'),
    url('Matter SQ Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

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

:root {
  --color-bg: #fdffe5;
  --color-text: #0a0a0a;
  --color-text-muted: rgba(10, 10, 10, 0.45);
  --color-border: rgba(10, 10, 10, 0.15);
}

html {
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Matter SQ', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--color-bg);
  color: var(--color-text);
  min-height: 100vh;
  min-height: 100dvh;
  line-height: 1.5;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

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

.container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 2rem;
  position: relative;
  animation: fadeIn 0.6s ease-out;
}

.content {
  text-align: center;
  max-width: 32rem;
  padding-bottom: 3rem;
}

.logo {
  display: block;
  margin: 0 auto 1.5rem;
  max-width: 175px;
  width: 100%;
  height: auto;
  filter: invert(1);
}

.tagline {
  font-size: 1.2rem;
  color: var(--color-text);
  letter-spacing: -0.01em;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.x-icon {
  width: 14px;
  height: 14px;
  vertical-align: middle;
  position: relative;
  top: -1px;
}

.x-icon:hover {
  top: -3px;
  transition: all 0.3s ease;
  opacity: 0.7;
}

.btn {
  display: inline-flex;
  justify-content: center;
  white-space: nowrap;
  padding: 10px 14px;
  border-radius: 3rem;
  corner-shape: squircle;
  position: relative;
  font-size: 1rem;
  font-weight: bold;
  letter-spacing: 0.15px;
  text-decoration: none;
  color: #FEFFE6;
  background: linear-gradient(to right, rgb(0 0 0), rgb(20 20 20));
  box-shadow: 0 1px 2px rgba(0, 0, 0, .08), 0 2px 8px rgba(0, 0, 0, .12);
  overflow: hidden;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 3rem;
  corner-shape: squircle;
  pointer-events: none;
  background: linear-gradient(45deg,
      transparent 25%,
      rgba(255, 255, 255, .5) 50%,
      transparent 75%,
      transparent 100%);
  background-size: 300% 300%;
  background-position: 100% 0;
  background-repeat: no-repeat;
  transition: background-position 0s ease;
}

.btn:hover::before {
  background-position: -100% 0;
  transition-duration: 1200ms;
}

.footer {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.8125rem;
}

.footer-link {
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: var(--color-text);
}

.footer-separator {
  color: var(--color-text-muted);
}

/* The cute little sparkle */
.sparkle {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  font-size: 1rem;
  color: var(--color-text);
  opacity: 0.25;
  animation: pulse 3s ease-in-out infinite;
  user-select: none;
  pointer-events: none;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 0.15;
    transform: scale(1);
  }

  50% {
    opacity: 0.4;
    transform: scale(1.1);
  }
}

@media (max-width: 640px) {
  .logo {
    width: 200px;
    margin-bottom: 2rem;
  }

  .tagline {
    font-size: 1rem;
  }

  .button {
    padding: 0.75rem 1.75rem;
    font-size: 0.875rem;
  }

  .footer {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    max-width: 280px;
  }

  .sparkle {
    bottom: 1.5rem;
    right: 1.5rem;
    font-size: 0.875rem;
  }
}

::selection {
  background-color: var(--color-text);
  color: var(--color-bg);
}

.container--page {
  justify-content: flex-start;
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.page {
  max-width: 40rem;
  width: 100%;
}

.back-link {
  display: inline-block;
  margin-bottom: 2rem;
  font-size: 0.875rem;
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.back-link:hover {
  color: var(--color-text);
}

.page-title {
  font-size: 1.75rem;
  font-weight: 400;
  margin-bottom: 2.5rem;
  letter-spacing: -0.02em;
}

.page-section {
  margin-bottom: 2rem;
}

.page-section h2 {
  font-size: 0.8125rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
  margin-bottom: 0.75rem;
}

.page-section p {
  margin-bottom: 0.75rem;
  line-height: 1.7;
}

.page-section p:last-child {
  margin-bottom: 0;
}

.page-section a {
  color: var(--color-text);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.page-section a:hover {
  text-decoration: none;
}

.page-section ul {
  margin: 0.75rem 0;
  padding-left: 1.25rem;
}

.page-section li {
  margin-bottom: 0.375rem;
  line-height: 1.6;
}

.footnote {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-top: 2rem;
}

@media (max-width: 640px) {
  .container--page {
    padding-top: 2rem;
  }

  .page-title {
    font-size: 1.5rem;
  }
}