/* Valuehub Careers: the whole look of careers.valuehubit.com. Mobile-first, prefix c-, no inline styles anywhere (CSP).
   Brand: Poppins, navy #002e5b, blue #00a1e0, pale #eef8ff, yellow #ffd61f (sparingly). Works at 390 px without a
   sideways scroll; every interactive element has a visible focus ring. */
:root {
  --navy: #002e5b; --navy-deep: #001f3f; --blue: #00a1e0; --blue-dark: #0085ba; --pale: #eef8ff; --yellow: #ffd61f;
  --text: #0f2438; --muted: #5b6b7c; --line: #dfe7ef; --bg: #f6f9fc; --surface: #fff;
  --ok: #1a8f5a; --ok-bg: #daf3e6; --bad: #c8322d; --bad-bg: #fdecea; --warn-bg: #fff3c4; --warn: #7a5b00;
  --radius: 14px; --shadow: 0 1px 2px rgba(0,46,91,.05), 0 8px 24px rgba(0,46,91,.07);
  --focus: 3px solid rgba(0,161,224,.5);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { margin: 0; }
body { font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif; color: var(--text); background: var(--bg); font-size: 16px; line-height: 1.6; min-height: 100vh; display: flex; flex-direction: column; overflow-x: hidden; }
main { flex: 1 0 auto; }
h1, h2, h3 { color: var(--navy); line-height: 1.25; margin: 0 0 .5rem; font-weight: 600; overflow-wrap: anywhere; }
h1 { font-size: 1.85rem; }
h2 { font-size: 1.35rem; margin-top: 0; }
h3 { font-size: 1.05rem; }
p { margin: 0 0 .9rem; }
a { color: var(--blue-dark); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: var(--focus); outline-offset: 2px; }
img { max-width: 100%; height: auto; }
.c-wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding-left: 16px; padding-right: 16px; }
.c-narrow { max-width: 720px; }
.c-muted { color: var(--muted); }
.c-small { font-size: .875rem; }
.c-skip { position: absolute; left: -999px; top: 8px; background: var(--yellow); color: var(--navy); padding: 8px 12px; border-radius: 8px; z-index: 100; font-weight: 600; }
.c-skip:focus { left: 12px; }

