/* Inter is served from this site (SIL Open Font License, see /public/fonts/LICENSE): no request goes to a font CDN. */
@font-face { font-family: 'Inter'; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url('/public/fonts/inter-latin-ext-wght-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url('/public/fonts/inter-latin-wght-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }

:root {
  --bg: #ffffff;
  --soft: #f6f6f4;
  --fg: #111111;
  --muted: #62625d;
  --faint: #8d8d86;
  --line: #e6e6e1;
  --acc: #111111;
  --accfg: #ffffff;
  --ok: #1b7f3b;
  --err: #b42318;
  --logo-bg: #ffffff;
  --r: 14px;
  --foil-1: #fdf1f7; --foil-2: #eef0ff; --foil-3: #e9fbff; --foil-4: #effdf3; --foil-5: #fffbe8;
  --foil-shine: rgba(255, 255, 255, .85);
  --foil-line: #e3dff0; --foil-line-hover: #c9c2e6;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f0f0e;
    --soft: #191918;
    --fg: #f2f2ee;
    --muted: #a6a69f;
    --faint: #7d7d76;
    --line: #2b2b28;
    --acc: #f2f2ee;
    --accfg: #0f0f0e;
    --ok: #4ccb75;
    --err: #ff6b5e;
    --logo-bg: #ffffff;
    --foil-1: #241a22; --foil-2: #1b1d2e; --foil-3: #15262b; --foil-4: #17261c; --foil-5: #27241a;
    --foil-shine: rgba(255, 255, 255, .07);
    --foil-line: #35314a; --foil-line-hover: #5a5386;
  }
}
* { box-sizing: border-box; }
/* The hidden attribute must win over component display rules such as .btn { display: inline-flex }. */
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font: 16px/1.55 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }
/* The page fills the window, so on a short page the footer line sits at the bottom, not under the content. */
body { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
body > .wrap { flex: 1 0 auto; width: 100%; }
.muted { color: var(--muted); }
.small { font-size: 14px; }

/* header */
.top { border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { font-weight: 700; font-size: 22px; letter-spacing: -0.03em; text-decoration: none; display: inline-flex; align-items: center; color: var(--fg); }
.brand svg { height: 24px; width: auto; display: block; }   /* the logo: letters in the text colour, green dot */
.nav { display: flex; gap: 20px; flex: 1; }
.nav a { text-decoration: none; font-size: 15px; color: var(--muted); }
.nav a.on, .nav a:hover { color: var(--fg); }
.auth { display: flex; gap: 10px; align-items: center; }
.auth a.link { text-decoration: none; font-size: 15px; color: var(--muted); }
.auth a.link:hover { color: var(--fg); }

/* "confirm your email" line under the header, only for signed-in accounts that have not confirmed yet */
.notice { border-bottom: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.notice .wrap { display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; padding-top: 9px; padding-bottom: 9px; }
.notice form { margin: 0; }
/* admin controls on a role page: one quiet line, no fill */
.adminbar { display: flex; gap: 6px 18px; align-items: center; flex-wrap: wrap; font-size: 14px; color: var(--muted); border: 1px dashed var(--line); border-radius: 10px; padding: 8px 12px; margin: 16px 0 0; }
.adminbar b { color: var(--fg); font-weight: 600; }
.adminbar form { margin: 0; }
.adminbar a { color: var(--muted); text-underline-offset: 2px; margin-left: auto; }
.adminbar button, .notice button { font: inherit; font-weight: 600; color: var(--fg); background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--acc); color: var(--accfg); border: 1px solid var(--acc);
  padding: 10px 16px; border-radius: 10px; font: inherit; font-weight: 600; font-size: 15px;
  text-decoration: none; cursor: pointer; white-space: nowrap;
}
.btn:hover { opacity: .88; }
.btn.ghost { background: transparent; color: var(--fg); border-color: var(--line); }
.btn.ghost:hover { background: var(--soft); opacity: 1; }
.btn.big { padding: 13px 20px; font-size: 16px; width: 100%; }
.btn.sm { padding: 7px 12px; font-size: 14px; }

/* hero */
.hero { padding: 44px 0 26px; }
.hero h1 { font-size: clamp(30px, 4.6vw, 44px); line-height: 1.08; letter-spacing: -0.03em; margin: 0 0 12px; max-width: 720px; }
.hero p { margin: 0; color: var(--muted); font-size: 18px; max-width: 620px; }

/* filters */
.filters { display: flex; gap: 10px; flex-wrap: wrap; margin: 0 0 12px; }
input[type=search], input[type=text], input[type=email], input[type=url], input[type=password], select, textarea {
  font: inherit; font-size: 15px; color: var(--fg); background: var(--bg);
  border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px;
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--fg); outline-offset: 1px; }
/* Checkboxes: no frame on focus, and the tick in the site's own colour rather than the browser's blue. */
input[type=checkbox] { accent-color: var(--acc); cursor: pointer; }
input[type=checkbox]:focus { outline: none; }
.filters input[type=search] { flex: 1; min-width: 220px; }
/* Own chevron with room around it: the browser's arrow sits flush against the right edge. */
.filters select { max-width: 190px; }
.filters select, form.f select {
  cursor: pointer; -webkit-appearance: none; appearance: none; padding-right: 38px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none' stroke='%238d8d86' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1.5 1.5 6 6l4.5-4.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 12px 8px;
}
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 22px; }
.chip {
  display: inline-block; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line);
  font-size: 14px; text-decoration: none; color: var(--muted); white-space: nowrap;
}
.chip:hover { color: var(--fg); background: var(--soft); }
.chip.on { background: var(--acc); color: var(--accfg); border-color: var(--acc); }
.chip.sep { margin-left: 10px; }
@media (max-width: 600px) { .chip.sep { margin-left: 0; } }
.chip .n { font-size: 12.5px; opacity: .6; margin-left: 3px; font-variant-numeric: tabular-nums; }

