/* ============================================================
   HiringManager.in app — clean, direct, mobile first
   One font: Bricolage Grotesque. Fiery Orange palette: orange for the
   main action and highlights (with dark text), near-black for the rest.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,400..800&display=swap');

:root {
  /* Surface */
  --bg: #F6F6F2;
  --surface: #FFFFFF;
  --surface-2: #EEEEE8;

  /* Text */
  --ink: #15171C;
  --ink-2: #5C5E66;
  --ink-3: #6A6C75;
  --ink-4: #D6D6CF;

  /* Borders */
  --border: #E8E8E2;
  --border-soft: #EEEEE8;

  /* Fiery Orange palette (#FF4800 → #FFB600) */
  --orange-1: #FF4800;
  --orange-2: #FF5400;
  --orange-4: #FF6D00;
  --orange-7: #FF9100;
  --orange-10: #FFB600;
  --gradient: linear-gradient(135deg, #FF4800 0%, #FF7900 55%, #FFB600 100%);
  --dark: #15171C;
  --accent: var(--orange-4);          /* button backgrounds, with dark text */
  --accent-strong: var(--orange-1);   /* map circle, large display text */
  --accent-soft: #FFF1E6;             /* tinted backgrounds */
  --accent-line: #FFD3B0;             /* tinted borders */
  --accent-text: #C2410C;             /* small orange text on white (5:1) */

  /* Older names, mapped onto the orange palette */
  --navy: var(--dark);
  --navy-2: var(--accent-text);
  --ocean: var(--accent-strong);
  --cyan: var(--accent);
  --cyan-soft: var(--accent-soft);
  --cyan-line: var(--accent-line);
  --amber: var(--accent);
  --amber-dark: var(--accent-text);
  --amber-soft: var(--accent-soft);

  /* Status */
  --green: #10B981;
  --green-soft: #ECFDF5;
  --red: #EF4444;

  /* Font */
  --font: 'Bricolage Grotesque', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;

  /* Radii */
  --r-sm: 10px;
  --r: 12px;
  --r-md: 16px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-pill: 999px;

  /* Shadow */
  --shadow-1: 0 1px 2px rgba(0,0,0,0.04);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.5;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font-family: inherit; }

/* ============== LAYOUT ============== */
.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}
.container--app { max-width: 720px; }
.container--narrow { max-width: 480px; }

/* ============== BRAND ============== */
.brand {
  font-weight: 750;
  font-size: 18px;
  letter-spacing: -0.035em;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
}
.brand__dot { color: var(--orange-1); }
/* ============== LOGO (hm monogram with an orange location dot) ============== */
.brand__mark { width: 28px; height: 28px; margin-right: 8px; flex-shrink: 0; }
.brand__m { fill: none; stroke: currentColor; stroke-width: 8; stroke-linecap: round; stroke-linejoin: round; }
.brand__d { fill: var(--orange-1); }


/* ============== TYPOGRAPHY ============== */
.h1 {
  font-size: clamp(34px, 6vw, 52px);
  line-height: 1.04;
  letter-spacing: -0.035em;
  font-weight: 600;
  margin: 0;
}
.h2 {
  font-size: clamp(22px, 3.5vw, 30px);
  line-height: 1.2;
  letter-spacing: -0.025em;
  font-weight: 600;
  margin: 0;
}
.h3 {
  font-size: 16px;
  line-height: 1.3;
  letter-spacing: -0.01em;
  font-weight: 600;
  margin: 0;
}
.muted { color: var(--ink-2); }
.subtle { color: var(--ink-3); font-size: 13px; }
.label-up {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* ============== TOPNAV (landing) ============== */
.topnav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(250,250,249,0.85);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border-soft);
}
.topnav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}
.topnav__cta { display: flex; gap: 8px; align-items: center; }

