/* ==========================================================================
   Heart Capital — Jobs board + Application form
   Brand language: Maven Pro, hot pink #ff1fa8, sharp corners, pill buttons.
   Light + dark (toggled via .dark on <html>). Scoped under .hcj / .hcform.
   ========================================================================== */

:root {
  --hc-pink: #ff1fa8;
  --hc-pink-dark: #e0148f;
  --hc-ink: #14121b;
  --hc-muted: #6b7280;
  --hc-line: #ece3ea;
  --hc-bg: #ffffff;
  --hc-bg-alt: #fff5fb;
  --hc-card: #ffffff;
  --hc-nav-h: 66px;
}
.hcj, .hcform {
  font-family: "Maven Pro", "Inter", system-ui, -apple-system, sans-serif;
  color: var(--hc-ink);
  background: var(--hc-bg);
  min-height: 100vh;
}
.hcj *, .hcform * { box-sizing: border-box; }

/* ----- top nav (shared with the rest of the site) ----- */
.hcnav { position: sticky; top: 0; z-index: 1000; background: var(--hc-bg); border-bottom: 1px solid var(--hc-line); }
.hcnav__inner { max-width: 1180px; margin: 0 auto; height: var(--hc-nav-h); display: flex; align-items: center; justify-content: space-between; padding-right: 24px; }
.hcnav__logo { width: var(--hc-nav-h); height: var(--hc-nav-h); background: var(--hc-pink); display: grid; place-items: center; }
.hcnav__logo img { height: 32px; filter: brightness(0) invert(1); }
.hcnav__links { display: flex; gap: 28px; }
.hcnav__links a { color: var(--hc-pink); font-weight: 700; font-size: 13px; letter-spacing: 0.09em; text-transform: uppercase; text-decoration: none; }
.hcnav__links a:hover { color: var(--hc-pink-dark); }
@media (max-width: 720px) { .hcnav__links a:not(:first-child) { display: none; } }

.hc-wrap { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.hc-narrow { max-width: 760px; }

/* ----- page hero ----- */
.hc-hero { background: var(--hc-pink); color: #fff; position: relative; overflow: hidden; text-align: center; }
.hc-hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.16) 1.4px, transparent 1.4px); background-size: 22px 22px; }
.hc-hero__inner { position: relative; max-width: 820px; margin: 0 auto; padding: 56px 24px 60px; }
.hc-eyebrow { font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; font-size: 12.5px; opacity: 0.95; margin: 0 0 12px; }
.hc-hero h1 { font-weight: 900; font-size: clamp(2.4rem, 5vw, 3.6rem); line-height: 1.03; letter-spacing: -0.03em; margin: 0 0 14px; }
.hc-hero p { font-size: clamp(1rem, 1.5vw, 1.18rem); line-height: 1.6; max-width: 560px; margin: 0 auto; color: rgba(255,255,255,.94); }

/* ==========================================================================
   Jobs board
   ========================================================================== */
.hcj-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 22px; padding: 50px 0 70px; }
.hcj-card { background: var(--hc-card); border: 1px solid var(--hc-line); box-shadow: 0 14px 40px -22px rgba(20,18,27,.22); padding: 26px 24px 22px; display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.hcj-card:hover { transform: translateY(-3px); border-color: rgba(255,31,168,.35); box-shadow: 0 22px 50px -22px rgba(255,31,168,.3); }
.hcj-card__tag { align-self: flex-start; background: rgba(255,31,168,.1); color: var(--hc-pink); font-weight: 700; font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; padding: 5px 12px; margin-bottom: 14px; }
.hcj-card__title { font-size: 1.5rem; font-weight: 900; letter-spacing: -0.02em; margin: 0 0 4px; color: var(--hc-ink); }
.hcj-card__meta { font-size: 14px; color: var(--hc-muted); font-weight: 600; margin: 0 0 14px; }
.hcj-card__meta b { color: var(--hc-pink); }
.hcj-card__summary { font-size: 14.5px; line-height: 1.6; color: var(--hc-muted); margin: 0 0 20px; flex: 1; }
.hcj-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.hcj-card__date { font-size: 12.5px; color: var(--hc-muted); }

.hcj-card__title a { color: inherit; text-decoration: none; }
.hcj-card__title a:hover { color: var(--hc-pink); }

/* ==========================================================================
   Job detail page
   ========================================================================== */
.hcjd-hero { background: var(--hc-bg); padding: 40px 0 36px; border-bottom: 1px solid var(--hc-line); }
.hcjd-hero__inner { display: flex; gap: 40px; align-items: flex-start; justify-content: space-between; }
.hcjd-hero__main { flex: 1; min-width: 0; }
.hcjd-back { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--hc-muted); text-decoration: none; margin-bottom: 16px; }
.hcjd-back:hover { color: var(--hc-pink); }
.hcjd-title { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 900; letter-spacing: -0.03em; line-height: 1.04; margin: 0 0 12px; color: var(--hc-ink); }
.hcjd-loc { display: flex; align-items: center; gap: 8px; color: var(--hc-muted); font-size: 16px; font-weight: 600; margin: 0 0 16px; }
.hcjd-loc svg { width: 18px; height: 18px; color: var(--hc-pink); }
.hcjd-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.hcjd-tags span { background: rgba(255,31,168,.1); color: var(--hc-pink); font-weight: 700; font-size: 12px; letter-spacing: 0.05em; text-transform: uppercase; padding: 6px 13px; }
.hcjd-apply { font-size: 15px; padding: 14px 32px; }

