/* Landing page. Dark night-out ground (the app is dark-first), the brand
   rose -> violet as light, glass chips and pins as in the app's map. */
:root {
  --night: #0d0d14;
  --night-2: #16161f;
  --glass: rgba(255, 255, 255, 0.10);
  --glass-line: rgba(255, 255, 255, 0.22);
  --rose: #f43f5e;
  --violet: #8b5cf6;
  --soft: #fda4af;
}

body.home { background: var(--night); overflow-x: hidden; }
/* Slim, transparent, scrolls away with the page (Luma, Spellbook). */
.home header.site { position: relative; z-index: 10; }
.home header.site nav { display: flex; align-items: center; }

.nav-cta { color: #fff !important; background: linear-gradient(120deg, var(--rose), var(--violet)); padding: 7px 14px; border-radius: 999px; font-weight: 700; font-size: 0.85rem !important; }
@media (max-width: 720px) { .home header.site nav a:not(.nav-cta) { display: none; } }

h2 { font-family: "Fraunces", Georgia, serif; font-weight: 800; font-size: clamp(2rem, 4.5vw, 3.2rem); line-height: 1.05; margin: 0 0 18px; text-wrap: balance; }
h3 { font-family: "Fraunces", Georgia, serif; font-size: 1.35rem; margin: 18px 0 6px; }
section p { color: var(--muted); line-height: 1.65; }

/* Hero */
.hero2 {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: 32px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 24px 24px 72px;
  position: relative;
}
.hero2::before {
  content: "";
  position: absolute;
  inset: -120px -40vw 0;
  z-index: -1;
  background:
    radial-gradient(40% 50% at 75% 45%, rgba(139, 92, 246, 0.45), transparent 70%),
    radial-gradient(35% 45% at 60% 30%, rgba(244, 63, 94, 0.35), transparent 70%);
}
.eyebrow { text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.8rem; font-weight: 700; color: var(--soft); margin: 0 0 14px; }
.hero2 h1 { font-family: "Fraunces", Georgia, serif; font-weight: 800; font-size: clamp(3rem, 7.5vw, 6rem); line-height: 0.98; margin: 0 0 22px; }
.hero2 h1 span { background: linear-gradient(110deg, var(--soft), var(--violet)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { font-size: 1.15rem; max-width: 34em; margin: 0 0 12px; }
.lede.strong { color: var(--text); font-weight: 600; }
.ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.home .button { background: linear-gradient(120deg, var(--rose), var(--violet)); color: #fff; box-shadow: 0 10px 30px rgba(244, 63, 94, 0.3); }
.home .button.ghost { background: transparent; box-shadow: none; border: 1.5px solid var(--glass-line); }

.hero-visual { position: relative; display: grid; place-items: center; min-height: 600px; }
.phone {
  width: 290px;
  aspect-ratio: 720 / 1383;
  border-radius: 44px;
  padding: 10px;
  background: linear-gradient(160deg, #2a2a38, #08080c);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6), inset 0 0 0 1.5px rgba(255, 255, 255, 0.15);
  position: relative;
  z-index: 2;
}
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 34px; display: block; background: var(--night-2); }
.phone.small { width: 230px; margin: 0 auto; }

.rings { position: absolute; inset: 0; display: grid; place-items: center; z-index: 1; }
.rings span { position: absolute; width: 300px; height: 300px; border-radius: 50%; border: 1.5px solid rgba(253, 164, 175, 0.35); animation: ring 4.5s ease-out infinite; }
.rings span:nth-child(2) { animation-delay: 1.5s; }
.rings span:nth-child(3) { animation-delay: 3s; }
@keyframes ring { from { transform: scale(0.8); opacity: 0.9; } to { transform: scale(2.1); opacity: 0; } }

.chip {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 18px;
  background: var(--glass);
  border: 1px solid var(--glass-line);
  backdrop-filter: blur(16px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  font-size: 0.92rem;
  line-height: 1.3;
  animation: float 6s ease-in-out infinite;
}
.chip img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.chip .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--rose); box-shadow: 0 0 0 4px rgba(244, 63, 94, 0.25); }
.chip .heart { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(120deg, var(--rose), var(--violet)); }
.chip.c1 { top: 14%; left: -2%; }
.chip.c2 { top: 46%; right: -6%; animation-delay: 1.2s; }
.chip.c3 { bottom: 10%; left: 0; animation-delay: 2.4s; }
@keyframes float { 50% { transform: translateY(-10px); } }

/* Places band: photos with the app's glass pins */
.places {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 210px;
  gap: 14px;
  max-width: 1180px;
  margin: 0 auto 96px;
  padding: 0 24px;
}
.place { position: relative; margin: 0; border-radius: 22px; overflow: hidden; }
.place.tall { grid-row: span 2; }
.place.wide { grid-column: span 2; }
.place img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s; }
.place:hover img { transform: scale(1.04); }
.place::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 55%, rgba(13, 13, 20, 0.75)); }
.place figcaption { position: absolute; left: 16px; bottom: 12px; z-index: 1; font-weight: 700; }
.place .pin {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 1;
  min-width: 54px;
  padding: 8px 10px 14px;
  text-align: center;
  font-weight: 800;
  font-size: 0.95rem;
  color: #fff;
  background: radial-gradient(120% 90% at 30% 20%, rgba(255, 255, 255, 0.45), rgba(244, 63, 94, 0.55) 55%, rgba(139, 92, 246, 0.6));
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px 999px 999px 999px / 60% 60% 999px 999px;
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 24px rgba(244, 63, 94, 0.45);
  clip-path: polygon(0 0, 100% 0, 100% 78%, 58% 78%, 50% 100%, 42% 78%, 0 78%);
  animation: pulse 3.2s ease-in-out infinite;
}
@keyframes pulse { 50% { transform: translateY(-4px); } }

