
:root {
  --navy: #101b2d;
  --navy-light: #1b2a40;
  --cream: #f8f7f3;
  --white: #ffffff;
  --purple: #a68aff;
  --purple-dark: #7053d7;
  --yellow: #f7d66b;
  --muted: #727987;
  --line: #e8e7e2;
  --font: "DM Sans", sans-serif;
  --heading: "Manrope", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 95px;
}

body {
  font-family: var(--font);
  color: var(--navy);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
}

button, input, select {
  font: inherit;
}

button, a {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible, a:focus-visible,
input:focus-visible, select:focus-visible {
  outline: 3px solid var(--purple-dark);
  outline-offset: 3px;
}

.navbar {
  height: 84px;
  padding: 0 7%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--cream);
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(16, 27, 45, 0.07);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font: 800 23px var(--heading);
  letter-spacing: -1.2px;
  white-space: nowrap;
}

.brand-icon {
  width: 34px;
  height: 34px;
  color: var(--purple-dark);
}

.brand-icon svg {
  width: 100%;
  height: 100%;
}

.brand-accent {
  color: var(--purple-dark);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 13px;
  font-weight: 600;
  color: #626b79;
}

.nav-links a:hover, .text-link:hover {
  color: var(--purple-dark);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border: none;
  border-radius: 8px;
  padding: 15px 21px;
  font-size: 13px;
  font-weight: 700;
  transition: transform 0.2s ease, background 0.2s ease;
  cursor: pointer;
}

.button:hover {
  transform: translateY(-2px);
}

.button-small {
  padding: 12px 17px;
  background: var(--navy);
  color: white;
  gap: 13px;
}

.button-primary {
  background: var(--purple);
  color: var(--navy);
}

.button-primary:hover {
  background: #b8a4ff;
}

.button-dark {
  background: var(--navy);
  color: white;
}

.button-dark:hover, .button-small:hover {
  background: var(--navy-light);
}

.hero {
  min-height: 570px;
  padding: 76px 10% 70px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 35px;
  background: var(--navy);
  color: white;
  position: relative;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  width: 440px;
  height: 440px;
  right: 4%;
  top: 4%;
  border-radius: 50%;
  background: #7053d7;
  filter: blur(150px);
  opacity: 0.19;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 550px;
}

.eyebrow, .section-label {
  font-size: 10px;
  letter-spacing: 2px;
  font-weight: 800;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #c5cbd6;
  border: 1px solid #354156;
  padding: 10px 13px;
  border-radius: 30px;
  margin-bottom: 27px;
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #8be3b2;
  box-shadow: 0 0 12px #8be3b255;
}

.hero h1, .section-heading h2, .categories-heading h2,
.join-copy h2, .bottom-cta h2 {
  font-family: var(--heading);
  font-weight: 800;
  letter-spacing: -2.6px;
  line-height: 1.12;
}

.hero h1 {
  font-size: clamp(43px, 5.1vw, 68px);
}

.highlight {
  color: var(--purple);
}

.highlight-dark {
  color: var(--purple-dark);
}

.hero-description {
  max-width: 440px;
  margin-top: 24px;
  font-size: 15px;
  line-height: 1.9;
  color: #b6bfce;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 25px;
  margin-top: 30px;
}

.text-link {
  font-size: 13px;
  font-weight: 700;
  color: white;
}

.text-link span {
  margin-left: 7px;
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 46px;
  font-size: 11px;
  line-height: 1.8;
  color: #aeb8c8;
}

.hero-note strong {
  color: white;
  font-size: 12px;
}

.avatar-stack {
  display: flex;
  align-items: center;
  padding-left: 3px;
}

.avatar-stack span {
  display: grid;
  place-items: center;
  margin-left: -4px;
  width: 28px;
  height: 28px;
  border: 2px solid var(--navy);
  border-radius: 50%;
  background: #ddd4ff;
  color: var(--navy);
  font-size: 9px;
  font-weight: 800;
}

.avatar-stack span:nth-child(2) {
  background: #f6d989;
}

