/* Home page styles */

.page-home .picker {
  max-width: 780px;
  margin-inline: auto;
  text-align: center;
}

.page-home .picker__head { margin-bottom: var(--space-xl); }
.page-home .picker__head h2 { margin-bottom: var(--space-xs); }

/* Index-card treatment — stitched border, warm paper fill, floating on the gridded section. */
.page-home .picker__form {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  background: #fff;
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  box-shadow:
    0 24px 48px -12px rgba(30, 58, 138, 0.20),
    0 2px 4px rgba(30, 58, 138, 0.08),
    inset 0 0 0 1px rgba(30, 58, 138, 0.06);
}
.page-home .picker__form::before {
  /* Dashed accent border inset from the edge — stitched-paper feel. */
  content: "";
  position: absolute;
  inset: 10px;
  border: 1.5px dashed rgba(242, 102, 24, 0.35);
  border-radius: calc(var(--radius-lg) - 6px);
  pointer-events: none;
}
@media (max-width: 640px) {
  .page-home .picker__form { padding: var(--space-lg); gap: var(--space-sm); }
  .page-home .picker__form::before { inset: 6px; border-radius: calc(var(--radius-lg) - 2px); }
  .page-home .picker__form .btn { width: 100%; min-height: 48px; }
  .page-home .picker__head { margin-bottom: var(--space-lg); }
}

@media (min-width: 640px) {
  .page-home .picker__form {
    grid-template-columns: 1fr 1fr auto;
    align-items: center;
  }
}

/* Live match hint — updates as subject changes. */
.page-home .picker__hint {
  grid-column: 1 / -1;
  min-height: 1.5em;
  margin: 0;
  font-size: var(--fs-sm);
  color: var(--color-ink-soft);
  text-align: center;
  transition: opacity var(--dur) var(--ease);
}
.page-home .picker__hint strong {
  color: var(--color-accent-ink);
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-variation-settings: "opsz" 144;
}
.page-home .picker__hint.is-empty { opacity: 0.55; }

/* How-it-works row — data-step numeral drives the big watermark. */
.page-home .card--step {
  background: #fff;
}

/* Trust-badge row on home — alternating icon tint so it reads as an editorial list. */
.page-home .card--trust .card__icon { font-size: var(--fs-xl); }