/* Header */
.c-top { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.c-top-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; }
.c-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); font-weight: 600; font-size: 1.05rem; }
.c-brand img { height: 40px; width: auto; }
.c-brand span { padding-left: 10px; border-left: 1px solid var(--line); color: var(--muted); font-weight: 500; }
.c-nav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; justify-content: flex-end; }
.c-nav a { color: var(--navy); text-decoration: none; font-weight: 500; font-size: .92rem; padding: 8px 10px; border-radius: 8px; white-space: nowrap; }
.c-nav a:hover { background: var(--pale); }
.c-nav .c-nav-me { background: var(--navy); color: #fff; padding: 8px 14px; }
.c-nav .c-nav-me:hover { background: var(--blue-dark); }
@media (max-width: 480px) { .c-nav a:not(.c-nav-me) { display: none; } .c-brand span { display: none; } }

/* Hero (as HQ's sign-in page: navy with a soft blue radial glow) */
.c-hero { background: radial-gradient(900px 480px at 15% -10%, rgba(0,161,224,.55), transparent 60%), radial-gradient(700px 400px at 95% 110%, rgba(0,161,224,.35), transparent 60%), linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%); color: #fff; padding: 56px 0 60px; }
.c-hero h1 { color: #fff; font-size: 2.5rem; margin-bottom: .6rem; letter-spacing: -.01em; }
.c-hero .c-lead { color: rgba(255,255,255,.88); font-size: 1.12rem; max-width: 620px; }
.c-eyebrow { color: var(--blue); font-weight: 600; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 8px; }
.c-hero .c-eyebrow { color: var(--yellow); }
.c-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.c-lead { font-size: 1.06rem; color: var(--muted); max-width: 720px; }
.c-pagehead .c-lead { margin-bottom: 0; }

/* Stats strip */
.c-strip { background: var(--surface); border-bottom: 1px solid var(--line); }
.c-strip ul { list-style: none; margin: 0 auto; padding-top: 18px; padding-bottom: 18px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 24px; }
.c-strip li { display: grid; gap: 2px; min-width: 0; }
.c-strip strong { color: var(--navy); font-size: 1.02rem; }
.c-strip span { color: var(--muted); font-size: .85rem; }
.c-intro { padding-top: 28px; }
.c-intro p { font-size: 1.08rem; max-width: 760px; color: var(--text); margin: 0; }

/* Sections and cards */
.c-section { padding: 44px 0; }
.c-section-alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.c-section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.c-more { font-weight: 500; text-decoration: none; white-space: nowrap; }
.c-more i, .c-job-more i { font-style: normal; margin-left: 6px; transition: margin .15s; }
.c-more:hover i, .c-job:hover .c-job-more i { margin-left: 10px; }
.c-grid2 { display: grid; grid-template-columns: 1fr; gap: 16px; }
.c-grid3 { display: grid; grid-template-columns: 1fr; gap: 16px; }
.c-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; box-shadow: var(--shadow); min-width: 0; }
.c-card h3 { margin-top: 0; }
.c-card > :last-child { margin-bottom: 0; }
.c-why .c-icon { display: inline-block; font-weight: 700; color: var(--blue); font-size: .85rem; letter-spacing: .1em; margin-bottom: 8px; }
.c-empty { text-align: center; padding: 36px 22px; }
.c-empty p:last-child { margin-bottom: 0; }

/* Job cards */
.c-job { display: block; text-decoration: none; color: inherit; transition: transform .15s, box-shadow .15s, border-color .15s; }
.c-job:hover { transform: translateY(-2px); border-color: var(--blue); box-shadow: 0 2px 4px rgba(0,46,91,.06), 0 14px 34px rgba(0,46,91,.12); }
.c-job h3 { font-size: 1.12rem; margin-bottom: 4px; }
.c-job-meta { color: var(--muted); font-size: .9rem; margin-bottom: 8px; }
.c-job-sum { margin-bottom: 10px; color: var(--text); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.c-job-more { color: var(--blue-dark); font-weight: 500; font-size: .92rem; }

/* How we hire */
.c-how { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 14px; counter-reset: step; }
.c-how li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px 18px 66px; position: relative; box-shadow: var(--shadow); }
.c-how-n { position: absolute; left: 18px; top: 18px; width: 34px; height: 34px; border-radius: 50%; background: var(--navy); color: var(--yellow); font-weight: 700; display: grid; place-items: center; }
.c-how h3 { margin-bottom: 2px; }
.c-how p { margin: 0; color: var(--muted); }

/* FAQ */
.c-faq-list { max-width: 760px; }
.c-faq { border-bottom: 1px solid var(--line); padding: 4px 0; }
.c-faq summary { cursor: pointer; font-weight: 500; color: var(--navy); padding: 12px 0; list-style: none; position: relative; padding-right: 28px; }
.c-faq summary::-webkit-details-marker { display: none; }
.c-faq summary::after { content: '+'; position: absolute; right: 6px; top: 10px; color: var(--blue); font-size: 1.3rem; }
.c-faq[open] summary::after { content: '–'; }
.c-faq p { color: var(--muted); margin: 0 0 14px; }

/* Page heads */
.c-pagehead { background: var(--surface); border-bottom: 1px solid var(--line); padding: 30px 0 26px; margin-bottom: 26px; }
.c-pagehead h1 { margin-bottom: .35rem; }
.c-back { display: inline-block; color: var(--muted); text-decoration: none; font-size: .9rem; margin-bottom: 10px; }
.c-back::before { content: '← '; }
.c-back:hover { color: var(--blue-dark); }
.c-banner { background: var(--warn-bg); color: var(--warn); padding: 10px 0; font-size: .92rem; }

/* Filters */
.c-filters { display: grid; grid-template-columns: 1fr; gap: 12px; margin-bottom: 18px; }
.c-filters label { display: grid; gap: 4px; font-size: .85rem; font-weight: 500; color: var(--navy); min-width: 0; }
.c-filters input, .c-filters select { font: inherit; font-size: .95rem; width: 100%; padding: .55rem .7rem; border: 1px solid var(--line); border-radius: 9px; background: #fff; color: var(--text); }
.c-filters-actions { display: flex; gap: 8px; align-items: end; }
.c-count { margin: 0 0 12px; font-size: .9rem; min-height: 1.4em; }

/* Job detail */
.c-jobhead .c-job-meta { margin: 0; font-size: 1rem; }
.c-job-layout { display: grid; grid-template-columns: 1fr; gap: 24px; padding-bottom: 96px; }
.c-job-body { min-width: 0; }
.c-job-body h2 { font-size: 1.15rem; margin-top: 26px; }
.c-rich { overflow-wrap: anywhere; }
.c-rich :first-child { margin-top: 0; }
.c-rich h1, .c-rich h2, .c-rich h3 { font-size: 1.15rem; margin-top: 22px; }
.c-rich ul, .c-rich ol { padding-left: 22px; }
.c-rich img { border-radius: 8px; }
.c-list { margin: 0; padding-left: 22px; }
.c-list li { margin-bottom: 6px; }
.c-tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.c-tags li { background: var(--pale); color: var(--navy); border: 1px solid #cfe9f8; border-radius: 999px; padding: 4px 12px; font-size: .85rem; font-weight: 500; }
.c-share { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); }
.c-job-side { min-width: 0; }
.c-apply-box { position: sticky; top: 84px; }
.c-apply-box h3 { margin-bottom: 4px; }
.c-facts { margin: 16px 0 0; display: grid; gap: 8px; }
.c-facts div { display: grid; grid-template-columns: 96px 1fr; gap: 8px; font-size: .92rem; }
.c-facts dt { color: var(--muted); }
.c-facts dd { margin: 0; color: var(--text); overflow-wrap: anywhere; }
.c-apply-bar { position: fixed; left: 0; right: 0; bottom: 0; background: rgba(255,255,255,.96); border-top: 1px solid var(--line); padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); z-index: 15; backdrop-filter: blur(6px); }

/* Buttons */
.c-btn { font: inherit; font-weight: 600; font-size: .95rem; padding: .7rem 1.25rem; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--navy); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: .4rem; text-decoration: none; line-height: 1.2; transition: background .15s, border-color .15s, color .15s; }
.c-btn:hover { border-color: var(--blue); }
.c-btn:disabled { opacity: .55; cursor: default; }
.c-btn-primary { background: var(--blue); border-color: var(--blue); color: #fff; }
.c-btn-primary:hover { background: var(--blue-dark); border-color: var(--blue-dark); }
.c-btn-yellow { background: var(--yellow); border-color: var(--yellow); color: var(--navy); }
.c-btn-yellow:hover { background: #ffe14d; border-color: #ffe14d; }
.c-btn-outline-light { background: transparent; border-color: rgba(255,255,255,.55); color: #fff; }
.c-btn-outline-light:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.c-btn-ghost { background: transparent; }
.c-btn-danger { background: transparent; color: var(--bad); border-color: #f0c9c6; }
.c-btn-danger:hover { background: var(--bad-bg); border-color: var(--bad); }
.c-btn-sm { padding: .42rem .8rem; font-size: .85rem; border-radius: 8px; }
.c-btn-block { width: 100%; }
.c-btn.is-copied { border-color: var(--ok); color: var(--ok); }
.c-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 14px; }
.c-status { color: var(--muted); font-size: .88rem; }
.c-status.is-ok { color: var(--ok); }

/* Forms */
.c-form { margin-bottom: 18px; }
.c-grid-form { display: grid; grid-template-columns: 1fr; gap: 12px 16px; }
.c-grid-form > * { min-width: 0; }
.c-field { display: block; min-width: 0; }
.c-field > span { display: block; font-size: .85rem; font-weight: 500; margin-bottom: 4px; color: var(--navy); }
.c-field small { display: block; color: var(--muted); font-size: .78rem; margin-top: 3px; }
.c-field input, .c-field select, .c-field textarea { font: inherit; width: 100%; min-width: 0; max-width: 100%; padding: .62rem .75rem; border: 1px solid var(--line); border-radius: 9px; background: #fff; color: var(--text); }
.c-field input[type=file] { padding: .45rem 0; font-size: .9rem; }
.c-field textarea { resize: vertical; min-height: 96px; }
.c-req::after { content: ' *'; color: var(--bad); }
.c-check { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; font-size: .95rem; }
.c-check input { width: 20px; height: 20px; margin-top: 3px; flex: none; accent-color: var(--blue); }
.c-radios { display: flex; gap: 16px; flex-wrap: wrap; }
.c-radios label { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.c-radios input { accent-color: var(--blue); width: 18px; height: 18px; }
.c-error { background: var(--bad-bg); border: 1px solid #f4c4c0; color: #7f1d1a; border-radius: 10px; padding: .6rem .9rem; margin: 12px 0 0; font-size: .92rem; }
.c-error:empty, .c-error[hidden] { display: none; }
.c-notice { background: var(--warn-bg); color: var(--warn); border-radius: 10px; padding: .6rem .9rem; font-size: .92rem; }
.c-note { background: var(--pale); border-radius: 8px; padding: 8px 12px; font-size: .9rem; }
.c-hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.c-code-input { font-size: 1.6rem; letter-spacing: .4em; text-align: center; font-family: Menlo, Consolas, monospace; }
.c-loading { padding: 12px 0; }
.c-file { overflow-wrap: anywhere; }
.c-upload { margin-top: 8px; }
.c-progress { height: 4px; background: var(--line); border-radius: 2px; overflow: hidden; margin-top: 10px; }
.c-progress i { display: block; height: 100%; background: var(--blue); width: 0; transition: width .2s; }

/* Apply steps */
.c-steps { list-style: none; margin: 0 0 18px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.c-steps li { display: flex; align-items: center; gap: 8px; font-size: .82rem; font-weight: 500; color: var(--muted); padding: 8px 6px; border-bottom: 3px solid var(--line); min-width: 0; }
.c-steps li span { flex: none; width: 24px; height: 24px; border-radius: 50%; border: 2px solid currentColor; display: grid; place-items: center; font-size: .75rem; }
.c-steps li.is-active { color: var(--navy); border-color: var(--blue); }
.c-steps li.is-active span { background: var(--blue); border-color: var(--blue); color: #fff; }
.c-steps li.is-done { color: var(--ok); border-color: var(--ok); }
.c-steps li.is-done span { background: var(--ok); border-color: var(--ok); color: #fff; }
.c-done { text-align: center; padding: 30px 20px; }
.c-done .c-tick { width: 56px; height: 56px; border-radius: 50%; background: var(--ok-bg); color: var(--ok); display: grid; place-items: center; margin: 0 auto 14px; font-size: 1.6rem; font-weight: 700; }
.c-question { margin-bottom: 16px; }
.c-turnstile { margin: 12px 0; }
.c-signed-as { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; background: var(--pale); border-radius: 10px; padding: 8px 12px; font-size: .9rem; margin-bottom: 14px; }

/* My applications */
.c-me { display: grid; grid-template-columns: 1fr; gap: 28px; padding-bottom: 40px; }
.c-me h2 { margin-bottom: 12px; }
.c-app { margin-bottom: 16px; }
.c-app-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.c-app-head h3 { margin: 0; font-size: 1.1rem; }
.c-app-head h3 a { color: var(--navy); text-decoration: none; }
.c-app-head h3 a:hover { text-decoration: underline; }
.c-pill { display: inline-block; padding: 3px 11px; border-radius: 999px; font-size: .78rem; font-weight: 600; background: #e8eef4; color: #3d4f61; white-space: nowrap; }
.c-pill-new, .c-pill-pending { background: var(--pale); color: var(--blue-dark); }
.c-pill-in_process, .c-pill-scheduled { background: #e3f0ff; color: #1d4ed8; }
.c-pill-offer, .c-pill-hired, .c-pill-passed { background: var(--ok-bg); color: #12683f; }
.c-pill-on_hold { background: var(--warn-bg); color: var(--warn); }
.c-pill-rejected, .c-pill-withdrawn { background: #eceff3; color: #5b6b7c; }
.c-pill-feedback_in, .c-pill-failed, .c-pill-skipped { background: #eceff3; color: #5b6b7c; }
.c-rounds { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; }
.c-round { border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; border-left-width: 4px; }
.c-round.is-scheduled { border-left-color: var(--blue); background: #f8fcff; }
.c-round.is-passed { border-left-color: var(--ok); }
.c-round.is-pending { border-left-color: var(--line); }
.c-round-head { display: flex; justify-content: space-between; gap: 10px; align-items: center; flex-wrap: wrap; }
.c-round p { margin: 6px 0 0; }
.c-round-when { font-weight: 500; color: var(--navy); }
.c-timeline { margin-top: 14px; }
.c-timeline summary { cursor: pointer; font-weight: 500; color: var(--blue-dark); font-size: .9rem; }
.c-timeline ul { list-style: none; margin: 8px 0 0; padding: 0 0 0 12px; border-left: 2px solid var(--line); }
.c-timeline li { display: grid; gap: 2px; padding: 6px 0 6px 12px; font-size: .9rem; }
.c-timeline time { color: var(--muted); font-size: .8rem; }
.c-signout { margin-top: 16px; }
#cv-card { margin-bottom: 16px; }

/* Prose (privacy) */
.c-prose h2 { margin-top: 26px; font-size: 1.15rem; }
.c-prose ul { padding-left: 22px; }
.c-prose li { margin-bottom: 6px; }

/* Footer */
.c-foot { background: var(--navy); color: rgba(255,255,255,.8); font-size: .88rem; margin-top: 40px; }
.c-foot-in { display: flex; flex-wrap: wrap; gap: 8px 22px; padding-top: 22px; padding-bottom: 22px; align-items: center; }
.c-foot a { color: #fff; text-decoration: none; }
.c-foot a:hover { text-decoration: underline; }

/* Wider screens */
@media (min-width: 640px) {
  .c-strip ul { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .c-grid2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .c-filters { grid-template-columns: 2fr 1fr 1fr 1fr auto; align-items: end; }
  .c-grid-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .c-grid-form .c-wide { grid-column: 1 / -1; }
  .c-how { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 900px) {
  h1 { font-size: 2.2rem; }
  .c-hero { padding: 84px 0 88px; }
  .c-hero h1 { font-size: 3.2rem; }
  .c-grid3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .c-how { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .c-how li { padding: 60px 18px 18px; }
  .c-how-n { left: 18px; top: 16px; }
  .c-job-layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 36px; padding-bottom: 40px; }
  .c-apply-bar { display: none; }
  .c-me { grid-template-columns: minmax(0, 1fr) 380px; gap: 36px; }
  .c-section { padding: 56px 0; }
}
@media (max-width: 899px) { .c-apply-box { position: static; } body.c-with-bar .c-foot { padding-bottom: 68px; } }
@media (max-width: 480px) {
  .c-steps li { flex-direction: column; align-items: center; gap: 4px; font-size: .72rem; text-align: center; padding: 6px 2px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .c-job, .c-progress i, .c-more i { transition: none; } }
