/* Guest marketing home — signed-out `/` */

.guest-home-page #main {
  padding-top: 0;
}

.guest-home {
  --gh-ink: #1c1228;
  --gh-mist: #f3eef8;
  --gh-gold: #d4a84b;
  color: var(--gh-ink);
  background: #faf8fc;
}

/* —— Hero carousel (top of page) —— */
.guest-home__hero {
  position: relative;
  min-height: min(94vh, 54rem);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: #fff;
}

.guest-home__hero--carousel .guest-home__carousel-track {
  position: absolute;
  inset: 0;
  z-index: 0;
  min-height: 100%;
  overflow: hidden;
  outline: none;
}

.guest-home__hero--carousel .guest-home__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s cubic-bezier(0.22, 1, 0.36, 1), visibility 1s;
  pointer-events: none;
}

.guest-home__hero--carousel .guest-home__slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.guest-home__hero--carousel .guest-home__slide-media {
  position: absolute;
  inset: 0;
}

.guest-home__hero--carousel .guest-home__slide-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  transform: scale(1.05);
  transition: transform 5.5s ease-out;
  will-change: transform;
}

.guest-home__hero--carousel .guest-home__slide.is-active .guest-home__slide-media img {
  transform: scale(1.14);
}

.guest-home__hero-veil {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(28, 18, 40, 0.35) 0%, rgba(28, 18, 40, 0.12) 38%, rgba(28, 18, 40, 0.86) 100%),
    linear-gradient(90deg, rgba(45, 18, 72, 0.5) 0%, transparent 58%);
  pointer-events: none;
}

.guest-home__hero-inner {
  position: relative;
  z-index: 3;
  width: 100%;
  padding: clamp(5.5rem, 12vh, 8rem) 0 clamp(1.75rem, 4vh, 2.75rem);
  max-width: 42rem;
}

.guest-home__brand {
  margin: 0 0 0.85rem;
  font-family: var(--font-display, Georgia, serif);
  font-size: clamp(2.75rem, 8vw, 4.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 0.95;
  color: #fff;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.25);
}

.guest-home__headline {
  margin: 0 0 0.85rem;
  font-family: var(--font-display, Georgia, serif);
  font-size: clamp(1.55rem, 3.8vw, 2.35rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #fff;
  max-width: 18ch;
}

.guest-home__lede {
  margin: 0 0 1rem;
  font-size: clamp(1rem, 2.2vw, 1.125rem);
  line-height: 1.55;
  max-width: 34rem;
  color: rgba(255, 255, 255, 0.9);
}

.guest-home__slide-live {
  margin: 0 0 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  max-width: 32rem;
}

.guest-home__slide-live-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.guest-home__hero .guest-home__slide-title {
  margin: 0;
  font-family: var(--font-display, Georgia, serif);
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
}

.guest-home__hero .guest-home__slide-blurb {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.86);
}

.guest-home__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.guest-home .btn--ghost-light {
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  color: #fff;
}

.guest-home .btn--ghost-light:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
  color: #fff;
}

.guest-home__carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  margin-top: 1.1rem;
}

.guest-home__carousel-controls--hero {
  margin-top: 1.5rem;
  justify-content: flex-start;
}

.guest-home__carousel-btn {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  border: 1px solid rgba(90, 45, 130, 0.28);
  background: #fff;
  color: var(--primary-dark, #3d1f5a);
  font-size: 1.55rem;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.guest-home__carousel-btn--light {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
}

.guest-home__carousel-btn:hover,
.guest-home__carousel-btn--light:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: #fff;
  color: #fff;
}

.guest-home__carousel-dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem;
  max-width: min(100%, 22rem);
}

.guest-home__carousel-dot {
  width: 0.55rem;
  height: 0.55rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(90, 45, 130, 0.28);
  cursor: pointer;
  transition: width 0.25s ease, background 0.25s ease;
}

.guest-home__carousel-dot--light {
  background: rgba(255, 255, 255, 0.35);
}

.guest-home__carousel-dot.is-active,
.guest-home__carousel-dot--light.is-active {
  width: 1.45rem;
  background: #fff;
}

.guest-home__carousel-dot:focus-visible,
.guest-home__carousel-btn:focus-visible,
.guest-home__carousel-track:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

/* —— Promise —— */
.guest-home__promise {
  padding: clamp(3.5rem, 8vw, 5.5rem) 0;
  background:
    radial-gradient(ellipse 70% 60% at 10% 0%, rgba(90, 45, 130, 0.07), transparent 55%),
    var(--gh-mist);
}

.guest-home__section-head {
  max-width: 36rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.guest-home__section-title {
  margin: 0 0 0.65rem;
  font-family: var(--font-display, Georgia, serif);
  font-size: clamp(1.65rem, 3.5vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--gh-ink);
}

.guest-home__section-title--on-dark {
  color: #fff;
}

.guest-home__section-lede {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.6;
  color: rgba(28, 18, 40, 0.72);
  max-width: 36rem;
}

.guest-home__promise-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid rgba(90, 45, 130, 0.18);
}

