/* BizCareers website. Colours, font and spacing come from the app
   (lib/design/tokens), so the site and the app read as one product.
   Light is the default. Dark is a choice, remembered on this device. */

@font-face {
  font-family: "Manrope";
  src: url("fonts/Manrope.ttf") format("truetype");
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --page: #F4F6F6;
  --surface: #FFFFFF;
  --sunken: #EDF1F1;
  --line: #E2E8E8;
  --text: #0D1B1E;
  --text-2: #4B5B5E;
  --text-3: #5F6F72;
  --action: #017E84;
  --action-pressed: #01696E;
  --on-action: #FFFFFF;
  --link: #015E63;
  --tint: #E2F1F1;
  --on-tint: #015E63;
  --hero: #0D1B1E;
  --on-hero: #FFFFFF;
  --on-hero-2: #B9C6C8;
  --tick: #1565D8;
  --tick-tint: #E8F0FC;
  --success: #12703D;
  --success-tint: #E5F3EA;
  --warning: #865100;
  --warning-tint: #FFF2D4;
  --neutral: #5B686B;
  --neutral-tint: #EEF1F2;
  --shadow: 0 1px 2px rgba(13, 27, 30, .04), 0 8px 24px rgba(13, 27, 30, .06);
  --shadow-lift: 0 2px 6px rgba(13, 27, 30, .06), 0 18px 40px rgba(13, 27, 30, .10);
  --bar: rgba(244, 246, 246, .82);
  --radius: 16px;
  --radius-lg: 24px;
  --gutter: 20px;
  --max: 1120px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: light;
}

:root[data-theme="dark"] {
  --page: #0A1113;
  --surface: #111A1D;
  --sunken: #172225;
  --line: #243235;
  --text: #EAF1F1;
  --text-2: #A6B4B6;
  --text-3: #8E9EA0;
  --action: #36B5BB;
  --action-pressed: #86D7DB;
  --on-action: #03292B;
  --link: #86D7DB;
  --tint: #0F2D30;
  --on-tint: #86D7DB;
  --hero: #0F2D30;
  --on-hero: #EAF1F1;
  --on-hero-2: #A6B4B6;
  --tick: #6AA8FF;
  --tick-tint: #172225;
  --success: #5BC893;
  --success-tint: #172225;
  --warning: #F2B654;
  --warning-tint: #172225;
  --neutral: #9AA8AA;
  --neutral-tint: #172225;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .25);
  --shadow-lift: 0 2px 6px rgba(0, 0, 0, .35), 0 18px 40px rgba(0, 0, 0, .35);
  --bar: rgba(10, 17, 19, .82);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  background: var(--page);
  color: var(--text);
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  transition: background-color .3s var(--ease), color .3s var(--ease);
}

img { display: block; max-width: 100%; }
a { color: var(--link); text-underline-offset: 3px; }
h1, h2, h3 { margin: 0; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; text-wrap: balance; }
p { margin: 0; }

.i { width: 1em; height: 1em; flex: none; fill: currentColor; }

:focus-visible { outline: 3px solid var(--action); outline-offset: 3px; border-radius: 8px; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 50;
  background: var(--action); color: var(--on-action);
  padding: 10px 16px; border-radius: 999px; font-weight: 700; text-decoration: none;
}
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* Top bar */

.bar {
  position: sticky; top: 0; z-index: 20;
  background: var(--bar);
  -webkit-backdrop-filter: saturate(1.4) blur(16px);
  backdrop-filter: saturate(1.4) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s var(--ease);
}
.bar.is-scrolled { border-bottom-color: var(--line); }
.bar .wrap { display: flex; align-items: center; gap: 16px; height: 68px; }

.brand { display: flex; align-items: center; gap: 10px; margin-right: auto; color: var(--text); text-decoration: none; font-weight: 800; font-size: 18px; letter-spacing: -.01em; }
.brand img { width: 34px; height: 34px; border-radius: 10px; }

