:root {
  --bg: #06070b;
  --bg-deep: #0a0c12;
  --panel: rgba(18, 18, 25, 0.86);
  --panel-strong: rgba(12, 12, 18, 0.94);
  --panel-soft: rgba(255, 255, 255, 0.04);
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(241, 195, 92, 0.28);
  --text: #f8f4ee;
  --muted: #b8b4aa;
  --gold: #f1c35c;
  --gold-deep: #a56f14;
  --green: #95df8e;
  --shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --section-gap: 78px;
  --shell: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
}

img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; }
p { margin: 0; }

.page-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 12% 12%, rgba(241, 195, 92, 0.18), transparent 24%),
    radial-gradient(circle at 86% 10%, rgba(241, 195, 92, 0.14), transparent 20%),
    radial-gradient(circle at 78% 42%, rgba(149, 223, 142, 0.09), transparent 22%),
    linear-gradient(180deg, #0a0b10 0%, #06070b 52%, #050509 100%);
}

.shell-wide {
  width: min(var(--shell), calc(100% - 40px));
  margin: 0 auto;
}

main {
  padding-bottom: 88px;
}

main > section {
  margin-top: var(--section-gap);
}

.site-header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  padding: 22px 0 10px;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.brand-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
}

.brand-name {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 1.38rem;
  letter-spacing: -0.04em;
}

.brand-tag {
  display: block;
  margin-top: 2px;
  font-size: 0.76rem;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
}

.site-nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.95rem;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
}

.header-cta-row {
  justify-self: end;
}

.eyebrow,
.panel-kicker {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1, h2, h3 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: -0.04em;
}

h1 {
  font-size: clamp(3.1rem, 8vw, 5.6rem);
  line-height: 0.92;
  max-width: 8.4ch;
}

h2 {
  font-size: clamp(2rem, 4.4vw, 3.3rem);
  line-height: 0.96;
}

h3 {
  font-size: clamp(1.2rem, 2.4vw, 1.72rem);
  line-height: 1.04;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  gap: 28px;
  align-items: stretch;
  padding-top: 18px;
}

.hero-copy,
.hero-visual,
.pulse-panel,
.manifesto-card,
.cta-card {
  position: relative;
}

.hero-copy {
  padding: 20px 0 10px;
}

.hero-subheadline,
.section-copy,
.hero-visual-copy p,
.activity-time,
.review-meta,
.manifesto-card p,
.cta-copy p,
.modal-copy,
.list-meta,
.activity-text,
.trending-excerpt,
.review-excerpt {
  color: var(--muted);
  line-height: 1.7;
}

.hero-subheadline {
  margin-top: 20px;
  max-width: 31rem;
  font-size: 1.14rem;
}

.hero-actions,
.cta-actions,
.modal-actions,
.hero-stat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-actions {
  margin-top: 28px;
}

.explore-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  color: var(--gold);
  text-decoration: none;
  font-weight: 600;
}

.explore-link::after {
  content: "↘";
}

.hero-stat-row {
  margin-top: 34px;
}

.hero-stat-card,
.trending-meta-pill,
.list-item-chip {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.035);
}

.hero-stat-value {
  display: block;
  font-weight: 700;
  color: var(--text);
}

.hero-stat-label {
  display: block;
  margin-top: 6px;
  font-size: 0.88rem;
  color: var(--muted);
}

.glass-card {
  background: linear-gradient(180deg, rgba(19, 19, 28, 0.95), rgba(12, 12, 18, 0.94));
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.hero-visual {
  overflow: hidden;
  padding: 28px;
  min-height: 640px;
}

.hero-visual-backdrop {
  position: absolute;
  inset: auto;
  width: 250px;
  height: 320px;
  border-radius: 28px;
  opacity: 0.75;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.1), rgba(0,0,0,0.5)),
    radial-gradient(circle at 50% 0%, rgba(241, 195, 92, 0.34), transparent 52%),
    linear-gradient(135deg, #211711, #0d0f16 42%, #191204);
  filter: saturate(1.15);
}

.hero-backdrop-left {
  top: 80px;
  left: 34px;
  transform: rotate(-7deg);
}

.hero-backdrop-right {
  top: 78px;
  right: 28px;
  transform: rotate(8deg);
}

