/* home.css — public landing page (anonymous home).
   Loads after public.css (shares tokens + chrome). Scoped under `.jpub`.
   Navy hero band with the steps row overlapping its lower edge. */

/* ---------- hero band ---------- */
.jpub .band { padding-bottom: 92px; }
.jpub .hero { text-align: center; padding: 52px 0 8px; }
.jpub .hero h1 {
  font-weight: 700; color: #fff;
  font-size: clamp(30px, 5vw, 46px); letter-spacing: -0.028em; line-height: 1.08; text-wrap: balance;
}
.jpub .hero p { font-size: 17px; color: var(--slate-300); margin-top: 14px; text-wrap: pretty; }

/* ---------- steps (overlap the band) ---------- */
.jpub .steps {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
  margin-top: -58px; position: relative; z-index: 2;
}

/* ---------- jobs section ---------- */
.jpub .jobs-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin: 52px 0 18px; }
.jpub .jobs-head h2 { font-weight: 700; font-size: 23px; letter-spacing: -0.02em; color: var(--navy); }
.jpub .jobs-head .count { font-size: 14.5px; color: var(--slate-500); white-space: nowrap; }

.jpub .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }

/* ---------- job card ---------- */
.jpub .job {
  background: #fff; border: 1px solid var(--slate-200); border-radius: 16px;
  padding: 20px 20px 16px;
  box-shadow: 0 1px 2px rgba(15, 29, 43, 0.04), 0 18px 36px -30px rgba(6, 36, 59, 0.25);
  display: flex; flex-direction: column; gap: 12px;
  text-decoration: none;
  transition: border-color .14s ease, box-shadow .14s ease, transform .12s ease;
}
.jpub .job:hover {
  border-color: var(--slate-300);
  box-shadow: 0 1px 2px rgba(15, 29, 43, 0.04), 0 24px 44px -28px rgba(6, 36, 59, 0.32);
  transform: translateY(-2px);
}
.jpub .job .chips { display: flex; flex-wrap: wrap; gap: 7px; }
.jpub .job h3 {
  font-weight: 600; font-size: 17.5px; letter-spacing: -0.015em;
  line-height: 1.3; color: var(--slate-900); text-wrap: balance; flex: 1;
}
.jpub .job-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; border-top: 1px solid var(--slate-100); padding-top: 13px; }
.jpub .view {
  font-weight: 600; font-size: 13.5px; color: var(--blue-link);
  text-decoration: none; display: inline-flex; align-items: center; gap: 5px;
}
.jpub .view svg { width: 13px; height: 13px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- empty state ---------- */
.jpub .empty {
  text-align: center; max-width: 520px; margin: 8px auto 0;
  background: #fff; border: 1px solid var(--slate-200); border-radius: 18px;
  padding: clamp(32px, 5vw, 48px);
  box-shadow: 0 1px 2px rgba(15, 29, 43, 0.04), 0 18px 36px -30px rgba(6, 36, 59, 0.25);
}
.jpub .empty .ico {
  display: inline-grid; place-items: center; width: 56px; height: 56px;
  border-radius: 14px; background: var(--slate-100); margin-bottom: 16px;
}
.jpub .empty .ico svg { width: 26px; height: 26px; stroke: var(--slate-400); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.jpub .empty h2 { font-weight: 700; font-size: 21px; letter-spacing: -0.02em; color: var(--navy); }
.jpub .empty p { font-size: 15px; line-height: 1.6; color: var(--slate-500); margin: 10px 0 22px; text-wrap: pretty; }
.jpub .empty .nav-cta {
  display: inline-block;
  color: #fff; background: var(--navy);
  box-shadow: 0 10px 18px -10px rgba(6, 36, 59, 0.45);
}

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .jpub .steps { grid-template-columns: repeat(2, 1fr); }
  .jpub .grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .jpub .steps { grid-template-columns: 1fr; margin-top: -40px; }
  .jpub .grid { grid-template-columns: 1fr; }
}