/* ============== BUTTONS ============== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  padding: 0 18px;
  border-radius: var(--r);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 120ms ease, border-color 120ms ease, color 120ms ease;
  white-space: nowrap;
  text-decoration: none;
}
.btn--primary { background: var(--navy); color: #fff; }
.btn--primary:hover { background: var(--navy-2); }
/* Main action: cyan with dark text (white on cyan is too low contrast) */
.btn--amber { background: var(--cyan); color: var(--ink); }
.btn--amber:hover { background: var(--orange-7); }
.btn--outline { background: var(--surface); color: var(--ink); border-color: var(--border); }
.btn--outline:hover { background: var(--surface-2); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--surface-2); }
.btn--lg { height: 48px; padding: 0 22px; font-size: 15px; border-radius: var(--r-md); }
.btn--block { width: 100%; }
.btn--google {
  width: 100%;
  height: 48px;
  background: var(--ink);
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  border-radius: var(--r-md);
}
.btn--google:hover { background: #2A2D35; }
.btn:disabled { opacity: 0.4; cursor: not-allowed; }

/* ============== CARDS ============== */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 20px;
}
.card--ink { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ============== HERO ============== */
.hero { padding: 56px 0 32px; }
@media (min-width: 920px) { .hero { padding: 88px 0 56px; } }
.hero__grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 920px) {
  .hero__grid { grid-template-columns: 1.05fr 1fr; gap: 64px; }
}
.hero__sub {
  font-size: 17px;
  color: var(--ink-2);
  margin: 18px 0 0;
  max-width: 460px;
  line-height: 1.5;
}
.hero__ctas { display: flex; gap: 10px; margin-top: 28px; flex-wrap: wrap; }

.hero__stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 380px;
  margin: 0 auto;
}

/* ============== JOB / LIST CARDS ============== */
.lcard {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 16px;
  transition: border-color 120ms ease;
}
.lcard:hover { border-color: var(--ink-4); }
.lcard__head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}
.lcard__logo {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 600;
  font-size: 15px;
  flex-shrink: 0;
}
.lcard__title { font-size: 15px; font-weight: 600; margin: 0 0 2px; }
.lcard__meta { font-size: 13px; color: var(--ink-2); }
.lcard__match {
  margin-left: auto;
  font-size: 14px;
  font-weight: 600;
  color: var(--green);
  flex-shrink: 0;
}
.lcard__tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.lcard__actions { display: flex; gap: 8px; }
.lcard__actions .btn { flex: 1; height: 36px; padding: 0 12px; }

/* ============== CHIPS ============== */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 24px;
  padding: 0 10px;
  border-radius: var(--r-pill);
  font-size: 12px;
  font-weight: 500;
  background: var(--surface-2);
  color: var(--ink-2);
  border: 1px solid var(--border);
}
.chip--green {
  background: var(--green-soft);
  color: var(--green);
  border-color: rgba(16,185,129,0.2);
}
.chip--amber {
  background: var(--amber-soft);
  color: var(--navy-2);
  border-color: var(--cyan-line);
}

/* ============== SECTIONS ============== */
.section { padding: 56px 0; }
.section__head { margin-bottom: 28px; }

/* Steps grid */
.steps {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 22px;
}
.step__num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 14px;
}
.step__t { font-size: 16px; font-weight: 600; margin: 0 0 4px; }
.step__d { font-size: 14px; color: var(--ink-2); margin: 0; }

/* ============== AUTH ============== */
.auth-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background: var(--bg);
}
.auth-card {
  width: 100%;
  max-width: 400px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 36px 28px;
}
.auth-card__brand {
  text-align: center;
  margin-bottom: 28px;
}
.auth-card__title {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-align: center;
  margin: 0 0 6px;
}
.auth-card__sub {
  text-align: center;
  color: var(--ink-2);
  font-size: 14px;
  margin: 0 0 28px;
}
.auth-card__alt {
  text-align: center;
  margin-top: 18px;
  font-size: 14px;
  color: var(--ink-2);
}
.auth-card__alt a { color: var(--ink); font-weight: 500; }
.auth-card__legal {
  text-align: center;
  margin-top: 24px;
  font-size: 12px;
  color: var(--ink-3);
  line-height: 1.5;
}
.auth-card__legal a { color: var(--ink-2); text-decoration: underline; }
.btn--google[disabled] { opacity: .6; cursor: progress; }
.auth-card__error {
  margin: 12px 0 0;
  padding: 10px 12px;
  border-radius: var(--r);
  background: #FEF2F2;
  color: #991B1B;
  font-size: 14px;
  line-height: 1.45;
  text-align: center;
}
.auth-notice {
  margin: 0 0 16px;
  padding: 16px;
  border-radius: var(--r-md);
  background: var(--surface-2);
  text-align: center;
}
.auth-notice strong { display: block; font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.auth-notice p { margin: 0 0 12px; font-size: 14px; color: var(--ink-2); line-height: 1.45; overflow-wrap: anywhere; }
.auth-notice__actions { display: flex; flex-direction: column; gap: 8px; }

/* Connection / account problem banner on app pages */
.rh-banner {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 12px;
  padding: 10px 16px;
  background: #FEF2F2;
  color: #991B1B;
  font-size: 14px;
  border-bottom: 1px solid #FECACA;
}
.rh-banner .btn { height: 34px; padding: 0 12px; font-size: 13px; }

/* ============== FORMS ============== */
.field { margin-bottom: 16px; }
.field__label {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 6px;
  display: block;
}
.input, .select, .textarea {
  width: 100%;
  height: 44px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: var(--r);
  background: var(--surface);
  color: var(--ink);
  font-size: 15px;
  font-family: var(--font);
  transition: border-color 120ms ease, box-shadow 120ms ease;
}
.textarea {
  height: auto;
  min-height: 88px;
  padding: 12px 14px;
  resize: vertical;
  line-height: 1.5;
}
.select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2352525B' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(9,9,11,0.06);
}