.hcjd-comp { flex: 0 0 280px; max-width: 280px; }
@media (max-width: 760px) { .hcjd-hero__inner { flex-direction: column; gap: 24px; } .hcjd-comp { flex-basis: auto; max-width: none; width: 100%; } }
.hcjd-comp__row { padding: 10px 0; border-bottom: 1px solid var(--hc-line); }
.hcjd-comp__row:last-child { border-bottom: none; }
.hcjd-comp__row > span { display: block; font-weight: 700; font-size: 14px; margin-bottom: 5px; color: var(--hc-ink); }
.hcjd-stars { display: flex; gap: 3px; color: var(--hc-pink); }
.hcjd-stars svg { width: 16px; height: 16px; }

.hcjd-desc { padding: 40px 24px; }
.hcjd-desc p { font-size: 16.5px; line-height: 1.7; color: var(--hc-ink); max-width: 760px; margin: 0 0 18px; }
.hcjd-desc p:last-child { margin-bottom: 0; }

.hcjd-band { background: var(--hc-bg-alt); border-top: 1px solid var(--hc-line); border-bottom: 1px solid var(--hc-line); padding: 44px 0; }
.hcjd-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 820px) { .hcjd-cols { grid-template-columns: 1fr; } }
.hcjd-card { background: var(--hc-card); border: 1px solid rgba(255,31,168,.4); }
.hcjd-card__head { background: var(--hc-pink); color: #fff; font-weight: 900; font-size: 1.25rem; letter-spacing: -0.01em; padding: 14px 20px; }
.hcjd-card__list { list-style: none; margin: 0; padding: 0; }
.hcjd-card__list li { padding: 13px 20px; border-bottom: 1px solid var(--hc-line); font-size: 14.5px; color: var(--hc-ink); }
.hcjd-card__list li:last-child { border-bottom: none; }

.hcjd-great { padding: 50px 24px; }
.hcjd-great h2 { font-size: clamp(1.7rem, 3.5vw, 2.3rem); font-weight: 900; letter-spacing: -0.025em; margin: 0 0 22px; color: var(--hc-ink); }
.hcjd-great ul { margin: 0; padding-left: 0; list-style: none; max-width: 720px; }
.hcjd-great li { position: relative; padding-left: 28px; margin-bottom: 14px; font-size: 16px; line-height: 1.6; color: var(--hc-ink); }
.hcjd-great li::before { content: ""; position: absolute; left: 0; top: 9px; width: 9px; height: 9px; background: var(--hc-pink); }

.hcjd-offer { background: var(--hc-bg-alt); border-top: 1px solid var(--hc-line); padding: 56px 0 64px; }
.hcjd-offer h2 { font-size: clamp(1.7rem, 3.5vw, 2.3rem); font-weight: 900; letter-spacing: -0.025em; margin: 0 0 8px; color: var(--hc-ink); }
.hcjd-offer__sub { color: var(--hc-muted); font-size: 16px; max-width: 640px; margin: 0 0 36px; }
.hcjd-offer__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
@media (max-width: 820px) { .hcjd-offer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .hcjd-offer__grid { grid-template-columns: 1fr; } }
.hcjd-offer__icon { display: grid; place-items: center; width: 48px; height: 48px; background: rgba(255,31,168,.12); color: var(--hc-pink); margin-bottom: 14px; }
.hcjd-offer__icon svg { width: 22px; height: 22px; }
.hcjd-offer__item h3 { font-size: 1.15rem; font-weight: 800; margin: 0 0 6px; color: var(--hc-ink); }
.hcjd-offer__item p { font-size: 14.5px; line-height: 1.6; color: var(--hc-muted); margin: 0; }
.hcjd-offer__cta { margin-top: 44px; text-align: center; }

/* ----- pill button (the one rounded thing, per brand) ----- */
.hc-btn { display: inline-flex; align-items: center; gap: 8px; background: var(--hc-pink); color: #fff; font-weight: 700; font-size: 14px; letter-spacing: 0.05em; text-transform: uppercase; text-decoration: none; padding: 12px 26px; border: none; border-radius: 100px; cursor: pointer; box-shadow: 0 18px 26px -16px rgba(255,31,168,.65); transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.hc-btn:hover { transform: translateY(-2px); box-shadow: 0 26px 34px -16px rgba(255,31,168,.8); }
.hc-btn--ghost { background: transparent; color: var(--hc-pink); border: 1.5px solid var(--hc-line); box-shadow: none; }
.hc-btn--ghost:hover { border-color: var(--hc-pink); transform: none; box-shadow: none; }
.hc-btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }

/* ==========================================================================
   Application form
   ========================================================================== */
.hcform-shell { max-width: 880px; margin: 0 auto; padding: 36px 24px 90px; }

/* selected-job banner */
.hcform-job { display: flex; align-items: center; gap: 16px; background: var(--hc-bg-alt); border: 1px solid var(--hc-line); border-left: 4px solid var(--hc-pink); padding: 16px 20px; margin-bottom: 30px; }
.hcform-job__role { font-weight: 900; font-size: 1.15rem; letter-spacing: -0.01em; }
.hcform-job__meta { font-size: 13px; color: var(--hc-muted); font-weight: 600; }
.hcform-job a, .hcform-job button { margin-left: auto; font-size: 12.5px; color: var(--hc-pink); font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; text-decoration: none; white-space: nowrap; }
.hcform-job button { background: none; border: none; cursor: pointer; font-family: inherit; padding: 0; }
.hcform-job button:hover, .hcform-job a:hover { color: var(--hc-pink-dark); }

/* progress */
.hcform-steps { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.hcform-steps__item { flex: 1 1 auto; min-width: 90px; }
.hcform-steps__bar { height: 4px; background: var(--hc-line); margin-bottom: 8px; }
.hcform-steps__item.done .hcform-steps__bar, .hcform-steps__item.active .hcform-steps__bar { background: var(--hc-pink); }
.hcform-steps__label { font-size: 11px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--hc-muted); }
.hcform-steps__item.active .hcform-steps__label { color: var(--hc-pink); }

.hcform-panel h2 { font-size: clamp(1.7rem, 3.5vw, 2.2rem); font-weight: 900; letter-spacing: -0.025em; margin: 0 0 6px; }
.hcform-panel__sub { color: var(--hc-muted); font-size: 15px; margin: 0 0 26px; }

/* fields */
.hc-row { margin-bottom: 18px; }
.hc-row--2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .hc-row--2 { grid-template-columns: 1fr; } }
.hc-label { display: block; font-size: 13.5px; font-weight: 700; margin-bottom: 7px; color: var(--hc-ink); }
.hc-label .req { color: var(--hc-pink); }
.hc-input, .hc-select, .hc-textarea {
  width: 100%; font-family: inherit; font-size: 15px; color: var(--hc-ink);
  background: var(--hc-card); border: 1px solid var(--hc-line); border-radius: 0;
  padding: 12px 14px; transition: border-color .15s ease, box-shadow .15s ease;
}
.hc-textarea { min-height: 110px; resize: vertical; line-height: 1.55; }
.hc-input:focus, .hc-select:focus, .hc-textarea:focus { outline: none; border-color: var(--hc-pink); box-shadow: 0 0 0 3px rgba(255,31,168,.14); }
.hc-input::placeholder, .hc-textarea::placeholder { color: var(--hc-muted); opacity: .7; }
.hc-hint { font-size: 12.5px; color: var(--hc-muted); margin-top: 6px; }