/* How it works */
.how { max-width: 1180px; margin: 0 auto 96px; padding: 0 24px; text-align: center; }
.steps { list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; padding: 0; margin: 40px 0 0; text-align: left; }
.steps li { counter-increment: step; background: var(--night-2); border: 1px solid var(--line); border-radius: 26px; padding: 26px; min-width: 0; }
.steps li h3::before { content: counter(step); display: inline-grid; place-items: center; width: 30px; height: 30px; margin-right: 10px; border-radius: 50%; font-family: "Plus Jakarta Sans", sans-serif; font-size: 0.9rem; background: linear-gradient(120deg, var(--rose), var(--violet)); vertical-align: 3px; }

.card-mock { width: 230px; margin: 0 auto; border-radius: 26px; overflow: hidden; background: #fff; box-shadow: 0 24px 50px rgba(0, 0, 0, 0.5); }
.card-mock > img { width: 100%; aspect-ratio: 4 / 4.2; object-fit: cover; display: block; }
.ticket { display: grid; gap: 4px; padding: 14px 16px 12px; color: #16161f; position: relative; }
.ticket .name { font-family: "Fraunces", Georgia, serif; font-weight: 800; font-size: 1.3rem; }
.ticket .field { font-size: 0.9rem; }
.ticket .field small { display: block; text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.65rem; color: #6e6e85; font-weight: 700; }
.ticket .tear { border-top: 2px dashed #dcdce5; margin: 8px -4px 6px; }
.ticket .actions { display: flex; justify-content: center; gap: 14px; }
.ticket .actions i { font-style: normal; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: #f7f7fa; }
.ticket .actions .yes { background: linear-gradient(120deg, var(--rose), var(--violet)); color: #fff; }

.meet-mock { position: relative; width: 100%; max-width: 300px; margin: 0 auto; border-radius: 26px; overflow: hidden; aspect-ratio: 4 / 4.9; }
.meet-mock img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bubble { position: absolute; left: 12px; right: 40px; padding: 10px 14px; border-radius: 18px 18px 18px 4px; background: rgba(22, 22, 31, 0.82); backdrop-filter: blur(10px); font-size: 0.9rem; border: 1px solid var(--glass-line); }
.bubble.b1 { bottom: 74px; }
.bubble.me { left: 40px; right: 12px; bottom: 16px; border-radius: 18px 18px 4px 18px; background: linear-gradient(120deg, rgba(244, 63, 94, 0.92), rgba(139, 92, 246, 0.92)); }

/* People meeting */
.moment { position: relative; max-width: 1180px; margin: 0 auto 96px; padding: 0 24px; }
.moment > img { width: 100%; height: 520px; object-fit: cover; object-position: center 35%; border-radius: 30px; display: block; }
.moment-copy { position: absolute; left: 56px; bottom: 40px; max-width: 520px; padding: 28px; border-radius: 24px; background: rgba(13, 13, 20, 0.62); backdrop-filter: blur(16px); border: 1px solid var(--glass-line); }
.moment-copy h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
.moment-copy p { margin: 0; }

/* Events */
.events { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; max-width: 1180px; margin: 0 auto 96px; padding: 0 24px; }
.ticks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.ticks li { padding-left: 30px; position: relative; }
.ticks li::before { content: "✓"; position: absolute; left: 0; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: 0.75rem; background: linear-gradient(120deg, var(--rose), var(--violet)); }
.events-visual { position: relative; }
.events-visual > img { width: 100%; height: 440px; object-fit: cover; border-radius: 30px; display: block; }
.pass { position: absolute; right: 24px; bottom: -24px; width: 180px; padding: 16px; border-radius: 22px; background: #fff; color: #16161f; display: grid; justify-items: center; gap: 8px; box-shadow: 0 24px 50px rgba(0, 0, 0, 0.5); }
.pass-title { font-family: "Fraunces", Georgia, serif; font-weight: 800; }
.pass-sub { font-size: 0.78rem; color: #55556a; }
.qr { width: 124px; height: 124px; display: block; border-radius: 6px; }

/* Safety */
.safety { max-width: 1180px; margin: 0 auto 96px; padding: 0 24px; text-align: center; }
.safety-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 32px; text-align: left; }
.safety-grid div { background: var(--night-2); border: 1px solid var(--line); border-radius: 22px; padding: 22px; }
.safety-grid svg { width: 40px; height: 40px; padding: 8px; border-radius: 12px; background: linear-gradient(120deg, var(--rose), var(--violet)); fill: #fff; stroke: #fff; stroke-width: 0; }
.safety-grid svg .hole { fill: var(--violet); }
.safety-grid div:last-child svg path { fill: none; stroke-width: 2; stroke-linejoin: round; }
.safety-grid h3 { font-size: 1.15rem; }
.safety-grid p { margin: 0; font-size: 0.95rem; }

/* Beta */
.beta { position: relative; max-width: 1180px; margin: 0 auto 72px; padding: 0 24px; }
.beta > img { width: 100%; height: 420px; object-fit: cover; border-radius: 30px; display: block; filter: saturate(1.2); }
.beta-copy { position: absolute; inset: 0 24px; display: grid; place-content: center; text-align: center; padding: 24px; border-radius: 30px; background: linear-gradient(120deg, rgba(225, 29, 72, 0.55), rgba(124, 58, 237, 0.6)); }
.beta-copy p { color: #fff; opacity: 0.9; margin: 0 auto; max-width: 34em; }
.beta-copy .email { margin-top: 18px; font-size: 1.3rem; font-weight: 700; }
.beta-copy .email a { color: #fff; }

footer.site p a { margin: 0 2px; }

/* Narrow screens */
@media (max-width: 900px) {
  .hero2, .events { grid-template-columns: 1fr; }
  .hero-visual { min-height: 560px; }
  .chip.c2 { right: 0; }
  .steps { grid-template-columns: 1fr; }
  .safety-grid { grid-template-columns: 1fr 1fr; }
  .places { grid-template-columns: 1fr 1fr; grid-auto-rows: 180px; }
  .place.tall { grid-row: span 1; }
  .place.wide { grid-column: span 2; }
  .moment-copy { position: static; margin-top: -60px; position: relative; }
  .moment > img { height: 380px; }
}
@media (max-width: 520px) {
  .safety-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 520px; }
  .phone { width: 240px; }
  .chip { font-size: 0.82rem; }
  .chip.c1 { left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .rings span, .chip, .place .pin { animation: none; }
  .place:hover img { transform: none; }
}