/* Avatar uploader */
.avatar-upload {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: var(--r);
  background: var(--surface);
}
.avatar-preview {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--surface-2);
  display: grid;
  place-items: center;
  color: var(--ink-3);
  overflow: hidden;
  flex-shrink: 0;
}
.avatar-preview img { width: 100%; height: 100%; object-fit: cover; }
.avatar-upload input[type=file] { display: none; }
.avatar-upload__btn {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 8px 12px;
  cursor: pointer;
}
.avatar-upload__hint { font-size: 12px; color: var(--ink-3); margin-top: 4px; }
.field__hint { font-size: 13px; color: var(--ink-2); margin: 6px 0 0; line-height: 1.45; }

/* Chip toggles */
.chip-group { display: flex; flex-wrap: wrap; gap: 6px; }
.chip-toggle {
  padding: 7px 12px;
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  background: var(--surface);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
  cursor: pointer;
  font-family: var(--font);
  transition: all 120ms ease;
}
.chip-toggle.active { background: var(--ink); color: #fff; border-color: var(--ink); }

/* Progress bar */
.progress {
  height: 4px;
  background: var(--border);
  border-radius: var(--r-pill);
  overflow: hidden;
  margin-bottom: 24px;
}
.progress__fill {
  height: 100%;
  background: var(--ink);
  transition: width 250ms ease;
  border-radius: var(--r-pill);
  width: 0;
}

/* ============== APP SHELL ============== */
.app { min-height: 100vh; background: var(--bg); }
.appbar {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(250,250,249,0.85);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border-soft);
  height: 56px;
}
.appbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.appbar__avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  border: none;
}
.appbar__btn {
  width: 38px;
  height: 38px;
  border-radius: var(--r-pill);
  display: grid;
  place-items: center;
  color: var(--ink);
  background: transparent;
  border: none;
  cursor: pointer;
}
.appbar__btn:hover { background: var(--surface-2); }
/* Small phones: the level badge (also on the profile) makes room for the header buttons. */
@media (max-width: 440px) { .appbar__level { display: none; } }
.app__main { padding: 24px 0 96px; }
@media (min-width: 720px) { .app__main { padding: 32px 0 32px; } }

/* KPI grid */
.kpis {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, 1fr);
  margin-bottom: 20px;
}
@media (min-width: 720px) { .kpis { grid-template-columns: repeat(4, 1fr); } }
.kpi {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 16px;
}
.kpi__label { font-size: 12px; color: var(--ink-2); margin-bottom: 6px; }
.kpi__value { font-size: 24px; font-weight: 600; letter-spacing: -0.02em; line-height: 1; }

/* Search */
.searchbar {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 44px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 0 14px;
  margin-bottom: 14px;
}
.searchbar input {
  flex: 1;
  border: none;
  background: transparent;
  outline: none;
  font-size: 14px;
  font-family: var(--font);
  color: var(--ink);
}
.searchbar input::placeholder { color: var(--ink-3); }
.searchbar svg { color: var(--ink-3); }

