/* Homepage: compact hero + FixPayment-style collapsible story panels */

/* Homepage with no fixed nav — logo lives in the hero */
body.home-no-nav {
  --fixed-header-height: 0px;
}

.site-nonprofit-bar {
  background: #ecfdf5;
  border-bottom: 1px solid #a7f3d0;
  color: #065f46;
  text-align: center;
  padding: 0.55rem 0.75rem;
  position: relative;
  z-index: 3;
}

.site-nonprofit-bar p {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-size: clamp(0.78rem, 2.4vw, 0.92rem);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0.01em;
}

.site-nonprofit-bar strong {
  font-weight: 700;
}

/* White top strip — logo left, same look as the old header (no nav links) */
.hero-logo-bar {
  background: #fff;
  border-bottom: 1px solid #e2e8f0;
  padding: 0.55rem 0;
  position: relative;
  z-index: 2;
}

.hero-logo-bar .container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
  min-height: 2.75rem;
  position: relative;
}

.hero-brand {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  text-decoration: none;
  margin: 0;
  padding: 0;
  position: relative;
  z-index: 1;
}

.hero-auth-links {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  z-index: 2;
}

.hero-signup-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.55rem;
  padding: 0.5rem 1.05rem;
  border-radius: 999px;
  border: 1px solid #cbd5e1;
  background: #fff;
  color: #0f172a;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  text-align: center;
  white-space: nowrap;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease, color 0.15s ease;
}

.hero-signup-link:hover,
.hero-signup-link:focus {
  background: #f8fafc;
  border-color: #94a3b8;
  color: #0f172a;
  text-decoration: none;
  transform: translateY(-1px);
}

.hero-login-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.55rem;
  padding: 0.55rem 1.25rem;
  border-radius: 999px;
  border: 1px solid #0f172a;
  background: #0f172a;
  color: #fff;
  font-family: inherit;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  text-align: center;
  white-space: nowrap;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.22);
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.hero-login-link:hover,
.hero-login-link:focus {
  border-color: #1e293b;
  background: #1e293b;
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.3);
}

.hero-logo {
  height: 40px;
  width: auto;
  display: block;
  filter: none;
}

body.home-no-nav .hero.hero-compact {
  padding: 2.5rem 0 2.75rem;
}

body.home-no-nav .hero.hero-compact .hero-content {
  padding-top: 0;
}

/* Hero CTAs — blue, not purple */
.hero .btn-primary {
  background: #fff;
  color: #1d4ed8;
  border: 2px solid #fff;
}

.hero .btn-primary:hover {
  background: #eff6ff;
  color: #1e40af;
  border-color: #eff6ff;
}

.hero .btn-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.55);
}

.hero .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: #fff;
  color: #fff;
}

.hero .btn-primary i,
.hero .btn-secondary i {
  color: inherit;
}

.hero.hero-compact {
  min-height: 0;
}

.hero.hero-compact .hero-content {
  text-align: center;
}

.hero.hero-compact h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: 0.75rem;
}

.hero.hero-compact .hero-subtitle {
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
}