.avatar-stack span:nth-child(3) {
  background: #b2e4cb;
}

.avatar-stack span:nth-child(4) {
  background: #3b4961;
  color: white;
}

.hero-visual {
  min-height: 395px;
  position: relative;
  display: grid;
  place-items: center;
}

.orbit {
  position: absolute;
  border: 1px solid #344056;
  border-radius: 50%;
}

.orbit-one {
  width: 370px;
  height: 370px;
}

.orbit-two {
  width: 300px;
  height: 300px;
  border-style: dashed;
  border-color: #47516b;
}

.circle-art {
  width: 240px;
  height: 240px;
  display: grid;
  place-items: center;
  position: relative;
  border-radius: 50%;
  background: linear-gradient(145deg, #28374e, #19243a);
  box-shadow: 0 25px 80px #050b1780;
}

.circle-ring {
  position: absolute;
  border: 1px solid #aa95ff;
  border-radius: 50%;
}

.ring-outer {
  inset: -12px;
  opacity: 0.55;
}

.ring-inner {
  inset: 16px;
  border-color: #495772;
}

.circle-center {
  width: 122px;
  height: 122px;
  display: grid;
  place-items: center;
  background: var(--purple);
  color: var(--navy);
  border-radius: 50%;
  box-shadow: 0 0 55px #a68aff33;
}

.circle-center svg {
  width: 84px;
  height: 84px;
}

.orbit-label {
  position: absolute;
  background: var(--navy);
  border: 1px solid #43506a;
  border-radius: 30px;
  padding: 8px 12px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.5px;
}

.label-one {
  top: 28px;
  left: 30px;
  color: var(--yellow);
}

.label-two {
  bottom: 26px;
  right: 5px;
  color: #b9a8ff;
}

.floating-card {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 13px 15px;
  border: 1px solid #ffffff20;
  border-radius: 12px;
  background: #253249ed;
  box-shadow: 0 15px 45px #00000020;
  backdrop-filter: blur(12px);
}

.floating-card strong, .floating-card small {
  display: block;
}

.floating-card strong {
  font-size: 11px;
  margin-bottom: 4px;
}

.floating-card small {
  font-size: 9px;
  color: #b8c1d0;
}

.floating-top {
  top: 22px;
  right: -5px;
}

.floating-bottom {
  bottom: 20px;
  left: -6px;
}

.floating-icon, .price-symbol {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: #d7caff;
  color: var(--navy);
  font-weight: 800;
}

.price-symbol {
  background: #f7d66b;
}

.spark {
  position: absolute;
  color: var(--purple);
  font-size: 21px;
}

.spark-one {
  top: 65px;
  left: 30px;
}

.spark-two {
  bottom: 65px;
  right: 32px;
  color: var(--yellow);
}

.trust-strip {
  min-height: 72px;
  padding: 18px 7%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 25px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--line);
  background: #fffefa;
  color: #7c8290;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.3px;
}

.strip-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--purple-dark);
}

.section {
  padding: 100px 10%;
}

.section-heading {
  max-width: 600px;
  text-align: center;
  margin: 0 auto 48px;
}

.section-label {
  color: var(--purple-dark);
  display: block;
  margin-bottom: 19px;
}

.section-heading h2, .categories-heading h2 {
  font-size: clamp(32px, 4vw, 47px);
}