@media (min-width: 720px) {
  .guest-home__promise-list {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1100px) {
  .guest-home__promise-list {
    grid-template-columns: repeat(4, 1fr);
  }
}

.guest-home__promise-item {
  margin: 0;
  padding: 1.35rem 1.25rem 1.5rem 0;
  border-bottom: 1px solid rgba(90, 45, 130, 0.14);
}

@media (min-width: 720px) {
  .guest-home__promise-item:nth-child(odd) {
    padding-right: 1.75rem;
    border-right: 1px solid rgba(90, 45, 130, 0.12);
  }
  .guest-home__promise-item:nth-child(even) {
    padding-left: 1.75rem;
  }
}

@media (min-width: 1100px) {
  .guest-home__promise-item {
    border-right: 1px solid rgba(90, 45, 130, 0.12);
    border-bottom: 0;
    padding: 1.5rem 1.5rem 0 0;
  }
  .guest-home__promise-item:nth-child(even) {
    padding-left: 0;
  }
  .guest-home__promise-item:last-child {
    border-right: 0;
    padding-right: 0;
  }
}

.guest-home__promise-label {
  display: block;
  margin: 0 0 0.45rem;
  font-family: var(--font-display, Georgia, serif);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--primary-dark, #3d1f5a);
}

.guest-home__promise-item p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.55;
  color: rgba(28, 18, 40, 0.7);
}

/* —— Refer —— */
.guest-home__refer {
  position: relative;
  padding: clamp(3.5rem, 8vw, 5.5rem) 0;
  background:
    linear-gradient(135deg, #2a1345 0%, #5a2d82 48%, #3d1f5a 100%);
  color: #fff;
  overflow: hidden;
}

.guest-home__refer::before {
  content: "";
  position: absolute;
  inset: -20% 40% auto -10%;
  height: 70%;
  background: radial-gradient(circle, rgba(212, 168, 75, 0.28), transparent 65%);
  pointer-events: none;
  animation: guest-home-glow 10s ease-in-out infinite alternate;
}

@keyframes guest-home-glow {
  from { opacity: 0.55; transform: translate3d(0, 0, 0); }
  to { opacity: 1; transform: translate3d(4%, 3%, 0); }
}

.guest-home__refer-inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: end;
}

@media (min-width: 860px) {
  .guest-home__refer-inner {
    grid-template-columns: 1.35fr 1fr;
  }
}

.guest-home__refer-lede {
  margin: 0 0 1.5rem;
  font-size: 1.08rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.88);
  max-width: 34rem;
}

.guest-home__refer-lede strong {
  color: var(--gh-gold);
  font-weight: 600;
}

.guest-home__refer-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.guest-home__refer-steps li {
  display: flex;
  gap: 0.85rem;
  align-items: baseline;
  font-size: 1.02rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.92);
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.guest-home__refer-steps li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.guest-home__refer-steps span {
  font-family: var(--font-display, Georgia, serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gh-gold);
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

/* —— Join —— */
.guest-home__join {
  padding: clamp(3.5rem, 8vw, 5.5rem) 0;
  background:
    linear-gradient(180deg, #fff 0%, var(--gh-mist) 100%);
}

.guest-home__join-inner {
  max-width: 38rem;
}

.guest-home__join .guest-home__section-lede {
  margin-bottom: 1.75rem;
}

/* —— Reveal motion —— */
.guest-home [data-gh-reveal] {
  opacity: 0;
  transform: translate3d(0, 1.1rem, 0);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.guest-home [data-gh-reveal][data-gh-delay="1"] { transition-delay: 0.08s; }
.guest-home [data-gh-reveal][data-gh-delay="2"] { transition-delay: 0.16s; }
.guest-home [data-gh-reveal][data-gh-delay="3"] { transition-delay: 0.24s; }
.guest-home [data-gh-reveal][data-gh-delay="4"] { transition-delay: 0.32s; }

.guest-home [data-gh-reveal].is-visible {
  opacity: 1;
  transform: none;
}

.guest-home__hero [data-gh-reveal].is-visible {
  transition-delay: 0s;
}

.guest-home__hero [data-gh-reveal][data-gh-delay="1"].is-visible { transition-delay: 0.12s; }
.guest-home__hero [data-gh-reveal][data-gh-delay="2"].is-visible { transition-delay: 0.22s; }
.guest-home__hero [data-gh-reveal][data-gh-delay="3"].is-visible { transition-delay: 0.32s; }

@media (prefers-reduced-motion: reduce) {
  .guest-home__hero--carousel .guest-home__slide {
    transition: none;
  }
  .guest-home__hero--carousel .guest-home__slide-media img,
  .guest-home__hero--carousel .guest-home__slide.is-active .guest-home__slide-media img {
    transition: none;
    transform: none;
  }
  .guest-home__refer::before {
    animation: none;
  }
  .guest-home [data-gh-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (max-width: 640px) {
  .guest-home__hero {
    min-height: min(90vh, 42rem);
  }
  .guest-home__headline {
    max-width: none;
  }
}