.recent-jobs {
  margin-top: 0;
  padding-top: 2.75rem;
  padding-bottom: 3.25rem;
  background:
    radial-gradient(ellipse at 15% 0%, rgba(79, 70, 229, 0.14), transparent 50%),
    radial-gradient(ellipse at 90% 20%, rgba(14, 165, 233, 0.1), transparent 45%),
    linear-gradient(180deg, #eef2ff 0%, #f8fafc 60%);
  border-bottom: 1px solid #e2e8f0;
}

.recent-jobs .section-header h2 {
  font-size: clamp(1.85rem, 3.2vw, 2.4rem);
  letter-spacing: -0.02em;
}

.recent-jobs .section-header p {
  color: #64748b;
  font-size: 0.95rem;
  font-weight: 500;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.45;
}

.recent-jobs .section-header {
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.recent-jobs.is-swapping .section-header {
  opacity: 0;
  transform: translateY(10px);
}

.recent-jobs.is-entering .section-header {
  animation: home-pj-copy-in 0.42s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@media (prefers-reduced-motion: reduce) {
  .recent-jobs .section-header,
  .recent-jobs.is-entering .section-header {
    transition: none !important;
    animation: none !important;
  }
}

/* Dual lanes: Instant vs Government */
.jobs-lanes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.35rem;
  align-items: stretch;
  margin-top: 1.75rem;
}

.jobs-lane {
  border-radius: 1.25rem;
  padding: 1.35rem 1.25rem 1.25rem;
  position: relative;
  overflow: visible;
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

.jobs-lane::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0.55;
  z-index: 0;
}

.jobs-lane--instant {
  background: linear-gradient(160deg, #4f46e5 0%, #6366f1 42%, #0ea5e9 100%);
  color: #fff;
  box-shadow: 0 18px 40px rgba(79, 70, 229, 0.28);
}

.jobs-lane--instant::before {
  background:
    radial-gradient(circle at 90% 10%, rgba(255, 255, 255, 0.28), transparent 40%),
    radial-gradient(circle at 10% 90%, rgba(14, 165, 233, 0.35), transparent 45%);
}

.jobs-lane--gov {
  background: linear-gradient(160deg, #0f172a 0%, #1e3a5f 55%, #334155 100%);
  color: #f8fafc;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.28);
}

.jobs-lane--gov::before {
  background:
    radial-gradient(circle at 85% 15%, rgba(148, 163, 184, 0.22), transparent 42%),
    radial-gradient(circle at 0% 100%, rgba(56, 189, 248, 0.12), transparent 40%);
}

.jobs-lane-head {
  position: relative;
  z-index: 1;
  margin-bottom: 1.1rem;
}

.jobs-lane-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  margin-bottom: 0.65rem;
}

.jobs-lane--instant .jobs-lane-kicker {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.jobs-lane--gov .jobs-lane-kicker {
  background: rgba(248, 250, 252, 0.12);
  color: #e2e8f0;
}

.jobs-lane-head h3 {
  font-size: clamp(1.45rem, 2.5vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 0.4rem;
  color: inherit;
}

.jobs-lane-head p {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
  line-height: 1.45;
  opacity: 0.92;
  max-width: 34ch;
}

.jobs-lane-link {
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  border-bottom: 2px solid rgba(255, 255, 255, 0.85);
  text-shadow: 0 1px 2px rgba(15, 23, 42, 0.25);
}

.jobs-lane-link:hover {
  opacity: 1;
  border-bottom-color: #fff;
}

.jobs-lane-grid {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 0;
  width: 100%;
}

.jobs-lane-item {
  width: 100%;
  flex: 0 0 auto;
}

.jobs-lane-card {
  background: rgba(255, 255, 255, 0.98);
  color: #0f172a;
  border-radius: 1rem;
  padding: 1rem 1.1rem 1.05rem;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.12);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  z-index: 1;
}

.jobs-lane-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.16);
}

.jobs-lane-card--gov {
  background: rgba(248, 250, 252, 0.97);
  border-left: 3px solid #38bdf8;
}

.jobs-lane-card--instant {
  border-left: 3px solid #4f46e5;
}

.jobs-lane-card-top {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: baseline;
}

.jobs-lane-card-co {
  font-size: 0.78rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

a.jobs-lane-card-co--link {
  color: #4338ca;
  text-decoration: none;
}

a.jobs-lane-card-co--link:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.jobs-lane-card--gov a.jobs-lane-card-co--link {
  color: #0369a1;
}

.jobs-lane-card-time {
  font-size: 0.75rem;
  color: #94a3b8;
  white-space: nowrap;
}

.jobs-lane-card-title {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.015em;
  margin: 0;
  color: #0f172a;
  line-height: 1.3;
}

.jobs-lane-card-title a {
  color: inherit;
  text-decoration: none;
}

.jobs-lane-card-title a:hover {
  color: #4338ca;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.jobs-lane-card-match {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0.15rem 0 0;
}

.jobs-lane-card-match span {
  display: inline-flex;
  align-items: center;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #0f766e;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: 999px;
  padding: 0.12rem 0.5rem;
  line-height: 1.2;
}

.jobs-lane-card-blurb {
  font-size: 0.88rem;
  color: #475569;
  margin: 0;
  line-height: 1.4;
  flex-grow: 1;
}

.jobs-lane-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  font-size: 0.82rem;
  color: #334155;
  margin: 0.25rem 0 0.55rem;
}

.jobs-lane-card-meta i {
  color: #64748b;
  margin-right: 0.25rem;
}

.jobs-lane-cta {
  align-self: flex-start;
  font-weight: 700;
  border-radius: 0.55rem;
  padding: 0.45rem 0.9rem;
  text-decoration: none;
}

.jobs-lane-cta--instant {
  background: #4f46e5;
  color: #fff !important;
  border: none;
}

.jobs-lane-cta--instant:hover {
  background: #4338ca;
  color: #fff !important;
}

.jobs-lane-cta--gov {
  background: #0f172a;
  color: #fff !important;
  border: none;
}

.jobs-lane-cta--gov:hover {
  background: #1e293b;
  color: #fff !important;
}

.jobs-lane-empty {
  background: rgba(255, 255, 255, 0.14);
  border: 1px dashed rgba(255, 255, 255, 0.35);
  border-radius: 1rem;
  padding: 1.25rem 1.1rem;
  color: inherit;
}

.jobs-lane-empty strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

.jobs-lane-empty p {
  margin: 0 0 0.85rem;
  opacity: 0.9;
  font-size: 0.92rem;
}

.jobs-lane--gov .jobs-lane-empty {
  background: rgba(248, 250, 252, 0.08);
}

@media (max-width: 900px) {
  .jobs-lanes {
    grid-template-columns: 1fr;
  }
}

/* Story stack — light accordion cards */
.icw-story-stack {
  position: relative;
  z-index: 2;
  background: #f1f5f9;
  padding: 2.5rem 1.25rem 2rem;
}

.icw-story-intro {
  max-width: 920px;
  margin: 0 auto 1.25rem;
  padding: 0 0.25rem;
}

.icw-story-intro-text {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.icw-story-intro strong {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0f172a;
}

.icw-story-intro span {
  font-size: 0.95rem;
  color: #64748b;
}

.icw-panel {
  position: relative;
  max-width: 920px;
  margin: 0 auto 0.75rem;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  background: #fff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.icw-panel.is-collapsed {
  min-height: 0;
  max-height: none;
  padding: 0 !important;
  cursor: pointer;
}

.icw-panel.is-collapsed:hover {
  border-color: #c7d2fe;
  box-shadow: 0 8px 24px rgba(79, 70, 229, 0.08);
  transform: translateY(-1px);
}

.icw-panel.is-collapsed > *:not(.icw-panel-bar) {
  display: none !important;
}

.icw-panel.is-open {
  max-width: min(1120px, calc(100% - 0.5rem));
  max-height: none;
  min-height: 0;
  height: auto;
  overflow: visible;
  border-color: #a5b4fc;
  box-shadow: 0 12px 32px rgba(79, 70, 229, 0.1);
  background: #fff;
  padding: 0 0 1.75rem !important;
}

.icw-panel-bar {
  width: 100%;
  min-height: 72px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px 18px;
  padding: 1rem 1.25rem;
  border: 0;
  border-radius: 16px;
  text-align: left;
  color: #0f172a;
  font: inherit;
  cursor: pointer;
  position: relative;
  z-index: 2;
  background: transparent;
  transition: background 0.2s ease;
}

.icw-panel.is-collapsed .icw-panel-bar:hover {
  background: #f8fafc;
}

.icw-panel.is-open .icw-panel-bar {
  position: sticky;
  top: var(--fixed-header-height, 4.5rem);
  z-index: 25;
  border-radius: 16px 16px 0 0;
  background: #fff;
  border-bottom: 1px solid #eef2ff;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.04);
}

.icw-panel-index {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #4338ca;
  background: #eef2ff;
  flex-shrink: 0;
}

.icw-panel.is-open .icw-panel-index {
  background: #4f46e5;
  color: #fff;
}

.icw-panel-copy {
  min-width: 0;
}

.icw-panel-title {
  display: block;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  font-weight: 750;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 2px;
  color: #0f172a;
}

.icw-panel-blurb {
  display: block;
  font-size: 0.9rem;
  color: #64748b;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 62ch;
}

.icw-panel-chevron {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  color: #475569;
  flex-shrink: 0;
  transition: transform 0.25s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.icw-panel.is-open .icw-panel-chevron {
  transform: rotate(180deg);
  background: #eef2ff;
  border-color: #c7d2fe;
  color: #4338ca;
}

/* Open body sits on white; neutralize dark section skins inside accordion */
.icw-panel.is-open.combined-value,
.icw-panel.is-open.features,
.icw-panel.is-open.testimonials,
.icw-panel.is-open.comparison-section,
.icw-panel.is-open.recruitment-agency-preview,
.icw-panel.is-open.jobcat-section {
  padding-top: 0.25rem !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  background: #fff !important;
}

.icw-panel.is-open > .container,
.icw-panel.is-open > .container-fluid {
  width: 100%;
  max-width: 100%;
  padding: 0.75rem 1.25rem 0.25rem;
  box-sizing: border-box;
}

/* Homepage has no Bootstrap CSS — keep panel grids readable */
.icw-panel .row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin: 0;
}

.icw-panel .row > [class*="col-"] {
  width: 100%;
  max-width: 100%;
  padding: 0;
}

.icw-panel.is-open.comparison-section {
  padding-bottom: 1.5rem !important;
}

.icw-panel.is-open .comparison-section,
.icw-panel.is-open.comparison-section {
  background: #fff !important;
}

.icw-panel .comparison-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}

.icw-panel .comparison-card {
  min-width: 0;
  height: auto;
  overflow: visible;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
}

.icw-panel .comparison-card:hover {
  transform: none;
}

.icw-panel .comparison-icon {
  background: #4f46e5;
}

.icw-panel .section-header {
  margin-bottom: 0.5rem;
}

.icw-panel .section-header h2 {
  font-size: clamp(1.25rem, 2.5vw, 1.6rem);
  color: #0f172a;
}

.icw-panel .section-header p {
  color: #475569;
}

.icw-panel .features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.icw-panel .job-matching-preview,
.icw-panel .preview-card,
.icw-panel .testimonial-card {
  min-width: 0;
  max-width: 100%;
  height: auto;
  overflow: visible;
}

.icw-panel .jobcat-grid {
  overflow: visible;
}

/* Keep open accordion content fully visible (AOS / section skins) */
.icw-panel.is-open [data-aos] {
  opacity: 1 !important;
  transform: none !important;
  pointer-events: auto !important;
}

.icw-panel.is-open.features,
.icw-panel.is-open.testimonials,
.icw-panel.is-open.comparison-section,
.icw-panel.is-open.combined-value,
.icw-panel.is-open.recruitment-agency-preview,
.icw-panel.is-open.jobcat-section {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

@media (max-width: 768px) {
  body.home-no-nav .hero.hero-compact,
  .hero.hero-compact {
    padding: 2rem 0 2rem;
  }

  .hero-logo-bar {
    padding: 0.45rem 0;
  }

  .hero-logo-bar .container {
    min-height: 2.5rem;
  }

  .hero-logo {
    height: 36px;
  }

  .icw-story-stack {
    padding: 1.75rem 0.85rem 2.5rem;
  }

  .icw-panel {
    margin-bottom: 0.65rem;
    border-radius: 14px;
  }

  .icw-panel-bar {
    min-height: 68px;
    padding: 0.9rem 1rem;
    gap: 12px;
    border-radius: 14px;
  }

  .icw-panel-blurb {
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    max-width: 100%;
  }

  .icw-panel-index {
    width: 2.1rem;
    height: 2.1rem;
    border-radius: 10px;
  }
}

/* Homepage site footer */
.icw-site-footer {
  /* Override legacy global `footer` rules (12px height, 8rem margin, 4rem padding) */
  height: auto !important;
  min-height: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding: 2rem 0 0 !important;
  background:
    linear-gradient(180deg, #f8fafc 0%, #eef2ff 100%) !important;
  border-top: 1px solid #e2e8f0;
  color: #475569;
  position: relative;
  z-index: 1;
  width: 100%;
  box-sizing: border-box;
}

/* Never let footer columns inherit the fixed site <nav> styles */
.icw-site-footer nav,
.icw-site-footer .icw-site-footer-col {
  position: static !important;
  width: auto !important;
  top: auto !important;
  z-index: auto !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
}

.icw-site-footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.25rem 0;
}

.icw-site-footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(4, minmax(0, 1fr));
  gap: 2.25rem 2rem;
  padding-bottom: 2.5rem;
}

.comparison-board-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.35rem;
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 1.1rem 0 0;
  border-top: 1px solid rgba(7, 19, 31, 0.1);
}

.comparison-board-links li {
  font-size: 0.92rem;
  color: #5b6b7c;
  line-height: 1.4;
}

.comparison-board-links a {
  font-weight: 700;
  color: #0f766e;
  text-decoration: none;
}

.comparison-board-links a:hover {
  text-decoration: underline;
  color: #0b4f4a;
}

.icw-site-footer-logo {
  display: inline-block;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #0f172a;
  text-decoration: none;
  margin-bottom: 0.75rem;
}

.icw-site-footer-logo:hover {
  color: #4338ca;
}

.icw-site-footer-brand p {
  margin: 0 0 1.15rem;
  max-width: 32ch;
  font-size: 0.98rem;
  line-height: 1.55;
  color: #475569;
}

.icw-site-footer-cta {
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  font-size: 0.92rem;
  color: #fff;
  background: #4f46e5;
  text-decoration: none;
  padding: 0.65rem 1.1rem;
  border-radius: 8px;
  transition: background 0.15s ease;
}

.icw-site-footer-cta:hover {
  background: #4338ca;
  color: #fff;
}

.icw-site-footer-col h2 {
  margin: 0 0 0.9rem;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0f172a;
}

.icw-site-footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.icw-site-footer-col li {
  margin: 0 0 0.65rem;
}

.icw-site-footer-col a {
  color: #475569;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.15s ease;
}

.icw-site-footer-col a:hover {
  color: #4338ca;
}

.icw-site-footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
  padding: 1.15rem 0 1.5rem;
  border-top: 1px solid #e2e8f0;
}