.section-heading > p, .categories-heading > p {
  margin-top: 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.step-card {
  min-height: 285px;
  padding: 26px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 13px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.step-card:hover, .category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 45px #101b2d0c;
}

.featured-step {
  background: #f0ebff;
  border-color: #e1d8ff;
}

.step-number {
  display: block;
  font-size: 11px;
  color: #858b98;
  font-weight: 800;
  letter-spacing: 1px;
}

.step-icon {
  width: 47px;
  height: 47px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  font-size: 26px;
  margin: 25px 0 21px;
}

.icon-purple {
  background: #eee8ff;
  color: #7757d6;
}

.icon-yellow {
  background: #ffebac;
  color: #80601a;
}

.icon-green {
  background: #ddf4e8;
  color: #28734f;
}

.step-card h3 {
  font: 700 17px var(--heading);
  letter-spacing: -0.4px;
}

.step-card p {
  margin-top: 12px;
  font-size: 12px;
  line-height: 1.9;
  color: var(--muted);
}

.step-bottom {
  display: block;
  margin-top: 24px;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 1.1px;
  color: #7d8290;
}

.disclaimer {
  max-width: 680px;
  margin: 24px auto 0;
  text-align: center;
  font-size: 11px;
  color: #7e8490;
  line-height: 1.8;
}

.categories-section {
  background: #fffefa;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.categories-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 40px;
  margin-bottom: 38px;
}

.categories-heading h2 {
  max-width: 500px;
}

.categories-heading > p {
  max-width: 290px;
  margin-bottom: 5px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 15px;
}

.category-card {
  grid-column: span 2;
  position: relative;
  min-height: 180px;
  padding: 22px;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
  color: var(--navy);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-card:nth-child(4) {
  grid-column: 2 / span 2;
}

.category-icon {
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  border-radius: 11px;
  margin-bottom: 20px;
  font-size: 23px;
}

.category-auto .category-icon {
  background: #eee9ff;
}

.category-bike .category-icon {
  background: #fff0cb;
}

.category-tech .category-icon {
  background: #dff2f1;
}

.category-home .category-icon {
  background: #e5f2df;
}

.category-other .category-icon {
  background: #fbe7e7;
}

.category-name {
  display: block;
  font: 700 16px var(--heading);
  letter-spacing: -0.4px;
}

.category-description {
  display: block;
  margin-top: 7px;
  font-size: 11px;
  color: var(--muted);
}

.category-arrow {
  position: absolute;
  top: 23px;
  right: 23px;
  font-size: 17px;
  color: #8b70e5;
}

.join-section {
  padding: 100px 10%;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 80px;
  align-items: start;
  background: #f1effb;
}

.join-copy {
  padding-top: 28px;
}

.join-copy h2 {
  font-size: clamp(38px, 4.3vw, 54px);
}

.join-copy > p {
  max-width: 410px;
  margin-top: 22px;
  color: #676f7e;
  font-size: 14px;
  line-height: 1.9;
}

.join-points {
  display: grid;
  gap: 16px;
  margin-top: 30px;
  font-size: 12px;
  font-weight: 600;
}

.join-points span {
  display: flex;
  align-items: center;
  gap: 10px;
}

.join-points i {
  display: grid;
  place-items: center;
  width: 21px;
  height: 21px;
  background: white;
  border-radius: 50%;
  color: var(--purple-dark);
  font-style: normal;
  font-size: 12px;
}

.interest-form {
  background: white;
  padding: 34px;
  border: 1px solid #e7e3f3;
  border-radius: 15px;
  box-shadow: 0 20px 60px #4e437b0b;
}

.form-header {
  margin-bottom: 25px;
}

.form-kicker {
  color: var(--purple-dark);
  font-size: 9px;
  letter-spacing: 1.6px;
  font-weight: 800;
}

.form-header h3 {
  margin-top: 11px;
  font: 800 24px var(--heading);
  letter-spacing: -1px;
}

.form-header p {
  margin-top: 9px;
  font-size: 12px;
  color: var(--muted);
}

.interest-form label {
  display: block;
  margin: 19px 0 8px;
  font-size: 11px;
  font-weight: 700;
}

.optional {
  color: #8c929d;
  font-weight: 400;
}

.interest-form input:not([type="checkbox"]), .interest-form select {
  width: 100%;
  min-height: 46px;
  border: 1px solid #e2e4e9;
  background: #fdfdfd;
  color: var(--navy);
  padding: 12px 13px;
  border-radius: 7px;
  font-size: 12px;
}

.interest-form input::placeholder {
  color: #a3a8b1;
}

.interest-form input:focus, .interest-form select:focus {
  outline: none;
  border-color: var(--purple-dark);
  box-shadow: 0 0 0 3px #a68aff20;
}

.submit-button {
  width: 100%;
  margin-top: 25px;
  min-height: 49px;
}

.form-note {
  text-align: center;
  margin-top: 13px;
  font-size: 10px;
  color: #8a909a;
  line-height: 1.7;
}

.form-status {
  font-size: 12px;
  line-height: 1.6;
  margin-top: 12px;
  overflow-wrap: anywhere;
}

.bottom-cta {
  text-align: center;
  padding: 95px 20px 100px;
}

.bottom-symbol {
  margin: 0 auto 22px;
  display: grid;
  place-items: center;
  width: 51px;
  height: 51px;
  border-radius: 15px;
  background: #e9e1ff;
  color: var(--purple-dark);
  font-size: 33px;
}

.bottom-cta h2 {
  font-size: clamp(32px, 4.3vw, 48px);
}

.bottom-cta > p {
  margin: 18px 0 25px;
  color: var(--muted);
  font-size: 13px;
}

.footer {
  min-height: 90px;
  padding: 25px 7%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  background: white;
  border-top: 1px solid var(--line);
}

.footer-brand {
  font-size: 19px;
}

.footer-brand .brand-icon {
  width: 29px;
  height: 29px;
}

.footer-tagline, .footer-copy {
  color: #7c8290;
  font-size: 11px;
}

@media (min-width: 1500px) {
  .hero, .section, .join-section {
    padding-left: max(10%, calc((100% - 1200px) / 2));
    padding-right: max(10%, calc((100% - 1200px) / 2));
  }
}

@media (max-width: 1000px) {
  .navbar {
    padding: 0 5%;
  }

  .nav-links {
    gap: 17px;
    font-size: 11px;
  }

  .hero {
    padding-left: 6%;
    padding-right: 6%;
    gap: 10px;
  }

  .hero-visual {
    transform: scale(0.9);
  }

  .section, .join-section {
    padding-left: 6%;
    padding-right: 6%;
  }

  .join-section {
    gap: 35px;
  }

  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .category-card, .category-card:nth-child(4) {
    grid-column: auto;
  }
}

@media (max-width: 700px) {
  html {
    scroll-padding-top: 72px;
  }

  .navbar {
    height: 70px;
    padding: 0 20px;
  }

  .brand {
    font-size: 21px;
  }

  .brand-icon {
    width: 30px;
    height: 30px;
  }

  .nav-links {
    display: none;
  }

  .button-small {
    font-size: 11px;
    padding: 11px 13px;
  }

  .hero {
    padding: 62px 24px 48px;
    grid-template-columns: 1fr;
    text-align: center;
    gap: 0;
  }

  .hero-content {
    margin: 0 auto;
  }

  .hero h1 {
    font-size: clamp(45px, 12vw, 63px);
    letter-spacing: -2.7px;
  }

  .hero-description {
    margin: 20px auto 0;
    font-size: 13px;
    max-width: 410px;
  }

  .hero-actions {
    justify-content: center;
    gap: 18px;
  }

  .hero-note {
    justify-content: center;
    margin-top: 30px;
    text-align: left;
  }

  .hero-visual {
    min-height: 330px;
    margin-top: 20px;
    transform: scale(0.83);
  }

  .floating-top {
    right: -3px;
  }

  .floating-bottom {
    left: -3px;
  }

  .trust-strip {
    gap: 13px;
    padding: 22px 15px;
    font-size: 8px;
    letter-spacing: 0.8px;
  }

  .trust-strip span:nth-of-type(n+5) {
    display: none;
  }

  .section {
    padding: 72px 22px;
  }

  .section-heading {
    margin-bottom: 32px;
  }

  .section-heading h2, .categories-heading h2 {
    font-size: 35px;
    letter-spacing: -1.7px;
  }

  .section-heading > p {
    font-size: 12px;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .step-card {
    min-height: auto;
    padding: 24px;
  }

  .step-icon {
    margin: 19px 0 16px;
  }

  .step-bottom {
    margin-top: 17px;
  }

  .categories-heading {
    display: block;
    margin-bottom: 28px;
  }

  .categories-heading > p {
    margin-top: 14px;
    font-size: 12px;
  }

  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 11px;
  }

  .category-card {
    min-height: 160px;
    padding: 16px;
  }

  .category-name {
    font-size: 13px;
  }

  .category-description {
    font-size: 10px;
    line-height: 1.6;
  }

  .category-icon {
    width: 39px;
    height: 39px;
    margin-bottom: 17px;
  }

  .category-arrow {
    top: 17px;
    right: 15px;
  }

  .join-section {
    padding: 65px 20px;
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .join-copy {
    padding-top: 0;
  }

  .join-copy h2 {
    font-size: 43px;
    letter-spacing: -2px;
  }

  .join-copy > p {
    font-size: 13px;
  }

  .interest-form {
    padding: 24px 20px;
  }

  .form-header h3 {
    font-size: 22px;
  }

  .bottom-cta {
    padding: 70px 20px;
  }

  .bottom-cta h2 {
    font-size: 34px;
    letter-spacing: -1.7px;
  }

  .bottom-cta > p {
    line-height: 1.8;
  }

  .footer {
    justify-content: center;
    flex-direction: column;
    text-align: center;
    gap: 10px;
    padding: 28px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* Privacy consent checkbox */
.consent-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 20px;
}

.consent-row input[type="checkbox"] {
  appearance: auto;
  -webkit-appearance: checkbox;
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  min-width: 16px;
  min-height: 16px;
  margin: 3px 0 0;
  padding: 0;
  accent-color: var(--purple-dark);
  cursor: pointer;
  box-shadow: none;
}

.consent-row label {
  flex: 1;
  margin: 0;
  font-size: 11px;
  line-height: 1.7;
  color: #626b79;
  font-weight: 400;
  cursor: pointer;
}

.consent-row a {
  color: var(--purple-dark);
  text-decoration: underline;
  font-weight: 700;
}

/* Keep checkbox styling separate from text-field validation */
.interest-form input:invalid:not([type="checkbox"]):not(:placeholder-shown) {
  border-color: #d97777;
}

.interest-form button:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}


.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 20px;
}

.footer-links a {
  color: #626b79;
  font-size: 11px;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--purple-dark);
  text-decoration: underline;
}

@media (max-width: 700px) {
  .footer-links {
    flex-direction: column;
    align-items: center;
    gap: 14px;
  }
}


.legal-page {
  max-width: 850px;
  margin: 0 auto;
  padding: 65px 24px 90px;
  line-height: 1.8;
}

.legal-page h1 {
  font: 800 clamp(32px, 5vw, 46px) var(--heading);
  letter-spacing: -1.5px;
  margin-bottom: 12px;
}

.legal-page h2 {
  font: 700 21px var(--heading);
  margin: 32px 0 10px;
}

.legal-page p,
.legal-page li {
  color: #626b79;
  font-size: 14px;
}

.legal-page ul {
  padding-left: 22px;
  margin: 12px 0;
}

.legal-page a {
  color: var(--purple-dark);
  text-decoration: underline;
}



/* Success Popup */
.popup-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(5px);
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.popup-overlay.show {
  display: flex;
}

.popup-box {
  background: #ffffff;
  width: 100%;
  max-width: 420px;
  padding: 36px 28px;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.2);
  animation: popupAppear 0.3s ease;
}