/* Filter pills row */
.filter-row {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  margin-bottom: 16px;
  padding-bottom: 4px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.filter-row::-webkit-scrollbar { display: none; }
.filter-pill {
  flex-shrink: 0;
  padding: 7px 14px;
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  background: var(--surface);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
  cursor: pointer;
  font-family: var(--font);
}
.filter-pill.active { background: var(--ink); color: #fff; border-color: var(--ink); }

/* List wrapper */
.list { display: flex; flex-direction: column; gap: 10px; }

/* Section title within app */
.app-section-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  margin: 24px 0 12px;
}

/* Bottom tabbar (mobile) */
.tabbar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 30;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-top: 1px solid var(--border);
  padding: 6px 0 max(6px, env(safe-area-inset-bottom));
  display: flex;
  justify-content: space-around;
}
@media (min-width: 720px) { .tabbar { display: none; } }
.tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 6px 10px;
  color: var(--ink-3);
  font-size: 10px;
  font-weight: 500;
  text-decoration: none;
  flex: 1;
  max-width: 80px;
}
.tab.active { color: var(--ink); }
.tab svg { width: 22px; height: 22px; }

/* ============== FOOTER ============== */
.footer {
  border-top: 1px solid var(--border-soft);
  padding: 48px 0 32px;
  background: var(--bg);
}
.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.footer__grid {
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr;
  margin-bottom: 32px;
}
@media (min-width: 720px) {
  .footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
}
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__col-h {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 4px;
  letter-spacing: 0.02em;
}
.footer__col a {
  font-size: 13px;
  color: var(--ink-2);
  text-decoration: none;
  transition: color 120ms ease;
}
.footer__col a:hover { color: var(--ink); }
.footer__brand-block { max-width: 260px; }
.footer__tag {
  font-size: 13px;
  color: var(--ink-2);
  margin: 10px 0 0;
  line-height: 1.5;
}
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--border-soft);
}
.footer__links { display: flex; gap: 20px; flex-wrap: wrap; font-size: 13px; color: var(--ink-2); }
.footer__copy { font-size: 12px; color: var(--ink-3); }

/* ============== DOC PAGES (privacy / terms / refund / about) ============== */
.doc-page { padding: 48px 0 64px; }
.doc-page h1 {
  font-size: clamp(30px, 5vw, 42px);
  letter-spacing: -0.03em;
  margin: 0 0 10px;
  font-weight: 600;
  line-height: 1.1;
}
.doc-page__updated {
  font-size: 13px;
  color: var(--ink-3);
  margin: 0 0 40px;
}
.doc-page h2 {
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 36px 0 14px;
  color: var(--ink);
}
.doc-page h3 {
  font-size: 16px;
  font-weight: 600;
  margin: 24px 0 8px;
  color: var(--ink);
}
.doc-page p, .doc-page li {
  color: var(--ink-2);
  line-height: 1.65;
  font-size: 15px;
}
.doc-page p { margin: 0 0 14px; }
.doc-page ul, .doc-page ol {
  margin: 0 0 18px;
  padding-left: 22px;
}
.doc-page li { margin-bottom: 6px; }
.doc-page a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.doc-page strong { color: var(--ink); font-weight: 600; }
.doc-page .callout {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 16px 18px;
  margin: 18px 0;
}
.doc-page .callout p:last-child { margin-bottom: 0; }
.doc-page__toc {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 16px 20px;
  margin: 0 0 32px;
}
.doc-page__toc-h {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-3);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.doc-page__toc ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 6px;
  grid-template-columns: 1fr;
}
@media (min-width: 600px) { .doc-page__toc ul { grid-template-columns: 1fr 1fr; } }
.doc-page__toc a {
  font-size: 13px;
  color: var(--ink-2);
  text-decoration: none;
}
.doc-page__toc a:hover { color: var(--ink); text-decoration: underline; }

/* ============== CONTACT ============== */
.contact-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr;
  margin-top: 32px;
}
@media (min-width: 760px) {
  .contact-grid { grid-template-columns: 1fr 1.2fr; gap: 48px; }
}
.contact-info { display: flex; flex-direction: column; gap: 18px; }
.contact-row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.contact-row__icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  color: var(--ink);
  flex-shrink: 0;
}
.contact-row__label {
  font-size: 11px;
  color: var(--ink-3);
  margin-bottom: 2px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 600;
}
.contact-row__value {
  font-size: 14px;
  color: var(--ink);
  font-weight: 500;
  line-height: 1.4;
}