/* salary slider, shown while the "With salary" chip is on */
.payrow { display: grid; gap: 6px; margin: -6px 0 24px; max-width: 480px; }
.payrow label { font-size: 14.5px; font-weight: 500; }
.payrow output { font-variant-numeric: tabular-nums; }
/* Own track and thumb instead of the browser's: the native slider changes shade on hover. --p is the filled share. */
.payrow input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 20px; margin: 4px 0 0; padding: 0; border: 0; background: transparent; cursor: pointer; }
.payrow input[type=range]:focus { outline: none; }
.payrow input[type=range]::-webkit-slider-runnable-track { height: 6px; border-radius: 999px; background: linear-gradient(to right, var(--acc) var(--p, 0%), var(--line) var(--p, 0%)); }
.payrow input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 18px; height: 18px; margin-top: -6px; border-radius: 50%; border: 0; background: var(--acc); }
.payrow input[type=range]::-moz-range-track { height: 6px; border-radius: 999px; background: var(--line); }
.payrow input[type=range]::-moz-range-progress { height: 6px; border-radius: 999px; background: var(--acc); }
.payrow input[type=range]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; border: 0; background: var(--acc); }
.payrow .scale { display: flex; justify-content: space-between; font-size: 12px; color: var(--faint); }

/* list */
.sect { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 26px 0 10px; }
.sect h2 { font-size: 15px; font-weight: 600; margin: 0; }
.sect span { font-size: 14px; color: var(--faint); }
.list { display: grid; gap: 10px; }
.sect.sub { margin: 18px 0 2px; padding-top: 16px; border-top: 1px solid var(--line); }
.job {
  display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 14px; align-items: center;
  border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; text-decoration: none; background: var(--bg);
}
.job:hover { border-color: var(--faint); }
/* Quick-apply cards: a light holographic foil instead of a flat fill. Pastel bands plus a soft diagonal
   highlight; the bands drift a little on hover. Kept pale so text contrast stays the same as on white. */
