/* Home page (WEB-1): hero, step cards, jobs, providers, local-first, closing CTA.
   Depends on tokens.css + base.css + layout.css. Home-only classes; shared breakpoints live in responsive.css (WEB-5). */

/* Hero — echoes the app's Welcome screen; must fit within 100svh at 1280×800 (64px header). */
.hero {
  padding: var(--space-7) 0;
  min-height: calc(100svh - 65px);
  display: flex;
  align-items: center;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  align-items: center;
  gap: var(--space-7);
}
.hero h1 { margin-bottom: var(--space-4); }
.hero-sub {
  max-width: 34em;
  margin-bottom: var(--space-5);
  color: var(--fg-soft);
  font-size: var(--text-xl);
  line-height: 1.5;
}
.hero-badges {
  display: flex; flex-wrap: wrap; gap: var(--space-2);
  list-style: none; margin: 0 0 var(--space-6); padding: 0;
}
.hero-badges .badge { font-size: var(--text-sm); padding: var(--space-1) var(--space-3); }
.hero-art {
  margin: 0;
  position: relative;
}
.hero-art::before {
  content: "";
  position: absolute;
  inset: -12%;
  z-index: -1;
  background: radial-gradient(closest-side, var(--glow), transparent);
  pointer-events: none;
}
.hero-art img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow), 0 0 60px var(--glow);
}

/* Step cards */
.steps { list-style: none; margin: 0; padding: 0; }
.steps .card-icon { border-radius: var(--radius-pill); }

/* Works for any job */
.jobs {
  display: flex; flex-wrap: wrap; gap: var(--space-3);
  list-style: none; margin: 0 0 var(--space-5); padding: 0;
}
.jobs li {
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-pill);
  border: 1px solid var(--user-bubble-border);
  background: var(--user-bubble);
  color: var(--fg);
  font-size: var(--text-md);
  font-weight: 600;
}

/* Providers */
.provider-head {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: var(--space-2);
  margin-bottom: var(--space-3);
}
.provider-head h3 { margin: 0; }

/* Stays on your computer */
.local-list { list-style: none; margin: 0; padding: 0; }
.local-list h3 { font-size: var(--text-lg); }

/* Closing CTA */
.cta-band {
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: var(--space-7) var(--space-5);
  box-shadow: 0 0 80px var(--glow);
}
.cta-band h2 { margin-bottom: var(--space-3); }
.cta-band p { max-width: 36em; margin-left: auto; margin-right: auto; color: var(--fg-soft); }
.cta-band .btn-row { justify-content: center; margin-top: var(--space-5); }

/* Home-only stacking. WEB-5 may move these into responsive.css. */
@media (max-width: 900px) {
  .hero { min-height: 0; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-6); }
  .hero-art { max-width: 640px; }
  .home .grid-3, .home .grid-2 { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .hero { padding: var(--space-6) 0; }
  .hero-sub { font-size: var(--text-lg); }
  .home .section { padding: var(--space-7) 0; }
  .home h2 { font-size: var(--text-2xl); }
  .home .section-head p { font-size: var(--text-lg); }
  .hero .btn-row .btn { flex: 1 1 100%; }
}