.icw-site-footer-bottom p {
  margin: 0;
  font-size: 0.85rem;
  color: #64748b;
  line-height: 1.45;
  max-width: 60ch;
}

.icw-site-footer-admin {
  font-size: 0.8rem;
  font-weight: 600;
  color: #94a3b8;
  text-decoration: none;
}

.icw-site-footer-admin:hover {
  color: #64748b;
}

@media (max-width: 900px) {
  .icw-site-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem 1.5rem;
  }

  .icw-site-footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .icw-site-footer {
    padding-top: 1.5rem !important;
  }

  .icw-site-footer-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .icw-site-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* HOME PJ HERO:START */
/* Post-job hero visual language on the homepage */
:root {
  --pj-ink: #07131f;
  --pj-muted: #5b6b7c;
  --pj-paper: #eef4f8;
  --pj-teal: #0f766e;
  --pj-teal-bright: #14b8a6;
  --pj-sky: #0284c7;
  --pj-sun: #f59e0b;
  --pj-display: "Fraunces", Georgia, serif;
  --pj-sans: "Sora", system-ui, sans-serif;
}

body.home-no-nav {
  background:
    radial-gradient(900px 420px at 12% -10%, rgba(20, 184, 166, 0.18), transparent 55%),
    radial-gradient(700px 380px at 92% 8%, rgba(2, 132, 199, 0.12), transparent 50%),
    linear-gradient(180deg, #e8f3f4 0%, #eef4f8 42%, #f8fafc 100%);
}

.home-pj-hero-wrap.hero.hero-compact,
body.home-no-nav .hero.hero-compact.home-pj-hero-wrap {
  min-height: 0;
  padding: 1.35rem 0 1.75rem;
  background: transparent;
  position: relative;
  overflow: visible;
}

.home-pj-hero-wrap.hero.hero-compact::before {
  display: none;
}

.home-pj-hero-wrap .container {
  max-width: 920px;
}

.home-pj-hero.pj-hero {
  position: relative;
  margin: 0;
  padding: 1.6rem 1.6rem 1.55rem;
  border-radius: 24px;
  color: #fff;
  text-align: left;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.12), transparent 42%),
    linear-gradient(145deg, #0b4f4a 0%, #0f766e 42%, #0369a1 100%);
  box-shadow:
    0 24px 50px rgba(7, 19, 31, 0.18),
    inset 0 1px 0 rgba(255,255,255,0.2);
  overflow: hidden;
  animation: home-pj-rise 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.home-pj-hero.pj-hero::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  right: -40px;
  top: -60px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.35), transparent 68%);
  animation: home-pj-drift 8s ease-in-out infinite alternate;
}

