@import url("components/header.css");
@import url("components/footer.css");
@import url("components/hero.css");
@import url("components/product-cards.css");
@import url("components/editor-card.css");
@import url("components/loom-demo.css");
@import url("components/sign-up-section.css");
@import url("components/looms-lane.css");
@import url("components/supporters.css");
@import url("cookie-banner.css");

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
  "Segoe UI", sans-serif;
  background: #0f1013;
  color: #ffffff;
}

.nunito-bold {
  font-family: "Nunito", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-weight: 800;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

h1,
h2,
h3,
h4 {
  font-weight: 700;
  color: #e9e9eb;
}

p {
  margin: 0;
}

a {
  color: inherit;
}

/* Visually hidden but still accessible (for labels etc.) */
.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;
}

button {
  font-family: inherit;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 1.6rem;
  border-radius: 25px;
  border: none;
  cursor: pointer;
  /*background: linear-gradient(135deg, #7e72ff, #b18fff);*/
  background: #5e5ce6;
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.12s ease-out, box-shadow 0.12s ease-out,
  opacity 0.12s ease-out;
}

.btn-primary:hover {
  transform: scale(1.02);
  opacity: 0.96;
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-primary:disabled {
  opacity: 0.5;
  cursor: default;
  transform: none;
  box-shadow: none;
}

/* invalid email input highlight */
#signup-email.is-invalid {
  border-color: #ff6666;
}