.nav { display: flex; gap: 4px; }
.nav a {
  color: var(--text-2); text-decoration: none; font-weight: 600; font-size: 15px;
  padding: 8px 12px; border-radius: 999px; transition: color .2s, background-color .2s;
}
.nav a:hover { color: var(--text); background: var(--sunken); }

.bar-end { display: flex; align-items: center; gap: 8px; }

.icon-btn {
  display: inline-grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--surface); color: var(--text);
  cursor: pointer; font-size: 20px; transition: background-color .2s, border-color .2s;
}
.icon-btn:hover { background: var(--sunken); }
.theme-btn .i-sun { display: none; }
:root[data-theme="dark"] .theme-btn .i-sun { display: block; }
:root[data-theme="dark"] .theme-btn .i-moon { display: none; }

/* Buttons */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 999px;
  font: inherit; font-weight: 700; font-size: 15px; text-decoration: none; cursor: pointer;
  border: 1px solid transparent; transition: background-color .2s, border-color .2s, transform .2s var(--ease);
}
.btn .i { font-size: 18px; }
.btn-primary { background: var(--action); color: var(--on-action); }
.btn-primary:hover { background: var(--action-pressed); }
.btn-quiet { background: var(--surface); color: var(--text); border-color: var(--line); }
.btn-quiet:hover { background: var(--sunken); }
.btn-small { min-height: 40px; padding: 0 16px; font-size: 14px; }

/* A store badge for an app not in the store yet: it says so, and is not a link. */
.soon {
  display: inline-flex; flex-direction: column; justify-content: center;
  min-height: 56px; padding: 6px 22px 7px; border-radius: 14px;
  background: var(--hero); color: var(--on-hero); line-height: 1.2;
}
:root[data-theme="dark"] .soon { background: var(--surface); border: 1px solid var(--line); }
.soon small { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--on-hero-2); }
.soon strong { font-size: 18px; font-weight: 800; letter-spacing: -.01em; }

/* Pills and tags */

.pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 12px; border-radius: 999px;
  font-size: 13px; font-weight: 700; line-height: 1.5;
  background: var(--tint); color: var(--on-tint);
}
.pill .i { font-size: 15px; }
.pill-warning { background: var(--warning-tint); color: var(--warning); }
.pill-success { background: var(--success-tint); color: var(--success); }
.pill-neutral { background: var(--neutral-tint); color: var(--neutral); }
.pill-tick { background: var(--tick-tint); color: var(--tick); }

.tag { display: inline-flex; align-items: center; gap: 5px; color: var(--text-2); font-size: 13px; font-weight: 600; }
.tag .i { font-size: 15px; color: var(--text-3); }

.disc {
  display: inline-grid; place-items: center; flex: none;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--tint); color: var(--on-tint); font-size: 24px;
}
.disc-sm { width: 40px; height: 40px; font-size: 20px; }
.disc-lg { width: 64px; height: 64px; font-size: 30px; }
.disc-tick { background: var(--tick-tint); color: var(--tick); }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }

/* Hero */

.hero { padding: 56px 0 24px; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 48px; }
.eyebrow-pill { margin-bottom: 20px; }
.hero h1 { font-size: clamp(38px, 5.6vw, 62px); }
.hero h1 em { font-style: normal; color: var(--action); }
.hero .lede { margin-top: 18px; max-width: 520px; font-size: 18px; color: var(--text-2); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 30px; }
.hero-note { margin-top: 16px; font-size: 14px; color: var(--text-3); }