.home-pj-hero.pj-hero::before {
  content: "";
  position: absolute;
  width: 160px;
  height: 160px;
  left: 35%;
  bottom: -80px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.18), transparent 70%);
  animation: home-pj-drift 10s ease-in-out infinite alternate-reverse;
}

.home-pj-hero .pj-hero-copy {
  position: relative;
  z-index: 1;
  max-width: 36rem;
}

.home-pj-hero .pj-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 0.7rem;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.22);
  font-family: var(--pj-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
}

.home-pj-hero .pj-kicker i {
  color: var(--pj-sun);
}

.home-pj-hero.pj-hero h1 {
  margin: 0;
  font-family: var(--pj-display);
  font-size: clamp(2.05rem, 4.6vw, 2.9rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: #fff;
}

.home-pj-hero.pj-hero h1 em {
  display: block;
  margin-top: 0.4rem;
  font-family: var(--pj-sans);
  font-size: clamp(1.05rem, 2.2vw, 1.28rem);
  font-style: normal;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.35;
  color: #fde68a;
}

.home-pj-hero.pj-hero > .pj-hero-copy > p:not(.pj-kicker) {
  margin: 0.75rem 0 0;
  color: rgba(255,255,255,0.86);
  font-family: var(--pj-sans);
  font-size: 1.05rem;
  line-height: 1.5;
}

.home-pj-cta.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.15rem;
  justify-content: flex-start;
}

