@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,400;12..96,600;12..96,800&family=Newsreader:ital,opsz,wght@0,6..72,400;0,6..72,500;1,6..72,400&display=swap');

:root {
  --ink: #17143A;
  --cobalt: #3B36F0;
  --cobalt-dark: #2a26d6;
  --tangerine: #FF8A3D;
  --lilac: #ECEAF8;
  --paper: #FBFAFF;
  --error: #B3261E;
  --display: 'Bricolage Grotesque', 'Helvetica Neue', Arial, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { font-family: 'Newsreader', Georgia, serif; color: var(--ink); background: var(--lilac); font-size: 17px; line-height: 1.5; min-height: 100vh; }
a { color: inherit; text-decoration-thickness: 1.5px; text-underline-offset: 2px; }
.display { font-family: var(--display); }
.wrap { max-width: 560px; margin: 0 auto; padding: 0 18px 80px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

header.top { display: flex; align-items: center; justify-content: space-between; padding: 18px 0 8px; }
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; font-family: var(--display); font-weight: 800; font-size: 19px; letter-spacing: -0.01em; }
.top-actions { display: flex; gap: 8px; align-items: center; }

.btn { font-family: var(--display); font-weight: 600; font-size: 15px; border: 0; border-radius: 999px; padding: 11px 18px; cursor: pointer; background: var(--cobalt); color: #fff; }
.btn:hover { background: var(--cobalt-dark); }
.btn:disabled { background: #b9b7d9; cursor: not-allowed; }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn.ghost:hover { background: var(--ink); color: #fff; }
.btn.danger { background: transparent; color: var(--error); box-shadow: inset 0 0 0 1.5px var(--error); }
.btn.danger:hover { background: var(--error); color: #fff; }
.btn.small { padding: 7px 13px; font-size: 14px; }
.btn.grow { flex: 1; }
.btn:focus-visible, .chip:focus-visible, .slot:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, a:focus-visible { outline: 3px solid var(--tangerine); outline-offset: 2px; }

.chip { font-family: var(--display); font-weight: 600; font-size: 14px; border: 0; border-radius: 999px; padding: 7px 14px; cursor: pointer; background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px rgba(23,20,58,.25); white-space: nowrap; }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; box-shadow: none; }
nav.tabs { display: flex; gap: 8px; padding-top: 6px; }
.filters { display: flex; gap: 8px; overflow-x: auto; padding: 4px 18px 14px; margin: 0 -18px; scrollbar-width: none; }
.filters::-webkit-scrollbar { display: none; }

.avatar-btn { width: 40px; height: 40px; border-radius: 50%; border: 0; cursor: pointer; font-family: var(--display); font-weight: 800; font-size: 17px; color: var(--ink); }

.hero { padding: 26px 0 18px; }
.hero h1 { font-family: var(--display); font-size: clamp(40px, 11vw, 58px); font-weight: 800; line-height: .98; letter-spacing: -0.03em; margin: 0; }
.hero p { font-size: 19px; margin: 14px 0 0; max-width: 440px; }

.card { background: var(--paper); border-radius: 22px; padding: 20px 18px 18px; margin-bottom: 14px; }
.card h2 { font-family: var(--display); font-size: 26px; font-weight: 800; line-height: 1.1; margin: 0 0 6px; letter-spacing: -0.01em; }
.byline { margin: 0 0 4px; font-size: 14.5px; opacity: .75; }
.blurb { margin: 10px 0 16px; white-space: pre-wrap; overflow-wrap: anywhere; }
.slots { display: flex; flex-wrap: wrap; gap: 12px 6px; margin-bottom: 18px; }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; }

.slot { display: flex; flex-direction: column; align-items: center; gap: 5px; width: 64px; border: 0; background: none; padding: 0; font-family: inherit; color: inherit; cursor: default; }
.slot.pick { cursor: pointer; }
.dot { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 18px; transition: transform .15s; flex-shrink: 0; }
.slot.pick:hover .dot { transform: scale(1.08); }
.dot.open { border: 2px dashed var(--cobalt); color: var(--cobalt); font-weight: 600; font-size: 22px; }
.dot.sel { background: var(--cobalt); border: 2px solid var(--cobalt); color: #fff; }
.dot.req { border: 2.5px solid var(--tangerine); background: #FFE9D8; }
.slot-label { font-size: 12.5px; line-height: 1.15; text-align: center; max-width: 64px; overflow-wrap: anywhere; }

.skills { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 0; padding: 0; list-style: none; }
.skills li { font-family: var(--display); font-size: 13px; font-weight: 600; background: #E1DEF7; border-radius: 999px; padding: 3px 10px; }

.sheet-overlay { position: fixed; inset: 0; background: rgba(23,20,58,.45); display: flex; align-items: flex-end; justify-content: center; z-index: 20; }
.sheet { background: var(--paper); width: 100%; max-width: 560px; border-radius: 26px 26px 0 0; padding: 22px 20px 28px; max-height: 92vh; overflow-y: auto; animation: up .22s ease-out; }
.sheet h3 { font-family: var(--display); font-size: 24px; font-weight: 800; margin: 0 0 4px; }
@keyframes up { from { transform: translateY(40px); opacity: .4; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .sheet { animation: none; } .dot { transition: none; } }
@media (min-width: 640px) { .sheet-overlay { align-items: center; } .sheet { border-radius: 26px; } }

.field { display: block; font-family: var(--display); font-weight: 600; font-size: 14px; margin: 14px 0 6px; }
.input { width: 100%; font-family: inherit; font-size: 17px; color: var(--ink); background: #fff; border: 1.5px solid rgba(23,20,58,.25); border-radius: 12px; padding: 10px 12px; }
.hint { font-size: 14px; opacity: .7; margin: 4px 0 0; }
.error { color: var(--error); font-size: 15px; margin: 12px 0 0; min-height: 0; }
.row { display: flex; gap: 10px; }
.row.mt { margin-top: 18px; }
.switch { text-align: center; margin: 16px 0 0; font-size: 15px; }
.link-btn { font: inherit; background: none; border: 0; padding: 0; text-decoration: underline; cursor: pointer; color: inherit; }

.person { display: flex; gap: 12px; align-items: center; margin-bottom: 10px; }
.person .dot { cursor: default; }
.quote { margin: 0 0 14px; font-style: italic; overflow-wrap: anywhere; white-space: pre-wrap; }
.section-title { font-family: var(--display); font-size: 20px; font-weight: 800; margin: 24px 0 12px; }
.section-title:first-child { margin-top: 8px; }
.muted { opacity: .75; }
.list { list-style: none; margin: 0; padding: 0; }
.list li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 0; border-top: 1px solid rgba(23,20,58,.12); }
.list li:first-child { border-top: 0; }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--ink); color: #fff; font-family: var(--display); font-weight: 600; font-size: 15px; padding: 12px 20px; border-radius: 999px; z-index: 40; max-width: 90vw; text-align: center; }
.loading { padding: 40px 0; text-align: center; opacity: .6; }
footer.foot { text-align: center; padding: 0 18px 40px; font-size: 14.5px; opacity: .7; }

.card-foot { flex-wrap: wrap; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.btn.link { text-decoration: none; display: inline-block; }
.searchbox { padding: 6px 0 12px; }
.input.search { border-radius: 999px; padding: 11px 16px; background: #fff; }
.chat { max-height: 52vh; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; padding: 2px; }
.msg { background: #F0EEFB; border-radius: 16px 16px 16px 4px; padding: 9px 13px; max-width: 88%; align-self: flex-start; }
.msg.mine { background: #E3E1FF; border-radius: 16px 16px 4px 16px; align-self: flex-end; }
.msg-head { font-family: var(--display); font-weight: 600; font-size: 13px; }
.msg-head a { font-weight: 800; }
.msg-body { white-space: pre-wrap; overflow-wrap: anywhere; }

.seat-row { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px; }
.seat-main { flex: 1; min-width: 0; }
.seat-row .btn { margin-top: 4px; }
.li-main { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.list li .btn + .btn { margin-left: 0; }
.list li { gap: 8px; }
.check { display: flex; align-items: center; gap: 8px; margin: 16px 0 0; font-size: 16px; }
.check input { width: 20px; height: 20px; accent-color: var(--cobalt); }
p.field { margin-bottom: 8px; }

.reasons { border: 0; padding: 0; margin: 14px 0 0; }
.reasons legend { padding: 0; }
.radio { display: flex; align-items: center; gap: 8px; margin: 8px 0; font-size: 17px; }
.radio input { width: 20px; height: 20px; accent-color: var(--cobalt); }
.link-btn.small-link { font-size: 13px; }
.quote-box { background: #F0EEFB; border-radius: 14px; padding: 12px 14px; overflow-wrap: anywhere; white-space: pre-wrap; }

.banner { margin-top: 14px; background: #FFF3E6; box-shadow: inset 0 0 0 1.5px var(--tangerine); }

/* collaboration process */
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 8px; }
.tag { font-family: var(--display); font-size: 12.5px; font-weight: 600; background: #E1DEF7; border-radius: 999px; padding: 3px 10px; }
a.plain { text-decoration: none; }
.status { font-family: var(--display); font-size: 12.5px; font-weight: 800; border-radius: 999px; padding: 4px 11px; white-space: nowrap; background: #E1DEF7; }
.status.pending { background: #E1DEF7; }
.status.shortlisted { background: #CFE8FF; }
.status.trial { background: #FFE3B8; }
.status.invited { background: #FFD1E3; }
.status.accepted { background: #BDF0D6; }
.status.declined, .status.withdrawn { background: #ECEAF0; color: #5b5880; }
.stepper { display: flex; list-style: none; margin: 0; padding: 0; gap: 4px; font-family: var(--display); font-size: 12px; font-weight: 600; }
.stepper li { flex: 1; text-align: center; padding: 8px 2px; border-radius: 10px; background: #F0EEFB; color: #5b5880; }
.stepper li.done { background: #E3E1FF; color: var(--ink); }
.stepper li.now { background: var(--cobalt); color: #fff; }
.block { background: var(--paper); border-radius: 22px; padding: 16px 18px; margin-bottom: 14px; }
.block-title { font-family: var(--display); font-size: 16px; font-weight: 800; margin: 0 0 8px; }
.form-section { font-family: var(--display); font-size: 15px; font-weight: 800; margin: 22px 0 0; padding-top: 14px; border-top: 1px solid rgba(23,20,58,.12); }
.form-section:first-of-type { border-top: 0; margin-top: 8px; padding-top: 0; }
.seat-main .seat-desc { margin-top: 6px; }
.seat-list { list-style: none; margin: 0; padding: 0; }
.seat-card { display: flex; gap: 12px; padding: 12px 0; border-top: 1px solid rgba(23,20,58,.12); }
.seat-card:first-child { border-top: 0; }
.seat-card .dot { flex-shrink: 0; }
.seat-card-main { flex: 1; min-width: 0; }
.seat-action { margin-top: 6px; }
.facts { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; margin: 0; }
.facts dt { font-family: var(--display); font-weight: 600; font-size: 14px; opacity: .7; }
.facts dd { margin: 0; overflow-wrap: anywhere; }
.answer { margin-top: 14px; }
.answer-q { font-family: var(--display); font-weight: 600; font-size: 13px; opacity: .7; }
.answer-a { white-space: pre-wrap; overflow-wrap: anywhere; }
.clip { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.terms { background: #F4F1FF; box-shadow: inset 0 0 0 1.5px var(--cobalt); }
a.app-card { display: block; text-decoration: none; color: inherit; }
a.app-card:hover { box-shadow: 0 0 0 2px var(--cobalt); }