.job.direct, .promo {
  position: relative; isolation: isolate; overflow: hidden;
  border-color: var(--foil-line);
  background:
    linear-gradient(115deg, transparent 30%, var(--foil-shine) 46%, transparent 60%),
    linear-gradient(100deg, var(--foil-1) 0%, var(--foil-2) 24%, var(--foil-3) 48%, var(--foil-4) 72%, var(--foil-5) 100%);
  background-size: 260% 100%, 200% 100%;
  background-position: 20% 0, 0% 0;
  transition: background-position .9s ease, border-color .2s ease;
}
.job.direct:hover, .promo:hover { background-position: 80% 0, 100% 0; border-color: var(--foil-line-hover); }
@media (prefers-reduced-motion: reduce) { .job.direct, .promo { transition: none; } .job.direct:hover, .promo:hover { background-position: 20% 0, 0% 0; } }
/* recruiter partner: the same foil, one line of text and a button */
.promo { display: flex; align-items: center; justify-content: space-between; gap: 12px 16px; flex-wrap: wrap; border: 1px solid var(--foil-line); border-radius: var(--r); padding: 14px 16px; text-decoration: none; color: var(--fg); }
.promo .pt { font-weight: 600; font-size: 16px; margin: 0; }
.promo .pm { font-size: 14px; color: var(--muted); margin: 2px 0 0; }
/* admin: a recruiter request with its brief folded */
.req details { margin-top: 6px; font-size: 14px; }
.req summary { cursor: pointer; color: var(--muted); }
.req details p { margin: 8px 0 2px; white-space: pre-line; }
.job.direct .tag { background: var(--bg); }
.job.direct .lg.i { background: var(--bg); }
.lg {
  width: 48px; height: 48px; border-radius: 11px; border: 1px solid var(--line); background: var(--logo-bg);
  object-fit: contain; padding: 7px; display: block; flex: none;
}
.lg.i { display: flex; align-items: center; justify-content: center; padding: 0; background: var(--soft); color: var(--muted); font-weight: 600; font-size: 16px; letter-spacing: -0.02em; }
.lg.l { width: 60px; height: 60px; border-radius: 14px; padding: 9px; }
.lg.l.i { padding: 0; font-size: 20px; }
.lg.s { width: 32px; height: 32px; border-radius: 8px; padding: 4px; }
.lg.s.i { padding: 0; font-size: 12px; }
.jt { font-weight: 600; font-size: 16.5px; line-height: 1.3; margin: 0 0 2px; overflow-wrap: anywhere; }
.jm { font-size: 14.5px; color: var(--muted); margin: 0; }
.tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.tag { font-size: 12.5px; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 2px 9px; white-space: nowrap; }
.snip { font-size: 13.5px; line-height: 1.5; color: var(--muted); margin: 9px 0 0; overflow-wrap: anywhere; }
.snip mark { background: rgba(255, 204, 0, .32); color: var(--fg); border-radius: 3px; padding: 0 2px; }
.badge { display: inline-block; font-size: 11.5px; font-weight: 600; letter-spacing: .02em; background: var(--acc); color: var(--accfg); border-radius: 6px; padding: 2px 7px; margin-left: 8px; vertical-align: 2px; }
.badge.off { background: transparent; color: var(--muted); box-shadow: inset 0 0 0 1px var(--line); }   /* closed role */
.jr { font-size: 13.5px; color: var(--faint); white-space: nowrap; text-align: right; }
@media (max-width: 600px) { .job { grid-template-columns: 40px minmax(0, 1fr); } .jr { display: none; } .lg { width: 40px; height: 40px; padding: 6px; } }
.pager { display: flex; gap: 10px; justify-content: center; align-items: center; margin: 26px 0; }
.empty { border: 1px dashed var(--line); border-radius: var(--r); padding: 28px; text-align: center; color: var(--muted); }

/* job page */
.back { display: inline-block; margin: 22px 0 18px; font-size: 14px; color: var(--muted); text-decoration: none; }
.cols { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(290px, 1fr); gap: 36px; align-items: start; }
@media (max-width: 860px) { .cols { grid-template-columns: 1fr; } }
.jh { display: flex; gap: 16px; align-items: flex-start; margin: 0 0 18px; }
.jh h1 { font-size: clamp(24px, 3.4vw, 32px); line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 4px; }
.desc { white-space: pre-line; font-size: 15.5px; line-height: 1.65; border-top: 1px solid var(--line); padding-top: 20px; margin-top: 18px; overflow-wrap: anywhere; }
.desc.rich { white-space: normal; }
.desc.rich > :first-child { margin-top: 0; }
.desc.rich p { margin: 0 0 14px; }
.desc.rich h2 { font-size: 20px; line-height: 1.25; letter-spacing: -0.01em; margin: 30px 0 10px; }
.desc.rich h3 { font-size: 16.5px; line-height: 1.3; margin: 24px 0 8px; }
.desc.rich ul, .desc.rich ol { margin: 0 0 16px; padding-left: 22px; }
.desc.rich li { margin: 0 0 6px; }
.desc.rich li > p { margin: 0; }
.desc.rich strong { font-weight: 600; }
.desc.rich a { text-decoration: underline; text-underline-offset: 2px; }
.desc.rich h2 strong, .desc.rich h3 strong { font-weight: inherit; }
.card { border: 1px solid var(--line); border-radius: 16px; padding: 22px; background: var(--soft); }
.card.sticky { position: sticky; top: 16px; }
.card h3 { margin: 0 0 6px; font-size: 18px; letter-spacing: -0.01em; }
.card p { margin: 0 0 14px; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; font-size: 14.5px; margin: 0 0 16px; }
.kv dt { color: var(--muted); } .kv dd { margin: 0; }