.popup-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #ede9fe;
  color: #7053d7;
  font-size: 34px;
  font-weight: 700;
}

.popup-box h2 {
  margin: 0 0 12px;
  color: #1e1b4b;
  font-size: 28px;
}

.popup-box p {
  color: #64748b;
  line-height: 1.7;
  font-size: 15px;
}

.popup-box button {
  width: 100%;
  margin-top: 12px;
  padding: 14px 20px;
  border: none;
  border-radius: 10px;
  background: #7053d7;
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
}

.popup-box button:hover {
  background: #5b3fc4;
}

.popup-box .popup-tagline {
  margin: 18px 0 0;
  font-size: 12px;
}

@keyframes popupAppear {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}


/* Improve readability on the purple registration section */
#join {
  color: #FFFFFF;
}

#join h1,
#join h2,
#join h3,
#join p,
#join li,
#join label,
#join .checklist-text {
  color: #FFFFFF;
}

/* Keep orange emphasis in the registration heading */
#join h1 span,
#join .highlight {
  color: #FF8A50;
}

/* Footer text and links */
footer,
footer p,
footer a,
footer li {
  color: #FFFFFF;
}

footer a:hover {
  color: #FF8A50;
}

/* Footer logo sizing */
footer .brand-logo,
footer .footer-logo {
  display: block;
  width: 230px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}