.hero-phone-frame {
  position: relative;
  z-index: 2;
  width: min(300px, 58%);
  margin: 24px auto 30px;
  padding: 18px 16px 20px;
  border-radius: 42px;
  border: 1px solid rgba(255,255,255,0.14);
  background: linear-gradient(180deg, #0f1017, #090a0f);
  box-shadow: 0 18px 48px rgba(0,0,0,0.38);
}

.hero-phone-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  font-size: 0.82rem;
  color: var(--muted);
}

.hero-live-pill,
.count-pill,
.rating-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 700;
}

.hero-live-pill,
.count-pill {
  padding: 8px 12px;
  border: 1px solid var(--line-strong);
  color: var(--gold);
  background: rgba(241, 195, 92, 0.08);
}

.hero-phone-screen {
  width: 100%;
  aspect-ratio: 9 / 19.5;
  object-fit: cover;
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,0.06);
}

.hero-visual-copy {
  position: relative;
  z-index: 2;
  max-width: 28rem;
}

.hero-visual-copy h2 {
  max-width: 10.5ch;
  margin-bottom: 14px;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(280px, 0.58fr);
  gap: 24px;
  align-items: end;
  margin-bottom: 26px;
}

.pulse-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 22px;
}

.pulse-panel {
  padding: 24px;
}

.panel-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.panel-kicker {
  margin-bottom: 10px;
}

.panel-link,
.text-button,
.ghost-button {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--gold);
  cursor: pointer;
}

.panel-link {
  padding: 0;
  font-weight: 600;
  white-space: nowrap;
}

.ghost-button,
.primary-button,
.secondary-button {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 18px;
  border-radius: var(--radius-md);
  text-decoration: none;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
}

.ghost-button {
  border-color: rgba(241, 195, 92, 0.26);
  color: var(--gold);
  background: rgba(241, 195, 92, 0.06);
}

.primary-button {
  background: linear-gradient(180deg, #f4cc72, #e0ad3f);
  color: #0a0b10;
}

.secondary-button {
  border-color: var(--line);
  background: rgba(255,255,255,0.04);
  color: var(--text);
}

.trending-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.trending-card,
.review-card,
.list-card,
.activity-card {
  width: 100%;
  text-align: left;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.trending-card-shell,
.review-card-shell,
.list-card-shell,
.activity-card-shell {
  height: 100%;
  padding: 16px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.03);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.trending-card:hover .trending-card-shell,
.review-card:hover .review-card-shell,
.list-card:hover .list-card-shell,
.activity-card:hover .activity-card-shell,
.trending-card:focus-visible .trending-card-shell,
.review-card:focus-visible .review-card-shell,
.list-card:focus-visible .list-card-shell,
.activity-card:focus-visible .activity-card-shell {
  transform: translateY(-2px);
  border-color: rgba(241, 195, 92, 0.28);
  box-shadow: 0 16px 34px rgba(0,0,0,0.22);
}

.cover-art {
  aspect-ratio: 0.75 / 1;
  border-radius: 16px;
  padding: 14px;
  display: flex;
  align-items: end;
  border: 1px solid rgba(255,255,255,0.08);
  background:
    linear-gradient(180deg, rgba(0,0,0,0.05), rgba(0,0,0,0.45)),
    radial-gradient(circle at 50% 0%, rgba(255,255,255,0.16), transparent 40%),
    linear-gradient(145deg, var(--cover-a), var(--cover-b));
}

.cover-title {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.04;
}

.cover-image {
  width: 100%;
  aspect-ratio: 0.75 / 1;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.08);
}

.trending-card-body {
  margin-top: 14px;
}

.trending-card-body h4,
.list-card-title,
.review-card-title,
.activity-card-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
}

.trending-meta-row,
.review-top-row,
.list-top-row,
.activity-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.trending-meta-row {
  margin-top: 12px;
}

.rating-pill {
  min-width: 62px;
  padding: 8px 10px;
  background: rgba(241, 195, 92, 0.15);
  color: var(--gold);
  border: 1px solid rgba(241, 195, 92, 0.28);
}

.trending-excerpt,
.review-excerpt {
  margin-top: 12px;
  font-size: 0.95rem;
}

.review-list,
.activity-list {
  display: grid;
  gap: 12px;
}

.review-card-shell,
.activity-card-shell {
  padding: 15px 16px;
}

.review-top-row,
.activity-top-row {
  margin-bottom: 10px;
}

