/* Co-founder matching */
main [hidden] { display: none !important; }
.cf-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.cf-grid:empty { display: none; }
.cf-sk { aspect-ratio: 1 / 1.32; border-radius: var(--r-image); background: linear-gradient(100deg, #111 30%, #1A1A1A 50%, #111 70%) 0 0 / 300% 100%; animation: cf-sk 1.6s linear infinite; }
@keyframes cf-sk { to { background-position: -100% 0; } }
.cf-card { display: flex; flex-direction: column; gap: 0; }
.cf-card .media { aspect-ratio: 1 / 1; }
.cf-ph { position: absolute; inset: 0; display: grid; place-items: center; font-size: 72px; font-weight: 500; letter-spacing: -0.025em; color: #fff; background-size: cover; background-position: center; }
.cf-ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cf-lock { position: absolute; left: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: var(--r-pill); background: rgba(0, 0, 0, .55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: #fff; font-size: 13px; font-weight: 500; }
.cf-card .card__title { margin-top: 18px; }
.cf-card .card__text { margin-top: 4px; color: var(--text-3); }
.cf-card.is-new { animation: cf-in .8s var(--ease) both; animation-delay: calc(var(--i, 0) * 60ms); }
@keyframes cf-in { from { opacity: 0; transform: translateY(14px); } }
.cf-foot { display: flex; flex-direction: column; align-items: center; gap: 18px; margin-top: 4px; }
.cf-note { color: var(--text-2); font-size: 16px; text-align: center; }
.cf-note a { text-decoration: underline; text-underline-offset: 3px; }

.cf-first { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 48px; align-items: center; padding: 40px; border-radius: var(--r-card); background: var(--band); }
.cf-first__text { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.cf-first h3 { font-size: 32px; font-weight: 500; letter-spacing: -0.018em; line-height: 1.12; }
.cf-first p { color: var(--text-2); font-size: 17px; max-width: 420px; }
.cf-first .pill { margin-top: 8px; }

.cf-price { color: var(--text-2); font-size: 17px; }
.cf-price b { color: var(--text); font-weight: 500; }
.cf-stage { display: grid; place-items: center; }
.cf-stage > img { position: absolute; inset: 0; }
.cf-chat { position: relative; width: min(80%, 380px); padding: 20px; border-radius: var(--r-card); background: #fff; color: #111; display: flex; flex-direction: column; gap: 12px; font-size: 14px; box-shadow: 0 30px 60px rgba(0, 0, 0, .25); }
.cf-chat__label { display: flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 500; color: #6B6B6B; }
.cf-chat__who { display: flex; align-items: center; gap: 10px; }
.cf-chat__who b { display: block; font-weight: 500; }
.cf-chat__who small { display: block; color: #6B6B6B; font-size: 12px; }
.cf-chat__dot { width: 34px; height: 34px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #CDE7FF, #1A73E8 75%); flex: none; }
.cf-chat__msg { padding: 11px 14px; border-radius: var(--r-pop) var(--r-pop) var(--r-pop) 6px; background: #F1F1F1; line-height: 1.45; }
.cf-chat__bar { display: flex; justify-content: space-between; align-items: center; height: 40px; padding: 0 6px 0 14px; border-radius: var(--r-pill); box-shadow: inset 0 0 0 1px #E6E6E6; color: #6B6B6B; font-size: 13px; }
.cf-chat__bar i { width: 28px; height: 28px; border-radius: 50%; background: #111; }
.cf-chat > * { opacity: 0; transform: translateY(8px); transition: opacity .5s var(--ease), transform .7s var(--ease); }
.cf-stage.is-in .cf-chat > * { opacity: 1; transform: none; }
.cf-stage.is-in .cf-chat > *:nth-child(2) { transition-delay: .35s; }
.cf-stage.is-in .cf-chat > *:nth-child(3) { transition-delay: .9s; }
.cf-stage.is-in .cf-chat > *:nth-child(4) { transition-delay: 1.3s; }

@media (max-width: 1180px) { .cf-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 900px) {
  .cf-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .cf-ph { font-size: 52px; }
  .cf-first { grid-template-columns: minmax(0, 1fr); gap: 28px; padding: 28px 22px; }
  .cf-first h3 { font-size: 26px; }
  .cf-chat { width: 86%; }
}
@media (prefers-reduced-motion: reduce) { .cf-chat > * { opacity: 1; transform: none; } .cf-sk { animation: none; } }
@media (max-width: 640px) { .cf-first__art { display: none; } }

/* Founders on Paiir (owner, 2026-11-18: "more simple yet conveying, so that people click the profile"): one row per
   founder, round photo, name, where and stage, what they bring and who they want, an arrow; the whole card is the link */
.cf-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.cf-card { position: relative; display: grid; grid-template-columns: 64px minmax(0, 1fr) 36px; align-items: center; column-gap: 16px; padding: 18px 16px 18px 18px; border-radius: var(--r-card, 22px); background: #FFFFFF; box-shadow: inset 0 0 0 1px #E3E6EA; color: inherit; text-decoration: none; transition: box-shadow .25s var(--ease), transform .3s var(--ease), background-color .25s var(--ease); }
.cf-card:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1.5px #1A73E8, 0 14px 30px -20px rgba(26, 115, 232, .55); }
.cf-card:focus-visible { outline: 2px solid #1A73E8; outline-offset: 2px; }
.cf-card .cf-ph { position: relative; inset: auto; width: 64px; height: 64px; border-radius: 50%; overflow: hidden; font-size: 26px; align-self: start; }
.cf-card__w { display: flex; flex-direction: column; min-width: 0; }
.cf-card__name { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cf-card__meta { margin-top: 2px; font-size: 14px; line-height: 1.45; color: var(--text-3); }
.cf-card__fit { display: flex; flex-direction: column; gap: 3px; margin-top: 10px; }
.cf-fit { display: flex; align-items: baseline; gap: 7px; font-size: 14px; line-height: 1.4; color: var(--text-3); }
.cf-fit b { font-weight: 500; color: var(--text); }
.cf-fit i { flex: none; width: 7px; height: 7px; border-radius: 50%; transform: translateY(-1px); }
.cf-fit--b i { background: #1A73E8; }
.cf-fit--w i { background: #1E8A55; }
.cf-card__lock { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-size: 13.5px; color: #0B57D0; }
.cf-card__go { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #F1F3F4; color: var(--text-2); transition: background-color .25s var(--ease), color .25s var(--ease), transform .3s var(--ease); }
.cf-card:hover .cf-card__go { background: #1A73E8; color: #FFFFFF; transform: translateX(2px); }
.cf-card--you { background: #F8FAFD; box-shadow: inset 0 0 0 1.5px #D3E3FD; }
.cf-you__plus { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: #E8F0FE; color: #1A73E8; font-size: 32px; font-weight: 300; line-height: 1; }
.cf-card--you .cf-card__go { background: #E8F0FE; color: #0B57D0; }

/* the way on: one clear bar to the directory (filters and messages) */
.cf-foot { gap: 22px; margin-top: 8px; }
.cf-bar { display: flex; align-items: center; gap: 18px; width: 100%; padding: 20px 20px 20px 22px; border-radius: var(--r-card, 22px); background: #F3F4F8; }
.cf-bar__ic { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: #FFFFFF; color: #1A73E8; }
.cf-bar__t { flex: 1; min-width: 0; margin: 0; font-size: 15px; line-height: 1.5; color: var(--text-2); }
.cf-bar__t b { display: block; font-size: 17px; font-weight: 600; color: var(--text); }
html[data-theme="light"] .cf-bar__go { flex: none; height: 46px; padding: 0 22px; background: #1A73E8; color: #FFFFFF; }
html[data-theme="light"] .cf-bar__go:hover { background: #1765CC; }

@media (max-width: 1100px) { .cf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .cf-grid { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .cf-card { grid-template-columns: 56px minmax(0, 1fr) 32px; column-gap: 14px; padding: 16px 14px 16px 16px; }
  .cf-card .cf-ph, .cf-you__plus { width: 56px; height: 56px; }
  .cf-card__go { width: 32px; height: 32px; }
  .cf-bar { flex-wrap: wrap; padding: 18px; gap: 14px; }
  .cf-bar__ic { width: 44px; height: 44px; }
  .cf-bar__t { flex-basis: calc(100% - 62px); }
  html[data-theme="light"] .cf-bar__go { width: 100%; justify-content: center; }
}
/* loading: pale rows the size of a card (the old dark squares flashed on the white page) */
.cf-sk { aspect-ratio: auto; height: 112px; border-radius: var(--r-card, 22px); background: linear-gradient(100deg, #F1F3F4 30%, #F8F9FA 50%, #F1F3F4 70%) 0 0 / 300% 100%; }