.home-pj-hero .btn-primary {
  background: #fff;
  color: #0f766e;
  border: 2px solid #fff;
  font-family: var(--pj-sans);
  font-weight: 600;
}

.home-pj-hero .btn-primary:hover {
  background: #ecfdf5;
  color: #0b4f4a;
  border-color: #ecfdf5;
}

.home-pj-hero .btn-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.55);
  font-family: var(--pj-sans);
  font-weight: 600;
}

.home-pj-hero .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: #fff;
  color: #fff;
}

.home-pj-hero .pj-hero-stats {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.2rem;
}

.home-pj-hero .pj-hero-stats span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  background: rgba(7, 19, 31, 0.22);
  border: 1px solid rgba(255,255,255,0.14);
  font-family: var(--pj-sans);
  font-size: 0.78rem;
  font-weight: 500;
  color: #fff;
}

@keyframes home-pj-rise {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes home-pj-drift {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-18px, 14px, 0); }
}

@media (max-width: 640px) {
  .home-pj-hero-wrap.hero.hero-compact,
  body.home-no-nav .hero.hero-compact.home-pj-hero-wrap {
    padding: 1rem 0 1.25rem;
  }

  .home-pj-hero.pj-hero {
    padding: 1.25rem 1.15rem 1.3rem;
    border-radius: 20px;
  }

  .home-pj-cta.hero-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .home-pj-cta.hero-cta .btn {
    justify-content: center;
    text-align: center;
  }
}
/* HOME PJ HERO:END */

