:root {
  --paper: #141018;
  --paper-raised: #1e1726;
  --paper-2: #241b2f;
  --hairline: #2c2333;
  --ink: #f4eff7;
  --ink-soft: #b9b0c4;
  --ink-faint: #7d7488;
  --clay: #b07ce0;
  --clay-pressed: #cba6ec;
  --clay-soft: #2c2140;
  --evergreen: #86c7a2;
  --on-accent: #1a1020;
  --maxw: 760px;
  --maxw-wide: 1080px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--clay-pressed); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* Header */
.site-header {
  border-bottom: 1px solid var(--hairline);
  padding: 18px 0;
  position: sticky;
  top: 0;
  background: rgba(20, 16, 24, 0.86);
  backdrop-filter: saturate(140%) blur(8px);
  z-index: 10;
}
.site-header .wrap {
  max-width: var(--maxw-wide);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand:hover { text-decoration: none; }
.brand .mark {
  width: 40px; height: 40px; border-radius: 12px;
  box-shadow: 0 6px 22px rgba(176, 124, 224, 0.35);
}
.brand .name {
  font-family: "Fraunces", Georgia, serif;
  font-size: 24px; font-weight: 600; letter-spacing: -0.01em;
  color: var(--ink);
}
nav.top { display: flex; align-items: center; }
nav.top a { color: var(--ink-soft); margin-left: 22px; font-size: 15px; font-weight: 600; }
nav.top a:hover { color: var(--ink); text-decoration: none; }
nav.top .nav-cta {
  background: var(--clay); color: var(--on-accent);
  padding: 9px 16px; border-radius: 999px;
}
nav.top .nav-cta:hover { background: var(--clay-pressed); color: var(--on-accent); }

/* Hero */
.hero {
  max-width: var(--maxw-wide);
  padding: 84px 24px 64px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.eyebrow, .section-eyebrow {
  text-transform: uppercase; letter-spacing: 0.14em; font-size: 13px;
  font-weight: 700; color: var(--clay-pressed); margin: 0 0 14px;
}
h1 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600; letter-spacing: -0.02em; line-height: 1.04;
  font-size: clamp(40px, 6vw, 62px); margin: 0 0 20px;
}
.lede { font-size: 20px; color: var(--ink-soft); max-width: 520px; margin: 0 0 28px; }
.hero-note { font-size: 14px; color: var(--ink-faint); margin: 20px 0 0; }

.cta-row { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; }
.muted-link { color: var(--ink-soft); font-weight: 600; }

/* App Store badge */
.appstore-badge {
  display: inline-flex; align-items: center; gap: 11px;
  background: #000; color: #fff;
  padding: 11px 20px; border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  transition: transform 0.15s ease, background 0.15s ease;
}
.appstore-badge:hover { text-decoration: none; background: #111; transform: translateY(-1px); }
.appstore-badge .apple-logo { color: #fff; margin-bottom: 2px; }
.appstore-badge .asb-text { display: flex; flex-direction: column; line-height: 1.1; text-align: left; }
.appstore-badge .asb-text small { font-size: 11px; font-weight: 500; opacity: 0.85; }
.appstore-badge .asb-text strong { font-size: 19px; font-weight: 600; letter-spacing: -0.01em; }

/* Hero product visual (in-app event cards) */
.hero-visual { position: relative; min-height: 340px; }
.event-card {
  position: absolute;
  background: linear-gradient(180deg, var(--paper-2), var(--paper-raised));
  border: 1px solid var(--hairline);
  border-radius: 20px;
  padding: 22px;
  width: 320px; max-width: 100%;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}
.event-card .ec-tag {
  display: inline-block;
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em;
  color: var(--clay-pressed);
  background: var(--clay-soft);
  padding: 5px 11px; border-radius: 999px; margin-bottom: 14px;
}
.event-card h3 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600; font-size: 24px; letter-spacing: -0.01em; margin: 0 0 6px;
}
.event-card .ec-meta { color: var(--ink-soft); font-size: 15px; margin: 0; }
.event-card .ec-foot {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--hairline);
  font-size: 14px;
}
.event-card .ec-host { color: var(--ink-soft); display: inline-flex; align-items: center; gap: 8px; }
.event-card .ec-dot { width: 22px; height: 22px; border-radius: 999px; background: linear-gradient(135deg, var(--clay), var(--evergreen)); display: inline-block; }
.event-card .ec-spots { color: var(--evergreen); font-weight: 700; }
.ec-front { top: 84px; left: 8px; z-index: 2; }
.ec-back { top: 0; right: 0; transform: rotate(4deg); opacity: 0.9; }
.hero-visual::before {
  content: ""; position: absolute; inset: -6% -10% 10% 6%;
  background: radial-gradient(60% 60% at 60% 40%, rgba(176, 124, 224, 0.28), transparent 70%);
  filter: blur(8px); z-index: 0;
}

/* Content bands */
.band { max-width: var(--maxw-wide); padding: 56px 24px; }
.section-title {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600; letter-spacing: -0.02em; line-height: 1.08;
  font-size: clamp(28px, 4vw, 40px); margin: 0 0 36px; max-width: 620px;
}
h2 { font-weight: 600; }

/* How it works steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step {
  background: var(--paper-raised); border: 1px solid var(--hairline);
  border-radius: 18px; padding: 26px 24px;
}
.step-n {
  display: inline-grid; place-items: center;
  width: 40px; height: 40px; border-radius: 12px;
  background: var(--clay-soft); color: var(--clay-pressed);
  font-family: "Fraunces", Georgia, serif; font-weight: 600; font-size: 20px;
  margin-bottom: 16px;
}
.step h3 { margin: 0 0 6px; font-size: 19px; }
.step p { margin: 0; color: var(--ink-soft); font-size: 15px; }

/* Feature points */
.points { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.point {
  background: var(--paper-raised); border: 1px solid var(--hairline);
  border-radius: 16px; padding: 22px 24px;
  display: flex; gap: 16px; align-items: flex-start;
}
.point .pi {
  width: 40px; height: 40px; border-radius: 11px; flex: none;
  background: var(--clay-soft); display: grid; place-items: center;
  color: var(--clay-pressed);
}
.point h3 { margin: 2px 0 4px; font-size: 18px; }
.point p { margin: 0; color: var(--ink-soft); font-size: 15px; }

/* Closing CTA band */
.cta-band { max-width: var(--maxw-wide); padding: 24px 24px 72px; }
.cta-inner {
  background: linear-gradient(150deg, var(--clay-soft), var(--paper-raised));
  border: 1px solid var(--hairline);
  border-radius: 24px;
  padding: 52px 40px;
  text-align: center;
  display: grid; justify-items: center; gap: 10px;
}
.cta-inner h2 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600; letter-spacing: -0.02em; line-height: 1.08;
  font-size: clamp(26px, 4vw, 38px); margin: 0; max-width: 520px;
}
.cta-inner p { color: var(--ink-soft); margin: 0 0 12px; font-size: 18px; }

/* Activity categories */
.cat-grid {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 12px;
}
.cat-grid li {
  background: var(--paper-raised); border: 1px solid var(--hairline);
  border-radius: 999px; padding: 12px 20px;
  font-weight: 600; color: var(--ink-soft); font-size: 16px;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.cat-grid li:hover { color: var(--ink); border-color: var(--clay); }

/* Reveal on scroll */
[data-reveal] {
  opacity: 0; transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* Sticky mobile download bar */
.mobile-dl {
  display: none;
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 20;
  background: var(--clay); color: var(--on-accent);
  text-align: center; font-weight: 700; font-size: 16px;
  padding: 15px; border-radius: 14px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
}
.mobile-dl:hover { text-decoration: none; background: var(--clay-pressed); }

/* Legal / doc pages */
.doc { padding: 56px 0 88px; }
.doc-title {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600; font-size: clamp(34px, 5vw, 46px);
  letter-spacing: -0.02em; margin: 0 0 8px;
}
.updated { color: var(--ink-faint); font-size: 14px; margin: 0 0 36px; }
.doc h2 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600; font-size: 24px; letter-spacing: -0.01em;
  margin: 40px 0 12px;
}
.doc p { color: var(--ink-soft); margin: 0 0 16px; }
.doc .point-line { color: var(--ink-soft); margin: 0 0 14px; }
.doc .point-line b { color: var(--ink); font-weight: 600; }

/* FAQ */
.faq { display: grid; gap: 14px; margin: 8px 0 40px; }
.faq-card {
  background: var(--paper-raised); border: 1px solid var(--hairline);
  border-radius: 16px; padding: 20px 22px;
}
.faq-card h3 { margin: 0 0 6px; font-size: 17px; }
.faq-card p { margin: 0; color: var(--ink-soft); font-size: 15px; }
.contact {
  text-align: center; margin: 36px 0 0;
  display: grid; gap: 14px; justify-items: center;
}
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--clay); color: var(--on-accent);
  font-weight: 700; padding: 13px 26px; border-radius: 999px; font-size: 16px;
}
.btn:hover { text-decoration: none; background: var(--clay-pressed); }

/* Footer */
.site-footer {
  border-top: 1px solid var(--hairline); padding: 32px 0; margin-top: 8px;
  color: var(--ink-faint); font-size: 14px;
}
.site-footer .wrap {
  max-width: var(--maxw-wide);
  display: flex; flex-wrap: wrap; gap: 8px 22px;
  align-items: center; justify-content: space-between;
}
.site-footer nav a { color: var(--ink-soft); margin-left: 18px; font-weight: 600; }
.site-footer nav a:first-child { margin-left: 0; }

@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr; gap: 40px; padding: 56px 24px 40px;
  }
  .hero-visual { min-height: 300px; max-width: 360px; }
  .steps { grid-template-columns: 1fr; }
  .points { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  nav.top a { margin-left: 14px; font-size: 14px; }
  nav.top a:not(.nav-cta) { display: none; }
  .hero { padding: 40px 20px 32px; }
  .cta-inner { padding: 40px 24px; }
  .event-card { width: 280px; }
  .mobile-dl { display: block; }
  /* Clear the sticky download bar so it never covers footer content. */
  .site-footer { padding-bottom: 92px; }
}
