body {
  background-color: var(--background);
}

.root {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
}

.top-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  height: 72px;
  padding: 16px 24px;
  align-items: center;
  justify-content: space-between;
  border-bottom: var(--border-2) 1px solid;
  background-color: var(--surface-1);
}

.top-bar h1 {
  font-family: 'Caveat', cursive;
  font-weight: 500;
  padding-right: 12px;
  user-select: none;
}

.left-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.right-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.login-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  font-size: 16px;
  padding: 8px 20px;
  color: var(--text-primary);
  border: 1px solid var(--brand-dark);
  background-color: transparent;
}

.login-btn:hover {
  background-color: var(--surface-2);
  color: var(--text-primary);
}

.hero {
  display: flex;
  flex-direction: column;
  align-self: center;
  align-items: center;
  justify-content: center;
  height: 50vh;
  padding: 0 32px;
  margin-top: 72px;
}

.hero h1 {
  width: 100%;
  max-width: 850px;
  font-size: 3.5rem;
  font-weight: 500;
  text-align: center;
}

.hero p {
  width: 100%;
  max-width: 640px;
  font-size: 1.2rem;
  font-weight: 200;
  text-align: center;
  margin-top: 16px;
}

.hero .waitlist-form {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  margin-top: 40px;
}

.waitlist-form input {
  width: 300px;
  height: 48px;
  font-size: 16px;
  font-weight: 200;
  border-radius: 8px;
  padding: 8px 16px;
  border: 1px solid var(--border-default);
  background-color: var(--surface-1);
}

.waitlist-form button {
  height: 48px;
  padding: 8px 16px;
}

.story {
  display: flex;
  flex-direction: column;
  align-self: center;
  align-items: center;
  justify-content: center;
  height: 56vh;
  padding: 0 32px;
  background-color: var(--surface-1);
}

.story h2 {
  width: 100%;
  max-width: 800px;
  font-size: 2.5rem;
  font-weight: 500;
  text-align: center;
}

.story p {
  width: 100%;
  max-width: 800px;
  font-size: 1.2rem;
  font-weight: 200;
  text-align: justify;
  margin-top: 32px;
}

.features {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 48px;
  padding: 48px 56px;
}

.features h2 {
  width: 100%;
  max-width: 800px;
  font-size: 2.5rem;
  font-weight: 500;
  text-align: center;
}

.features-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
}

.feature {
  flex: 1 1 240px;
  max-width: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 16px;
  border-radius: 12px;
  border: 1px solid var(--border-default);
  background-color: var(--surface-1);
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
}

.feature img {
  width: 100%;
  border-radius: 8px;
}

.feature h3 {
  font-size: 1.2rem;
  font-weight: 600;
}

.feature p {
  min-height: 100px;
  font-size: 1rem;
  font-weight: 200;
  text-align: center;
}

footer {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  background-color: var(--surface-1);
}

/* Responsive Font Sizes */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 3rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .story h1 {
    font-size: 2rem;
  }

  .story p {
    font-size: 1rem;
  }

  .waitlist-form button {
    padding: 6px 12px;
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2.4rem;
  }

  .hero p {
    font-size: 0.8rem;
  }

  .story h1 {
    font-size: 1.6rem;
  }

  .story p {
    font-size: 0.8rem;
  }
}
