:root {
  color-scheme: dark;
  --bg: #101418;
  --surface: #171d22;
  --surface-2: #20272e;
  --glass: rgba(24, 30, 35, 0.78);
  --glass-strong: rgba(28, 35, 41, 0.92);
  --text: #d6d3cf;
  --muted: #9b9a97;
  --muted-2: #70757a;
  --line: rgba(214, 211, 207, 0.11);
  --line-strong: rgba(214, 211, 207, 0.19);
  --accent: #1e5699;
  --accent-bright: #5688c1;
  --accent-soft: rgba(30, 86, 153, 0.18);
  --radius: 20px;
  --nav-height: 76px;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { background: #0b0f12; }
body { margin: 0; min-width: 320px; min-height: 100dvh; overflow: hidden; background: #0b0f12; color: var(--text); }
button, input, textarea { font: inherit; }
button { border: 0; color: inherit; cursor: pointer; }
button, a, input, textarea { -webkit-tap-highlight-color: transparent; }
button:active { transform: scale(.98); }
[hidden] { display: none !important; }
svg { width: 20px; height: 20px; stroke-width: 1.55; }

.launch-screen {
  position: fixed; inset: 0; z-index: 100; display: grid; width: min(100%, 430px); min-height: 100dvh; margin: 0 auto;
  overflow: hidden; background: #101418;
}
.launch-screen::before { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(16,20,24,.2) 0%, rgba(16,20,24,.16) 34%, rgba(16,20,24,.72) 68%, #101418 100%), linear-gradient(90deg, rgba(16,20,24,.42), transparent 52%, rgba(16,20,24,.22)); content: ""; pointer-events: none; }
.launch-screen.dismissed { visibility: hidden; pointer-events: none; }
.launch-visual { position: absolute; inset: 0; overflow: hidden; }
.launch-visual img { display: block; width: 100%; height: 100%; margin: 0; object-fit: cover; object-position: center; filter: contrast(1.02) saturate(.72) brightness(.72); }
.touch-signal { position: absolute; top: 56%; left: 48%; width: 8px; height: 8px; border: 1px solid rgba(70, 126, 192,.8); border-radius: 50%; background: rgba(70, 126, 192,.5); box-shadow: 0 0 16px rgba(70, 126, 192,.65); transform: translate(-50%,-50%); }
.touch-signal::before, .touch-signal::after { position: absolute; inset: -1px; border: 1px solid rgba(70, 126, 192,.46); border-radius: 50%; content: ""; }
.touch-signal i { position: absolute; top: 50%; left: -30px; width: 68px; height: 1px; background: linear-gradient(90deg, transparent, rgba(70, 126, 192,.65), transparent); transform: translateY(-50%); }
.launch-grid { position: absolute; inset: 0; z-index: 1; opacity: .11; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 42px 42px; mask-image: linear-gradient(to bottom, #000, transparent 78%); }
.launch-grid::after { position: absolute; top: 13%; left: 50%; width: 320px; height: 1px; background: linear-gradient(90deg, transparent, rgba(86,136,193,.5), transparent); box-shadow: 0 88px 0 rgba(214,211,207,.08), 0 176px 0 rgba(214,211,207,.05); content: ""; transform: translateX(-50%); }
.launch-skip { position: absolute; z-index: 3; top: calc(var(--safe-top) + 18px); right: 18px; padding: 8px 10px; color: #777876; background: transparent; font-size: 11px; font-weight: 400; }
.launch-content { position: relative; z-index: 2; display: flex; flex-direction: column; min-height: 100dvh; padding: calc(var(--safe-top) + 26px) 24px calc(var(--safe-bottom) + 28px); }
.launch-brand { display: flex; align-items: center; gap: 13px; }
.launch-mark { width: 43px; height: 43px; }
.launch-brand strong, .launch-brand small { display: block; }
.launch-brand strong { color: var(--text); font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Arial, sans-serif; font-size: 21px; font-weight: 610; letter-spacing: 0; }
.launch-brand small { margin-top: 5px; color: #777876; font-size: 7px; letter-spacing: .08em; }
.launch-message { margin-top: clamp(290px, 38vh, 350px); }
.launch-message h1 { margin: 0; font-size: clamp(25px, 7.7vw, 33px); font-weight: 480; line-height: 1.04; letter-spacing: 0; }
.launch-message h1 span { display: block; white-space: nowrap; }
.launch-message .headline-primary { color: var(--text); }
.launch-message .headline-secondary { margin-top: 5px; color: #959592; font-weight: 350; }
.match-signals { display: flex; align-items: center; margin-top: 27px; color: #777876; font-family: ui-monospace, "SFMono-Regular", Menlo, monospace; font-size: 9px; letter-spacing: .04em; }
.match-signals span { white-space: nowrap; }
.match-signals i { flex: 1; height: 1px; margin: 0 9px; background: rgba(255,255,255,.1); }
.match-signals span.active { color: var(--accent-bright); text-shadow: 0 0 14px rgba(70, 126, 192,.36); }
.launch-action { margin-top: auto; }
.activate-button { position: relative; width: 100%; min-height: 54px; overflow: hidden; border: 1px solid rgba(70, 126, 192,.42); border-radius: 15px; color: #f4f1ed; background: linear-gradient(180deg, rgba(30, 86, 153,.95), rgba(23,68,119,.96)); box-shadow: 0 15px 42px rgba(18,54,94,.22), inset 0 1px 0 rgba(255,255,255,.2); font-size: 13px; font-weight: 480; }
.activate-button > span { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 9px; }
.activate-button svg { width: 18px; height: 18px; }
.button-active { visibility: hidden; opacity: 0; }
.launch-action > p { margin: 11px 0 0; color: #666765; font-size: 10px; text-align: center; }
.launch-credential { position: absolute; right: 24px; bottom: calc(var(--safe-bottom) + 28px); left: 24px; min-height: 142px; overflow: hidden; padding: 16px; border: 1px solid rgba(214,211,207,.16); border-radius: 17px; background: radial-gradient(circle at 90% 0%, rgba(30,86,153,.38), transparent 120px), rgba(23,29,34,.94); box-shadow: inset 0 1px 0 rgba(214,211,207,.07), 0 24px 70px rgba(0,0,0,.42); visibility: hidden; opacity: 0; transform: translateY(28px); }
.launch-credential header, .launch-credential footer { display: flex; justify-content: space-between; font-family: ui-monospace, "SFMono-Regular", Menlo, monospace; font-size: 7px; letter-spacing: .08em; }
.launch-credential header { color: #777876; }
.launch-credential > div:not(.scan-line) { margin-top: 25px; }
.launch-credential strong, .launch-credential small { display: block; }
.launch-credential strong { font-size: 25px; font-weight: 500; }
.launch-credential small { margin-top: 5px; color: #858583; font-family: ui-monospace, "SFMono-Regular", Menlo, monospace; font-size: 7px; letter-spacing: .06em; }
.launch-credential footer { margin-top: 19px; padding-top: 10px; border-top: 1px solid rgba(255,255,255,.09); color: #777876; }
.launch-credential footer b { color: var(--accent-bright); font-weight: 500; }
.scan-line { position: absolute; top: 0; right: 0; left: 0; height: 1px; background: var(--accent-bright); box-shadow: 0 0 15px 2px rgba(70, 126, 192,.5); opacity: 0; }

@media (max-height: 700px) {
  .launch-visual img { margin: 0; }
  .touch-signal { top: 56%; }
  .launch-message { margin-top: 270px; }
  .launch-message h1 { font-size: 28px; }
  .match-signals { margin-top: 20px; }
}

@media (prefers-reduced-motion: no-preference) {
  .launch-visual img { animation: launch-float 8s ease-in-out infinite alternate; }
  .touch-signal { animation: touch-drift 3.8s ease-in-out infinite; }
  .touch-signal::before { animation: touch-ring 2.4s ease-out infinite; }
  .touch-signal::after { animation: touch-ring 2.4s .8s ease-out infinite; }
  @keyframes launch-float { from { transform: translate3d(0, -3px, 0); } to { transform: translate3d(0, 4px, 0); } }
  @keyframes touch-drift { 0%,100% { transform: translate(-50%,-50%) scale(.84); opacity: .58; } 48% { transform: translate(-50%,-50%) scale(1.12); opacity: 1; } }
  @keyframes touch-ring { 0% { transform: scale(.4); opacity: .7; } 100% { transform: scale(7); opacity: 0; } }
}

.app-shell {
  position: relative;
  width: min(100%, 430px);
  min-height: 100dvh;
  height: 100dvh;
  margin: 0 auto;
  overflow: hidden;
  background:
    radial-gradient(circle at 84% -4%, rgba(30, 86, 153, .24), transparent 260px),
    radial-gradient(circle at -10% 60%, rgba(214, 211, 207, .07), transparent 280px),
    var(--bg);
  box-shadow: 0 0 100px rgba(0, 0, 0, .7);
}

.app-shell::before {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image: radial-gradient(rgba(255,255,255,.12) .55px, transparent .55px);
  background-size: 39px 39px; opacity: .12; content: "";
}

.view {
  position: absolute; inset: 0; z-index: 1; display: none;
  overflow: hidden; padding: calc(var(--safe-top) + 16px) 16px calc(var(--nav-height) + var(--safe-bottom) + 14px);
}
.view.active { display: block; animation: view-in 240ms ease-out; }
@keyframes view-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

.view[data-view="explore"]::after,
.view[data-view="inbox"]::after {
  position: absolute;
  right: 0;
  bottom: calc(var(--nav-height) + var(--safe-bottom) + 2px);
  z-index: 0;
  width: min(76%, 310px);
  aspect-ratio: 1117 / 1446;
  background: url("assets/kairos-background-sculpture.png") center / contain no-repeat;
  filter: grayscale(100%) contrast(.96);
  mix-blend-mode: multiply;
  opacity: .34;
  -webkit-mask-image: radial-gradient(ellipse 76% 80% at 72% 62%, #000 16%, rgba(0, 0, 0, .82) 50%, transparent 100%);
  mask-image: radial-gradient(ellipse 76% 80% at 72% 62%, #000 16%, rgba(0, 0, 0, .82) 50%, transparent 100%);
  content: "";
  pointer-events: none;
}
.view[data-view="explore"] > *,
.view[data-view="inbox"] > * { position: relative; z-index: 1; }

.topbar, .page-header { display: flex; align-items: center; justify-content: space-between; height: 42px; }
.brand-lockup { display: flex; align-items: center; gap: 9px; }
.brand-lockup strong { color: var(--text); font-size: 15px; font-weight: 610; letter-spacing: .01em; }
.brand-lockup.small { gap: 7px; }
.brand-lockup.small strong { font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif; font-size: 11px; font-weight: 600; letter-spacing: 0; }
.brand-mark { width: 25px; height: 25px; }
.brand-lockup.small .brand-mark { width: 21px; height: 21px; border-radius: 5px; }
.kairos-mark { position: relative; display: block; flex: 0 0 auto; }
.kairos-mark::before,
.kairos-mark::after { position: absolute; top: 27%; left: 12%; width: 76%; height: 44%; border: 1.6px solid var(--accent-bright); border-radius: 50%; content: ""; }
.kairos-mark::before { transform: rotate(42deg); }
.kairos-mark::after { transform: rotate(-42deg); }
.kairos-mark > i { position: absolute; top: 50%; left: 50%; width: 5px; height: 5px; border-radius: 1px; background: var(--text); transform: translate(-50%, -50%) rotate(45deg); }
.launch-mark.kairos-mark::before,
.launch-mark.kairos-mark::after { border-width: 2px; }
.launch-mark.kairos-mark > i { width: 7px; height: 7px; }

.icon-button, .modal-nav > button, .sheet-close {
  position: relative; display: grid; place-items: center; width: 38px; height: 38px;
  border: 1px solid var(--line); border-radius: 50%; background: rgba(255,255,255,.035);
}
.filter-count { position: absolute; top: -3px; right: -2px; display: grid; place-items: center; width: 15px; height: 15px; border-radius: 50%; background: var(--accent); font-size: 9px; font-weight: 650; }

.event-context { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin: 16px 0 12px; }
.space-switcher { min-width: 0; padding: 0; text-align: left; background: transparent; }
.space-switcher > span { display: flex; align-items: center; gap: 8px; min-width: 0; min-height: 38px; padding: 0 11px 0 10px; border: 1px solid var(--line-strong); border-radius: 11px; background: rgba(255,255,255,.035); }
.space-switcher strong { overflow: hidden; color: var(--text); font-size: 13px; font-weight: 480; text-overflow: ellipsis; white-space: nowrap; }
.space-switcher .space-radar { flex: 0 0 auto; width: 16px; height: 16px; color: var(--accent-bright); stroke-width: 1.8; }
.space-switcher .space-chevron { flex: 0 0 auto; width: 13px; height: 13px; color: var(--muted); }
.event-context > strong { display: flex; align-items: baseline; gap: 5px; color: var(--text); font-family: ui-monospace, "SFMono-Regular", Menlo, monospace; font-weight: 400; white-space: nowrap; }
.event-context > strong b { font-size: 13px; font-weight: 540; }
.event-context > strong small { color: var(--muted-2); font-size: 13px; font-weight: 400; }
.page-header h1 { margin: 0; font-size: clamp(27px, 7.4vw, 32px); font-weight: 510; line-height: 1.08; letter-spacing: 0; }
.page-header .page-brand { align-self: flex-start; margin-top: 5px; }
.page-header .page-brand strong { font-size: 13px; font-weight: 520; }
.page-title-row { display: flex; align-items: center; gap: 7px; }
.title-edit { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 50%; color: var(--muted); background: rgba(255,255,255,.035); }
.title-edit:hover, .title-edit:focus-visible { border-color: rgba(30, 86, 153,.32); color: var(--accent-bright); background: var(--accent-soft); }
.title-edit svg { width: 15px; height: 15px; }

.founder-feed { display: grid; gap: 10px; height: calc(100dvh - var(--safe-top) - 112px - var(--nav-height) - var(--safe-bottom)); overflow-y: auto; padding: 0 0 30vh; scrollbar-width: none; scroll-snap-type: y proximity; }
.founder-feed::-webkit-scrollbar { display: none; }
.founder-card {
  position: relative; overflow: hidden; min-height: 226px; padding: 14px;
  border: 2px solid rgba(214,211,207,.17); border-radius: var(--radius);
  background: radial-gradient(circle at 94% 0%, rgba(30,86,153,.28), transparent 150px), linear-gradient(145deg, rgba(32,40,47,.88), rgba(16,20,24,.92));
  backdrop-filter: blur(28px) saturate(1.16);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.14), inset 0 0 0 1px rgba(255,255,255,.025), 0 18px 42px rgba(0,0,0,.22);
  scroll-snap-align: start; transition: border-color 180ms ease, transform 180ms ease;
}
.founder-card:focus-visible { outline: 2px solid var(--accent-bright); outline-offset: 2px; }
.founder-card::after { position: absolute; right: -65px; bottom: -88px; width: 178px; height: 178px; border: 1px solid rgba(255,255,255,.045); border-radius: 50%; content: ""; }
.card-signal { position: absolute; top: 0; left: 32px; width: 52px; height: 1px; background: var(--accent-bright); box-shadow: 0 0 14px 2px rgba(70, 126, 192,.36); }
.founder-row { position: relative; z-index: 1; display: grid; grid-template-columns: 52px 1fr; gap: 11px; align-items: center; }
.founder-row > img { width: 52px; height: 52px; border: 1px solid rgba(255,255,255,.28); border-radius: 50%; object-fit: cover; filter: saturate(.72) contrast(1.04); }
.founder-name { min-width: 0; }
.founder-name h2 { overflow: hidden; margin: 0; font-size: 20px; font-weight: 510; line-height: 1.1; text-overflow: ellipsis; white-space: nowrap; }
.founder-location-row { display: flex; align-items: center; gap: 7px; min-width: 0; margin-top: 6px; }
.founder-name p { display: flex; flex: 1 1 auto; align-items: center; gap: 4px; min-width: 0; overflow: hidden; margin: 0; color: var(--muted); font-size: 10px; font-weight: 350; text-overflow: ellipsis; white-space: nowrap; }
.founder-name p svg { width: 12px; height: 12px; }

.project-row { position: relative; z-index: 1; display: grid; grid-template-columns: 45px 1fr; gap: 11px; align-items: center; margin-top: 12px; padding: 10px; border: 1px solid var(--line); border-radius: 15px; background: rgba(255,255,255,.035); backdrop-filter: blur(20px); }
.project-mark { display: grid; place-items: center; width: 45px; height: 45px; border-radius: 12px; color: #f8f4ef; background: linear-gradient(145deg, #3d78bd, #1e5699); font-size: 12px; font-weight: 580; }
.mark-on { background: linear-gradient(145deg, #7d8790, #36434d); }
.mark-px { background: linear-gradient(145deg, #596b7b, #26323c); }
.project-row strong { display: block; font-size: 15px; font-weight: 500; }
.project-row p { display: -webkit-box; overflow: hidden; margin: 4px 0 0; color: var(--muted); font-size: 11px; font-weight: 330; line-height: 1.35; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.card-footer { position: relative; z-index: 1; margin-top: 12px; }
.metadata, .intent { display: flex; align-items: center; gap: 7px; overflow: hidden; }
.metadata span { padding: 5px 8px; border: 1px solid var(--line); border-radius: 999px; font-size: 9.5px; font-weight: 380; white-space: nowrap; }
.metadata span:first-child { border-color: rgba(86,136,193,.48); color: #c4d6e9; background: rgba(30,86,153,.28); }
.metadata span:last-child { border-color: rgba(214,211,207,.28); color: #d6d3cf; background: rgba(214,211,207,.1); }
.founder-location-row .metadata { flex: 0 1 auto; justify-content: flex-end; gap: 5px; }
.founder-location-row .metadata span { max-width: 82px; overflow: hidden; padding: 4px 6px; font-size: 8.5px; text-overflow: ellipsis; }
.intent { margin-top: 9px; }
.card-footer .intent { margin-top: 0; }
.intent small { flex: 0 0 auto; margin-right: 2px; color: var(--accent-bright); font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif; font-size: 10px; font-weight: 520; letter-spacing: 0; text-transform: none; }
.intent span { overflow: hidden; padding: 6px 10px; border: 1px solid rgba(30, 86, 153,.24); border-radius: 999px; color: #d0ccc8; background: var(--accent-soft); font-size: 10.5px; font-weight: 370; text-overflow: ellipsis; white-space: nowrap; }

.tab-bar { position: absolute; z-index: 10; right: 12px; bottom: calc(8px + var(--safe-bottom)); left: 12px; display: grid; grid-template-columns: repeat(3, 1fr); height: var(--nav-height); padding: 7px; border: 1px solid rgba(214,211,207,.16); border-radius: 26px; background: rgba(25,31,37,.82); backdrop-filter: blur(28px) saturate(1.18); box-shadow: inset 0 1px 0 rgba(214,211,207,.06), 0 18px 45px rgba(0,0,0,.3); }
.tab-bar button { position: relative; display: grid; justify-items: center; align-content: center; gap: 4px; border-radius: 19px; color: #777876; background: transparent; font-size: 10px; font-weight: 410; }
.tab-bar button svg { width: 21px; height: 21px; }
.tab-bar button.active { color: var(--text); background: linear-gradient(180deg, rgba(214,211,207,.1), rgba(214,211,207,.035)); box-shadow: inset 0 1px 0 rgba(214,211,207,.06); }
.tab-bar button.active svg { color: var(--accent-bright); filter: drop-shadow(0 0 8px rgba(70, 126, 192,.5)); }
.nav-badge { position: absolute; top: 7px; left: calc(50% + 9px); z-index: 2; display: grid; place-items: center; width: 14px; height: 14px; border-radius: 50%; color: #fff; background: var(--accent); font-size: 8px; }

.page-header { margin-bottom: 18px; }
.page-header span { color: var(--accent-bright); font-family: ui-monospace, "SFMono-Regular", Menlo, monospace; font-size: 9px; letter-spacing: .06em; }
.page-header h1 { margin-top: 3px; }
.segmented-control { display: grid; grid-template-columns: 1fr 1fr; padding: 3px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.035); }
.segmented-control button { height: 36px; border-radius: 10px; color: var(--muted); background: transparent; font-size: 12px; }
.segmented-control button.active { color: var(--text); background: rgba(255,255,255,.09); }
.segmented-control span { display: inline-grid; place-items: center; min-width: 16px; height: 16px; margin-left: 3px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 8px; }
.conversation-list, .request-list { height: calc(100dvh - var(--safe-top) - 180px - var(--nav-height) - var(--safe-bottom)); margin-top: 13px; overflow-y: auto; }
.conversation { display: grid; grid-template-columns: 52px 1fr auto; gap: 11px; align-items: center; width: 100%; padding: 13px 2px; border-bottom: 1px solid rgba(255,255,255,.07); text-align: left; background: transparent; }
.avatar-wrap { position: relative; width: 52px; height: 52px; }
.avatar-wrap img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; filter: saturate(.7); }
.avatar-wrap b { position: absolute; right: 1px; bottom: 2px; width: 9px; height: 9px; border: 2px solid var(--bg); border-radius: 50%; background: var(--accent-bright); }
.conversation-copy { min-width: 0; }
.conversation-copy strong, .conversation-copy small { display: block; }
.conversation-copy strong { font-size: 14px; font-weight: 500; }
.conversation-copy small { margin-top: 2px; color: var(--accent-bright); font-size: 9px; font-weight: 400; }
.conversation-copy p { overflow: hidden; margin: 5px 0 0; color: var(--muted); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.conversation time { align-self: start; margin-top: 2px; color: var(--muted-2); font-size: 9px; }
.request-card { display: grid; grid-template-columns: 48px 1fr; gap: 11px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.request-card > img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.request-card strong, .request-card small { display: block; }
.request-card strong { font-size: 14px; font-weight: 500; }
.request-card small { margin-top: 3px; color: var(--muted); font-size: 10px; }
.request-card p { margin: 9px 0 0; color: #c5c2be; font-size: 11px; line-height: 1.4; }
.request-actions { grid-column: 2; display: flex; gap: 7px; }
.request-actions button { padding: 7px 13px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.04); font-size: 10px; }
.request-actions .accept-request { border-color: rgba(30, 86, 153,.3); background: var(--accent-soft); }

.unclaimed-state { display: grid; justify-items: center; padding: 11vh 18px 0; text-align: center; }
.claim-visual { position: relative; display: grid; place-items: center; width: 152px; height: 152px; margin-bottom: 30px; }
.kairos-symbol { width: 112px; height: 112px; filter: drop-shadow(0 14px 28px rgba(30,86,153,.24)); }
.kairos-symbol::before,
.kairos-symbol::after { border-width: 2px; }
.kairos-symbol > i { width: 10px; height: 10px; }
.unclaimed-state > p:first-of-type { color: var(--accent-bright); font-family: ui-monospace, "SFMono-Regular", Menlo, monospace; font-size: 9px; letter-spacing: .09em; }
.unclaimed-state h2 { max-width: 280px; margin: 8px 0 0; font-size: 30px; font-weight: 500; line-height: 1.05; }
.claim-copy { max-width: 300px; margin: 14px 0 24px; color: var(--muted); font-size: 13px; line-height: 1.5; }
.primary-button, .secondary-button { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 18px; border-radius: 14px; font-size: 13px; font-weight: 480; white-space: nowrap; }
.primary-button { color: #fff; background: linear-gradient(180deg, #356fae, #1e5699); box-shadow: 0 10px 26px rgba(23,68,119,.2), inset 0 1px 0 rgba(255,255,255,.18); }
.secondary-button { border: 1px solid var(--line); color: #c8c5c1; background: rgba(255,255,255,.045); }

.claimed-state { padding-top: 8px; }
.identity-card { position: relative; overflow: hidden; min-height: 430px; padding: 22px; border: 1px solid rgba(214,211,207,.18); border-radius: 22px; background: radial-gradient(circle at 85% 2%, rgba(30,86,153,.38), transparent 180px), radial-gradient(circle at 0% 100%, rgba(214,211,207,.08), transparent 190px), linear-gradient(145deg, #202830, #11161a); box-shadow: inset 0 1px 0 rgba(214,211,207,.07), 0 25px 70px rgba(0,0,0,.24); }
.identity-card::before { position: absolute; top: 64px; right: -110px; width: 290px; height: 290px; border: 1px solid rgba(30, 86, 153,.12); border-radius: 50%; box-shadow: 0 0 0 46px rgba(30, 86, 153,.035), 0 0 0 94px rgba(30, 86, 153,.025); content: ""; }
.credential-corners::before, .credential-corners::after { position: absolute; width: 17px; height: 17px; border-color: var(--accent-bright); opacity: .75; content: ""; }
.credential-corners::before { top: 13px; left: 13px; border-top: 1px solid; border-left: 1px solid; }
.credential-corners::after { right: 13px; bottom: 13px; border-right: 1px solid; border-bottom: 1px solid; }
.credential-top { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: center; }
.credential-top > span { color: var(--muted); font-family: ui-monospace, "SFMono-Regular", Menlo, monospace; font-size: 9px; letter-spacing: .08em; }
.identity-main { position: relative; z-index: 1; display: grid; grid-template-columns: 82px 1fr; gap: 17px; align-items: center; margin-top: 38px; }
.identity-main img { width: 82px; height: 82px; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; object-fit: cover; filter: grayscale(.75) contrast(1.06); box-shadow: 0 0 0 5px rgba(30, 86, 153,.07); }
.identity-main small, .identity-project small, .identity-stats dt { color: var(--muted); font-family: ui-monospace, "SFMono-Regular", Menlo, monospace; font-size: 8px; letter-spacing: .08em; }
.identity-main h2 { margin: 0; font-size: 31px; font-weight: 520; line-height: 1; }
.identity-name-row { display: grid; justify-items: start; gap: 8px; min-width: 0; }
.identity-location { display: flex; align-items: center; gap: 5px; min-width: 0; color: #9d9b98; font-family: ui-monospace, "SFMono-Regular", Menlo, monospace; font-size: 10px; font-weight: 400; line-height: 1.2; white-space: nowrap; }
.identity-location svg { flex: 0 0 auto; width: 12px; height: 12px; color: var(--accent-bright); stroke-width: 1.7; }
.identity-project { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) 58px; gap: 16px; align-items: center; margin-top: 32px; padding-top: 17px; border-top: 1px solid var(--line); }
.identity-project strong { display: block; margin-top: 7px; font-size: 21px; font-weight: 500; }
.identity-project p { max-width: 260px; margin: 7px 0 0; color: #aaa9a6; font-size: 11px; line-height: 1.45; }
.identity-company-logo { display: grid; place-items: center; width: 58px; height: 58px; overflow: hidden; border: 1px solid rgba(214,211,207,.22); border-radius: 14px; color: #fff; background: linear-gradient(145deg, #3d78bd, #1e5699); font-size: 13px; font-weight: 550; box-shadow: inset 0 1px 0 rgba(255,255,255,.16), 0 10px 22px rgba(0,0,0,.2); }
.identity-company-logo img { width: 100%; height: 100%; object-fit: cover; }
.identity-stats { position: relative; z-index: 1; display: grid; grid-template-columns: 1.35fr 1fr 1fr; gap: 12px; margin: 24px 0 0; }
.identity-stats dt { margin-bottom: 7px; }
.identity-stats dd { margin: 0; color: #d3d0cc; font-family: ui-monospace, "SFMono-Regular", Menlo, monospace; font-size: 11px; }
.identity-card footer { position: relative; z-index: 1; display: flex; justify-content: space-between; margin-top: 29px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--accent-bright); font-family: ui-monospace, "SFMono-Regular", Menlo, monospace; font-size: 8px; letter-spacing: .08em; }
.barcode { color: #858684; letter-spacing: 1px; }
.profile-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: 12px; }
.profile-actions button { min-width: 0; padding: 0 12px; }
.profile-actions svg, .profile-actions .x-mark { flex: 0 0 auto; width: 18px; height: 18px; }
.profile-actions .x-mark { color: currentColor; font-size: 14px; }
.public-profile { display: flex; align-items: center; justify-content: space-between; width: 100%; margin-top: 10px; padding: 13px 15px; border: 1px solid var(--line); border-radius: 15px; text-align: left; background: rgba(255,255,255,.025); }
.public-profile small, .public-profile strong { display: block; }
.public-profile small { color: var(--muted); font-size: 9px; }
.public-profile strong { margin-top: 3px; font-size: 11px; font-weight: 430; }
.public-profile svg { color: var(--muted); }

.scrim { position: fixed; inset: 0; z-index: 20; background: rgba(0,0,0,.62); backdrop-filter: blur(4px); }
.sheet { position: fixed; z-index: 30; right: 0; bottom: 0; left: 0; width: min(100%, 430px); max-height: min(88dvh, 720px); margin: 0 auto; overflow-y: auto; padding: 10px 18px calc(18px + var(--safe-bottom)); border: 1px solid rgba(214,211,207,.14); border-bottom: 0; border-radius: 26px 26px 0 0; background: rgba(24,30,35,.95); backdrop-filter: blur(34px) saturate(1.16); box-shadow: 0 -25px 70px rgba(0,0,0,.42), inset 0 1px 0 rgba(214,211,207,.07); transform: translateY(105%); transition: transform 280ms cubic-bezier(.22,.8,.28,1); }
.sheet.open { transform: none; }
.sheet-handle { width: 38px; height: 4px; margin: 0 auto 16px; border-radius: 999px; background: rgba(255,255,255,.17); }
.sheet > header { display: flex; align-items: center; justify-content: space-between; }
.filter-header-actions { display: flex; align-items: center; gap: 8px; }
.filter-header-actions > button:first-child { padding: 8px 4px; color: var(--accent-bright); background: transparent; font-size: 10px; }
.filter-header-actions > button:first-child:disabled { color: var(--muted-2); opacity: .48; }
.sheet header small { color: var(--accent-bright); font-family: ui-monospace, "SFMono-Regular", Menlo, monospace; font-size: 8px; letter-spacing: .08em; }
.sheet h2 { margin: 4px 0 0; font-size: 23px; font-weight: 500; }
.sheet form { margin-top: 19px; }
fieldset { min-width: 0; margin: 0 0 18px; padding: 0; border: 0; }
legend { width: 100%; margin-bottom: 10px; color: #c9c7c3; font-size: 11px; font-weight: 430; }
legend small { float: right; color: var(--muted-2); font-size: 9px; }
.option-row, .chip-options { display: flex; flex-wrap: wrap; gap: 7px; }
.option-row label, .chip-options label { position: relative; }
.option-row input, .chip-options input { position: absolute; opacity: 0; pointer-events: none; }
.option-row span, .chip-options span { display: flex; align-items: center; min-height: 34px; padding: 0 11px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); background: rgba(255,255,255,.025); font-size: 10px; }
.option-row input:checked + span, .chip-options input:checked + span { border-color: rgba(30, 86, 153,.38); color: #e8e5e1; background: var(--accent-soft); }
.option-row .disabled-option span { border-color: rgba(255,255,255,.055); color: rgba(190,188,184,.35); background: rgba(255,255,255,.012); }
.option-row .disabled-option { cursor: not-allowed; }
.apply-filter { width: 100%; }
.space-sheet { padding: 8px 18px calc(14px + var(--safe-bottom)); }
.space-sheet .sheet-handle { margin-bottom: 11px; }
.space-sheet h2 { margin: 0; color: var(--accent-bright); font-family: ui-monospace, "SFMono-Regular", Menlo, monospace; font-size: 14px; font-weight: 500; letter-spacing: .07em; }
.space-sheet .sheet-close { width: 34px; height: 34px; }
.space-options { margin-top: 13px; border-top: 1px solid var(--line); }
.space-options > button { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 54px; padding: 0 4px; border-bottom: 1px solid var(--line); text-align: left; background: transparent; }
.space-options > button > span { display: grid; gap: 3px; }
.space-options strong { color: #d4d1cd; font-size: 11px; font-weight: 470; }
.space-options small { color: var(--muted-2) !important; font-family: inherit !important; font-size: 8px !important; letter-spacing: 0 !important; }
.space-options svg { width: 18px; height: 18px; color: var(--accent-bright); opacity: 0; }
.space-options button.active svg { opacity: 1; }
.space-options > button:disabled { cursor: default; opacity: .32; }
.space-options > button:disabled strong,
.space-options > button:disabled small { color: #aaa7a3 !important; }
.upcoming-spaces { display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 38px; margin-top: 11px; color: rgba(190,187,183,.42); font-size: 9px; }
.upcoming-spaces svg { width: 14px; height: 14px; stroke-width: 1.6; }
.action-sheet { padding-bottom: calc(20px + var(--safe-bottom)); }
.action-founder { justify-content: flex-start !important; }
.action-founder > img { width: 52px; height: 52px; margin-right: 11px; border-radius: 50%; object-fit: cover; }
.action-founder > div { min-width: 0; flex: 1; }
.action-founder h2 { font-size: 19px; }
.action-founder p { margin: 4px 0 0; color: var(--muted); font-size: 10px; }
.primary-action-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 20px; }
.primary-action-grid button { display: flex; align-items: center; justify-content: center; gap: 8px; height: 48px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.045); font-size: 11px; }
.primary-action-grid button:first-child { border-color: rgba(30, 86, 153,.34); background: var(--accent-soft); }
.social-actions { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 12px; padding: 13px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.social-actions button { display: grid; justify-items: center; gap: 6px; background: transparent; color: var(--muted); font-size: 8px; }
.social-actions svg, .x-mark { width: 20px; height: 20px; color: #c4c2be; }
.x-mark { display: grid; place-items: center; font-size: 15px; }
.detail-link { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 17px 2px 3px; color: #d7d4d0; background: transparent; font-size: 11px; }
.detail-link svg { width: 16px; height: 16px; color: var(--accent-bright); }

.full-modal { position: fixed; z-index: 40; inset: 0; display: flex; flex-direction: column; width: min(100%, 430px); min-height: 100dvh; margin: 0 auto; visibility: hidden; background: radial-gradient(circle at 90% 0, rgba(30,86,153,.24), transparent 270px), var(--bg); transform: translateX(105%); transition: transform 300ms cubic-bezier(.22,.8,.28,1), visibility 0s linear 300ms; }
.full-modal.open { visibility: visible; transform: none; transition-delay: 0s; }
#founderDetail::before {
  position: absolute;
  bottom: calc(72px + var(--safe-bottom));
  left: 0;
  z-index: 0;
  width: min(76%, 310px);
  aspect-ratio: 1117 / 1446;
  background: url("assets/kairos-founder-profile-sculpture.png") center / contain no-repeat;
  filter: grayscale(100%) contrast(.96);
  mix-blend-mode: multiply;
  opacity: .34;
  -webkit-mask-image: radial-gradient(ellipse 76% 80% at 28% 62%, #000 16%, rgba(0, 0, 0, .82) 50%, transparent 100%);
  mask-image: radial-gradient(ellipse 76% 80% at 28% 62%, #000 16%, rgba(0, 0, 0, .82) 50%, transparent 100%);
  content: "";
  pointer-events: none;
}
#founderDetail .modal-nav,
#founderDetail .detail-content { position: relative; z-index: 1; }
#founderDetail .modal-cta { z-index: 2; }
.modal-nav { display: grid; grid-template-columns: 40px 1fr 40px; align-items: center; padding: calc(var(--safe-top) + 12px) 15px 10px; text-align: center; }
.modal-nav > button { background: rgba(255,255,255,.035); }
.modal-nav > span { font-size: 11px; color: var(--muted); }
.detail-content { flex: 1; overflow-y: auto; padding: 12px 18px 110px; }
.detail-hero { display: grid; grid-template-columns: 88px 1fr; gap: 18px; align-items: center; padding: 18px 0 25px; }
.detail-hero > img { width: 88px; height: 88px; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; object-fit: cover; filter: saturate(.72); box-shadow: 0 0 0 6px rgba(30, 86, 153,.07); }
.detail-hero p { margin: 0 0 8px; color: var(--accent-bright); font-family: ui-monospace, "SFMono-Regular", Menlo, monospace; font-size: 8px; letter-spacing: .06em; }
.detail-hero h1 { margin: 0; font-size: 29px; font-weight: 520; }
.detail-hero > div > span { display: flex; align-items: center; gap: 4px; margin-top: 7px; color: var(--muted); font-size: 11px; }
.detail-hero svg { width: 13px; height: 13px; }
.detail-space { display: flex; align-items: center; gap: 6px; margin: 0 0 16px; padding: 10px 12px; border: 1px solid rgba(30, 86, 153,.18); border-radius: 13px; color: var(--muted); background: var(--accent-soft); font-size: 10px; }
.detail-space svg { width: 14px; height: 14px; color: var(--accent-bright); }
.detail-space strong { color: #dedad6; font-weight: 480; }
.detail-introduction {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 9px;
  align-items: start;
  margin: 0 0 16px;
  padding: 12px 14px;
  border: 1px solid rgba(30, 86, 153, .18);
  border-radius: 13px;
  color: #1e5699;
  background: rgba(30, 86, 153, .055);
}
.detail-introduction svg { width: 17px; height: 17px; margin-top: 1px; color: #1e5699; stroke-width: 1.5; }
.detail-introduction p { margin: 0; color: rgba(30, 86, 153, .9); font-size: 14px; font-weight: 500; line-height: 1.4; }
.detail-project { display: grid; grid-template-columns: 58px 1fr; gap: 14px; align-items: center; padding: 17px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.035); }
.detail-project .project-mark { width: 58px; height: 58px; border-radius: 15px; }
.detail-project-logo-link { display: block; width: 58px; height: 58px; border-radius: 15px; text-decoration: none; }
.project-title-row { display: inline-flex; align-items: center; gap: 6px; color: inherit; text-decoration: none; }
.detail-project h2 { margin: 0; font-size: 20px; font-weight: 500; }
.detail-project-logo-link:hover,
.detail-project-logo-link:focus-visible,
.project-title-row:hover,
.project-title-row:focus-visible { opacity: .72; }
.detail-project-logo-link:active,
.project-title-row:active { transform: scale(.98); }
.project-title-row svg { width: 16px; height: 16px; color: #1e5699; stroke-width: 1.55; }
.detail-project p { margin: 7px 0 0; color: var(--muted); font-size: 11px; line-height: 1.45; }
.signal-section, .help-section { padding: 21px 2px; border-bottom: 1px solid var(--line); }
.signal-section h3, .help-section h3 { margin: 0 0 12px; font-size: 13px; font-weight: 480; }
.signal-section div { display: flex; flex-wrap: wrap; gap: 7px; }
.signal-section span { padding: 7px 10px; border: 1px solid rgba(30, 86, 153,.26); border-radius: 999px; color: #ccc8c4; background: var(--accent-soft); font-size: 10px; }
.help-section p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.profile-links { display: grid; grid-template-columns: repeat(4, 1fr); padding: 18px 0; border-bottom: 1px solid var(--line); }
.profile-links button { display: grid; justify-items: center; gap: 7px; min-width: 0; color: var(--muted); background: transparent; font-size: 8px; }
.profile-links button svg, .profile-links .x-mark { width: 21px; height: 21px; color: #c6c3bf; }
.profile-links .x-mark { display: grid; place-items: center; font-size: 15px; }
.match-reason { display: grid; grid-template-columns: 35px 1fr; gap: 11px; margin-top: 20px; padding: 14px; border: 1px solid rgba(30, 86, 153,.2); border-radius: 16px; background: rgba(30, 86, 153,.07); }
.match-reason > svg { display: grid; place-self: center; color: var(--accent-bright); }
.match-reason small { color: var(--accent-bright); font-family: ui-monospace, "SFMono-Regular", Menlo, monospace; font-size: 8px; }
.match-reason p { margin: 6px 0 0; color: #c2bfbb; font-size: 11px; line-height: 1.4; }
.modal-cta { position: absolute; right: 0; bottom: 0; left: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 9px; padding: 12px 18px calc(12px + var(--safe-bottom)); border-top: 1px solid var(--line); background: rgba(16,20,24,.9); backdrop-filter: blur(24px); }
.modal-cta .primary-button,
.modal-cta .secondary-button { min-width: 0; min-height: 50px; font-size: 13px; }
#detailCoffee {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
#detailCoffee svg { width: 20px; height: 20px; color: #fcf9f4; stroke-width: 1.6; }
.modal-cta .secondary-button { border-color: rgba(255,255,255,.15); color: #f0ede9; background: linear-gradient(180deg, rgba(255,255,255,.09), rgba(255,255,255,.045)); box-shadow: inset 0 1px 0 rgba(255,255,255,.07); }

.chat-nav > div { display: flex; align-items: center; justify-self: center; gap: 8px; text-align: left; }
.chat-nav img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }
.chat-nav strong, .chat-nav small { display: block; }
.chat-nav strong { font-size: 11px; font-weight: 500; }
.chat-nav small { margin-top: 2px; color: var(--muted); font-size: 8px; }
.messages { flex: 1; overflow-y: auto; padding: 18px 18px 90px; }
.date-divider { margin: 4px 0 20px; text-align: center; color: var(--muted-2); font-size: 9px; }
.message { width: fit-content; max-width: 78%; margin: 8px 0; padding: 10px 13px; border-radius: 16px; font-size: 12px; line-height: 1.4; }
.message.theirs { border: 1px solid var(--line); border-bottom-left-radius: 5px; color: #c8c5c1; background: rgba(255,255,255,.055); }
.message.mine { margin-left: auto; border-bottom-right-radius: 5px; color: #fff; background: var(--accent); }
.composer { position: absolute; right: 0; bottom: 0; left: 0; display: grid; grid-template-columns: 36px 1fr 36px; gap: 7px; padding: 10px 13px calc(10px + var(--safe-bottom)); border-top: 1px solid var(--line); background: rgba(16,20,24,.92); backdrop-filter: blur(22px); }
.composer button { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.06); }
.composer button:last-child { background: var(--accent); }
.composer input { min-width: 0; height: 36px; padding: 0 13px; border: 1px solid var(--line); border-radius: 999px; outline: 0; color: var(--text); background: rgba(255,255,255,.04); font-size: 11px; }

.setup-modal {
  z-index: 55;
  overflow: hidden;
  isolation: isolate;
  overscroll-behavior: none;
  background: #fcf9f4;
}
.setup-nav { display: grid; grid-template-columns: 40px 1fr 40px; align-items: center; padding: calc(var(--safe-top) + 12px) 16px 10px; }
.setup-nav > button { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%; background: rgba(255,255,255,.035); }
.setup-nav > div { text-align: center; }
.setup-nav small, .setup-nav strong { display: block; }
.setup-nav small { color: var(--accent-bright); font-family: ui-monospace, "SFMono-Regular", Menlo, monospace; font-size: 8px; letter-spacing: .08em; }
.setup-nav strong { margin-top: 4px; font-size: 11px; font-weight: 450; }
.setup-progress { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; padding: 0 18px 13px; }
.setup-progress span { height: 2px; border-radius: 999px; background: rgba(255,255,255,.09); transition: background 200ms ease, box-shadow 200ms ease; }
.setup-progress span.active { background: var(--accent-bright); box-shadow: 0 0 9px rgba(70, 126, 192,.38); }
.setup-form { position: relative; flex: 1; min-height: 0; overflow: hidden; }
.setup-sculpture-texture {
  position: absolute;
  bottom: calc(74px + var(--safe-bottom));
  left: -72px;
  z-index: 0;
  width: min(84%, 350px);
  height: 66%;
  overflow: hidden;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(ellipse 82% 70% at 26% 82%, #000 0%, #000 38%, rgba(0, 0, 0, .72) 55%, transparent 100%);
  mask-image: radial-gradient(ellipse 82% 70% at 26% 82%, #000 0%, #000 38%, rgba(0, 0, 0, .72) 55%, transparent 100%);
}
.setup-sculpture-texture img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left bottom;
  filter: grayscale(100%) contrast(.94);
  mix-blend-mode: multiply;
  opacity: .34;
}
.setup-modal > :not(.setup-sculpture-texture) {
  position: relative;
  z-index: 1;
}
.setup-step { height: 100%; overflow-y: auto; padding: 16px 18px 108px; scrollbar-width: none; }
.setup-step::-webkit-scrollbar { display: none; }
.setup-step.active { animation: setup-step-in 220ms ease-out; }
@keyframes setup-step-in { from { opacity: 0; transform: translateX(10px); } to { opacity: 1; transform: none; } }
.step-heading { margin-bottom: 23px; }
.step-heading h2 { max-width: 330px; margin: 0; font-size: 27px; font-weight: 500; line-height: 1.07; }
.step-heading p { max-width: 330px; margin: 10px 0 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.upload-control { display: grid; grid-template-columns: 66px 1fr 34px; gap: 13px; align-items: center; margin-bottom: 22px; padding: 12px; border: 1px solid var(--line); border-radius: 17px; background: rgba(255,255,255,.035); cursor: pointer; }
.upload-control > input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.upload-preview, .logo-preview { display: grid; place-items: center; width: 66px; height: 66px; overflow: hidden; border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.045); }
.upload-preview { border-radius: 50%; }
.logo-preview { border-radius: 16px; color: #fff; background: linear-gradient(145deg, #3d78bd, #1e5699); font-size: 16px; font-weight: 550; }
.upload-preview img, .logo-preview img { width: 100%; height: 100%; object-fit: cover; }
.upload-control strong, .upload-control small { display: block; }
.upload-control strong { font-size: 13px; font-weight: 470; }
.upload-control small { margin-top: 5px; color: var(--muted); font-size: 9px; }
.upload-control > svg { width: 18px; color: var(--muted); }
.avatar-upload { position: relative; display: block; width: 112px; height: 112px; margin: 0 auto 25px; padding: 0; border: 0; border-radius: 50%; background: transparent; }
.avatar-upload .upload-preview { width: 104px; height: 104px; border: 3px solid rgba(255,255,255,.86); box-shadow: 0 10px 26px rgba(0,0,0,.34), 0 0 0 1px rgba(255,255,255,.1); }
.avatar-upload-icon { position: absolute; right: 0; bottom: 2px; display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid rgba(255,255,255,.72); border-radius: 50%; color: #151616; background: #f5f3ef; box-shadow: 0 5px 15px rgba(0,0,0,.32); }
.avatar-upload-icon svg { width: 17px; height: 17px; stroke-width: 1.8; }
.company-identity-row { display: grid; grid-template-columns: 80px minmax(0, 1fr); gap: 15px; align-items: center; margin-bottom: 22px; }
.company-logo-upload { position: relative; display: block; width: 80px; height: 80px; cursor: pointer; }
.company-logo-upload > input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.company-logo-upload .logo-preview { width: 72px; height: 72px; border: 2px solid rgba(255,255,255,.82); border-radius: 16px; box-shadow: 0 8px 22px rgba(0,0,0,.32), 0 0 0 1px rgba(255,255,255,.1); }
.logo-upload-icon { position: absolute; right: 0; bottom: 0; display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid rgba(255,255,255,.72); border-radius: 50%; color: #151616; background: #f5f3ef; box-shadow: 0 4px 12px rgba(0,0,0,.3); }
.logo-upload-icon svg { width: 13px; height: 13px; stroke-width: 1.8; }
.company-name-field { min-width: 0; }
.company-name-field > span { display: block; margin-bottom: 7px; color: #c9c7c3; font-size: 10px; }
.company-name-field input { width: 100%; height: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: 12px; outline: 0; color: var(--text); background: rgba(255,255,255,.035); font-size: 12px; }
.company-name-field input:focus { border-color: rgba(70, 126, 192,.55); box-shadow: 0 0 0 3px rgba(30, 86, 153,.1); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 10px; }
.form-grid label, .setup-field { min-width: 0; }
.form-grid label > span, .setup-field > span { display: block; margin-bottom: 7px; color: #c9c7c3; font-size: 10px; }
.form-grid .wide { grid-column: 1 / -1; }
.form-grid + .choice-group { margin-top: 24px; }
.form-grid input, .form-grid textarea, .form-grid select, .setup-field textarea, .social-form input { width: 100%; border: 1px solid var(--line); border-radius: 12px; outline: 0; color: var(--text); background: rgba(255,255,255,.035); font-size: 12px; }
.form-grid input, .social-form input { height: 44px; padding: 0 12px; }
.form-grid textarea, .setup-field textarea { min-height: 82px; padding: 11px 12px; resize: none; line-height: 1.4; }
.form-grid label > small { display: block; margin-top: 6px; color: var(--muted-2); font-size: 8px; }
.form-grid input:focus, .form-grid textarea:focus, .form-grid select:focus, .setup-field textarea:focus, .social-form input:focus { border-color: rgba(70, 126, 192,.55); box-shadow: 0 0 0 3px rgba(30, 86, 153,.1); }
.verification-field > label { display: block; margin-bottom: 7px; color: #c9c7c3; font-size: 10px; }
.email-action { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.email-action button { min-width: 84px; padding: 0 12px; border: 1px solid rgba(30, 86, 153,.34); border-radius: 12px; color: #ece8e4; background: var(--accent-soft); font-size: 10px; white-space: nowrap; }
.email-action button:active { transform: scale(.98); }
.code-action { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 9px; align-items: center; margin-top: 8px; }
.code-action span { color: var(--muted-2); font-size: 8px; white-space: nowrap; }
.code-action.verified span { color: var(--accent-bright); }
.admin-bypass { display: block; margin: 8px 2px 0 auto; padding: 2px 0; color: var(--muted-2); background: transparent; font-family: ui-monospace, "SFMono-Regular", Menlo, monospace; font-size: 8px; letter-spacing: .04em; }
.admin-bypass:hover, .admin-bypass:focus-visible { color: var(--accent-bright); }
.select-wrap { display: grid; grid-template-columns: 30px 1fr 28px; align-items: center; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.035); }
.select-wrap > svg { width: 15px; height: 15px; justify-self: center; color: var(--muted); pointer-events: none; }
.select-wrap select { height: 46px; border: 0; padding: 0; appearance: none; background: transparent; }
.select-field > small, .intro-field > small { line-height: 1.45; text-align: left !important; }
.intro-field textarea { min-height: 88px; }
.input-prefix { display: grid; grid-template-columns: 28px 1fr; align-items: center; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.035); }
.input-prefix b { color: var(--muted); font-size: 12px; font-weight: 400; text-align: right; }
.input-prefix input { border: 0; background: transparent; }
.choice-group { margin-bottom: 24px; }
.choice-group legend { margin-bottom: 11px; }
.choice-group .chip-options span { min-height: 38px; padding: 0 13px; font-size: 11px; }
.setup-field { display: block; margin-top: 2px; }
.setup-select-field { display: block; margin: 22px 0 0; }
.setup-select-field > span { display: block; margin-bottom: 8px; color: #1e5699; font-size: 12px; }
.setup-select-field .select-wrap { border-radius: 15px; }
.setup-select-field .select-wrap select {
  width: 100%;
  padding: 0 12px 0 7px;
  color: #1e5699;
  background: #fcf9f4;
  font-size: 13px;
  outline: 0;
}
.setup-select-field .select-wrap select option {
  padding: 9px 14px;
  color: #1e5699;
  background: #fcf9f4;
}
.setup-select-field .select-wrap select option:checked {
  color: #1e5699;
  background: rgba(30, 86, 153, .1);
}
.social-form { display: grid; gap: 10px; }
.social-form > label { display: grid; grid-template-columns: 32px 1fr; gap: 10px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: 15px; background: rgba(255,255,255,.025); }
.social-form > label > svg, .social-x { display: grid; place-items: center; width: 21px; height: 21px; color: #c9c6c2; }
.social-x { font-size: 15px; }
.social-form label > span:last-child { min-width: 0; }
.social-form small { display: block; margin: 0 0 6px 2px; color: var(--muted); font-size: 8px; }
.social-form input { height: 36px; border: 0; padding: 0 2px; background: transparent; }
.activation-summary { display: grid; grid-template-columns: 54px 1fr; gap: 14px; align-items: center; margin-top: 25px; padding-top: 22px; border-top: 1px solid var(--line); }
.summary-mark { display: grid; place-items: center; width: 54px; height: 54px; border: 1px solid rgba(30, 86, 153,.28); border-radius: 50%; color: var(--accent-bright); background: var(--accent-soft); }
.activation-summary small { color: var(--accent-bright); font-family: ui-monospace, "SFMono-Regular", Menlo, monospace; font-size: 7px; letter-spacing: .07em; }
.activation-summary h3 { margin: 5px 0 0; font-size: 16px; font-weight: 480; }
.activation-summary p { margin: 5px 0 0; color: var(--muted); font-size: 9px; line-height: 1.4; }
.setup-actions { position: absolute; z-index: 3; right: 0; bottom: 0; left: 0; padding: 12px 18px calc(12px + var(--safe-bottom)); border-top: 1px solid var(--line); background: rgba(16,20,24,.92); backdrop-filter: blur(22px); }
.setup-actions button { width: 100%; }
.activation-gate { z-index: 50; overflow: hidden; padding: 10px 22px calc(22px + var(--safe-bottom)); text-align: center; }
.activation-gate .gate-close { position: absolute; top: 17px; right: 18px; }
.gate-identity { position: relative; display: grid; place-items: center; width: 74px; height: 74px; margin: 14px auto 20px; border: 1px solid rgba(30, 86, 153,.26); border-radius: 50%; background: radial-gradient(circle, rgba(30, 86, 153,.18), rgba(30, 86, 153,.025) 68%); }
.gate-identity::before { position: absolute; inset: -10px; border: 1px solid rgba(255,255,255,.07); border-radius: 50%; content: ""; }
.gate-identity svg { width: 29px; height: 29px; color: var(--accent-bright); }
.gate-identity span { position: absolute; right: 4px; bottom: 8px; width: 7px; height: 7px; border: 1px solid #101418; border-radius: 50%; background: var(--accent-bright); box-shadow: 0 0 10px rgba(70, 126, 192,.7); }
.activation-gate > small { color: var(--accent-bright); font-family: ui-monospace, "SFMono-Regular", Menlo, monospace; font-size: 8px; letter-spacing: .1em; }
.activation-gate > h2 { margin: 8px 0 0; font-size: 25px; font-weight: 500; }
.activation-gate > p { max-width: 320px; margin: 12px auto 20px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.activation-gate .primary-button { width: 100%; }
.gate-later { margin-top: 10px; padding: 8px 12px; color: var(--muted); background: transparent; font-size: 10px; }

.empty-results { padding-top: 14vh; text-align: center; }
.empty-signal { position: relative; display: block; width: 74px; height: 74px; margin: 0 auto 24px; }
.empty-signal::before,
.empty-signal::after { position: absolute; top: 29%; left: 10%; width: 80%; height: 42%; border: 1.5px solid var(--accent-bright); border-radius: 50%; content: ""; }
.empty-signal::before { transform: rotate(42deg); }
.empty-signal::after { transform: rotate(-42deg); }
.empty-results h2 { margin: 0; font-size: 21px; font-weight: 500; }
.empty-results p { margin: 9px 0 18px; color: var(--muted); font-size: 11px; }
.empty-results .secondary-button { margin: 0 auto; }
.toast { position: fixed; z-index: 60; bottom: calc(100px + var(--safe-bottom)); left: 50%; max-width: calc(100% - 38px); padding: 10px 14px; border: 1px solid var(--line-strong); border-radius: 999px; color: #e5e2de; background: rgba(31,33,33,.94); backdrop-filter: blur(20px); box-shadow: 0 16px 40px rgba(0,0,0,.35); font-size: 10px; opacity: 0; pointer-events: none; transform: translate(-50%, 8px); transition: opacity 180ms ease, transform 180ms ease; white-space: nowrap; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-height: 740px) {
  .view { padding-top: calc(var(--safe-top) + 10px); }
  .event-context { margin: 10px 0 9px; }
  .founder-feed { height: calc(100dvh - var(--safe-top) - 96px - var(--nav-height) - var(--safe-bottom)); }
  .founder-card { min-height: 205px; padding: 12px 14px; }
  .founder-row > img { width: 48px; height: 48px; }
  .founder-row { grid-template-columns: 48px 1fr; }
  .project-row { margin-top: 9px; padding: 8px 10px; }
  .project-mark { width: 42px; height: 42px; }
  .project-row { grid-template-columns: 42px 1fr; }
  .card-footer { margin-top: 9px; }
  .intent { margin-top: 7px; }
  .identity-card { min-height: 400px; padding: 19px; }
  .identity-main { margin-top: 25px; }
  .identity-project { margin-top: 24px; }
  .identity-stats { margin-top: 21px; }
  .identity-card footer { margin-top: 22px; }
}

@media (min-width: 700px) {
  body { display: grid; place-items: center; padding: 24px; background: radial-gradient(circle at 50% 15%, #242626, #050606 48%); }
  .app-shell { min-height: min(900px, calc(100dvh - 48px)); height: min(900px, calc(100dvh - 48px)); border: 1px solid rgba(255,255,255,.12); border-radius: 34px; }
  .full-modal { top: 50%; bottom: auto; min-height: min(900px, calc(100dvh - 48px)); height: min(900px, calc(100dvh - 48px)); border: 1px solid var(--line); border-radius: 34px; overflow: hidden; transform: translate(105%, -50%); }
  .full-modal.open { transform: translate(0, -50%); }
  .sheet { bottom: 24px; border-bottom: 1px solid rgba(255,255,255,.14); border-radius: 26px; }
  .launch-screen { top: 50%; bottom: auto; min-height: min(900px, calc(100dvh - 48px)); height: min(900px, calc(100dvh - 48px)); border: 1px solid rgba(255,255,255,.12); border-radius: 34px; transform: translateY(-50%); }
  .launch-content { min-height: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

@supports not (backdrop-filter: blur(1px)) {
  .tab-bar, .sheet, .scrim, .modal-cta, .composer { background: #171919; }
}

/* Kairos: a restrained, warm-gray conference directory. */
:root {
  color-scheme: light;
  --bg: #d6d3cf;
  --surface: #e4e1dd;
  --surface-2: #c9c7c3;
  --glass: rgba(242, 240, 237, .78);
  --glass-strong: rgba(238, 236, 232, .94);
  --text: #1b2229;
  --muted: #60666c;
  --muted-2: #85898c;
  --line: rgba(27, 34, 41, .11);
  --line-strong: rgba(27, 34, 41, .18);
  --accent-bright: #1e5699;
  --accent-soft: rgba(30, 86, 153, .1);
}

html,
body { background: #c9c7c3; color: var(--text); }

.app-shell {
  background: #d6d3cf;
  box-shadow: 0 18px 60px rgba(35, 41, 46, .12);
}
.app-shell::before { display: none; }

.launch-screen { background: #d6d3cf; }
.launch-screen::before {
  background: linear-gradient(180deg, rgba(214, 211, 207, .08) 0%, rgba(214, 211, 207, .08) 36%, rgba(214, 211, 207, .72) 65%, #d6d3cf 88%);
}
.launch-visual img { filter: grayscale(.12) saturate(.74) contrast(.94) brightness(.95); }
.launch-grid { display: none; }
.launch-skip,
.launch-brand small,
.match-signals,
.launch-action > p { color: #5f666c; }
.launch-message .headline-secondary { color: #4f5860; }
.match-signals i { background: rgba(27, 34, 41, .15); }
.launch-credential {
  border-color: rgba(27, 34, 41, .14);
  background: rgba(239, 237, 233, .95);
  box-shadow: 0 18px 45px rgba(35, 41, 46, .14);
}
.launch-credential header,
.launch-credential footer { color: #656b70; }
.launch-credential h2 { color: var(--text); }
.launch-credential footer { border-top-color: var(--line); }
.scan-line { box-shadow: none; }

.page-header p,
.event-count,
.founder-row p,
.project-row p,
.conversation p,
.identity-project p,
.identity-stats small,
.public-link small { color: var(--muted); }

.space-selector,
.icon-button,
.title-edit {
  border-color: var(--line);
  color: var(--text);
  background: rgba(242, 240, 237, .6);
}
.space-switcher > span,
.segmented-control {
  border-color: var(--line);
  background: rgba(242, 240, 237, .48);
}
.space-switcher > span {
  border-color: rgba(30, 86, 153, .25);
  background: rgba(30, 86, 153, .075);
}
.segmented-control button.active { color: #174979; background: rgba(30, 86, 153, .09); }

.founder-card {
  border: 1.5px solid rgba(27, 34, 41, .16);
  background: rgba(239, 237, 233, .72);
  box-shadow: 0 9px 24px rgba(35, 41, 46, .07), inset 0 1px 0 rgba(255, 255, 255, .55);
  backdrop-filter: blur(18px) saturate(.82);
}
.founder-card::after,
.card-signal { display: none; }
.founder-card .card-signal {
  position: absolute;
  top: 19px;
  bottom: 19px;
  left: 0;
  display: block;
  width: 3px;
  height: auto;
  border-radius: 0 3px 3px 0;
  background: var(--accent);
  box-shadow: none;
}
.founder-row > img { border-color: rgba(27, 34, 41, .18); box-shadow: none; }
.founder-row h2,
.project-row h3 { color: var(--text); }
.project-row {
  border-color: rgba(30, 86, 153, .14);
  background: rgba(30, 86, 153, .055);
}
.metadata span:first-child {
  border-color: rgba(30, 86, 153, .34);
  color: #174979;
  background: rgba(30, 86, 153, .12);
}
.metadata span:last-child {
  border-color: rgba(71, 67, 61, .2);
  color: #514e49;
  background: rgba(97, 91, 83, .08);
}
.intent { color: #174979; }
.intent span {
  border-color: rgba(30, 86, 153, .22);
  color: #2e4f70;
  background: rgba(30, 86, 153, .07);
}
.intent > span:first-of-type {
  border-color: var(--accent);
  color: #f7f8fa;
  background: var(--accent);
}

/* Card metadata reads as editorial information, not a collection of pills. */
.founder-location-row .metadata { gap: 9px; }
.founder-location-row .metadata span {
  display: inline-flex;
  align-items: center;
  max-width: 92px;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  font-size: 8.5px;
  font-weight: 500;
  line-height: 1.2;
  text-overflow: ellipsis;
  text-transform: uppercase;
}
.founder-location-row .metadata span:first-child {
  color: #174979;
  background: transparent;
}
.founder-location-row .metadata span:first-child::before {
  width: 5px;
  height: 5px;
  margin-right: 5px;
  background: var(--accent);
  content: "";
}
.founder-location-row .metadata span:last-child {
  padding-left: 9px;
  border-left: 1px solid rgba(27, 34, 41, .3);
  color: #565b5f;
  background: transparent;
}
.card-footer .intent {
  gap: 0;
  overflow: visible;
}
.card-footer .intent small {
  width: 62px;
  margin: 0 10px 0 0;
  color: var(--accent);
  font-size: 11px;
  font-weight: 620;
  line-height: 1.3;
  text-transform: uppercase;
}
.card-footer .intent span,
.card-footer .intent > span:first-of-type {
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: #4d5964;
  background: transparent;
  font-size: 12.5px;
  font-weight: 440;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.card-footer .intent > span:first-of-type { color: #174979; }
.card-footer .intent span + span::before {
  display: inline-block;
  margin: 0 9px;
  color: var(--accent);
  font-size: 17px;
  font-weight: 700;
  line-height: .7;
  vertical-align: 1px;
  content: "\00b7";
}

.tab-bar {
  border-color: rgba(27, 34, 41, .13);
  background: rgba(235, 233, 229, .86);
  box-shadow: 0 12px 30px rgba(35, 41, 46, .11), inset 0 1px 0 rgba(255, 255, 255, .64);
}
.tab-bar button { color: #74797d; }
.tab-bar button.active {
  color: #174979;
  background: rgba(30, 86, 153, .14);
  box-shadow: none;
}
.tab-bar button.active svg { color: var(--accent); filter: none; }

.inbox-view,
.profile-view { color: var(--text); }
.conversation {
  border-color: var(--line);
  background: rgba(241, 239, 235, .55);
}
.conversation strong { color: var(--text); }
.request-card p { color: var(--muted); }
.request-actions button { background: rgba(255, 255, 255, .28); }

.unclaimed-card,
.identity-card,
.detail-project,
.social-form > label,
.upload-control {
  border-color: var(--line);
  background: rgba(239, 237, 233, .72);
  box-shadow: 0 12px 34px rgba(35, 41, 46, .08);
}
.identity-card::before,
.credential-corners { display: none; }
.identity-card { min-height: 430px; }
.identity-main img { border-color: rgba(27, 34, 41, .2); filter: grayscale(.2); box-shadow: none; }
.identity-card small,
.identity-card p,
.identity-card footer { color: var(--muted); }
.identity-card footer { border-top-color: var(--line); }
.identity-card footer span:last-child { color: var(--accent); }
.secondary-button,
.share-action,
.public-link {
  border-color: var(--line);
  color: var(--text);
  background: rgba(241, 239, 235, .72);
}

.sheet,
.full-modal {
  border-color: var(--line);
  color: var(--text);
  background: rgba(226, 223, 219, .97);
  box-shadow: 0 -18px 50px rgba(35, 41, 46, .16);
}
.scrim { background: rgba(50, 56, 61, .22); }
.sheet-handle { background: rgba(27, 34, 41, .2); }
.sheet-close,
.modal-nav button,
.setup-nav > button {
  border-color: var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, .28);
}
.space-option,
.chip-options span,
.filter-group button,
.option-row span {
  border-color: var(--line);
  color: var(--muted);
  background: rgba(255, 255, 255, .22);
}
.chip-options input:checked + span,
.filter-group button.active,
.option-row input:checked + span {
  border-color: rgba(30, 86, 153, .4);
  color: #174979;
  background: rgba(30, 86, 153, .1);
}
legend { color: #40484f; }
.option-row .disabled-option span { border-color: rgba(27, 34, 41, .07); color: rgba(27, 34, 41, .28); background: rgba(255, 255, 255, .12); }
.space-options strong { color: var(--text); }
.space-options > button:disabled strong,
.space-options > button:disabled small { color: #85898c !important; }
.upcoming-spaces { color: rgba(27, 34, 41, .36); }
.social-actions svg,
.social-actions .x-mark,
.detail-link { color: #4f5961; }
.detail-hero h1,
.detail-project h2,
.step-heading h2,
.activation-gate > h2 { color: var(--text); }
.detail-project p,
.help-section p,
.match-reason p { color: var(--muted); }
.detail-space,
.match-reason { background: rgba(30, 86, 153, .07); }
.detail-space strong { color: var(--text); }
.profile-links button svg,
.profile-links .x-mark { color: #4f5961; }
.modal-cta,
.composer,
.setup-actions {
  border-top-color: var(--line);
  background: rgba(226, 223, 219, .92);
}
.modal-cta .secondary-button { border-color: var(--line); color: var(--text); background: rgba(255, 255, 255, .34); box-shadow: none; }
.message.theirs { color: var(--text); background: rgba(255, 255, 255, .4); }
.composer button { background: rgba(27, 34, 41, .08); }
.composer input,
.company-name-field input,
.form-grid input,
.form-grid textarea,
.form-grid select,
.setup-field textarea,
.social-form input,
.select-wrap,
.input-prefix {
  border-color: var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, .34);
}
.company-name-field > span,
.form-grid label > span,
.setup-field > span,
.verification-field > label { color: #40484f; }
.avatar-upload .upload-preview,
.company-logo-upload .logo-preview { border-color: rgba(255, 255, 255, .7); box-shadow: 0 8px 22px rgba(35, 41, 46, .14); }
.setup-progress span { background: rgba(27, 34, 41, .12); }
.setup-progress span.active { box-shadow: none; }
.gate-identity { background: rgba(30, 86, 153, .08); }
.gate-identity::before { display: none; }
.gate-identity span { border-color: #d6d3cf; box-shadow: none; }
.toast { color: #f4f2ef; background: rgba(32, 40, 47, .92); box-shadow: 0 12px 30px rgba(35, 41, 46, .2); }

@media (min-width: 700px) {
  body { background: #c9c7c3; }
  .app-shell,
  .full-modal,
  .launch-screen { border-color: rgba(27, 34, 41, .13); }
  .sheet { border-color: var(--line); }
}

@supports not (backdrop-filter: blur(1px)) {
  .tab-bar,
  .sheet,
  .scrim,
  .modal-cta,
  .composer { background: #e2dfdb; }
}

/* iOS typography scale: SF Pro, readable at a glance, 12px minimum. */
body,
button,
input,
textarea,
select {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0;
}
body { font-size: 15px; }
small { font-size: 12px !important; letter-spacing: 0 !important; }

.match-signals,
.launch-credential header,
.launch-credential footer,
.launch-credential small,
.event-context > strong,
.page-header span,
.unclaimed-state > p:first-of-type,
.credential-top > span,
.identity-main small,
.identity-project small,
.identity-stats dt,
.identity-location,
.identity-stats dd,
.identity-card footer,
.sheet header small,
.space-sheet h2,
.detail-hero p,
.match-reason small,
.setup-nav small,
.admin-bypass,
.activation-summary small,
.activation-gate > small {
  font-family: inherit;
  letter-spacing: 0;
}

.launch-brand small,
.launch-action > p,
.launch-credential header,
.launch-credential footer,
.launch-credential small,
.match-signals { font-size: 12px; }

.filter-count,
.nav-badge,
.segmented-control span {
  min-width: 18px;
  width: 18px;
  height: 18px;
  font-size: 11px;
}

.founder-name p { font-size: 12.5px; font-weight: 400; }
.project-row p { font-size: 13px; font-weight: 400; line-height: 1.38; }
.founder-location-row .metadata span { font-size: 11.5px; font-weight: 560; }
.card-footer .intent small { width: 68px; font-size: 12px; }
.card-footer .intent span,
.card-footer .intent > span:first-of-type { font-size: 13px; }
.card-footer .intent span,
.card-footer .intent > span:first-of-type { color: #174979; }

.tab-bar button,
.launch-skip,
.brand-lockup.small strong,
.conversation-copy small,
.conversation time,
.request-card small,
.request-actions button,
.filter-header-actions > button:first-child,
.option-row span,
.chip-options span,
.upcoming-spaces,
.social-actions button,
.profile-links button,
.date-divider,
.composer input,
.gate-later,
.toast { font-size: 12px; }

.conversation-copy p,
.request-card p,
.action-founder p,
.detail-hero > div > span,
.detail-space,
.detail-project p,
.signal-section span,
.match-reason p,
.chat-nav strong,
.chat-nav small,
.step-heading p,
.upload-control small,
.activation-summary p,
.empty-results p { font-size: 13px; }

legend,
.space-options strong { font-size: 14px; }
.sheet h2 { font-size: 25px; }
.company-name-field > span,
.form-grid label > span,
.setup-field > span,
.verification-field > label,
.form-grid label > small,
.social-form small,
.code-action span { font-size: 12px !important; }
.company-name-field input,
.form-grid input,
.form-grid textarea,
.form-grid select,
.setup-field textarea,
.social-form input,
.email-action button { font-size: 15px; }
.public-profile strong { font-size: 13px; }
.choice-group .chip-options span,
.space-options small { font-size: 12px !important; }
.primary-action-grid button,
.detail-link,
.modal-nav > span,
.setup-nav strong { font-size: 13px; }
.identity-main small,
.identity-project small,
.identity-stats dt,
.identity-location,
.identity-stats dd,
.identity-card footer { font-size: 12px; }

/* Industry and stage are compact category tags with distinct color roles. */
.founder-location-row .metadata { gap: 7px; }
.founder-location-row .metadata span {
  max-width: 90px;
  min-height: 26px;
  padding: 0 8px;
  border: 1px solid;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 540;
  line-height: 1;
  text-transform: none;
}
.founder-location-row .metadata span:first-child {
  border-color: rgba(30, 86, 153, .34);
  color: #174979;
  background: rgba(30, 86, 153, .11);
}
.founder-location-row .metadata span:first-child::before { display: none; }
.founder-location-row .metadata span:last-child {
  padding-left: 8px;
  border-color: rgba(72, 79, 85, .23);
  color: #51585e;
  background: rgba(72, 79, 85, .09);
}

.activation-gate { padding-top: 10px; }
.activation-gate .gate-title {
  display: block;
  margin: 0 0 24px;
  color: var(--accent);
  font-size: 16px !important;
  font-weight: 650;
  line-height: 1.2;
}
.activation-gate .primary-button { min-height: 54px; }

.card-footer .intent .intent-icon {
  display: grid;
  flex: 0 0 28px;
  place-items: center;
  width: 28px;
  margin: 0 10px 0 0;
  color: var(--accent);
}
.card-footer .intent .intent-icon svg {
  width: 18px;
  height: 18px;
  stroke-width: 1.8;
  transform-origin: center;
  animation: intent-radar-scan 4.8s cubic-bezier(.45, 0, .2, 1) infinite;
}

.founder-card:nth-child(2) .intent-icon svg { animation-delay: .55s; }
.founder-card:nth-child(3) .intent-icon svg { animation-delay: 1.1s; }

@keyframes intent-radar-scan {
  0%, 66%, 100% { opacity: .82; transform: rotate(0deg) scale(1); }
  72% { opacity: 1; transform: rotate(120deg) scale(1.08); }
  79% { opacity: 1; transform: rotate(250deg) scale(1.08); }
  86% { opacity: .9; transform: rotate(360deg) scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .card-footer .intent .intent-icon svg { animation: none; }
}

/* Official Kairos wordmark, cropped from the supplied brand artwork. */
.kairos-wordmark {
  position: relative;
  display: block;
  flex: 0 0 auto;
  width: 88px;
  overflow: hidden;
  aspect-ratio: 4.42 / 1;
}
.kairos-wordmark img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.launch-brand {
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
}
.kairos-wordmark-launch { width: 110px; }
.page-brand .kairos-wordmark { width: 78px; }
.brand-lockup.small .kairos-wordmark { width: 68px; }
.kairos-wordmark-claim { width: 145px; }

.view[data-view="explore"] .topbar { height: 30px; margin-inline: 4px; }
.view[data-view="explore"] .event-context { margin: 0 4px 10px; }
.view[data-view="explore"] .space-switcher > span {
  min-height: 35px;
  padding: 0 9px 0 8px;
  border-radius: 10px;
}
.view[data-view="explore"] .space-switcher strong { font-size: 12.5px; }
.view[data-view="explore"] .space-switcher .space-radar { width: 15px; height: 15px; }
.view[data-view="explore"] .space-switcher .space-chevron { width: 12px; height: 12px; }

/* Founder cards: crisp iOS widget material with a subtle signal field. */
.founder-card {
  min-height: 238px;
  padding: 18px;
  border: 0;
  border-radius: 24px;
  background: rgba(229, 231, 233, .88);
  box-shadow: 0 18px 42px rgba(48, 57, 65, .1);
  backdrop-filter: blur(18px) saturate(.92);
}
.founder-card::before {
  position: absolute;
  right: -7px;
  bottom: 25px;
  z-index: 0;
  width: 190px;
  height: 112px;
  background-image: radial-gradient(circle, rgba(30, 86, 153, .2) 1px, transparent 1.25px);
  background-size: 12px 12px;
  content: "";
  opacity: .58;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(135deg, transparent 4%, #000 46%, transparent 100%);
  mask-image: linear-gradient(135deg, transparent 4%, #000 46%, transparent 100%);
}
.founder-card .card-signal { display: none; }
.founder-card .project-row {
  margin-top: 15px;
  padding: 12px;
  border: 0;
  background: rgba(246, 247, 248, .82);
  box-shadow: 0 8px 20px rgba(48, 57, 65, .065);
  backdrop-filter: blur(12px) saturate(.9);
}
.founder-card .card-footer {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(30, 86, 153, .11);
}
.founder-feed { gap: 16px; margin-inline: 4px; }

/* Static mythology cover: no automated motion or scanning effects. */
.launch-screen::before {
  background: linear-gradient(180deg, transparent 0%, transparent 58%, rgba(214, 211, 207, .14) 72%, rgba(214, 211, 207, .62) 100%);
}
.launch-visual img {
  object-fit: cover;
  object-position: center;
  filter: none;
  animation: none !important;
  transform: none !important;
}
.launch-message { margin-top: auto; }
.launch-action { margin-top: 24px; }

/* Kairos opening poster. The artwork stays untouched while its printed words are revealed. */
.poster-launch {
  display: grid;
  place-items: center;
  padding: 0;
  background: #e7e1d7;
}
.poster-launch::before { display: none; }
.launch-poster-frame {
  position: relative;
  width: min(100%, 56.42dvh);
  aspect-ratio: 844 / 1496;
  overflow: hidden;
  background: #e7e1d7;
}
.launch-poster-frame > img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.poster-cover {
  position: absolute;
  z-index: 2;
  background: #e7e1d7 url("assets/kairos-paper-texture.png") center / cover no-repeat;
  box-shadow: 0 0 8px 5px rgba(231, 225, 215, .96);
  animation: poster-uncover .48s cubic-bezier(.76, 0, .24, 1) forwards;
}
.cover-discover {
  top: 20.6%;
  left: 6.8%;
  width: 23.5%;
  height: 3.8%;
  animation-delay: .35s;
}
.cover-founders {
  top: 20.6%;
  left: 70.3%;
  width: 24%;
  height: 3.8%;
  animation-delay: .82s;
}
.cover-through {
  top: 75.8%;
  left: 6.8%;
  width: 18%;
  height: 3.1%;
  animation-delay: 1.32s;
}
.cover-location {
  top: 79.8%;
  left: 6.8%;
  width: 29%;
  height: 3.5%;
  animation-delay: 1.76s;
}
.cover-projects {
  top: 83.8%;
  left: 6.8%;
  width: 30%;
  height: 3.5%;
  animation-delay: 2.2s;
}
.cover-intents {
  top: 79.8%;
  left: 70.3%;
  width: 24%;
  height: 3.5%;
  animation-delay: 2.64s;
}
.cover-conference {
  top: 85%;
  left: 58.3%;
  width: 37%;
  height: 3.4%;
  animation-delay: 3.08s;
}

@keyframes poster-uncover {
  from { clip-path: inset(0 0 0 0); transform: translateX(0); }
  to { clip-path: inset(0 0 0 100%); transform: translateX(7%); }
}

@media (prefers-reduced-motion: reduce) {
  .poster-cover { display: none; animation: none; }
}

/* Karios editorial hero: classical sculpture interpreted as a precise digital system. */
html { background: #c9c7c3; }
body {
  display: block;
  min-height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 0;
  background: #c9c7c3;
}
.kairos-hero {
  position: fixed;
  inset: 0;
  z-index: 100;
  width: min(100%, 430px);
  height: 100svh;
  min-height: 640px;
  margin: 0 auto;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: #fcf9f4 url("assets/kairos-athens-paper.png") center / 130px 130px repeat;
  box-shadow: 0 22px 70px rgba(55, 54, 51, .12);
  transform: none;
}
.kairos-hero::before { display: none; }
.hero-artwork {
  position: absolute;
  top: -3.4%;
  right: 0;
  bottom: 3.4%;
  left: 0;
  z-index: 0;
  overflow: hidden;
  will-change: opacity, transform, filter;
}
.hero-artwork > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: fill;
}
.print-mask {
  position: absolute;
  z-index: 1;
  background: #fcf9f4 url("assets/kairos-athens-paper.png") center / 130px 130px repeat;
}
.mask-discover { top: 19.2%; left: 4.5%; width: 29%; height: 5%; }
.mask-founders { top: 19.2%; right: 4.5%; width: 30%; height: 5%; }
.mask-through {
  top: 75.8%;
  left: 0;
  width: 100%;
  height: 17.5%;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 4%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 4%);
}
.mask-location,
.mask-projects,
.mask-intents,
.mask-conference { display: none; }
.scan-beam {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 3;
  height: 14%;
  border-bottom: 1px solid rgba(30, 86, 153, .24);
  background: linear-gradient(180deg, transparent, rgba(30, 86, 153, .025));
  box-shadow: 0 8px 18px rgba(30, 86, 153, .035);
  opacity: 0;
  pointer-events: none;
  will-change: opacity, transform;
}
.hero-noise {
  position: absolute;
  inset: 0;
  z-index: 3;
  opacity: .008;
  background-image: radial-gradient(circle, rgba(21, 33, 46, .5) .45px, transparent .65px);
  background-size: 4px 4px;
  mix-blend-mode: multiply;
  pointer-events: none;
}
.hero-brand-plate {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 2;
  height: 12.5%;
  background: #fcf9f4 url("assets/kairos-athens-paper.png") center / 130px 130px repeat;
  pointer-events: none;
}
.hero-static-brand {
  position: absolute;
  top: 3.35%;
  left: 4.5%;
  z-index: 4;
  display: block;
  width: clamp(86px, 23vw, 99px);
  line-height: 0;
}
.hero-static-brand img {
  display: block;
  width: 100%;
  height: auto;
}
.hero-copy {
  position: absolute;
  inset: 0;
  z-index: 4;
  color: #1e5699;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
  pointer-events: none;
  transform: translateY(-3.4%);
}
.hero-brand,
.hero-word {
  position: absolute;
  margin: 0;
  color: #1e5699;
  letter-spacing: 0;
  will-change: opacity, transform, filter;
}
.hero-brand {
  top: 3.35%;
  left: 6.6%;
  font-size: clamp(28px, 7.4vw, 32px);
  font-weight: 700;
  line-height: 1;
}
.hero-word {
  font-size: clamp(21px, 5.7vw, 25px);
  font-weight: 650;
  line-height: 1;
  white-space: nowrap;
}
.word-discover { top: 20.85%; left: 7.4%; }
.word-founders { top: 20.85%; right: 7.4%; }
.word-through {
  top: 75.35%;
  left: 7.4%;
  padding-bottom: 5px;
  font-size: clamp(20px, 5.3vw, 23px);
  font-style: italic;
  font-weight: 440;
  line-height: 1.25;
}
.keyword {
  font-size: clamp(22px, 5.9vw, 26px);
  font-weight: 670;
}
.word-location { top: 79.45%; left: 7.4%; }
.word-projects { top: 83.55%; left: 7.4%; }
.word-intents { top: 79.45%; right: 7.4%; }
.context-word {
  top: 84.7%;
  right: 7.4%;
  font-size: clamp(18px, 4.9vw, 22px);
  font-style: italic;
  font-weight: 430;
}
.kairos-hero.hero-ready .hero-artwork,
.kairos-hero.hero-ready .hero-brand,
.kairos-hero.hero-ready .hero-word { visibility: visible; opacity: 1; filter: none; transform: none; }

@media (min-width: 700px) {
  .kairos-hero {
    top: 50%;
    bottom: auto;
    height: min(900px, 100svh);
    min-height: min(900px, 100svh);
    border: 0;
    border-radius: 0;
    transform: translateY(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-artwork,
  .hero-brand,
  .hero-word { visibility: visible !important; opacity: 1 !important; filter: none !important; transform: none !important; }
  .scan-beam { display: none; }
}

/* Product UI palette. The opening hero remains intentionally untouched. */
.app-shell,
.sheet,
.full-modal,
.tab-bar,
.toast {
  --bg: #fcf9f4;
  --surface: #fcf9f4;
  --surface-2: #fcf9f4;
  --glass: rgba(252, 249, 244, .9);
  --glass-strong: rgba(252, 249, 244, .97);
  --text: #1e5699;
  --muted: rgba(30, 86, 153, .64);
  --muted-2: rgba(30, 86, 153, .46);
  --line: rgba(30, 86, 153, .18);
  --line-strong: rgba(30, 86, 153, .3);
  --accent: #1e5699;
  --accent-bright: #1e5699;
  --accent-soft: rgba(30, 86, 153, .1);
}
.app-shell {
  color: #1e5699;
  background: #fcf9f4;
  box-shadow: 0 18px 60px rgba(30, 86, 153, .12);
}
.app-shell :is(h1, h2, h3, strong, p, small, span, time, legend, label),
.sheet :is(h1, h2, h3, strong, p, small, span, legend, label),
.full-modal :is(h1, h2, h3, strong, p, small, span, time, legend, label) {
  color: inherit;
}
.app-shell :is(.page-header p, .event-count, .founder-row p, .project-row p, .conversation p, .identity-project p, .identity-stats small, .public-link small, .request-card p),
.sheet :is(.detail-project p, .help-section p, .match-reason p, .space-options small),
.full-modal :is(.detail-project p, .help-section p, .match-reason p, .chat-nav small) {
  color: rgba(30, 86, 153, .64);
}
.app-shell :is(.space-switcher > span, .icon-button, .title-edit, .segmented-control),
.sheet :is(.sheet-close, .filter-group button, .chip-options span, .option-row span, .space-option),
.full-modal :is(.modal-nav button, .setup-nav > button) {
  border-color: rgba(30, 86, 153, .2);
  color: #1e5699;
  background: rgba(30, 86, 153, .055);
}
.founder-card,
.conversation,
.unclaimed-card,
.identity-card,
.detail-project,
.social-form > label,
.upload-control {
  border-color: rgba(30, 86, 153, .2);
  color: #1e5699;
  background: rgba(252, 249, 244, .96);
  box-shadow: 0 14px 34px rgba(30, 86, 153, .09);
}
.founder-card::before {
  background-image: radial-gradient(circle, rgba(30, 86, 153, .18) 1px, transparent 1.25px);
}
.founder-card .project-row,
.detail-space,
.match-reason,
.gate-identity {
  border-color: rgba(30, 86, 153, .16);
  color: #1e5699;
  background: rgba(30, 86, 153, .06);
  box-shadow: none;
}
.founder-location-row .metadata span:first-child,
.founder-location-row .metadata span:last-child {
  border-color: rgba(30, 86, 153, .28);
  color: #1e5699;
  background: rgba(30, 86, 153, .08);
}
.card-footer .intent span,
.card-footer .intent > span:first-of-type,
.intent,
.intent span,
.tab-bar button,
.tab-bar button.active {
  color: #1e5699;
}
.tab-bar {
  border-color: rgba(30, 86, 153, .18);
  background: rgba(252, 249, 244, .94);
  box-shadow: 0 12px 30px rgba(30, 86, 153, .12);
}
.tab-bar button { opacity: .56; }
.tab-bar button.active {
  background: rgba(30, 86, 153, .11);
  opacity: 1;
}
.tab-bar .nav-badge {
  top: 9px;
  left: calc(50% + 8px);
  min-width: 8px;
  width: 8px;
  height: 8px;
  font-size: 0;
}
.tab-bar button .tab-icon {
  position: relative;
  display: block;
  width: 24px;
  height: 24px;
  overflow: hidden;
  color: #1e5699;
}
.tab-bar button .tab-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.sheet,
.full-modal,
.modal-cta,
.composer,
.setup-actions {
  border-color: rgba(30, 86, 153, .18);
  color: #1e5699;
  background: rgba(252, 249, 244, .98);
  box-shadow: 0 -18px 50px rgba(30, 86, 153, .12);
}
.scrim { background: rgba(30, 86, 153, .16); }
.sheet-handle { background: rgba(30, 86, 153, .28); }
.chip-options input:checked + span,
.filter-group button.active,
.option-row input:checked + span,
.segmented-control button.active {
  border-color: rgba(30, 86, 153, .42);
  color: #1e5699;
  background: rgba(30, 86, 153, .11);
}
.option-row .disabled-option span,
.space-options > button:disabled strong,
.space-options > button:disabled small,
.upcoming-spaces {
  color: rgba(30, 86, 153, .3) !important;
  border-color: rgba(30, 86, 153, .1);
  background: rgba(30, 86, 153, .025);
}

.filter-sheet .chip-options span,
.filter-sheet .option-row span {
  border-color: rgba(30, 86, 153, .2);
  color: #1e5699;
  background: rgba(252, 249, 244, .58);
  transition: color 150ms ease, background-color 150ms ease, border-color 150ms ease, transform 150ms ease;
}
.filter-sheet .chip-options input:checked + span,
.filter-sheet .option-row input:checked + span {
  border-color: #1e5699;
  color: #fcf9f4;
  background: #1e5699;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16);
}
.filter-sheet .chip-options input:focus-visible + span,
.filter-sheet .option-row input:focus-visible + span {
  outline: 2px solid rgba(30, 86, 153, .28);
  outline-offset: 2px;
}
.filter-sheet .option-row .disabled-option span {
  border-color: rgba(30, 86, 153, .09);
  color: rgba(30, 86, 153, .28);
  background: rgba(30, 86, 153, .025);
  box-shadow: none;
}
.secondary-button,
.share-action,
.public-link,
.modal-cta .secondary-button,
.message.theirs,
.request-actions button,
.composer button {
  border-color: rgba(30, 86, 153, .2);
  color: #1e5699;
  background: rgba(30, 86, 153, .055);
}
.primary-button,
.activate-button,
.message.mine,
.intent > span:first-of-type {
  border-color: #1e5699;
  color: #fcf9f4;
  background: #1e5699;
  box-shadow: none;
}
.composer input,
.company-name-field input,
.form-grid input,
.form-grid textarea,
.form-grid select,
.setup-field textarea,
.social-form input,
.select-wrap,
.input-prefix {
  border-color: rgba(30, 86, 153, .2);
  color: #1e5699;
  background: rgba(252, 249, 244, .9);
}
.app-shell input::placeholder,
.app-shell textarea::placeholder,
.sheet input::placeholder,
.sheet textarea::placeholder,
.full-modal input::placeholder,
.full-modal textarea::placeholder { color: rgba(30, 86, 153, .42); }
.toast {
  color: #fcf9f4;
  background: #1e5699;
  box-shadow: 0 12px 30px rgba(30, 86, 153, .2);
}
.project-mark,
.mark-on,
.mark-px,
.identity-company-logo,
.logo-preview {
  border-color: rgba(30, 86, 153, .22);
  color: #fcf9f4;
  background: #1e5699;
  box-shadow: none;
}
.avatar-upload-icon,
.logo-upload-icon {
  border-color: rgba(30, 86, 153, .28);
  color: #1e5699;
  background: #fcf9f4;
  box-shadow: 0 6px 16px rgba(30, 86, 153, .14);
}
.app-shell :is(svg, .x-mark, .social-x),
.sheet :is(svg, .x-mark, .social-x),
.full-modal :is(svg, .x-mark, .social-x) { color: #1e5699; }

/* Shared page header: the title changes, while every other anchor stays fixed. */
.app-page-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  width: 100%;
  height: 48px;
  min-height: 48px;
  margin-bottom: 18px;
}
.app-page-title-row {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  min-width: 0;
}
.app-page-title-row h1 {
  margin: 0;
  color: #1e5699;
  font-size: clamp(27px, 7.4vw, 32px);
  font-weight: 510;
  line-height: 1.08;
  letter-spacing: 0;
}
.app-page-header .page-brand {
  align-self: flex-end;
  margin: 0;
}
.app-page-header .page-brand .kairos-wordmark { width: 78px; }
.app-page-header .header-action {
  position: relative;
  display: grid;
  flex: 0 0 20px;
  place-items: center;
  width: 20px;
  height: 20px;
  margin-bottom: 0;
  border: 1px solid rgba(30, 86, 153, .48);
  border-radius: 50%;
  color: #1e5699;
  background: transparent;
}
.app-page-header .header-action::before { position: absolute; inset: -12px; content: ""; }
.app-page-header .header-action svg { width: 12px; height: 12px; stroke-width: 1.5; }

/* Explore uses the current space as its page identity. */
.explore-page-header {
  align-items: flex-end;
}
.explore-page-header .space-switcher > span {
  min-height: 38px;
  padding: 0 12px 0 10px;
  border-color: rgba(30, 86, 153, .28);
  border-radius: 12px;
  background: rgba(252, 249, 244, .68);
}
.explore-page-header .space-switcher strong {
  color: #1e5699;
  font-size: 15px;
  font-weight: 500;
}
.explore-page-header .space-chevron {
  width: 13px;
  height: 13px;
  color: #1e5699;
}
.network-space-mark {
  display: block;
  flex: 0 0 25px;
  width: 25px;
  height: 18px;
  object-fit: contain;
}
.explore-page-header .header-action {
  flex-basis: 38px;
  width: 38px;
  height: 38px;
  border-color: rgba(30, 86, 153, .28);
}
.explore-page-header .header-action svg {
  width: 17px;
  height: 17px;
}

/* Profile identity system. Scoped to keep Explore, Inbox, and the launch hero unchanged. */
.profile-page {
  --profile-paper: #fcf9f4;
  --profile-blue: #1e5699;
  --profile-ink: #1e5699;
  --profile-secondary: rgba(30, 86, 153, .78);
  --profile-border: rgba(30, 86, 153, .55);
  --profile-rule: rgba(30, 86, 153, .3);
  --profile-radius: 22px;
  overflow-x: hidden;
  overflow-y: auto;
  padding: calc(var(--safe-top) + 16px) 16px calc(var(--nav-height) + var(--safe-bottom) + 30px);
  color: var(--profile-ink);
  background: var(--profile-paper);
  font-family: Arial, Helvetica, sans-serif;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.profile-page::-webkit-scrollbar { display: none; }
.profile-page::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: url("assets/kairos-paper-texture.png");
  background-size: 120px 120px;
  opacity: .1;
  content: "";
  pointer-events: none;
}
.profile-page,
.profile-page * { box-sizing: border-box; }
.profile-page :is(h1, h2, h3, strong, p, small, span, li, button, a) {
  font-family: Arial, Helvetica, sans-serif;
  letter-spacing: 0;
}

.profile-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  min-height: 48px;
  margin-bottom: 18px;
}
.profile-title-row { display: flex; align-items: flex-end; gap: 8px; min-width: 0; }
.profile-title-row h1 {
  margin: 0;
  color: var(--profile-blue);
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(27px, 7.4vw, 32px);
  font-weight: 510;
  line-height: 1.08;
}
.profile-page .title-edit {
  position: relative;
  display: grid;
  flex: 0 0 38px;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 0;
  padding: 0;
  border: 1px solid rgba(30, 86, 153, .48);
  border-radius: 50%;
  color: var(--profile-blue);
  background: transparent;
  line-height: 0;
}
.profile-page .title-edit::before { position: absolute; inset: -12px; content: ""; }
.profile-page .title-edit svg { display: block; width: 17px; height: 17px; margin: 0; stroke-width: 1.5; }
.profile-header-brand {
  flex: 0 0 auto;
  align-self: flex-end !important;
  margin-bottom: 0;
  margin-top: 0 !important;
}
.profile-header-brand .kairos-wordmark { width: 78px; }

.profile-page .claimed-state,
.profile-page .unclaimed-state { margin-inline: 2px; }
.profile-page .claimed-state { padding-top: 0; }
.profile-page .identity-card {
  position: relative;
  isolation: isolate;
  width: 100%;
  min-height: 0;
  overflow: hidden;
  padding: 18px 20px 20px;
  border: 1px solid var(--profile-border);
  border-radius: var(--profile-radius);
  color: var(--profile-ink);
  background:
    linear-gradient(rgba(252, 249, 244, .955), rgba(252, 249, 244, .955)),
    url("assets/kairos-paper-texture.png") center / 120px 120px repeat;
  box-shadow: none;
}
.profile-page .identity-card::before,
.profile-page .credential-corners { display: none; }
.profile-page .identity-card > :not(.classical-sculpture-decoration) { position: relative; z-index: 2; }

.profile-page .credential-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  min-height: 24px;
}
.credential-brand {
  color: var(--profile-blue) !important;
  font-size: clamp(20px, 6vw, 24px);
  font-weight: 700;
  line-height: 1;
}
.profile-page .credential-top > span {
  padding-bottom: 7px;
  border-bottom: 1px solid var(--profile-rule);
  color: var(--profile-blue);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: .12em;
}

.founder-identity {
  display: grid;
  grid-template-columns: clamp(82px, 23vw, 92px) minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  margin-top: 27px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--profile-rule);
}
.profile-page .founder-identity > img {
  width: clamp(82px, 23vw, 92px);
  aspect-ratio: 1;
  border: 0;
  border-radius: 50%;
  object-fit: cover;
  filter: grayscale(100%) contrast(1.04);
  box-shadow: none;
}
.profile-page .identity-name-row { display: grid; gap: 8px; min-width: 0; }
.profile-page .identity-name-row h2 {
  max-width: 100%;
  margin: 0;
  overflow-wrap: anywhere;
  color: var(--profile-blue);
  font-size: clamp(32px, 9.6vw, 39px);
  font-weight: 700;
  line-height: .96;
}
.profile-page .identity-location {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  color: var(--profile-ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(12px, 3.3vw, 14px);
  font-weight: 400;
  line-height: 1.25;
  white-space: normal;
}
.profile-page .identity-location svg {
  flex: 0 0 auto;
  width: 15px;
  height: 15px;
  color: var(--profile-blue);
  stroke-width: 1.6;
}

.current-mission {
  min-height: 185px;
  padding-top: 23px;
}
.profile-section-label {
  margin: 0;
  color: var(--profile-blue) !important;
  font-size: 11px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: .14em !important;
}
.mission-title {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  max-width: 62%;
  margin-top: 14px;
  color: var(--profile-ink);
  text-decoration: none;
}
.profile-page .identity-company-logo {
  display: grid;
  flex: 0 0 46px;
  place-items: center;
  width: 46px;
  height: 46px;
  overflow: hidden;
  border: 1px solid var(--profile-blue);
  border-radius: 7px;
  color: var(--profile-paper);
  background: var(--profile-blue);
  font-size: 22px;
  font-weight: 700;
  box-shadow: none;
}
.profile-page .identity-company-logo img { width: 100%; height: 100%; object-fit: cover; }
.mission-title strong {
  min-width: 0;
  overflow-wrap: anywhere;
  color: var(--profile-ink) !important;
  font-size: clamp(25px, 7.7vw, 30px);
  font-weight: 700;
  line-height: 1;
}
.current-mission > p:last-child {
  display: -webkit-box;
  max-width: 88%;
  margin: 14px 0 0;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  color: var(--profile-secondary) !important;
  font-size: clamp(14px, 3.8vw, 16px);
  font-weight: 400;
  line-height: 1.42;
}

.classical-sculpture-decoration {
  position: absolute;
  top: 156px;
  right: -72px;
  z-index: 0;
  width: 270px;
  height: 390px;
  overflow: hidden;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(ellipse 74% 53% at 73% 48%, #000 0%, #000 46%, rgba(0, 0, 0, .72) 65%, transparent 100%);
  mask-image: radial-gradient(ellipse 74% 53% at 73% 48%, #000 0%, #000 46%, rgba(0, 0, 0, .72) 65%, transparent 100%);
}
.classical-sculpture-decoration img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 53% 25%;
  filter: grayscale(100%) contrast(.92);
  mix-blend-mode: multiply;
  opacity: .45;
}
.profile-arc {
  position: absolute;
  top: 16px;
  right: -165px;
  z-index: 2;
  width: 390px;
  height: 390px;
  border: 1px solid rgba(30, 86, 153, .32);
  border-radius: 50%;
}
.profile-dot-grid {
  position: absolute;
  top: 54px;
  right: 58px;
  z-index: 1;
  width: 82px;
  height: 165px;
  opacity: .22;
  background-image: radial-gradient(rgba(30, 86, 153, .5) .7px, transparent .8px);
  background-size: 7px 7px;
}

.profile-seeking {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 15px 0 16px;
  border-top: 1px solid var(--profile-rule);
}
.seeking-discovery-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(30, 86, 153, .24);
  border-radius: 50%;
  color: var(--profile-blue);
  background: rgba(30, 86, 153, .045);
}
.seeking-discovery-icon svg { width: 19px; height: 19px; stroke-width: 1.5; }
.profile-seeking-content { min-width: 0; }
.profile-seeking ul {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.profile-seeking li {
  display: inline-flex;
  align-items: center;
  min-height: 29px;
  padding: 5px 10px;
  border: 1px solid rgba(142, 103, 50, .42);
  border-radius: 999px;
  color: #765329;
  background: rgba(180, 138, 76, .12);
  font-size: clamp(12px, 3.3vw, 13.5px);
  font-weight: 500;
  line-height: 1;
}

.coffee-chat-cta { padding-top: 15px; border-top: 1px solid rgba(30, 86, 153, .2); }
.coffee-chat-cta button {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  width: 100%;
  padding: 0;
  color: var(--profile-blue);
  text-align: left;
  background: transparent;
}
.coffee-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(30, 86, 153, .24);
  border-radius: 50%;
  background: rgba(30, 86, 153, .045);
}
.coffee-icon svg { width: 19px; height: 19px; stroke-width: 1.5; }
.coffee-chat-cta strong {
  color: var(--profile-blue) !important;
  overflow: hidden;
  font-size: clamp(14px, 3.8vw, 16px);
  font-weight: 700;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.coffee-space-name { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.coffee-space-name img { display: inline-block; width: 20px; height: 14px; object-fit: contain; }

.profile-page .profile-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px;
  margin-top: 10px;
}
.profile-page .profile-actions button {
  width: 100%;
  min-width: 0;
  min-height: 54px;
  padding: 0 10px;
  border-radius: 16px;
  font-size: clamp(11px, 3vw, 12.5px);
  white-space: nowrap;
  box-shadow: none;
}
.profile-page .profile-actions .primary-button {
  border: 1px solid var(--profile-blue);
  color: var(--profile-paper);
  background: var(--profile-blue);
}
.profile-page .profile-actions .secondary-button {
  border: 1px solid var(--profile-blue);
  color: var(--profile-blue);
  background: transparent;
}
.profile-page #shareX {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.profile-page #shareX .x-mark {
  display: grid;
  place-items: center;
  width: 17px;
  height: 17px;
  font-size: 17px;
  line-height: 1;
  transform: translateY(-.5px);
}
.profile-page .profile-actions strong { color: inherit !important; font-weight: 700; }
.profile-page .profile-actions svg,
.profile-page .profile-actions .x-mark {
  width: 20px;
  height: 20px;
  color: currentColor;
  font-size: 21px;
  font-weight: 400;
}
.profile-page .profile-actions button:active,
.coffee-chat-cta button:active,
.public-profile:active { opacity: .72; transform: scale(.985); }

.profile-page .public-profile {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 24px;
  align-items: center;
  width: 100%;
  min-height: 76px;
  margin-top: 14px;
  overflow: hidden;
  padding: 11px 15px 11px 70px;
  border: 1px solid rgba(17, 17, 17, .14);
  border-radius: 16px;
  color: var(--profile-blue);
  text-align: left;
  text-decoration: none;
  background: var(--profile-paper);
}
.public-profile-column {
  position: absolute;
  inset: 0 auto 0 0;
  width: 64px;
  overflow: hidden;
  opacity: .48;
  -webkit-mask-image: linear-gradient(to right, #000 68%, transparent 100%);
  mask-image: linear-gradient(to right, #000 68%, transparent 100%);
}
.public-profile-column::before {
  position: absolute;
  top: 10px;
  bottom: -4px;
  left: 9px;
  width: 29px;
  border-radius: 8px 8px 0 0;
  background:
    linear-gradient(90deg, rgba(78, 78, 78, .08), transparent 18%, rgba(78, 78, 78, .13) 45%, transparent 74%),
    repeating-linear-gradient(90deg, rgba(78, 78, 78, .2) 0 2px, rgba(252, 249, 244, .75) 2px 5px);
  box-shadow: inset 0 1px 0 rgba(78, 78, 78, .15);
  content: "";
}
.public-profile-column::after {
  position: absolute;
  inset: 33px 0 0 39px;
  background-image: radial-gradient(rgba(30, 86, 153, .45) .55px, transparent .7px);
  background-size: 5px 5px;
  content: "";
}
.public-profile-column img {
  display: none;
}
.public-profile-copy { min-width: 0; }
.profile-page .public-profile small {
  color: var(--profile-blue);
  font-size: 8.5px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: .24em;
}
.profile-page .public-profile strong {
  display: block;
  max-width: 100%;
  margin-top: 7px;
  overflow-wrap: anywhere;
  color: var(--profile-blue);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(19px, 5.5vw, 23px);
  font-weight: 400;
  line-height: 1.05;
}
.profile-page .public-profile > svg { width: 22px; height: 22px; color: var(--profile-blue); stroke-width: 1.25; }

@media (max-width: 374px) {
  .profile-page { padding-right: 16px; padding-left: 16px; }
  .profile-header { margin-bottom: 18px; }
  .profile-title-row { gap: 8px; }
  .profile-title-row h1 { font-size: 27px; }
  .profile-page .title-edit { flex-basis: 38px; width: 38px; height: 38px; }
  .profile-page .identity-card { padding-right: 18px; padding-left: 18px; }
  .founder-identity { grid-template-columns: 82px minmax(0, 1fr); gap: 12px; }
  .profile-page .founder-identity > img { width: 82px; }
  .profile-page .identity-name-row h2 { font-size: 32px; }
  .profile-page .profile-actions { gap: 9px; }
  .profile-page .profile-actions button { min-height: 58px; padding-inline: 7px; font-size: 11px; }
  .profile-page .profile-actions svg,
  .profile-page .profile-actions .x-mark { width: 21px; height: 21px; }
}

/* Founder identity links and portrait treatment. */
.chat-nav .chat-founder-link {
  display: flex;
  align-items: center;
  justify-self: center;
  gap: 8px;
  width: auto;
  height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  text-align: left;
}
.request-avatar-link {
  display: block;
  width: 48px;
  height: 48px;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 50%;
  background: transparent;
}
.request-avatar-link img { display: block; width: 100%; height: 100%; object-fit: cover; }
.request-name-link { display: block; padding: 0; color: inherit; background: transparent; text-align: left; }
.request-avatar-link:focus-visible,
.request-name-link:focus-visible { outline: 2px solid #1e5699; outline-offset: 3px; }

.founder-row > img,
.profile-page .founder-identity > img,
#founderDetail .detail-hero > img,
.avatar-upload .upload-preview img {
  filter: grayscale(100%) contrast(1.04);
}

#founderDetail .profile-links { grid-template-columns: repeat(4, 1fr); }
#founderDetail .signal-section span,
#founderDetail .help-section p {
  color: rgba(30, 86, 153, .9);
  font-size: 14px;
  font-weight: 400;
}
#founderDetail .signal-section span {
  border-color: rgba(142, 103, 50, .42);
  color: #765329;
  background: rgba(180, 138, 76, .12);
}

/* Industry and stage are separate metadata classes. */
.founder-location-row .metadata span:first-child {
  border-color: rgba(30, 86, 153, .36);
  color: #1e5699;
  background: rgba(30, 86, 153, .09);
}
.founder-location-row .metadata span:last-child {
  border-color: rgba(142, 103, 50, .42);
  color: #765329;
  background: rgba(180, 138, 76, .12);
}

.view[data-view="explore"] .founder-name { transform: translateY(3px); }

.view[data-view="explore"] .founder-card {
  border: 1px solid rgba(30, 86, 153, .36);
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}
.view[data-view="explore"] .founder-card .project-row {
  border-color: rgba(30, 86, 153, .16);
  background: rgba(252, 249, 244, .48);
  backdrop-filter: blur(3px);
}

#chatModal .chat-founder-link {
  border: 0;
  color: #1e5699;
  background: transparent;
  box-shadow: none;
}

@media (min-width: 410px) {
  .profile-page .identity-card { padding: 20px 22px 22px; }
  .founder-identity { gap: 16px; }
  .classical-sculpture-decoration { right: -58px; }
}

/* Use the entire browser viewport on real phones; keep the framed preview on desktop. */
@media (max-width: 699px) {
  html,
  body {
    width: 100%;
    background: #fcf9f4;
  }

  .app-shell,
  .launch-screen,
  .kairos-hero,
  .sheet,
  .full-modal {
    width: 100%;
    max-width: none;
    margin-right: 0;
    margin-left: 0;
  }

  .app-shell,
  .kairos-hero { box-shadow: none; }
}

.primary-button svg,
.message.mine svg,
.toast svg { color: #fcf9f4; }