/* checkbox grid (medical conditions etc.) */
.hc-checkgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 8px; }
.hc-check { display: flex; align-items: center; gap: 10px; background: var(--hc-bg-alt); border: 1px solid var(--hc-line); padding: 10px 12px; cursor: pointer; font-size: 13.5px; }
.hc-check input { accent-color: var(--hc-pink); width: 16px; height: 16px; }
.hc-check:hover { border-color: rgba(255,31,168,.4); }
.hc-check.is-on { border-color: var(--hc-pink); background: rgba(255,31,168,.08); }

/* yes/no segmented */
.hc-seg { display: inline-flex; border: 1px solid var(--hc-line); }
.hc-seg button { font-family: inherit; font-weight: 700; font-size: 13.5px; padding: 10px 22px; background: var(--hc-card); color: var(--hc-muted); border: none; cursor: pointer; }
.hc-seg button.is-on { background: var(--hc-pink); color: #fff; }

/* repeatable block (experience / references) */
.hc-block { border: 1px solid var(--hc-line); padding: 20px 18px; margin-bottom: 16px; position: relative; background: var(--hc-card); }
.hc-block__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.hc-block__title { font-weight: 800; font-size: 15px; letter-spacing: 0.02em; color: var(--hc-pink); text-transform: uppercase; }
.hc-block__remove { background: none; border: none; color: var(--hc-muted); font-size: 13px; font-weight: 700; cursor: pointer; }
.hc-block__remove:hover { color: var(--hc-pink); }
.hc-add { display: inline-flex; align-items: center; gap: 8px; background: none; border: 1.5px dashed var(--hc-line); color: var(--hc-pink); font-family: inherit; font-weight: 700; font-size: 13.5px; padding: 12px 18px; cursor: pointer; width: 100%; justify-content: center; }
.hc-add:hover { border-color: var(--hc-pink); }

/* footer nav */
.hcform-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--hc-line); }