/* The ring from the app's splash and Welcome, with people going round it. */
.orbit { --size: min(440px, 86vw); --r: calc(var(--size) * .4); position: relative; width: var(--size); height: var(--size); margin: 0 auto; }
.orbit-path {
  position: absolute; inset: 10%; border-radius: 50%;
  border: 1.5px dashed var(--line);
}
.orbit-glow {
  position: absolute; inset: 22%; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--action) 26%, transparent) 0%, color-mix(in srgb, var(--action) 10%, transparent) 45%, transparent 70%);
}
.orbit-core {
  position: absolute; left: 50%; top: 50%; width: 31%; height: 31%;
  transform: translate(-50%, -50%);
  border-radius: 50%; padding: 7px;
  background: conic-gradient(var(--action) 0turn, var(--action) var(--fill, 1turn), var(--line) var(--fill, 1turn));
  animation: fill-ring 1.6s var(--ease) both;
}
.orbit-core img { width: 100%; height: 100%; border-radius: 50%; border: 5px solid var(--page); background: #000; }
@property --fill { syntax: "<angle>"; inherits: false; initial-value: 0turn; }
@keyframes fill-ring { from { --fill: 0turn; } to { --fill: 1turn; } }

.orbit-track { position: absolute; inset: 0; animation: spin 70s linear infinite; }
.face {
  position: absolute; left: 50%; top: 50%;
  width: 18%; aspect-ratio: 1; margin: -9% 0 0 -9%;
  transform: rotate(var(--a)) translateX(var(--r)) rotate(calc(-1 * var(--a)));
}
.face img {
  width: 100%; height: 100%; border-radius: 50%; object-fit: cover;
  border: 4px solid var(--surface); box-shadow: var(--shadow-lift);
  animation: spin 70s linear infinite reverse;
}
@keyframes spin { to { transform: rotate(360deg); } }

.float {
  position: absolute; z-index: 2;
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-radius: 14px;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lift);
  font-size: 13px; font-weight: 700; line-height: 1.3; white-space: nowrap;
  animation: bob 6s ease-in-out infinite;
}
.float small { display: block; font-weight: 600; color: var(--text-3); }
.float-score { right: -2%; top: 14%; }
.float-notice { left: 50%; bottom: -10%; translate: -50% 0; animation-delay: -3s; }
.score-chip {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  background: var(--success-tint); color: var(--success); font-weight: 800; font-size: 14px;
  box-shadow: inset 0 0 0 3px var(--success);
}
@keyframes bob { 50% { transform: translateY(-8px); } }

/* Sections */

.section { padding: 88px 0; }
.section-alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.head { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.eyebrow { display: block; margin-bottom: 10px; font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--link); }
.head h2 { font-size: clamp(30px, 4vw, 42px); }
.head p { margin-top: 12px; font-size: 17px; color: var(--text-2); }

/* Two ways in */