/* ============== REPEATER (multi-entry forms) ============== */
.repeater { display: flex; flex-direction: column; gap: 12px; }
.repeater__item {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 16px;
  position: relative;
}
.repeater__remove {
  position: absolute;
  top: 12px;
  right: 12px;
  background: transparent;
  border: none;
  color: var(--ink-3);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  font-family: var(--font);
}
.repeater__remove:hover { color: var(--red); background: rgba(239,68,68,0.06); }
.repeater__add {
  width: 100%;
  background: var(--surface);
  border: 1px dashed var(--border);
  border-radius: var(--r-md);
  padding: 12px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
  cursor: pointer;
  font-family: var(--font);
  transition: all 120ms ease;
}
.repeater__add:hover { border-color: var(--ink); color: var(--ink); background: var(--surface-2); }

.field-row {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr 1fr;
}
@media (max-width: 480px) { .field-row { grid-template-columns: 1fr; } }

.checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--ink-2);
  cursor: pointer;
  user-select: none;
}
.checkbox input[type=checkbox] {
  width: 16px;
  height: 16px;
  cursor: pointer;
  accent-color: var(--ink);
}

/* ============== SECTION CARD ============== */
.section-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 22px;
  margin-bottom: 14px;
}
.section-card__h {
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 4px;
  letter-spacing: -0.01em;
}
.section-card__d {
  font-size: 13px;
  color: var(--ink-3);
  margin: 0 0 16px;
}

/* ============== SKILLS INPUT ============== */
.skills-input {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 8px;
  min-height: 44px;
  background: var(--surface);
}
.skills-input input {
  flex: 1;
  min-width: 120px;
  border: none;
  outline: none;
  font-family: var(--font);
  font-size: 14px;
  padding: 6px 8px;
  background: transparent;
  color: var(--ink);
}
.skill-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 28px;
  padding: 0 4px 0 12px;
  border-radius: var(--r-pill);
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
}
.skill-chip__x {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  display: grid;
  place-items: center;
  border: none;
  color: #fff;
  font-size: 13px;
  cursor: pointer;
  line-height: 1;
  font-family: var(--font);
}
.skill-chip__x:hover { background: rgba(255,255,255,0.3); }
.skill-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}
.skill-suggest {
  font-size: 12px;
  color: var(--ink-2);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  padding: 5px 10px;
  cursor: pointer;
  font-family: var(--font);
  font-weight: 500;
}
.skill-suggest:hover { color: var(--ink); border-color: var(--ink); }