/* CrowdBuy form: restore readable text */
#join form,
#join form label,
#join form .form-group label {
  color: #45256E !important;
}

/* Input text */
#join input,
#join select,
#join textarea {
  background-color: #FFFFFF !important;
  color: #45256E !important;
  -webkit-text-fill-color: #45256E;
  border: 1px solid #D9DDE5;
}

/* Placeholder text */
#join input::placeholder,
#join textarea::placeholder {
  color: #8A94A6 !important;
  opacity: 1;
  -webkit-text-fill-color: #8A94A6;
}

/* Dropdown options */
#join select option {
  background: #FFFFFF;
  color: #45256E;
}

/* Focus state */
#join input:focus,
#join select:focus,
#join textarea:focus {
  border-color: #FF6B35 !important;
  outline: 2px solid rgba(255, 107, 53, 0.15);
}

/* Form heading and helper text */
#join form h2,
#join form h3,
#join form p,
#join form small {
  color: #45256E !important;
}


/* Live CrowdBuy purchase groups */
.purchase-events-section {
  background: linear-gradient(180deg, #fffaf6 0%, #fff 100%);
  border-top: 1px solid rgba(69,37,110,.08);
  border-bottom: 1px solid rgba(69,37,110,.08);
}
.purchase-events-section .section-heading { margin-bottom: 28px; }
.events-status {
  max-width: 1120px;
  margin: 0 auto 22px;
  color: #655b6d;
  font-size: 14px;
  text-align: center;
  line-height: 1.6;
}
.purchase-events-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  max-width: 1120px;
  margin: 0 auto;
  align-items: stretch;
}
.purchase-event-card {
  min-width: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid rgba(69,37,110,.13);
  border-radius: 18px;
  box-shadow: 0 12px 32px rgba(69,37,110,.07);
}
.purchase-event-image {
  display: block;
  width: 100%;
  height: 205px;
  object-fit: contain;
  object-position: center;
  background: #fff;
  padding: 10px;
}
.purchase-event-placeholder {
  display: grid;
  place-items: center;
  font-size: 56px;
  background: #fff2e9;
}
.purchase-event-body { padding: 21px; display: flex; flex-direction: column; flex: 1; }
.purchase-event-topline { display:flex; justify-content:space-between; align-items:center; gap:8px; }
.purchase-event-category {
  color:#e65f2e; background:#fff0e6; padding:6px 9px; border-radius:99px;
  font-size:10px; font-weight:800; letter-spacing:.04em;
}
.purchase-event-open { display:inline-flex; align-items:center; gap:6px; color:#28734f; font-size:11px; font-weight:700; }
.purchase-event-open span { width:7px; height:7px; border-radius:50%; background:#35a66c; }
.purchase-event-card h3 { margin:14px 0 16px; color:#45256E; font:800 22px var(--heading); letter-spacing:-.7px; }
.purchase-event-count { display:flex; align-items:baseline; gap:6px; color:#655b6d; font-size:12px; }
.purchase-event-count strong { color:#45256E; font-size:16px; }
.purchase-progress { height:8px; background:#f0eaf5; border-radius:99px; overflow:hidden; margin:10px 0 18px; }
.purchase-progress span { display:block; height:100%; background:linear-gradient(90deg,#FF8A50,#FF6B35); border-radius:99px; }
.purchase-event-meta { display:flex; justify-content:space-between; gap:12px; margin:7px 0; font-size:12px; color:#777080; }
.purchase-event-meta strong { text-align:right; color:#39234e; font-weight:700; }
.purchase-savings { display:flex; flex-direction:column; gap:5px; margin-top:14px; padding:13px; border-radius:12px; background:#fff5ee; }
.purchase-savings span { color:#655b6d; font-size:10px; }
.purchase-savings strong { color:#45256E; font-size:17px; }
.purchase-event-note { color:#807787; font-size:10px; line-height:1.5; margin:10px 0 16px; }
.purchase-join-button { width:100%; margin-top:auto; }
.events-disclaimer { max-width:850px; margin:24px auto 0; text-align:center; color:#807787; font-size:11px; line-height:1.7; }
.purchase-join-button:disabled { opacity:.65; cursor:wait; }
@media (max-width:1000px) {
  .purchase-events-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:700px) {
  .purchase-events-grid { grid-template-columns:1fr; gap:16px; }
  .purchase-event-image { height:220px; }
  .purchase-event-body { padding:18px; }
}


/* Purchase groups listing and homepage view-all link */
.events-view-all-wrap { display:flex; justify-content:center; margin:28px auto 0; }
.events-view-all-wrap[hidden] { display:none !important; }
.events-view-all { text-decoration:none; }
.groups-page { min-height:70vh; padding:58px 24px 76px; background:linear-gradient(180deg,#fffaf6 0%,#fff 100%); }
.groups-container { max-width:1160px; margin:0 auto; }
.groups-page-heading { text-align:center; max-width:760px; margin:0 auto 32px; }
.groups-page-heading .section-label { display:inline-block; margin-bottom:10px; }
.groups-page-heading h1 { margin:0 0 12px; color:#45256E; font:800 clamp(32px,4vw,48px)/1.1 var(--heading); letter-spacing:-1.5px; }
.groups-page-heading p { color:#655b6d; margin:0; line-height:1.7; }
.groups-filters { display:grid; grid-template-columns:minmax(220px,2fr) repeat(3,minmax(145px,1fr)); gap:12px; padding:16px; margin:0 0 24px; border:1px solid rgba(69,37,110,.12); border-radius:16px; background:white; box-shadow:0 10px 26px rgba(69,37,110,.05); }
.groups-filter-field { display:flex; flex-direction:column; gap:6px; }
.groups-filter-field label { color:#655b6d; font-size:11px; font-weight:800; }
.groups-filter-field input,.groups-filter-field select { min-width:0; width:100%; padding:12px 12px; border:1px solid #e5dced; border-radius:9px; color:#39234e; background:#fff; outline-color:#FF6B35; }
.groups-results-row { display:flex; align-items:center; justify-content:space-between; gap:12px; margin:0 2px 16px; color:#655b6d; font-size:13px; }
.groups-results-row strong { color:#45256E; }
.groups-clear { color:#45256E; font-weight:800; border:0; background:transparent; text-decoration:underline; text-underline-offset:3px; }
.groups-grid { max-width:none; }
.groups-empty { grid-column:1/-1; padding:42px 20px; text-align:center; border:1px dashed rgba(69,37,110,.25); border-radius:16px; color:#655b6d; background:#fff; }
.groups-empty strong { display:block; color:#45256E; font-size:18px; margin-bottom:6px; }
.groups-note { text-align:center; max-width:850px; margin:28px auto 0; color:#807787; font-size:11px; line-height:1.7; }
@media(max-width:900px){.groups-filters{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:600px){.groups-page{padding:38px 14px 52px}.groups-filters{grid-template-columns:1fr;padding:12px}.groups-results-row{align-items:flex-start}.groups-page-heading{text-align:left}.groups-grid{grid-template-columns:1fr}}