.sides { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.side { padding: 32px; display: flex; flex-direction: column; gap: 18px; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.side:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.side h3 { font-size: 26px; }
.side > p { color: var(--text-2); }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ticks li { display: flex; align-items: flex-start; gap: 10px; font-weight: 600; }
.ticks li .i { margin-top: 3px; font-size: 18px; color: var(--action); }
.both {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  width: fit-content; max-width: 100%; margin: 28px auto 0; padding: 12px 20px;
  border-radius: 999px; background: var(--tint); color: var(--on-tint); font-weight: 700; text-align: center;
}
.both .i { font-size: 20px; }

/* Steps */

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step { padding: 28px; position: relative; }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: 24px; right: 24px;
  font-size: 44px; font-weight: 800; line-height: 1; color: var(--sunken);
}
:root[data-theme="dark"] .step::before { color: var(--line); }
.step h3 { margin-top: 18px; font-size: 20px; }
.step p { margin-top: 8px; color: var(--text-2); }

/* Match score */

.match { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.match-copy h2 { font-size: clamp(30px, 4vw, 42px); }
.match-copy > p { margin-top: 14px; font-size: 17px; color: var(--text-2); }
.match-copy .ticks { margin-top: 26px; }
.bands { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }

.job { padding: 24px; }
.job-top { display: flex; gap: 14px; align-items: flex-start; }
.mono { display: grid; place-items: center; flex: none; width: 52px; height: 52px; border-radius: 14px; background: var(--tint); color: var(--on-tint); font-weight: 800; font-size: 18px; }
.job-title { font-size: 19px; font-weight: 800; letter-spacing: -.01em; line-height: 1.25; }
.job-co { display: flex; align-items: center; gap: 5px; margin-top: 2px; color: var(--text-2); font-weight: 600; font-size: 14px; }
.job-co .i { color: var(--tick); font-size: 16px; }
.job-tags { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 10px; }
.ring { position: relative; flex: none; width: 76px; height: 76px; margin-left: auto; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring .track { fill: none; stroke: var(--sunken); stroke-width: 7; }
.ring .bar-arc { fill: none; stroke: var(--success); stroke-width: 7; stroke-linecap: round; stroke-dasharray: 100 100; stroke-dashoffset: 14; }
.ring span { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; line-height: 1.05; }
.ring b { font-size: 22px; font-weight: 800; }
.ring small { font-size: 10px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--success); }
.job-top-tag { margin-top: 18px; display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.parts { list-style: none; margin: 18px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line); display: grid; gap: 12px; }
.parts li { display: grid; grid-template-columns: minmax(0, 1fr) 96px 52px; align-items: center; gap: 12px; font-size: 14px; font-weight: 600; }
.meter { height: 8px; border-radius: 999px; background: var(--sunken); overflow: hidden; }
.meter i { display: block; height: 100%; border-radius: inherit; background: var(--action); width: var(--w); }
.parts b { text-align: right; font-weight: 800; font-variant-numeric: tabular-nums; }
.parts b small { font-weight: 600; color: var(--text-3); }
.parts .total { display: flex; justify-content: space-between; padding-top: 12px; border-top: 1px solid var(--line); font-size: 15px; font-weight: 800; }

/* Safety */

.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.trust .card { padding: 26px; }
.trust h3 { margin-top: 16px; font-size: 18px; }
.trust p { margin-top: 8px; font-size: 15px; color: var(--text-2); }

/* FAQ */

.faq { max-width: 760px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 22px; font-weight: 700; font-size: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .i { font-size: 18px; color: var(--text-3); transition: transform .3s var(--ease); }
.faq details[open] summary .i { transform: rotate(180deg); }
.faq details p { padding: 0 22px 20px; color: var(--text-2); }

/* Closing band */

.closing { padding: 0 0 88px; }
.closing-box {
  position: relative; overflow: hidden;
  display: grid; justify-items: center; gap: 18px; text-align: center;
  padding: 64px 24px; border-radius: var(--radius-lg);
  background: var(--hero); color: var(--on-hero);
}
.closing-box::before {
  content: ""; position: absolute; width: 520px; height: 520px; left: 50%; top: -260px; transform: translateX(-50%);
  border-radius: 50%; background: radial-gradient(circle, rgba(54, 181, 187, .28), transparent 65%);
}
.closing-box > * { position: relative; }
.closing-box img { width: 72px; height: 72px; border-radius: 20px; box-shadow: 0 0 0 6px rgba(54, 181, 187, .25); }
.closing-box h2 { font-size: clamp(28px, 4vw, 40px); }
.closing-box p { color: var(--on-hero-2); max-width: 520px; }
.closing-box a { color: var(--on-hero); font-weight: 700; }
.closing-box .soon { background: var(--on-hero); color: var(--hero); }
.closing-box .soon small { color: #4B5B5E; }
:root[data-theme="dark"] .closing-box .soon { background: var(--page); color: var(--on-hero); border-color: var(--line); }
:root[data-theme="dark"] .closing-box .soon small { color: var(--on-hero-2); }

/* Footer */

.foot { border-top: 1px solid var(--line); padding: 36px 0 44px; font-size: 14px; color: var(--text-3); }
.foot .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; }
.foot-brand { display: flex; align-items: center; gap: 12px; }
.foot-brand img { width: 30px; height: 30px; border-radius: 9px; }
.foot-brand b { display: block; color: var(--text); }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.foot-links a { color: var(--text-2); text-decoration: none; font-weight: 600; }
.foot-links a:hover { color: var(--text); text-decoration: underline; }

/* Legal pages: laid out like the app's Terms and Privacy screens. */

.doc { max-width: 760px; margin: 0 auto; padding: 36px var(--gutter) 88px; }
.doc-tabs {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px;
  max-width: 520px; margin: 0 auto 44px; padding: 4px;
  border-radius: 999px; background: var(--sunken);
}
.doc-tabs a {
  display: grid; place-items: center; min-height: 40px; padding: 6px 8px;
  border-radius: 999px; text-align: center; text-decoration: none;
  color: var(--text-2); font-weight: 700; font-size: 14px; line-height: 1.25;
  transition: color .2s, background-color .2s;
}
.doc-tabs a:hover { color: var(--text); }
.doc-tabs a[aria-current="page"] { background: var(--surface); color: var(--text); box-shadow: var(--shadow); }
.doc-head { display: grid; justify-items: center; gap: 12px; text-align: center; margin-bottom: 36px; }
.doc-head h1 { font-size: clamp(32px, 5vw, 44px); margin-top: 6px; }
.doc-head .lede { font-size: 17px; color: var(--text-2); max-width: 560px; }
.doc-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 12px; font-size: 14px; color: var(--text-3); }
.rows { overflow: hidden; }
.row { padding: 22px 24px 24px; }
.row + .row { border-top: 1px solid var(--line); }
.row-head { display: flex; align-items: center; gap: 14px; }
.row h2 { font-size: 19px; letter-spacing: -.01em; }
.row-body { padding-left: 54px; margin-top: 4px; color: var(--text-2); }
.row-body p + p, .row-body p + ol, .row-body ol + p, .row-body p + ul, .row-body ul + p { margin-top: 10px; }
.row-body ol, .row-body ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.row-body strong { color: var(--text); }
.doc-links { margin-top: 24px; }
.link-row {
  display: flex; align-items: center; gap: 14px; padding: 18px 24px;
  color: var(--text); text-decoration: none; transition: background-color .2s;
}
.link-row + .link-row { border-top: 1px solid var(--line); }
.link-row:hover { background: var(--sunken); }
.link-row b { display: block; font-weight: 700; }
.link-row small { display: block; color: var(--text-2); font-size: 14px; font-weight: 500; }
.link-row > .i { margin-left: auto; font-size: 18px; color: var(--text-3); }
.doc-foot { margin-top: 24px; text-align: center; font-size: 14px; color: var(--text-3); }

/* Not found */

.lost { min-height: 70vh; display: grid; place-content: center; justify-items: center; gap: 16px; text-align: center; padding: 48px var(--gutter); }
.lost h1 { font-size: 40px; }
.lost p { color: var(--text-2); }

/* Smaller screens */

@media (max-width: 960px) {
  .hero .wrap, .match { grid-template-columns: 1fr; }
  .hero { padding: 32px 0 72px; }
  .hero-copy { text-align: center; }
  .hero .lede { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .trust { grid-template-columns: 1fr 1fr; }
  .match-copy { text-align: center; }
  .match-copy .ticks { justify-items: center; }
  .bands { justify-content: center; }
}

@media (max-width: 760px) {
  .nav { display: none; }
  .sides, .steps { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .side { padding: 26px; }
  .float-score { right: 0; }
}

@media (max-width: 520px) {
  :root { --gutter: 16px; }
  .trust { grid-template-columns: 1fr; }
  .bar-cta { display: none; }
  .row { padding: 20px 18px 22px; }
  .row-body { padding-left: 0; margin-top: 12px; }
  .parts li { grid-template-columns: minmax(0, 1fr) 64px 48px; gap: 10px; }
  .job { padding: 20px; }
  .float { font-size: 12px; padding: 8px 11px; }
  .float small { display: none; }
  .doc-tabs a { font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .orbit-core { --fill: 1turn; }
}
