/* The explore hero (rabbit_holes/hero): the greeting and the prompt box
   that open a rabbit hole, on the shared hero card. */
.explore-question {
  margin: 0 0 1.5rem;
  font-size: clamp(1.9rem, 3.4vw, 3.1rem);
  font-weight: 750;
  letter-spacing: -0.035em;
  line-height: 1.05;
  text-wrap: balance;
}

.explore-prompt {
  position: relative;
  z-index: 1;
  max-width: 45rem;
}

/* The button stretches to the textarea's height, so the two read as one bar. */
.explore-prompt-field {
  display: flex;
  align-items: stretch;
  gap: 0.75rem;
  padding: 0.65rem 0.7rem 0.65rem 1.25rem;
  border: 1px solid color-mix(in srgb, var(--accent) 32%, var(--line));
  border-radius: 1.35rem;
  background: color-mix(in srgb, var(--card) 92%, transparent);
  box-shadow:
    inset 0 1px color-mix(in srgb, var(--ink) 5%, transparent),
    0 1rem 2.5rem -1.8rem color-mix(in srgb, var(--shadow) 32%, transparent);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.explore-prompt-field:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 0.3rem color-mix(in srgb, var(--accent) 13%, transparent), 0 1.2rem 3rem -1.8rem color-mix(in srgb, var(--shadow) 40%, transparent);
  transform: translateY(-2px);
}

.explore-prompt-input {
  flex: 1;
  min-width: 0;
  min-height: 3.75rem;
  padding: 0.4rem 0;
  resize: none;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1.5;
}

.explore-prompt-input::placeholder {
  color: color-mix(in srgb, var(--muted) 78%, transparent);
}

.explore-prompt-go {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.75rem 1.15rem;
  border: 0;
  border-radius: 1rem;
  background: var(--accent);
  color: white;
  font-family: var(--display);
  font-weight: 700;
  transition: background-color 0.18s ease, transform 0.18s ease;
}

.explore-prompt-go:hover {
  background: var(--accent-deep);
  transform: translateX(2px);
}

.explore-prompts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.8rem;
  padding-left: 0.3rem;
}

.explore-prompts-label {
  margin-right: 0.15rem;
  color: var(--muted);
  font-family: var(--display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.explore-prompt-chip {
  padding: 0.38rem 0.72rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: color-mix(in srgb, var(--wash) 72%, transparent);
  color: var(--accent-deep);
  font-size: 0.79rem;
  font-weight: 600;
  line-height: 1.2;
  transition: border-color 0.18s ease, background-color 0.18s ease, transform 0.18s ease;
}

.explore-prompt-chip:hover {
  border-color: color-mix(in srgb, var(--accent) 35%, transparent);
  background: var(--wash);
  transform: translateY(-1px);
}

@media (max-width: 991.98px) {
  .explore-question {
    font-size: clamp(1.75rem, 4.2vw, 2.5rem);
  }

  .explore-prompt-go span {
    display: none;
  }

  .explore-prompt-go {
    width: 3rem;
    padding-inline: 0;
  }
}

@media (max-width: 767.98px) {
  .explore-question {
    font-size: clamp(1.7rem, 7.5vw, 2.4rem);
  }
}

@media (max-width: 479.98px) {
  .explore-prompt-field {
    padding-left: 1rem;
  }

  .explore-prompt-input {
    min-height: 3.2rem;
    font-size: 1rem;
  }

  .explore-prompt-chip:nth-of-type(n + 3) {
    display: none;
  }
}
