/* Home page only. The site CSP allows same-origin scripts (home.js) and no external resources. */

.landing {
  --gold-glow: rgb(107 63 160 / 0.22);
  --pink: #ff6fa5;
  overflow-x: hidden;
}

.landing main {
  padding: 0;
}

.landing .inner {
  width: 100%;
  max-width: 68rem;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* Hero */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 3rem 0 2rem;
  background:
    radial-gradient(60rem 30rem at 85% -10%, rgb(121 70 164 / 0.12), transparent 60%),
    radial-gradient(40rem 25rem at -10% 40%, rgb(242 205 88 / 0.1), transparent 60%),
    var(--color-bg);
}

.hero-glow {
  position: absolute;
  z-index: -1;
  inset: auto -20% -30% -20%;
  height: 22rem;
  background: radial-gradient(closest-side, var(--gold-glow), transparent);
  filter: blur(30px);
}

.hero-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
  width: 100%;
  max-width: 68rem;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.hero-visual {
  display: grid;
  justify-items: center;
  gap: 0.5rem;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 1.25rem;
  padding: 0.35rem 0.9rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  background: var(--color-surface);
  color: var(--color-accent);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.landing h1 {
  margin: 0 0 1.25rem;
  font-size: clamp(2.6rem, 9vw, 4.9rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.h1-line {
  display: block;
}

.h1-gold {
  background: linear-gradient(100deg, #6b3fa0 10%, #9a63d1 40%, #d2558f 70%, #6b3fa0 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  max-width: 34rem;
  margin: 0 0 1.75rem;
  color: var(--color-text);
  font-size: clamp(1.1rem, 2.4vw, 1.3rem);
  line-height: 1.55;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}

.cta-center {
  justify-content: center;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.8rem 1.8rem;
  border-radius: var(--radius-pill);
  font-size: 1.05rem;
  font-weight: 800;
  text-decoration: none;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease;
}

.cta-primary {
  background: var(--color-accent);
  color: var(--color-on-accent);
  box-shadow: 0 8px 30px var(--gold-glow);
}

.cta-primary:hover {
  background: var(--color-accent-hover);
  color: var(--color-on-accent);
  transform: translateY(-2px);
  box-shadow: 0 12px 38px rgb(107 63 160 / 0.35);
}

.cta-ghost {
  background: var(--color-surface-raised);
  color: var(--color-heading);
}

.cta-ghost:hover {
  background: var(--color-border);
  color: var(--color-heading);
  transform: translateY(-2px);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
  color: var(--color-text);
  font-size: 0.9rem;
  font-weight: 600;
}

.trust-row li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
  padding: 0.35rem 0.8rem;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: var(--color-surface);
  line-height: 1.2;
}

.trust-row li::before {
  content: '✓';
  display: inline-grid;
  place-items: center;
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 50%;
  background: var(--color-accent);
  color: var(--color-on-accent);
  font-size: 0.7rem;
  font-weight: 900;
}

.example-note {
  margin: 1.5rem auto 0;
  max-width: 68rem;
  padding: 0 var(--gutter);
  color: var(--color-muted);
  font-size: 0.8rem;
  text-align: center;
}

/* Floating hearts */
.heart {
  position: absolute;
  z-index: -1;
  bottom: -2rem;
  color: var(--pink);
  opacity: 0;
  font-size: 1.6rem;
}

.h1 {
  left: 6%;
}
.h2 {
  left: 22%;
  font-size: 1rem;
}
.h3 {
  left: 41%;
  font-size: 2rem;
}
.h4 {
  left: 63%;
  font-size: 1.2rem;
}
.h5 {
  left: 78%;
  font-size: 1.8rem;
}
.h6 {
  left: 92%;
  font-size: 1rem;
}

/* Phone stage */
.stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 34rem;
}

.orbit {
  position: absolute;
  border: 1px dashed rgb(179 147 218 / 0.35);
  border-radius: 50%;
}

.orbit-a {
  width: 24rem;
  height: 24rem;
}
.orbit-b {
  width: 31rem;
  height: 31rem;
  border-color: rgb(242 205 88 / 0.18);
}

.phone,
.float-card {
  /* The phone mock-up stays a dark device screen in the light page. */
  --color-heading: #ffffff;
  --color-text: #ede7f3;
  --color-muted: #cfc5da;
  --color-accent: #f2cd58;
  --color-on-accent: #190e27;
}

.phone {
  position: relative;
  width: 16.5rem;
  height: 33rem;
  padding: 0.6rem;
  border-radius: 2.6rem;
  background: linear-gradient(160deg, #4a3069, #120a1e);
  box-shadow:
    0 0 0 2px #5d4380,
    0 40px 80px rgb(0 0 0 / 0.55),
    0 0 80px rgb(121 70 164 / 0.45);
  transform: rotate(-3deg);
}

.phone-notch {
  position: absolute;
  z-index: 3;
  top: 0.85rem;
  left: 50%;
  width: 4.5rem;
  height: 1.1rem;
  transform: translateX(-50%);
  border-radius: var(--radius-pill);
  background: #0b0612;
}

.screen {
  position: relative;
  overflow: hidden;
  height: 100%;
  padding: 2.4rem 0.8rem 0.8rem;
  border-radius: 2.1rem;
  background: linear-gradient(180deg, #2a1745, #190e27 70%);
}

.screen-top {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.7rem;
}

.mini-logo {
  display: grid;
  place-items: center;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 50%;
  background: var(--color-accent);
  color: var(--color-on-accent);
  font-size: 0.85rem;
  font-weight: 900;
}

.screen-title {
  color: var(--color-heading);
  font-size: 0.95rem;
  font-weight: 800;
}

.screen-pill {
  margin-left: auto;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-pill);
  background: rgb(242 205 88 / 0.16);
  color: var(--color-accent);
  font-size: 0.6rem;
  font-weight: 700;
}

.deck {
  position: relative;
  height: 21rem;
}

.pcard {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 1.3rem;
}

.pcard-back {
  transform: translateY(0.9rem) scale(0.9);
  background: #3a2556;
  opacity: 0.6;
}

.pcard-mid {
  transform: translateY(0.45rem) scale(0.95);
  background: #4a3069;
  opacity: 0.85;
}

.pcard-front {
  background: linear-gradient(170deg, #7946a4 0%, #51327e 55%, #351560 100%);
  box-shadow: 0 10px 30px rgb(0 0 0 / 0.4);
}

.portrait {
  position: absolute;
  inset: 0 0 38% 0;
  background:
    radial-gradient(circle at 70% 20%, rgb(242 205 88 / 0.55), transparent 40%),
    linear-gradient(180deg, #a07ad0, #6a3f99);
}

.portrait::after {
  /* Blends the photo into the card's name area, like a real profile card. */
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 35%;
  background: linear-gradient(180deg, transparent, #51327e);
}

.portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
}

.pinfo {
  position: absolute;
  inset: auto 0 0 0;
  padding: 0.7rem 0.9rem;
  background: linear-gradient(180deg, transparent, rgb(25 14 39 / 0.92) 25%);
}

.pname {
  margin: 0;
  color: var(--color-heading);
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.2;
}

.pcity {
  margin: 0 0 0.4rem;
  color: var(--color-muted);
  font-size: 0.72rem;
  line-height: 1.3;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin: 0 0 0.4rem;
}

.chips span {
  padding: 0.1rem 0.5rem;
  border-radius: var(--radius-pill);
  background: rgb(255 255 255 / 0.14);
  color: var(--color-heading);
  font-size: 0.62rem;
  font-weight: 700;
}

.prompt {
  margin: 0;
  color: var(--color-text);
  font-size: 0.66rem;
  line-height: 1.35;
}

.actions {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  margin-top: 1.1rem;
}

.act {
  display: grid;
  place-items: center;
  width: 3.1rem;
  height: 3.1rem;
  border-radius: 50%;
  font-size: 1.3rem;
  font-weight: 900;
}

.act-no {
  background: rgb(255 255 255 / 0.08);
  color: var(--color-muted);
}

.act-like {
  background: linear-gradient(135deg, #ff6fa5, #f2cd58);
  color: #190e27;
  box-shadow: 0 6px 20px rgb(255 111 165 / 0.45);
}

.match-pop {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 0.2rem;
  background: radial-gradient(circle at 50% 45%, rgb(121 70 164 / 0.96), rgb(25 14 39 / 0.97));
  opacity: 0;
  pointer-events: none;
}

.match-title {
  margin: 0;
  background: linear-gradient(100deg, #f2cd58, #ff9bc0);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: 1.9rem;
  font-weight: 900;
}

.match-sub {
  margin: 0;
  color: var(--color-text);
  font-size: 0.85rem;
}

.float-card {
  position: absolute;
  display: grid;
  gap: 0.1rem;
  padding: 0.65rem 0.95rem;
  border: 1px solid rgb(179 147 218 / 0.35);
  border-radius: 1rem;
  background: rgb(40 23 58 / 0.9);
  backdrop-filter: blur(10px);
  box-shadow: 0 14px 34px rgb(0 0 0 / 0.4);
  font-size: 0.78rem;
  line-height: 1.3;
}

.float-card b {
  color: var(--color-heading);
}

.float-card span {
  color: var(--color-accent);
  font-weight: 700;
}

.fc-values {
  top: 12%;
  left: -2%;
}
.fc-safe {
  bottom: 14%;
  left: -4%;
}
.fc-chat {
  top: 40%;
  right: -3%;
}

/* Marquee */
.marquee {
  overflow: hidden;
  border-block: 1px solid var(--color-border);
  background: var(--color-surface);
  padding: 0.9rem 0;
}

.marquee-track {
  display: flex;
  gap: 2.5rem;
  width: max-content;
}

.marquee-track span {
  color: var(--color-heading);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.marquee-track span::after {
  content: '✦';
  margin-left: 2.5rem;
  color: var(--color-accent);
}

/* Bands */
.band {
  padding: 4.5rem 0;
}

.band-alt {
  background: linear-gradient(180deg, var(--color-surface), var(--color-bg));
}

.kicker {
  margin: 0 0 0.6rem;
  color: var(--color-accent);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.band h2,
.final h2 {
  margin: 0 0 1.25rem;
  font-size: clamp(1.8rem, 5vw, 2.9rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.section-lead {
  max-width: 40rem;
  margin: 0 0 2.25rem;
  font-size: 1.15rem;
  color: var(--color-text);
}

.steps {
  display: grid;
  gap: 1rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.steps li {
  position: relative;
  padding: 1.6rem 1.4rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  background: var(--color-surface);
}

.step-num {
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  margin-bottom: 0.9rem;
  border-radius: 50%;
  background: var(--color-accent);
  color: var(--color-on-accent);
  font-size: 1.2rem;
  font-weight: 900;
}

.steps h3,
.tile h3,
.versus h3 {
  margin: 0 0 0.4rem;
  color: var(--color-heading);
  font-size: 1.25rem;
}

.steps p,
.tile p {
  margin: 0;
  color: var(--color-muted);
}

/* Versus */
.versus {
  display: grid;
  gap: 1rem;
  align-items: stretch;
}

.versus-col {
  padding: 1.6rem 1.4rem;
  border-radius: var(--radius-card);
}

.versus-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.versus-col li {
  position: relative;
  padding: 0.55rem 0 0.55rem 1.8rem;
}

.versus-them {
  border: 1px dashed var(--color-border);
  background: var(--color-surface);
  color: var(--color-muted);
}

.versus-them li::before {
  content: '–';
  position: absolute;
  left: 0.3rem;
  color: var(--color-muted);
  font-weight: 800;
}

.versus-us {
  border: 2px solid var(--color-accent);
  background: linear-gradient(160deg, #f3ecfb, #e6daf6);
  box-shadow: 0 20px 60px rgb(107 63 160 / 0.14);
}

.versus-us li::before {
  content: '✓';
  position: absolute;
  left: 0.3rem;
  color: var(--color-accent);
  font-weight: 900;
}

.versus-vs {
  display: grid;
  place-items: center;
  justify-self: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--color-accent);
  color: var(--color-on-accent);
  font-size: 0.9rem;
  font-weight: 900;
}

/* Bento */
.bento {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.tile {
  padding: 1.6rem 1.4rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  background: var(--color-surface);
  transition:
    transform 0.25s ease,
    border-color 0.25s ease;
}

.tile:hover {
  transform: translateY(-4px);
  border-color: var(--color-outline);
}

.tile-gold {
  border-color: transparent;
  background: linear-gradient(140deg, #f2cd58, #ffb9d2);
}

.tile-gold h3 {
  color: var(--color-heading);
}

.tile-gold p {
  color: var(--color-text);
}

/* Safety grid */
.shield-grid {
  display: grid;
  gap: 0.9rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.shield-grid li {
  display: grid;
  gap: 0.2rem;
  padding: 1.2rem 1.3rem;
  border-left: 4px solid var(--color-accent);
  border-radius: 0 var(--radius-field) var(--radius-field) 0;
  background: var(--color-surface-raised);
}

.shield-grid b {
  color: var(--color-heading);
  font-size: 1.05rem;
}

.shield-grid span {
  color: var(--color-muted);
}

/* Final */
.final {
  padding: 5rem 0 4rem;
  background:
    radial-gradient(40rem 20rem at 50% 0, rgb(121 70 164 / 0.1), transparent 70%),
    var(--color-surface);
  text-align: center;
}

.final p {
  max-width: 36rem;
  margin-inline: auto;
}

.final-callout,
.legal-cards,
.contact {
  max-width: 46rem;
  margin-inline: auto;
  text-align: left;
}

.final-callout {
  margin-top: 3rem;
}

.legal-cards {
  padding: 0;
}

.contact {
  text-align: center;
}

/* Responsive */
@media (min-width: 48rem) {
  .hero {
    padding: 4.5rem 0 2.5rem;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    /* The text column is long: centering would push the phone far down. Both columns start at the
       top, so the slogan lines up with the title and the phone sits beside the buttons. */
    align-items: start;
  }

  .hero-visual {
    align-content: start;
    padding-top: 0.5rem;
  }

  .steps {
    grid-template-columns: repeat(3, 1fr);
  }

  .versus {
    grid-template-columns: 1fr auto 1fr;
  }

  .bento {
    grid-template-columns: repeat(3, 1fr);
  }

  .tile-wide {
    grid-column: span 2;
  }

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

@media (min-width: 64rem) {
  .shield-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 40rem) {
  .stage {
    min-height: 32rem;
  }

  .orbit-b,
  .fc-chat {
    display: none;
  }

  .fc-values {
    left: 0;
  }
  .fc-safe {
    left: 0;
  }
}

/* Motion */
@media (prefers-reduced-motion: no-preference) {
  .h1-gold {
    animation: shimmer 6s linear infinite;
  }

  .hero-copy > * {
    animation: rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  }

  .hero-copy > :nth-child(2) {
    animation-delay: 0.1s;
  }
  .hero-copy > :nth-child(3) {
    animation-delay: 0.25s;
  }
  .hero-copy > :nth-child(4) {
    animation-delay: 0.4s;
  }
  .hero-copy > :nth-child(5) {
    animation-delay: 0.55s;
  }

  .phone {
    animation:
      phone-in 1s cubic-bezier(0.2, 0.7, 0.2, 1) both,
      bob 7s ease-in-out 1s infinite;
  }

  .orbit-a {
    animation: spin 40s linear infinite;
  }
  .orbit-b {
    animation: spin 70s linear infinite reverse;
  }

  .pcard-front {
    animation: swipe 9s ease-in-out 1.5s infinite;
  }
  .act-like {
    animation: like-pulse 9s ease-in-out 1.5s infinite;
  }
  .match-pop {
    animation: match 9s ease-in-out 1.5s infinite;
  }
  .match-title {
    animation: match-title 9s ease-in-out 1.5s infinite;
  }

  .float-card {
    animation: float 6s ease-in-out infinite;
  }

  .fc-safe {
    animation-delay: -2s;
  }
  .fc-chat {
    animation-delay: -4s;
  }

  .heart {
    animation: heart-up 9s ease-in infinite;
  }

  .h2 {
    animation-delay: 1.5s;
  }
  .h3 {
    animation-delay: 3s;
  }
  .h4 {
    animation-delay: 4.5s;
  }
  .h5 {
    animation-delay: 6s;
  }
  .h6 {
    animation-delay: 7.5s;
  }

  .marquee-track {
    animation: marquee 28s linear infinite;
  }

  .marquee:hover .marquee-track {
    animation-play-state: paused;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cta,
  .tile {
    transition: none;
  }

  .marquee-track {
    flex-wrap: wrap;
    width: auto;
    justify-content: center;
    padding: 0 var(--gutter);
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes shimmer {
  to {
    background-position: -200% 0;
  }
}

@keyframes phone-in {
  from {
    opacity: 0;
    transform: translateY(60px) rotate(-10deg) scale(0.92);
  }
  to {
    opacity: 1;
    transform: rotate(-3deg);
  }
}

@keyframes bob {
  0%,
  100% {
    transform: rotate(-3deg) translateY(0);
  }
  50% {
    transform: rotate(-1deg) translateY(-12px);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes swipe {
  0%,
  45% {
    transform: none;
    opacity: 1;
  }
  58% {
    transform: translateX(7rem) rotate(14deg);
    opacity: 0;
  }
  59%,
  90% {
    transform: translateX(-3rem);
    opacity: 0;
  }
  100% {
    transform: none;
    opacity: 1;
  }
}

@keyframes like-pulse {
  0%,
  38%,
  62%,
  100% {
    transform: scale(1);
  }
  48% {
    transform: scale(1.3);
  }
}

@keyframes match {
  0%,
  52% {
    opacity: 0;
  }
  58%,
  84% {
    opacity: 1;
  }
  92%,
  100% {
    opacity: 0;
  }
}

@keyframes match-title {
  0%,
  56% {
    transform: scale(0.4);
  }
  64% {
    transform: scale(1.15);
  }
  70%,
  100% {
    transform: scale(1);
  }
}

@keyframes heart-up {
  0% {
    transform: translateY(0) scale(0.6);
    opacity: 0;
  }
  12% {
    opacity: 0.7;
  }
  100% {
    transform: translateY(-34rem) scale(1.2) rotate(18deg);
    opacity: 0;
  }
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

.landing .band h2::before,
.landing .final h2::before {
  display: none;
}

.live-dot {
  flex: none;
  width: 0.75rem;
  height: 0.75rem;
  margin-top: 0.4rem;
  border-radius: 50%;
  background: #e0457b;
  box-shadow: 0 0 0 0 rgb(224 69 123 / 0.55);
}

@media (prefers-reduced-motion: no-preference) {
  .live-dot {
    animation: live-pulse 1.6s ease-out infinite;
  }
}

@keyframes live-pulse {
  0% {
    box-shadow: 0 0 0 0 rgb(224 69 123 / 0.55);
  }
  100% {
    box-shadow: 0 0 0 0.7rem rgb(224 69 123 / 0);
  }
}

/* Moments gallery */
.moments {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-flow: dense;
  gap: 0.75rem;
}

.moment {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 1.25rem;
  aspect-ratio: 4 / 5;
  background: var(--color-surface);
}

.moment-wide {
  grid-column: span 2;
  aspect-ratio: 3 / 2;
}

/* Landscape photo that spans the row on the 2-column phone grid and falls back to a portrait tile on desktop. */
.moment-wide-sm {
  grid-column: span 2;
  aspect-ratio: 3 / 2;
}

.moment-wide-sm img {
  object-position: 18% center;
}

.moment img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.moment figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 2.5rem 1rem 0.9rem;
  color: #fff;
  font-weight: 800;
  line-height: 1.2;
  background: linear-gradient(180deg, transparent, rgb(20 10 35 / 0.78));
}

.moments-note {
  margin: 0.9rem 0 0;
  color: var(--color-muted);
  font-size: 0.85rem;
}

@media (min-width: 48rem) {
  .moments {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }

  .moment-wide {
    aspect-ratio: auto;
  }

  .moment-wide-sm {
    grid-column: auto;
    aspect-ratio: 4 / 5;
  }
}

/* Events */
.events-cta {
  margin-top: 1.75rem;
}

/* FAQ */
.faq {
  display: grid;
  gap: 0.75rem;
  margin-top: 2rem;
}

.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-field);
  background: var(--color-surface-raised);
}

.faq-item summary {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  min-height: 44px;
  align-items: center;
  padding: 0.9rem 1.2rem;
  color: var(--color-heading);
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  color: var(--color-accent);
  font-size: 1.4rem;
  font-weight: 800;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-item summary:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
  border-radius: var(--radius-field);
}

.faq-item p {
  margin: 0;
  padding: 0 1.2rem 1.1rem;
  color: var(--color-muted);
}

.faq-item a {
  color: var(--color-accent);
}

.hero-copy .eyebrow {
  margin: 1.25rem 0 0;
}

@media (max-width: 47.99rem) {
  .hero {
    padding-top: 2.5rem;
  }

  .hero-copy {
    text-align: center;
  }

  .landing h1 {
    font-size: clamp(2.25rem, 10.5vw, 3.25rem);
  }

  .hero-lead {
    margin-inline: auto;
  }

  .hero-copy .cta-row {
    flex-direction: column;
    align-items: center;
  }

  .hero-copy .cta {
    width: 100%;
    max-width: 22rem;
  }

  .hero-copy .trust-row {
    justify-content: center;
  }
}

/* Launch: badge, live counter and city selector in the hero */
.launch-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 1.25rem;
  padding: 0.45rem 1rem 0.45rem 0.8rem;
  border-radius: var(--radius-pill);
  background: var(--gradient-brand);
  color: var(--color-on-accent);
  font-size: 0.95rem;
  font-weight: 700;
  box-shadow: 0 8px 26px rgb(53 21 96 / 0.25);
}

.launch-badge strong {
  color: var(--color-gold);
  font-weight: 900;
}

.launch-badge .live-dot {
  margin-top: 0;
}

.cta-secondary {
  margin: -0.4rem 0 0.6rem;
  color: var(--color-muted);
  font-size: 0.95rem;
}

.cta-secondary a {
  color: var(--color-accent);
  font-weight: 700;
}

.cta-secondary span {
  margin: 0 0.35rem;
}

.safety-free {
  margin: 0 0 1.1rem;
  color: var(--color-muted);
  font-size: 0.875rem;
}

.live-counter {
  min-height: 1.75rem;
  margin: 0 0 0.9rem;
  color: var(--color-heading);
  font-size: 1.05rem;
  font-weight: 700;
}

.live-counter strong {
  color: var(--color-accent);
  font-size: 1.2rem;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}

.counter-icon {
  margin-right: 0.35rem;
  color: var(--pink);
}

.city-picker {
  max-width: 30rem;
  margin: 0 0 1.25rem;
  padding: 0.9rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  background: linear-gradient(140deg, #fbf8fe, #f1e9fa);
  box-shadow: 0 10px 40px rgb(107 63 160 / 0.1);
  text-align: left;
}

.city-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.25rem;
  padding: 0.25rem;
  border-radius: var(--radius-pill);
  background: var(--color-surface-raised);
}

.city-tab {
  min-height: 2.75rem;
  border: 0;
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--color-heading);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.city-tab[aria-selected='true'] {
  background: var(--color-accent);
  color: var(--color-on-accent);
  box-shadow: 0 4px 14px rgb(107 63 160 / 0.3);
}

.city-tab:focus-visible,
.city-panel:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.city-panel {
  display: grid;
  gap: 0.15rem;
  padding: 0.85rem 0.4rem 0.2rem;
  border-radius: var(--radius-field);
}

.city-panel p {
  margin: 0;
}

.city-label {
  color: var(--color-accent);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.city-event {
  color: var(--color-heading);
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1.3;
}

/* Reserves one line so loading the event date does not move the page. */
.city-event-meta {
  min-height: 1.4em;
  color: var(--color-muted);
  font-size: 0.9rem;
}

.city-panel .city-founders {
  margin-top: 0.45rem;
  padding-top: 0.55rem;
  border-top: 1px dashed var(--color-outline);
  color: var(--color-text);
  font-size: 0.95rem;
  font-weight: 700;
}

.founders-note {
  margin: 0.6rem 0.4rem 0.1rem;
  color: var(--color-muted);
  font-size: 0.85rem;
  line-height: 1.45;
}

.founders-note b {
  color: var(--color-heading);
}

/* Values mini-quiz */
.quiz-band {
  background: linear-gradient(180deg, var(--color-surface), var(--color-bg));
}

.quiz {
  display: grid;
  gap: 1rem;
  max-width: 44rem;
}

.quiz-q {
  margin: 0;
  padding: 1rem 1.1rem 1.1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  background: var(--color-bg);
}

.quiz-q legend {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0 0.3rem;
  color: var(--color-heading);
  font-size: 1.1rem;
  font-weight: 800;
}

.quiz-num {
  display: inline-grid;
  flex: none;
  place-items: center;
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 50%;
  background: var(--color-accent);
  color: var(--color-on-accent);
  font-size: 0.9rem;
}

.quiz-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.6rem;
}

.quiz-option {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 2.9rem;
  padding: 0.5rem 1rem;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-pill);
  background: var(--color-surface);
  color: var(--color-text);
  font-weight: 700;
  cursor: pointer;
  transition:
    border-color 0.15s ease,
    background-color 0.15s ease;
}

.quiz-option input {
  width: 1.1rem;
  height: 1.1rem;
  margin: 0;
  accent-color: var(--color-accent);
}

.quiz-option:hover {
  border-color: var(--color-outline);
}

.quiz-option:has(input:checked) {
  border-color: var(--color-accent);
  background: var(--color-surface-raised);
  color: var(--color-heading);
}

.quiz-option:has(input:focus-visible) {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.quiz-submit {
  justify-self: start;
  border: 0;
  cursor: pointer;
  font-family: inherit;
}

.quiz-status {
  min-height: 1.4em;
  margin: 0;
  color: var(--color-muted);
  font-size: 0.95rem;
}

.quiz-result {
  padding: 1.5rem 1.25rem;
  border-radius: var(--radius-card);
  background: var(--gradient-brand);
  color: var(--color-on-accent);
  text-align: center;
}

.quiz-result[hidden] {
  display: none;
}

.quiz-result p {
  margin: 0 auto 0.6rem;
  max-width: 32rem;
}

.quiz-score {
  color: var(--color-gold);
  font-size: clamp(1.6rem, 6vw, 2.3rem);
  font-weight: 900;
  line-height: 1.15;
}

.quiz-line {
  font-size: 1.1rem;
  font-weight: 700;
}

.quiz-invite {
  color: rgb(255 255 255 / 0.85);
  font-size: 0.95rem;
}

.quiz-result .cta-row {
  margin: 1.25rem 0 0;
}

.quiz-result .cta-primary,
.cta-strip .cta-primary {
  background: var(--color-bg);
  color: var(--color-heading);
}

.quiz-result .cta-primary:hover,
.cta-strip .cta-primary:hover {
  background: var(--color-surface-raised);
  color: var(--color-heading);
}

.quiz-result .cta-ghost {
  border: 2px solid rgb(255 255 255 / 0.6);
  background: transparent;
  color: var(--color-on-accent);
  cursor: pointer;
  font-family: inherit;
}

/* Repeated call to action between sections */
.cta-strip {
  padding: 2.75rem 0;
  background:
    radial-gradient(30rem 14rem at 80% 0, rgb(210 85 143 / 0.25), transparent 70%),
    var(--gradient-brand);
  color: var(--color-on-accent);
  text-align: center;
}

.cta-strip-text {
  max-width: 36rem;
  margin: 0 auto 1.25rem;
  font-size: clamp(1.2rem, 3.5vw, 1.5rem);
  font-weight: 800;
  line-height: 1.3;
}

.cta-strip-text span {
  display: block;
  color: var(--color-gold);
}

.cta-strip .cta-row {
  margin-bottom: 0.9rem;
}

.cta-strip .cta-secondary,
.cta-strip .cta-secondary a {
  margin: 0;
  color: var(--color-on-accent);
}

.final-cta {
  margin-top: 1.5rem;
}

.final .cta-secondary {
  margin: 0 auto;
}

/* Sticky call to action on phones */
.sticky-cta {
  display: none;
}

@media (max-width: 47.99rem) {
  .landing {
    padding-bottom: 5.5rem;
  }

  .sticky-cta {
    position: fixed;
    z-index: 30;
    inset: auto 0 0;
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 0.7rem var(--gutter) calc(0.7rem + env(safe-area-inset-bottom));
    border-top: 1px solid var(--color-border);
    background: rgb(255 255 255 / 0.97);
    box-shadow: 0 -8px 30px rgb(53 21 96 / 0.12);
    transition: transform 0.25s ease;
  }

  .sticky-cta .cta {
    flex: 1;
    min-height: 3rem;
  }

  .sticky-secondary {
    color: var(--color-accent);
    font-size: 0.9rem;
    font-weight: 700;
    white-space: nowrap;
  }

  .sticky-cta.is-hidden {
    transform: translateY(110%);
  }

  .hero-copy .launch-badge {
    justify-content: center;
  }

  .hero-copy .city-picker {
    margin-inline: auto;
  }

  .quiz-options {
    flex-direction: column;
  }

  .quiz-submit {
    justify-self: stretch;
  }
}

/* Desktop: the title fits in two lines so the city selector stays in the first screen. */
@media (min-width: 64rem) {
  .hero {
    padding-top: 3rem;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  }

  .landing .hero h1 {
    font-size: 3.75rem;
  }

  .hero-lead {
    margin-bottom: 1.25rem;
  }

  .hero-copy .cta-row {
    margin-bottom: 1.1rem;
  }
}
