/* ===== COLOURS: change these to restyle the whole site ===== */
:root {
  --purple: #534ab7;
  --purple-soft: #eeedfe;
  --purple-dark: #3c3489;
  --ink: #1b1a2e;
  --muted: #5d5b72;
  --page: #f6f5fb;
  --white: #ffffff;
  --line: #e6e3f3;
  --green-bg: #e7f6ee;
  --green-text: #0f5c37;
}

/* ===== BASICS ===== */
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: Inter, system-ui, sans-serif;
}

p { margin: 0; }

/* make sure anything marked hidden really hides */
[hidden] { display: none !important; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.muted { color: var(--muted); font-size: 15px; }
.small { font-size: 14px; }
.big-muted { font-size: 17px; line-height: 1.55; }

.link-strong { font-weight: 600; color: var(--purple); }

/* hides text on screen but keeps it for screen readers */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

/* ===== TOP BAR ===== */
.topbar {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 16px;
  padding-bottom: 16px;
}

.logo {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--purple);
}

.pill {
  background: var(--purple-soft);
  color: var(--purple-dark);
  font-size: 14px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 999px;
}

/* ===== BANNER ===== */
.banner {
  background: var(--purple-soft);
  color: var(--purple-dark);
  font-size: 14px;
  text-align: center;
  padding: 10px 16px;
}

/* ===== TAGS ===== */
.tag {
  align-self: flex-start;
  font-size: 13px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
}

.tag-purple { background: var(--purple-soft); color: var(--purple-dark); }
.tag-green  { background: var(--green-bg); color: var(--green-text); font-size: 12px; }

.label-accent { font-size: 13px; font-weight: 600; color: var(--purple); }

/* ===== BUTTONS ===== */
.btn {
  min-height: 44px;
  border-radius: 12px;
  font-family: Inter, sans-serif;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
}

.btn-primary { background: var(--purple); color: var(--white); border: none; }
.btn-big     { min-height: 56px; font-size: 17px; padding: 0 26px; }
.btn-white   { background: var(--white); color: var(--purple-dark); border: none; min-height: 52px; }

.btn-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.btn:hover { filter: brightness(0.95); }

/* ===== HERO ===== */
.hero {
  padding-top: 64px;
  padding-bottom: 56px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 48px;
}

.hero-text {
  flex: 1 1 480px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 60px;
  line-height: 1.04;
  letter-spacing: -1.5px;
  margin: 0;
}

.hero-sub {
  font-size: 19px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 540px;
}

.waitlist {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  max-width: 540px;
}

.input {
  flex: 1 1 240px;
  min-height: 56px;
  padding: 0 16px;
  border-radius: 12px;
  border: 1.5px solid #d9d5f0;
  background: var(--white);
  font: 16px Inter, sans-serif;
  color: var(--ink);
}

.input:focus { outline: none; border-color: var(--purple); }

/* ===== EXAMPLE LISTING CARD ===== */
.listing-card {
  flex: 1 1 380px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.listing-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.thumbnail {
  background: var(--purple-soft);
  border-radius: 14px;
  height: 170px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 22px;
  color: var(--purple-dark);
}

.listing-title { font-weight: 600; font-size: 18px; }

.listing-buttons { display: flex; gap: 10px; }

/* look like buttons, but don't do anything yet */
.fake-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 12px;
  font-weight: 600;
}

.fake-btn-soft    { background: var(--purple-soft); color: var(--purple-dark); }
.fake-btn-outline { border: 1.5px solid #d9d5f0; color: var(--ink); }

/* ===== CATEGORIES ===== */
.categories {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-bottom: 56px;
}

.chip {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 500;
}

/* ===== HOW IT WORKS ===== */
.band {
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.band-inner {
  padding-top: 64px;
  padding-bottom: 64px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.big-heading {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 36px;
  margin: 0;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.step { display: flex; flex-direction: column; gap: 10px; }
.step .muted { line-height: 1.55; }

.step-num {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--purple-soft);
  color: var(--purple-dark);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-num-green { background: var(--green-bg); color: var(--green-text); }

.step-title { margin: 0; font-size: 20px; }

/* ===== FOR CREATORS ===== */
.creators {
  padding-top: 64px;
  padding-bottom: 64px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 32px;
}

.creators-text {
  flex: 1 1 420px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.perks {
  margin: 0;
  padding-left: 20px;
  line-height: 1.9;
  font-size: 16px;
}

.creator-box {
  flex: 1 1 340px;
  background: var(--purple);
  color: #e8e6fb;
  border-radius: 20px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  line-height: 1.55;
}

.creator-box-title {
  margin: 0;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 24px;
  color: var(--white);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--ink);
  color: #cfcde0;
}

.footer-inner {
  padding-top: 40px;
  padding-bottom: 40px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  line-height: 1.55;
}

.footer-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--white);
}

/* ===== WAITLIST MESSAGES ===== */
.success-banner {
  max-width: 540px;
  background: var(--green-bg);
  color: var(--green-text);
  border-radius: 12px;
  padding: 16px 18px;
  font-size: 16px;
  line-height: 1.5;
}

.error-text {
  color: #b42318;
  font-size: 14px;
}

/* ===== PHONES ===== */
@media (max-width: 600px) {
  .hero-title { font-size: 40px; }
  .hero { padding-top: 40px; gap: 32px; }
  .big-heading { font-size: 30px; }
}
