:root {
  color-scheme: light;
  --ink: #0b0b0f;
  --ink-2: #55555f;
  --ink-3: #85858f;
  --line: #dddde3;
  --surface: #f3f3f6;
  --surface-2: #e9e9ee;
  --paper: #fff;
  --page: #f5f5f7;
  --blue: #0a78f0;
  --blue-text: #0a7ae6;
  --pink: #ff5aa8;
  --lime: #d8f72e;
  --indigo: #5a5fe6;
  --green: #00bd4f;
  --green-text: #00903c;
  --amber: #b86200;
  --red: #d8342a;
  --spring: cubic-bezier(.2, .9, .25, 1);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
input, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2.5px solid var(--blue); outline-offset: 2px; }
.ic { flex: none; display: block; }
.muted { color: var(--ink-3); font-weight: 500; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* wordmark */
.wordmark { font-size: 25px; font-weight: 800; letter-spacing: -.055em; line-height: 1; display: inline-block; }
.wordmark i { font-style: normal; color: var(--pink); }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 20px; border-radius: 999px;
  font-weight: 700; letter-spacing: -.01em; white-space: nowrap;
  transition: transform .15s var(--spring), background .15s, opacity .15s;
}
.btn:active { transform: scale(.97); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #2a2a33; }
.btn-ghost { background: var(--surface); }
.btn-ghost:hover { background: var(--surface-2); }
.btn-white { background: #fff; color: var(--ink); }
.btn-line { box-shadow: inset 0 0 0 2px currentColor; }
.btn-lg { height: 58px; font-size: 18px; padding: 0 28px; }
.btn-full { width: 100%; }
.btn[disabled] { opacity: .3; cursor: not-allowed; }
.btn .count {
  display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px;
  border-radius: 99px; background: var(--pink); color: var(--ink); font-size: 12px;
}
.iconbtn {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: var(--surface); flex: none; transition: background .15s, transform .15s var(--spring);
}
.iconbtn:hover { background: var(--surface-2); }
.iconbtn:active { transform: scale(.94); }
.iconbtn.on { background: var(--ink); color: #fff; }
.iconbtn.on svg { fill: currentColor; }
.linkbtn { font-weight: 600; color: var(--ink-3); padding: 8px 4px; }
.linkbtn:hover { color: var(--ink); }

/* money: the big italic figure */
.money { font-style: italic; font-weight: 800; letter-spacing: -.045em; line-height: 1; white-space: nowrap; display: inline-block; }
.money .cur { font-size: .66em; vertical-align: .3em; margin-right: .05em; letter-spacing: 0; }
.money small { font-size: .36em; font-weight: 700; letter-spacing: -.01em; margin-left: .08em; }
.money-xl { font-size: clamp(66px, 8vw, 96px); }
.money-lg { font-size: 54px; }

/* gate */
.gate { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; padding: 16px 12px 12px; }
.gate-head { display: flex; justify-content: space-between; align-items: center; padding: 0 6px; }
.gate-note { color: var(--ink-3); font-weight: 600; font-size: 14px; }
.gate-title {
  font-size: clamp(46px, 8.2vw, 120px); font-weight: 800; letter-spacing: -.055em; line-height: .96;
  padding: 18px 6px 16px;
  animation: rise .6s var(--spring) both;
}
.gate-cards { flex: 1; display: grid; gap: 10px; grid-template-rows: repeat(3, minmax(208px, 1fr)); }
.gate-card {
  position: relative; overflow: hidden; display: block; border-radius: 32px; padding: 22px;
  animation: rise .7s var(--spring) both; transition: transform .35s var(--spring);
}
.gate-card:nth-child(2) { animation-delay: .06s; }
.gate-card:nth-child(3) { animation-delay: .12s; }
.gate-card:active { transform: scale(.985); }
.gc-blue { background: var(--blue); color: #fff; }
.gc-lime { background: var(--lime); color: var(--ink); }
.gc-pink { background: var(--pink); color: var(--ink); }
.gc-label { position: relative; z-index: 2; display: block; font-size: 34px; font-weight: 800; letter-spacing: -.045em; line-height: 1; max-width: 58%; }
.gc-copy { position: relative; z-index: 2; display: block; font-size: 16.5px; font-weight: 600; line-height: 1.28; margin-top: 8px; max-width: 54%; letter-spacing: -.01em; }
.gc-go {
  position: absolute; left: 22px; bottom: 18px; z-index: 2; width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center; background: var(--ink); color: #fff; transition: transform .3s var(--spring);
}
.gc-last {
  position: absolute; right: 16px; top: 16px; z-index: 3; font-size: 13px; font-weight: 700;
  padding: 5px 10px; border-radius: 99px; background: var(--ink); color: #fff;
}
.gc-blue .gc-go { background: #fff; color: var(--ink); }
.gate-card .phone {
  position: absolute; left: 60%; top: 22px; transform: rotate(-9deg) scale(.6); transform-origin: top left;
  transition: transform .5s var(--spring);
}
.gate-foot { color: var(--ink-3); font-size: 13.5px; font-weight: 500; padding: 12px 6px 2px; text-align: center; }

/* phone mock */
.phone {
  width: 268px; height: 560px; border-radius: 42px; background: #fff; color: var(--ink);
  box-shadow: 0 0 0 7px #17171c, 0 34px 70px -24px rgba(0, 0, 0, .55);
  padding: 48px 16px 16px; overflow: hidden; position: relative; text-align: left;
}
.phone::before {
  content: ''; position: absolute; top: 12px; left: 50%; width: 86px; height: 24px; margin-left: -43px;
  border-radius: 99px; background: #0b0b0f;
}
.ph-pills { display: flex; gap: 6px; margin-bottom: 14px; white-space: nowrap; }
.ph-pills span { font-size: 12px; font-weight: 600; padding: 6px 10px; border-radius: 99px; color: var(--ink-2); }
.ph-pills span.on { background: var(--surface); color: var(--ink); }
.ph-label { font-size: 14px; font-weight: 600; color: var(--ink-3); }
.ph-money { font-size: 54px; margin: 26px 0 6px; }
.ph-sub { font-size: 13px; font-weight: 600; color: var(--ink-3); }
.ph-dial {
  display: flex; justify-content: center; align-items: baseline; gap: 14px; margin: 16px auto; padding: 8px 12px;
  border-radius: 99px; background: var(--surface); font-style: italic; font-weight: 800; width: max-content; font-size: 22px;
}
.ph-dial span { filter: blur(1.2px); opacity: .35; font-size: 18px; }
.ph-keys { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px 0; text-align: center; font-size: 25px; font-style: italic; font-weight: 700; margin-top: 18px; }
.ph-row { display: flex; align-items: center; gap: 9px; padding: 8px 0; }
.ph-row b { display: block; font-size: 13.5px; letter-spacing: -.015em; line-height: 1.2; font-weight: 700; }
.ph-row small { display: block; font-size: 11.5px; color: var(--ink-3); font-weight: 500; }
.ph-row .e { margin-left: auto; flex: none; text-align: right; font-size: 13px; font-weight: 700; }
.ph-row .e em { display: block; font-style: normal; font-size: 11px; color: var(--green-text); white-space: nowrap; }
.ph-h { font-size: 26px; font-weight: 800; letter-spacing: -.04em; margin-bottom: 8px; }

/* logos and avatars */
.logo, .ava {
  width: var(--s, 44px); height: var(--s, 44px); border-radius: 50%; flex: none;
  background: linear-gradient(145deg, var(--a), var(--b));
  display: inline-grid; place-items: center; color: #fff;
}
.logo svg { width: 58%; height: 58%; display: block; }
.ava { font-weight: 800; font-size: calc(var(--s, 44px) * .36); letter-spacing: -.03em; }

/* app shell */
.top {
  position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 12px;
  height: 62px; padding: 0 16px; background: rgba(255, 255, 255, .88);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
}
.top-pills { display: none; }
.top-right { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.role-pill {
  display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 10px 0 13px; border-radius: 99px;
  background: var(--surface); font-weight: 700; font-size: 14px; letter-spacing: -.01em;
}
.role-pill:hover { background: var(--surface-2); }
.role-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--dot, var(--blue)); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); }
.top-cta { display: none; }
.tp {
  display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 15px 0 10px; border-radius: 99px;
  font-weight: 600; color: var(--ink-2); letter-spacing: -.01em; transition: background .15s, color .15s; position: relative;
}
.tp:hover { color: var(--ink); }
.tp.on { background: var(--surface); color: var(--ink); }
.tp .glyph { width: 24px; height: 24px; display: block; }
.tp .badge, .tab .badge {
  display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 99px;
  background: var(--pink); color: var(--ink); font-size: 11px; font-weight: 800;
}
.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: flex; justify-content: space-around;
  padding: 8px 8px calc(8px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .94);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border-top: 1.5px dashed var(--line);
}
.tab {
  position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px;
  font-size: 11.5px; font-weight: 700; color: var(--ink-3); padding: 3px 0;
}
.tab.on { color: var(--blue-text); }
.tab .badge { position: absolute; top: -3px; left: calc(50% + 6px); }
.tab-plus .tab-plus-i { width: 44px; height: 44px; margin-top: -2px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; }
.tab-plus { color: var(--ink); }
.role-name { max-width: 124px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* opacity only: a transform here would capture the position:fixed apply bar on phones */
.page { max-width: 1280px; margin: 0 auto; padding: 4px 16px 112px; animation: fade .3s both; }

/* hero */
.hero { display: grid; gap: 18px; grid-template-columns: minmax(0, 1fr); }
.searchrow { display: flex; gap: 8px; align-items: center; }
.search {
  flex: 1; min-width: 0; display: flex; align-items: center; gap: 9px; height: 46px; padding: 0 16px; border-radius: 99px;
  background: var(--surface); color: var(--ink-3);
}
.search:focus-within { box-shadow: inset 0 0 0 2px var(--ink); color: var(--ink); }
.search input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; color: var(--ink); font-weight: 500; font-size: 16px; }
.search input::placeholder { color: var(--ink-3); }
.eyebrow { color: var(--ink-3); font-weight: 600; font-size: 17px; letter-spacing: -.01em; }
.hero-num { margin-top: 18px; }
.bignum { font-size: clamp(76px, 9.4vw, 136px); font-weight: 800; letter-spacing: -.06em; line-height: .96; font-variant-numeric: tabular-nums; }
.delta { font-weight: 700; display: inline-flex; align-items: center; gap: 4px; letter-spacing: -.01em; }
.up { color: var(--green-text); }

/* chart panels */
.panel { position: relative; border-radius: 32px; overflow: hidden; padding: 18px 0 0; display: flex; flex-direction: column; min-height: 212px; }
.panel-indigo { background: var(--indigo); color: #fff; }
.panel-head { display: flex; justify-content: space-between; gap: 12px; padding: 0 20px; font-weight: 700; letter-spacing: -.015em; }
.panel-head b { font-style: italic; font-weight: 800; white-space: nowrap; font-size: 20px; letter-spacing: -.03em; line-height: 1.2; }
.chart { position: relative; flex: 1; min-height: 150px; margin-top: 6px; touch-action: pan-y; cursor: crosshair; border-radius: 0 0 32px 32px; }
.chart:focus-visible { outline-offset: -5px; outline-color: #fff; }
.chart svg { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.chart-tip {
  position: absolute; top: 4px; transform: translateX(-50%); background: #fff; color: var(--ink);
  border-radius: 12px; padding: 5px 10px; font-size: 12.5px; font-weight: 600; white-space: nowrap;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .18); pointer-events: none; line-height: 1.25;
}
.chart-tip b { font-weight: 800; font-size: 15px; display: block; letter-spacing: -.02em; }
.endpulse { animation: pulse 2s ease-out infinite; transform-box: fill-box; transform-origin: center; }
.range { display: flex; justify-content: center; gap: 2px; margin-top: 10px; }
.range button { height: 36px; padding: 0 14px; border-radius: 99px; font-weight: 700; font-size: 13.5px; color: var(--ink-3); }
.range button.on { background: var(--surface); color: var(--ink); }
.range button:hover { color: var(--ink); }

/* browse: search and chips, then straight into the list */

/* chips */
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 18px -16px 0; padding: 2px 16px; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 16px; border-radius: 99px;
  background: var(--surface); font-weight: 600; letter-spacing: -.01em; transition: background .15s, color .15s, transform .15s var(--spring);
}
.chip:hover { background: var(--surface-2); }
.chip:active { transform: scale(.96); }
.chip.on { background: var(--ink); color: #fff; }
.chip.soft-on { background: #dff0ff; color: #00509f; }
.chipset { display: flex; flex-wrap: wrap; gap: 8px; }
.chipset .chip { font-size: 17px; height: 48px; padding: 0 20px; }
.chipset.sm .chip { font-size: 15px; height: 40px; padding: 0 15px; }

/* rows */
.split { display: grid; gap: 28px; margin-top: 14px; grid-template-columns: minmax(0, 1fr); }
.list-head { display: flex; align-items: center; gap: 8px; font-size: 21px; font-weight: 800; letter-spacing: -.035em; margin: 6px 0 6px; }
.live-dot { width: 11px; height: 11px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px #d9f6e4; margin-right: 3px; flex: none; }
.row {
  display: flex; align-items: center; gap: 12px; padding: 12px 10px; margin-inline: -10px; border-radius: 20px;
  transition: background .15s; cursor: pointer; width: calc(100% + 20px); text-align: left;
}
.row:hover, .row[aria-current='true'] { background: var(--surface); }
.row-main { min-width: 0; flex: 1; }
.row-title { font-weight: 700; font-size: 16.5px; letter-spacing: -.02em; line-height: 1.22; }
.accent { font-style: normal; color: var(--blue-text); font-weight: 700; white-space: nowrap; }
.row-sub { color: var(--ink-3); font-size: 14px; font-weight: 500; margin-top: 2px; line-height: 1.3; }
.soon { color: var(--amber); font-weight: 700; }
/* each separator hangs left of its item, so the one starting any line falls outside the clip */
.meta-line { display: flex; flex-wrap: wrap; column-gap: 13px; overflow: hidden; }
.meta-line span { position: relative; }
.meta-line span::before { content: '·'; position: absolute; left: -9px; color: var(--ink-3); font-weight: 500; }
.row-end { text-align: right; flex: none; }
.row-money { font-weight: 800; font-size: 16.5px; letter-spacing: -.025em; }
.row-meta { font-size: 13.5px; font-weight: 700; display: inline-flex; align-items: center; gap: 2px; justify-content: flex-end; letter-spacing: -.01em; }
.row-meta.soon { color: var(--amber); }
.row-meta.plain { color: var(--ink-3); font-weight: 500; }
.newtag { display: inline-block; font-size: 10.5px; font-weight: 800; padding: 1px 6px; border-radius: 99px; background: var(--pink); color: var(--ink); vertical-align: 2px; font-style: normal; letter-spacing: 0; }
.empty { padding: 44px 16px; text-align: center; border: 1.5px dashed var(--line); border-radius: 28px; }
.empty b { display: block; font-size: 22px; letter-spacing: -.03em; font-weight: 800; margin-bottom: 4px; }
.empty p { color: var(--ink-2); margin-bottom: 16px; }

/* job detail */
.detail { display: none; }
.job-co { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; font-weight: 700; letter-spacing: -.015em; }
.verified { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--blue); color: #fff; flex: none; }
.job-title { font-size: 25px; font-weight: 800; letter-spacing: -.035em; line-height: 1.1; margin-top: 20px; }
.job-total { color: var(--ink-3); font-weight: 600; margin-top: 8px; font-size: 15px; font-style: italic; }
.job-total b { color: var(--ink); font-weight: 800; }
.trust { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.trust span { display: inline-flex; gap: 4px; align-items: center; font-size: 13.5px; font-weight: 700; padding: 5px 10px 5px 7px; border-radius: 99px; background: var(--surface); letter-spacing: -.01em; }
.trust span.warn { background: #fff0e0; color: var(--amber); }
.why { margin-top: 18px; padding: 15px 16px; border-radius: 22px; background: #e8f4ff; }
.why-head { font-weight: 800; letter-spacing: -.02em; margin-bottom: 6px; }
.why li { display: flex; gap: 7px; align-items: flex-start; font-weight: 500; font-size: 15px; padding: 1.5px 0; }
.why li .ic { margin-top: 2px; }
.why li.yes .ic { color: var(--blue-text); }
.why li.no { color: var(--ink-2); }
.facts { margin-top: 18px; }
.facts > div { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px 0; border-top: 1.5px dashed var(--line); }
.facts > div:last-child { border-bottom: 1.5px dashed var(--line); }
.facts dt { color: var(--ink-3); font-weight: 500; }
.facts dd { font-weight: 700; letter-spacing: -.015em; text-align: right; }
.tasks li { position: relative; padding: 4px 0 4px 22px; color: #2c2c34; }
.tasks li::before { content: ''; position: absolute; left: 3px; top: 12px; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: inset 0 0 0 1.5px var(--ink); }
.tag { display: inline-flex; align-items: center; gap: 4px; font-size: 14.5px; font-weight: 600; padding: 6px 12px; border-radius: 99px; background: var(--surface); }
.tag.hit { background: #dff0ff; color: #00509f; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.applied-tag { display: inline-flex; align-items: center; justify-content: center; gap: 6px; flex: 1; height: 58px; border-radius: 99px; background: #e0f8e9; color: var(--green-text); font-weight: 800; }
body[data-view='detail'] .tabbar { display: none; }
body[data-view='detail'] .page { padding-bottom: 120px; }

/* app pages: grey ground, white cards */
body.on-page { background: var(--page); }
.results .search, .results .chip, .job-switch a, .people-head .seg, .people-head .btn-ghost { background: #fff; }
.results .chip:hover { background: var(--surface-2); }
.results .chip.on { background: var(--ink); }
.on-page .range button.on { background: #fff; }
.job-switch a.on { background: var(--ink); }
#people-list, .two-col > div { background: #fff; border-radius: 28px; padding: 12px 20px 16px; min-width: 0; }
#people-list .empty, .two-col .empty { border: 0; }
.job { background: #fff; border-radius: 28px; padding: 22px 22px 0; }

/* browse: filter panel, then cards */
.browse { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; align-items: start; }
.results-title { font-size: clamp(25px, 3vw, 34px); font-weight: 800; letter-spacing: -.04em; line-height: 1.1; margin: 6px 0 14px; }
.results .chips { margin-top: 12px; }
.filters-side .opt:first-of-type { border-top: 0; padding-top: 6px; }
.filters-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.filters-head h2 { font-size: 22px; font-weight: 800; letter-spacing: -.035em; }
.cards { display: grid; gap: 12px; margin-top: 14px; grid-template-columns: minmax(0, 1fr); }
.saved-cards { max-width: 860px; }
.card {
  display: block; background: #fff; border-radius: 28px; padding: 18px;
  transition: transform .28s var(--spring), box-shadow .28s;
}
a.card:hover { transform: translateY(-2px); box-shadow: 0 14px 34px -18px rgba(11, 11, 15, .28); }
.card-still { border: 1.5px solid var(--line); margin-top: 16px; }
.card-top { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 4px 12px; }
.card-head { flex: 1; min-width: 0; flex-basis: calc(100% - 60px); }
.card-title { font-size: 19px; font-weight: 800; letter-spacing: -.03em; line-height: 1.18; overflow-wrap: anywhere; }
.card-co { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; margin-top: 3px; font-weight: 600; color: var(--ink-2); letter-spacing: -.01em; }
.card-reply { font-size: 13px; font-weight: 600; color: var(--ink-3); padding-left: 2px; }
.card-pay { width: 100%; display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: 10px; }
.money-card { font-size: 30px; }
.money-card .cur { font-size: .7em; vertical-align: .2em; }
.card-match { font-size: 14px; font-weight: 700; color: var(--green-text); letter-spacing: -.01em; white-space: nowrap; }
.card-facts { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 12px; font-size: 14.5px; font-weight: 500; color: #33333b; letter-spacing: -.005em; }
.card-facts li { display: inline-flex; align-items: center; gap: 6px; }
.card-facts .ic { color: var(--ink-3); }
.card-desc { margin-top: 10px; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 16px; margin-top: 12px; padding-top: 12px; border-top: 1.5px dashed var(--line); font-size: 13.5px; font-weight: 500; color: var(--ink-3); }
.card-skills .hit { color: #00509f; font-weight: 700; }

/* internship page */
.jp { max-width: 860px; margin: 0 auto; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; padding: 4px 0 12px; font-size: 14.5px; font-weight: 600; color: var(--ink-3); }
.crumbs > a:not(.iconbtn):hover { color: var(--ink); }
.crumbs .iconbtn { background: #fff; margin-right: 4px; }
.crumbs .ic { flex: none; }
.crumbs .here { color: var(--ink); min-width: 0; }
.jp-card { background: #fff; border-radius: 32px; padding: 20px; margin-top: 12px; }
.crumbs + .jp-card { margin-top: 0; }
/* phones keep the buttons beside the location; desktop moves them up beside the title */
.jp-head {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center;
  grid-template-areas: "logo who who" "where where actions";
}
.jp-head > .logo { grid-area: logo; align-self: start; }
.jp-who { grid-area: who; min-width: 0; }
.jp-title { font-size: clamp(25px, 3.4vw, 38px); font-weight: 800; letter-spacing: -.045em; line-height: 1.08; overflow-wrap: anywhere; }
.jp-who .job-co { margin-top: 4px; color: var(--ink-2); }
.jp-actions { grid-area: actions; display: flex; gap: 8px; }
.jp-where { grid-area: where; min-width: 0; display: flex; align-items: center; gap: 7px; font-weight: 600; letter-spacing: -.01em; }
.jp-where .ic { color: var(--ink-3); }
.jp-money { margin-top: 14px; }
.jp-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; margin-top: 18px; padding-top: 18px; border-top: 1.5px dashed var(--line); }
.jp-fact dt { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-3); }
.jp-fact dd { margin-top: 4px; font-weight: 700; letter-spacing: -.015em; }
.jp-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; padding-top: 16px; border-top: 1.5px dashed var(--line); }
.jp-people { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; color: var(--ink-2); }
.jp-apply-inline { display: none; }
.jp-body h2 { font-size: 20px; font-weight: 800; letter-spacing: -.03em; margin: 26px 0 8px; }
.jp-body h2:first-child { margin-top: 0; }
.jp-body p { color: #33333b; }
.jp-steps { counter-reset: step; display: grid; gap: 8px; }
.jp-steps li { counter-increment: step; position: relative; padding-left: 34px; color: #33333b; min-height: 24px; }
.jp-steps li::before {
  content: counter(step); position: absolute; left: 0; top: -1px; width: 24px; height: 24px; border-radius: 50%;
  display: grid; place-items: center; background: var(--lime); color: var(--ink); font-size: 13px; font-weight: 800; font-style: italic;
}
.jp-co-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; margin-bottom: 10px; font-weight: 600; color: var(--ink-2); }
.jp-co-meta span, .jp-co-meta a { display: inline-flex; align-items: center; gap: 6px; }
.jp-co-meta .ic { color: var(--ink-3); }
.jp-co-meta a .ic { color: inherit; }
.jp-activity { margin-top: 16px; padding: 16px 18px; border: 1.5px dashed var(--line); border-radius: 22px; }
.jp-activity h3 { font-size: 16px; font-weight: 800; letter-spacing: -.02em; margin-bottom: 10px; }
.jp-activity ul { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.jp-activity li { display: inline-flex; align-items: center; gap: 7px; font-weight: 500; color: #33333b; }
.jp-activity .ic { color: var(--ink-3); }
.jp-bottom { justify-content: center; margin-top: 22px; }
.jp-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; display: flex;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: #fff; border-top: 1.5px dashed var(--line);
}
.jp-cta .btn, .jp-cta .applied-tag { flex: 1; }
.jp .why { margin-top: 14px; }

/* sheets */
.sheet-wrap { position: fixed; inset: 0; z-index: 50; display: flex; align-items: flex-end; justify-content: center; }
.sheet-bg { position: absolute; inset: 0; background: rgba(11, 11, 15, .45); animation: fade .22s both; }
.sheet {
  position: relative; width: 100%; max-width: 560px; max-height: 92vh; max-height: 92dvh; overflow-y: auto;
  background: #fff; border-radius: 32px 32px 0 0; padding: 22px 20px calc(20px + env(safe-area-inset-bottom));
  animation: rise .36s var(--spring) both;
}
.sheet-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 8px; }
.sheet-head h2 { font-size: 26px; font-weight: 800; letter-spacing: -.04em; line-height: 1.1; }
.sheet-head p { color: var(--ink-2); margin-top: 4px; }
.sheet-close { width: 38px; height: 38px; }
.opt { padding: 16px 0; border-top: 1.5px dashed var(--line); }
.opt-label { font-weight: 700; letter-spacing: -.015em; margin-bottom: 10px; display: flex; justify-content: space-between; }
.opt-label span { color: var(--ink-3); font-weight: 600; }
.opt-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.opt-row .opt-label { margin: 0; }
.sheet-foot { position: sticky; bottom: -20px; background: #fff; padding: 12px 0 0; margin-top: 4px; }
.pickrow { display: flex; align-items: center; gap: 12px; width: 100%; padding: 15px 0; border-top: 1.5px dashed var(--line); text-align: left; font-weight: 700; letter-spacing: -.015em; }
.pickrow:hover { color: var(--blue-text); }
.pickrow .big-dot { width: 34px; height: 34px; border-radius: 50%; background: var(--dot); flex: none; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08); }
.pickrow small { display: block; font-weight: 500; font-size: 14px; color: var(--ink-3); }
.pickrow .ic:last-child { margin-left: auto; color: var(--ink-3); }
.pickrow.cur { color: var(--ink-3); cursor: default; }
.checkrow { display: flex; align-items: center; gap: 12px; padding: 13px 0; border-top: 1.5px dashed var(--line); font-weight: 600; }
.checkrow small { display: block; color: var(--ink-3); font-weight: 500; font-size: 14px; }
.checkrow .tick { margin-left: auto; width: 26px; height: 26px; border-radius: 50%; background: #e0f8e9; color: var(--green-text); display: grid; place-items: center; flex: none; }
.textarea {
  width: 100%; min-height: 96px; padding: 14px 16px; border-radius: 20px; background: var(--surface); border: 2px solid transparent;
  outline: 0; font-size: 16px; font-weight: 500; resize: vertical; line-height: 1.4; display: block;
}
.textarea:focus { border-color: var(--ink); background: #fff; }

/* slide to confirm */
.slider {
  position: relative; height: 66px; border-radius: 99px; background: var(--ink); color: #fff; overflow: hidden;
  display: grid; place-items: center; user-select: none; -webkit-user-select: none; margin-top: 14px;
}
.slider-label { font-weight: 700; font-size: 17px; letter-spacing: -.01em; opacity: calc(1 - var(--p, 0) * 1.6); }
.slider-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 66px; background: var(--lime); border-radius: 99px; }
.slider-knob {
  position: absolute; left: 6px; top: 6px; width: 54px; height: 54px; border-radius: 50%; background: var(--lime); color: var(--ink);
  display: grid; place-items: center; touch-action: none; cursor: grab; transition: transform .35s var(--spring);
}
.slider-fill { transition: width .35s var(--spring); }
.slider.dragging .slider-knob, .slider.dragging .slider-fill { transition: none; }
.slider.dragging .slider-knob { cursor: grabbing; }
.slider.nudge .slider-knob { animation: nudge .5s var(--spring); }

/* dial */
.dial { position: relative; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x mandatory; border-radius: 99px; background: var(--surface); outline-offset: 3px; cursor: grab; }
.dial::-webkit-scrollbar { display: none; }
.dial.dragging { scroll-snap-type: none; cursor: grabbing; }
.dial-track {
  display: flex; width: max-content; padding: 8px calc(50% - 42px) 16px;
  background-image: repeating-linear-gradient(90deg, #b9b9c2 0 1.5px, transparent 1.5px 14px);
  background-size: 100% 7px; background-position: 0 calc(100% - 7px); background-repeat: no-repeat;
}
.dial-v {
  flex: none; width: 84px; height: 40px; scroll-snap-align: center; text-align: center; font-style: italic; font-weight: 800;
  font-size: 20px; letter-spacing: -.03em; white-space: nowrap; transition: filter .15s, opacity .15s, font-size .15s;
  filter: blur(calc(var(--d, 2) * .55px)); opacity: calc(1 - var(--d, 2) * .24);
}
.dial-v.on { font-size: 24px; filter: none; opacity: 1; }
.dial-wrap { position: relative; }
.dial-wrap::after { content: ''; position: absolute; left: 50%; bottom: 6px; width: 2px; height: 14px; margin-left: -1px; background: var(--red); border-radius: 2px; pointer-events: none; }
.dial-cap { display: block; text-align: center; font-size: 12px; font-style: italic; font-weight: 700; color: var(--ink-3); margin-top: 5px; letter-spacing: .02em; }

/* switch and stepper and segmented */
.sw { width: 52px; height: 32px; border-radius: 99px; background: var(--surface-2); position: relative; transition: background .2s; flex: none; }
.sw::after { content: ''; position: absolute; left: 3px; top: 3px; width: 26px; height: 26px; border-radius: 50%; background: #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, .25); transition: transform .25s var(--spring); }
.sw[aria-checked='true'] { background: var(--ink); }
.sw[aria-checked='true']::after { transform: translateX(20px); }
.seg { display: inline-flex; background: var(--surface); border-radius: 99px; padding: 4px; }
.seg button { height: 40px; padding: 0 17px; border-radius: 99px; font-weight: 600; color: var(--ink-2); transition: background .15s, color .15s; white-space: nowrap; }
.seg button.on { background: #fff; color: var(--ink); box-shadow: 0 1px 5px rgba(0, 0, 0, .14); font-weight: 700; }
.seg .n { font-weight: 800; color: var(--ink-3); margin-left: 4px; font-size: 14px; }
.seg button.on .n { color: var(--blue-text); }
.seg-scroll { overflow-x: auto; scrollbar-width: none; margin-inline: -16px; padding-inline: 16px; }
.seg-scroll::-webkit-scrollbar { display: none; }
.stepper { display: inline-flex; align-items: center; gap: 12px; font-weight: 800; font-size: 19px; }
.stepper button { width: 38px; height: 38px; border-radius: 50%; background: var(--surface); display: grid; place-items: center; }
.stepper button:hover { background: var(--surface-2); }
.stepper output { min-width: 20px; text-align: center; font-style: italic; }

/* one-question flows */
.flow { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; width: 100%; max-width: 660px; margin: 0 auto; padding: 12px 16px 20px; }
.flow-top { display: flex; align-items: center; gap: 12px; height: 48px; }
.progress { flex: 1; height: 6px; border-radius: 99px; background: var(--surface); overflow: hidden; }
.progress i { display: block; height: 100%; border-radius: 99px; background: var(--flow, var(--blue)); transition: width .45s var(--spring); }
.flow-body { flex: 1; padding: 26px 0 20px; animation: pagein .4s var(--spring) both; }
.flow h1 { font-size: clamp(38px, 6vw, 60px); font-weight: 800; letter-spacing: -.05em; line-height: 1; }
.flow-help { color: var(--ink-2); font-size: 17px; margin: 10px 0 0; font-weight: 500; letter-spacing: -.01em; }
.flow-space { margin-top: 26px; }
.flow-foot { position: sticky; bottom: 0; display: grid; gap: 6px; z-index: 4; padding: 8px 0 12px; background: #fff; }
.flow-note { text-align: center; font-weight: 600; color: var(--ink-3); font-size: 15px; min-height: 22px; min-width: 0; }
.flow-note b { color: var(--ink); font-weight: 800; }
.flow-foot[hidden] { display: none; }
.sel-name { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* college step */
.inst-state-search { margin-top: 18px; }
.state-list { margin-top: 10px; }
.state-list .pickrow:first-child { border-top: 0; }
.inst-bar { position: sticky; top: 0; z-index: 3; margin-top: 12px; padding: 8px 0; background: #fff; }
.inst-bar .chips { margin-top: 10px; }
.inst-bar .chip { height: 36px; padding: 0 13px; font-size: 14.5px; }
.chip .n { font-size: 13px; font-weight: 800; opacity: .62; }
.inst-row {
  display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 8px; text-align: left; border-radius: 16px;
  transition: background .12s; position: relative;
}
.inst-row + .inst-row::before { content: ''; position: absolute; left: 8px; right: 8px; top: 0; border-top: 1.5px dashed var(--line); }
.inst-row:hover { background: var(--surface); }
.inst-row.on { background: #e8f4ff; }
.inst-text { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.inst-name { display: block; font-weight: 700; letter-spacing: -.015em; line-height: 1.26; }
.inst-sub { display: block; margin-top: 2px; color: var(--ink-3); font-size: 14px; font-weight: 500; }
.inst-tick { width: 26px; height: 26px; border-radius: 50%; flex: none; display: grid; place-items: center; background: var(--blue); color: #fff; opacity: 0; transition: opacity .12s; }
.inst-row.on .inst-tick { opacity: 1; }
.inst-more { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 10px; color: var(--ink-3); font-weight: 600; font-size: 14.5px; }
.inst-more:empty { display: none; }
.inst-manual { margin-top: 16px; color: var(--ink-2); font-weight: 500; }
.inst-source { margin-top: 8px; color: var(--ink-3); font-size: 13.5px; }
.inst-loading { margin-top: 16px; gap: 22px; }
.inst-loading i { height: 14px; }
.me-top > div { min-width: 0; overflow-wrap: anywhere; }
.row-sub, .quote { overflow-wrap: anywhere; }
.field { display: block; margin-top: 14px; }
.name-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.name-fields .field { margin-top: 0; min-width: 0; }
.name-fields .input { padding: 0 16px; }
.field > span { display: block; font-weight: 700; color: var(--ink-2); font-size: 15px; margin: 0 0 6px 4px; }
.input {
  width: 100%; height: 60px; padding: 0 20px; border-radius: 20px; background: var(--surface); border: 2px solid transparent; outline: 0;
  font-size: 19px; font-weight: 600; letter-spacing: -.015em; transition: background .15s, border-color .15s;
}
.input::placeholder, .textarea::placeholder { color: #a5a5ae; font-weight: 500; }
.input:focus { border-color: var(--ink); background: #fff; }
.input-sm { height: 44px; font-size: 16px; padding: 0 16px; border-radius: 99px; }

/* post flow */
.post { display: block; min-height: 100vh; min-height: 100dvh; }
.post-side { display: none; }
.post .flow { max-width: 620px; }
.post-money { font-size: clamp(62px, 13vw, 92px); margin-top: 20px; display: block; text-align: center; }
.post-money-sub { text-align: center; font-style: italic; color: var(--ink-3); font-weight: 600; margin-top: 6px; }
.post-money-sub b { color: var(--ink); font-weight: 800; }
.keypad { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 8px; }
.keypad button { height: 52px; font-size: 26px; font-style: italic; font-weight: 700; border-radius: 16px; display: grid; place-items: center; transition: background .1s; }
.keypad button:hover { background: var(--surface); }
.keypad button:active { background: var(--surface-2); }
.warn-line { display: flex; gap: 7px; font-weight: 600; font-size: 14.5px; color: var(--amber); margin-top: 8px; justify-content: center; text-align: center; }
.textbtn { color: var(--blue-text); font-weight: 700; font-size: 15px; }
.textbtn:hover { text-decoration: underline; }

.noanim .flow-body, .noanim .page { animation: none; }
.two-col { margin-top: 20px; display: grid; gap: 22px; grid-template-columns: minmax(0, 1fr); }
.post-side .phone { display: flex; flex-direction: column; }
#post-preview { flex: 1; display: flex; flex-direction: column; min-height: 0; }
#post-preview .job-co { flex: none; }
.nb { white-space: nowrap; }
.ph-apply { margin-top: auto; flex: none; display: flex; align-items: center; justify-content: center; gap: 6px; height: 50px; border-radius: 99px; background: var(--ink); color: #fff; font-weight: 700; }
.ph-ghost { margin-top: 18px; display: grid; gap: 10px; }
.ph-ghost i { display: block; height: 11px; border-radius: 99px; background: var(--surface); }
.ph-ghost i:nth-child(2) { width: 82%; }
.ph-ghost i:nth-child(3) { width: 64%; }

/* applied tracker */
.head-num { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px; margin-top: 18px; }
.page-title { font-size: clamp(40px, 6vw, 72px); font-weight: 800; letter-spacing: -.05em; line-height: 1; }
.app-card { display: block; padding: 18px; border-radius: 28px; background: #fff; margin-top: 12px; transition: box-shadow .28s, transform .28s var(--spring); }
.app-card:hover { transform: translateY(-2px); box-shadow: 0 14px 34px -18px rgba(11, 11, 15, .28); }
.app-head { display: flex; align-items: center; gap: 12px; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 16px; }
.steps li { position: relative; font-size: 13px; font-weight: 600; color: var(--ink-3); padding-top: 18px; }
.steps li::before { content: ''; position: absolute; top: 2px; left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--surface-2); z-index: 1; }
.steps li::after { content: ''; position: absolute; top: 7px; left: 12px; right: 0; border-top: 2px dashed var(--surface-2); }
.steps li:last-child::after { display: none; }
.steps li.done, .steps li.now { color: var(--ink); }
.steps li.done::before { background: var(--blue); }
.steps li.done::after { border-top: 2px solid var(--blue); }
.steps li.now { font-weight: 800; }
.steps li.now::before { background: var(--blue); box-shadow: 0 0 0 4px #cfe6ff; }
.steps.closed li.now::before { background: var(--ink-3); box-shadow: 0 0 0 4px var(--surface-2); }
.app-next { margin-top: 12px; padding-top: 12px; border-top: 1.5px dashed var(--line); color: var(--ink-2); font-weight: 500; font-size: 15px; }

/* profile and company */
.me-top { display: flex; align-items: center; gap: 16px; margin-top: 14px; }
.me-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.narrow { max-width: 640px; background: #fff; border-radius: 28px; padding: 20px; margin-top: 14px; }
.narrow .me-top { margin-top: 0; }

/* candidate detail */
.cand-top { display: flex; align-items: center; gap: 14px; }
.cand-top h2 { font-size: 26px; font-weight: 800; letter-spacing: -.04em; line-height: 1.1; }
.cand-top p { color: var(--ink-3); font-weight: 500; }
.matchline { display: flex; align-items: baseline; gap: 8px; margin-top: 16px; }
.matchline b { font-size: 54px; font-style: italic; font-weight: 800; letter-spacing: -.05em; line-height: 1; }
.matchline span { color: var(--ink-3); font-weight: 600; }
.quote { margin-top: 16px; padding: 16px 18px; background: var(--surface); border-radius: 22px; font-size: 16.5px; font-weight: 500; line-height: 1.4; }
.quote small { display: block; color: var(--ink-3); font-weight: 600; font-size: 13.5px; margin-bottom: 4px; }
.cand-actions { display: flex; gap: 8px; margin-top: 18px; }
.cand-actions .btn { flex: 1; }
.you-tag { display: inline-block; font-style: normal; background: var(--lime); color: var(--ink); font-size: 11.5px; font-weight: 800; padding: 1px 7px; border-radius: 99px; vertical-align: 2px; }
.job-switch { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 16px -16px 0; padding: 2px 16px; }
.job-switch::-webkit-scrollbar { display: none; }
.job-switch a {
  flex: none; padding: 10px 16px; border-radius: 22px; background: var(--surface); font-weight: 700; letter-spacing: -.015em; line-height: 1.2; font-size: 15px; max-width: 250px;
}
.job-switch a small { display: block; font-weight: 500; color: var(--ink-3); font-size: 13px; }
.job-switch a.on { background: var(--ink); color: #fff; }
.job-switch a.on small { color: #b6b6c2; }
.people-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.people-title { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 14px; }

/* swipe mode */
.seg a { display: inline-flex; align-items: center; gap: 5px; height: 40px; padding: 0 15px; border-radius: 99px; font-weight: 600; color: var(--ink-2); white-space: nowrap; transition: background .15s, color .15s; }
.mode-seg { background: #fff; flex: none; }
.mode-seg a.on { background: var(--ink); color: #fff; font-weight: 700; }
.mode-seg a.on .n { color: var(--lime); }
body[data-view='swipe'] .tabbar { display: none; }
body[data-view='swipe'] .page { padding-bottom: 0; }
.swipe { display: flex; flex-direction: column; width: 100%; max-width: 480px; min-height: 496px; height: calc(100vh - 66px); height: calc(100dvh - 66px); margin: 0 auto; padding-bottom: 8px; }
.swipe-head { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.swipe-job { flex: 1; min-width: 0; display: flex; align-items: center; gap: 4px; text-align: left; }
.swipe-job-text { min-width: 0; }
.sj-title { display: block; font-weight: 800; letter-spacing: -.025em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.swipe-job small { display: block; color: var(--ink-3); font-size: 13.5px; font-weight: 600; }
.swipe .progress { flex: none; margin-top: 10px; background: var(--surface-2); }
.swipe .progress i { background: var(--ink); }
.deck { position: relative; flex: 1; min-height: 0; margin: 12px 0 34px; }
.swipe-card {
  position: absolute; inset: 0; display: flex; flex-direction: column; overflow: hidden; background: #fff; border-radius: 32px;
  box-shadow: 0 18px 40px -22px rgba(11, 11, 15, .38); touch-action: none; -webkit-user-select: none; user-select: none; cursor: grab;
  transform-origin: 50% 90%; transition: transform .34s var(--spring), opacity .25s;
}
.swipe-card[data-pos='1'] { transform: translateY(13px) scale(.955); pointer-events: none; }
.swipe-card[data-pos='2'] { transform: translateY(26px) scale(.91); pointer-events: none; }
.swipe-card.dragging { transition: none; cursor: grabbing; }
.swipe-card.flying { pointer-events: none; }
.stamp { position: absolute; top: 20px; z-index: 3; padding: 8px 14px; border-radius: 14px; font-size: 21px; font-weight: 800; letter-spacing: .01em; pointer-events: none; }
.stamp-right { left: 18px; transform: rotate(-8deg); background: var(--ink); color: var(--lime); opacity: var(--sr, 0); }
.stamp-left { right: 18px; transform: rotate(8deg); background: var(--red); color: #fff; opacity: var(--sl, 0); }
.stamp-up { left: 50%; top: auto; bottom: 62px; transform: translateX(-50%) rotate(-3deg); background: var(--indigo); color: #fff; opacity: var(--su, 0); }
.sc-panel { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 22px; background-size: 7px 7px; }
.sc-hi { background-color: var(--lime); color: var(--ink); background-image: radial-gradient(rgba(11, 11, 15, .1) 1.1px, transparent 1.3px); }
.sc-mid { background-color: var(--blue); color: #fff; background-image: radial-gradient(rgba(255, 255, 255, .22) 1.1px, transparent 1.3px); }
.sc-lo { background-color: var(--surface-2); color: var(--ink); background-image: radial-gradient(rgba(11, 11, 15, .08) 1.1px, transparent 1.3px); }
.sc-panel .ava { box-shadow: 0 0 0 3px #fff; }
.sc-match { text-align: right; }
.sc-match b { display: block; font-size: 66px; font-style: italic; font-weight: 800; letter-spacing: -.055em; line-height: .95; }
.sc-match span { font-size: 14px; font-weight: 700; }
.sc-body { flex: 1; min-height: 0; overflow: hidden; padding: 16px 22px 0; -webkit-mask-image: linear-gradient(#000 calc(100% - 26px), transparent); mask-image: linear-gradient(#000 calc(100% - 26px), transparent); }
.sc-name { font-size: 26px; font-weight: 800; letter-spacing: -.04em; line-height: 1.1; overflow-wrap: anywhere; }
.sc-sub { margin-top: 3px; color: var(--ink-3); font-weight: 500; overflow-wrap: anywhere; }
.sc-body .quote { margin-top: 12px; }
.sc-label { margin-top: 14px; font-size: 14px; font-weight: 700; color: var(--ink-2); }
.sc-body .tags { margin-top: 7px; }
.sc-foot { flex: none; display: flex; align-items: center; gap: 7px; padding: 10px 22px 14px; border-top: 1.5px dashed var(--line); font-size: 14px; font-weight: 600; color: var(--ink-2); }
.sc-foot > span:first-of-type { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sc-when { margin-left: auto; flex: none; color: var(--ink-3); font-weight: 500; }
.swipe-actions { flex: none; display: flex; justify-content: center; align-items: flex-end; gap: 10px; }
.sa { display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 56px; font-size: 12px; font-weight: 700; color: var(--ink-2); transition: opacity .15s; }
.sa:disabled { opacity: .35; cursor: not-allowed; }
.sa-i { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 50%; background: #fff; color: var(--ink); box-shadow: 0 8px 20px -12px rgba(11, 11, 15, .45); transition: transform .2s var(--spring); }
.sa:not(:disabled):hover .sa-i { transform: translateY(-2px) scale(1.04); }
.sa:not(:disabled):active .sa-i { transform: scale(.92); }
.sa-sm .sa-i { width: 46px; height: 46px; }
.sa-pass .sa-i { color: var(--red); }
.sa-star .sa-i { width: 54px; height: 54px; background: var(--indigo); color: #fff; }
.sa-yes .sa-i { background: var(--lime); }
.swipe-keys { flex: none; margin-top: 8px; text-align: center; color: var(--ink-3); font-size: 13px; font-weight: 500; }
.swipe-end {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 12px; padding: 24px; overflow-y: auto;
  border-radius: 32px; background-color: var(--lime); background-image: radial-gradient(rgba(11, 11, 15, .08) 1.1px, transparent 1.3px); background-size: 7px 7px;
}
.swipe-end-big { font-size: clamp(54px, 15vw, 76px); font-weight: 800; letter-spacing: -.06em; line-height: .95; }
.swipe-end p { font-size: 18px; font-weight: 600; letter-spacing: -.02em; line-height: 1.25; }
.swipe-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 12px 0; border-block: 1.5px dashed rgba(11, 11, 15, .3); }
.swipe-stats b { display: block; font-size: 38px; font-style: italic; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.swipe-stats span { font-size: 13.5px; font-weight: 700; }
.swipe-end-actions { display: grid; gap: 8px; margin-top: 4px; }
.swipe-end-actions .btn { width: 100%; height: auto; min-height: 56px; padding-block: 8px; white-space: normal; text-align: center; line-height: 1.2; }
.take-pink { background: var(--pink); color: var(--ink); }
.match-big { font-size: clamp(72px, 14vw, 190px); }
.match-faces { display: flex; }
.match-faces .ava { margin-left: -18px; box-shadow: 0 0 0 5px var(--pink); }

/* takeover */
.take {
  position: fixed; inset: 0; z-index: 70; padding: 20px; display: flex; flex-direction: column; justify-content: space-between;
  overflow-y: auto; animation: wipein .55s var(--spring) both;
}
.take-lime { background: var(--lime); color: var(--ink); }
.take-blue { background: var(--blue); color: #fff; }
.take-big { font-size: clamp(96px, 24vw, 300px); font-weight: 800; letter-spacing: -.07em; line-height: .86; }
.take-copy { font-size: clamp(20px, 2.6vw, 30px); font-weight: 600; letter-spacing: -.025em; line-height: 1.2; margin-top: 16px; max-width: 760px; }
.take-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }

/* screen wipe */
.wipe { position: fixed; inset: 0; z-index: 80; pointer-events: none; }

/* toast */
#toast-root { position: fixed; left: 50%; bottom: calc(86px + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 90; display: grid; gap: 8px; width: max-content; max-width: calc(100vw - 32px); }
.toast { background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 99px; font-weight: 600; animation: rise .35s var(--spring) both; letter-spacing: -.01em; text-align: center; }

@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes pagein { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes pulse { 0% { opacity: .75; transform: scale(1); } 100% { opacity: 0; transform: scale(3.2); } }
@keyframes nudge { 40% { transform: translateX(26px); } }
@keyframes wipein { from { clip-path: circle(0 at 50% 85%); } to { clip-path: circle(150% at 50% 85%); } }

/* desktop */
@media (min-width: 960px) {
  /* a set height, so the cards share the screen instead of growing to fit their phones */
  .gate { padding: 18px 22px 14px; height: 100vh; height: 100dvh; min-height: 620px; }
  .gate-title { padding: 14px 6px 20px; }
  .gate-cards { min-height: 0; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: minmax(0, 1fr); gap: 14px; }
  .gate-card { display: flex; flex-direction: column; min-height: 0; padding: 30px; border-radius: 40px; transition: transform .45s var(--spring); }
  .gate-card:hover { transform: translateY(-5px); }
  /* 64px keeps the text out of the arrow's column at any card width */
  .gc-label { font-size: clamp(36px, 3.5vw, 54px); max-width: calc(100% - 64px); letter-spacing: -.05em; }
  .gc-copy { font-size: clamp(17px, 1.45vw, 21px); max-width: calc(100% - 64px); margin: 10px 0 34px; line-height: 1.22; }
  .gc-go { left: auto; right: 26px; top: 26px; bottom: auto; width: 52px; height: 52px; }
  .gc-last { right: auto; left: 30px; top: auto; bottom: 26px; }
  /* in the flow: the top margin pushes phones to a shared line when there's room, and
     collapses to zero when there isn't, so a phone can never land on the card's text */
  .gate-card .phone {
    position: relative; left: auto; top: auto; flex: none;
    margin: auto auto -150px; transform-origin: top center;
    transform: rotate(-7deg) scale(var(--phone-scale, .92));
  }
  .gate-card:nth-child(2) .phone { transform: rotate(5deg) scale(var(--phone-scale, .92)); }
  .gate-card:nth-child(3) .phone { transform: rotate(-3deg) scale(var(--phone-scale, .92)); }
  .gate-card:hover .phone { transform: translateY(-16px) rotate(-5deg) scale(var(--phone-scale, .92)); }
  .gate-card:nth-child(2):hover .phone { transform: translateY(-16px) rotate(3deg) scale(var(--phone-scale, .92)); }
  .gate-card:nth-child(3):hover .phone { transform: translateY(-16px) rotate(-1deg) scale(var(--phone-scale, .92)); }
  .gate-card:hover .gc-go { transform: translateX(4px); }

  /* lines the header up with .page on screens wider than its 1280px */
  .top { padding: 0 max(32px, calc((100vw - 1280px) / 2 + 32px)); height: 72px; gap: 24px; }
  .top-pills { display: flex; gap: 2px; }
  .top-cta { display: inline-flex; }
  .tabbar { display: none; }
  .page { padding: 6px 32px 64px; }
  .hero { grid-template-columns: minmax(360px, 5fr) minmax(0, 7fr); gap: 36px; align-items: stretch; }
  .hero-left { display: flex; flex-direction: column; }
  .hero-num { margin-top: auto; padding-top: 24px; }
  .panel { min-height: 262px; border-radius: 36px; }
  .chart { border-radius: 0 0 36px 36px; }
  .chips { margin: 22px 0 0; padding: 2px 0; flex-wrap: wrap; }
  .split { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 36px; align-items: start; margin-top: 18px; }
  .detail { display: block; position: sticky; top: 84px; }
  .job { border-radius: 36px; padding: 24px 28px 0; max-height: calc(100vh - 100px); overflow-y: auto; scrollbar-width: thin; }

  .browse { grid-template-columns: 312px minmax(0, 1fr); gap: 24px; }
  .filters-side {
    position: sticky; top: 84px; max-height: calc(100vh - 100px); overflow-y: auto; scrollbar-width: thin;
    background: #fff; border-radius: 28px; padding: 20px 22px 8px;
  }
  .filters-side .opt { padding: 14px 0; }
  .filters-side .chip { height: 34px; padding: 0 12px; font-size: 14px; }
  .filters-side .seg { display: flex; }
  .filters-side .seg button { flex: 1 1 auto; height: 34px; padding: 0 8px; font-size: 13.5px; }
  .results-title { margin-top: 10px; }
  .card { padding: 22px 24px; }
  .card-top { flex-wrap: nowrap; gap: 14px; }
  .card-head { flex-basis: auto; }
  .card-title { font-size: 21px; }
  .card-pay { width: auto; flex: none; display: block; margin-top: 0; text-align: right; }
  .card-match { margin-top: 5px; }
  .card-desc { display: block; white-space: nowrap; text-overflow: ellipsis; }

  .jp-card { padding: 28px 32px; border-radius: 36px; }
  .jp-head { align-items: start; grid-template-areas: "logo who actions" "where where where"; }
  .jp-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .jp-apply-inline { display: flex; }
  .jp-foot .btn { min-width: 200px; }
  .jp-bottom .btn { min-width: 260px; }
  .jp-cta { display: none; }
  .swipe { height: calc(100vh - 78px); height: calc(100dvh - 78px); max-height: 840px; }
  body[data-view='detail'] .page { padding-bottom: 64px; }
  .sheet-wrap { align-items: center; padding: 20px; }
  .sheet { border-radius: 36px; padding: 28px 30px; max-height: calc(100vh - 40px); }
  .sheet-foot { bottom: -28px; padding-bottom: 12px; }

  .post { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .post .flow { padding-inline: 40px; margin: 0; max-width: none; }
  .post .flow > * { max-width: 620px; width: 100%; margin-inline: auto; }
  .post-side {
    display: flex; flex-direction: column; align-items: center; background: var(--lime); position: sticky; top: 0; height: 100vh; overflow: hidden;
    padding-top: 44px; text-align: center;
  }
  .post-side h2 { font-size: clamp(36px, 3.6vw, 56px); font-weight: 800; letter-spacing: -.05em; line-height: 1; max-width: 12em; }
  .post-side .phone { margin-top: 34px; transform: rotate(-5deg); flex: none; width: 310px; height: 660px; }
  #toast-root { bottom: 28px; }
  .take { padding: 36px 44px; }
  .seg-scroll { margin: 0; padding: 0; }
  .job-switch { margin: 18px 0 0; padding: 2px 0; }
  .app-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .app-grid .app-card { margin: 0; }
  .app-grid { margin-top: 12px; }
  .two-col { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px; align-items: start; margin-top: 22px; }
  .two-col .list-head:first-child { margin-top: 0; }
}

/* short laptops: keep the gate on one screen */
@media (min-width: 960px) and (max-height: 760px) {
  .gate-title { font-size: clamp(46px, 6.2vw, 84px); padding-top: 8px; padding-bottom: 14px; }
  .gc-label { font-size: clamp(30px, 2.9vw, 38px); }
  .gc-copy { font-size: 16.5px; margin-bottom: 26px; }
}

/* tall screens: a bigger phone that still runs off the card, so its empty lower half stays hidden */
@media (min-width: 960px) and (min-height: 1000px) {
  .gate-card { --phone-scale: 1.04; }
  .gate-card .phone { margin-bottom: -110px; }
}
@media (min-width: 1200px) and (min-height: 1000px) {
  .gate-card { --phone-scale: 1.25; }
  .gate-card .phone { margin-bottom: -10px; }
}

/* short screens: a tighter applicant card, so the buttons stay on screen */
@media (max-height: 720px) {
  .sc-panel { padding: 12px 18px; }
  .sc-panel .ava { width: 52px; height: 52px; font-size: 19px; }
  .sc-match b { font-size: 46px; }
  .sc-match span { font-size: 13px; }
  .sc-body { padding: 12px 18px 0; }
  .sc-name { font-size: 22px; }
  .sc-body .quote { margin-top: 8px; padding: 10px 14px; font-size: 15px; }
  .sc-foot { padding: 8px 18px 10px; font-size: 13px; }
  .deck { margin-bottom: 30px; }
  .sa-i { width: 56px; height: 56px; }
  .sa-sm .sa-i { width: 42px; height: 42px; }
  .sa-star .sa-i { width: 48px; height: 48px; }
  .swipe-keys { display: none; }
}

/* narrow phones */
@media (max-width: 339px) {
  .name-fields { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 379px) {
  .top { padding: 0 12px; gap: 8px; }
  .top .wordmark { font-size: 21px; }
  .top .btn { height: 38px; padding: 0 12px; font-size: 14px; }
  .top-right { gap: 6px; }
  .role-pill { height: 38px; padding: 0 6px 0 10px; font-size: 13px; }
  .role-name { max-width: 84px; }
  .gc-label { font-size: 28px; }
  .swipe-actions { gap: 4px; }
  .mode-seg a { height: 36px; padding: 0 11px; font-size: 14px; }
  .mode-seg a .ic { display: none; }
  .swipe-job small { white-space: nowrap; font-size: 12.5px; }
  .sa { min-width: 50px; font-size: 11px; }
  .gc-copy { font-size: 14.5px; margin-top: 6px; }
  .gc-go { width: 38px; height: 38px; left: 22px; bottom: 16px; }
  .money-xl { font-size: 58px; }
}

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