/* Homepage hero — replaced the full-bleed shader/photo hero 2026-10-28 (Andrew: no big pictures).
   Light page background, headline left, one real trade build on the right. */

.home-hero {
  background: var(--c-bone);
  border-bottom: 1px solid var(--c-line);
  padding-block: clamp(var(--s-7), 7vw, var(--s-9));
}

.home-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(var(--s-6), 5vw, var(--s-8));
  align-items: center;
}

.home-hero__copy { min-width: 0; }

.home-hero__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--fs-3xl);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--c-ink);
  max-width: 14ch;
  text-wrap: balance;
  margin-bottom: var(--s-5);
}

.home-hero__sub {
  font-size: var(--fs-lg);
  line-height: var(--lh-snug);
  color: var(--c-muted);
  max-width: 34ch;
  margin-bottom: var(--s-6);
}

.home-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-4) var(--s-6);
  align-items: center;
}

.home-hero__secondary {
  color: var(--c-ink);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}

.home-hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2) var(--s-5);
  margin-top: var(--s-6);
  padding-top: var(--s-5);
  border-top: 1px solid var(--c-line);
  font-size: var(--fs-sm);
  color: var(--c-muted);
  list-style: none;
  padding-left: 0;
}

/* The example build: a desktop screenshot with the phone view tucked over its corner */
.home-hero__example {
  position: relative;
  margin: 0;
  padding-bottom: var(--s-6);
  padding-right: clamp(var(--s-5), 6vw, var(--s-8));
}

.home-hero__browser {
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--c-card);
  box-shadow: var(--shadow-lift);
}

.home-hero__browser::before {
  content: "";
  display: block;
  height: 22px;
  border-bottom: 1px solid var(--c-line);
  background:
    radial-gradient(circle at 14px 11px, #d8d3c8 4px, transparent 4.5px),
    radial-gradient(circle at 28px 11px, #d8d3c8 4px, transparent 4.5px),
    radial-gradient(circle at 42px 11px, #d8d3c8 4px, transparent 4.5px);
}

.home-hero__browser img,
.home-hero__phone img {
  display: block;
  width: 100%;
  height: auto;
}

.home-hero__phone {
  position: absolute;
  right: 0;
  bottom: 0;
  width: clamp(92px, 24%, 150px);
  border: 5px solid var(--c-ink);
  border-radius: 18px;
  overflow: hidden;
  background: var(--c-ink);
  box-shadow: var(--shadow-lift);
}

.home-hero__caption {
  margin-top: var(--s-4);
  font-size: var(--fs-sm);
  color: var(--c-muted);
}

.home-hero__caption a { color: var(--c-ink); }

@media (max-width: 860px) {
  .home-hero__inner { grid-template-columns: minmax(0, 1fr); }
  .home-hero__title { max-width: 16ch; }
  .home-hero__example { max-width: 560px; }
}

/* Trade picker: puts each visitor straight onto their trade's page */
.home-hero__trades {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-2);
  margin-top: var(--s-5);
}
.home-hero__trades-label { font-size: var(--fs-sm); color: var(--c-muted); margin-right: var(--s-1); }
.home-hero__trades a {
  font-size: var(--fs-sm);
  color: var(--c-ink);
  text-decoration: none;
  padding: 6px 12px;
  border: 1px solid var(--c-line);
  border-radius: 999px;
  transition: border-color .15s, background .15s;
}
.home-hero__trades a:hover { border-color: var(--c-ink); background: var(--c-accent-soft); }