/* HOME PJ HERO ROTATE:START */
.home-pj-hero {
  --home-pj-shift: 0deg;
}

.home-pj-hero[data-perspective="worker"] {
  background:
    linear-gradient(135deg, rgba(255,255,255,0.12), transparent 42%),
    linear-gradient(145deg, #0c4a6e 0%, #0369a1 40%, #0f766e 100%);
}

.home-pj-perspective {
  position: relative;
  z-index: 2;
  display: inline-flex;
  gap: 0.25rem;
  margin: 0 0 1rem;
  padding: 0.22rem;
  border-radius: 999px;
  background: rgba(7, 19, 31, 0.28);
  border: 1px solid rgba(255,255,255,0.16);
}

.home-pj-persp-btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: rgba(255,255,255,0.78);
  font-family: var(--pj-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.38rem 0.78rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.home-pj-persp-btn:hover {
  color: #fff;
}

.home-pj-persp-btn.is-active {
  background: rgba(255,255,255,0.18);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.12);
}

.home-pj-hero .pj-hero-copy,
.home-pj-hero .pj-hero-stats {
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.home-pj-hero.is-swapping .pj-hero-copy,
.home-pj-hero.is-swapping .pj-hero-stats {
  opacity: 0;
  transform: translateY(10px);
}

.home-pj-hero.is-entering .pj-hero-copy,
.home-pj-hero.is-entering .pj-hero-stats {
  animation: home-pj-copy-in 0.42s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes home-pj-copy-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.home-pj-progress {
  position: absolute;
  left: 1.2rem;
  right: 1.2rem;
  bottom: 0.7rem;
  height: 3px;
  border-radius: 999px;
  background: rgba(255,255,255,0.16);
  overflow: hidden;
  z-index: 2;
}

.home-pj-progress > span {
  display: block;
  height: 100%;
  width: 0%;
  border-radius: inherit;
  background: linear-gradient(90deg, #fde68a, #fff);
}

.home-pj-hero.pj-hero {
  padding-bottom: 1.85rem;
}

@media (prefers-reduced-motion: reduce) {
  .home-pj-hero .pj-hero-copy,
  .home-pj-hero .pj-hero-stats,
  .home-pj-hero.is-entering .pj-hero-copy,
  .home-pj-hero.is-entering .pj-hero-stats {
    transition: none !important;
    animation: none !important;
  }

  .home-pj-progress {
    display: none;
  }
}

@media (max-width: 640px) {
  .home-pj-perspective {
    width: 100%;
  }

  .home-pj-persp-btn {
    flex: 1;
    text-align: center;
  }
}
/* HOME PJ HERO ROTATE:END */

/* HOME PJ HERO NO STATS */
.home-pj-hero .pj-hero-stats { display: none !important; }
.home-pj-hero.pj-hero { padding-bottom: 1.55rem; }

/* HOME PJ HERO MINIMAL:START */
.home-pj-hero.home-pj-hero--minimal {
  text-align: center;
  padding: 1.85rem 1.5rem 1.9rem;
}

.home-pj-hero--minimal .home-pj-perspective {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.15rem;
}

.home-pj-hero--minimal .pj-hero-copy {
  max-width: 28rem;
  margin: 0 auto;
}

.home-pj-hero--minimal.pj-hero h1 {
  font-size: clamp(1.85rem, 4.2vw, 2.55rem);
  line-height: 1.12;
}

.home-pj-hero--minimal .home-pj-cta.hero-cta {
  justify-content: center;
  margin-top: 1.25rem;
}

.home-pj-hero--minimal .pj-kicker,
.home-pj-hero--minimal [data-hero-sub] {
  display: none !important;
}
/* HOME PJ HERO MINIMAL:END */

/* HOME PJ HERO WORKER FIRST:START */
.home-pj-hero [data-hero-secondary][hidden] {
  display: none !important;
}
/* HOME PJ HERO WORKER FIRST:END */

/* HOME INTRO VIDEO:START */
.home-intro-video {
  padding: 0.15rem 0 1.75rem;
  position: relative;
  z-index: 1;
}

.home-intro-video .container {
  max-width: 920px;
}

.home-intro-video-frame {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: #0b4f4a;
  aspect-ratio: 16 / 9;
  box-shadow:
    0 24px 50px rgba(7, 19, 31, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.home-intro-video-frame video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  vertical-align: middle;
}

.home-intro-video-sound {
  position: absolute;
  right: 0.85rem;
  top: 0.85rem;
  z-index: 2;
  border: 0;
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
  background: rgba(7, 19, 31, 0.82);
  color: #fff;
  font: 650 0.82rem/1.2 inherit;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(7, 19, 31, 0.28);
}

.home-intro-video-sound:hover,
.home-intro-video-sound:focus-visible {
  background: #0b4f4a;
}
/* HOME INTRO VIDEO:END */

/* HOME MOBILE POLISH:START */
html {
  -webkit-text-size-adjust: 100%;
}

body.home-no-nav {
  overflow-x: hidden;
}

@media (max-width: 640px) {
  .hero-logo-bar {
    padding: 0.55rem 0;
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
  }

  .hero-logo-bar .container {
    padding-left: 1rem;
    padding-right: 1rem;
    gap: 0.75rem;
  }

  .hero-logo {
    height: 32px;
  }

  .hero-brand {
    max-width: none;
  }

  .hero-auth-links {
    gap: 0.4rem;
  }

  .hero-signup-link,
  .hero-login-link {
    min-height: 2.45rem;
    padding: 0.45rem 0.85rem;
    font-size: 0.9rem;
  }

  .hero-login-link {
    box-shadow: 0 6px 14px rgba(15, 23, 42, 0.22);
  }

  .home-pj-hero-wrap .container {
    padding-left: 0.85rem;
    padding-right: 0.85rem;
  }

  .home-pj-hero.home-pj-hero--minimal {
    padding: 1.25rem 1rem 1.35rem;
    border-radius: 18px;
  }

  .home-intro-video {
    padding: 0.1rem 0 1.35rem;
  }

  .home-intro-video .container {
    padding-left: 0.85rem;
    padding-right: 0.85rem;
  }

  .home-intro-video-frame {
    border-radius: 18px;
  }

  .home-pj-hero--minimal.pj-hero h1,
  .home-pj-hero.pj-hero h1 {
    font-size: clamp(1.55rem, 7.2vw, 2rem);
    line-height: 1.15;
  }

  .home-pj-perspective {
    width: 100%;
    max-width: 100%;
    margin-bottom: 0.95rem;
  }

  .home-pj-persp-btn {
    min-height: 2.5rem;
    padding: 0.55rem 0.65rem;
    font-size: 0.88rem;
  }

  .home-pj-cta.hero-cta {
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
    margin-top: 1.1rem;
  }

  .home-pj-cta.hero-cta .btn {
    width: 100%;
    min-height: 3rem;
    justify-content: center;
    font-size: 1.02rem;
  }

  .recent-jobs {
    padding-left: 0;
    padding-right: 0;
  }

  .recent-jobs .container {
    padding-left: 0.85rem;
    padding-right: 0.85rem;
  }

  .recent-jobs .section-header h2 {
    font-size: clamp(1.35rem, 6vw, 1.75rem);
  }

  .recent-jobs .section-header p {
    font-size: 0.95rem;
    line-height: 1.45;
  }

  .jobs-lanes {
    gap: 1rem;
    margin-top: 1.15rem;
  }

  .jobs-lane {
    padding: 1.1rem 1rem 1.05rem;
    border-radius: 1.1rem;
  }

  .jobs-lane-head h3 {
    font-size: 1.35rem;
  }

  .jobs-lane-head p {
    max-width: none;
    font-size: 0.9rem;
  }

  .jobs-lane-card {
    padding: 0.9rem;
  }

  .jobs-lane-cta {
    min-height: 2.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .icw-story-stack {
    padding: 1.5rem 0.75rem 2rem;
  }

  .icw-panel-bar {
    min-height: 64px;
    padding: 0.85rem 0.9rem;
  }

  .icw-site-footer {
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
  }
}

@media (max-width: 380px) {
  .hero-signup-link,
  .hero-login-link {
    padding: 0.45rem 0.7rem;
    font-size: 0.84rem;
  }

  .home-pj-persp-btn {
    font-size: 0.8rem;
    padding: 0.5rem 0.4rem;
  }
}
/* HOME MOBILE POLISH:END */