.review-identity {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.review-avatar {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  object-fit: cover;
  border: 1px solid rgba(255,255,255,0.1);
  flex: 0 0 auto;
}

.review-avatar-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(241, 195, 92, 0.12);
  color: var(--gold);
  font-weight: 700;
}

.review-name,
.activity-badge,
.list-creator {
  color: var(--gold);
  font-weight: 700;
}

.review-meta {
  margin-top: 10px;
  font-size: 0.9rem;
}

.list-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.list-card-shell {
  padding: 16px;
}

.list-preview-row {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}

.list-item-cover-wrap {
  flex: 1 1 0;
  min-width: 0;
}

.list-item-cover {
  width: 100%;
  min-height: 64px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.08);
}

.list-item-chip {
  min-width: 0;
  flex: 1 1 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 0.83rem;
  line-height: 1.3;
  color: var(--text);
  min-height: 64px;
}

.list-meta {
  margin-top: 10px;
  font-size: 0.9rem;
}

.activity-badge {
  display: inline-flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(241, 195, 92, 0.12);
  border: 1px solid rgba(241, 195, 92, 0.16);
  font-size: 0.88rem;
}

.activity-time,
.review-time {
  font-size: 0.88rem;
  white-space: nowrap;
}

.manifesto-card,
.cta-card {
  overflow: hidden;
}

.manifesto-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 190px;
  gap: 22px;
  padding: 28px;
  border-color: rgba(241, 195, 92, 0.24);
}

.manifesto-card p {
  margin-top: 14px;
  max-width: 55rem;
  font-size: 1.02rem;
}

.manifesto-mark {
  display: flex;
  align-items: center;
  justify-content: center;
}

.manifesto-heart-shell {
  width: 136px;
  height: 136px;
  border-radius: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 50% 50%, rgba(241, 195, 92, 0.4), transparent 58%),
    linear-gradient(145deg, rgba(241, 195, 92, 0.2), rgba(241, 195, 92, 0.02));
  border: 1px solid rgba(241, 195, 92, 0.28);
  box-shadow: inset 0 0 24px rgba(241, 195, 92, 0.12);
}

.manifesto-heart {
  font-size: 3rem;
  color: var(--gold);
}

.cta-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 30px;
}

.cta-copy p {
  margin-top: 12px;
  font-size: 1.04rem;
}

.cta-actions {
  justify-content: flex-end;
}

.modal-shell {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 50;
}

.modal-shell.hidden {
  display: none;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 5, 9, 0.74);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.download-modal {
  position: relative;
  z-index: 1;
  width: min(560px, 100%);
  padding: 28px;
  background: linear-gradient(180deg, rgba(19, 19, 28, 0.98), rgba(10, 11, 17, 0.98));
  border: 1px solid rgba(241, 195, 92, 0.18);
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.04);
  color: var(--text);
  font-size: 1.3rem;
  cursor: pointer;
}

.modal-copy {
  margin-top: 14px;
  font-size: 1rem;
}

.modal-actions {
  margin-top: 24px;
}

.text-button {
  min-height: 52px;
  padding: 0 8px;
  font-weight: 600;
}

.hidden-lock {
  overflow: hidden;
}

@media (max-width: 1160px) {
  .site-header {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .site-nav {
    justify-content: flex-start;
  }

  .hero,
  .section-heading,
  .cta-card,
  .manifesto-card {
    grid-template-columns: 1fr;
  }

  .pulse-grid {
    grid-template-columns: 1fr;
  }

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

  .list-grid {
    grid-template-columns: 1fr 1fr;
  }

  .cta-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  :root {
    --section-gap: 52px;
  }

  .shell-wide {
    width: min(100% - 24px, var(--shell));
  }

  h1 {
    max-width: none;
    font-size: clamp(2.4rem, 13vw, 4rem);
  }

  h2 {
    font-size: clamp(1.75rem, 8vw, 2.5rem);
  }

  .hero-actions,
  .cta-actions,
  .modal-actions,
  .hero-stat-row {
    flex-direction: column;
    align-items: stretch;
  }

  .ghost-button,
  .primary-button,
  .secondary-button,
  .text-button {
    width: 100%;
  }

  .hero-visual {
    min-height: auto;
    padding: 24px;
  }

  .hero-phone-frame {
    width: min(280px, 80%);
  }

  .hero-visual-backdrop {
    display: none;
  }

  .trending-grid,
  .list-grid {
    grid-template-columns: 1fr;
  }

  .manifesto-card {
    padding-right: 24px;
  }
}