/* ============== BANNER ============== */
.banner {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 18px;
  border-radius: var(--r-md);
  margin-bottom: 20px;
  font-size: 14px;
  line-height: 1.5;
}
.banner__icon { flex-shrink: 0; margin-top: 2px; }
.banner__body { flex: 1; }
.banner__body strong { display: block; font-weight: 600; margin-bottom: 2px; }
.banner--warn { background: #FFF7E8; border: 1px solid rgba(255,149,0,0.25); color: #92400E; }
.banner--warn .banner__icon { color: #B45309; }
.banner--info { background: #EFF6FF; border: 1px solid #BFDBFE; color: #1E40AF; }
.banner--info .banner__icon { color: #1D4ED8; }
.banner--success { background: var(--green-soft); border: 1px solid rgba(16,185,129,0.3); color: #065F46; }
.banner--success .banner__icon { color: var(--green); }

/* ============== CREDITS WIDGET ============== */
.credits-card {
  background: var(--ink);
  color: #fff;
  border-radius: var(--r-lg);
  padding: 24px;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
}
.credits-card__label {
  font-size: 11px;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 8px;
}
.credits-card__value {
  font-size: 44px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
}
.credits-card__sub {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  margin-top: 6px;
}
.credits-card__actions { margin-top: 20px; display: flex; gap: 8px; flex-wrap: wrap; }
.credits-card .btn--amber:hover { background: var(--orange-7); }
.credits-card .btn--ghost-dark {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.2);
}
.credits-card .btn--ghost-dark:hover { background: rgba(255,255,255,0.08); }

/* ============== LEVEL BADGE ============== */
.level-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 22px;
  padding: 0 10px;
  border-radius: var(--r-pill);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.level-badge--bronze { background: #FEF3E2; color: #92400E; border: 1px solid #FED7AA; }
.level-badge--silver { background: #F4F4F5; color: #52525B; border: 1px solid #D4D4D8; }
.level-badge--gold { background: #FFF7E8; color: #B45309; border: 1px solid rgba(255,149,0,0.3); }
.level-badge--platinum { background: #F5F3FF; color: #6D28D9; border: 1px solid #DDD6FE; }

/* ============== PACKAGES (buy credits) ============== */
.packages {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
  margin-top: 28px;
}
@media (min-width: 760px) { .packages { grid-template-columns: repeat(3, 1fr); } }
.package {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px 24px 24px;
  position: relative;
  display: flex;
  flex-direction: column;
}
.package--featured { border: 2px solid var(--ink); }
.package__badge {
  position: absolute;
  top: -12px;
  right: 20px;
  background: var(--ink);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: var(--r-pill);
  letter-spacing: 0.04em;
}
.package__credits {
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
}
.package__count {
  font-size: 40px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-top: 6px;
}
.package__count-sub {
  font-size: 13px;
  color: var(--ink-2);
  margin-top: 4px;
}
.package__price {
  margin-top: 18px;
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.package__price-main {
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.package__price-gst {
  font-size: 13px;
  color: var(--ink-3);
}
.package__total {
  font-size: 12px;
  color: var(--ink-2);
  margin-top: 2px;
}
.package ul {
  list-style: none;
  padding: 0;
  margin: 18px 0 20px;
  flex: 1;
}
.package li {
  font-size: 13px;
  color: var(--ink-2);
  padding: 5px 0;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.package li svg { color: var(--green); flex-shrink: 0; margin-top: 2px; }

/* ============== STATUS PILLS ============== */
.status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 22px;
  padding: 0 10px;
  border-radius: var(--r-pill);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.03em;
}
.status__dot { width: 6px; height: 6px; border-radius: 50%; }
.status--editable { background: var(--green-soft); color: var(--green); }
.status--editable .status__dot { background: var(--green); }
.status--active { background: #EFF6FF; color: #1E40AF; }
.status--active .status__dot { background: #3B82F6; }
.status--expiring { background: #FFF7E8; color: #92400E; }
.status--expiring .status__dot { background: #E07F00; }
.status--archived { background: var(--surface-2); color: var(--ink-3); }
.status--archived .status__dot { background: var(--ink-3); }

/* ============== PROFILE VIEW ============== */
.profile-view__head {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px;
  margin-bottom: 14px;
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}
.profile-view__photo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 600;
  font-size: 28px;
  overflow: hidden;
  flex-shrink: 0;
}
.profile-view__photo img { width: 100%; height: 100%; object-fit: cover; }
.profile-view__name {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 4px;
}
.profile-view__meta { font-size: 14px; color: var(--ink-2); }

.timeline {
  position: relative;
  padding-left: 22px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: var(--border);
}
.timeline-item {
  position: relative;
  padding: 0 0 18px 0;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: '';
  position: absolute;
  left: -22px;
  top: 6px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--ink);
}
.timeline-item__title {
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 2px;
}
.timeline-item__sub {
  font-size: 13px;
  color: var(--ink-2);
}
.timeline-item__dates {
  font-size: 12px;
  color: var(--ink-3);
  margin-top: 2px;
}

/* ============== JOB DETAIL ============== */
.job-detail__head {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px;
  margin-bottom: 14px;
}
.job-detail__title {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 8px 0 4px;
}
.job-detail__meta { font-size: 14px; color: var(--ink-2); margin-bottom: 14px; }
.job-detail__tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; }
.job-detail__body p { font-size: 14px; line-height: 1.6; color: var(--ink-2); }
.job-detail__h { font-size: 14px; font-weight: 600; margin: 18px 0 8px; color: var(--ink); }

.detail-grid { display: grid; gap: 8px; grid-template-columns: 1fr 1fr; }
@media (min-width: 600px) { .detail-grid { grid-template-columns: repeat(4, 1fr); } }
.detail-cell {
  background: var(--surface-2);
  border-radius: var(--r);
  padding: 10px 12px;
}
.detail-cell__l { font-size: 11px; color: var(--ink-3); letter-spacing: 0.04em; text-transform: uppercase; font-weight: 600; }
.detail-cell__v { font-size: 14px; font-weight: 600; margin-top: 2px; }

/* Sticky apply CTA on mobile */
.apply-cta {
  position: sticky;
  bottom: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 12px;
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 16px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.05);
}

/* ============== RECRUITERS LANDING ACCENT ============== */
.r-hero__sub { color: var(--ink-2); }
.feature-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .feature-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 920px) { .feature-grid { grid-template-columns: repeat(3, 1fr); } }
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px;
}
.feature-card__icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--surface-2);
  display: grid;
  place-items: center;
  color: var(--ink);
  margin-bottom: 14px;
}
.feature-card__t {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 6px;
}
.feature-card__d {
  font-size: 14px;
  color: var(--ink-2);
  margin: 0;
  line-height: 1.5;
}

/* ============== UTILITIES ============== */
.hide-sm { }
@media (max-width: 640px) { .hide-sm { display: none !important; } }
.row { display: flex; align-items: center; gap: 12px; }
.between { justify-content: space-between; }
.flex-1 { flex: 1; }
.mt-1 { margin-top: 4px; }
.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 12px; }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.mb-2 { margin-bottom: 8px; }
.mb-3 { margin-bottom: 12px; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }

/* ============== LOADING STATE ============== */
/* The hm logo, with its orange dot hopping across the humps of the "m". */
body.rh-loading > * { visibility: hidden; }
body.rh-loading::before {
  content: 'Loading…';
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 120px;
  background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath d='M10 8V56M10 38a8 8 0 0 1 16 0V56M26 38a8 8 0 0 1 16 0V56M42 38a8 8 0 0 1 16 0V56' fill='none' stroke='%2315171C' stroke-width='7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center calc(50% - 10px) / 64px 64px no-repeat;
  color: var(--ink-2);
  font: 600 15px var(--font);
  z-index: 9998;
}
body.rh-loading::after {
  content: '';
  position: fixed;
  top: 50%;
  left: 50%;
  width: 11px;
  height: 11px;
  margin: -26.5px 0 0 -19.5px;
  border-radius: 50%;
  background: var(--orange-1);
  animation: rh-hop 1.4s ease-in-out infinite alternate;
  z-index: 9999;
}
@keyframes rh-hop {
  0% { transform: translate(0, 0); }
  25% { transform: translate(8px, -9px); }
  50% { transform: translate(16px, 0); }
  75% { transform: translate(24px, -9px); }
  100% { transform: translate(32px, 0); }
}
@media (prefers-reduced-motion: reduce) {
  body.rh-loading::after { animation: none; transform: translate(32px, 0); }
}

/* ============== MAP ============== */
.loc-picker__map {
  position: relative;
  height: 260px;
  border-radius: var(--r-md);
  overflow: hidden;
  margin-bottom: 10px;
  background: var(--surface-2);
}
/* Fixed pin in the middle: the employer moves the map under it. */
.loc-picker__pin {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 40px;
  height: 40px;
  margin: -38px 0 0 -20px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath fill='%2315171C' stroke='white' stroke-width='3' d='M32 60C32 60 13 41 13 24a19 19 0 0 1 38 0c0 17-19 36-19 36Z'/%3E%3Ccircle cx='32' cy='24' r='8' fill='%23FF6D00'/%3E%3C/svg%3E") center / contain no-repeat;
  pointer-events: none;
  z-index: 2;
}
.loc-picker__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.field__hint--error { color: #B91C1C; }

.jobs-map {
  position: relative;
  height: 280px;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--surface-2);
  margin-bottom: 16px;
}
.hm-me {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--ocean);
  border: 3px solid #fff;
  box-shadow: 0 0 0 8px rgba(255, 72, 0, 0.18);
}
.hm-pin {
  font: 650 13px var(--font);
  color: #fff;
  background: var(--navy);
  border: 2px solid #fff;
  border-radius: 999px;
  padding: 4px 9px;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(21, 23, 28, 0.2);
}
.hm-pin:hover, .hm-pin:focus-visible { background: var(--ocean); }

.loc-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 10px;
  font-size: 15px;
  color: var(--ink-2);
  margin: 4px 0 16px;
}
.loc-bar button {
  background: none;
  border: 0;
  padding: 4px 2px;
  font: 600 15px var(--font);
  color: var(--navy-2);
  cursor: pointer;
}
.loc-ask {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 20px;
  margin-bottom: 16px;
}
.loc-ask h2 { margin: 0 0 6px; font-size: 19px; letter-spacing: -0.02em; }
.loc-ask p { margin: 0 0 14px; color: var(--ink-2); font-size: 15px; line-height: 1.45; }
.loc-ask__actions { display: flex; flex-direction: column; gap: 8px; }
.lcard__dist { font-size: 13px; font-weight: 600; color: var(--navy-2); white-space: nowrap; }
