:root {
  --bg: #08090d;
  --bg-soft: #0d0f16;
  --card: rgba(20, 22, 31, 0.78);
  --card-solid: #12141d;
  --line: rgba(255,255,255,0.09);
  --text: #f6f2ff;
  --muted: #a09aaa;
  --muted-2: #736d7d;
  --primary: #8b5cf6;
  --primary-2: #a855f7;
  --green: #22c55e;
  --cyan: #06b6d4;
  --shadow: 0 24px 80px rgba(0,0,0,0.45);
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(139,92,246,0.22), transparent 30%),
    radial-gradient(circle at 80% 10%, rgba(6,182,212,0.08), transparent 28%),
    linear-gradient(180deg, #08090d, #090a0f 40%, #07080c);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  overflow-x: hidden;
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.7'/%3E%3C/svg%3E");
  z-index: 0;
}

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

button {
  font: inherit;
}

.site-header,
main,
.footer {
  position: relative;
  z-index: 1;
}

.site-header {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 800;
  letter-spacing: -0.04em;
  font-size: 1.1rem;
}

.brand-mark {
  width: 30px;
  height: 30px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--primary), var(--cyan));
  color: white;
  font-weight: 900;
  font-size: 1.2rem;
  line-height: 1;
}

.desktop-nav {
  display: flex;
  gap: 28px;
  color: var(--muted);
  font-size: 0.9rem;
}