/* review */
.hc-review { display: grid; gap: 18px; }
.hc-review__group { border: 1px solid var(--hc-line); padding: 16px 18px; }
.hc-review__group h3 { font-size: 12.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--hc-pink); margin: 0 0 10px; }
.hc-review__row { display: flex; gap: 14px; font-size: 14px; padding: 4px 0; }
.hc-review__row dt { color: var(--hc-muted); min-width: 150px; font-weight: 600; }
.hc-review__row dd { margin: 0; color: var(--hc-ink); }

/* success */
.hc-success { text-align: center; padding: 60px 20px; }
.hc-success__mark { width: 76px; height: 76px; border-radius: 50%; background: rgba(255,31,168,.12); color: var(--hc-pink); display: grid; place-items: center; margin: 0 auto 22px; }
.hc-success h2 { font-size: 2rem; font-weight: 900; letter-spacing: -0.02em; margin: 0 0 10px; }
.hc-success p { color: var(--hc-muted); max-width: 440px; margin: 0 auto 24px; line-height: 1.6; }

.hc-err { color: #d6206a; font-size: 12.5px; margin-top: 6px; font-weight: 600; }
.dark .hc-err { color: #ff85bb; }

/* ----- bottom-left chrome: dark toggle + report ----- */
.hc-chrome { position: fixed; left: 16px; bottom: 16px; z-index: 200; }
.hc-chrome__bar { display: flex; gap: 8px; }
.hc-chrome__btn { width: 38px; height: 38px; display: grid; place-items: center; background: var(--hc-card); border: 1px solid var(--hc-line); color: var(--hc-muted); cursor: pointer; transition: color .15s, border-color .15s; }
.hc-chrome__btn:hover { color: var(--hc-pink); border-color: var(--hc-pink); }
.hc-report { position: absolute; bottom: 48px; left: 0; width: 300px; background: var(--hc-card); border: 1px solid var(--hc-line); padding: 18px; box-shadow: 0 22px 50px -20px rgba(0,0,0,.45); }
.hc-report__x { position: absolute; top: 8px; right: 12px; background: none; border: none; color: var(--hc-muted); cursor: pointer; font-size: 14px; }
.hc-report__title { display: block; margin-bottom: 12px; font-size: 15px; color: var(--hc-ink); }
.hc-report__list { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.hc-report__list label { display: flex; align-items: center; gap: 8px; font-size: 14px; cursor: pointer; color: var(--hc-ink); }
.hc-report__list input { accent-color: var(--hc-pink); }
