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

html,
body {
  height: 100%;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Segoe UI", sans-serif;
  background:
    radial-gradient(140% 160% at 0% 0%, #ffe3c3 0, transparent 60%),
    radial-gradient(140% 160% at 100% 0%, #e5ddff 0, transparent 60%),
    #f9f3eb;
  color: #0b0b10;
  -webkit-font-smoothing: antialiased;
}

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

.page-home {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding: 24px clamp(20px, 4vw, 40px);
}

.site-header {
  padding-bottom: 24px;
}

.site-header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1040px;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: radial-gradient(circle at 0% 0%, #ffe9cf, #f2b46d 40%, #d079ff);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.14);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-title {
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.brand-subtitle {
  font-size: 0.8rem;
  color: rgba(15, 23, 42, 0.6);
}

.site-main {
  flex: 1;
  max-width: 1040px;
  margin: 0 auto;
}

.page-home .site-main {
  display: flex;
  align-items: center;
  justify-content: center;
}

.intro {
  padding: 32px 0 18px;
}

.intro-kicker {
  font-size: 0.9rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(15, 23, 42, 0.55);
  margin-bottom: 10px;
}

.intro-title {
  font-size: clamp(2.1rem, 3.4vw, 2.8rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.intro-text {
  max-width: 560px;
  font-size: 0.98rem;
  line-height: 1.6;
  color: rgba(15, 23, 42, 0.68);
}

.profiles {
  display: flex;
  align-items: stretch;
  gap: 12px;
  margin-top: 26px;
  padding-bottom: 40px;
}

.profiles-track {
  flex: 1;
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 4px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.profiles-track::-webkit-scrollbar {
  height: 4px;
}

.profiles-track::-webkit-scrollbar-thumb {
  background: rgba(15, 23, 42, 0.18);
  border-radius: 999px;
}

.profiles-arrow {
  border: none;
  background: #ffffff;
  color: rgba(15, 23, 42, 0.7);
  border-radius: 999px;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.18);
  cursor: pointer;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.profiles-arrow:hover {
  background: #f4f4f7;
}

.profiles-arrow--prev {
  order: -1;
}

.profile-row {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  background: #f4f4f7;
  transform: skewX(-6deg);
  transform-origin: left center;
  transition: transform 0.35s ease, box-shadow 0.35s ease,
    background 0.35s ease;
  flex: 0 0 min(320px, 80vw);
  scroll-snap-align: start;
}

.profile-row-inner {
  transform: skewX(6deg);
  padding: 22px clamp(20px, 4vw, 32px);
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
  height: 100%;
}

.profile-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(15, 23, 42, 0.5);
}

.profile-main h2 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.profile-main p {
  font-size: 0.95rem;
  line-height: 1.5;
  color: rgba(15, 23, 42, 0.7);
}

.profile-cta {
  font-size: 0.9rem;
  font-weight: 500;
  white-space: nowrap;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.12);
}

.profile-row:hover {
  transform: translateY(-4px) skewX(-4deg);
  box-shadow: 0 22px 40px rgba(15, 23, 42, 0.16);
}

.profile-row--entrepreneurs {
  background: linear-gradient(120deg, #f8fafc, #e5f3ff);
}

.profile-row--creators {
  background: linear-gradient(120deg, #fff5f5, #ffe9f4);
}

.profile-row--curious {
  background: linear-gradient(120deg, #f4fff7, #e7f5ff);
}

.profile-row--investors {
  background: linear-gradient(120deg, #f8f5ff, #f3e7ff);
}

.profile-row--entrepreneurs:hover {
  background: linear-gradient(120deg, #e5f3ff, #d0e7ff);
}

.profile-row--creators:hover {
  background: linear-gradient(120deg, #ffe2ec, #ffd1d6);
}

.profile-row--curious:hover {
  background: linear-gradient(120deg, #e3ffe9, #ddf4ff);
}

.profile-row--investors:hover {
  background: linear-gradient(120deg, #f1e4ff, #e4d4ff);
}

.site-footer {
  padding-top: 8px;
  padding-bottom: 4px;
  font-size: 0.8rem;
  color: rgba(15, 23, 42, 0.6);
  text-align: center;
}

@media (max-width: 640px) {
  .page-home {
    padding-inline: 16px;
  }

  .profiles {
    gap: 8px;
  }

  .profiles-arrow {
    display: none;
  }

  .profile-row-inner {
    align-items: flex-start;
  }

  .profile-cta {
    justify-self: flex-start;
  }
}

@media (min-width: 1024px) {
  .page-home {
    padding-inline: clamp(40px, 6vw, 72px);
  }

  .site-main {
    max-width: none;
  }

  .profiles {
    gap: 0;
    margin-top: 32px;
    padding-bottom: 0;
  }

  .profiles-track {
    overflow-x: visible;
    gap: 0;
  }

  .profile-row {
    flex: 0 0 25%;
    border-radius: 0;
  }

  .profiles-arrow {
    display: none;
  }
}