.desktop-nav a:hover {
  color: var(--text);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ghost-btn,
.secondary-btn,
.primary-btn {
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  color: var(--text);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.ghost-btn {
  background: transparent;
  color: var(--muted);
}

.secondary-btn {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  padding: 14px 20px;
}

.primary-btn {
  padding: 15px 24px;
  background: linear-gradient(135deg, var(--primary), #6d5dfc);
  box-shadow: 0 14px 38px rgba(139,92,246,0.28);
  font-weight: 700;
}

.primary-btn.small {
  padding: 10px 16px;
  font-size: 0.9rem;
}

.primary-btn:hover,
.secondary-btn:hover {
  transform: translateY(-2px);
}

.hero {
  width: min(1180px, calc(100% - 32px));
  margin: 30px auto 0;
  min-height: 620px;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 38px;
  align-items: center;
  padding: 38px 0 70px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.04);
  color: var(--muted);
  padding: 8px 13px;
  border-radius: 999px;
  font-size: 0.88rem;
  margin-bottom: 22px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(34,197,94,0.12);
}

h1, h2 {
  letter-spacing: -0.065em;
}

h1 {
  font-size: clamp(3.4rem, 8vw, 6.7rem);
  line-height: 0.9;
  max-width: 760px;
}

.hero-subtitle {
  max-width: 560px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.75;
}

.taste-row {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.taste-row span {
  padding: 10px 14px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #ddd8ea;
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  gap: 13px;
  flex-wrap: wrap;
}

.hero-panel {
  min-height: 560px;
  position: relative;
  border: 1px solid var(--line);
  border-radius: 36px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02)),
    radial-gradient(circle at 60% 20%, rgba(139,92,246,0.24), transparent 36%);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 70%;
  background:
    linear-gradient(180deg, transparent, rgba(0,0,0,0.9)),
    url("https://images.unsplash.com/photo-1514525253161-7a46d19cd819?auto=format&fit=crop&w=1200&q=80") center/cover;
  opacity: 0.55;
}

.phone-card,
.floating-card,
.vibe-preview,
.artist-list,
.activity-list,
.steps article {
  border: 1px solid var(--line);
  background: var(--card);
  backdrop-filter: blur(20px);
  box-shadow: 0 22px 60px rgba(0,0,0,0.24);
}

.main-match {
  position: absolute;
  width: min(360px, calc(100% - 40px));
  left: 30px;
  bottom: 32px;
  padding: 24px;
  border-radius: 28px;
}

.match-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.match-badge {
  display: inline-flex;
  width: max-content;
  background: rgba(34,197,94,0.13);
  border: 1px solid rgba(34,197,94,0.22);
  color: #76f5a2;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
}

.mini-text,
.tiny-label,
small {
  color: var(--muted-2);
}

.avatar,
.small-avatar,
.avatar-large {
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #2c3140, #7947ff);
  color: white;
  font-weight: 800;
}

.avatar {
  width: 42px;
  height: 42px;
}

.avatar-large {
  width: 64px;
  height: 64px;
  font-size: 1.3rem;
  margin-bottom: 14px;
}

.small-avatar {
  width: 34px;
  height: 34px;
}

.main-match h3,
.person-card h3 {
  font-size: 1.7rem;
  margin-bottom: 7px;
}

.main-match p {
  color: var(--muted);
  line-height: 1.6;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.chips span {
  font-size: 0.8rem;
  color: #ded9e8;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.06);
}

.floating-card {
  position: absolute;
  padding: 16px;
  border-radius: 21px;
}

.community-mini {
  top: 36px;
  right: 34px;
  display: grid;
  gap: 5px;
}

.activity-mini {
  top: 170px;
  right: 58px;
  display: flex;
  gap: 11px;
  align-items: center;
}

.activity-mini div {
  display: grid;
  gap: 4px;
}

.section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 66px 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: end;
  margin-bottom: 24px;
}

.section-kicker {
  color: var(--primary-2);
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.section h2,
.final-cta h2 {
  font-size: clamp(2rem, 5vw, 3.7rem);
  line-height: 0.98;
  margin-top: 8px;
}

.view-link {
  color: #b990ff;
  font-size: 0.92rem;
  white-space: nowrap;
}

.people-grid,
.community-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.person-card {
  min-height: 420px;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #11131a;
  position: relative;
  transition: transform 0.22s ease, border-color 0.22s ease;
}

.person-card:hover {
  transform: translateY(-5px);
  border-color: rgba(139,92,246,0.45);
}

.person-bg {
  position: absolute;
  inset: 0;
  opacity: 0.85;
}

.bg-one {
  background:
    linear-gradient(180deg, transparent, #08090d 78%),
    url("https://images.unsplash.com/photo-1517841905240-472988babdf9?auto=format&fit=crop&w=900&q=80") center/cover;
}

.bg-two {
  background:
    linear-gradient(180deg, transparent, #08090d 78%),
    url("https://images.unsplash.com/photo-1500648767791-00dcc994a43e?auto=format&fit=crop&w=900&q=80") center/cover;
}

.bg-three {
  background:
    linear-gradient(180deg, transparent, #08090d 78%),
    url("https://images.unsplash.com/photo-1506794778202-cad84cf45f1d?auto=format&fit=crop&w=900&q=80") center/cover;
}

.person-content {
  position: absolute;
  inset: auto 0 0 0;
  padding: 22px;
}

.person-content p {
  color: var(--muted);
}

.split-section {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 18px;
}

.vibe-preview {
  min-height: 390px;
  border-radius: 32px;
  padding: 34px;
  background:
    linear-gradient(135deg, rgba(124,58,237,0.36), rgba(20,22,31,0.75) 45%),
    radial-gradient(circle at 22% 35%, rgba(168,85,247,0.45), transparent 35%);
}

.vibe-preview h2 {
  color: #b984ff;
  max-width: 360px;
}

.vibe-preview p {
  max-width: 410px;
  margin-top: 18px;
  color: #ded7e8;
  font-size: 1.05rem;
  line-height: 1.65;
}

.share-row {
  margin-top: 70px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 999px;
  background: rgba(0,0,0,0.38);
}

.mini-avatars {
  display: flex;
}

.mini-avatars span {
  width: 30px;
  height: 30px;
  margin-left: -7px;
  border: 2px solid #15151b;
  border-radius: 50%;
  background: linear-gradient(135deg, #33384a, #7848ff);
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  font-weight: 800;
}

.mini-avatars span:first-child {
  margin-left: 0;
}

.artist-list {
  border-radius: 32px;
  padding: 30px;
  display: grid;
  gap: 18px;
}

.artist-list h3 {
  font-size: 1.2rem;
}

.signal {
  display: flex;
  align-items: center;
  gap: 13px;
}

.signal p {
  font-weight: 700;
}

.community-grid {
  grid-template-columns: repeat(4, 1fr);
}

.community-card {
  min-height: 230px;
  border-radius: 28px;
  padding: 18px;
  border: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: end;
  overflow: hidden;
  position: relative;
  background: #12141d;
}

.community-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.72;
}

.community-card.purple::before {
  background:
    linear-gradient(180deg, transparent, #090a0f 86%),
    url("https://images.unsplash.com/photo-1492684223066-81342ee5ff30?auto=format&fit=crop&w=900&q=80") center/cover;
}

.community-card.moon::before {
  background:
    linear-gradient(180deg, transparent, #090a0f 86%),
    url("https://images.unsplash.com/photo-1532978379173-523e16f371f9?auto=format&fit=crop&w=900&q=80") center/cover;
}

.community-card.cozy::before {
  background:
    linear-gradient(180deg, transparent, #090a0f 86%),
    url("https://images.unsplash.com/photo-1511512578047-dfb367046420?auto=format&fit=crop&w=900&q=80") center/cover;
}

.community-card.anime::before {
  background:
    linear-gradient(180deg, transparent, #090a0f 86%),
    url("https://images.unsplash.com/photo-1518005020951-eccb494ad742?auto=format&fit=crop&w=900&q=80") center/cover;
}

.community-card div,
.community-card button {
  position: relative;
  z-index: 1;
}

.community-card h3 {
  font-size: 1.1rem;
}

.community-card p {
  color: var(--muted);
  margin-top: 4px;
}

.community-card button {
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.08);
  color: white;
  border-radius: 999px;
  padding: 9px 14px;
}

.activity-section {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 30px;
  align-items: start;
}

.activity-list {
  border-radius: 32px;
  overflow: hidden;
}

.activity-item {
  display: flex;
  gap: 14px;
  padding: 18px;
  border-bottom: 1px solid var(--line);
}

.activity-item:last-child {
  border-bottom: 0;
}

.activity-item p {
  display: grid;
  gap: 4px;
  color: #ddd8e6;
  line-height: 1.45;
}

.activity-item a {
  color: #b487ff;
  font-weight: 800;
}

.how-section {
  text-align: center;
}

.how-section > h2 {
  max-width: 620px;
  margin-inline: auto;
}

.steps {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.steps article {
  border-radius: 28px;
  padding: 30px 24px;
}

.steps span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), #5b5dff);
  font-weight: 800;
}

.steps h3 {
  margin-bottom: 8px;
}

.steps p {
  color: var(--muted);
  line-height: 1.55;
}

.final-cta {
  width: min(1180px, calc(100% - 32px));
  margin: 20px auto 0;
  padding: 90px 24px;
  text-align: center;
  border-radius: 36px;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 30% 20%, rgba(139,92,246,0.28), transparent 35%),
    linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.015));
}

.final-cta span {
  color: #a970ff;
}

.final-cta p {
  margin: 14px 0 26px;
  color: var(--muted);
}

.final-cta small {
  display: block;
  margin-top: 16px;
}

.footer {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 32px 0;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
}

.footer div {
  display: flex;
  gap: 18px;
}

@media (max-width: 900px) {
  .desktop-nav,
  .ghost-btn {
    display: none;
  }

  .site-header {
    width: calc(100% - 28px);
  }

  .hero {
    width: calc(100% - 28px);
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 24px;
  }

  .hero-panel {
    min-height: 520px;
  }

  .people-grid,
  .community-grid,
  .split-section,
  .activity-section,
  .steps {
    grid-template-columns: 1fr;
  }

  .community-card {
    min-height: 190px;
  }

  .section-head {
    align-items: start;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding: 16px 0;
  }

  .primary-btn.small {
    padding: 9px 13px;
  }

  h1 {
    font-size: 3.25rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .primary-btn,
  .secondary-btn {
    width: 100%;
  }

  .hero-panel {
    border-radius: 28px;
  }

  .main-match {
    left: 16px;
    bottom: 18px;
    width: calc(100% - 32px);
  }

  .community-mini {
    right: 16px;
    top: 18px;
  }

  .activity-mini {
    right: 16px;
    top: 122px;
  }

  .section {
    width: calc(100% - 28px);
    padding: 46px 0;
  }

  .person-card {
    min-height: 370px;
  }

  .vibe-preview,
  .artist-list,
  .activity-list,
  .steps article,
  .final-cta {
    border-radius: 26px;
  }

  .vibe-preview {
    padding: 26px;
  }

  .share-row {
    margin-top: 42px;
    border-radius: 24px;
    align-items: start;
  }

  .footer {
    width: calc(100% - 28px);
    flex-direction: column;
  }
}


/* v5.2 landing readability fix */
body {
  font-family: Inter, system-ui, sans-serif !important;
}

h1, h2, h3 {
  letter-spacing: -0.035em !important;
  word-spacing: 0.02em !important;
}

.hero h1, h1 {
  font-family: Inter, system-ui, sans-serif !important;
  line-height: 1.02 !important;
  font-weight: 900 !important;
  font-size: clamp(2.5rem, 6vw, 5.2rem) !important;
}

.site-header, .nav {
  width: min(1080px, calc(100% - 32px)) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.hero, .section, .final-cta, .footer {
  width: min(1080px, calc(100% - 32px)) !important;
}

@media (max-width: 560px) {
  .hero h1, h1 {
    font-size: 2.6rem !important;
    line-height: 1.05 !important;
  }
}