/* forms */
form.f { display: grid; gap: 14px; }
form.f label { display: grid; gap: 6px; font-size: 13.5px; font-weight: 500; }
form.f label .opt { color: var(--muted); font-weight: 400; }
form.f input[type=text], form.f input[type=email], form.f input[type=url], form.f input[type=password], form.f select, form.f textarea { width: 100%; }
form.f textarea { min-height: 110px; resize: vertical; }
.check { display: flex !important; grid-template-columns: none; align-items: center; gap: 8px; font-weight: 400 !important; font-size: 15px !important; }
.fine { font-size: 13px; color: var(--muted); margin: 0; }
/* footer: two quiet links */
.foot { border-top: 1px solid var(--line); }
.foot .wrap { display: flex; gap: 18px; padding-top: 18px; padding-bottom: 28px; font-size: 13.5px; }
.foot a { color: var(--muted); text-decoration: none; }
.foot a:hover { color: var(--fg); text-decoration: underline; text-underline-offset: 2px; }
.foot .wrap { flex-wrap: wrap; }
.foot .by { margin-left: auto; color: var(--muted); }
/* Privacy Policy and Terms of Use */
.legal { max-width: 720px; padding-top: 28px; }
.legal h1 { font-size: 32px; letter-spacing: -.02em; line-height: 1.15; margin: 0 0 8px; }
.legal h2 { font-size: 20px; line-height: 1.25; letter-spacing: -.01em; margin: 34px 0 10px; }
.legal p { margin: 0 0 14px; }
.legal ul { margin: 0 0 16px; padding-left: 22px; }
.legal li { margin: 0 0 6px; }
.legal a { text-underline-offset: 2px; }
.legal code { font-size: .92em; }
.legal .tw { overflow-x: auto; margin: 0 0 18px; }
.legal table { border-collapse: collapse; width: 100%; font-size: 14.5px; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 9px 12px 9px 0; border-bottom: 1px solid var(--line); }
.legal th { font-weight: 600; }
.msg { font-size: 14px; margin: 0; } .msg.err { color: var(--err); } .msg.ok { color: var(--ok); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* auth */
.narrow { max-width: 460px; margin: 48px auto; }
.narrow h1 { font-size: 28px; letter-spacing: -0.02em; margin: 0 0 6px; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--line); border-radius: 12px; padding: 4px; margin: 20px 0; background: var(--soft); }
.seg a { text-align: center; padding: 9px 10px; border-radius: 9px; text-decoration: none; font-size: 15px; font-weight: 500; color: var(--muted); }
.seg a.on { background: var(--bg); color: var(--fg); box-shadow: 0 0 0 1px var(--line); }

/* cabinets */
.page-h { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin: 32px 0 22px; }
.page-h h1 { font-size: 28px; letter-spacing: -0.02em; margin: 0; }
.who { display: flex; gap: 14px; align-items: center; }
.av { width: 56px; height: 56px; border-radius: 50%; background: var(--soft); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 19px; color: var(--muted); flex: none; }
.grid2 { display: grid; grid-template-columns: minmax(280px, 1fr) minmax(0, 1.7fr); gap: 28px; align-items: start; }
.grid2.even { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; }   /* two equal columns */
/* CV in the profile: a plain row under the form, separated by a hairline */
.cv { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.cv-label { font-size: 13.5px; font-weight: 500; margin: 0; }
.cv-file { display: grid; gap: 2px; }
.cv-name { font-weight: 500; overflow-wrap: anywhere; text-underline-offset: 2px; }
.cv-actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.cv-form { display: inline-flex; margin: 0; }
.cv-form label.btn { position: relative; cursor: pointer; }
/* Save button and the "Saved." note sit below the CV block; the button submits the profile form above. */
.profile-save { display: grid; gap: 12px; margin-top: 20px; }
.profile-save:empty { display: none; }
.profile-save .btn { width: 100%; padding: 13px 20px; font-size: 16px; }
.who-name { font-size: 20px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.2; margin: 0; }
.who.logo-row { align-items: flex-start; }   /* logo with its Replace / Remove buttons right beside it */
@media (max-width: 860px) { .grid2, .grid2.even { grid-template-columns: 1fr; gap: 28px; } }
.rows { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.row { display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 14px; border-bottom: 1px solid var(--line); text-decoration: none; }
.row:last-child { border-bottom: none; }
a.row:hover { background: var(--soft); }
.row .t { font-weight: 500; font-size: 15px; margin: 0; overflow-wrap: anywhere; }
.row .m { font-size: 13.5px; color: var(--muted); margin: 0; }
.row .r { font-size: 13.5px; color: var(--faint); white-space: nowrap; }
.row.plain { grid-template-columns: minmax(0, 1fr) auto; }
.stat { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; margin: 0 0 24px; }
.stat div { background: var(--soft); border-radius: 12px; padding: 14px 16px; }
.stat b { display: block; font-size: 24px; letter-spacing: -0.02em; }
.stat span { font-size: 13.5px; color: var(--muted); }
h2.h { font-size: 17px; margin: 0 0 10px; }
.applicant { border: 1px solid var(--line); border-radius: var(--r); padding: 16px; }
.applicant + .applicant { margin-top: 10px; }

/* pitch */
.pitch { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; margin: 30px 0; }
.pitch h3 { margin: 0 0 6px; font-size: 17px; } .pitch p { margin: 0; color: var(--muted); font-size: 15.5px; }

footer.ft { border-top: 1px solid var(--line); margin-top: 56px; padding: 22px 0 44px; color: var(--faint); font-size: 13px; }
footer.ft a { color: var(--muted); }
