/* Workafy homepage, November 2026 redesign.
   Loaded only by resources/views/homepage/v3.blade.php, after workafy-ui.css (header, footer, drawer, modal).
   Colours: buttons and green text #057a33 (white text on it is 5.5:1); the logo green #00b43d is for
   the logo, icons and shapes only. Radius 6px for buttons and inputs, 12px for cards. */

/* Page base (the shared header and footer expect these, as on the old homepage) */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.wf-home3 {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #15222d;
  background: #fff;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}
body.wf-home3 img { max-width: 100%; }
button, input { font: inherit; } /* element-level only, so button classes keep their weights */

.wfh {
  --ink: #15222d; --text: #4a5661; --muted: #5b6670; --line: #e6e7e8; --tint: #f6f8f7;
  --green: #057a33; --green-hover: #04682b; --green-logo: #00b43d; --green-soft: #eef8f1; --border-strong: #868f97;
  color: var(--ink);
  overflow-x: clip;
}
.wfh h1, .wfh h2, .wfh h3, .wfh p, .wfh ul, .wfh ol { margin: 0; }
.wfh h1, .wfh h2, .wfh h3 { color: var(--ink); text-wrap: balance; }
.wfh a { color: var(--green); }
.wfh a:hover { color: var(--green-hover); }
.wfh :focus-visible { outline: 3px solid var(--green-logo); outline-offset: 2px; }
.wfh-icon { display: block; flex: 0 0 auto; }
.wfh-wrap { width: min(1200px, calc(100% - 64px)); margin-inline: auto; }

/* Buttons and links */
.wfh-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border: 1px solid transparent; border-radius: 6px;
  font-size: 16px; font-weight: 600; line-height: 1.2; text-decoration: none !important; white-space: nowrap; cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.wfh-btn--primary { background: var(--green); color: #fff !important; }
.wfh-btn--primary:hover { background: var(--green-hover); color: #fff !important; }
.wfh-btn--outline { background: #fff; border-color: var(--border-strong); color: var(--ink) !important; }
.wfh-btn--outline:hover { border-color: var(--ink); color: var(--ink) !important; }
.wfh-btn--block { display: flex; width: 100%; }
.wfh-btn--bright { min-height: 52px; padding: 0 26px; background: var(--green-logo); color: var(--ink) !important; font-weight: 700; }
.wfh-btn--bright:hover { background: #00a336; color: var(--ink) !important; }
.wfh-btn--ghost-light { min-height: 52px; padding: 0 26px; border-color: #8c99a6; color: #fff !important; }
.wfh-btn--ghost-light:hover { border-color: #fff; color: #fff !important; }
.wfh-link { font-size: 15px; line-height: 22px; font-weight: 600; text-decoration: none !important; }

/* Hero */
.wfh-hero { padding: 72px 0 96px; }
.wfh-hero__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.wfh-hero__copy { flex: 1 1 520px; min-width: 0; max-width: 600px; }
.wfh-pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 10px; border-radius: 9999px; background: var(--green-soft); color: var(--green); font-size: 13px; line-height: 18px; font-weight: 600; }
.wfh-pill__dot { width: 8px; height: 8px; border-radius: 9999px; background: var(--green-logo); }
.wfh .wfh-hero__title { margin-top: 20px; font-size: 56px; line-height: 62px; font-weight: 700; letter-spacing: -.02em; }
.wfh-hero__title span { color: var(--green); }
.wfh .wfh-hero__lead { margin-top: 20px; max-width: 540px; font-size: 19px; line-height: 30px; color: var(--text); }
.wfh-searchcard { margin-top: 32px; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 1px 2px rgba(21,34,45,.06), 0 12px 32px rgba(21,34,45,.08); }
.wfh-tabs { display: flex; gap: 4px; padding: 4px; background: #f1f3f4; border-radius: 8px; }
.wfh-tab { flex: 1 1 0; height: 40px; border: 0; border-radius: 6px; background: transparent; color: var(--text); font-size: 14px; font-weight: 600; cursor: pointer; }
.wfh-tab:hover { color: var(--ink); }
.wfh-tab[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(21,34,45,.14); }
.wfh-panel[hidden], .wfh-hero__alt[hidden] { display: none; }
.wfh-search { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 4px 4px; }
.wfh-field { position: relative; display: flex; align-items: center; flex: 1 1 160px; margin: 0; }
.wfh-field--grow { flex: 2 1 180px; }
.wfh-field .wfh-icon { position: absolute; left: 14px; color: var(--muted); pointer-events: none; }
.wfh-field input {
  width: 100%; height: 52px; margin: 0; padding: 0 14px 0 44px;
  border: 1px solid var(--border-strong); border-radius: 6px; background: #fff;
  font-size: 16px; color: var(--ink); -webkit-appearance: none; appearance: none;
}
.wfh-field input::placeholder { color: #6b747c; opacity: 1; }
.wfh-field input:focus { border-color: var(--green); outline: none; box-shadow: 0 0 0 3px rgba(0,180,61,.28); }
.wfh-search__btn { flex: 0 0 auto; min-height: 52px; }
.wfh-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 10px 4px 6px; }
.wfh-chips__label { font-size: 13px; color: var(--muted); }
.wfh-chip { padding: 6px 10px; border: 1px solid var(--line); border-radius: 9999px; color: var(--ink) !important; font-size: 13px; line-height: 18px; text-decoration: none !important; }
.wfh-chip:hover { border-color: var(--green); color: var(--green) !important; }
.wfh .wfh-hero__alt { margin-top: 20px; font-size: 15px; line-height: 22px; color: var(--text); }
.wfh-hero__alt a { font-weight: 600; text-decoration: none; }

/* Hero illustration (static) */
.wfh-hero__visual { position: relative; flex: 1 1 440px; min-width: 0; max-width: 560px; padding-top: 20px; }
.wfh-demo { overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 1px 2px rgba(21,34,45,.06), 0 24px 48px rgba(21,34,45,.10); }
.wfh-demo__head { display: grid; gap: 12px; padding: 18px 24px; border-bottom: 1px solid var(--line); }
.wfh-demo__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.wfh-demo__row strong { font-size: 15px; font-weight: 600; }
.wfh-demo__row span { font-size: 12px; color: var(--muted); }
.wfh-demo__query { display: flex; align-items: center; gap: 10px; height: 40px; padding: 0 12px; border: 1px solid var(--line); border-radius: 6px; font-size: 14px; }
.wfh-demo__query .wfh-icon { color: var(--muted); }
.wfh-demo__filters { display: flex; flex-wrap: wrap; gap: 6px; }
.wfh-demo__filters span { padding: 5px 10px; border-radius: 9999px; background: var(--green-soft); color: var(--green); font-size: 12px; line-height: 16px; font-weight: 500; }
.wfh-demo__cand { display: flex; align-items: flex-start; gap: 14px; padding: 18px 24px; border-bottom: 1px solid var(--line); }
.wfh-demo__cand.is-soft { background: #fbfcfb; }
.wfh-avatar { display: flex; align-items: center; justify-content: center; flex: 0 0 44px; height: 44px; border-radius: 9999px; font-size: 15px; font-weight: 600; }
.wfh-avatar--green { background: var(--green-soft); color: var(--green); }
.wfh-avatar--blue { background: #eaf2fc; color: #1f5fad; }
.wfh-avatar--amber { background: #fff4e5; color: #8a5300; }
.wfh-demo__who { display: grid; gap: 2px; flex: 1 1 auto; min-width: 0; }
.wfh-demo__who strong { font-size: 15px; line-height: 20px; font-weight: 600; }
.wfh-demo__who > span { font-size: 13px; line-height: 18px; color: var(--text); }
.wfh-demo__skills { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.wfh-demo__skills span { padding: 3px 8px; border-radius: 4px; background: #f1f3f4; color: #374450; font-size: 12px; line-height: 16px; }
.wfh-demo__tag { display: inline-flex; align-items: center; gap: 4px; flex: 0 0 auto; padding: 6px 10px; border-radius: 9999px; background: var(--green-soft); color: var(--green); font-size: 12px; line-height: 16px; font-weight: 600; }
.wfh-demo__unlock { display: grid; justify-items: end; gap: 6px; flex: 0 0 auto; }
.wfh-demo__btn { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-radius: 6px; background: var(--green); color: #fff; font-size: 13px; font-weight: 600; }
.wfh-demo__unlock small { font-size: 12px; line-height: 16px; color: var(--muted); }
.wfh-demo__ghost { display: inline-flex; align-items: center; flex: 0 0 auto; height: 34px; padding: 0 12px; border: 1px solid var(--border-strong); border-radius: 6px; font-size: 13px; font-weight: 600; }
.wfh-demo__foot { display: flex; align-items: center; gap: 8px; padding: 12px 24px; background: var(--tint); color: var(--text); font-size: 12px; line-height: 16px; }
.wfh .wfh-float { position: absolute; top: 0; right: 24px; display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; background: #fff; border: 1px solid var(--line); border-radius: 9999px; box-shadow: 0 6px 16px rgba(21,34,45,.10); font-size: 13px; line-height: 18px; font-weight: 600; }
.wfh-float .wfh-icon { color: var(--green); }

/* Four promises */
.wfh-proof { background: var(--tint); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.wfh-proof__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 28px 32px; padding: 40px 0; }
.wfh-proof__item { display: flex; align-items: flex-start; gap: 14px; }
.wfh-proof__icon { display: flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 9999px; background: #fff; color: var(--green); }
.wfh .wfh-proof__item h2 { font-size: 16px; line-height: 24px; font-weight: 600; letter-spacing: 0; }
.wfh .wfh-proof__item p { margin-top: 4px; font-size: 14px; line-height: 22px; color: var(--text); }

/* Sections */
.wfh-section { padding: 96px 0; }
.wfh-section--tint { background: var(--tint); }
.wfh-head { max-width: 720px; margin-bottom: 40px; }
.wfh-head--split { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 40px; max-width: none; }
.wfh-head--split > div { max-width: 640px; }
.wfh .wfh-h2 { font-size: 36px; line-height: 44px; font-weight: 600; letter-spacing: -.015em; }
.wfh .wfh-sub { margin-top: 12px; font-size: 18px; line-height: 28px; color: var(--text); }
.wfh-sub a { font-weight: 600; text-decoration: none; }
.wfh .wfh-note { margin-top: 24px; font-size: 15px; line-height: 22px; color: var(--text); }
.wfh-note a { font-weight: 600; text-decoration: none; }

/* Both audiences */
.wfh-sides { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); gap: 24px; }
.wfh-side { display: flex; flex-direction: column; gap: 24px; padding: 40px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.wfh .wfh-side h3 { font-size: 28px; line-height: 36px; font-weight: 600; letter-spacing: -.01em; }
.wfh .wfh-side__body { margin-top: -12px; font-size: 16px; line-height: 26px; color: var(--text); }
.wfh-tag { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; padding: 6px 12px; border-radius: 9999px; background: var(--green-soft); color: var(--green); font-size: 13px; line-height: 18px; font-weight: 600; }
.wfh .wfh-checks { display: grid; gap: 10px; padding: 0; list-style: none; }
.wfh-checks li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; line-height: 22px; }
.wfh-checks .wfh-icon { margin-top: 1px; color: var(--green); }
.wfh-mini { padding: 16px; background: var(--tint); border: 1px solid var(--line); border-radius: 10px; }
.wfh-mini--pipeline { display: grid; gap: 12px; }
.wfh-mini__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 14px; }
.wfh-mini__row strong { font-weight: 600; }
.wfh-live { display: inline-flex; align-items: center; gap: 6px; color: var(--green); font-size: 12px; font-weight: 600; }
.wfh-live i { width: 7px; height: 7px; border-radius: 9999px; background: var(--green-logo); }
.wfh-stages { display: flex; flex-wrap: wrap; gap: 6px; }
.wfh-stages span { padding: 6px 10px; border: 1px solid var(--line); border-radius: 6px; background: #fff; color: #374450; font-size: 12px; line-height: 16px; }
.wfh-stages .is-on { background: var(--green); border-color: var(--green); color: #fff; font-weight: 600; }
.wfh-mini--job { display: flex; align-items: center; gap: 14px; }
.wfh-mini__icon { display: flex; align-items: center; justify-content: center; flex: 0 0 40px; height: 40px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.wfh-mini__text { display: grid; gap: 2px; flex: 1 1 auto; min-width: 0; }
.wfh-mini__text strong { font-size: 14px; font-weight: 600; }
.wfh-mini__text span { color: var(--text); font-size: 12px; }
.wfh-mini__text em { display: inline-flex; align-items: center; gap: 4px; color: var(--green); font-size: 12px; font-style: normal; font-weight: 600; }
.wfh-mini__apply { display: inline-flex; align-items: center; flex: 0 0 auto; height: 34px; padding: 0 14px; border-radius: 6px; background: var(--green); color: #fff; font-size: 13px; font-weight: 600; }
.wfh-side__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: auto; }

/* Three steps */
.wfh .wfh-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; padding: 0; list-style: none; }
.wfh-steps li { padding: 32px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.wfh-steps__num { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 9999px; background: var(--green); color: #fff; font-size: 15px; font-weight: 700; }
.wfh .wfh-steps h3 { margin-top: 20px; font-size: 20px; line-height: 28px; font-weight: 600; }
.wfh .wfh-steps p { margin-top: 8px; font-size: 15px; line-height: 24px; color: var(--text); }

/* Categories and cities */
.wfh-cats { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.wfh-cat { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 12px; color: var(--ink) !important; text-decoration: none !important; transition: border-color .15s ease; }
.wfh-cat:hover { border-color: var(--green); }
.wfh-cat__icon { display: flex; align-items: center; justify-content: center; flex: 0 0 40px; height: 40px; border-radius: 8px; background: var(--green-soft); color: var(--green); }
.wfh-cat__label { flex: 1 1 auto; font-size: 15px; line-height: 22px; font-weight: 600; }
.wfh-cat > .wfh-icon { color: var(--muted); }
.wfh-cities { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 32px; }
.wfh-cities__label { margin-right: 6px; font-size: 15px; font-weight: 600; }
.wfh-city { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px; border: 1px solid var(--line); border-radius: 9999px; color: var(--ink) !important; font-size: 14px; font-weight: 500; text-decoration: none !important; }
.wfh-city .wfh-icon { color: var(--green); }
.wfh-city:hover { border-color: var(--green); }

/* Pricing teaser */
.wfh-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; align-items: stretch; }
.wfh-plan { position: relative; display: flex; flex-direction: column; gap: 16px; padding: 32px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.wfh-plan.is-highlight { padding: 31px; border: 2px solid var(--green); }
.wfh .wfh-plan__badge { position: absolute; top: -13px; left: 31px; padding: 4px 10px; border-radius: 9999px; background: var(--green); color: #fff; font-size: 12px; line-height: 16px; font-weight: 600; }
.wfh .wfh-plan__name { font-size: 18px; line-height: 26px; font-weight: 600; }
.wfh .wfh-plan__tagline { margin-top: -12px; color: var(--muted); font-size: 14px; line-height: 20px; }
.wfh-plan__price strong { font-size: 40px; line-height: 44px; font-weight: 700; letter-spacing: -.02em; }
.wfh-plan__price span { color: var(--muted); font-size: 14px; }
.wfh-plan__note { color: var(--muted); font-size: 13px; line-height: 20px; }
.wfh-plan .wfh-btn { margin-top: auto; }

/* FAQ */
.wfh-faq { display: flex; flex-wrap: wrap; gap: 32px 64px; }
.wfh-faq__intro { flex: 1 1 300px; max-width: 380px; }
.wfh-faq__list { flex: 999 1 560px; min-width: 0; border-top: 1px solid var(--line); }
.wfh-faq__list details { padding: 20px 0; border-bottom: 1px solid var(--line); }
.wfh-faq__list summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; list-style: none; cursor: pointer; font-size: 17px; line-height: 26px; font-weight: 600; }
.wfh-faq__list summary::-webkit-details-marker { display: none; }
.wfh-faq__list summary .wfh-icon { transition: transform .15s ease; }
.wfh-faq__list details[open] summary .wfh-icon { transform: rotate(180deg); }
.wfh .wfh-faq__list details p { margin-top: 12px; color: var(--text); font-size: 16px; line-height: 26px; }

/* Final call to action (navy band; the logo never sits on it) */
.wfh-cta { padding: 88px 0; background: var(--ink); }
.wfh-cta__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px; }
.wfh-cta__inner > div:first-child { max-width: 640px; }
.wfh .wfh-cta h2 { color: #fff; font-size: 40px; line-height: 48px; font-weight: 600; letter-spacing: -.02em; }
.wfh .wfh-cta p { margin-top: 14px; color: #c7d0d9; font-size: 18px; line-height: 28px; }
.wfh-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Phones */
@media (max-width: 640px) {
  .wfh-wrap { width: calc(100% - 40px); }
  .wfh-hero { padding: 28px 0 40px; }
  .wfh-hero__inner { gap: 28px; }
  .wfh .wfh-hero__title { margin-top: 16px; font-size: 36px; line-height: 42px; }
  .wfh .wfh-hero__lead { margin-top: 14px; font-size: 17px; line-height: 26px; }
  .wfh-searchcard { margin-top: 24px; }
  .wfh-search { flex-direction: column; }
  .wfh-field, .wfh-field--grow { flex: 1 1 auto; width: 100%; }
  .wfh-search__btn { width: 100%; }
  .wfh-chip:nth-of-type(n+3) { display: none; }
  .wfh .wfh-hero__alt { margin-top: 16px; }
  .wfh-hero__visual { padding-top: 0; }
  .wfh .wfh-float, .wfh-demo__filters, .wfh-demo__cand--extra, .wfh-demo__skills, .wfh-demo__unlock small { display: none; }
  .wfh-demo__head { padding: 14px 16px; }
  .wfh-demo__cand { align-items: center; padding: 14px 16px; }
  .wfh-demo__foot { padding: 10px 16px; }
  .wfh-proof__grid { grid-template-columns: 1fr 1fr; gap: 24px 16px; padding: 28px 0; }
  .wfh-proof__item { flex-direction: column; gap: 10px; }
  .wfh .wfh-proof__item h2 { font-size: 15px; line-height: 22px; }
  .wfh .wfh-proof__item p { font-size: 13px; line-height: 20px; }
  .wfh-section { padding: 48px 0; }
  .wfh-head { margin-bottom: 24px; }
  .wfh .wfh-h2 { font-size: 28px; line-height: 34px; }
  .wfh .wfh-sub { margin-top: 8px; font-size: 16px; line-height: 24px; }
  .wfh-side { gap: 16px; padding: 24px 20px; }
  .wfh .wfh-side h3 { font-size: 22px; line-height: 28px; }
  .wfh .wfh-side__body { margin-top: -8px; font-size: 15px; line-height: 24px; }
  .wfh-mini { display: none; }
  .wfh-side__ctas { flex-direction: column; align-items: stretch; text-align: center; }
  .wfh .wfh-steps { gap: 12px; }
  .wfh-steps li { display: flex; gap: 14px; padding: 18px 16px; }
  .wfh-steps__num { flex: 0 0 32px; width: 32px; height: 32px; font-size: 14px; }
  .wfh .wfh-steps h3 { margin-top: 4px; font-size: 17px; line-height: 24px; }
  .wfh .wfh-steps p { margin-top: 4px; font-size: 14px; line-height: 22px; }
  .wfh-cats { grid-template-columns: 1fr 1fr; gap: 10px; }
  .wfh-cat { flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px; }
  .wfh-cat__icon { flex: 0 0 auto; width: 36px; height: 36px; }
  .wfh-cat__label { font-size: 14px; line-height: 20px; }
  .wfh-cat > .wfh-icon { display: none; }
  .wfh-cities { gap: 8px; margin-top: 24px; }
  .wfh-cities__label { width: 100%; }
  .wfh-plans { gap: 16px; }
  .wfh-plan { gap: 12px; padding: 20px; }
  .wfh-plan.is-highlight { padding: 19px; }
  .wfh .wfh-plan__badge { left: 19px; }
  .wfh-plan__price strong { font-size: 30px; line-height: 34px; }
  .wfh-faq { gap: 16px; }
  .wfh-faq__list details { padding: 16px 0; }
  .wfh-faq__list summary { font-size: 16px; line-height: 24px; }
  .wfh .wfh-faq__list details p { font-size: 15px; line-height: 24px; }
  .wfh-cta { padding: 48px 0; }
  .wfh .wfh-cta h2 { font-size: 28px; line-height: 34px; }
  .wfh .wfh-cta p { font-size: 16px; line-height: 24px; }
  .wfh-cta__actions { flex-direction: column; width: 100%; }
  .wfh-cta__actions .wfh-btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .wfh * { transition: none !important; }
}
